

/* CSS Variables - Light Professional Color Palette*/
:root {
    --primary-color: #C2410C;      /* Dark Orange */
    --secondary-color: #9A3412;    /* Deep Burnt Orange */
    --accent-color: #D97706;       /* Amber Gold */
    --dark-color: #1C0A00;         /* Very Dark Brown */
    --light-color: #FFF7ED;        /* Very Light Orange */
    --white: #ffffff;
    --text-dark: #FEF3C7;          /* Light Cream for dark backgrounds */
    --text-light: #FED7AA;         /* Light Orange for dark backgrounds */
    --success-color: #16a34a;      /* Green */
    --border-color: #3D1810;       /* Dark Brown Border */

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --font-brand: 'Montserrat', 'Poppins', sans-serif;
    --brand-word-color: #F28C74;

    /* Font sizes - fluid scale */
    --text-xs:   0.75rem;   /* 12px */
    --text-sm:   0.875rem;  /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg:   1.125rem;  /* 18px */
    --text-xl:   1.25rem;   /* 20px */
    --text-2xl:  1.5rem;    /* 24px */
    --text-3xl:  1.875rem;  /* 30px */
    --text-4xl:  2.25rem;   /* 36px */
    --text-5xl:  3rem;      /* 48px */

    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Styles & Reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.65;
    background-color: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Heading font — applied to all heading tags */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.22;
    font-weight: 700;
    color: #FED7AA;
    letter-spacing: -0.01em;
}

p {
    font-family: var(--font-primary);
    line-height: 1.7;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-normal);
}

/* ─── Global Icon Styles ─────────────────────────────────────────── */
/* Base icon alignment & smoothing */
i[class*="fa-"],
i[class*="fab"],
i[class*="fas"],
i[class*="far"],
i[class*="fal"],
i[class*="fad"] {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

/* Icon inside buttons */
.btn i,
button i {
    pointer-events: none;
    vertical-align: middle;
}

/* Icon inside nav links */
.nav-link i,
.top-bar-link i {
    font-size: 0.88em;
    opacity: 0.85;
}

/* Standalone decorative icon circles — ensure FA renders crisp */
.contact-icon i,
.course-icon i,
.feature-icon i,
.city-item i,
.quote-icon i,
.testimonial-section-icon i,
.achievement-section-icon i,
.join-card-icon i,
.form-header-icon i,
.contact-section-icon i,
.footer-logo-icon i,
.footer-contact-icon i,
.footer-social-icon i,
.social-icon i {
    pointer-events: none;
    line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────── */

/* Container & Layout*/
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Section Headers*/
.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.title-underline {
    width: 72px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 14px auto;
    border-radius: 4px;
}

.section-description {
    font-size: 1.08rem;
    color: #C2410C;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 400;
}

/*Buttons*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 24, 16, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Top Bar - Ultra Modern Advanced Design */
.top-bar {
    background: linear-gradient(135deg, #000000 0%, #0A0A0A 50%, #050505 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.top-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 25%,
        var(--accent-color) 50%, 
        var(--primary-color) 75%,
        transparent 100%);
    opacity: 0.8;
    animation: slideGradient 3s ease-in-out infinite;
}

@keyframes slideGradient {
    0%, 100% { transform: translateX(-10%); }
    50% { transform: translateX(10%); }
}

.top-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(20, 20, 20, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
    z-index: 1;
}

.top-bar-left {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    padding-right: 20px;
}

.top-bar-center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0 20px;
}

.top-bar-link {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.top-bar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.15), rgba(230, 180, 90, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.top-bar-link:hover::before {
    opacity: 1;
}

.top-bar-link:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 150, 62, 0.25);
}

.top-bar-icon {
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.top-bar-link:hover .top-bar-icon {
    transform: scale(1.2) rotate(5deg);
}

.whatsapp-link:hover {
    color: #25D366;
}

.whatsapp-link:hover .top-bar-icon {
    animation: wiggle 0.5s ease;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1.2); }
    25% { transform: rotate(-10deg) scale(1.3); }
    75% { transform: rotate(10deg) scale(1.3); }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    padding-left: 20px;
}

.btn-enquiry {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4a548 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.38);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid transparent;
}

.btn-enquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-enquiry:hover::before {
    left: 100%;
}

.btn-enquiry::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, #d4a548, var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Highlight Image Section */
.highlight-image {
    padding: 0;
    background: #f7f2ea;
}

.highlight-image .container {
    max-width: 100%;
    padding: 0;
}

.highlight-image-wrapper {
    width: 100%;
    height: auto;
    overflow: visible;
    border: none;
    border-radius: 0;
    margin: 0;
}

.highlight-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.btn-enquiry:hover {
    background: linear-gradient(135deg, #d4a548 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 150, 62, 0.5);
}

.btn-enquiry i {
    transition: transform 0.3s ease;
}

.btn-enquiry:hover i {
    transform: translateX(3px);
}

.search-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.search-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.search-toggle-btn:hover::before {
    width: 100px;
    height: 100px;
}

.search-toggle-btn:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(200, 150, 62, 0.35);
}

.search-toggle-btn i {
    position: relative;
    z-index: 1;
}

/* Search Box - Ultra Modern Enhanced Design */
.search-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease, 
                transform 0.3s ease;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
}

.search-box.active {
    max-height: 70px;
    opacity: 1;
    transform: translateY(0);
}

.search-box input {
    width: 100%;
    padding: 12px 140px 12px 18px;
    border: 2px solid rgba(254, 215, 170, 0.3);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: rgba(61, 24, 16, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #FEF3C7;
    font-weight: 500;
}

.search-box input::placeholder {
    color: rgba(254, 215, 170, 0.5);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 6px 30px rgba(217, 119, 6, 0.4), 
                0 0 0 4px rgba(217, 119, 6, 0.2);
    background: rgba(61, 24, 16, 0.8);
    transform: scale(1.01);
}

.search-submit-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.38);
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
}

.search-submit-btn:hover {
    background: linear-gradient(135deg, #d4a548, var(--accent-color));
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(200, 150, 62, 0.5);
}

.search-submit-btn i {
    transition: transform 0.3s ease;
}

.search-submit-btn:hover i {
    transform: scale(1.2) rotate(90deg);
}

/*  Navigation Bar - Advanced Modern Design */
.navbar {
    background: rgba(45, 24, 16, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 40%, 
        var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 74px;
    height: 74px;
    border-radius: 0;
    overflow: visible;
    flex-shrink: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-icon i {
    font-size: 1.3rem;
    color: #ffffff;
}

.logo:hover .logo-icon {
    transform: translateY(-1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo h2 {
    font-family: var(--font-brand);
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-word-color);
    line-height: 1.2;
    letter-spacing: 2px;
    margin: 0;
    transition: color 0.3s ease;
}

.logo:hover h2 {
    color: var(--brand-word-color);
}


.logo-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.45rem;
    color: #A8D8F0;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.1;
    text-align: right;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(168, 216, 240, 0.25);
}

.brand-word {
    font-family: var(--font-brand);
    color: var(--brand-word-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #fbbf24);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(200, 150, 62, 0.4);
}

.nav-link:hover::before {
    opacity: 0.1;
    transform: scale(1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: #FED7AA;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #FED7AA;
    font-weight: 700;
}

.nav-link.active::before {
    opacity: 0.15;
    transform: scale(1);
}

/* Mobile nav overlay header (hidden on desktop) */
.nav-menu-header {
    display: none;
}

.nav-close-btn {
    display: none;
}

/* Mobile Menu Toggle - Advanced Design */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.2), rgba(217, 119, 6, 0.2));
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(254, 215, 170, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}
.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.3), rgba(217, 119, 6, 0.3));
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

.mobile-menu-toggle:hover span {
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.5);
}

/* Hero Section - Ultra Advanced Modern Design */
.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, #FEF3C7 0%, #FFECD1 50%, #FED7AA 100%);
    box-shadow: inset 0 0 100px rgba(217, 119, 6, 0.1);
}

/* Advanced scan-line shimmer effect */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    z-index: 10;
    pointer-events: none;
    animation: scanShimmer 15s linear infinite;
    mix-blend-mode: overlay;
}

@keyframes scanShimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(0%, 0%) rotate(45deg);
    }
}

/* Animated Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(194, 65, 12, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(217, 119, 6, 0.14) 0%, transparent 50%);
    z-index: 1;
    animation: morphBackground 20s ease-in-out infinite;
    mix-blend-mode: multiply;
    filter: blur(40px);
}

@keyframes morphBackground {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Ultra Cinematic Vignette Effect with Ambient Light */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 35%,
            rgba(28, 10, 0, 0.15) 65%,
            rgba(28, 10, 0, 0.28) 85%,
            rgba(0, 0, 0, 0.45) 100%
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(220, 38, 38, 0.12) 0%,
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(194, 65, 12, 0.10) 0%,
            transparent 25%
        );
    z-index: 3;
    pointer-events: none;
    animation: ambientGlow 15s ease-in-out infinite alternate;
    backdrop-filter: brightness(0.95);
}

@keyframes ambientGlow {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.85;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Prevent inactive slides and background overlays from intercepting clicks */
.hero-slide { pointer-events: none; }
.hero-slide.active { pointer-events: auto; }
.hero-bg, .hero-overlay, .hero-slider::after, .hero::after, .hero::before { pointer-events: none !important; }

/* Ensure nav buttons are always on top and clickable without changing appearance */
.hero-slider .slider-nav { z-index: 99999 !important; pointer-events: auto !important; }

.hero-slide.active .hero-content {
    animation: heroContentEnter 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroContentEnter {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
        filter: blur(12px);
    }
    40% {
        opacity: 0.5;
        transform: translateY(20px) scale(0.97);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F9F8F6;
    filter: brightness(1.1) contrast(0.95) saturate(0.85);
    transform: scale(1.05);
    transition: transform 0.3s ease, filter 0.5s ease;
}

.hero-slide.active .hero-bg {
    animation: zoomBg 15s ease-in-out forwards;
}

@keyframes zoomBg {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.25) 0%, 
            rgba(249, 248, 246, 0.20) 25%,
            rgba(245, 243, 240, 0.15) 50%,
            rgba(249, 248, 246, 0.20) 75%,
            rgba(255, 255, 255, 0.25) 100%);
    z-index: 1;
    mix-blend-mode: normal;
    animation: overlayShift 20s ease-in-out infinite alternate;
    backdrop-filter: blur(1px) saturate(1.2);
}

