.hero {
    background: linear-gradient(rgba(30,45,64,0.85), rgba(30,45,64,0.88)),
                url('/images/kaznu.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px 60px;
    border-radius: 0 0 40px 40px;
}
.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero p {
    font-size: 1.3em;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}
.content-block h2 {
    font-size: 2em;
    color: #1d1d1d;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.goal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.goal-item {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.goal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.goal-item h4 {
    margin-top: 0;
    color: #111;
    font-size: 1.25em;
    margin-bottom: 10px;
}
.goal-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.goal-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.goal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.goal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.goal-card h4 {
    font-size: 1.4em;
    margin-bottom: 12px;
}
.goal-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #444;
}

.theme-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
}
.theme-item {
    background: #f9f9fb;
    padding: 20px 24px;
    border-left: 5px solid #3b82f6;
    border-radius: 10px;
    font-size: 1.1em;
    color: #222;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.3s ease;
}
.theme-item:hover {
    background: #eef4ff;
}

.org-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}
.org-card {
    background: #ffffff;
    padding: 26px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.org-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.org-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25em;
    color: #1d3b5c;
    font-weight: 600;
}
.org-card p {
    margin: 0;
    line-height: 1.6;
    color: #444;
    font-size: 1.05em;
    text-align: justify;
}

@media (min-width: 700px) {
    .goal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .goal-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 900px) {
    .org-grid {
        grid-template-columns: 1fr 1fr;
    }
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #222;
}

header {
    background: #1e2d40;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

main {
    max-width: 1100px;
    margin: 120px auto 40px; /* учитываем высоту фиксированного header */
    padding: 0 20px;
}

header .logo {
    color: #fff;
    font-size: 1.8em;
    font-weight: bold;
}

nav a {
    color: #ccc;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #fff;
}

.lang-select a {
    margin-left: 12px;
    color: #ccc;
    font-size: 0.9em;
    text-decoration: none;
}

.lang-select a:hover {
    color: #fff;
}

footer {
    background: #1e2d40;
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 0.9em;
}
.reg-form-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1em;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.reg-form-table td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    vertical-align: top;
    text-align: left;
}
.form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        gap: 30px;
    }

    .form-row > div {
        flex: 1;
    }
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    font-size: 1em;
}

input:focus, select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
    background: #fff;
}

.btn-submit {
    background: #1e2d40;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #3b82f6;
}
