/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* SmartFast Corporate Colors */
    --smartfast-orange: #f26520;
    --smartfast-blue: #0986c0;
    --smartfast-dark: #171717;
    --smartfast-light: #ffffff;
    --smartfast-soft-orange: #fabda0;

    /* Extended Palette */
    --primary-color: var(--smartfast-orange);
    --primary-dark: #d54e0f;
    --primary-light: var(--smartfast-soft-orange);
    --secondary-color: var(--smartfast-blue);
    --secondary-dark: #076b9a;
    --secondary-light: #6fb8d4;
    --accent-color: #ff7847;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* WhatsApp Colors */
    --whatsapp-color: #25d366;
    --whatsapp-dark: #128c7e;

    /* Text Colors */
    --text-primary: var(--smartfast-dark);
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-inverse: var(--smartfast-light);

    /* Background Colors */
    --bg-primary: var(--smartfast-light);
    --bg-secondary: #f9fafb;
    --bg-dark: var(--smartfast-dark);
    --bg-accent: var(--smartfast-soft-orange);

    /* Border Colors */
    --border-color: #e5e7eb;
    --border-primary: var(--primary-color);
    --border-secondary: var(--secondary-color);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(242, 101, 32, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(242, 101, 32, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(242, 101, 32, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(242, 101, 32, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--smartfast-orange) 0%, var(--smartfast-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--smartfast-soft-orange) 0%, var(--smartfast-blue) 100%);
    --gradient-text: linear-gradient(135deg, var(--smartfast-orange) 0%, var(--smartfast-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--smartfast-orange) 0%, var(--smartfast-blue) 50%, var(--smartfast-dark) 100%);

    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 50px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo .accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,96C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Typing Animation Styles */
#typing-industry {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    min-width: 150px; /* Prevent layout shift */
}

#typing-cursor {
    color: var(--primary-color);
    font-weight: 400;
    animation: blink 1s infinite;
    display: inline-block;
}

@keyframes blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    margin: 0 auto;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.card-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.card-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.card-rating {
    color: var(--warning-color);
    font-size: 0.875rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
}

/* Programs Section */
.programs {
    background: var(--bg-secondary);
    padding-top: 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: stretch; /* Make all cards same height */
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(242, 101, 32, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(242, 101, 32, 0.15);
    border-color: var(--primary-color);
}

/* Program Header - Icon and Title Side by Side */
.program-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.program-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    flex-shrink: 0;
}

.program-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.program-card:hover .program-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-card:hover .program-icon-img {
    transform: scale(1.1);
}

/* Remove old h3 styling since we now use .program-title */

.program-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.program-content p:last-of-type {
    margin-bottom: 1rem;
}


.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.program-features i {
    color: var(--success-color);
    font-size: 0.75rem;
}

.program-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.duration, .level {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
}

.program-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Gallery Section */
.gallery-section {
    background: white;
    padding-top: 3rem;
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    width: fit-content;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-card:hover {
    transform: translateY(-3px);
}

.gallery-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-content {
    padding: 1.5rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    margin: 0 auto 0.5rem auto;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.gallery-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 400px;
}

/* Navigation Controls */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

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

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Dots Indicator */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    transform: scale(1.2);
}

.gallery-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-slider {
        height: 480px;
    }

    .gallery-image-wrapper {
        height: 300px;
    }

    .gallery-content {
        padding: 1.25rem;
        min-height: 100px;
    }

    .gallery-title {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
        margin: 0 auto 0.4rem auto;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }

    .gallery-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 0 auto;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .gallery-slider {
        height: 420px;
    }

    .gallery-image-wrapper {
        height: 260px;
    }

    .gallery-slide {
        padding: 0;
    }

    .gallery-card {
        border-radius: 24px;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-width: 1.5px;
    }

    .gallery-prev {
        left: 12px;
    }

    .gallery-next {
        right: 12px;
    }

    .gallery-content {
        padding: 1rem 1.25rem;
        min-height: 85px;
    }

    .gallery-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.3rem;
        font-weight: 600;
        margin: 0 auto 0.3rem auto;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }

    .gallery-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 auto;
        max-width: 320px;
    }

    .gallery-dots {
        margin-top: 1.25rem;
    }
}

