/* ============================================
   OM INSTITUTE - PREMIUM EDUCATIONAL PLATFORM
   Modern CSS with Glassmorphism & Blue Gradient
   ============================================ */

/* ========== CSS VARIABLES & THEME ========== */
:root {
    /* Primary Colors - Blue Gradient Theme */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.5);
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    letter-spacing: 0.2px;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ========== UTILITY CLASSES ========== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header {
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ========== BUTTONS ========== */
.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-outline-light {
    background: #ffffff;
    color: #2563EB;
    border: 2px solid #2563EB;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #2563EB;
    color: #ffffff;
    border-color: #2563EB;
    transform: translateY(-2px);
}

.btn-outline-light i {
    color: inherit;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========== GLASSMORPHISM CARDS ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

/* ========== NAVBAR ========== */
#mainNavbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}


#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}


#mainNavbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 1400px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0;
    padding-left: 0;
}

.brand-logo {
    height: 45px;
    width: auto;
    margin-right: 12px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



#navbarMain {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

#navbarMain .navbar-nav {
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ensure navbar collapse works properly on mobile */
@media (max-width: 991px) {
    #navbarMain {
        display: none !important;
    }
    
    #navbarMain.show {
        display: block !important;
    }
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.navbar-collapse .d-flex {
    margin-left: auto;
    flex-shrink: 0;
    padding-right: 0;
    gap: 0.75rem;
}


/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.94) 45%,
            rgba(255, 255, 255, 0.45) 65%,
            rgba(255, 255, 255, 0.10) 80%,
            rgba(255, 255, 255, 0) 100%
        ),
         url('/assets/images/hero-students.png');
    background-repeat: no-repeat;
    background-position: 85% center;
    background-size: 65% auto;
    background-color: #ffffff;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-section .row {
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0F172A;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats-mini {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-mini {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #2563EB;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== HERO SECTION RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-section {
        background-size: 60% auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats-mini {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        background: #ffffff;
        min-height: auto;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-section .container {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats-mini {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-mini {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 575px) {
    .hero-stats-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-mini {
        flex: 1;
    }
}

/* ========== STATISTICS SECTION ========== */
.stats-section {
    background: var(--bg-secondary);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.stat-content {
    color: var(--text-primary);
}

.stat-content .counter {
    font-size: 2.5rem;
    font-weight: 800;
    display: inline;
}

.stat-content .suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-content p {
    margin-top: 8px;
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========== COURSES SECTION ========== */
.courses-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.courses-section .row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.courses-section .col-lg-4,
.courses-section .col-md-6 {
    display: flex;
}

/* Course Card */
.course-card {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2), 0 0 40px rgba(37, 99, 235, 0.08);
}

/* Course Image - 16:9 aspect ratio */
.course-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-tertiary);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Local PNG course images - show full image without cropping */
.course-image img[src*="assets/images/"],
.cp-card-img img[src*="assets/images/"] {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 10px;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

/* Course Badge - pill-shaped gradient */
.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.course-badge.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.course-badge.new {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Course Content */
.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.course-content h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.35;
}

.course-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    flex: 1;
}

/* Course Footer - Instructor + Rating */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
}

.instructor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructor-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.instructor-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating span {
    font-weight: 700;
    color: var(--text-primary);
}

/* Course Enroll Button */
.course-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.course-btn:hover {
    transform: translateY(-1px);
}

.course-btn i {
    transition: transform 0.3s ease;
}

.course-btn:hover i {
    transform: translateX(4px);
}

/* ========== COURSES PAGE - NEW DESIGN ========== */

/* Hero - Dark Gradient */
.cp-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.cp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cp-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.cp-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Search */
.cp-search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 4px 24px;
    max-width: 550px;
    margin: 0 auto;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.cp-search-box:focus-within {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
}

.cp-search-box i {
    font-size: 1.2rem;
    color: #fff !important;
    margin-right: 12px;
}

.cp-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 1rem;
    color: #fff !important;
    outline: none;
    font-family: var(--font-family);
}

.cp-search-input::placeholder {
    color: #fff !important;
    opacity: 1;
}

.cp-search-input::-webkit-input-placeholder {
    color: #fff !important;
}

.cp-search-input::-moz-placeholder {
    color: #fff !important;
}

/* Filters */
.cp-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.cp-filter {
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

.cp-filter:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cp-filter.active {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ========== COURSES GRID ========== */
.cp-grid-section {
    background: var(--bg-primary);
    padding: 80px 0 60px;
}

.cp-card-col {
    display: flex;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cp-card {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.cp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(37,99,235,0.15), 0 0 40px rgba(37,99,235,0.06);
}

.cp-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-tertiary);
}

.cp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cp-card:hover .cp-card-img img {
    transform: scale(1.05);
}

.cp-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.cp-badge.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

.cp-badge.new {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

.cp-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cp-card-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cp-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cp-card-meta i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.cp-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.35;
}

.cp-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    flex: 1;
}

/* Price */
.cp-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.cp-price-current {
    font-size: 1.2rem;
    font-weight: 800;
    color: #16a34a;
}

.cp-price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Buttons */
.cp-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.cp-btn-outline {
    flex: 1;
    padding: 11px 0;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.cp-btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

.cp-btn-primary {
    flex: 1;
    padding: 11px 0;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.cp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
    color: #fff;
}

/* Pagination */
.cp-pagination {
    margin-top: 50px;
}

.cp-pagination .pagination {
    gap: 6px;
}

.cp-pagination .page-link {
    border-radius: 12px !important;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.cp-pagination .page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-primary);
}

.cp-pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.cp-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 767px) {
    .cp-hero {
        padding: 110px 0 60px;
    }
    .cp-hero-title {
        font-size: 2rem;
    }
    .cp-card-actions {
        flex-direction: column;
    }
    .cp-grid-section {
        padding: 50px 0 40px;
    }
}

/* ========== CONTACT PAGE ========== */

/* Hero */
.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.contact-hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.contact-info-section .contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.contact-info-section .contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.2);
}

