/* ===================================
   SaberVirtual - Main Stylesheet
   =================================== */

/* CSS Variables - Light Mode (default) */
:root {
    --primary-blue: #00bcd4;
    --primary-blue-dark: #0097a7;
    --primary-blue-light: #b2ebf2;
    --accent-yellow: #ffc107;
    --accent-yellow-light: #fff8e1;
    --accent-pink: #e91e63;
    --accent-purple: #9c27b0;
    --accent-orange: #ff5722;
    --accent-green: #8bc34a;
    --accent-teal: #009688;
    --gradient-1: linear-gradient(135deg, #00bcd4, #9c27b0);
    --gradient-2: linear-gradient(135deg, #ff5722, #ffc107);
    --gradient-3: linear-gradient(135deg, #e91e63, #9c27b0);
    --gradient-4: linear-gradient(135deg, #8bc34a, #00bcd4);
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f5f9fc;
    --bg-white: #fff;
    --bg-card: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 40px rgba(0, 188, 212, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --header-bg: #fff;
    --divider-color: #ffffff;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-dark: #e8e8e8;
    --text-gray: #b0b0b0;
    --text-light: #888;
    --bg-light: #1a1a2e;
    --bg-white: #0f0f1a;
    --bg-card: #1a1a2e;
    --header-bg: rgba(15, 15, 26, 0.95);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-colored: 0 10px 40px rgba(0, 188, 212, 0.2);
    --divider-color: #0f0f1a;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f5f9fc;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Prevent any horizontal overflow */
html, body {
    overscroll-behavior-x: none;
}

.main-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    margin: 0 auto;
    overflow: visible;
    transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                right 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled/Liquid header state */
.header.scrolled {
    top: 20px;
    left: calc(50% - 500px);
    right: calc(50% - 500px);
    max-width: 1000px;
    padding: 12px 40px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(255, 255, 255, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 15, 26, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header.scrolled .logo img {
    height: 38px;
    transition: height 0.6s ease-out;
}

.header.scrolled .nav-list {
    gap: 28px;
}

.header.scrolled .nav-list a {
    font-size: 0.95rem;
    transition: font-size 0.6s ease-out;
}

.header.scrolled .lang-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    transition: all 0.6s ease-out;
}

.header.scrolled .theme-toggle {
    width: 38px;
    height: 38px;
    transition: all 0.6s ease-out;
}

.header.scrolled .social-links a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    transition: all 0.6s ease-out;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: height 0.6s ease-out;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-list {
    display: flex;
    gap: 30px;
    transition: gap 0.6s ease-out;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-gray);
    padding: 5px 0;
    position: relative;
    transition: font-size 0.6s ease-out, color var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.4s ease, border-color var(--transition), color var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-gray);
}

.lang-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.theme-toggle:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

/* Light mode explicit */
[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-moon {
    display: block;
}

/* Dark mode */
[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle {
    background: #2a2a4a;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-yellow);
}

[data-theme="dark"] .header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .lang-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-gray);
}

[data-theme="dark"] .logo img {
    filter: brightness(1.1);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    font-size: 14px;
    transition: all 0.4s ease;
}

.social-links a:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

/* Contact Links (Phone & WhatsApp in header) */
.contact-links {
    display: flex;
    gap: 8px;
    margin-right: 10px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-link.phone-link {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.contact-link.whatsapp-link {
    background: #25D366;
}

.contact-link:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.contact-link.phone-link:hover {
    background: linear-gradient(135deg, #0097a7, #00838f);
}

.contact-link.whatsapp-link:hover {
    background: #1ebe5d;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section - Unique Design
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 120px;
    overflow: hidden;
    background: #0a1628;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Animated gradient mesh background */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(233, 30, 99, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(156, 39, 176, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 60% 60%, rgba(255, 193, 7, 0.2) 0%, transparent 35%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, -5%) rotate(5deg); }
    50% { transform: translate(-5%, 5%) rotate(-5deg); }
    75% { transform: translate(3%, 3%) rotate(3deg); }
}

/* Floating geometric shapes */
.hero-shape {
    position: absolute;
    opacity: 0.6;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(0, 188, 212, 0.05));
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatRotate 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(233, 30, 99, 0.05));
    border: 2px solid rgba(233, 30, 99, 0.3);
    border-radius: 50%;
    animation: floatRotate 12s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.4);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatRotate 10s ease-in-out infinite;
}

.hero-shape-4 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 15%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.05));
    border: 2px solid rgba(156, 39, 176, 0.3);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: floatRotate 18s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Grid lines overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 188, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.hero-slide-inner.hero-slide-ofertas {
    flex-direction: row;
}

/* Hero Image Section */
.hero-image {
    flex: 1 1 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-width: 50%;
}

.hero-image-left {
    order: -1;
}

.hero-robot,
.hero-backpack {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Hero Decorations */
.hero-deco {
    position: absolute;
    z-index: 1;
}

.hero-deco-rocket {
    top: 10%;
    left: 0;
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
    animation: floatRotate 10s ease-in-out infinite;
}

.hero-deco-creativity {
    top: 5%;
    right: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(0, 188, 212, 0.4);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    animation: pulse 3s ease-in-out infinite;
}

.hero-deco-arts {
    bottom: 15%;
    left: 5%;
    color: rgba(255, 193, 7, 0.3);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    animation: wiggle 4s ease-in-out infinite;
}

/* Hero Text Variants */
.hero-text-right {
    flex: 1;
    text-align: left;
    position: relative;
}

.hero-text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Ofertas List */
.hero-ofertas-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.hero-ofertas-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 10px 0;
}

.hero-ofertas-list li i {
    color: var(--accent-pink);
    font-size: 1.2rem;
}

/* Highlight Pink */
.highlight-pink {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 800;
}

/* Hero Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: blobMorph 8s ease-in-out infinite;
}

.hero-blob-yellow {
    width: 200px;
    height: 150px;
    background: var(--accent-yellow);
    top: -30px;
    right: 20%;
    z-index: -1;
}

.hero-blob-pink {
    width: 80px;
    height: 100px;
    background: var(--accent-pink);
    bottom: 10%;
    right: 5%;
    z-index: -1;
}

.hero-blob-purple {
    width: 120px;
    height: 100px;
    background: var(--accent-purple);
    top: 0;
    right: -5%;
    z-index: -1;
    opacity: 0.8;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        transform: translateY(0) rotate(0deg);
    }
    33% {
        border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
        transform: translateY(-10px) rotate(5deg);
    }
    66% {
        border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
        transform: translateY(5px) rotate(-5deg);
    }
}

/* Hero Illustrations (icon-based) */
.hero-illustration {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(156, 39, 176, 0.2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite, borderDance 8s ease-in-out infinite;
}

.hero-illustration i {
    font-size: 8rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 30px rgba(0, 188, 212, 0.3));
}

.hero-illustration-backpack {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(255, 193, 7, 0.15));
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
}

.hero-illustration-backpack i {
    font-size: 4rem;
}

.hero-illustration-backpack i:nth-child(1) { color: #e91e63; -webkit-text-fill-color: #e91e63; }
.hero-illustration-backpack i:nth-child(2) { color: #2196f3; -webkit-text-fill-color: #2196f3; }
.hero-illustration-backpack i:nth-child(3) { color: #ff9800; -webkit-text-fill-color: #ff9800; }
.hero-illustration-backpack i:nth-child(4) { color: #4caf50; -webkit-text-fill-color: #4caf50; }

/* Why Us Illustration */
.why-us-illustration {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.why-us-illustration i {
    font-size: 5rem;
    opacity: 0.8;
}

.why-us-illustration i:nth-child(1) {
    color: var(--primary-blue);
    animation: float 4s ease-in-out infinite;
}

.why-us-illustration i:nth-child(2) {
    color: var(--accent-pink);
    animation: float 5s ease-in-out infinite 0.5s;
}

.why-us-illustration i:nth-child(3) {
    color: var(--accent-yellow);
    animation: float 4.5s ease-in-out infinite 1s;
}

/* Slide 2 specific - glassmorphism background */
.hero-slide[data-slide="2"] .hero-content {
    background: rgba(30, 35, 50, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-slide[data-slide="2"] .hero-text h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-slide[data-slide="2"] .hero-text h2 span:first-child {
    color: white;
}

.hero-slide[data-slide="2"] .hero-ofertas-list li {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Features Wrapper */
.hero-features-wrapper {
    position: absolute;
    bottom: 130px;
    left: 0;
    right: 0;
    z-index: 15;
    pointer-events: auto;
}

/* Hero Dots - repositioned */
.hero > .hero-dots {
    position: absolute;
    bottom: 260px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
}

/* CTA Button in hero */
.hero .btn-primary {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

.hero-text {
    margin-bottom: 30px;
    flex: 1 1 400px;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 0 40px rgba(0, 188, 212, 0.3);
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-text .highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(233, 30, 99, 0.7)); }
}

.hero-text .highlight::after {
    display: none;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dots .dot.active {
    background: var(--primary-blue);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--primary-blue);
}

.hero-dots .dot:hover {
    background: var(--accent-pink);
    transform: scale(1.2);
}

/* Feature cards in hero */
.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 22px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.hero-feature:nth-child(1) .hero-feature-icon { background: var(--gradient-1); }
.hero-feature:nth-child(2) .hero-feature-icon { background: var(--gradient-2); }
.hero-feature:nth-child(3) .hero-feature-icon { background: var(--gradient-3); }

.hero-feature span {
    color: white;
    font-weight: 500;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 20;
}

.hero-scroll i {
    font-size: 1.5rem;
}

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

/* Curved bottom edge - organic wave */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(245,249,252,0.3)' d='M0,50 C180,90 360,10 540,50 C720,90 900,20 1080,60 C1260,100 1350,40 1440,70 L1440,120 L0,120 Z'/%3E%3Cpath fill='rgba(245,249,252,0.6)' d='M0,60 C200,100 400,20 600,60 C800,100 1000,30 1200,70 C1340,100 1400,50 1440,80 L1440,120 L0,120 Z'/%3E%3Cpath fill='%23f5f9fc' d='M0,70 C220,110 440,30 660,70 C880,110 1100,40 1320,80 C1400,100 1440,60 1440,90 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: var(--gradient-1);
    transform: scale(1.2);
}

.hero-dots .dot:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* Hero image styles removed - using new centered design */

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

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

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

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

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

@keyframes borderDance {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ===================================
   Section Dividers - Rugged Edges
   =================================== */
.section-divider-top,
.section-divider-bottom {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.section-divider-top {
    top: 0;
}

.section-divider-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.section-divider-top svg,
.section-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 15px auto 0;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    display: none;
}

.section-divider.pink {
    background: var(--gradient-3);
}

.section-divider.yellow {
    background: var(--gradient-2);
}

/* ===================================
   Services Section
   =================================== */
.services {
    position: relative;
    padding: 80px 0 100px;
    margin-top: 0;
    background: #f5f9fc;
    overflow: visible;
}

.services > .container {
    overflow: visible;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(156, 39, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-carousel {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 30px 0 50px;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.services-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.service-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid transparent;
    /* Show exactly 4 cards: (100% - 3 gaps of 24px) / 4 */
    min-width: calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:nth-child(2)::before { background: var(--gradient-2); }
.service-card:nth-child(3)::before { background: var(--gradient-3); }
.service-card:nth-child(4)::before { background: var(--gradient-4); }
.service-card:nth-child(5)::before { background: var(--gradient-1); }
.service-card:nth-child(6)::before { background: var(--gradient-3); }

.service-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-colored);
    border-color: rgba(0, 188, 212, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: borderDance 8s ease-in-out infinite;
    transition: var(--transition);
    color: var(--primary-blue);
}

.service-card:nth-child(1) .service-icon { color: #ff9800; }
.service-card:nth-child(2) .service-icon { color: #2196f3; }
.service-card:nth-child(3) .service-icon { color: #9c27b0; }
.service-card:nth-child(4) .service-icon { color: #e91e63; }
.service-card:nth-child(5) .service-icon { color: #00bcd4; }
.service-card:nth-child(6) .service-icon { color: #4caf50; }

.service-card:hover .service-icon {
    animation: wiggle 0.5s ease-in-out;
    background: var(--gradient-1);
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-blue-dark);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-1);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.carousel-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 30%, #e1bee7 70%, #f3e5f5 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 160px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(224,247,250,0.4)' d='M0,0 L0,80 C180,140 380,40 620,100 C860,160 1040,60 1280,110 C1380,140 1420,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='rgba(178,235,242,0.6)' d='M0,0 L0,60 C220,130 420,30 660,90 C900,150 1080,50 1300,100 C1390,130 1430,70 1440,90 L1440,0 Z'/%3E%3Cpath fill='%23e0f7fa' d='M0,0 L0,40 C260,120 460,20 700,80 C940,140 1120,40 1320,90 C1400,120 1440,60 1440,80 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 160px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M0,160 L0,100 C140,40 340,120 560,60 C780,0 980,100 1180,50 C1320,10 1400,80 1440,50 L1440,160 Z'/%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M0,160 L0,80 C180,30 380,110 600,50 C820,0 1020,90 1220,40 C1360,0 1420,70 1440,40 L1440,160 Z'/%3E%3Cpath fill='%23ffffff' d='M0,160 L0,60 C220,20 420,100 640,40 C860,0 1060,80 1260,30 C1380,0 1430,60 1440,30 L1440,160 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-us-text > p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-us-list li::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.why-us-list li:hover::after {
    left: 100%;
}

.why-us-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.why-us-list .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.why-us-list li:nth-child(1) .icon {
    background: #e8f5e9;
    color: var(--accent-green);
}

.why-us-list li:nth-child(2) .icon {
    background: #fff3e0;
    color: #ff9800;
}

.why-us-list li:nth-child(3) .icon {
    background: #fce4ec;
    color: var(--accent-pink);
}

.why-us-image img {
    border-radius: 50%;
    box-shadow: var(--shadow);
}

/* ===================================
   About Section
   =================================== */
.about {
    position: relative;
    padding: 80px 0 100px;
    background: var(--bg-white);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    top: 10%;
    left: -100px;
    animation: pulse 4s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.08) 0%, transparent 70%);
    bottom: 10%;
    right: -150px;
    animation: pulse 5s ease-in-out infinite 1s;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===================================
   Vision & Mission Section
   =================================== */
.vision-mission {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 50%, #fff8e1 100%);
    overflow: visible;
    z-index: 2;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 140px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='rgba(245,245,245,0.5)' d='M0,0 L0,70 C160,130 360,30 580,90 C800,150 1000,50 1220,100 C1360,140 1420,70 1440,90 L1440,0 Z'/%3E%3Cpath fill='rgba(250,250,250,0.7)' d='M0,0 L0,50 C200,120 400,20 620,80 C840,140 1040,40 1260,90 C1380,130 1430,60 1440,80 L1440,0 Z'/%3E%3Cpath fill='%23f5f5f5' d='M0,0 L0,30 C240,100 440,10 660,70 C880,130 1080,30 1300,80 C1400,120 1440,50 1440,70 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.vision-mission::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M0,120 L0,60 C200,20 450,100 700,50 C950,10 1150,90 1350,40 C1410,25 1430,70 1440,50 L1440,120 Z'/%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M0,120 L0,70 C240,25 490,105 740,55 C990,15 1190,95 1380,45 C1420,30 1435,75 1440,55 L1440,120 Z'/%3E%3Cpath fill='%23ffffff' d='M0,120 L0,80 C280,35 530,110 780,60 C1030,20 1230,100 1400,50 C1430,35 1440,80 1440,60 L1440,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 10;
    pointer-events: none;
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto 60px;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-pink);
    transition: var(--transition);
}

.accordion-header i {
    color: var(--accent-pink);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 30px 15px;
    color: var(--text-gray);
}

/* Values Cards */
.values-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0,188,212,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-card:nth-child(1):hover { box-shadow: 0 15px 40px rgba(139, 195, 74, 0.3); }
.value-card:nth-child(2):hover { box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3); }
.value-card:nth-child(3):hover { box-shadow: 0 15px 40px rgba(233, 30, 99, 0.3); }
.value-card:nth-child(4):hover { box-shadow: 0 15px 40px rgba(156, 39, 176, 0.3); }
.value-card:nth-child(5):hover { box-shadow: 0 15px 40px rgba(255, 87, 34, 0.3); }

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
}

.value-icon.green {
    background: linear-gradient(135deg, #8bc34a, #4caf50);
}

.value-icon.yellow {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.value-icon.pink {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
}

.value-icon.orange {
    background: linear-gradient(135deg, #ff5722, #ff9800);
}

.value-icon.purple {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   Tutoring Section
   =================================== */
.tutoring {
    position: relative;
    padding: 80px 0 100px;
    padding-top: 120px;
    margin-top: -60px;
    background: var(--bg-white);
    overflow: visible;
    z-index: 1;
}

.tutoring::before {
    content: none;
}

.tutoring-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tutoring-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tutoring-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.online-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #e1bee7 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid;
    border-image: var(--gradient-1) 1;
    position: relative;
    overflow: hidden;
}

.online-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.online-box h4 {
    color: var(--primary-blue-dark);
    margin-bottom: 10px;
}

.online-box p {
    color: var(--text-dark);
    margin-bottom: 0;
}

.tutoring-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow);
    animation: borderDance 10s ease-in-out infinite;
    transition: var(--transition);
}

.tutoring-image img:hover {
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
}

/* ===================================
   Support Areas Section
   =================================== */
.support-areas {
    position: relative;
    z-index: 3;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 30%, #f3e5f5 70%, #fff3e0 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    overflow: visible;
}

.support-areas::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 160px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M0,0 L0,90 C140,150 340,50 560,110 C780,170 980,70 1200,120 C1340,160 1410,90 1440,110 L1440,0 Z'/%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M0,0 L0,70 C180,140 380,40 600,100 C820,160 1020,60 1240,110 C1360,150 1420,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='%23ffffff' d='M0,0 L0,50 C220,120 420,30 640,90 C860,150 1060,50 1280,100 C1380,140 1430,70 1440,90 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.support-areas::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M0,120 L0,60 C200,20 450,100 700,50 C950,10 1150,90 1350,40 C1410,25 1430,70 1440,50 L1440,120 Z'/%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M0,120 L0,70 C240,25 490,105 740,55 C990,15 1190,95 1380,45 C1420,30 1435,75 1440,55 L1440,120 Z'/%3E%3Cpath fill='%23ffffff' d='M0,120 L0,80 C280,35 530,110 780,60 C1030,20 1230,100 1400,50 C1430,35 1440,80 1440,60 L1440,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 10;
    pointer-events: none;
}

.wave-top,
.wave-bottom {
    display: none;
}

.areas-carousel {
    display: flex;
    gap: 24px;
    margin-bottom: 80px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 30px 10px 50px;
    margin-left: -10px;
    margin-right: -10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.areas-carousel::-webkit-scrollbar {
    display: none;
}

.area-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* Show exactly 3 cards: (100% - 2 gaps of 24px) / 3 */
    min-width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 2px solid transparent;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.area-card:nth-child(2)::before { background: var(--gradient-2); }
.area-card:nth-child(3)::before { background: var(--gradient-3); }
.area-card:nth-child(4)::before { background: var(--gradient-4); }
.area-card:nth-child(5)::before { background: var(--gradient-1); }
.area-card:nth-child(6)::before { background: var(--gradient-3); }

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(0, 188, 212, 0.2);
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:nth-child(even):hover {
    transform: translateY(-10px);
}

.area-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ce93d8, #90caf9, #80deea);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: borderDance 6s ease-in-out infinite;
    transition: var(--transition);
    position: relative;
}

.area-card:nth-child(2) .area-icon {
    background: linear-gradient(135deg, #ffcc80, #ef9a9a, #ce93d8);
    animation-delay: -2s;
}

.area-card:nth-child(3) .area-icon {
    background: linear-gradient(135deg, #a5d6a7, #80deea, #90caf9);
    animation-delay: -4s;
}

.area-card:nth-child(4) .area-icon {
    background: linear-gradient(135deg, #ffab91, #ffcc80, #fff59d);
    animation-delay: -6s;
}

.area-card:hover .area-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.area-icon i {
    font-size: 2.5rem;
    color: white;
}

.area-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

/* ===================================
   Recruitment Section
   =================================== */
.recruitment {
    position: relative;
    z-index: 1;
    padding: 80px 0 100px;
    margin-top: -60px;
    background: var(--bg-white);
    overflow: visible;
}

.recruitment::before {
    content: none;
}

.recruitment::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.05) 0%, transparent 70%);
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}

.recruitment-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.recruitment-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.recruitment-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.recruitment-text ul {
    margin-bottom: 25px;
}

.recruitment-text li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-gray);
}

.recruitment-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recruitment-text li {
    transition: var(--transition);
}

.recruitment-text li:hover {
    transform: translateX(10px);
    color: var(--text-dark);
}

.recruitment-text > p {
    color: var(--text-gray);
    font-style: italic;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 30%, #9c27b0 70%, #7b1fa2 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: white;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 160px;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g3a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:rgba(255,255,255,0.4)'/%3E%3Cstop offset='50%25' style='stop-color:rgba(250,250,250,0.4)'/%3E%3Cstop offset='100%25' style='stop-color:rgba(245,245,245,0.4)'/%3E%3C/linearGradient%3E%3ClinearGradient id='g3b' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:rgba(255,255,255,0.7)'/%3E%3Cstop offset='50%25' style='stop-color:rgba(250,250,250,0.7)'/%3E%3Cstop offset='100%25' style='stop-color:rgba(245,245,245,0.7)'/%3E%3C/linearGradient%3E%3ClinearGradient id='g3c' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23ffffff'/%3E%3Cstop offset='50%25' style='stop-color:%23fafafa'/%3E%3Cstop offset='100%25' style='stop-color:%23f5f5f5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g3a)' d='M0,0 L0,90 C160,150 380,50 600,110 C820,170 1020,60 1240,120 C1360,160 1420,90 1440,110 L1440,0 Z'/%3E%3Cpath fill='url(%23g3b)' d='M0,0 L0,70 C200,140 420,40 640,100 C860,160 1060,50 1280,110 C1380,150 1430,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='url(%23g3c)' d='M0,0 L0,50 C240,120 460,30 680,90 C900,150 1100,40 1320,100 C1400,140 1440,70 1440,90 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

.contact::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: pulse 4s ease-in-out infinite;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-footer img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.social-links-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links-footer a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-links-footer a:hover::before {
    transform: scale(1);
}

.social-links-footer a:hover {
    color: var(--primary-blue);
    transform: translateY(-5px) rotate(360deg);
}

.social-links-footer a i {
    position: relative;
    z-index: 1;
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-details > p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-details ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.contact-details ul i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 20px 0;
    background: linear-gradient(90deg, #004d57, #1a237e);
    color: white;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink), var(--accent-yellow), var(--accent-green));
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .values-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-carousel .service-card {
        /* Show 3 cards on medium screens: (100% - 2 gaps of 24px) / 3 */
        min-width: calc((100% - 48px) / 3);
        max-width: calc((100% - 48px) / 3);
    }
    
    .areas-carousel .area-card {
        /* Show 2 cards on medium screens: (100% - 1 gap of 24px) / 2 */
        min-width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    /* Services carousel - show 1 card centered on mobile */
    .services-carousel {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .services-carousel .service-card {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        scroll-snap-align: center;
    }
    
    /* Areas carousel - show 1 card centered on mobile */
    .areas-carousel {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .areas-carousel .area-card {
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        scroll-snap-align: center;
    }
    
    /* Mobile header */
    .header {
        padding: 10px 15px;
    }
    
    .header .container {
        gap: 10px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .logo img {
        height: 35px;
    }
    
    /* Mobile header - liquid style adjustments */
    .header.scrolled {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        transform: none;
        padding: 10px 15px;
        border-radius: 25px;
    }
    
    .header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        background: var(--bg-white);
        box-shadow: var(--shadow);
        padding: 20px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-radius: 15px;
    }
    
    .header.scrolled .nav {
        left: 0;
        right: 0;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    [data-theme="dark"] .header .nav {
        background: var(--bg-dark);
    }
    
    [data-theme="dark"] .header.scrolled .nav {
        background: rgba(15, 15, 26, 0.95);
    }
    
    .contact-links {
        display: flex;
        gap: 6px;
    }
    
    .contact-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .social-links {
        display: none;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* Hero section mobile */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 160px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        flex: none;
        padding: 20px 15px;
    }
    
    .hero-slider {
        min-height: auto;
        position: relative;
        flex: none;
    }
    
    .hero-slide {
        position: relative;
        display: none;
        min-height: auto;
    }
    
    .hero-slide.active {
        display: flex;
    }
    
    .hero-features-wrapper {
        position: relative;
        bottom: auto;
        margin-top: 30px;
        padding: 0 15px;
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-feature {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-feature i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .hero > .hero-dots {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        margin-bottom: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .why-us-content,
    .tutoring-content,
    .contact-content,
    .recruitment-content {
        grid-template-columns: 1fr;
    }

    .values-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .recruitment-image {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Hero Slider Mobile */
    .hero-slide-inner {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        flex-wrap: nowrap;
    }
    
    .hero-slide-inner.hero-slide-ofertas {
        flex-direction: column;
    }
    
    .hero-image {
        min-height: 150px;
        max-height: 200px;
        max-width: 100%;
        order: -1;
    }
    
    .hero-text {
        min-width: unset;
        flex: 1 1 auto;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .hero-image-left {
        order: -1;
    }
    
    .hero-illustration {
        width: 180px;
        height: 180px;
    }
    
    .hero-illustration i {
        font-size: 4rem;
    }
    
    .hero-illustration-backpack {
        width: 200px;
        height: 200px;
        padding: 20px;
        gap: 12px;
    }
    
    .hero-illustration-backpack i {
        font-size: 2rem;
    }
    
    .hero-ofertas-list {
        margin: 15px 0;
    }
    
    .hero-ofertas-list li {
        font-size: 0.9rem;
        gap: 10px;
        padding: 6px 0;
        margin-bottom: 8px;
    }
    
    .highlight-pink {
        font-size: 2rem;
    }
    
    .hero-blob-yellow,
    .hero-blob-pink,
    .hero-blob-purple {
        display: none;
    }
    
    .hero-deco {
        display: none;
    }
    
    .why-us-illustration {
        height: 200px;
        gap: 20px;
    }
    
    .why-us-illustration i {
        font-size: 3rem;
    }
    
    .hero-slide[data-slide="2"] .hero-content {
        padding: 20px 15px;
    }
    
    .hero-slide[data-slide="2"] .hero-text h2 {
        font-size: 1.5rem;
    }
    
    /* Wave transitions for mobile */
    .vision-mission::after,
    .support-areas::after {
        height: 80px;
    }
    
    .tutoring,
    .recruitment {
        margin-top: -40px;
        padding-top: 80px;
    }
    
    /* Hide decorative radial gradient elements that cause overflow */
    .about::before,
    .about::after,
    .recruitment::after,
    .contact::after,
    .hero-bg::before,
    .hero-bg::after,
    .why-us::before,
    .why-us::after {
        display: none;
    }
    
    /* Clip overflow for all sections except services (to preserve card shadows) */
    .vision-mission,
    .support-areas,
    .hero,
    .about,
    .why-us,
    .tutoring,
    .recruitment,
    .contact {
        overflow-x: clip;
    }
    
    /* Services needs overflow visible for shadows but hidden scroll */
    .services {
        overflow-y: visible;
    }
}

@media (max-width: 480px) {
    /* Smaller header on tiny screens */
    .header {
        padding: 6px 10px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .contact-links {
        gap: 4px;
    }
    
    .contact-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .mobile-menu-btn {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
    }
    
    /* Hero section smaller screens */
    .hero {
        padding-top: 80px;
        padding-bottom: 140px;
    }
    
    .hero-content {
        padding: 15px 10px;
    }
    
    .hero-slide-inner {
        gap: 15px;
        padding: 0 10px;
    }
    
    .hero-image {
        min-height: 120px;
        max-height: 160px;
    }
    
    .hero-illustration {
        width: 150px;
        height: 150px;
    }
    
    .hero-illustration i {
        font-size: 3rem;
    }
    
    .hero-illustration-backpack {
        width: 160px;
        height: 160px;
        padding: 15px;
        gap: 10px;
    }
    
    .hero-illustration-backpack i {
        font-size: 1.6rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-features-wrapper {
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .hero-features {
        gap: 10px;
        max-width: 100%;
    }
    
    .hero-feature {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .hero-feature i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .hero > .hero-dots {
        margin-top: 25px;
        margin-bottom: 30px;
    }
    
    .hero-ofertas-list li {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .highlight-pink {
        font-size: 1.5rem;
    }
    
    .values-cards {
        grid-template-columns: 1fr;
    }

    .services-carousel {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .services-carousel .service-card {
        min-width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        scroll-snap-align: center;
    }
    
    .areas-carousel {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .areas-carousel .area-card {
        min-width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        scroll-snap-align: center;
    }
    
    /* Wave transitions for small mobile */
    .vision-mission::after,
    .support-areas::after {
        height: 60px;
    }
    
    .tutoring,
    .recruitment {
        margin-top: -30px;
        padding-top: 60px;
    }
    
    /* Extra overflow protection for small screens */
    main, section, .container {
        max-width: 100%;
    }
    
    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Floating buttons mobile */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===================================
   Decorative Elements
   =================================== */
.about::before,
.vision-mission::before,
.support-areas::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,10 L60,40 L90,40 L65,60 L75,90 L50,70 L25,90 L35,60 L10,40 L40,40 Z' fill='none' stroke='%23ddd' stroke-width='1'/%3E%3C/svg%3E") no-repeat;
    opacity: 0.3;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for cards */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.15s; }
.value-card:nth-child(3) { transition-delay: 0.2s; }
.value-card:nth-child(4) { transition-delay: 0.25s; }
.value-card:nth-child(5) { transition-delay: 0.3s; }

.area-card:nth-child(1) { transition-delay: 0.1s; }
.area-card:nth-child(2) { transition-delay: 0.2s; }
.area-card:nth-child(3) { transition-delay: 0.3s; }
.area-card:nth-child(4) { transition-delay: 0.4s; }

/* Hover glow effects */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    pointer-events: none;
}

.glow-on-hover:hover::after {
    opacity: 1;
}

/* Floating particles effect (CSS only) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===================================
   Dark Mode Overrides
   =================================== */
[data-theme="dark"] body {
    background-color: #1a1a2e;
}

[data-theme="dark"] .services,
[data-theme="dark"] .about,
[data-theme="dark"] .tutoring,
[data-theme="dark"] .recruitment {
    background: var(--bg-white);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .area-card,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .why-us-list li {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .section-header h2 {
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode gradients for sections */
[data-theme="dark"] .why-us {
    background: linear-gradient(135deg, #1a2a3a 0%, #1f2f3f 30%, #2a1f3a 70%, #1f1a2e 100%);
}

[data-theme="dark"] .vision-mission {
    background: linear-gradient(180deg, #1a1a2e 0%, #1f1f35 50%, #2a2a1f 100%);
}

[data-theme="dark"] .support-areas {
    background: linear-gradient(135deg, #1a2a1f 0%, #1a2a3a 30%, #2a1f3a 70%, #2a2a1f 100%);
}

/* Dark mode wave dividers */
[data-theme="dark"] .hero::after {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(26,26,46,0.3)' d='M0,50 C180,90 360,10 540,50 C720,90 900,20 1080,60 C1260,100 1350,40 1440,70 L1440,120 L0,120 Z'/%3E%3Cpath fill='rgba(26,26,46,0.6)' d='M0,60 C200,100 400,20 600,60 C800,100 1000,30 1200,70 C1340,100 1400,50 1440,80 L1440,120 L0,120 Z'/%3E%3Cpath fill='%231a1a2e' d='M0,70 C220,110 440,30 660,70 C880,110 1100,40 1320,80 C1400,100 1440,60 1440,90 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .services {
    background: #1a1a2e;
}

[data-theme="dark"] .why-us::before {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(26,42,58,0.4)' d='M0,0 L0,80 C180,140 380,40 620,100 C860,160 1040,60 1280,110 C1380,140 1420,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='rgba(31,47,63,0.6)' d='M0,0 L0,60 C220,130 420,30 660,90 C900,150 1080,50 1300,100 C1390,130 1430,70 1440,90 L1440,0 Z'/%3E%3Cpath fill='%231a2a3a' d='M0,0 L0,40 C260,120 460,20 700,80 C940,140 1120,40 1320,90 C1400,120 1440,60 1440,80 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .why-us::after {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(15,15,26,0.4)' d='M0,160 L0,100 C140,40 340,120 560,60 C780,0 980,100 1180,50 C1320,10 1400,80 1440,50 L1440,160 Z'/%3E%3Cpath fill='rgba(15,15,26,0.7)' d='M0,160 L0,80 C180,30 380,110 600,50 C820,0 1020,90 1220,40 C1360,0 1420,70 1440,40 L1440,160 Z'/%3E%3Cpath fill='%230f0f1a' d='M0,160 L0,60 C220,20 420,100 640,40 C860,0 1060,80 1260,30 C1380,0 1430,60 1440,30 L1440,160 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .vision-mission::before {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='rgba(26,26,46,0.5)' d='M0,0 L0,70 C160,130 360,30 580,90 C800,150 1000,50 1220,100 C1360,140 1420,70 1440,90 L1440,0 Z'/%3E%3Cpath fill='rgba(31,31,53,0.7)' d='M0,0 L0,50 C200,120 400,20 620,80 C840,140 1040,40 1260,90 C1380,130 1430,60 1440,80 L1440,0 Z'/%3E%3Cpath fill='%231a1a2e' d='M0,0 L0,30 C240,100 440,10 660,70 C880,130 1080,30 1300,80 C1400,120 1440,50 1440,70 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .vision-mission::after {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(15,15,26,0.5)' d='M0,120 L0,60 C200,20 450,100 700,50 C950,10 1150,90 1350,40 C1410,25 1430,70 1440,50 L1440,120 Z'/%3E%3Cpath fill='rgba(15,15,26,0.75)' d='M0,120 L0,70 C240,25 490,105 740,55 C990,15 1190,95 1380,45 C1420,30 1435,75 1440,55 L1440,120 Z'/%3E%3Cpath fill='%230f0f1a' d='M0,120 L0,80 C280,35 530,110 780,60 C1030,20 1230,100 1400,50 C1430,35 1440,80 1440,60 L1440,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .tutoring::before {
    content: none;
}

[data-theme="dark"] .support-areas::before {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(15,15,26,0.4)' d='M0,0 L0,90 C140,150 340,50 560,110 C780,170 980,70 1200,120 C1340,160 1410,90 1440,110 L1440,0 Z'/%3E%3Cpath fill='rgba(15,15,26,0.7)' d='M0,0 L0,70 C180,140 380,40 600,100 C820,160 1020,60 1240,110 C1360,150 1420,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='%230f0f1a' d='M0,0 L0,50 C220,120 420,30 640,90 C860,150 1060,50 1280,100 C1380,140 1430,70 1440,90 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .support-areas::after {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='rgba(26,26,46,0.5)' d='M0,120 L0,60 C200,20 450,100 700,50 C950,10 1150,90 1350,40 C1410,25 1430,70 1440,50 L1440,120 Z'/%3E%3Cpath fill='rgba(26,26,46,0.75)' d='M0,120 L0,70 C240,25 490,105 740,55 C990,15 1190,95 1380,45 C1420,30 1435,75 1440,55 L1440,120 Z'/%3E%3Cpath fill='%231a1a2e' d='M0,120 L0,80 C280,35 530,110 780,60 C1030,20 1230,100 1400,50 C1430,35 1440,80 1440,60 L1440,120 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .contact::before {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='rgba(31,31,53,0.4)' d='M0,0 L0,90 C160,150 380,50 600,110 C820,170 1020,60 1240,120 C1360,160 1420,90 1440,110 L1440,0 Z'/%3E%3Cpath fill='rgba(31,31,53,0.6)' d='M0,0 L0,70 C200,140 420,40 640,100 C860,160 1060,50 1280,110 C1380,150 1430,80 1440,100 L1440,0 Z'/%3E%3Cpath fill='%231f1f35' d='M0,0 L0,50 C240,120 460,30 680,90 C900,150 1100,40 1320,100 C1400,140 1440,70 1440,90 L1440,0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
}

[data-theme="dark"] .recruitment {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #1f1f35 100%);
}

[data-theme="dark"] .service-icon,
[data-theme="dark"] .area-icon {
    background: linear-gradient(135deg, #2a3a4a, #3a2a4a);
}

[data-theme="dark"] .service-card::before {
    background: var(--gradient-1);
}

[data-theme="dark"] .online-box {
    background: linear-gradient(135deg, #1a2a3a 0%, #1f2f4f 50%, #2a1f3a 100%);
}

[data-theme="dark"] .accordion-header {
    color: var(--accent-pink);
}

[data-theme="dark"] .mobile-menu-btn span {
    background: var(--text-dark);
}

/* ===================================
   Scroll Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for cards */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===================================
   Card Hover Effects
   =================================== */
.service-card,
.value-card,
.area-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover,
.value-card:hover,
.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .area-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.5);
}

/* ===================================
   WhatsApp Button (Removed - now in header)
   =================================== */
.whatsapp-btn {
    display: none;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    display: none;
    padding: 80px 0;
    background: var(--bg-light);
}

[data-theme="dark"] .testimonials {
    background: var(--section-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.15;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.testimonial-stars {
    color: #FFD700;
    margin-top: 5px;
}

/* ===================================
   Page Loading Animation
   =================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

[data-theme="dark"] .page-loader {
    background: var(--bg-dark);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(106, 90, 205, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Contact Form Validation Styles
   =================================== */
.contact-form {
    margin-top: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(106, 90, 205, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #27ae60;
}

.form-group .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-group input.error + .error-message,
.form-group textarea.error + .error-message {
    display: block;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-submit {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(106, 90, 205, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    padding: 20px;
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-success.visible {
    display: block;
}

.value-card,
.area-card,
.accordion-item,
.why-us-list li,
.lang-btn,
.theme-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===================================
   Service Modals
   =================================== */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.service-modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-pink);
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Modal Header */
.modal-header {
    position: relative;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, #f3e5f5 100%);
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--bg-white);
    border-radius: 30px 30px 0 0;
    transform: translateY(15px);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-icon.orange { color: #ff9800; }
.modal-icon.blue { color: #2196f3; }
.modal-icon.purple { color: #9c27b0; }
.modal-icon.pink { color: #e91e63; }
.modal-icon.cyan { color: #00bcd4; }
.modal-icon.green { color: #4caf50; }

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.modal-header .subtitle {
    color: var(--accent-pink);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Modal Body */
.modal-body {
    padding: 30px;
}

.modal-intro {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-quote {
    font-style: italic;
    color: var(--primary-blue);
    font-size: 1.1rem;
    padding: 15px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-pink);
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
}

.modal-section-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section-title i {
    color: var(--primary-blue);
}

.modal-disciplines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.modal-discipline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.modal-discipline:hover {
    background: var(--primary-blue-light);
    transform: translateX(5px);
}

.modal-discipline i {
    color: var(--accent-pink);
    font-size: 0.9rem;
}

/* Modal Images */
.modal-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.modal-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.05);
}

/* Modal Footer/CTA */
.modal-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modal-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-header {
        padding: 50px 20px 25px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal-images img:nth-child(3) {
        grid-column: span 2;
        height: 150px;
    }
    
    .modal-disciplines {
        grid-template-columns: 1fr;
    }
    
    .modal-cta {
        flex-direction: column;
    }
    
    .modal-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-images img {
        height: 100px;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}