@media (max-width: 640px) {
    .gallery-slider {
        height: 380px;
    }

    .gallery-image-wrapper {
        height: 230px;
    }

    .gallery-slide {
        padding: 0;
    }

    .gallery-card {
        border-radius: 14px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-content {
        padding: 0.875rem 0.75rem;
        min-height: 75px;
    }

    .gallery-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 auto 0.25rem auto;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }

    .gallery-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0 auto;
        max-width: 280px;
    }

    .gallery-dots {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-slider {
        height: 340px;
    }

    .gallery-image-wrapper {
        height: 200px;
    }

    .gallery-slide {
        padding: 0;
    }

    .gallery-card {
        border-radius: 20px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .gallery-prev {
        left: 6px;
    }

    .gallery-next {
        right: 6px;
    }

    .gallery-content {
        padding: 0.75rem 0.5rem;
        min-height: 55px;
    }

    .gallery-title {
        font-size: 0.9rem;
        margin-bottom: 0.125rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .gallery-description {
        font-size: 0.7rem;
        line-height: 1.2;
        margin: 0;
        max-width: 300px;
    }

    .gallery-dots {
        margin-top: 0.875rem;
        gap: 6px;
    }

    .gallery-dot {
        width: 6px;
        height: 6px;
    }

    .gallery-dot.active {
        width: 20px;
    }
}

@media (max-width: 360px) {
    .gallery-slider {
        height: 320px;
    }

    .gallery-image-wrapper {
        height: 180px;
    }

    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .gallery-prev {
        left: 4px;
    }

    .gallery-next {
        right: 4px;
    }

    .gallery-content {
        padding: 0.625rem 0.375rem;
        min-height: 50px;
    }

    .gallery-title {
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
        font-weight: 600;
        line-height: 1.1;
    }

    .gallery-description {
        font-size: 0.65rem;
        line-height: 1.1;
        margin: 0;
        max-width: 280px;
    }
}

/* Alumni Section */
.alumni {
    background: var(--bg-secondary);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: #ffffff; /* Explicit white color */
    padding-top: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #171717 !important; /* SmartFast Dark - explicit with !important */
    font-weight: 600;
}

.info-content p {
    color: #6b7280 !important; /* Gray-500 - explicit with !important */
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* New Horizontal Footer Layout */
.footer-content-horizontal {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand .accent {
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}


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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 100vh;
        padding: 120px 0 2rem;
    }

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

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-image {
        display: none;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content-horizontal {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }

    .program-card,
    .contact-form,
    .testimonial-card {
        padding: 1.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* WhatsApp CTA Styles */
.whatsapp-cta {
    color: var(--whatsapp-color) !important;
    font-weight: 600;
    position: relative;
}

.whatsapp-cta:hover {
    color: var(--whatsapp-dark) !important;
}

.whatsapp-cta::after {
    background: var(--whatsapp-color);
}

.whatsapp-cta i {
    font-size: 1.1rem;
    margin-right: 0.3rem;
}

/* Hero WhatsApp Info */
.hero-whatsapp-info {
    margin-top: 1rem;
    text-align: center;
}

.hero-whatsapp-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-whatsapp-info i {
    color: #4ade80;
}

/* Program Actions */
.program-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
    flex-wrap: wrap;
}

.program-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.program-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 101, 32, 0.3);
}

.program-link {
    flex: 0;
    padding: 0.75rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    white-space: nowrap;
    align-items: center;
    display: inline-flex;
}

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

/* WhatsApp Outline Button */
.btn-whatsapp-outline {
    background: transparent;
    color: var(--whatsapp-color);
    border: 2px solid var(--whatsapp-color);
}

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

/* Testimonial CTA */
.testimonial-cta {
    margin-top: 2rem;
    text-align: center;
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-fab {
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-fab:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: pulse 2s infinite;
}

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

.whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 320px;
    max-width: calc(100vw - 40px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.whatsapp-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.whatsapp-header h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.whatsapp-header p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.whatsapp-options {
    padding: 1rem;
}

.whatsapp-option {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.whatsapp-option:last-child {
    margin-bottom: 0;
}

.whatsapp-option:hover {
    background: white;
    border-color: var(--whatsapp-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.option-icon {
    width: 40px;
    height: 40px;
    background: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.option-content h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.option-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Exit Intent Popup */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.exit-intent-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.popup-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.popup-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.popup-input:focus {
    outline: none;
    border-color: var(--whatsapp-color);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp-popup {
    background: var(--whatsapp-color);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp-popup:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.popup-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for WhatsApp Elements */
@media (max-width: 768px) {
    .whatsapp-menu {
        width: calc(100vw - 40px);
        right: 0;
    }

    .program-actions {
        flex-direction: column;
    }

    .program-btn {
        order: 2;
    }

    .program-link {
        order: 1;
        justify-content: center;
    }

    .popup-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-fab {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-header {
        padding: 1rem;
    }

    .whatsapp-options {
        padding: 0.75rem;
    }

    .whatsapp-option {
        padding: 0.75rem;
    }

    .option-icon {
        width: 35px;
        height: 35px;
    }

    .option-content h5 {
        font-size: 0.8rem;
    }

    .option-content p {
        font-size: 0.7rem;
    }
}