:root {
    --bg-main: #f4f7fc;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: rgba(226, 232, 240, 0.8);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1e293b;
    padding: 40px 20px;
    color: var(--white);
}

.header-inner {
    display: flex;
    flex-direction: row;        
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    height: 70px;
    width: auto;
    flex-shrink: 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%232563eb' stroke-width='0.7' stroke-opacity='0.15'%3E%3Cpath d='M300,0 L400,100 M200,0 L400,200 M100,0 L400,300 M0,0 L400,400 M0,100 L300,400 M0,200 L200,400 M0,300 L100,400'/%3E%3Cpath d='M400,0 L0,400 M300,0 L0,300 M200,0 L0,200 M100,0 L0,100 M400,100 L100,400 M400,200 L200,400 M400,300 L300,400'/%3E%3C/g%3E%3Cg fill='%232563eb' fill-opacity='0.2'%3E%3Ccircle cx='400' cy='0' r='5'/%3E%3Ccircle cx='300' cy='100' r='3'/%3E%3Ccircle cx='200' cy='200' r='4'/%3E%3Ccircle cx='350' cy='150' r='3'/%3E%3Ccircle cx='250' cy='50' r='3.5'/%3E%3Ccircle cx='380' cy='220' r='2.5'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='450' height='450' viewBox='0 0 450 450'%3E%3Cg fill='none' stroke='%232563eb' stroke-width='0.6' stroke-opacity='0.12'%3E%3Cpath d='M0,450 L450,0 M0,350 L350,0 M0,250 L250,0 M0,150 L150,0 M100,450 L450,100 M200,450 L450,200 M300,450 L450,300'/%3E%3Cpath d='M0,0 L450,450 M0,100 L350,450 M0,200 L250,450 M0,300 L150,450 M100,0 L450,350 M200,0 L450,250 M300,0 L450,150'/%3E%3C/g%3E%3Cg fill='%232563eb' fill-opacity='0.18'%3E%3Ccircle cx='0' cy='450' r='6'/%3E%3Ccircle cx='120' cy='330' r='4'/%3E%3Ccircle cx='220' cy='410' r='3'/%3E%3Ccircle cx='80' cy='250' r='3.5'/%3E%3Ccircle cx='180' cy='280' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
    
    background-position: top right, bottom left;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.home-sections{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}
.section-block{
    margin-bottom:60px;
}
.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}
.section-header h2{
    font-size:28px;
    color:#003366;
}
.section-header a{
    text-decoration:none;
    color:#007bff;
}
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
}
.card{
    text-decoration:none;
    color:#222;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.card h3{
    padding:15px;
    font-size:18px;
}

.card p{
    padding:0 15px 15px;
    color:gray;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

header {
    background-color: #1e293b; 
    text-align: center;
    padding: 40px 20px;
    color: var(--white);
}
header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
header p {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    height: 100%;
    flex-grow: 1;
    justify-content: flex-start;
}
.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-item > a {
    text-decoration: none;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.menu-item:hover > a {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}
.arrow {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-top: 1px;
}

/* Выпадающий список */
.dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    min-width: 260px;
    border: 1px solid #e2e8f0;
    z-index: 1000;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown li a {
    padding: 10px 14px;
    display: block;
    text-decoration: none;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s;
    white-space: nowrap;
}
.dropdown li a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.menu-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px;
    align-items: center;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
}

.lang-btn.active {
    background: #00aeef;
    color: #ffffff;
    border-color: #00aeef;
}

main {
    flex-grow: 1;
    padding: 40px 0;
}

.hero-section {
        background: linear-gradient(135deg, #00aeef 0%, #1d1cab 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 30px;
    color: var(--white);
    text-align: center;
}
.hero-section h2 { 
    font-size: 2.2rem; 
    margin-bottom: 12px; 
    font-weight: 800; 
}
.hero-section p {
    font-size: 1rem;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}
.feature-icon { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


.content-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}
.content-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}
.main-text-article {
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.8;
}


footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
}

/* Адаптивность общего меню */
@media (max-width: 992px) {
    .nav-wrapper { height: auto; flex-direction: column; padding: 15px 0; gap: 15px; }
    .menu { flex-wrap: wrap; justify-content: center; gap: 4px; }
}

