@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #001F3F;
    --primary-light: #003366;
    --secondary-gold: #D4AF37;
    --accent-gold: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --gold-text: #B8860B;
    --background-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #4B5563;
    --glass: rgba(255, 255, 255, 0.05);
    /* Very subtle glass for hero */
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.highlight {
    background: var(--accent-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2em;
    font-style: italic;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* Hero Section Extreme */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('kazakh_ornament_pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: blur(2px);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 31, 63, 0.2) 0%, var(--primary-blue) 90%);
    z-index: 2;
}

.hero-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: clamp(30px, 8vw, 60px) clamp(20px, 8vw, 100px);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 1300px;
    text-align: center;
    animation: heroReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content {
    width: 100%;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--secondary-gold);
}

.gold-line {
    width: 40px;
    height: 2px;
    background: var(--secondary-gold);
}

.hero h1 {
    font-weight: 900;
    margin-bottom: 30px;
}

.hero-info p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
    z-index: 100;
    animation: fadeInScroll 2s ease-in-out both;
}

@keyframes fadeInScroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, 0);
    }
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Animations and Utilities */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Rest of the layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

section {
    padding: 120px 0;
    position: relative;
}

/* Navigation */
header {
    position: fixed;
    top: 30px;
    left: 4rem;
    right: 4rem;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    top: 0;
    left: 0;
    right: 0;
}

.nav-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 0.8rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
    transform-origin: left;
}

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

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

header.scrolled {
    top: 0;
    left: 4rem;
    right: 4rem;
}

header.scrolled .nav-content {
    border-radius: 0 0 40px 40px;
    border-top: none;
    padding: 0.6rem 2.5rem;
}

@media (max-width: 1024px) {
    header.scrolled {
        left: 0;
        right: 0;
    }
    
    header.scrolled .nav-content {
        border-radius: 0;
    }
}

.logo-img {
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lang-btn {
    border: 1.5px solid var(--primary-blue);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Program Section */
.program-tabs {
    background: #f8fafc;
    padding: 10px;
    border-radius: 100px;
    display: inline-flex;
    margin-bottom: 4rem;
}

.tab-btn {
    padding: 15px 35px;
    border-radius: 100px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

.tab-btn.active {
    background: var(--primary-blue);
    color: white;
}

.schedule-item {
    background: white;
    padding: 30px;
    border-radius: 25px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

@media (max-width: 600px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }
    
    .time {
        font-size: 1.8rem;
    }
}

.schedule-item:hover {
    transform: translateX(10px);
    border-color: var(--secondary-gold);
}

.time {
    font-size: 2.2rem;
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    color: var(--gold-text);
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-card {
    background: white;
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0, 31, 63, 0.1);
}

/* Split Sections */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.image-frame {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.about-img {
    width: 100%;
    display: block;
    border-radius: 40px;
}

.whatsapp-btn {
    background: var(--secondary-gold);
    color: var(--primary-blue);
    padding: 18px 45px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

footer {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    header {
        left: 1rem;
        right: 1rem;
        top: 20px;
    }

    .nav-content {
        padding: 0.8rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav a {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2rem;
    }

    .program-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .program-tabs {
        -ms-overflow-style: none;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 5px 15px;
    }

    .tab-btn {
        padding: 10px 20px;
        white-space: nowrap;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 40px 20px;
    }
}