/* ============================================
   GLOBAL VARIABLES & RESET
   ============================================ */
:root {
    --primary: #6c63ff;
    --primary-dark: #3F3D9E;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --muted: #6c6c8a;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-1: linear-gradient(135deg, #6c63ff, #3F3D9E);
    --nav-height: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RAINBOW TEXT ANIMATION
   ============================================ */
.rainbow-text {
    color: #6c63ff;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1, #5f27cd, #f368e0, #ff6b6b);
    background-size: 300% 100%;
    background-repeat: repeat-x;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: rainbowMove 6s linear infinite;
}

@keyframes rainbowMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.navbar-custom .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--primary);
}

.navbar-brand span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-nav-primary {
    background: var(--gradient-1);
    color: #fff;
}

.btn-nav-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-nav-outline {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.hero-text-wrapper {
    max-width: 580px;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    padding: 10px 28px 10px 22px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.badge-modern i {
    font-size: 1.1rem;
    color: #fcd34d;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
}

.badge-modern:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-hero i {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.btn-hero:hover i {
    transform: translateX(4px) scale(1.1);
}

.btn-hero.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.35);
}

.btn-hero.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(108, 99, 255, 0.5);
}

.btn-hero.btn-primary:hover::after {
    opacity: 1;
}

.btn-hero.btn-primary:active {
    transform: scale(0.97);
}

.btn-hero.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    backdrop-filter: blur(8px);
}

.btn-hero.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-secondary:active {
    transform: scale(0.97);
}

.btn-hero.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #e2e8f0;
    backdrop-filter: blur(4px);
}

.btn-hero.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-hero.btn-outline:active {
    transform: scale(0.97);
}