.contact-info-section .contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.contact-info-section .contact-info-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-info-section .contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Contact Form + Map Section */
.contact-form-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.contact-form-section .contact-form-card {
    min-height: auto;
    transform: none !important;
}

.contact-form-section .contact-form-card:hover {
    transform: none !important;
}

.contact-form-section .contact-form-card * {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.map-card-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

.map-card-wrapper:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
}

.map-card-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .map-card-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .map-card-wrapper iframe {
        height: 280px;
    }
}

/* FAQ Section */
.contact-faq-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.contact-faq-section .accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.contact-faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: 18px 22px;
    font-family: var(--font-family);
}

.contact-faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-secondary);
    color: var(--primary-color);
    box-shadow: none;
}

.contact-faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.contact-faq-section .accordion-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 18px;
}

/* Contact CTA */
.contact-cta-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.contact-cta-section .cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 180px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, .20);
}

.contact-cta-content {
    flex: 1;
}

.contact-cta-content h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-cta-content p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

.contact-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .contact-cta-section .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .contact-cta-content p {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .contact-hero { padding: 110px 0 60px; }
    .contact-hero-title { font-size: 2rem; }
}

/* ========== COURSE DETAILS PAGE ========== */

/* Curriculum Cards */
.curriculum-card {
    padding: 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.curriculum-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-color);
}

.curriculum-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gradient-primary);
}

.module-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.curriculum-header h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.curriculum-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curriculum-list li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Tech Stack Grid */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px 0;
}

.tech-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Section Spacing */
.detail-hero,
.detail-overview,
.detail-learn,
.detail-curriculum,
.detail-projects,
.detail-tools,
.detail-features,
.detail-career,
.detail-trainer,
.detail-reviews,
.detail-faq,
.detail-related,
.detail-cta {
    padding: var(--section-padding);
}

/* 1. Hero */
.detail-hero {
    background: var(--bg-secondary);
    padding-top: 120px;
}

.detail-hero .row {
    display: flex;
    align-items: stretch;
}

.detail-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    padding: 0;
    transform: none !important;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
}

.detail-hero-image .course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}


.detail-hero-info {
    padding: 30px;
    transform: none !important;
    position: sticky;
    top: 100px;
}

.detail-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 15px 0;
}

.detail-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.detail-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.detail-meta-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-meta-list li:last-child {
    border-bottom: none;
}

.detail-meta-list li i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.detail-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-pricing .price-current {
    font-size: 1.8rem;
}

.detail-pricing .price-original {
    font-size: 1rem;
}

.price-discount {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 2. Overview */
.detail-overview {
    background: var(--bg-primary);
}

.detail-overview .glass-card {
    transform: none !important;
}

.detail-overview .glass-card:hover {
    transform: none !important;
}

/* 3. What You Learn */
.detail-learn {
    background: var(--bg-secondary);
}

.learn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.learn-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.learn-item i {
    color: #16a34a;
    font-size: 1.1rem;
}

/* 4. Curriculum */
.detail-curriculum {
    background: var(--bg-primary);
}

.detail-curriculum .accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.detail-curriculum .accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: 18px 22px;
    font-family: var(--font-family);
}

.detail-curriculum .accordion-button:not(.collapsed) {
    background: var(--bg-secondary);
    color: var(--primary-color);
    box-shadow: none;
}

.detail-curriculum .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.detail-curriculum .accordion-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 18px;
}

/* 5. Projects */
.detail-projects {
    background: var(--bg-secondary);
}

.project-card {
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.project-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.project-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.project-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 6. Tools */
.detail-tools {
    background: var(--bg-primary);
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
}

.tool-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.tool-card i {
    font-size: 42px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    line-height: 1;
}

.tool-card:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

.tool-card span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
    display: block;
    text-align: center;
}

/* Tool icon specific styles */
.tool-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 42px;
}

.tool-icon-svg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tool-icon-svg svg {
    width: 100%;
    height: 100%;
    max-width: 48px;
    max-height: 48px;
}

.tool-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.tool-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.tool-card img {
    max-width: 64px;
    max-height: 64px;
}

/* Devicon specific adjustments - using attribute selectors for space-separated classes */
.tool-icon[class*="devicon-vscode"] {
    color: #007ACC;
}

.tool-icon[class*="devicon-github"] {
    color: #181717;
}

.tool-icon[class*="devicon-mysql"] {
    color: #4479A1;
}

.tool-icon[class*="devicon-postman"] {
    color: #FF6C37;
}

.tool-icon[class*="devicon-bootstrap"] {
    color: #7952B3;
}

.tool-icon[class*="devicon-react"] {
    color: #61DAFB;
}

.tool-icon[class*="devicon-php"] {
    color: #777BB4;
}

.tool-icon[class*="devicon-docker"] {
    color: #2496ED;
}

.tool-icon[class*="devicon-git"] {
    color: #F05032;
}

.tool-icon[class*="devicon-intellij"] {
    color: #FC444D;
}

.tool-icon[class*="devicon-pycharm"] {
    color: #21D789;
}

.tool-icon[class*="devicon-maven"] {
    color: #C71A36;
}

.tool-icon[class*="devicon-junit"] {
    color: #25A162;
}

.tool-icon[class*="devicon-flutter"] {
    color: #02569B;
}