@keyframes overlayShift {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
    }
}

/* Premium gradient mesh overlay */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(194, 65, 12, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.03) 0%, transparent 50%),
        linear-gradient(30deg, rgba(251, 146, 60, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(251, 146, 60, 0.03) 87.5%),
        linear-gradient(150deg, rgba(251, 146, 60, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(251, 146, 60, 0.03) 87.5%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 80px 140px, 80px 140px;
    opacity: 0.3;
    animation: meshMove 35s linear infinite;
    mix-blend-mode: soft-light;
}

@keyframes meshMove {
    0% {
        background-position: 0 0, 100% 100%, 50% 50%, 0 0, 0 0;
    }
    100% {
        background-position: 100% 100%, 0 0, 50% 50%, 80px 140px, 80px 140px;
    }
}

/* Glow effect overlay with sophisticated gradients */
.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: 
        linear-gradient(to top, 
            rgba(249, 248, 246, 0.25) 0%,
            rgba(255, 255, 255, 0.10) 30%,
            transparent 70%
        ),
        radial-gradient(ellipse at bottom center,
            rgba(251, 146, 60, 0.06) 0%,
            transparent 60%
        );
    z-index: 1;
    animation: glowShift 8s ease-in-out infinite;
    filter: blur(20px);
}

@keyframes glowShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 920px;
    color: #3D1810;
    padding: 80px 0 0 0;
    background: transparent;
    position: relative;
    overflow: visible;
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
}



.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 28px;
    padding: 0;
    color: #2D0F08;
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 1),
        0 0 60px rgba(255, 255, 255, 0.9),
        0 0 80px rgba(255, 248, 225, 0.8),
        0 0 100px rgba(255, 237, 160, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(90, 31, 15, 0.25),
        2px 2px 0 rgba(255, 255, 255, 0.4),
        -1px -1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    max-width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    margin-top: 0;
    margin-bottom: 35px;
    padding: 0;
    opacity: 1;
    font-weight: 700;
    color: #3D1810;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(255, 255, 255, 0.85),
        0 0 70px rgba(255, 248, 225, 0.7),
        0 0 90px rgba(255, 237, 160, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(90, 31, 15, 0.2),
        1px 1px 0 rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    max-width: 750px;
    letter-spacing: 0.02em;
    position: relative;
}

/* Hover effects for enhanced interactivity */
.hero-slide.active .hero-title:hover {
    animation: titleFloat 6s ease-in-out infinite, gradientShift 8s ease-in-out infinite, titlePulse 1.5s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.02) translateY(-2px);
    }
}

