/* --- RESET & VARIABLES --- */
:root {
    --bg-dark: #050505;
    --bg-card: #0f0f11;
    --accent: #6366f1; /* Blurple */
    --accent-hover: #4f46e5;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --border: #27272a;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--accent);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* --- NAVIGATION BAR STYLES --- */
.navbar {
    width: 100%;
    background-color: var(--bg-dark); 
    border-bottom: 1px solid #1a1a1a;
    padding: 15px 0;
    position: sticky; 
    top: 0;
    z-index: 1000; 
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--text-gray);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-secondary {
    background-color: var(--accent);
    color: white !important; 
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 30px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    color: white;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative; 
    overflow: hidden; 
    text-align: center;
    padding: 70px 0 80px 0;
    background: radial-gradient(circle at center, #1a1a2e 0%, #050505 70%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-sub {
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.video-wrapper iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background-color: #18181b;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    transition: transform 0.2s ease;
}

/* --- NEW: CONVERSION SUMMARY SECTION (Stats Bar & List Card) --- */
.conversion-summary-section {
    padding: 20px 0 80px 0;
}

/* Stats Bar - BRIGHT BACKGROUND CARD */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    background-color: var(--accent); 
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
    color: white; 
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7); 
    text-transform: uppercase;
}

/* Services List Card - BRIGHT BACKGROUND CARD */
.services-list-card {
    max-width: 450px;
    margin: 0 auto;
    background-color: var(--accent); 
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.services-list-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.services-list-card .card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.service-item {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.service-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- SERVICES SECTION (Original) --- */
.services-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
}

.process-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
}

.process-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-text {
    flex: 1;
}

.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.step-card:hover {
    border-color: var(--accent);
}

.step-label {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.process-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.process-text p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at top, #13131f 0%, #050505 60%);
}

.icon-header {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(99,102,241,0.5));
}

/* --- CAROUSEL STYLES --- */

.carousel-container {
    position: relative;
    max-width: 800px; /* Limits the viewable carousel width */
    margin: 0 auto;
    overflow: hidden; /* Crucial: hides cards that aren't visible */
}

.testimonial-cards-wrapper {
    display: flex;
    scroll-snap-type: x mandatory; /* Enables smooth snapping to each card */
    overflow-x: scroll; /* Allows horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling animation in JS */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px; /* Space for shadow/scrollbar */
}

.testimonial-card {
    /* Ensures each card takes up the full width of the container */
    flex: 0 0 100%; 
    scroll-snap-align: center; 
    
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background-color: var(--accent);
    border-radius: 0 5px 5px 0;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #e4e4e7;
    line-height: 1.8;
}

.author {
    color: var(--accent); /* Name color (e.g., SILICONSTEPPE PRIVATE SCHOOL) */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.location-text {
    /* STYLING FOR LOCATION (ALMATY, KAZAKHSTAN) */
    color: var(--text-white); /* Makes the location white */
    display: block; /* Forces the location onto a new line */
    margin-top: 5px; /* Adds a little spacing */
}

/* Arrows Styling */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-arrow:hover {
    background: var(--accent);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}


/* --- CALENDAR SECTION --- */
.calendar-section {
    padding: 80px 0 120px 0;
    text-align: center;
}

.calendar-subheading-text {
    color: var(--text-gray); 
    font-size: 1.1rem;
    max-width: 600px; 
    margin: 15px auto 50px auto; 
    text-align: center; 
}


.calendar-embed {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* Mockup of Calendly */
.calendar-mockup {
    background-color: white;
    color: #333;
    border-radius: 16px;
    width: 100%;
    max-width: 850px;
    height: 500px;
    display: flex;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.cal-sidebar {
    width: 35%;
    padding: 40px;
    background-color: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.cal-grid {
    width: 65%;
    padding: 40px;
}

.grid-dates {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.grid-dates span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f3f4f6;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.grid-dates span:hover {
    background-color: #e5e7eb;
}

.grid-dates span.active {
    background-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border);
    color: #555;
    font-size: 0.9rem;
}

/* --- ANIMATIONS (Fade Up) --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.services-grid .card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .card:nth-child(3) { transition-delay: 0.2s; }
.process-steps .step-card:nth-child(2) { transition-delay: 0.1s; }
.process-steps .step-card:nth-child(3) { transition-delay: 0.2s; }

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0. 3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .process-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .process-text .section-title {
        text-align: center;
    }
    
    .process-text {
        text-align: center;
    }
    
    .calendar-mockup {
        flex-direction: column;
        height: auto;
    }
    
    .cal-sidebar, .cal-grid {
        width: 100%;
        padding: 30px;
    }

    .nav-links {
        display: none; 
    }
    .nav-content {
        justify-content: center; 
    }
    .hero-section {
        padding-top: 50px; 
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .carousel-arrow {
        display: none; /* Hide arrows on small screens, rely on touch scroll */
    }
    .testimonial-card {
        padding: 30px 20px;
    }
}