/* ===========================
   Global Overflow Fix
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

/* Ensure natural section flow */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
    min-height: auto;
}

/* Ensure body and html allow scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    overflow-y: auto !important;
    max-width: 100vw;
    height: auto;
    min-height: 100vh;
}

/* ===========================
   CSS Reset & Base Styles
=========================== */

:root {
    /* Colors */
    --primary-color: #1e3a8a;      /* Deep Blue */
    --secondary-color: #f59e0b;    /* Soft Gold */
    --accent-color: #dc2626;       /* Minimal Red */
    --dark-color: #1f2937;         /* Slate Gray */
    --light-color: #f8fafc;        /* Off White */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    overflow-y: auto !important;
    max-width: 100vw;
    height: auto;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #f97316);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* ===========================
   Navigation
=========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 50%, rgba(241, 245, 249, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 50%, rgba(241, 245, 249, 0.98) 100%);
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    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%;
}

.nav-link.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.nav-link.cta-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.nav-link.cta-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   Hero Section
=========================== */
.hero {
    min-height: 100vh;
    position: relative;
    margin-top: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: visible;
    pointer-events: auto;
    user-select: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3Ccircle cx='10' cy='10' r='0.5'/%3E%3Ccircle cx='50' cy='50' r='0.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 3;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Hero Header */
.hero-header {
    text-align: center;
    margin-bottom: 3rem;
}

.institute-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    color: #fbbf24;
    font-size: 1.2rem;
}

.badge-accent {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #1f2937;
    font-weight: 700;
}

/* Main Hero Content */
.hero-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    font-weight: 500;
}

.tagline-accent {
    color: #fbbf24;
}

.tagline-separator {
    color: #64748b;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    font-family: var(--font-heading);
}

.title-highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-emphasis {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.btn-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-hero .btn-icon {
    font-size: 1.5rem;
}

.btn-hero .btn-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-hero .btn-subtext {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Trust Section */
.hero-trust-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-indicator i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 2rem 0;
        margin-top: 80px;
        min-height: auto;
    }
    
    .hero-main {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content-center {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust-section {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .institute-badge {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        min-width: 100%;
        max-width: 300px;
        padding: 1.2rem 1.5rem;
    }
    
    .hero-trust-section {
        grid-template-columns: 1fr;
        display: grid;
        gap: 1rem;
        text-align: center;
    }
    
    .trust-indicator {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 90px 0 60px;
        min-height: auto;
    }
    
    .hero-wrapper {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-features {
        margin-bottom: 2rem;
    }
    
    .hero-features h3 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-list {
        gap: 1.2rem;
    }
    
    .feature-item {
        background: rgba(255, 255, 255, 0.8);
        padding: 1rem 1.5rem;
        border-radius: 15px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 15px rgba(30, 58, 138, 0.05);
    }
    
    .hero-badge {
        max-width: 100%;
        margin: 0 auto 2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .badge-text {
        font-size: 0.95rem;
    }
    
    .badge-label {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .image-wrapper {
        width: 90%;
        height: 90%;
        padding: 1rem;
    }
    
    .btn-hero {
        padding: 1.2rem 2.5rem;
        font-size: 1.05rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
    }
    
    .circle-1,
    .circle-2 {
        opacity: 0.5;
    }
    
    .circle-1 {
        width: 200px;
        height: 200px;
        top: 5%;
        right: 0%;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
        bottom: 10%;
        left: 0%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 50px;
         background: linear-gradient(135deg, #dae0ff 0%, #ffffff 50%, #fdfeff 100%);
    }
    
    .hero-wrapper {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
        padding: 0 0.5rem;
        line-height: 1.7;
    }
    
    .hero-features h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        gap: 1rem;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
    }
    
    .feature-item i {
        font-size: 1.1rem;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        border-radius: 20px;
        max-width: 280px;
    }
    
    .badge-text {
        font-size: 0.9rem;
    }
    
    .badge-label {
        align-self: stretch;
        text-align: center;
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .image-wrapper {
        width: 95%;
        height: 95%;
        padding: 0.8rem;
        border-radius: 20px;
    }
    
    .hero-img {
        border-radius: 15px;
    }
    
    .btn-hero {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        border-radius: 30px;
        max-width: 250px;
    }
    
    .btn-hero i {
        font-size: 0.9rem;
    }
    
    .circle-1,
    .circle-2 {
        display: none;
    }
    
    .bg-circuit {
        opacity: 0.2;
    }
}

/* ===========================
   Why QPhix Section
=========================== */
.why-qphix {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.why-qphix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a8a' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===========================
   Training Programs Section
=========================== */
.training-programs {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    position: relative;
}

.training-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.02'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.online {
    background: var(--secondary-color);
}

.card-content {
    padding: 2rem;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--gray-500);
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.timing-info {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.timing-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.card-footer {
    padding: 0 2rem 2rem;
}

.card-footer .btn {
    width: 100%;
    justify-content: center;
}

/* ===========================
   Stats Section
=========================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===========================
   Testimonials Section
=========================== */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 30%, #f8fafc 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a8a' fill-opacity='0.015'%3E%3Cpath d='M50 50c13.807 0 25-11.193 25-25S63.807 0 50 0 25 11.193 25 25s11.193 25 25 25zm0 25c13.807 0 25-11.193 25-25S63.807 50 50 50 25 61.193 25 75s11.193 25 25 25z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
    border: 1px solid var(--gray-200);
}

.testimonial-card.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

/* ===========================
   Video Section
=========================== */
.video-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.02'%3E%3Cpolygon points='60 20 100 100 20 100'/%3E%3Cpolygon points='60 0 80 40 40 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===========================
   CTA Section
=========================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--dark-color), var(--gray-800));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--dark-color);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    color: var(--secondary-color);
    margin-top: 4px;
    width: 16px;
}

.footer-divider {
    height: 1px;
    background: var(--gray-700);
    margin: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-menu {
        top: 60px;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .program-card {
        margin: 0 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Utility Classes
=========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Back to Top Button
=========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1e40af, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}