/* HERO BUTTON VARIANTS */
.btn-hero.btn-solid-white {
    background: #ffffff;
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}
.btn-hero.btn-solid-white:hover {
    background: #f0f0f0;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-hero.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}
.btn-hero.btn-success:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-hero.btn-accent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.btn-hero.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 400;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

.hero-image-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: floatCard 4s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card i {
    font-size: 20px;
    color: var(--secondary);
}

.card-1 { top: 5%; left: -8%; animation-delay: 0s; }
.card-2 { top: 40%; right: -10%; animation-delay: 1.2s; }
.card-3 { bottom: 10%; left: -6%; animation-delay: 2.4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: #f8f9fe;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-box .number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-box .label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}

/* ============================================
   VISION & MISSION
   ============================================ */
.vision-mission-section {
    padding: 80px 0;
    background: #fff;
}

.vm-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: #f8f9fe;
    height: 100%;
    transition: 0.3s;
    border-left: 5px solid var(--primary);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.vm-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.vm-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.vm-card p {
    color: var(--muted);
    line-height: 1.8;
}

/* ============================================
   CORE VALUES
   ============================================ */
.values-section {
    padding: 80px 0;
    background: #f8f9fe;
}

.value-card {
    text-align: center;
    padding: 35px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.value-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   CHOOSE A PROGRAM
   ============================================ */
.program-list-section {
    padding: 80px 0;
    background: #f8f9fe;
}

.program-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: 0.3s;
}

.program-item:last-child {
    border-bottom: none;
}

.program-item:hover {
    transform: translateX(6px);
}

.program-item .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
    transition: 0.3s;
}

.program-item:hover .icon {
    transform: scale(1.05) rotate(-3deg);
}

.program-item .content h4 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.program-item .content p {
    color: #6c6c8a;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   OUR CLASSES TABS
   ============================================ */
.classes-tabs {
    padding: 80px 0;
    background: #ffffff;
}

.classes-tabs .nav-tabs {
    border: none;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 8px;
}

.classes-tabs .nav-tabs .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6c6c8a;
    background: #f1f5f9;
    transition: 0.3s;
}

.classes-tabs .nav-tabs .nav-link.active,
.classes-tabs .nav-tabs .nav-link:hover {
    background: var(--gradient-1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.classes-tabs .tab-pane {
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.classes-tabs .tab-pane img {
    border-radius: 16px;
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.classes-tabs .tab-pane h4 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.classes-tabs .tab-pane p {
    color: #6c6c8a;
    line-height: 1.9;
    font-size: 1rem;
}

/* ============================================
   SCHEDULE TABLE
   ============================================ */
.schedule-section {
    padding: 80px 0;
    background: #0f172a;
    color: #fff;
}

.schedule-section .section-title {
    color: #fff;
}

.schedule-section .section-description {
    color: #94a3b8;
}

.schedule-section .section-subtitle {
    color: var(--primary) !important;
}

.schedule-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.04);
    min-width: 700px;
}

.schedule-table th,
.schedule-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.schedule-table th {
    background: rgba(108, 99, 255, 0.15);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.schedule-table td {
    color: #e2e8f0;
}

.schedule-table .day-time {
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.schedule-table tr:hover td {
    background: rgba(255,255,255,0.03);
}

/* ============================================
   COURSE CARDS (Enhanced)
   ============================================ */
.programmes-section {
    padding: 80px 0;
    background: #f8f9fe;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

/* Free vs Paid Badges */
.course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.course-badge.free {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.course-badge.paid {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.55rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.duration-badge i {
    font-size: 0.7rem;
}

/* Course Body */
.course-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-level {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.course-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.course-description {
    color: #6c6c8a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-course {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-course:hover {
    gap: 14px;
    color: var(--primary-dark);
}

.btn-course i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.btn-course:hover i {
    transform: translateX(4px);
}

.course-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.course-card:hover .course-icon {
    background: var(--gradient-1);
    color: white;
}

/* ============================================
   VIEW ALL BUTTON
   ============================================ */
.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    border-radius: 50px;
    background: var(--gradient-1);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.45);
    color: #fff;
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-btn {
    border-radius: 50px !important;
    padding: 6px 22px !important;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* ============================================
   TRAINERS
   ============================================ */
.trainers-section {
    padding: 80px 0;
    background: #f8f9fe;
}

.trainer-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trainer-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.5s;
}

.trainer-card:hover img {
    transform: scale(1.05);
}

.trainer-card .trainer-body {
    padding: 28px 24px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trainer-card .trainer-body span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.trainer-card .trainer-body h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 8px 0 4px;
    color: #1a1a2e;
}

.trainer-card .trainer-body p {
    color: #6c6c8a;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.trainer-card .trainer-body .social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.trainer-card .trainer-body .social-icons a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: 0.3s;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.04);
}

.trainer-card .trainer-body .social-icons a:hover {
    color: #fff;
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* ============================================
   CALL TO ACTION
   ============================================ */
.cta-section-custom {
    padding: 80px 0;
    background: var(--gradient-1);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.cta-section-custom h2 {
    font-size: 2.6rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section-custom h2 em {
    color: #fcd34d;
    font-style: normal;
}

.cta-section-custom p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 20px auto 30px;
    position: relative;
    z-index: 1;
}

.btn-cta-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 50px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.btn-cta-custom:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    color: var(--primary-dark);
}

/* ============================================
   REQUEST CALL BACK
   ============================================ */
.request-callback {
    padding: 40px 0;
    background: var(--gradient-1);
    color: #fff;
}

.request-callback h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.request-callback span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.request-callback .border-button {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.request-callback .border-button:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ============================================
   MAP
   ============================================ */
.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ============================================
   CAROUSEL / GALLERY
   ============================================ */
.carousel-section {
    padding: 40px 0;
}

.carousel-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 40px 20px 20px;
    color: white;
}

.carousel-caption-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.carousel-caption-content p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    margin: 0 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: -30px;
}

.carousel-indicators button {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    margin: 0 4px;
}

.carousel-indicators .active {
    background: var(--primary);
}

/* ============================================
   ADMISSIONS STEP CARDS - EQUAL HEIGHTS
   ============================================ */
.admissions-section .step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-description {
    color: #6c6c8a;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 1.2rem;
    transition: 0.3s;
    margin-right: 10px;
}

.footer .social-icons a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.footer .footer-bottom span {
    color: var(--primary);
}

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ----- Tablet (max-width: 992px) ----- */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: 0.4s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-links.open {
        transform: translateY(0);
    }
    .hamburger {
        display: flex;
    }
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .hero-section {
        padding: 100px 0 40px;
        min-height: auto;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-text-wrapper {
        max-width: 100%;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image-wrapper {
        margin-top: 30px;
    }
    .floating-card {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
    .card-1 { top: 2%; left: -2%; }
    .card-2 { top: 35%; right: -4%; }
    .card-3 { bottom: 6%; left: -2%; }

    .section-title {
        font-size: 2.2rem;
    }
    .btn-hero {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .features-premium-section {
        padding: 70px 0;
    }
    .premium-upgrade {
        padding: 30px 22px;
    }
    .premium-upgrade .feature-number {
        font-size: 32px;
    }

    /* New sections */
    .program-item .icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .classes-tabs .tab-pane img {
        height: 220px;
    }
    .trainer-card img {
        height: 250px;
    }
    .cta-section-custom h2 {
        font-size: 2.2rem;
    }
}

/* ----- Small Tablet (max-width: 768px) ----- */
@media (max-width: 768px) {
    .carousel-image-wrapper {
        height: 250px;
        border-radius: 8px;
    }
    .carousel-caption-content h3 {
        font-size: 18px;
    }
    .carousel-caption-content p {
        font-size: 12px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer {
        padding: 40px 0 20px;
    }
    .footer .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .course-image {
        height: 180px;
    }
    .course-body {
        padding: 16px 18px 18px;
    }
    .course-title {
        font-size: 1rem;
    }
    .course-description {
        font-size: 0.85rem;
    }

    /* New sections */
    .program-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .program-item .icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .classes-tabs .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 8px 18px;
    }
    .classes-tabs .tab-pane img {
        height: 180px;
    }
    .schedule-table th,
    .schedule-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .request-callback .row {
        text-align: center;
    }
    .request-callback .border-button {
        margin-top: 12px;
    }
    .cta-section-custom h2 {
        font-size: 1.8rem;
    }
    .cta-section-custom p {
        font-size: 1rem;
    }
    .btn-cta-custom {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    .trainer-card img {
        height: 220px;
    }
    .map-section iframe {
        height: 300px;
    }
}

/* ----- Mobile (max-width: 576px) ----- */
@media (max-width: 576px) {
    .navbar-custom {
        padding: 0 1rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .navbar-brand i {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .badge-modern {
        font-size: 0.8rem;
        padding: 6px 18px 6px 14px;
    }
    .badge-modern i {
        font-size: 1rem;
    }

    .carousel-image-wrapper {
        height: 200px;
    }
    .carousel-overlay {
        padding: 20px 15px 15px;
    }
    .carousel-caption-content h3 {
        font-size: 16px;
    }

    .premium-upgrade {
        padding: 24px 18px;
    }
    .premium-upgrade .feature-number {
        font-size: 28px;
        top: 12px;
        right: 12px;
    }
    .premium-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .premium-upgrade .feature-title {
        font-size: 1.1rem;
    }
    .premium-upgrade .feature-description {
        font-size: 0.85rem;
    }
    .features-premium-section {
        padding: 50px 0;
    }

    .course-image {
        height: 160px;
    }
    .course-badge {
        font-size: 0.5rem;
        padding: 2px 8px;
        top: 8px;
        left: 8px;
    }
    .duration-badge {
        font-size: 0.5rem;
        padding: 2px 8px;
        bottom: 8px;
        right: 8px;
    }
    .course-level {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
    .btn-view-all {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    .filter-btn {
        font-size: 0.7rem;
        padding: 4px 12px !important;
    }

    .footer {
        text-align: center;
    }
    .footer .social-icons {
        justify-content: center;
    }
    .footer .footer-bottom {
        font-size: 0.8rem;
    }

    /* New sections */
    .program-item {
        padding: 14px 0;
    }
    .program-item .icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .program-item .content h4 {
        font-size: 1rem;
    }
    .program-item .content p {
        font-size: 0.85rem;
    }
    .classes-tabs .nav-tabs .nav-link {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
    .classes-tabs .tab-pane img {
        height: 150px;
    }
    .classes-tabs .tab-pane h4 {
        font-size: 1.1rem;
    }
    .classes-tabs .tab-pane p {
        font-size: 0.9rem;
    }
    .schedule-table th,
    .schedule-table td {
        padding: 8px 10px;
        font-size: 0.7rem;
    }
    .schedule-table .day-time {
        font-size: 0.75rem;
    }
    .trainer-card img {
        height: 200px;
    }
    .trainer-card .trainer-body {
        padding: 20px 16px;
    }
    .trainer-card .trainer-body h4 {
        font-size: 1rem;
    }
    .trainer-card .trainer-body p {
        font-size: 0.8rem;
    }
    .request-callback h4 {
        font-size: 1.1rem;
    }
    .request-callback span {
        font-size: 0.85rem;
    }
    .request-callback .border-button {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
    .cta-section-custom {
        padding: 50px 0;
    }
    .cta-section-custom h2 {
        font-size: 1.5rem;
    }
    .btn-cta-custom {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .map-section iframe {
        height: 200px;
    }
}

/* ----- Extra Small (max-width: 400px) ----- */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .btn-hero {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .floating-card {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    .floating-card i {
        font-size: 12px;
    }
    .card-1 { top: 0%; left: -2%; }
    .card-2 { top: 30%; right: -4%; }
    .card-3 { bottom: 4%; left: -2%; }
}

/* ----- Landscape Phones (max-height: 600px) ----- */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 20px;
        min-height: auto;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-content {
        padding: 10px 0;
    }
    .hero-image-wrapper {
        margin-top: 10px;
    }
    .floating-card {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .floating-card i {
        font-size: 14px;
    }
    .hero-stats {
        gap: 15px;
    }
    .stat-number {
        font-size: 1.2rem;
    }
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark {
    --light: #1a1a2e;
    --dark: #f1f5f9;
    --muted: #94a3b8;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #1a1a2e;
    color: #e2e8f0;
}

body.dark .navbar-custom {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark .premium-upgrade {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark .premium-upgrade .feature-title {
    color: #f1f5f9;
}
body.dark .premium-upgrade .feature-description {
    color: #94a3b8;
}

body.dark .course-card {
    background: #1e293b;
}
body.dark .course-card .course-title {
    color: #f1f5f9;
}
body.dark .course-card .course-description {
    color: #94a3b8;
}
body.dark .course-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}
body.dark .course-icon {
    background: rgba(255, 255, 255, 0.06);
}
body.dark .course-card:hover .course-icon {
    background: var(--gradient-1);
}

body.dark .filter-btn {
    color: #94a3b8 !important;
    border-color: #334155 !important;
}
body.dark .filter-btn:hover,
body.dark .filter-btn.active {
    background: var(--gradient-1) !important;
    color: white !important;
    border-color: transparent !important;
}

body.dark .footer {
    background: #0f172a;
}

body.dark .card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
body.dark .card .card-title,
body.dark .card h4,
body.dark .card h5 {
    color: #f1f5f9;
}
body.dark .card p,
body.dark .card .text-muted {
    color: #94a3b8;
}

body.dark .form-control {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}
body.dark .form-control:focus {
    background: #1e293b;
    border-color: var(--primary);
    color: #f1f5f9;
}

body.dark .page-item .page-link {
    background: #1e293b;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}
body.dark .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

body.dark .breadcrumb-item a {
    color: var(--primary);
}
body.dark .breadcrumb-item.active {
    color: #94a3b8;
}

body.dark .section-title {
    color: #f1f5f9;
}
body.dark .section-description {
    color: #94a3b8;
}

body.dark .feature-number {
    color: rgba(255, 255, 255, 0.05);
}

body.dark .carousel-control-prev,
body.dark .carousel-control-next {
    background: rgba(0, 0, 0, 0.7);
}
body.dark .carousel-control-prev:hover,
body.dark .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Dark Mode – About */
body.dark .about-section {
    background: #1a1a2e;
}
body.dark .stat-box {
    background: #1e293b;
}
body.dark .stat-box .label {
    color: #94a3b8;
}

/* Dark Mode – Vision & Mission */
body.dark .vision-mission-section {
    background: #1a1a2e;
}
body.dark .vm-card {
    background: #1e293b;
}
body.dark .vm-card p {
    color: #94a3b8;
}

/* Dark Mode – Core Values */
body.dark .values-section {
    background: #1a1a2e;
}
body.dark .value-card {
    background: #1e293b;
}
body.dark .value-card p {
    color: #94a3b8;
}

/* Dark Mode – Choose a Program */
body.dark .program-list-section {
    background: #1a1a2e;
}
body.dark .program-item {
    border-bottom-color: rgba(255,255,255,0.06);
}
body.dark .program-item .content h4 {
    color: #f1f5f9;
}
body.dark .program-item .content p {
    color: #94a3b8;
}

/* Dark Mode – Classes Tabs */
body.dark .classes-tabs {
    background: #1a1a2e;
}
body.dark .classes-tabs .nav-tabs .nav-link {
    background: #1e293b;
    color: #94a3b8;
}
body.dark .classes-tabs .nav-tabs .nav-link.active,
body.dark .classes-tabs .nav-tabs .nav-link:hover {
    background: var(--gradient-1);
    color: #fff;
}
body.dark .classes-tabs .tab-pane h4 {
    color: #f1f5f9;
}
body.dark .classes-tabs .tab-pane p {
    color: #94a3b8;
}

/* Dark Mode – Schedule */
body.dark .schedule-section {
    background: #0a0a1a;
}
body.dark .schedule-table {
    background: rgba(255,255,255,0.03);
}
body.dark .schedule-table th {
    background: rgba(108, 99, 255, 0.15);
}

/* Dark Mode – Trainers */
body.dark .trainers-section {
    background: #1a1a2e;
}
body.dark .trainer-card {
    background: #1e293b;
}
body.dark .trainer-card .trainer-body h4 {
    color: #f1f5f9;
}
body.dark .trainer-card .trainer-body p {
    color: #94a3b8;
}
body.dark .trainer-card .trainer-body .social-icons a {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}
body.dark .trainer-card .trainer-body .social-icons a:hover {
    background: var(--gradient-1);
    color: #fff;
}

/* Dark Mode – Step Cards (Admissions) */
body.dark .step-card {
    background: #1e293b;
}

/* Dark Mode – Testimonials */
body.dark .testimonial-card {
    background: #1e293b;
}
body.dark .testimonial-card p {
    color: #e2e8f0;
}

/* Dark Mode – Leadership */
body.dark .leadership-card {
    background: #1e293b;
}
body.dark .leadership-card blockquote {
    color: #e2e8f0;
}

/* Dark Mode – Departments */
body.dark .dept-card {
    background: #1e293b;
}
body.dark .dept-card p {
    color: #94a3b8;
}