.director-profile {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
}
.director-avatar-wrapper {
    flex-shrink: 0;
    width: 220px;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.director-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.director-info { flex-grow: 1; }
.director-badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.director-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}
.director-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-item { display: flex; font-size: 0.95rem; }
.contact-label { width: 90px; color: #64748b; font-weight: 500; }
.contact-value { color: #1e293b; font-weight: 600; }
.contact-value a { color: #2563eb; text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--primary-dark); }

.info-section-card {
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
}
.info-section-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}
.timeline {
    position: relative;
    padding-left: 25px;
    border-left: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 10px;
}
.timeline-item { position: relative; }
.timeline-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #e2e8f0;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    left: -32px;
    top: 5px;
    box-shadow: 0 0 0 3px #e2e8f0;
}
.timeline-item.current .timeline-dot {
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}
.timeline-item.current .timeline-date { color: #2563eb; }
.timeline-content {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .director-profile { flex-direction: column; text-align: center; padding: 25px; }
    .director-contacts { align-items: center; }
    .contact-item { flex-direction: column; gap: 2px; }
    .contact-label { width: auto; }
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}
.bio-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.bio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.05);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.25);
}
.bio-icon {
    font-size: 1.3rem;
    background: rgba(37, 99, 235, 0.07);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.bio-details { display: flex; flex-direction: column; gap: 4px; }
.bio-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bio-value {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
    margin-top: 10px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}
.info-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon-box i {
    font-size: 1.2rem;
    color: var(--primary);
}
.info-text-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-text-box label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.info-text-box span {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.4;
}

.social-networks-section {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.social-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.social-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.2s ease;
}
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background-color 0.2s;
}
.social-badge:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.03);
}
.social-badge.instagram:hover { border-color: #e1306c; color: #e1306c; }
.social-badge.instagram:hover .badge-dot { background: #e1306c; }
.social-badge.telegram:hover { border-color: #0088cc; color: #0088cc; }
.social-badge.telegram:hover .badge-dot { background: #0088cc; }
.social-badge.facebook:hover { border-color: #1877f2; color: #1877f2; }
.social-badge.facebook:hover .badge-dot { background: #1877f2; }
.social-badge.youtube:hover { border-color: #ff0000; color: #ff0000; }
.social-badge.youtube:hover .badge-dot { background: #ff0000; }
.contact-form-side {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}
.form-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}
.form-header-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 174, 239, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-header-title h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
}
.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.input-field-group label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.input-field-group input, 
.input-field-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}
.input-field-group textarea {
    height: 120px;
    resize: none;
}
.input-field-group input:focus, 
.input-field-group textarea:focus {
    background: var(--white);
    border-color: #00aeef;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
}

.submit-gradient-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00aeef 0%, #2563eb 100%);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.submit-gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    filter: brightness(1.05);
}

.alert-message {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}
.alert-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 868px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contact-form-side {
        padding: 30px 20px;
    }
}

.exam-container {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.exam-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.exam-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
}

.grade-block {
    margin-bottom: 40px;
}

.grade-title {
    font-size: 22px;
    font-weight: 700;
    color: #00aeef;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #00aeef;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
}

.exam-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.exam-table td {
    padding: 18px 20px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.exam-table tr:last-child td {
    border-bottom: none;
}

.exam-table tr:hover td {
    background-color: #f8fafc;
}

.exam-table td.text-left {
    text-align: center;
}

.text-bold {
    font-weight: 600;
    color: #1e293b;
}

.badge-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background-color: #e0f2fe;
    color: #0369a1;
}

.exam-date {
    font-weight: 600;
    color: #0f172a;
}

.empty-text {
    padding: 30px !important;
    color: #94a3b8;
    font-style: italic;
    font-size: 15px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.info-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text-box label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-text-box span {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
}

.contact-form-side {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.form-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.form-header-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.input-field-group {
    margin-bottom: 20px;
}

.input-field-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-field-group input,
.input-field-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-field-group input:focus,
.input-field-group textarea:focus {
    border-color: #00aeef;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.input-field-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-gradient-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #00aeef 0%, #1d1cab 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    transition: transform 0.2s, opacity 0.2s;
}

.submit-gradient-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Социальные сети */
.social-networks-section {
    margin-top: 15px;
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.social-section-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s;
}

.social-badge:hover {
    background-color: #f8fafc;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00aeef;
}

.clubs-section-wrapper {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.clubs-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 32px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.club-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.club-image-box {
    position: relative;
    height: 240px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    padding-top: 20px;
}

.club-image-box img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.club-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3.5rem;
}

.club-content-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.club-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: center;
    
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.club-subject, .club-subject-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.club-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 58px;
}

.club-details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.club-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.club-detail-item .detail-icon {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Блок текста внутри параметра занятия */
.club-detail-item .detail-text {
    flex-grow: 1;
}

.club-detail-item .detail-text label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.club-detail-item .detail-text p {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 16px;
    width: 100%;
    justify-content: center;
}

.club-footer-price {
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-value {
    font-size: 18px;
    font-weight: 800;
    color: #059669;
}

@media (max-width: 480px) {
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .clubs-main-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}
.nizom-card {
padding: 40px !important;
border-radius: 24px !important;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
background: #ffffff;
}
.nizom-title {
color: #0066cc !important;
font-size: 26px !important;
font-weight: 800 !important;
text-align: center;
margin-bottom: 6px !important;
letter-spacing: -0.5px;
}

.nizom-body h3 {
color: #0066cc;
font-size: 17px;
font-weight: 700;
margin-top: 30px;
margin-bottom: 15px;
border-left: 4px solid #00aeef;
padding-left: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.nizom-body ul {
list-style: none !important;
padding-left: 0 !important;
margin-bottom: 25px;
}
.nizom-body ul li {
position: relative;
padding-left: 25px !important;
margin-bottom: 14px !important;
font-size: 15.5px;
line-height: 1.65;
color: #334155;
}
.nizom-body ul li::before {
content: "•";
position: absolute;
left: 5px;
top: -1px;
color: #00aeef;
font-size: 20px;
font-weight: bold;
}
.nizom-body strong {
color: #0f172a;
font-weight: 700;
}

.teachers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.teacher-card.teacher-interactive-wrapper {
    text-align: center;
    width: 220px;
    background: #ffffff;
    border: 1px solid #f1f5f9; 
    border-radius: 20px;      
    padding: 25px 15px;       
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01); 
    transition: all 0.3s ease-in-out; 
}

.teacher-card.teacher-interactive-wrapper:hover {
    transform: translateY(-8px); 
    border-color: #00aeef;    
    box-shadow: 0 20px 30px rgba(0, 174, 239, 0.15), 0 10px 15px rgba(0, 174, 239, 0.06); 
}

.teacher-photo-wrapper {
    width: 140px;        
    height: 140px;        
    margin: 0 auto 15px;  
    border-radius: 50%;   
    overflow: hidden;     
    border: 3px solid #f0f4f8; 
    transition: all 0.3s ease-in-out;
}

.teacher-card.teacher-interactive-wrapper:hover .teacher-photo-wrapper {
    border-color: #e0f2fe;
    transform: scale(1.02); 
}

.teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    display: block;
}

.teacher-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.teacher-subject {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}