.hero-subtitle:hover {
    transform: translateY(-2px) translateZ(5px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 24px rgba(68, 25, 11, 0.15),
        0 16px 48px rgba(185, 28, 28, 0.12),
        0 0 40px rgba(217, 119, 6, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.95),
        inset 0 -1px 3px rgba(124, 45, 18, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
    margin-top: 15px;
    padding: 0;
    animation: buttonsSlide 1s ease-out 0.5s backwards;
}

@keyframes buttonsSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    padding: 18px 40px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-buttons .btn i {
    margin-right: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.hero-buttons .btn:hover i {
    transform: scale(1.2) translateX(3px);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.7s ease, height 0.7s ease;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-buttons .btn:hover::after {
    transform: translateX(100%);
}

.hero-buttons .btn:hover::before {
    width: 350px;
    height: 350px;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.6);
}

.hero-buttons .btn-primary {
    background: 
        linear-gradient(135deg, #D97706 0%, #C2410C 50%, #B91C1C 100%),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent);
    background-blend-mode: overlay, normal;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.45),
        0 0 45px rgba(217, 119, 6, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-buttons .btn-primary:hover::before {
    opacity: 1;
    animation: sweepLight 1.5s ease infinite;
}

@keyframes sweepLight {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.hero-buttons .btn-primary:hover {
    background: 
        linear-gradient(135deg, #EA580C 0%, #D97706 50%, #C2410C 100%),
        radial-gradient(circle at bottom, rgba(255, 255, 255, 0.3), transparent);
    background-blend-mode: overlay, normal;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(217, 119, 6, 0.8),
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -1px 1px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(217, 119, 6, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.04);
}

.hero-buttons .btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #FEF3C7 100%);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 6px 20px rgba(194, 65, 12, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    position: relative;
}

.hero-buttons .btn-secondary i {
    color: var(--primary-color) !important;
}

.hero-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #FEF3C7 0%, #FED7AA 100%);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    box-shadow: 
        0 12px 30px rgba(194, 65, 12, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        0 0 0 2px rgba(217, 119, 6, 0.2);
    transform: translateY(-5px) scale(1.04);
}

/* WhatsApp Button in Hero */
.hero-buttons .btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 50%, #17a84f 100%);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(37, 211, 102, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 50%, #17a84f 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp i {
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2de070 0%, #25D366 50%, #1ebe5d 100%);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.hero-buttons .btn-whatsapp i {
    color: #ffffff !important;
}

.hero-buttons .btn-whatsapp:hover {
    background: linear-gradient(135deg, #2de070 0%, #25D366 50%, #1ebe5d 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 20px 55px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(37, 211, 102, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.04);
}

/* Slider Navigation - Ultra Premium 3D Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    color: var(--white);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 15;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    perspective: 1000px;
}

.slider-nav::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.5), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-nav:hover::before {
    opacity: 1;
}

.slider-nav:hover {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.15));
    transform: translateY(-50%) scale(1.18) translateZ(20px);
    box-shadow: 
        0 16px 50px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 5px rgba(200, 150, 62, 0.2),
        0 0 40px rgba(200, 150, 62, 0.3),
        inset 0 2px 6px rgba(255, 255, 255, 0.25),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    border-color: rgba(200, 150, 62, 0.4);
}

.slider-nav:active {
    transform: translateY(-50%) scale(1.1) translateZ(10px);
}

.slider-nav.prev {
    left: 40px;
}

.slider-nav.next {
    right: 40px;
}

.slider-nav i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.slider-nav:hover i {
    transform: scale(1.25) translateX(0);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.slider-nav.prev:hover i {
    transform: scale(1.25) translateX(-3px);
}

.slider-nav.next:hover i {
    transform: scale(1.25) translateX(3px);
}

/* Slider Dots - Ultra Premium Design */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    display: flex;
    gap: 16px;
    z-index: 15;
    padding: 16px 30px;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    perspective: 1000px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(200, 150, 62, 0.4);
}

.dot.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4a548 50%, #e6b55a 100%);
    transform: scale(1.35);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 0 5px rgba(200, 150, 62, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(200, 150, 62, 0.5),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 5px rgba(200, 150, 62, 0.25),
            0 6px 20px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(200, 150, 62, 0.5),
            inset 0 1px 3px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(200, 150, 62, 0.15),
            0 8px 25px rgba(0, 0, 0, 0.6),
            0 0 45px rgba(200, 150, 62, 0.7),
            inset 0 1px 3px rgba(255, 255, 255, 0.4);
    }
}

.dot.active::before {
    opacity: 1;
    inset: -10px;
    animation: rippleExpand 2.5s ease-out infinite;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.dot:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
    transform: scale(1.2);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(200, 150, 62, 0.15),
        inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

/* Floating Particles Effect */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(200, 150, 62, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(200, 150, 62, 0.2), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.25), transparent);
    background-size: 200% 200%;
    background-position: 50% 50%;
    animation: floatParticles 40s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

/* Hero Scroll Indicator - Ultra Premium Design */
.hero .scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.9;
    animation: pulseScroll 2.5s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .scroll-indicator:hover {
    animation-play-state: paused;
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator .scroll-down {
    width: 32px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    position: relative;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(200, 150, 62, 0.15);
    transition: all 0.4s ease;
}

.hero .scroll-indicator:hover .scroll-down {
    border-color: var(--accent-color);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 0 35px rgba(200, 150, 62, 0.4),
        0 0 0 4px rgba(200, 150, 62, 0.15);
}

.scroll-indicator .scroll-down::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, var(--accent-color) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 3px;
    animation: scrollWheel 2.5s ease-in-out infinite;
    box-shadow: 
        0 0 10px rgba(200, 150, 62, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    80%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.hero .scroll-indicator:hover .scroll-down::before {
    background: linear-gradient(180deg, var(--accent-color) 0%, #e6b55a 100%);
    box-shadow: 
        0 0 15px rgba(200, 150, 62, 0.7),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero .scroll-indicator span {
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(200, 150, 62, 0.3);
    transition: all 0.4s ease;
}

.hero .scroll-indicator:hover span {
    color: var(--accent-color);
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(200, 150, 62, 0.6);
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 22px;
        opacity: 0.3;
    }
    100% {
        top: 8px;
        opacity: 1;
    }
}

@keyframes pulseScroll {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(5px);
    }
}

/*About Section*/
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, 
        rgba(240, 245, 250, 1) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(245, 248, 252, 1) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(194, 65, 12, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

/* About Image Styling */
.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(61, 24, 16, 0.3) 0%, 
        rgba(194, 65, 12, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.about-image:hover img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.about-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    color: var(--white);
    padding: 22px 28px;
    border-radius: 18px;
    box-shadow: 
        0 10px 30px rgba(200, 150, 62, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-badge:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 
        0 15px 40px rgba(200, 150, 62, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.badge-content h3 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.badge-content p {
    font-size: 0.95rem;
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* About Text Styling */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-text-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.about-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 
        0 10px 25px rgba(200, 150, 62, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.about-icon:hover {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(200, 150, 62, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.about-text-header h3 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-description p {
    font-size: 1.05rem;
    color: #3D1810;
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        -5px 0 20px rgba(200, 150, 62, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(200, 150, 62, 0.3);
}

.feature-item-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 
        0 8px 20px rgba(61, 24, 16, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-item-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 12px 30px rgba(61, 24, 16, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-item-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 5px 0;
    letter-spacing: -0.3px;
}

.feature-item-content p {
    font-size: 0.9rem;
    color: #78350F;
    margin: 0;
    line-height: 1.4;
}

.about-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-cta .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.about-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

.about-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Courses Section*/
.courses {
    padding: var(--section-padding);
    background: linear-gradient(135deg, 
        rgba(61, 24, 16, 0.04) 0%, 
        rgba(255, 255, 255, 1) 30%,
        rgba(194, 65, 12, 0.06) 70%, 
        rgba(200, 150, 62, 0.04) 100%);
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatSlow 25s ease-in-out infinite;
}

.courses::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(194, 65, 12, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatSlow 20s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}

.courses .container {
    position: relative;
    z-index: 1;
}

/* Section Header Enhancement */
.courses .section-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.section-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    margin: 0 auto 25px;
    box-shadow: 
        0 15px 40px rgba(200, 150, 62, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: iconBounce 3s ease-in-out infinite;
    position: relative;
}

.section-header-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.3), rgba(212, 165, 72, 0.3));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.section-header:hover .section-header-icon::before {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(180deg);
    }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.course-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(200, 150, 62, 0.1) 0%, 
        rgba(194, 65, 12, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(200, 150, 62, 0.2),
        0 5px 15px rgba(194, 65, 12, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(200, 150, 62, 0.3);
}

.course-card:hover::before {
    opacity: 1;
}

.course-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(61, 24, 16, 0.6) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.course-card:hover .course-image::after {
    opacity: 0.3;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(200, 150, 62, 0.3) 0%, 
        rgba(194, 65, 12, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    mix-blend-mode: overlay;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.1);
}

.course-card:hover .course-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.05) contrast(1.2);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(200, 150, 62, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 4;
    box-shadow: 
        0 4px 15px rgba(200, 150, 62, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(200, 150, 62, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 6px 25px rgba(200, 150, 62, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* Course Number */
.course-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: rgba(61, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    z-index: 5;
    box-shadow: 
        0 8px 25px rgba(61, 24, 16, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-number {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 
        0 12px 35px rgba(61, 24, 16, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(200, 150, 62, 0.6);
}

/* Course Icon Overlay */
.course-icon-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: rgba(200, 150, 62, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 4;
    border: 2px solid rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-icon-overlay {
    opacity: 1;
    transform: translateY(0);
}

.course-content {
    padding: 28px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Course Meta */
.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.course-level,
.course-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #78350F;
    background: rgba(61, 24, 16, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(61, 24, 16, 0.15);
    transition: all 0.3s ease;
}

.course-level i,
.course-duration i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.course-card:hover .course-level,
.course-card:hover .course-duration {
    background: rgba(200, 150, 62, 0.15);
    border-color: rgba(200, 150, 62, 0.3);
    color: var(--dark-color);
}

.course-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.course-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.course-card:hover .course-title::after {
    width: 100%;
}

.course-card:hover .course-title {
    color: var(--primary-color);
}

.course-description {
    font-size: 0.95rem;
    color: #78350F;
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
}

/* Course Features */
.course-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #3D1810;
    border-bottom: 1px solid rgba(61, 24, 16, 0.08);
    transition: all 0.3s ease;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li i {
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.course-features li:hover {
    color: var(--dark-color);
    padding-left: 8px;
}

.course-features li:hover i {
    transform: scale(1.2) rotate(10deg);
}

.course-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.course-buttons .btn {
    flex: 1;
    min-width: 140px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.course-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.course-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.course-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tutorial Video Section */
.tutorial-video-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, 
        rgba(255, 248, 240, 0.9) 0%, 
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 250, 240, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 35px;
    border: 2px solid rgba(200, 150, 62, 0.15);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(200, 150, 62, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.tutorial-video-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 250%;
    height: 250%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(200, 150, 62, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 75% 65%, rgba(194, 65, 12, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(61, 24, 16, 0.08) 0%, transparent 40%);
    animation: videoBackgroundMove 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes videoBackgroundMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(4%, 4%) rotate(3deg);
    }
    66% {
        transform: translate(-3%, 3%) rotate(-3deg);
    }
}

/* Decoration Circles */
.video-section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.decoration-circle-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.2) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    animation: float 20s ease-in-out infinite;
}

.decoration-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(194, 65, 12, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Video Badge */
.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 
        0 8px 25px rgba(200, 150, 62, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: badgeFloat 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.video-badge i {
    font-size: 1.3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.video-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.video-subtitle {
    font-size: 1.2rem;
    color: #78350F;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Video Stats */
.video-stats {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.video-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 20px;
    border: 2px solid rgba(200, 150, 62, 0.2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.video-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.15) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.video-stat:hover::before {
    left: 100%;
}

.video-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 150, 62, 0.5);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(200, 150, 62, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 
        0 8px 20px rgba(61, 24, 16, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-stat:hover .stat-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 12px 30px rgba(61, 24, 16, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-content h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 0 0 3px 0;
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-content p {
    font-size: 0.85rem;
    color: #78350F;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(200, 150, 62, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: var(--dark-color);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(200, 150, 62, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.5), rgba(194, 65, 12, 0.5)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.video-wrapper:hover::before {
    opacity: 1;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 24, 16, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.video-wrapper:hover .video-play-overlay {
    opacity: 1;
}

.play-button-large {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 
        0 15px 40px rgba(200, 150, 62, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: playButtonPulse 2s ease-in-out infinite;
    padding-left: 6px;
}

.play-button-large:hover {
    transform: scale(1.15);
    box-shadow: 
        0 20px 50px rgba(200, 150, 62, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

@keyframes playButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 40px rgba(200, 150, 62, 0.5),
            0 0 0 0 rgba(200, 150, 62, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 20px 50px rgba(200, 150, 62, 0.6),
            0 0 0 20px rgba(200, 150, 62, 0);
    }
}

/* Video Corner Badge */
.video-corner-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 8px 20px rgba(61, 24, 16, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 3;
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 
            0 8px 20px rgba(61, 24, 16, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 20px rgba(61, 24, 16, 0.6),
            0 0 30px rgba(61, 24, 16, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.video-feature {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.video-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.video-feature:hover::before {
    left: 100%;
}

.video-feature:hover {
    transform: translateX(10px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.1),
        -5px 0 20px rgba(200, 150, 62, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(200, 150, 62, 0.3);
}

/* Feature Number Badge */
.video-feature-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 
        0 8px 20px rgba(61, 24, 16, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.video-feature-number::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.video-feature:hover .video-feature-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 
        0 12px 30px rgba(61, 24, 16, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.video-feature:hover .video-feature-number::before {
    opacity: 1;
}

.video-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 
        0 8px 20px rgba(200, 150, 62, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.video-feature:hover .video-feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 
        0 12px 30px rgba(200, 150, 62, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.video-feature-content {
    flex: 1;
}

.video-feature-content h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.video-feature-content p {
    font-size: 0.95rem;
    color: #78350F;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us Section*/
.why-choose {
    padding: var(--section-padding);
    background: linear-gradient(135deg, 
        rgba(255, 248, 240, 0.95) 0%, 
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 250, 240, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(61, 24, 16, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 70% 60%, rgba(200, 150, 62, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(194, 65, 12, 0.06) 0%, transparent 30%);
    animation: featureBackgroundFloat 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes featureBackgroundFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(3%, 3%) rotate(2deg);
    }
    66% {
        transform: translate(-2%, 4%) rotate(-2deg);
    }
}

.why-choose .section-header {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 38px 32px;
    border-radius: 22px;
    text-align: center;
    border: 2px solid rgba(200, 150, 62, 0.12);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(200, 150, 62, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.12) 50%, 
        transparent 100%);
    transition: left 0.7s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(200, 150, 62, 0.4), 
        rgba(194, 65, 12, 0.4),
        rgba(61, 24, 16, 0.4));
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(200, 150, 62, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 30px rgba(200, 150, 62, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.3rem;
    box-shadow: 
        0 12px 30px rgba(61, 24, 16, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 
        0 15px 40px rgba(61, 24, 16, 0.4),
        0 0 40px rgba(200, 150, 62, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-title {
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(61, 24, 16, 0.1);
}

.feature-description {
    font-size: 0.98rem;
    color: #3D1810;
    line-height: 1.75;
    font-weight: 500;
}

/* Student Achievements Section*/
.achievements {
    padding: var(--section-padding);
    background: linear-gradient(135deg, 
        rgba(255, 250, 245, 1) 0%, 
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 245, 235, 1) 100%);
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 250%;
    height: 250%;
    background: 
        radial-gradient(circle at 25% 30%, rgba(200, 150, 62, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 75% 70%, rgba(61, 24, 16, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(194, 65, 12, 0.08) 0%, transparent 30%);
    animation: achievementBackgroundFlow 35s ease-in-out infinite;
    pointer-events: none;
}

@keyframes achievementBackgroundFlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, 4%) rotate(3deg);
    }
    66% {
        transform: translate(-4%, 5%) rotate(-3deg);
    }
}

.achievements .section-header {
    position: relative;
    z-index: 1;
}

/* Achievement Section Icon */
.achievement-section-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-color), #d4a548);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    margin: 0 auto 25px;
    box-shadow: 
        0 15px 40px rgba(200, 150, 62, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: trophyBounce 3s ease-in-out infinite;
    position: relative;
}

.achievement-section-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(200, 150, 62, 0.3);
    animation: trophyRing 2s ease-out infinite;
}

@keyframes trophyBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes trophyRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Achievement Stats */
.achievement-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 45px 0 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.achievement-stat-item {
    text-align: center;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(200, 150, 62, 0.15);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.15) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.achievement-stat-item:hover::before {
    left: 100%;
}

.achievement-stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(200, 150, 62, 0.4);
    box-shadow: 
        0 15px 45px rgba(0, 0, 0, 0.12),
        0 5px 20px rgba(200, 150, 62, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.95rem;
    color: #78350F;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 45px 28px 55px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(200, 150, 62, 0.15);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(200, 150, 62, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 150, 62, 0.15) 50%, 
        transparent 100%);
    transition: left 0.8s ease;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, 
        rgba(200, 150, 62, 0.5), 
        rgba(255, 215, 0, 0.5),
        rgba(200, 150, 62, 0.5));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card:hover::after {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
    border-color: rgba(200, 150, 62, 0.4);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.15),
        0 10px 35px rgba(200, 150, 62, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 1);
}

/* Achievement Decoration Stars */
.achievement-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decoration-star {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.15;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-1 {
    top: 15px;
    left: 15px;
    font-size: 1.2rem;
    animation-delay: 0s;
}

.star-2 {
    top: 20px;
    right: 20px;
    font-size: 1rem;
    animation-delay: 1s;
}

.star-3 {
    bottom: 20px;
    left: 25px;
    font-size: 0.9rem;
    animation-delay: 2s;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2) rotate(180deg);
    }
}

.achievement-card:hover .decoration-star {
    opacity: 0.5;
}

/* Achievement Rank Badge */
.achievement-rank {
    position: absolute;
    top: 15px;
    right: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 
        0 8px 20px rgba(61, 24, 16, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 2;
    white-space: nowrap;
}

@keyframes badgePop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.achievement-card:hover .achievement-rank {
    animation: badgeWiggle 0.5s ease-in-out;
}

@keyframes badgeWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Student Photo in Achievement Card */
.student-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 15px auto 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(135deg, var(--accent-color), #ffd700) border-box;
    box-shadow: 0 8px 25px rgba(200, 150, 62, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.achievement-card:hover .student-photo {
    transform: scale(1.07);
    box-shadow: 0 14px 40px rgba(200, 150, 62, 0.55);
}

/* Student Subject Line */
.student-subject {
    font-size: 0.78rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

.student-subject i {
    margin-right: 5px;
}

/* Reviews CTA */
.reviews-cta {
    text-align: center;
    margin-top: 48px;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(61, 24, 16, 0.1);
    box-shadow: 0 8px 32px rgba(61, 24, 16, 0.08);
}

.reviews-cta-text {
    font-size: 1.05rem;
    color: #78350F;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-reviews i {
    font-size: 1.1rem;
}

.btn-reviews:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(66, 133, 244, 0.5);
    color: #ffffff !important;
    text-decoration: none;
}

.achievement-icon {
    font-size: 3.2rem;
    color: var(--accent-color);
    margin: 12px 0 10px;
    filter: drop-shadow(0 8px 20px rgba(200, 150, 62, 0.4));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    animation: medalSway 3s ease-in-out infinite;
    display: block;
}

@keyframes medalSway {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.2) rotate(360deg);
    filter: drop-shadow(0 12px 30px rgba(200, 150, 62, 0.6));
}

.achievement-grade {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ffd700, var(--accent-color));
    background-size: 200% 200%;
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 12px;
    box-shadow: 
        0 10px 30px rgba(200, 150, 62, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.achievement-card:hover .achievement-grade {
    transform: scale(1.1);
    box-shadow: 
        0 15px 45px rgba(200, 150, 62, 0.6),
        0 0 40px rgba(255, 215, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    animation: gradeGlow 1.5s ease-in-out infinite;
}

@keyframes gradeGlow {
    0%, 100% {
        box-shadow: 
            0 15px 45px rgba(200, 150, 62, 0.6),
            0 0 40px rgba(255, 215, 0, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 15px 45px rgba(200, 150, 62, 0.8),
            0 0 60px rgba(255, 215, 0, 0.7),
            inset 0 2px 0 rgba(255, 255, 255, 0.5);
    }
}

.student-name {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin: 10px 0 6px;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.achievement-card:hover .student-name {
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(61, 24, 16, 0.15);
}

.student-school {
    font-size: 0.88rem;
    color: #78350F;
    font-weight: 500;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
    line-height: 1.4;
}

.student-school i {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Achievement Year */
.achievement-year {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(61, 24, 16, 0.08);
    color: var(--primary-color);
    padding: 5px 16px;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(61, 24, 16, 0.15);
    z-index: 1;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.achievement-card:hover .achievement-year {
    background: rgba(200, 150, 62, 0.15);
    color: var(--accent-color);
    border-color: rgba(200, 150, 62, 0.3);
    transform: translateX(-50%) translateY(-3px);
}

/* Global Reach Section*/
.global-reach {
    padding: 80px 0 30px 0;
    background: linear-gradient(135deg,
        #FFF8F0 0%,
        #FFEDDF 30%,
        #FFF3E0 70%,
        #FFF5EB 100%);
    background-size: 400% 400%;
    animation: globalBgShift 18s ease infinite;
    position: relative;
    color: #3D1810;
    overflow: hidden;
}

@keyframes globalBgShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* Animated glowing orbs in background */
.global-reach::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.18) 0%, transparent 65%);
    top: -200px;
    right: -150px;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.global-reach::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
    bottom: -180px;
    left: -100px;
    animation: orbFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -30px) scale(1.08); }
    66%       { transform: translate(-20px, 20px) scale(0.95); }
}

.global-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200, 150, 62, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.global-reach .container {
    position: relative;
    z-index: 1;
}

.global-reach .section-header {
    position: relative;
    z-index: 1;
}

.global-reach .section-title {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.15));
}

.global-reach .title-underline {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.global-reach .section-description {
    color: #C2410C;
    font-size: 1.1rem;
}

.global-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch;
}

/* Panel headings */
.global-cities h3,
.global-achievements h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.global-cities h3::before {
    content: '\f5a0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.global-achievements h3::before {
    content: '\f091';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 30px 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 255, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    border: 1.5px solid rgba(217, 119, 6, 0.2);
    box-shadow: 
        0 4px 15px rgba(217, 119, 6, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.city-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(217, 119, 6, 0.15) 0%,
        rgba(59, 130, 246, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 14px;
}

.city-item:hover {
    background: linear-gradient(135deg, rgba(239, 246, 255, 1) 0%, rgba(224, 242, 254, 1) 100%);
    border-color: rgba(217, 119, 6, 0.4);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 12px 30px rgba(217, 119, 6, 0.15),
        0 4px 12px rgba(217, 119, 6, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.city-item:hover::before {
    opacity: 1;
}

.city-item i {
    font-size: 1.6rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 6px rgba(200, 150, 62, 0.5));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.city-item:hover i {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 4px 10px rgba(200, 150, 62, 0.8));
}

.city-item span {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
    color: #3D1810;
}

/* Global Students Grid */
.global-students-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.global-student-card {
    padding: 24px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 1) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    border: 1.5px solid rgba(217, 119, 6, 0.2);
    box-shadow:
        0 4px 15px rgba(217, 119, 6, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.global-student-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient(
        transparent 0deg,
        rgba(200, 150, 62, 0.18) 60deg,
        transparent 120deg
    );
    animation: cardSpin 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.global-student-card:hover::before {
    opacity: 1;
}

@keyframes cardSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.global-student-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg,
        rgba(200, 150, 62, 0.6),
        rgba(255, 215, 0, 0.4),
        rgba(194, 65, 12, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.global-student-card:hover::after {
    opacity: 1;
}

.global-student-card:hover {
    background: linear-gradient(135deg, rgba(239, 246, 255, 1) 0%, rgba(219, 234, 254, 1) 100%);
    border-color: rgba(217, 119, 6, 0.35);
    transform: translateY(-8px) scale(1.04);
    box-shadow:
        0 20px 50px rgba(217, 119, 6, 0.15),
        0 8px 20px rgba(217, 119, 6, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.global-grade {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ffd700, var(--accent-color));
    background-size: 200% 200%;
    animation: gradeShine 3s ease infinite;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    box-shadow:
        0 6px 20px rgba(200, 150, 62, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

@keyframes gradeShine {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.global-student-card:hover .global-grade {
    transform: scale(1.12);
    box-shadow:
        0 10px 30px rgba(200, 150, 62, 0.65),
        0 0 30px rgba(255, 215, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.global-student-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3D1810;
    letter-spacing: 0.1px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.global-student-card:hover h4 {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Testimonials Section*/
@keyframes testimonialbgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes testimonialOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.08); }
}

@keyframes quoteGlow {
    0%, 100% { box-shadow: 0 0 18px rgba(200, 150, 62, 0.5); }
    50%       { box-shadow: 0 0 36px rgba(200, 150, 62, 0.9), 0 0 60px rgba(200, 150, 62, 0.4); }
}

@keyframes starShimmer {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 3px rgba(200,150,62,0.6)); }
    50%       { opacity: 0.75; filter: drop-shadow(0 0 7px rgba(255,215,0,1)); }
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200,150,62,0.4); }
    50%       { box-shadow: 0 0 0 7px rgba(200,150,62,0.15), 0 0 20px rgba(200,150,62,0.35); }
}

@keyframes heartBounce {
    0%, 100% { transform: scale(1); }
    30%       { transform: scale(1.25); }
    60%       { transform: scale(0.92); }
}

@keyframes dotExpand {
    0%, 100% { width: 10px; border-radius: 50%; }
    50%       { width: 28px; border-radius: 6px; }
}

.testimonials {
    padding: 60px 0 70px 0;
    background: linear-gradient(135deg, #FFF5EB 0%, #FFEDDF 40%, #FFF3E0 70%, #ffffff 100%);
    background-size: 400% 400%;
    animation: testimonialbgShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Floating orbs */
.testimonial-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.testimonial-orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(200,150,62,0.12) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    animation: testimonialOrbFloat 10s ease-in-out infinite;
}

.testimonial-orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(61,24,16,0.08) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
    animation: testimonialOrbFloat 14s ease-in-out infinite reverse;
}

/* Subtle dot pattern overlay */
.testimonial-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(61,24,16,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

/* Section header icon */
.testimonial-section-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 22px;
    box-shadow: 0 8px 24px rgba(200,150,62,0.4);
    animation: heartBounce 2.5s ease-in-out infinite;
}

/* Section title / description colours */
.testimonials .section-title {
    color: var(--dark-color);
}

.testimonials .section-description {
    color: #C2410C;
}

.testimonials .title-underline {
    background: linear-gradient(90deg, transparent, #c8963e, transparent);
}

.testimonials-slider {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 60px 60px;
}

.testimonials-track {
    position: relative;
}

/* Card */
.testimonial-card {
    display: none;
    padding: 50px 48px 46px;
    background: #ffffff;
    border: 1px solid rgba(200,150,62,0.12);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(61,24,16,0.08), 0 2px 8px rgba(61,24,16,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial-card.active {
    display: block;
    animation: testimonialFadeIn 0.5s cubic-bezier(0.34, 1.3, 0.64, 1) both;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial-card.active:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 24px 60px rgba(61,24,16,0.14), 0 0 30px rgba(200,150,62,0.1);
    border-color: rgba(200,150,62,0.35);
}

/* Card inner glow that reveals on hover */
.testimonial-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,150,62,0.12) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover .testimonial-card-glow {
    opacity: 1;
}

/* Quote icon */
.quote-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: quoteGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.quote-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

/* Star ratings */
.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 22px;
}

.testimonial-stars i {
    color: #f7c332;
    font-size: 1.1rem;
    animation: starShimmer 2.5s ease-in-out infinite;
}

.testimonial-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.18s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.36s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.54s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.72s; }

.testimonial-text {
    font-size: 1.08rem;
    color: #3D1810;
    line-height: 1.85;
    margin-bottom: 32px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Author row */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Avatar circle with initials */
.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8963e, #C2410C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    animation: avatarPulse 3s ease-in-out infinite;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 3px;
    font-weight: 700;
}

.author-info p {
    font-size: 0.88rem;
    color: #78350F;
}

/* Verified badge */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(200,150,62,0.15);
    border: 1px solid rgba(200,150,62,0.4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e8b84b;
    letter-spacing: 0.4px;
    margin-left: auto;
}

.verified-badge i {
    font-size: 0.82rem;
    color: #4caf50;
}

/* Navigation buttons */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(61,24,16,0.15);
    box-shadow: 0 4px 16px rgba(61,24,16,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease;
    cursor: pointer;
}

.testimonial-nav:hover {
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(200,150,62,0.5);
    transform: translateY(-60%) scale(1.12);
}

.testimonial-nav.prev {
    left: 0;
}

.testimonial-nav.next {
    right: 0;
}

/* Slide counter */
.testimonial-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #78350F;
}

.counter-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(200,150,62,0.35);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.testimonial-counter:has(.counter-current) .counter-current {
    animation: none;
}

.counter-sep {
    color: #78350F;
    font-weight: 400;
    font-size: 1rem;
}

.counter-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(61,24,16,0.08);
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid rgba(61,24,16,0.12);
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(61,24,16,0.2);
    transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
    cursor: pointer;
}

.testimonial-dots .dot.active {
    background: linear-gradient(90deg, #c8963e, #e8b84b);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(200,150,62,0.5);
}

/* Join Team Section*/
/* Join Team Section*/
@keyframes joinBgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes joinOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-25px) scale(1.06); }
}

@keyframes perkSlideIn {
    from { opacity: 0; transform: translateX(-15px); }
    to   { opacity: 1; transform: translateX(0); }
}

.join-team {
    padding: 90px 0;
    background: linear-gradient(135deg, #1C0A00 0%, #3D1810 40%, #C2410C 75%, #78350F 100%);
    background-size: 400% 400%;
    animation: joinBgShift 18s ease infinite;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.join-team-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.join-team-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,150,62,0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: joinOrbFloat 12s ease-in-out infinite;
}

.join-team-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(194,65,12,0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: joinOrbFloat 16s ease-in-out infinite reverse;
}

.join-team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left text side */
.join-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,150,62,0.2);
    border: 1px solid rgba(200,150,62,0.5);
    color: #e8b84b;
    border-radius: 30px;
    padding: 7px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.join-team-badge i {
    font-size: 0.9rem;
}

.join-team-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

.join-team-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 32px;
}

.join-team-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    animation: perkSlideIn 0.5s ease both;
}

.perk-item:nth-child(1) { animation-delay: 0.1s; }
.perk-item:nth-child(2) { animation-delay: 0.2s; }
.perk-item:nth-child(3) { animation-delay: 0.3s; }
.perk-item:nth-child(4) { animation-delay: 0.4s; }

.perk-item:hover {
    background: rgba(200,150,62,0.15);
    border-color: rgba(200,150,62,0.4);
    transform: translateY(-2px);
}

.perk-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

/* Right CTA card */
.join-team-cta {
    display: flex;
    justify-content: center;
}

.join-team-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.join-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 40px rgba(200,150,62,0.1);
}

.join-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(200,150,62,0.4);
}

.join-team-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.join-team-card > p {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-gold {
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    color: #fff;
    border: none;
    padding: 15px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(200,150,62,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(200,150,62,0.6);
    filter: brightness(1.08);
}

.join-note {
    margin-top: 16px !important;
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.5) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.join-note i {
    color: #4caf50;
    font-size: 0.85rem;
}

/* Contact Section*/
@keyframes contactFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact {
    padding: var(--section-padding);
    background: linear-gradient(160deg, #FFF5EB 0%, #FFEDDF 50%, #FFF3E8 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg-decoration {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(61,24,16,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Section icon */
.contact-section-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #3D1810, #C2410C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(61,24,16,0.25);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Info panel */
.contact-info {
    background: linear-gradient(160deg, #3D1810 0%, #C2410C 100%);
    border-radius: 24px;
    padding: 44px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(61,24,16,0.25);
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(200,150,62,0.18) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    border-radius: 50%;
    pointer-events: none;
}

.contact-info::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    bottom: -40px;
    left: -40px;
    border-radius: 50%;
    pointer-events: none;
}

.contact-info h3 {
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-info-sub {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: center;
    transition: transform 0.3s ease;
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8b84b;
    font-size: 2rem;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(200,150,62,0.25);
    transform: scale(1.1) rotate(-5deg);
}

.contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, #128c7e, #25D366);
    color: #ffffff;
}

.contact-icon.instagram-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
}

.contact-icon.phone-icon {
    background: linear-gradient(135deg, #0066ff, #0099ff);
    color: #ffffff;
}

.contact-icon.email-icon {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #ffffff;
}

.contact-icon.location-icon {
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: #ffffff;
}

.contact-details h4 {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-details a,
.contact-details p {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.contact-details a:hover {
    color: #e8b84b;
}

.contact-social {
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

.contact-social h4 {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 12px 50px rgba(61,24,16,0.1);
    border: 1px solid rgba(61,24,16,0.06);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f4ff;
}

.form-header-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #3D1810, #C2410C);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(61,24,16,0.25);
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 4px;
    font-weight: 700;
}

.form-header p {
    font-size: 0.88rem;
    color: #78350F;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form {
    padding: 0;
    background: transparent;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-group label i {
    color: #3D1810;
    font-size: 0.85rem;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e8edf8;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background: #FFF5EB;
    color: var(--dark-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3D1810;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(61,24,16,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b8d0;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f3460' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/*Footer*/
@keyframes footerOrbDrift {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.07); }
}

.footer {
    background: linear-gradient(160deg, #FFF8F0 0%, #FFE8D1 40%, #FFEDDF 70%, #FFF5EB 100%);
    color: #3D1810;
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.footer-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,150,62,0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: footerOrbDrift 14s ease-in-out infinite;
}

.footer-orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(194,65,12,0.15) 0%, transparent 70%);
    bottom: 40px;
    left: -80px;
    animation: footerOrbDrift 18s ease-in-out infinite reverse;
}

/* Top stats bar */
.footer-top-bar {
    background: rgba(217, 119, 6, 0.06);
    border-bottom: 1px solid rgba(217, 119, 6, 0.12);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.footer-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}

.footer-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c8963e, #f0c96a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.footer-stat-label {
    font-size: 0.78rem;
    color: #78350F;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.footer-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(217, 119, 6, 0.15);
    flex-shrink: 0;
}

/* Main content grid */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr 3fr;
    gap: 30px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
    align-items: start;
}

/* Brand column */
.footer-brand-col {
    background: radial-gradient(circle at top left, rgba(28, 10, 0, 0.98) 0%, var(--dark-color) 45%, #3D1810 100%);
    padding: 22px 22px 26px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(28, 10, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.footer-brand-col::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.22) 0%, transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.footer-brand-col > * {
    position: relative;
    z-index: 1;
}

.footer-brand-col .footer-social-icon {
    background: rgba(217, 119, 6, 0.18);
    border-color: rgba(217, 119, 6, 0.55);
    color: #FEF3C7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #c8963e, #e8b84b);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(200,150,62,0.35);
    overflow: hidden;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo h3 {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    margin-bottom: 2px;
    color: var(--brand-word-color);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 2px;
}

.footer-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.45rem;
    color: #A8D8F0;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-align: right;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(168, 216, 240, 0.25);
    white-space: nowrap;
}

.footer-description {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(255, 249, 235, 0.9);
    margin-bottom: 24px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.footer-social-icon:hover { transform: translateY(-4px) scale(1.1); }
.footer-social-icon.facebook:hover  { background: #D97706; border-color: #D97706; box-shadow: 0 6px 16px rgba(217,119,6,0.4); }
.footer-social-icon.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; box-shadow: 0 6px 16px rgba(220,39,67,0.4); }
.footer-social-icon.linkedin:hover  { background: #C2410C; border-color: #C2410C; box-shadow: 0 6px 16px rgba(194,65,12,0.4); }
.footer-social-icon.youtube:hover   { background: #ff0000; border-color: #ff0000; box-shadow: 0 6px 16px rgba(255,0,0,0.4); }
.footer-social-icon.whatsapp:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 6px 16px rgba(37,211,102,0.4); }

/* Column headings */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3D1810;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4 i {
    color: #c8963e;
    font-size: 0.9rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #c8963e, transparent);
    border-radius: 2px;
}

/* Links */
.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #78350F;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, gap 0.25s ease;
}

.footer-links a i {
    font-size: 0.65rem;
    color: rgba(200,150,62,0.6);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #e8b84b;
    gap: 12px;
}

.footer-links a:hover i {
    color: #e8b84b;
}

/* TeacherOn Section */
.teacheron-badge {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.teacheron-badge:hover {
    transform: scale(1.05);
}

.teacheron-badge img {
    width: 250px; /* Increased size properly via CSS */
    max-width: 100%;
    height: auto;
    display: block;
}

.teacheron-description {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #78350F;
    text-align: justify;
}

/* Contact list */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #78350F;
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(200,150,62,0.12);
    border: 1px solid rgba(200,150,62,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #c8963e;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-contact-icon.whatsapp {
    background: rgba(37,211,102,0.1);
    border-color: rgba(37,211,102,0.25);
    color: #25D366;
}

.footer-contact li:hover .footer-contact-icon {
    background: rgba(200,150,62,0.22);
    transform: scale(1.1);
}

.footer-contact a,
.footer-contact span {
    color: #78350F;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #e8b84b;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.12);
    position: relative;
    z-index: 1;
}

.footer-copy {
    font-size: 0.85rem;
    color: #78350F;
    margin: 0;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #78350F;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.footer-tagline i {
    color: #e05555;
    animation: heartBounce 2s ease-in-out infinite;
}

/* Floating Buttons*/
/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

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

/* Modal*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #78350F;
    cursor: pointer;
    transition: var(--transition-normal);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-logo {
    text-align: center;
    margin-bottom: 25px;
}

.modal-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    padding: 5px;
    background: #000;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
}

.modal-content h2 {
    font-size: 1.85rem;
    color: #1C0A00;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.3;
}

.modal-content p {
    color: #D97706;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1rem;
}

.modal-form {
    margin-top: 20px;
}

/* Success Modal */
.success-content {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Auto Popup Modal Styles*/
.auto-popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
    animation: popupSlideIn 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
    overflow: hidden;
    padding: 5px;
    border: 3px solid var(--accent-color);
}

.popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.popup-header h2 {
    font-size: 1.85rem;
    color: #1C0A00;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.popup-header p {
    font-size: 1rem;
    color: #D97706;
    line-height: 1.6;
}

.auto-popup-content .modal-form {
    margin-top: 0;
}

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

.auto-popup-content .form-group label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: block;
}

/* Responsive adjustments for auto popup */
@media (max-width: 640px) {
    /* Container */
    .container {
        padding: 0 18px;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 7px 0;
    }
    
    .top-bar-content {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: space-between;
        align-items: center;
    }
    
    .top-bar-left {
        gap: 4px;
        flex-wrap: nowrap;
        width: auto;
    }
    
    .top-bar-right {
        width: auto;
        flex-shrink: 0;
    }
    
    .top-bar-link {
        font-size: 0;
        padding: 7px 9px;
        min-height: 36px;
        gap: 0;
        border-radius: 8px;
        background: rgba(255,255,255,0.07);
    }
    
    .top-bar-text {
        display: none;
    }
    
    .top-bar-icon {
        font-size: 1rem !important;
    }
    
    .btn-enquiry {
        padding: 8px 14px;
        font-size: 0.82rem;
        min-height: 36px;
    }
    
    .btn-enquiry span {
        display: inline;
    }
    
    .search-toggle-btn {
        padding: 7px 10px;
        min-height: 36px;
    }
    
    /* Hero Mobile */
    .hero {
        height: 70vh;
        min-height: 460px;
        padding: 0;
    }
    
    .hero-content {
        padding: 55px 0 90px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 16px;
        letter-spacing: -0.8px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
        min-height: 48px;
        letter-spacing: 0.3px;
    }
    
    .hero-buttons .btn i {
        margin-right: 8px;
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        top: auto;
        bottom: 60px;
        transform: none;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 22px;
        padding: 10px 16px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .search-box input {
        padding: 12px 90px 12px 14px;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .search-submit-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .search-submit-btn span {
        display: none;
    }
    
    /* Popup Responsive */
    .auto-popup-content {
        max-width: 95%;
        padding: 30px 20px;
    }
    
    .popup-header h2 {
        font-size: 1.6rem;
    }
    
    .popup-header p {
        font-size: 0.95rem;
    }
    
    .popup-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* Video Section Mobile */
    .tutorial-video-section {
        margin-top: 40px;
        padding: 35px 20px;
        border-radius: 20px;
    }
    
    .decoration-circle-1 {
        width: 120px;
        height: 120px;
        top: -50px;
        right: -50px;
    }
    
    .decoration-circle-2 {
        width: 150px;
        height: 150px;
        bottom: -60px;
        left: -60px;
    }
    
    .video-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-bottom: 15px;
    }
    
    .video-badge i {
        font-size: 1.1rem;
    }
    
    .video-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .video-subtitle {
        font-size: 0.95rem;
    }
    
    .video-header {
        margin-bottom: 35px;
    }
    
    .video-stats {
        gap: 15px;
        margin-top: 25px;
    }
    
    .video-stat {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
        text-align: center;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .stat-content h4 {
        font-size: 1.4rem;
    }
    
    .stat-content p {
        font-size: 0.75rem;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-corner-badge {
        top: 15px;
        right: 15px;
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    
    .play-button-large {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .video-features {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .video-feature {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .video-feature:hover {
        transform: translateY(-5px);
    }
    
    .video-feature-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .video-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .video-feature-content h4 {
        font-size: 1.1rem;
    }
    
    .video-feature-content p {
        font-size: 0.9rem;
    }
    
    .courses-grid {
        gap: 25px;
    }
    
    .course-card {
        border-radius: 15px;
    }
    
    .course-image {
        height: 200px;
    }
    
    .course-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: 15px;
        left: 15px;
    }
    
    .course-icon-overlay {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        left: 15px;
    }
    
    .course-meta {
        gap: 8px;
    }
    
    .course-level,
    .course-duration {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .course-features li {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    /* About Section Mobile */
    .about-content {
        gap: 35px;
    }
    
    .about-image img {
        height: 220px;
    }
    
    .about-badge {
        padding: 15px 18px;
        bottom: 20px;
        right: 20px;
    }
    
    .badge-content h3 {
        font-size: 2rem;
    }
    
    .badge-content p {
        font-size: 0.85rem;
    }
    
    .about-text-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .about-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about-text-header h3 {
        font-size: 1.6rem;
    }
    
    .about-description {
        padding: 18px;
    }
    
    .about-description p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 14px;
    }
    
    .feature-item-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .feature-item-content h4 {
        font-size: 1rem;
    }
    
    .feature-item-content p {
        font-size: 0.85rem;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Testimonials Mobile */
    .testimonial-orb-1 { width: 200px; height: 200px; top: -50px; right: -40px; }
    .testimonial-orb-2 { width: 160px; height: 160px; bottom: -40px; left: -30px; }
    .testimonial-section-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 16px; }
    .testimonials-slider { padding: 12px 42px 44px; }
    .testimonial-card { padding: 30px 20px 28px; border-radius: 18px; }
    .quote-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 15px; }
    .testimonial-stars { gap: 5px; margin-bottom: 16px; }
    .testimonial-stars i { font-size: 0.95rem; }
    .testimonial-text { font-size: 0.95rem; margin-bottom: 22px; line-height: 1.75; }
    .testimonial-author { gap: 12px; }
    .author-avatar { width: 42px; height: 42px; font-size: 0.88rem; }
    .author-info h4 { font-size: 0.95rem; }
    .author-info p { font-size: 0.8rem; }
    .verified-badge { font-size: 0.72rem; padding: 4px 9px; margin-left: 0; }
    .testimonial-nav { width: 38px; height: 38px; font-size: 0.85rem; }
    .testimonial-nav.prev { left: 2px; }
    .testimonial-nav.next { right: 2px; }
    .testimonial-dots .dot.active { width: 22px; }

    /* Join Team Mobile */
    .join-team { padding: 70px 0; }
    .join-team-text h2 { font-size: 2rem; }
    .join-team-text p { font-size: 1rem; }
    .join-team-perks { grid-template-columns: 1fr 1fr; gap: 10px; }
    .perk-item { font-size: 0.86rem; padding: 10px 13px; }
    .join-team-card { padding: 36px 26px; }
    .join-card-icon { width: 68px; height: 68px; font-size: 1.7rem; }
    .join-team-card h3 { font-size: 1.4rem; }

    /* Contact Mobile */
    .contact-section-icon { width: 58px; height: 58px; font-size: 1.5rem; }
    .contact-info { padding: 32px 24px; }
    .contact-info h3 { font-size: 1.45rem; }
    .contact-form-wrapper { padding: 28px 22px; }
    .form-header { gap: 14px; margin-bottom: 24px; }
    .form-header-icon { width: 46px; height: 46px; font-size: 1.2rem; }
    .form-header h3 { font-size: 1.3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Global Reach Mobile */
    .global-reach::before {
        width: 250px;
        height: 250px;
        top: -80px;
        right: -60px;
    }
    .global-reach::after {
        width: 200px;
        height: 200px;
        bottom: -80px;
        left: -50px;
    }
    .global-cities h3,
    .global-achievements h3 {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }
    .cities-grid,
    .global-students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .city-item {
        padding: 24px 26px;
    }
    .city-item i {
        font-size: 1.55rem;
    }
    .city-item span {
        font-size: 1.08rem;
    }
    .global-student-card {
        padding: 18px 12px;
        border-radius: 15px;
    }
    .global-grade {
        font-size: 1.1rem;
        padding: 6px 14px;
        margin-bottom: 8px;
    }
    .global-student-card h4 {
        font-size: 0.88rem;
    }

    /* Achievements Mobile */
    .achievement-section-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 18px;
    }
    
    .achievement-stats {
        gap: 20px;
        margin: 35px 0;
        flex-direction: column;
    }
    
    .achievement-stat-item {
        padding: 18px 25px;
        width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .achievement-card {
        padding: 42px 22px 52px;
    }
    
    .achievement-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .achievement-rank {
        font-size: 0.68rem;
        padding: 6px 12px;
        top: 14px;
        right: 14px;
    }
    
    .achievement-icon {
        font-size: 3rem;
        margin: 15px 0;
    }
    
    .achievement-grade {
        font-size: 1.6rem;
        padding: 10px 24px;
        margin: 12px 0;
    }
    
    .student-name {
        font-size: 1.2rem;
        margin: 15px 0 8px;
    }
    
    .student-school {
        font-size: 0.88rem;
    }
    
    .achievement-year {
        bottom: 12px;
        font-size: 0.75rem;
        padding: 5px 14px;
    }
}

/* Responsive Design - Tablet (768px)*/
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Typography */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 460px;
    }
    
    .hero-content {
        padding: 55px 0 55px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.25;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 26px;
    }
    
    .hero-buttons {
        gap: 16px;
        margin-top: 12px;
    }
    
    .hero-buttons .btn {
        padding: 14px 30px;
        font-size: 0.98rem;
        min-height: 48px;
    }
    
    /* Slider Controls */
    .slider-nav {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 30px;
        padding: 12px 22px;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .scroll-indicator {
        bottom: 120px;
        transform: translateX(-50%) scale(0.9);
    }
    
    /* Grid Layouts */
    .courses-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-card {
        padding: 32px 28px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .feature-description {
        font-size: 0.92rem;
    }
    
    /* Video Section Responsive */
    .tutorial-video-section {
        margin-top: 50px;
        padding: 40px 25px;
    }
    
    .decoration-circle-1 {
        width: 150px;
        height: 150px;
        top: -60px;
        right: -60px;
    }
    
    .decoration-circle-2 {
        width: 180px;
        height: 180px;
        bottom: -80px;
        left: -80px;
    }
    
    .video-badge {
        font-size: 0.85rem;
        padding: 9px 18px;
        margin-bottom: 18px;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .video-stats {
        gap: 20px;
        margin-top: 30px;
    }
    
    .video-stat {
        padding: 16px 22px;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .stat-content h4 {
        font-size: 1.6rem;
    }
    
    .stat-content p {
        font-size: 0.8rem;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .video-corner-badge {
        top: 18px;
        right: 18px;
        font-size: 0.75rem;
        padding: 7px 16px;
    }
    
    .play-button-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .video-features {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-feature {
        padding: 20px;
        flex-direction: row;
        text-align: left;
    }
    
    .video-feature-number {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    
    .video-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .video-feature-content h4 {
        font-size: 1.1rem;
    }
    
    .video-feature-content p {
        font-size: 0.88rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 240px;
    }
    
    .about-text-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .about-text-header h3 {
        font-size: 1.8rem;
    }
    
    .about-description {
        padding: 20px;
    }
    
    .about-description p {
        font-size: 1rem;
    }
    
    .about-badge {
        padding: 18px 22px;
    }
    
    .badge-content h3 {
        font-size: 2.3rem;
    }
    
    /* Achievements Tablet */
    .achievement-section-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
        margin-bottom: 22px;
    }
    
    .achievement-stats {
        gap: 35px;
        margin: 45px 0;
    }
    
    .achievement-stat-item {
        padding: 22px 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .achievement-card {
        padding: 45px 28px 55px;
    }
    
    .achievement-rank {
        font-size: 0.72rem;
        padding: 7px 14px;
        top: 15px;
        right: 15px;
    }
    
    .achievement-icon {
        font-size: 3.2rem;
    }
    
    .achievement-grade {
        font-size: 1.7rem;
        padding: 11px 26px;
    }
    
    .student-name {
        font-size: 1.25rem;
    }
    
    .student-school {
        font-size: 0.9rem;
    }
}

/* Responsive Design - Mobile First*/
@media (max-width: 968px) {
    /* Container */
    .container {
        padding: 0 25px;
    }
    
    /* Top Bar Responsive */
    .top-bar-left {
        gap: 6px;
    }
    
    .top-bar-text {
        font-size: 0.85rem;
    }
    
    .btn-enquiry {
        min-height: 44px;
    }
    
    .btn-enquiry span {
        display: inline;
    }
    
    .search-box input {
        padding: 12px 110px 12px 14px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .search-submit-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    /* Typography */
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        letter-spacing: -1.2px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px 18px 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu-brand {
        font-family: var(--font-brand);
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--brand-word-color);
        letter-spacing: 2px;
    }
    
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    
    .nav-close-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: rotate(90deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background: linear-gradient(160deg, var(--primary-color) 0%, #7b3a1a 60%, var(--secondary-color) 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        padding-top: 0;
        box-shadow: none;
        transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
        z-index: 999;
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
    
    .nav-link {
        padding: 18px 32px;
        width: 100%;
        color: rgba(255, 255, 255, 0.88) !important;
        font-size: 1.1rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        gap: 12px;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
        letter-spacing: 0.02em;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
        padding-left: 42px;
        transform: none;
    }
    
    .nav-link.active {
        border-left: 4px solid var(--accent-color);
        color: var(--accent-color) !important;
        background: rgba(200, 150, 62, 0.12);
        padding-left: 28px;
    }
    
    .nav-link.active:hover {
        padding-left: 42px;
    }
    
    /* Hero */
    .hero {
        height: 75vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 60px 0 60px 0;
        max-width: 100%;
    }
    
    .hero-buttons {
        gap: 18px;
        margin-top: 14px;
    }
    
    .hero-buttons .btn {
        padding: 14px 32px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .slider-nav {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }
    
    .slider-nav.prev {
        left: 25px;
    }
    
    .slider-nav.next {
        right: 25px;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .about-image img {
        height: 260px;
    }
    
    .about-text-header h3 {
        font-size: 2rem;
    }
    
    .about-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 16px;
    }
    
    .feature-item-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .about-description {
        padding: 22px;
    }
    
    /* Courses */
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .feature-icon {
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
        margin-bottom: 22px;
    }
    
    .feature-title {
        font-size: 1.15rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    /* Achievements */
    .achievement-section-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .achievement-stats {
        gap: 30px;
        margin: 40px 0;
    }
    
    .achievement-stat-item {
        padding: 20px 28px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 28px;
    }
    
    .achievement-card {
        padding: 30px 25px;
    }
    
    .achievement-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .achievement-rank {
        font-size: 0.7rem;
        padding: 7px 15px;
        top: -8px;
        right: 15px;
    }
    
    .achievement-icon {
        font-size: 3rem;
        margin: 18px 0;
    }
    
    .achievement-grade {
        font-size: 1.6rem;
        padding: 10px 24px;
    }
    
    .student-name {
        font-size: 1.2rem;
        margin: 15px 0 8px;
    }
    
    .student-school {
        font-size: 0.88rem;
    }
    
    /* Global Reach */
    .global-reach::before {
        width: 350px;
        height: 350px;
        top: -120px;
        right: -80px;
    }
    
    .global-reach::after {
        width: 280px;
        height: 280px;
        bottom: -100px;
        left: -60px;
    }
    
    .global-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .global-cities h3,
    .global-achievements h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .cities-grid,
    .global-students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .city-item {
        padding: 26px 28px;
    }
    
    .city-item span {
        font-size: 1.1rem;
    }
    
    .global-student-card {
        padding: 20px 14px;
    }
    
    .global-grade {
        font-size: 1.2rem;
        padding: 7px 16px;
        margin-bottom: 10px;
    }
    
    .global-student-card h4 {
        font-size: 0.95rem;
    }
    
    /* Testimonials */
    .testimonial-orb-1 { width: 260px; height: 260px; top: -60px; right: -50px; }
    .testimonial-orb-2 { width: 200px; height: 200px; bottom: -50px; left: -40px; }
    .testimonial-section-icon { width: 62px; height: 62px; font-size: 1.7rem; }
    .testimonials-slider { padding: 15px 50px 50px; }
    .testimonial-card { padding: 36px 28px 32px; }
    .quote-icon { width: 54px; height: 54px; font-size: 1.3rem; margin-bottom: 18px; }
    .testimonial-stars i { font-size: 1rem; }
    .testimonial-text { font-size: 1rem; margin-bottom: 26px; }
    .author-avatar { width: 46px; height: 46px; font-size: 0.92rem; }
    .author-info h4 { font-size: 1rem; }
    .author-info p { font-size: 0.82rem; }
    .verified-badge { font-size: 0.74rem; padding: 4px 10px; }
    .testimonial-nav { width: 42px; height: 42px; font-size: 0.9rem; }

    /* Join Team */
    .join-team-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .join-team-perks {
        grid-template-columns: 1fr 1fr;
        justify-items: start;
    }
    .join-team-badge { margin: 0 auto 20px; }
    .join-team-card { max-width: 100%; }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 32px 28px;
    }
    
    /* Footer */
    .footer-stats { gap: 10px; }
    .footer-stat { padding: 0 20px; }
    .footer-stat-num { font-size: 1.45rem; }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 50px 0 36px;
    }
    .footer-brand-col { grid-column: 1 / -1; order: 5; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
    
    /* Floating Buttons */
    .whatsapp-float {
        bottom: 70px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .scroll-top {
        bottom: 15px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    /* Typography */
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
        letter-spacing: -0.8px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }
    
    /* Top Bar */
    .top-bar-content {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
    }
    
    .top-bar-left {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        width: auto;
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    /* Cards */
    .feature-card,
    .course-card {
        padding: 25px;
    }
    
    .feature-card {
        border-radius: 18px;
    }
    
    .feature-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 0.88rem;
        line-height: 1.65;
    }
    
    /* Modal */
    .modal-content {
        padding: 24px 18px;
        margin: 15px;
        width: 92%;
    }
    
    .auto-popup-content {
        padding: 28px 20px;
        width: 92%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .modal-content p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    /* Form */
    .contact-form {
        padding: 25px 20px;
    }
    
    .modal-form .form-group {
        margin-bottom: 14px;
    }
    
    .modal-form input,
    .modal-form select,
    .modal-form textarea {
        font-size: 15px;
        padding: 11px 14px;
    }
    
    .modal-form label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    /* Footer 640px */
    .footer-stats { flex-wrap: wrap; gap: 12px 0; }
    .footer-stat { padding: 8px 18px; }
    .footer-stat-num { font-size: 1.3rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
    .footer-brand-col { grid-column: 1 / -1; order: 5; }
    .footer-social-icon { width: 34px; height: 34px; font-size: 0.9rem; }

    /* Touch Targets - Ensure minimum 44px for accessibility */
    button,
    .btn,
    a.btn {
        min-height: 44px;
    }
    
    /* Grid Layouts */
    .courses-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    /* Typography - Extra Small */
    .hero-title {
        font-size: 1.55rem;
        line-height: 1.35;
        margin-bottom: 14px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 20px;
        line-height: 1.55;
    }
    
    .hero-buttons {
        gap: 10px;
        margin-top: 18px;
    }
    
    .hero-buttons .btn {
        padding: 13px 18px;
        font-size: 0.92rem;
        min-height: 46px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Hero Extra Small */
    .hero {
        height: 65vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 45px 0 85px 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 8px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 120px;
        padding: 11px 12px;
        font-size: 0.80rem;
        justify-content: center;
        text-align: center;
        min-height: 42px;
    }
    
    /* Slider Controls Extra Small */
    .slider-nav {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        top: auto;
        bottom: 55px;
        transform: none;
    }
    
    .slider-nav.prev {
        left: 8px;
    }
    
    .slider-nav.next {
        right: 8px;
    }
    
    .slider-dots {
        bottom: 18px;
        padding: 8px 14px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Container Extra Small */
    .container {
        padding: 0 15px;
    }
    
    /* Sections Extra Small */
    section {
        padding: 40px 0;
    }
    
    /* Cards Extra Small */
    .feature-card,
    .course-card {
        padding: 20px;
    }
    
    .feature-card {
        border-radius: 15px;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .feature-card:hover .feature-icon {
        transform: rotateY(360deg) scale(1.1);
    }
    
    .feature-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.86rem;
        line-height: 1.6;
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 12px;
        left: 12px;
    }
    
    .course-icon-overlay {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 12px;
        left: 12px;
    }
    
    .course-badge {
        padding: 6px 14px;
        font-size: 0.75rem;
        top: 12px;
        right: 12px;
    }
    
    .section-header-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .course-title {
        font-size: 1.25rem;
    }
    
    .course-meta {
        gap: 6px;
        margin-bottom: 15px;
    }
    
    .course-level,
    .course-duration {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .course-features li {
        font-size: 0.8rem;
        padding: 7px 0;
    }
    
    .course-features li i {
        font-size: 0.9rem;
    }
    
    /* Video Section Extra Small */
    .tutorial-video-section {
        margin-top: 30px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .decoration-circle-1 {
        width: 100px;
        height: 100px;
        top: -40px;
        right: -40px;
    }
    
    .decoration-circle-2 {
        width: 120px;
        height: 120px;
        bottom: -50px;
        left: -50px;
    }
    
    .video-badge {
        font-size: 0.75rem;
        padding: 7px 14px;
        margin-bottom: 12px;
    }
    
    .video-badge i {
        font-size: 1rem;
    }
    
    .video-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .video-subtitle {
        font-size: 0.88rem;
    }
    
    .video-header {
        margin-bottom: 30px;
    }
    
    .video-stats {
        gap: 12px;
        margin-top: 20px;
    }
    
    .video-stat {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-content h4 {
        font-size: 1.2rem;
    }
    
    .stat-content p {
        font-size: 0.7rem;
    }
    
    .video-corner-badge {
        top: 12px;
        right: 12px;
        font-size: 0.65rem;
        padding: 5px 12px;
    }
    
    .play-button-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .video-feature {
        padding: 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .video-feature-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .video-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .video-feature-content h4 {
        font-size: 1rem;
    }
    
    .video-feature-content p {
        font-size: 0.85rem;
    }
    
    /* About Section Extra Small */
    .about-content {
        gap: 30px;
    }
    
    .about-image img {
        height: 200px;
    }
    
    .about-badge {
        padding: 12px 15px;
        bottom: 15px;
        right: 15px;
        border-radius: 12px;
    }
    
    .badge-content h3 {
        font-size: 1.8rem;
    }
    
    .badge-content p {
        font-size: 0.8rem;
    }
    
    .about-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .about-text-header h3 {
        font-size: 1.4rem;
    }
    
    .about-description {
        padding: 15px;
    }
    
    .about-description p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .about-features {
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .feature-item-content h4 {
        font-size: 0.95rem;
    }
    
    .feature-item-content p {
        font-size: 0.8rem;
    }

    /* Testimonials Extra Small */
    .testimonial-orb-1, .testimonial-orb-2 { display: none; }
    .testimonial-section-icon { width: 50px; height: 50px; font-size: 1.3rem; }
    .testimonials-slider { padding: 10px 36px 38px; }
    .testimonial-card { padding: 26px 16px 24px; border-radius: 16px; }
    .quote-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 12px; }
    .testimonial-stars i { font-size: 0.88rem; }
    .testimonial-text { font-size: 0.9rem; margin-bottom: 18px; }
    .author-avatar { width: 38px; height: 38px; font-size: 0.82rem; }
    .author-info h4 { font-size: 0.9rem; }
    .verified-badge { display: none; }
    .testimonial-nav { width: 34px; height: 34px; font-size: 0.8rem; }
    .testimonial-dots .dot { width: 8px; height: 8px; }
    .testimonial-dots .dot.active { width: 18px; }

    /* Join Team Extra Small */
    .join-team { padding: 55px 0; }
    .join-team-text h2 { font-size: 1.7rem; }
    .join-team-perks { grid-template-columns: 1fr; gap: 8px; }
    .perk-item { font-size: 0.83rem; padding: 9px 12px; }
    .join-team-card { padding: 28px 20px; border-radius: 20px; }
    .join-card-icon { width: 58px; height: 58px; font-size: 1.45rem; }
    .join-team-card h3 { font-size: 1.25rem; }
    .btn-gold { padding: 13px 28px; font-size: 0.97rem; }

    /* Contact Extra Small */
    .contact-section-icon { width: 52px; height: 52px; font-size: 1.3rem; }
    .contact-info { padding: 26px 18px; border-radius: 18px; }
    .contact-info h3 { font-size: 1.25rem; }
    .contact-icon { width: 65px; height: 65px; font-size: 1.5rem; border-radius: 16px; }
    .contact-details a, .contact-details p { font-size: 0.92rem; }
    .contact-form-wrapper { padding: 22px 16px; border-radius: 18px; }
    .form-header-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 12px; }
    .form-header h3 { font-size: 1.15rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 1rem; }

    /* Global Reach Extra Small */
    .global-reach::before,
    .global-reach::after {
        display: none;
    }
    .global-cities h3,
    .global-achievements h3 {
        font-size: 1.05rem;
    }
    .cities-grid,
    .global-students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .city-item {
        padding: 18px 20px;
        border-radius: 11px;
    }
    .city-item i {
        font-size: 1.35rem;
    }
    .city-item span {
        font-size: 1rem;
    }
    .global-student-card {
        padding: 15px 10px;
        border-radius: 14px;
    }
    .global-grade {
        font-size: 1rem;
        padding: 5px 12px;
        letter-spacing: 1px;
    }
    .global-student-card h4 {
        font-size: 0.83rem;
    }

    /* Achievements Extra Small */
    .achievement-section-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .achievement-stats {
        gap: 15px;
        margin: 30px 0;
        flex-direction: column;
    }
    
    .achievement-stat-item {
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 40px 18px 50px;
        border-radius: 20px;
    }
    
    .achievement-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .achievement-rank {
        font-size: 0.62rem;
        padding: 5px 11px;
        top: 12px;
        right: 12px;
    }
    
    .achievement-icon {
        font-size: 2.8rem;
        margin: 12px 0;
    }
    
    .achievement-grade {
        font-size: 1.5rem;
        padding: 9px 22px;
        margin: 10px 0;
    }
    
    .student-name {
        font-size: 1.1rem;
        margin: 12px 0 8px;
    }
    
    .student-school {
        font-size: 0.85rem;
    }
    
    .student-school i {
        font-size: 0.75rem;
    }
    
    .achievement-year {
        bottom: 10px;
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .decoration-star {
        opacity: 0.1;
    }
    
    .star-1 {
        font-size: 1rem;
        top: 12px;
        left: 12px;
    }
    
    .star-2 {
        font-size: 0.85rem;
        top: 15px;
        right: 15px;
    }
    
    .star-3 {
        font-size: 0.75rem;
        bottom: 15px;
        left: 18px;
    }
    
    /* Top Bar Extra Small */
    .top-bar-link {
        font-size: 0.75rem;
        padding: 5px 8px;
        min-height: 34px;
    }

    /* Footer Extra Small */
    .footer-top-bar { padding: 16px 0; }
    .footer-stats { gap: 8px 0; }
    .footer-stat { padding: 6px 12px; }
    .footer-stat-num { font-size: 1.15rem; }
    .footer-stat-divider { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 20px; }
    .footer-brand-col { order: 5; }
    .footer-logo-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .footer-logo h3 { font-size: 1.25rem; }
    .footer-col h4 { font-size: 0.92rem; }
    .footer-links a { font-size: 0.85rem; }
    .footer-contact li { font-size: 0.85rem; }
    .footer-bottom { padding: 16px 0; }
    .footer-copy, .footer-tagline { font-size: 0.78rem; }
    
    /* Floating Buttons Extra Small */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 65px;
        right: 12px;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 12px;
        right: 12px;
    }
}

/* Global Responsive Images & Media */
@media (max-width: 968px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-bg {
        background-position: center;
        background-size: cover;
    }
    
    /* Ensure text is readable on all devices */
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS FIX
   ═══════════════════════════════════════════════════════════════ */

/* 1. Prevent iOS Safari zoom-in on input focus (requires font-size >= 16px) */
@media (max-width: 968px) {
    input, select, textarea {
        font-size: 1rem !important;
    }
}

/* 2. Touch optimisation — remove 300ms tap delay, remove blue flash */
@media (max-width: 968px) {
    button,
    .btn,
    a.btn,
    .nav-link,
    .social-icon,
    .footer-social-icon,
    .slider-nav,
    .testimonial-nav,
    .dot,
    .whatsapp-float,
    a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* 3. Hero — reduce height on mobile */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 460px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
        min-height: 400px;
    }
    .hero-content {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

/* 4. Navigation menu — dynamic top set by JS; fallback here */
@media (max-width: 968px) {
    .nav-menu {
        top: 80px;
        height: calc(100dvh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

    /* Top Bar — extra small */
    .top-bar-left {
        gap: 2px;
    }
    .top-bar-link {
        padding: 6px 8px;
        min-height: 34px;
    }
    .top-bar-icon {
        font-size: 0.95rem !important;
    }
    .btn-enquiry {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .btn-enquiry span {
        display: none;
    }
    .btn-enquiry i {
        margin: 0;
        font-size: 1rem;
    }

/* 6. Modals — slide up from bottom on small screens */
@media (max-width: 575px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }
    .modal-content {
        width: 100%;
        max-width: 100% !important;
        margin: 0;
        padding: 28px 20px 32px;
        border-radius: 24px 24px 0 0;
        max-height: 92dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .auto-popup-content {
        width: 100%;
        max-width: 100% !important;
        padding: 32px 22px 36px;
        border-radius: 24px 24px 0 0;
        max-height: 92dvh;
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .popup-header h2 {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    
    .popup-header p {
        font-size: 0.88rem;
    }
    
    .modal-form input,
    .modal-form select,
    .modal-form textarea {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .modal-form .btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    .success-content {
        border-radius: 24px 24px 0 0;
    }
}

/* 7. Section words — prevent very long words from causing overflow */
@media (max-width: 640px) {
    .hero-title,
    .section-title,
    .course-title,
    .feature-title,
    .student-name,
    h1, h2, h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* 8. Fix contact form row on all mobile */
@media (max-width: 640px) {
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
}

/* 9. Footer stats — wrap on very small screens */
@media (max-width: 400px) {
    .footer-top-bar .footer-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px 0;
    }
    .footer-stat-divider { display: none; }
    .footer-stat {
        padding: 8px 10px;
        text-align: center;
    }
}

/* 10. Testimonials slider width guard */
@media (max-width: 360px) {
    .testimonials-slider {
        padding-left: 30px;
        padding-right: 30px;
    }
    .testimonial-nav.prev { left: 0; }
    .testimonial-nav.next { right: 0; }
}

/* 11. Course buttons on very small screens */
@media (max-width: 360px) {
    .course-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .course-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 12. Ensure no horizontal overflow from any element */
@media (max-width: 768px) {
    .about,
    .courses,
    .why-choose,
    .achievements,
    .global-reach,
    .testimonials,
    .join-team,
    .contact,
    .footer {
        max-width: 100vw;
        overflow-x: hidden;
    }
    img,
    video,
    iframe {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════ */

/* Print Styles*/
@media print {
    .top-bar,
    .navbar,
    .whatsapp-float,
    .scroll-top,
    .modal,
    .slider-nav,
    .slider-dots {
        display: none !important;
    }
}

/* Accessibility*/
/* Focus Styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
