/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background-color: #faf9f7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* CSS Variables — новая палитра (без коричневых) */
:root {
    --primary-color: #1a365d;        /* тёмно-синий */
    --primary-light: #2c5282;         /* средний синий */
    --primary-dark: #0f2440;          /* глубокий синий */

    --accent-color: #c9a75b;          /* золотистый (мягкий, тёплый) */
    --accent-light: #d4b86e;          /* светлый акцент */
    --accent-dark: #b08f3f;           /* тёмный акцент */

    --text-primary: #1a202c;          /* основной текст */
    --text-secondary: #4a5568;        /* вторичный текст */
    --text-light: #718096;            /* светлый текст */

    --bg-white: #ffffff;              /* белый */
    --bg-cream: #faf9f7;             /* кремовый фон */
    --bg-warm-gray: #f5f3ef;         /* тёплый серый */
    --bg-light-blue: #ebf4ff;        /* светлый голубой */

    --border-color: #e2dcd3;          /* цвет границ */

    --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 4px 14px rgba(26, 54, 93, 0.1);
    --shadow-lg: 0 10px 30px rgba(26, 54, 93, 0.12);
    --shadow-xl: 0 20px 48px rgba(26, 54, 93, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 54, 93, 0.06);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.header-logo img {
    height: 48px;
    width: auto;
}

.header-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-item {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item svg {
    width: 14px !important;
    height: 14px !important;
    stroke: var(--accent-color) !important;
}

.contact-item a.phone:hover {
    color: var(--primary-color);
}

.header-cta .btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

.main-nav {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 14px 16px;
    display: block;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff !important;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--accent-color);
}

.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    border-radius: var(--radius-sm);
    z-index: 1001;
    padding: 6px 0;
    margin-top: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: var(--text-primary) !important;
    padding: 10px 20px;
    font-weight: 450;
    font-size: 0.88rem;
}

.dropdown-menu a:hover {
    background: var(--bg-cream);
    color: var(--primary-color) !important;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7.5px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7.5px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

/* Background image layer */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: heroBgZoom 30s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
    0%   { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

/* Multi-stop gradient overlay */
.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(13, 71, 161, 0.82) 0%,
            rgba(21, 101, 192, 0.70) 35%,
            rgba(15, 36, 64, 0.78) 70%,
            rgba(15, 36, 64, 0.95) 100%
        );
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles__dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
    animation: floatDot linear infinite;
}

.hero-particles__dot:nth-child(1) { width:320px;height:320px;top:10%;left:60%;animation-duration:18s; }
.hero-particles__dot:nth-child(2) { width:200px;height:200px;top:60%;left:15%;animation-duration:24s;animation-delay:-6s; }
.hero-particles__dot:nth-child(3) { width:160px;height:160px;top:25%;left:25%;animation-duration:20s;animation-delay:-3s; }
.hero-particles__dot:nth-child(4) { width:260px;height:260px;top:70%;left:70%;animation-duration:22s;animation-delay:-9s; }
.hero-particles__dot:nth-child(5) { width:120px;height:120px;top:45%;left:45%;animation-duration:16s;animation-delay:-2s; }

@keyframes floatDot {
    0%   { transform: translate(0, 0) scale(1);   opacity: 0.5; }
    25%  { transform: translate(30px, -40px) scale(1.1); opacity: 0.7; }
    50%  { transform: translate(-20px, 20px) scale(0.95); opacity: 0.5; }
    75%  { transform: translate(15px, 35px) scale(1.05); opacity: 0.65; }
    100% { transform: translate(0, 0) scale(1);   opacity: 0.5; }
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 40px 24px;
}

/* Badge */
.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--accent-light);
    animation: fadeSlideDown 0.8s ease-out 0.2s both;
}

/* Title */
.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-shadow: 0 2px 30px rgba(0,0,0,0.35);
    animation: fadeSlideDown 0.8s ease-out 0.4s both;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 400;
    color: var(--accent-light);
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
    animation: fadeSlideDown 0.8s ease-out 0.6s both;
}

/* Description */
.hero-description {
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    animation: fadeSlideDown 0.8s ease-out 0.8s both;
}

/* CTA buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideDown 0.8s ease-out 1s both;
}

/* Glow button (primary) */
.btn-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #0f2440;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
        0 4px 20px rgba(251, 191, 36, 0.4),
        0 0 60px rgba(251, 191, 36, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 32px rgba(251, 191, 36, 0.5),
        0 0 80px rgba(251, 191, 36, 0.2);
}

.btn-glow:hover::before {
    opacity: 1;
}

/* Glass button (secondary) */
.btn-glass {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.1);
}

/* Hero Modal Trigger Button */
.hero-modal-trigger {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeSlideDown 0.8s ease-out 1.4s both;
}

.hero-modal-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.hero-modal-trigger svg {
    transition: transform 0.3s ease;
}

.hero-modal-trigger:hover svg {
    transform: rotate(10deg);
}

/* Scroll indicator - hidden */
.hero-scroll-indicator {
    display: none;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 550;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(201, 167, 91, 0.35);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 167, 91, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1rem;
}

/* ==================== SECTIONS ==================== */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 1.05rem;
}

/* ==================== PAGE CONTENT ==================== */
.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.content-page {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.content-page h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.content-body {
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 16px;
}

.content-body h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
    color: var(--primary-color);
}

.content-body h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--primary-light);
}

.content-body ul, .content-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.content-body blockquote {
    background: var(--bg-cream);
    padding: 20px 24px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
}

/* ==================== CARDS GRID ==================== */
.section-grid, .content-grid, .courses-grid {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.section-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.content-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.courses-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.section-card, .content-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.section-card:hover, .content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.section-card a, .content-card a {
    color: var(--primary-color);
}

.section-card h3, .content-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.section-card p, .content-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ==================== COURSE CARD ==================== */
.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-color);
    color: #ffffff !important;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 550;
}

.course-content {
    padding: 28px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.course-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.course-features li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3em;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 700;
}

.about-content h3 {
    font-size: 1.25rem;
    margin: 24px 0 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.about-content li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.about-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary-color);
    font-weight: 550;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--accent-color);
}

.learn-more:hover {
    color: var(--accent-dark);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 167, 91, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features-section .section-title {
    color: #ffffff !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--accent-light);
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-cream);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-weight: 700;
}

.cta-section p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== FORM STYLES ==================== */
.form-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.form-container {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 550;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 167, 91, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    width: 100%;
    padding: 14px 28px;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.form-submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 167, 91, 0.4);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-nav h4,
.footer-info h4,
.footer-social h4 {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-info a {
    color: var(--accent-light);
}

.footer-info a:hover {
    color: #ffffff;
}

.footer-social a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Social icons row */
.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
    padding-left: 0;
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.body-anim {
    animation: fadeIn 0.5s ease-in;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        /* max-width: 400px; */
        margin: 0 auto;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 12px;
    }

    .header-contacts {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        background: var(--primary-color);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        display: none;
    }

    .dropdown.open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: #ffffff !important;
        padding-left: 36px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-glow,
    .hero-cta .btn-glass {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .btn-lg {
        padding: 13px 24px;
        font-size: 0.95rem;
    }

    /* Hide decorative elements on mobile for performance */
    .hero-particles { display: none; }
    .hero-scroll-indicator { display: none; }

    .content-page {
        padding: 28px 20px;
    }

    .form-container {
        padding: 32px 24px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-section h2,
    .about-content h2 {
        font-size: 1.6rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav ul {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 20px;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
/* COURSES SECTION */
.courses-section {
    padding: 80px 0;
    background: var(--bg-cream);
}

/* DELAY ANIMATIONS */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