.tool-icon[class*="devicon-dart"] {
    color: #0175C2;
}

.tool-icon[class*="devicon-androidstudio"] {
    color: #3DDC84;
}

.tool-icon[class*="devicon-kubernetes"] {
    color: #326CE5;
}

/* Font Awesome icons */
.tool-icon.fa-brands,
.tool-icon.fa-solid {
    font-size: 42px;
}

.tool-icon.fa-figma {
    color: #F24E1E;
}

.tool-icon.fa-chrome {
    color: #4285F4;
}

.tool-icon.fa-server {
    color: #4CAF50;
}

/* Devicon specific adjustments */
.tool-icon.devicon-vscode,
.tool-icon.devicon-vscode-line {
    color: #007ACC;
}

.tool-icon.devicon-github,
.tool-icon.devicon-github-line {
    color: #181717;
}

.tool-icon.devicon-mysql,
.tool-icon.devicon-mysql-line {
    color: #4479A1;
}

.tool-icon.devicon-postman,
.tool-icon.devicon-postman-line {
    color: #FF6C37;
}

.tool-icon.devicon-bootstrap,
.tool-icon.devicon-bootstrap-line {
    color: #7952B3;
}

.tool-icon.devicon-react,
.tool-icon.devicon-react-line {
    color: #61DAFB;
}

.tool-icon.devicon-php,
.tool-icon.devicon-php-line {
    color: #777BB4;
}

/* Font Awesome icons */
.tool-icon.fa-brands,
.tool-icon.fa-solid {
    font-size: 2.5rem;
}

.tool-icon.fa-figma {
    color: #F24E1E;
}

.tool-icon.fa-chrome {
    color: #4285F4;
}

.tool-icon.fa-server {
    color: #4CAF50;
}

/* 7. Features */
.detail-features {
    background: var(--bg-tertiary);
}

.feature-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-chip:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-chip i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 8. Career */
.detail-career {
    background: var(--bg-secondary);
}

