/* ====================================
   BOY SCIENCE CLUB - MODERN EDUCATION THEME
   Premium CSS Stylesheet
   ==================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Navy & Orange Theme */
    --primary: #1a365d;
    --primary-dark: #0f2341;
    --primary-light: #2d4a7c;

    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fb923c;

    /* Secondary Colors */
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --secondary-light: #38bdf8;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2d4a7c 50%, #0ea5e9 100%);

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* GPU Acceleration for smooth animations */
.navbar,
.testimonial-slide,
.course-card,
.alumni-card,
.faq-item,
[data-aos] {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 18px 40px;
    font-size: 18px;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-base);
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(14, 165, 233, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 30px) rotate(-5deg);
    }

    75% {
        transform: translate(-20px, -10px) rotate(3deg);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent-light);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-light);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-bg {
    position: absolute;
    inset: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transform: rotate(-6deg);
}

.hero-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    border-radius: var(--radius-xl);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 18px;
    border-radius: var(--radius-md);
}

.floating-card span {
    font-weight: 600;
    color: var(--gray-800);
}

.card-1 {
    top: 20%;
    left: -30px;
}

.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ===== COURSES SECTION ===== */
.courses {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--course-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

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

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

.course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--course-color), var(--course-color));
    background-size: 200% 200%;
    border-radius: var(--radius-xl);
    font-size: 32px;
    color: var(--white);
    transition: var(--transition-base);
}

.course-image {
    width: 100%;
    height: 160px;
    margin: -40px -30px 24px -30px;
    width: calc(100% + 60px);
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.course-image .course-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--course-color), var(--course-color));
    font-size: 48px;
    color: var(--white);
}

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

.course-level {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.course-classes {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.course-description {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.course-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    line-height: 1.4;
}

.course-features li i {
    color: #22c55e;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.course-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.course-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    transition: var(--transition-base);
}

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

.course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.course-card:hover .course-btn {
    background: var(--gradient-accent);
    color: var(--white);
}

.course-btn i {
    transition: var(--transition-base);
}

.course-card:hover .course-btn i {
    transform: translateX(4px);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.experience-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-text {
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    font-size: 24px;
    border-radius: var(--radius-lg);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== ALUMNI SECTION ===== */
.alumni {
    padding: var(--section-padding) 0;
    background: var(--primary);
    color: var(--white);
}

.alumni .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-light);
}

.alumni .section-title {
    color: var(--white);
}

.alumni .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.alumni-slider {
    overflow: hidden;
    margin-top: 40px;
}

.alumni-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.alumni-item {
    flex-shrink: 0;
    text-align: center;
}

.alumni-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    overflow: hidden;
}

/* Logo dengan gambar - background putih */
.alumni-logo:has(img) {
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.alumni-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.alumni-logo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.alumni-item:hover .alumni-logo {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hover untuk logo tanpa gambar */
.alumni-item:hover .alumni-logo:not(:has(img)) {
    background: var(--accent);
    border-color: var(--accent);
}

/* Hover untuk logo dengan gambar */
.alumni-item:hover .alumni-logo:has(img) {
    border-color: var(--accent);
}

.alumni-item:hover .alumni-logo img {
    filter: none;
}

.alumni-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 120px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

/* Slider Container */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Style */
.testimonial-card-slider {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    align-items: center;
}

/* Large Photo */
.testimonial-photo-large {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--accent);
}

.testimonial-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-initials-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 72px;
    font-weight: 800;
}

/* Content */
.testimonial-content-slider {
    flex: 1;
    position: relative;
}

.testimonial-quote-large {
    font-size: 60px;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text-slider {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author-slider h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.testimonial-author-slider p {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: var(--white);
    color: var(--gray-700);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

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

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dot:hover {
    background: var(--gray-400);
}

.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-slider {
        padding: 0 20px;
    }

    .testimonial-card-slider {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 24px;
    }

    .testimonial-photo-large {
        width: 150px;
        height: 150px;
    }

    .testimonial-initials-large {
        font-size: 54px;
    }

    .testimonial-quote-large {
        font-size: 40px;
    }

    .testimonial-text-slider {
        font-size: 16px;
    }

    .testimonial-author-slider h4 {
        font-size: 18px;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .testimonial-prev {
        left: 5px;
    }

    .testimonial-next {
        right: 5px;
    }
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    cursor: pointer;
    gap: 20px;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--gray-500);
    transition: var(--transition-base);
}

.faq-item.active .faq-icon {
    background: var(--accent);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 24px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 80px 0;
    background: var(--gradient-accent);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.contact-text {
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius-lg);
}

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

.contact-detail h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 15px;
    color: var(--gray-600);
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.contact-map iframe {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 18px;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 15px;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Hidden admin link - looks like regular text */
.hidden-admin {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
    cursor: text;
    transition: none;
}

.hidden-admin:hover {
    color: inherit;
    text-decoration: none;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    font-size: 30px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

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

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .about-experience {
        bottom: -20px;
        right: 20px;
        width: 120px;
        height: 120px;
    }

    .experience-number {
        font-size: 36px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-2xl);
        transition: var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--gray-700);
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

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

    .footer-social {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-contact p {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }

    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .course-card {
        padding: 30px 24px;
    }

    .faq-question {
        padding: 20px 24px;
    }

    .faq-answer p {
        padding: 0 24px 20px;
    }
}

/* ===== iOS & MOBILE TOUCH FIXES ===== */
/* Prevent 300ms tap delay on mobile */
html {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Ensure clickable elements are touch-friendly (min 44px) */
.nav-link,
.nav-toggle,
.btn,
.course-btn,
.course-btn-secondary,
.faq-question,
.footer-social a,
.whatsapp-float,
.back-to-top {
    min-height: 44px;
    -webkit-touch-callout: none;
}

/* iOS Safe Area Support */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .footer-bottom {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* Z-index hierarchy for proper layering */
.navbar {
    z-index: 1000;
}

.nav-menu {
    z-index: 999;
}

.whatsapp-float {
    z-index: 998;
}

.back-to-top {
    z-index: 997;
}

/* Smooth scrolling for iOS */
html,
body {
    -webkit-overflow-scrolling: touch;
}

/* Fix for iOS input zoom */
@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Fix horizontal overflow on mobile */
.container,
section,
header,
footer {
    overflow-x: hidden;
}

/* Improve touch targets for mobile nav */
@media (max-width: 768px) {
    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 50px;
    }

    /* Fix for mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
}