.career-card {
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.career-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.career-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.career-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.career-salary {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 9. Trainer */
.detail-trainer {
    background: var(--bg-primary);
}

.trainer-profile {
    padding: 40px;
    transform: none !important;
}

.trainer-profile:hover {
    transform: none !important;
}

.trainer-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.trainer-role {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.trainer-exp {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trainer-exp i {
    color: #fbbf24;
    margin-right: 4px;
}

.trainer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.trainer-companies {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* 10. Reviews */
.detail-reviews {
    background: var(--bg-secondary);
}

.review-card {
    padding: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

.review-stars {
    margin-bottom: 15px;
}

.review-stars i {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-right: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.review-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-author h6 {
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.review-author small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* 11. FAQ */
.detail-faq {
    background: var(--bg-primary);
}

.detail-faq .accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.detail-faq .accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: 18px 22px;
    font-family: var(--font-family);
}

.detail-faq .accordion-button:not(.collapsed) {
    background: var(--bg-secondary);
    color: var(--primary-color);
    box-shadow: none;
}

.detail-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.detail-faq .accordion-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 18px;
}

/* 12. Related */
.detail-related {
    background: var(--bg-secondary);
}

.detail-related .course-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* 13. CTA */
.detail-cta {
    background: var(--bg-primary);
    padding-top: 0;
}

.detail-cta .cta-box {
    background: var(--gradient-primary);
    border: none;
}

.detail-cta .cta-btn {
    background: white;
    color: var(--primary-color);
}

.detail-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.detail-cta .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .detail-hero-info {
        position: static;
    }
}

@media (max-width: 767px) {
    .detail-hero,
    .detail-overview,
    .detail-learn,
    .detail-curriculum,
    .detail-projects,
    .detail-tools,
    .detail-features,
    .detail-career,
    .detail-trainer,
    .detail-reviews,
    .detail-faq,
    .detail-related {
        padding: 60px 0;
    }
    
    .detail-title {
        font-size: 1.3rem;
    }
    
    .trainer-profile {
        padding: 25px;
    }
    
    .trainer-photo {
        width: 100px;
        height: 100px;
    }
}

/* ========== ABOUT PAGE ========== */

/* 1. Hero */
.about-hero {
    min-height: 420px;
    padding: 130px 0 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Abstract Tech Shapes */
.about-hero-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.about-hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.about-hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #fff, transparent);
    top: -60px;
    right: 10%;
    animation: floatShape 8s ease-in-out infinite;
}

.about-hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255,255,255,0.2);
    bottom: 10%;
    left: 5%;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.about-hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.06);
    top: 20%;
    left: 15%;
    animation: floatShape 10s ease-in-out infinite 2s;
}

.about-hero-shapes .shape-4 {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    bottom: 15%;
    right: 15%;
    animation: floatShape 7s ease-in-out infinite 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.about-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.about-hero-sub {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Who We Are */
.about-whoweare {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.about-image-card {
    overflow: hidden;
    border-radius: 20px;
    padding: 0;
    transform: none !important;
}

.about-image-card img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.about-stat-mini {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.about-stat-mini span:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 3. Mission & Vision */
.about-mv {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.mv-card {
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.2);
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.mv-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mv-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

/* 4. Why Choose */
.about-why {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.why-choose-card {
    padding: 30px 25px;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.2);
}

.wci {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.why-choose-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.why-choose-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 5. Journey Timeline */
.about-journey {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 35px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.tl-year {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tl-content h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.tl-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 6. Achievements */
.about-achievements {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.achieve-card {
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.achieve-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.2);
}

.achieve-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.achieve-card .counter {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.achieve-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    margin-bottom: 0;
    font-weight: 500;
}

/* 7. Process */
.about-process {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.process-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.2);
}

.process-step {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(37,99,235,0.08);
    line-height: 1;
}

.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}

.process-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.process-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 8. Partners */
.about-partners {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
}

.partner-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37,99,235,0.12);
    transform: translateY(-4px);
}

.partner-card i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.partner-card span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 9. Gallery Preview */
.about-gallery {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.gallery-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview-card:hover img {
    transform: scale(1.15);
}

.gallery-preview-card .gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(37,99,235,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-preview-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-preview-card .gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.gallery-preview-card:hover .gallery-overlay i {
    transform: scale(1);
}

/* 10. CTA */
.about-cta {
    background: var(--bg-primary);
    padding: 60px 0;
}

.about-cta .cta-box {
    background: var(--gradient-primary);
    border: none;
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    min-height: 180px;
    display: flex;
    align-items: center;
}

.about-cta .cta-box .row {
    width: 100%;
    align-items: center;
}

.about-cta .cta-title {
    color: #fff;
    margin-bottom: 8px;
}

.about-cta .cta-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 60%;
}

.about-cta .cta-btn {
    background: #fff;
    color: var(--primary-color);
}

.about-cta .btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.about-cta .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

.about-cta .d-flex.gap-2 {
    gap: 16px !important;
}

/* Responsive */
@media (max-width: 767px) {
    .about-hero { padding: 110px 0 60px; }
    .about-hero-title { font-size: 2rem; }
    .about-hero-sub { font-size: 1.1rem; }
    .timeline { padding-left: 20px; }
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
}

.features-section .col-lg-3,
.features-section .col-md-6 {
    display: flex;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    min-height: 340px;
    width: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25),
                0 0 40px rgba(124, 58, 237, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-highlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-highlight {
    opacity: 1;
    width: 80px;
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon-wrapper {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon-wrapper {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 26px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(15px);
}

.feature-card:hover .feature-icon-wrapper::before {
    opacity: 0.6;
}

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-wrapper::after {
    opacity: 1;
}

.feature-icon-svg {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.feature-card:hover .feature-icon-svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.5));
}

.feature-icon-wrapper i.feature-icon-svg {
    color: #2563EB;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

/* Feature Card Border Gradient Animation */
.feature-card {
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3)) border-box;
    border: 2px solid transparent;
}

.feature-card:hover {
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(124, 58, 237, 0.8)) border-box;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    background: var(--bg-primary);
    padding: 40px 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
}

.testimonial-card {
    padding: 35px;
    height: 100%;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-author h6 {
    margin-bottom: 3px;
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-author small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: var(--bg-secondary);
    padding: 60px 0 60px;
}

.contact-info-cards {
    margin-top: 2rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 1rem;
    min-height: 120px;
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    transform: none;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-info-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form-card {
    padding: 40px;
    min-height: 420px;
    transform: none !important;
}

.contact-form-card:hover {
    transform: none !important;
}

/* Completely disable all animations/transforms/tilt inside the Contact section */
.contact-section *,
.contact-form-card,
.contact-info-card {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.contact-form-card:hover,
.contact-info-card:hover {
    transform: none !important;
}

.form-control,
.form-select {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--bg-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 8px;
}

/* Bootstrap validation styling overrides */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

textarea.form-control.is-valid,
textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #198754 !important;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15) !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Contact form textarea - resizable vertically, scrollbar only when needed */
.contact-form-card textarea#message {
    height: 140px;
    min-height: 140px;
    max-height: 250px;
    resize: vertical;
    overflow-y: auto;
}

/* ========== MEGA DROPDOWN MENU ========== */
.dropdown-menu.mega-dropdown {
    padding: 0;
    width: 700px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.dropdown-menu.mega-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown-content {
    display: flex;
    gap: 40px;
    padding: 24px;
}

.mega-dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-dropdown-column .dropdown-item {
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.mega-dropdown-column .dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(4px);
}

.mega-dropdown-column .dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.mega-dropdown-column .dropdown-item:hover i {
    color: white;
    transform: scale(1.15);
}

.dropdown-menu.mega-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mega-dropdown .row {
    margin: 0 -10px;
}

.mega-dropdown .col {
    padding: 0 10px;
}

.mega-dropdown .dropdown-item {
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

.mega-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    z-index: -1;
    border-radius: 10px;
}

.mega-dropdown .dropdown-item:hover {
    color: white;
    transform: translateX(5px);
    padding-left: 20px;
}

.mega-dropdown .dropdown-item:hover::before {
    width: 100%;
}

.mega-dropdown .dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.mega-dropdown .dropdown-item:hover i {
    transform: scale(1.2);
}

/* Dropdown Header */
.mega-dropdown-header {
    padding: 0 15px 15px;
    border-bottom: 2px solid var(--gradient-primary);
    margin-bottom: 15px;
}

.mega-dropdown-header h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown Column Headers */
.mega-dropdown .col-md-4,
.mega-dropdown .col-md-6 {
    margin-bottom: 10px;
}

.mega-dropdown .category-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

/* Responsive Mega Dropdown */
@media (max-width: 991px) {
    .mega-dropdown {
        min-width: 100%;
        left: 0 !important;
        transform: none !important;
        animation: fadeIn 0.3s ease;
        max-height: 500px;
        overflow-y: auto;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .mega-dropdown-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .mega-dropdown-column {
        width: 100%;
    }
    
    .mega-dropdown .dropdown-item {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mega-dropdown .dropdown-item:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 767px) {
    .mega-dropdown {
        max-height: 400px;
        padding: 15px;
    }
    
    .mega-dropdown-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .mega-dropdown .row {
        display: block;
    }
    
    .mega-dropdown .col-md-4,
    .mega-dropdown .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .mega-dropdown-header {
        padding: 0 10px 10px;
        margin-bottom: 10px;
    }
}

/* Dropdown Item Icons Color */
.mega-dropdown .dropdown-item i {
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.mega-dropdown .dropdown-item:hover i {
    color: white;
}

/* Active Dropdown Item */
.dropdown-item.active {
    background: var(--gradient-primary);
    color: white;
}

/* Dropdown Toggle Arrow Animation */
.nav-link.dropdown-toggle::after {
    display: none;
}

.nav-link.dropdown-toggle .bi-chevron-down {
    transition: transform var(--transition-normal);
    font-size: 0.75rem;
}

.dropdown.show .nav-link.dropdown-toggle .bi-chevron-down {
    transform: rotate(180deg);
}


/* Scrollbar for Mega Dropdown */
.mega-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mega-dropdown::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.mega-dropdown::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.mega-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animation Customization */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ========== HAMBURGER BUTTON ========== */
.hamburger-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 2px solid rgba(31, 41, 55, 0.2);
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(31, 41, 55, 0.3);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #1F2937;
    border-radius: 2px;
    transition: var(--transition-normal);
}


/* ========== MOBILE OVERLAY ========== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== MODAL POPUP ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-popup {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal-overlay.active .modal-popup {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.modal-message {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-close-btn {
    padding: 14px 40px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

/* Modal Responsive */
@media (max-width: 767px) {
    .modal-popup {
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-message {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .modal-popup {
        padding: 25px 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-message {
        font-size: 0.9rem;
    }
}

/* ========== MOBILE OFF-CANVAS MENU ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 75vw;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow: hidden;
}

.mobile-menu.active {
    right: 0;
}

/* Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-menu-logo .brand-logo {
    height: 36px;
    width: auto;
    margin-right: 10px;
}

.mobile-menu-logo .brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f1f5f9;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: #e2e8f0;
    color: #1F2937;
}

/* Menu Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563EB;
}

.mobile-nav-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border-left: 3px solid #2563EB;
}

/* Menu Footer */
.mobile-menu-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.mobile-menu-footer .btn-gradient {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* ========== HIDE DESKTOP NAV ELEMENTS ON MOBILE ========== */
@media (max-width: 991px) {
    .navbar-collapse .d-flex {
        display: none !important;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero-section {
        background-size: 55% auto;
        background-position: 80% center;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.2rem; }
    
    :root {
        --section-padding: 70px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
        background-size: 50% auto;
        background-position: 85% center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-section {
        margin-top: 0;
    }
    
    .stat-content .counter {
        font-size: 2rem;
    }
    
    .hero-stats-mini {
        gap: 2rem;
    }
    
    .nav-link {
        color: var(--text-primary) !important;
        padding: 0.75rem 1rem !important;
    }
    
    .btn-outline-light {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
    
    .btn-outline-light:hover {
        color: white;
    }
    
    .contact-cta-section .cta-box,
    .testimonials-cta-section .cta-box,
    .careers-cta-section .cta-box,
    .gallery-cta-section .cta-box {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-cta-content p,
    .testimonials-cta-section .cta-content p,
    .careers-cta-section .cta-content p,
    .gallery-cta-section .cta-content p {
        max-width: 100%;
    }
    
    .detail-hero-info {
        position: static !important;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.1rem; }
    
    /* Hero Section */
    .hero-section {
        background: #ffffff !important;
        min-height: auto;
        padding: 0;
        background-image: none !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-section .container {
        padding-top: 100px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }
    
    .hero-stats-mini {
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .stat-mini {
        flex: 1;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Statistics Section */
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-card {
        margin-bottom: 0;
        padding: 20px 15px;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .stat-content .counter {
        font-size: 1.6rem;
    }
    
    .stat-content .suffix {
        font-size: 1.1rem;
    }
    
    .stat-content p {
        font-size: 0.8rem;
    }
    
    /* Course Cards */
    .course-card {
        margin-bottom: 0;
    }
    
    .course-content {
        padding: 20px;
    }
    
    .course-content h4 {
        font-size: 1.1rem;
    }
    
    .course-content p {
        font-size: 0.85rem;
    }
    
    .course-meta {
        font-size: 0.75rem;
        gap: 12px;
    }
    
    .course-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    /* Feature Cards */
    .features-section {
        padding: 40px 0 10px;
    }
    
    .feature-card {
        margin-bottom: 0;
        padding: 30px 20px;
        min-height: auto;
    }
    
    .feature-card h5 {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 18px;
    }
    
    .feature-icon-svg {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 30px 0 10px;
    }
    
    .testimonial-card {
        padding: 25px;
        margin-bottom: 0;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-author h6 {
        font-size: 0.85rem;
    }
    
    /* Gallery */
    .gallery-section {
        padding: 30px 0 10px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .contact-info-card {
        padding: 20px;
        min-height: auto;
    }
    
    .contact-info-card h6 {
        font-size: 0.95rem;
    }
    
    .contact-info-card p {
        font-size: 0.85rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Contact CTA */
    .contact-cta-content h2,
    .testimonials-cta-section .cta-content h2,
    .careers-cta-section .cta-content h2 {
        font-size: 1.5rem !important;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    /* Hide horizontal overflow */
    .mobile-menu.active ~ * {
        overflow: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* iPhone 14 Pro Max (430px) and smaller */
@media (max-width: 430px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats-mini {
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .stat-content .counter {
        font-size: 1.4rem;
    }
    
    .stat-content .suffix {
        font-size: 1rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-svg {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }
    
    .feature-card {
        padding: 25px 16px;
    }
    
    .feature-card h5 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .course-content h4 {
        font-size: 1rem;
    }
    
    .course-content p {
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .contact-form-card {
        padding: 20px 15px;
    }
}

/* iPhone SE (375px) and smaller */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .stat-content .counter {
        font-size: 1.2rem;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .brand-logo {
        height: 35px;
    }
    
    .courses-section .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .row.g-4 {
        --bs-gutter-x: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* 320px (very small phones) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .brand-logo {
        height: 30px;
        margin-right: 8px;
    }
    
    .navbar-brand {
        max-width: 60%;
    }
}

/* ========== ENROLLMENT PAGE - DISABLE ALL ANIMATIONS ========== */
/* Ensure enrollment form is completely stable with no movement */
.enrollment-section .glass-card,
.enrollment-section .form-section,
.enrollment-section .sidebar-card,
.enrollment-section .course-summary-image,
.enrollment-section .help-item,
.enrollment-section .success-card,
.enrollment-section .next-step,
.enrollment-section .step-number {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Disable hover transforms on enrollment page */
.enrollment-section .glass-card:hover,
.enrollment-section .form-section:hover,
.enrollment-section .sidebar-card:hover,
.enrollment-section .course-summary-image:hover,
.enrollment-section .help-item:hover {
    transform: none !important;
    animation: none !important;
}

/* Keep only box-shadow and border-radius on hover for glass cards */
.enrollment-section .glass-card:hover {
    box-shadow: var(--glass-shadow) !important;
}

/* Disable button hover transforms on enrollment page */
.enrollment-section .btn-gradient:hover,
.enrollment-section .btn-outline-secondary:hover,
.enrollment-section .btn-outline-primary:hover {
    transform: none !important;
    animation: none !important;
}

/* Keep button box-shadow but remove movement */
.enrollment-section .btn-gradient:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

/* Disable all icon animations */
.enrollment-section i,
.enrollment-section .bi,
.enrollment-section .feature-icon-svg,
.enrollment-section .help-icon {
    animation: none !important;
    transform: none !important;
}

/* Disable AOS animations on enrollment page */
.enrollment-section [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Disable form input animations */
.enrollment-section .form-control,
.enrollment-section .form-select,
.enrollment-section .form-label {
    transform: none !important;
    animation: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Success page - also disable all animations */
.success-section .glass-card,
.success-section .success-icon,
.success-section .next-step,
.success-section .step-number,
.success-section .btn-gradient,
.success-section .btn-outline-primary {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.success-section .glass-card:hover {
    box-shadow: var(--glass-shadow) !important;
}

.success-section .btn-gradient:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

.success-section i,
.success-section .bi {
    animation: none !important;
    transform: none !important;
}

/* Tablet (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
        background-size: 50% auto;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .stat-content .counter {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .contact-form-card {
        padding: 30px;
    }
}

/* Statistics - 1 col on phones, 2 on tablets, 3 on desktop */
@media (max-width: 575px) {
    .stats-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .stats-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== SELECTION STYLING ========== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ========== LOADING ANIMATION ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== UTILITY ANIMATIONS ========== */
.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Smooth Image Loading */
img {
    opacity: 1;
    transition: opacity var(--transition-normal);
}

img[src=""] {
    opacity: 0;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .glass-card {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   GALLERY PAGE
   ============================================ */

/* ========== 1. HERO SECTION ========== */
.gallery-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.gallery-hero .container {
    position: relative;
    z-index: 2;
}

.gallery-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.gallery-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
}

/* ========== 2. GALLERY SECTION BLOCKS ========== */
.gallery-section-block {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.gallery-section-block.alt-bg {
    background: var(--bg-secondary);
}

.gallery-section-title {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.gallery-title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 999px;
    margin: 0 auto 40px;
}

.gallery-block-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-block-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
    transform: translateY(-4px);
}

.gallery-block-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-block-card:hover img {
    transform: scale(1.08);
}

/* Gallery overlay */
.gallery-block-card .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(124, 58, 237, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-block-card .gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-block-card:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
}

.gallery-block-card:hover .gallery-overlay i {
    transform: scale(1);
}

/* ========== 4. LIGHTBOX ========== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-details {
    margin-top: 18px;
    text-align: center;
}

.lightbox-details h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lightbox-details span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== 5. GALLERY CTA ========== */
.gallery-cta-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.gallery-cta-section .cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 60px 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 180px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
    border: none;
    backdrop-filter: none;
}

.gallery-cta-section .cta-content {
    flex: 1;
}

.gallery-cta-section .cta-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-cta-section .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0;
}

.gallery-cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-cta-section .btn-gradient {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-cta-section .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.gallery-cta-section .btn-gradient::before {
    display: none;
}

.gallery-cta-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-cta-section .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Force CTA box to remain completely static - no tilt, no transforms */
.gallery-cta-section .cta-box,
.gallery-cta-section .cta-box:hover,
.gallery-cta-section .cta-box:focus,
.gallery-cta-section .cta-box:active {
    transform: none !important;
    animation: none !important;
    transition: box-shadow 0.3s ease;
}

/* ========== PAGE HEADER (Privacy Policy) ========== */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    padding: 220px 0 180px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-content {
    color: white;
}

.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header-badge i {
    color: #fbbf24;
}

.page-header-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.page-header-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.page-header-meta i {
    color: #fbbf24;
}

/* Page Header Responsive Heights */
@media (max-width: 991px) {
    .page-header {
        padding: 180px 0 150px;
    }
    
    .page-header-title {
        font-size: 2.5rem;
    }
    
    .page-header-subtitle {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 150px 0 120px;
    }
    
    .page-header-title {
        font-size: 2rem;
    }
    
    .page-header-subtitle {
        font-size: 1rem;
    }
    
    .page-header-badge {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
    
    .page-header-meta {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 575px) {
    .page-header {
        padding: 140px 0 110px;
    }
    
    .page-header-title {
        font-size: 1.75rem;
    }
    
    .page-header-subtitle {
        font-size: 0.95rem;
    }
}

/* ========== PRIVACY POLICY SECTION ========== */
.policy-section {
    background: var(--bg-secondary);
    padding: 60px 0 100px;
}

.last-updated-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.last-updated-hero i {
    color: #fbbf24;
}

.policy-section-item {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.policy-section-item:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.policy-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gradient-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2rem;
}

.policy-section-content {
    color: var(--text-secondary);
}

.policy-section-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.policy-note {
    background: rgba(37, 99, 235, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 18px 22px;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.policy-note p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.company-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-detail .contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail div {
    flex: 1;
}

.contact-detail strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-detail p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.last-updated {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.last-updated i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.last-updated strong {
    color: var(--text-primary);
}

/* Contact Cards for Privacy Policy */
.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
    border-color: var(--primary-color);
}

.contact-card-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.contact-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Policy Notice Section */
.policy-notice {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.policy-notice-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

.notice-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.notice-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 500;
}

/* Policy Notice Responsive */
@media (max-width: 767px) {
    .policy-notice-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    .notice-text {
        font-size: 0.95rem;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .gallery-hero {
        padding: 140px 0 80px;
    }
    .gallery-hero-title {
        font-size: 2.5rem;
    }
    .gallery-cta-section .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 45px 30px;
    }
    .gallery-cta-section .cta-content p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .gallery-hero {
        padding: 120px 0 60px;
    }
    .gallery-hero-title {
        font-size: 1.8rem;
    }
    .gallery-hero-desc {
        font-size: 1rem;
    }
    .gallery-cta-section .cta-box {
        padding: 35px 20px;
    }
    .gallery-cta-section .cta-content h2 {
        font-size: 1.5rem;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 575px) {
    .gallery-hero-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   CAREERS PAGE
   ============================================ */

/* ========== 1. HERO SECTION ========== */
.careers-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.careers-hero .container {
    position: relative;
    z-index: 2;
}

.careers-hero-title {
    font-size: 60px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.careers-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========== 2. WHY JOIN US ========== */
.why-join-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.benefit-card {
    padding: 35px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.benefit-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.15rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========== 3. CURRENT OPENINGS ========== */
.openings-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.job-card {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.job-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.job-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.job-card .btn-gradient {
    margin-top: auto;
}

/* ========== 4. HIRING PROCESS ========== */
.process-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 60px 0 40px;
}

/* Horizontal line using ::before pseudo-element */
.process-timeline::before {
    content: "";
    position: absolute;
    left: 36px;
    right: 36px;
    top: 50%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.process-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
    transition: all 0.4s ease;
    position: relative;
    border: 4px solid #fff;
}

.process-step:hover .process-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.process-step h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 15px;
    font-size: 1rem;
}

/* Mobile: Vertical Timeline */
@media (max-width: 991px) {
    .process-timeline {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .process-icon-wrapper {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }
    
    .process-step h6 {
        margin-top: 20px;
        text-align: left;
    }
}

/* ========== 5. EMPLOYEE BENEFITS ========== */
.benefits-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

/* ========== 6. APPLY NOW ========== */
.apply-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.application-form {
    padding: 40px;
    transform: none !important;
    transition: none !important;
}

.application-form:hover {
    transform: none !important;
}

/* Force application form to be perfectly straight */
.apply-section .application-form,
.apply-section .application-form:hover,
.apply-section .application-form:focus,
.apply-section .application-form:active {
    transform: none !important;
    animation: none !important;
    transition: box-shadow 0.3s ease !important;
}

.application-form .form-floating {
    margin-bottom: 1rem;
}

.application-form .form-control,
.application-form .form-select {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-fast);
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--bg-secondary);
}

.application-form label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.application-form .btn-gradient {
    margin-top: 1rem;
}

/* ========== 7. FAQ ========== */
.faq-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.faq-section .accordion-item {
    border: 2px solid var(--border-color);
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg-primary);
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: 18px 22px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-secondary);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 18px;
}

/* ========== 8. FINAL CTA ========== */
.careers-cta-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.careers-cta-section .cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 60px 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 180px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
    border: none;
    backdrop-filter: none;
}

.careers-cta-section .cta-content {
    flex: 1;
}

.careers-cta-section .cta-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.careers-cta-section .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0;
}

.careers-cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.careers-cta-section .btn-gradient {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.careers-cta-section .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.careers-cta-section .btn-gradient::before {
    display: none;
}

.careers-cta-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.careers-cta-section .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Force CTA box to remain completely static - no tilt, no transforms */
.careers-cta-section .cta-box,
.careers-cta-section .cta-box:hover,
.careers-cta-section .cta-box:focus,
.careers-cta-section .cta-box:active {
    transform: none !important;
    animation: none !important;
    transition: box-shadow 0.3s ease;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .careers-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    .careers-hero-title {
        font-size: 48px;
    }
    .process-line {
        display: none;
    }
    .process-step {
        margin-bottom: 30px;
    }
    .process-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    .careers-cta-section .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 45px 30px;
    }
    .careers-cta-section .cta-content p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .careers-hero {
        padding: 120px 0 60px;
    }
    .careers-hero-title {
        font-size: 36px;
    }
    .careers-hero-desc {
        font-size: 1rem;
    }
    .application-form {
        padding: 25px;
    }
    .careers-cta-section .cta-box {
        padding: 35px 20px;
    }
    .careers-cta-section .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .careers-hero-title {
        font-size: 32px;
    }
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */

/* ========== 1. HERO SECTION ========== */
.testimonials-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #fff;
    top: -50px;
    left: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #fff;
    top: 60%;
    right: -60px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: 10%;
    left: 15%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #fff;
    top: 15%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(20px, -20px) scale(1.05) rotate(270deg);
    }
}

/* Floating Quote Icons */
.floating-quotes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-quote {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.12);
    animation: quoteFloat 8s ease-in-out infinite;
}

.q1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.q2 {
    top: 25%;
    right: 12%;
    animation-delay: -2s;
    font-size: 3.5rem;
}

.q3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

.q4 {
    bottom: 30%;
    right: 8%;
    animation-delay: -6s;
    font-size: 3rem;
}

@keyframes quoteFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
        opacity: 0.12;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.2;
    }
}

.testimonials-hero .container {
    position: relative;
    z-index: 3;
}

.testimonials-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.testimonials-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 2. VIDEO TESTIMONIALS ========== */
.video-testimonials-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.video-testimonial-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2), 0 0 40px rgba(37, 99, 235, 0.08);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-tertiary);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-testimonial-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-testimonial-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.video-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-content h5 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.video-course {
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.video-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    flex: 1;
    font-style: italic;
}

/* ========== 3. STUDENT REVIEWS ========== */
.student-reviews-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.student-reviews-section .review-card {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.student-reviews-section .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.review-course {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.review-company {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.review-company i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-right: 1px;
}

.student-reviews-section .review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

/* ========== 4. SUCCESS STATISTICS ========== */
.testimonials-stats-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.testi-stat-card {
    padding: 35px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
}

.testi-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testi-stat-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}

.testi-stat-content {
    color: #fff;
}

.testi-stat-content .testi-counter {
    font-size: 2.5rem;
    font-weight: 800;
    display: inline;
}

.testi-stat-content .testi-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.testi-stat-content p {
    margin-top: 8px;
    margin-bottom: 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ========== 5. PLACEMENT COMPANIES ========== */
.placement-companies-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
    overflow: hidden;
}

.company-slider-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.company-slider {
    display: flex;
    gap: 40px;
    animation: scrollCompanies 25s linear infinite;
    width: max-content;
}

.company-slider:hover {
    animation-play-state: paused;
}

.company-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-placeholder-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.company-placeholder-logo:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

@keyframes scrollCompanies {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== 6. SUCCESS JOURNEY TIMELINE ========== */
.success-journey-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.timeline-wrapper {
    position: relative;
    padding: 40px 0 20px;
}

.timeline-line {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    z-index: 0;
}

.journey-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.journey-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
}

.journey-step:hover .journey-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.journey-step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.journey-content h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.journey-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ========== 7. FINAL CTA ========== */
.testimonials-cta-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.testimonials-cta-section .cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 60px 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 180px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
    border: none;
    backdrop-filter: none;
}

.testimonials-cta-section .cta-content {
    flex: 1;
}

.testimonials-cta-section .cta-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.testimonials-cta-section .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0;
}

.testimonials-cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonials-cta-section .btn-gradient {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.testimonials-cta-section .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.testimonials-cta-section .btn-gradient::before {
    display: none;
}

.testimonials-cta-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.testimonials-cta-section .btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Force CTA box to remain completely static - no tilt, no transforms, no animations */
.testimonials-cta-section .cta-box,
.testimonials-cta-section .cta-box:hover,
.testimonials-cta-section .cta-box:focus,
.testimonials-cta-section .cta-box:active {
    transform: none !important;
    animation: none !important;
    transition: box-shadow 0.3s ease;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .testimonials-hero {
        padding: 140px 0 80px;
    }
    .testimonials-hero-title {
        font-size: 2.5rem;
    }
    .timeline-line {
        display: none;
    }
    .journey-step {
        margin-bottom: 20px;
    }
    .journey-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    .testimonials-cta-section .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 45px 30px;
    }
    .testimonials-cta-section .cta-content p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .testimonials-hero {
        padding: 120px 0 60px;
    }
    .testimonials-hero-title {
        font-size: 1.8rem;
    }
    .testimonials-hero-desc {
        font-size: 1rem;
    }
    .video-testimonial-card {
        max-width: 450px;
        margin: 0 auto;
    }
    .student-reviews-section .review-card {
        padding: 22px;
    }
    .review-card-header {
        flex-direction: column;
        text-align: center;
    }
    .review-photo {
        width: 50px;
        height: 50px;
    }
    .testi-stat-card {
        padding: 25px 15px;
    }
    .testi-stat-content .testi-counter {
        font-size: 2rem;
    }
    .company-placeholder-logo {
        width: 120px;
        height: 65px;
        font-size: 0.85rem;
    }
    .testimonials-cta-section .cta-box {
        padding: 35px 20px;
    }
    .testimonials-cta-section .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .testimonials-hero-title {
        font-size: 1.5rem;
    }
    .hero-shape {
        display: none;
    }
    .floating-quote {
        display: none;
    }
    .company-slider {
        gap: 25px;
    }
    .company-placeholder-logo {
        width: 100px;
        height: 55px;
        font-size: 0.75rem;
    }
}
/* ===== FINAL MEGA DROPDOWN FIX ===== */

.navbar .nav-item.dropdown{
    position: relative;
}

.navbar .dropdown-menu.mega-dropdown{
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%) translateY(-8px);

    width:700px;
    max-width:90vw;

    margin:0;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    display:block;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.navbar .dropdown-menu.mega-dropdown.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
}
