/* ============================================
   KICT Computer Education - Mobile Homepage
   Mobile-First Design
   ============================================ */

:root {
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --gradient-bg: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR 1: MAIN TOP HEADER
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.header-container {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px;
    gap: 8px;
    width: 100%;
}

.header-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 44px;
}

.header-row-2 {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Logo Container with White Background */
.logo-container {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link:active {
    opacity: 0.7;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    max-width: 150px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* Header Center: Explore Programs (moved to row 1) */
.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.explore-text {
    display: none; /* Hidden by default, shown on desktop */
}

.explore-text-mobile {
    display: none; /* Hidden by default, shown on mobile */
}

/* Header Search (moved to row 2) */
.header-search-row2 {
    width: 100%;
}

/* Explore Programs Dropdown */
.explore-programs-dropdown {
    position: relative;
    flex-shrink: 0;
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.explore-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.explore-btn svg:last-child {
    transition: transform 0.3s ease;
}

.explore-programs-dropdown.active .explore-btn svg:last-child {
    transform: rotate(180deg);
}

.explore-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    padding: 12px 0;
}

.explore-programs-dropdown.active .explore-dropdown-menu {
    display: block;
}

.dropdown-category {
    padding: 8px 16px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.dropdown-category:first-child {
    border-top: none;
    margin-top: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.dropdown-item-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.dropdown-item-icon svg {
    width: 100%;
    height: 100%;
}

/* Header Search */
.header-search {
    position: relative;
    flex: 1;
    min-width: 0;
}

.header-search-row2 {
    position: relative;
    width: 100%;
    display: none; /* Hidden by default, shown on mobile */
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.search-result-icon svg {
    width: 100%;
    height: 100%;
}

.search-result-content {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
}

.search-result-category {
    font-size: 12px;
    color: var(--text-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-all-courses {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-all-courses-icon-mobile {
    display: none; /* Hidden by default, shown on mobile */
}

.btn-all-courses-text {
    display: inline;
}

/* Desktop: Show "All" text */
.btn-all-text {
    display: inline; /* Show "All" on desktop */
}

.btn-courses-text {
    display: inline; /* Show "Courses" on desktop */
}

.btn-all-courses:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lms {
    padding: 10px 16px;
    background: #f97316;
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lms:hover {
    background: #ea580c;
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.4);
}

/* Default: Hide both specific variants, show will be controlled by media queries */
.btn-lms-desktop {
    display: none;
}

.btn-lms-mobile {
    display: none;
}

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-backdrop {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    border-radius: 0 0 16px 16px;
}

.mobile-menu.active {
    max-height: 500px;
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    border-bottom: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.mobile-menu.active .menu-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .menu-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .menu-list li:nth-child(5) { transition-delay: 0.3s; }

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list a {
    display: block;
    padding: 16px 24px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.menu-list a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 28px;
}

.menu-list li:has(a[href*="admin-login"]) {
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 8px;
}

.menu-list a[href*="admin-login"] {
    color: #64748b;
    font-size: 14px;
    opacity: 0.8;
}

.menu-list a[href*="admin-login"]:hover {
    color: #2563eb;
    opacity: 1;
}

.menu-close-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
}

.menu-close-btn h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.menu-close-btn button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 1;
}

.menu-close-btn button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu {
        border-radius: 0 0 20px 20px;
    }
    
    .menu-close-btn {
        padding: 14px 20px;
    }
    
    .menu-close-btn h3 {
        font-size: 16px;
    }
    
    .menu-list a {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .mobile-menu.active {
        max-height: 400px;
    }
}

.menu-list .btn-demo {
    background: var(--gradient-bg);
    color: var(--white);
    border-radius: 8px;
    margin: 8px 16px;
    text-align: center;
}

.menu-list .btn-demo:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    color: var(--white);
}

/* ============================================
   NAVBAR 2: SUB NAVIGATION BAR
   ============================================ */

.sub-navbar {
    margin-top: 60px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 999; /* Increased to ensure dropdown appears above content */
    overflow: visible !important; /* Allow dropdown to overflow */
}

/* Zero-gap: first content section after sub-navbar should have no top margin */
main > section:first-of-type,
.blog-hero-section,
.campus-hero,
.location-hero {
    margin-top: 0 !important;
}

.sub-nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    overflow-y: visible !important; /* Changed from hidden to visible to allow dropdown to show */
    padding: 12px 16px;
    padding-bottom: calc(12px + 4px); /* Account for scrollbar height */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f5f9;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    position: relative; /* Create positioning context */
}

.sub-nav-container::-webkit-scrollbar {
    height: 4px;
}

.sub-nav-container::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.sub-nav-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.sub-nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--primary-blue); /* Default blue color for all items */
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    border-radius: 6px;
    min-width: auto;
    flex-shrink: 0;
    position: relative; /* Ensure dropdown positioning works */
    overflow: visible; /* Allow dropdown to overflow */
}

.sub-nav-item:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

/* Only Placements should be red */
.sub-nav-item.highlight {
    color: #dc2626 !important;
    font-weight: 600;
}

.sub-nav-item.highlight:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c !important;
}

.sub-nav-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
}

/* Icon color for highlight items (red) */
.sub-nav-item.highlight .sub-nav-icon {
    color: #dc2626 !important;
}

.sub-nav-item.highlight:hover .sub-nav-icon {
    color: #b91c1c !important;
}

.sub-nav-icon svg {
    width: 100%;
    height: 100%;
}

.sub-nav-text {
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
}

.sub-nav-loading {
    padding: 12px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* More Dropdown Styles */
.more-dropdown {
    position: relative;
    cursor: pointer;
    z-index: 10001; /* Ensure dropdown trigger is above other items */
}

.more-dropdown-menu {
    display: none;
    position: fixed; /* Changed from absolute to fixed for proper overlay */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15), 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    max-width: 280px;
    z-index: 10002; /* Very high z-index to appear above everything */
    padding: 8px 0;
    margin-top: 4px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: visible;
    white-space: nowrap; /* Prevent text wrapping */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.2s;
    /* Position will be calculated via JavaScript */
}

/* Desktop: Hover support */
@media (hover: hover) and (pointer: fine) {
    .more-dropdown:hover .more-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .more-dropdown:hover {
        background: rgba(37, 99, 235, 0.05);
        border-radius: 6px;
    }
}

/* Active state (click/tap) */
.more-dropdown.active .more-dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.more-dropdown.active {
    background: rgba(37, 99, 235, 0.08);
    border-radius: 6px;
}

.more-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    position: relative;
}

.more-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-blue);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.more-dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    padding-left: 20px;
}

.more-dropdown-item:hover::before {
    opacity: 1;
}

/* Highlighted items in More dropdown (red) */
.more-dropdown-item.highlight {
    color: #dc2626 !important;
    font-weight: 600;
}

.more-dropdown-item.highlight:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c !important;
}

.more-dropdown-item.highlight .more-dropdown-icon {
    color: #dc2626 !important;
}

.more-dropdown-item.highlight:hover .more-dropdown-icon {
    color: #b91c1c !important;
}

.more-dropdown-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
}

.more-dropdown-icon svg {
    width: 100%;
    height: 100%;
}

.more-dropdown-text {
    line-height: 1.4;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 600px) {
    .header-container {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .header-row-1 {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between; /* Logo left, All Courses + Hamburger right */
        gap: 12px;
    }
    
    .header-row-2 {
        display: flex;
    }
    
    .logo-container {
        padding: 4px 8px;
        flex-shrink: 0; /* Don't shrink logo */
    }
    
    .logo-img {
        height: 40px; /* Increased from 28px */
        max-width: 160px; /* Increased from 120px */
    }
    
    .header-center {
        display: none !important; /* Hide entire center section on mobile */
    }
    
    .header-actions {
        gap: 12px; /* Gap between All Courses and Hamburger */
        display: flex;
        align-items: center;
        flex-shrink: 0; /* Don't shrink actions */
        /* margin-left: auto removed - using justify-content: space-between on parent */
    }
    
    .explore-text {
        display: none; /* Hide "Explore Programs" on mobile */
    }
    
    .explore-text-mobile {
        display: inline; /* Show "Programs" on mobile */
    }
    
    .explore-btn {
        padding: 6px 10px; /* Reduced padding to decrease height */
        min-width: auto;
        min-height: 36px; /* Reduced height */
        font-size: 13px; /* Slightly smaller font */
    }
    
    .explore-btn svg:first-child {
        display: none; /* Hide hamburger icon from Explore Programs button on mobile */
    }
    
    .explore-btn svg {
        width: 18px; /* Slightly smaller icon */
        height: 18px;
    }
    
    .explore-btn svg:last-child {
        width: 14px; /* Smaller dropdown arrow */
        height: 14px;
    }
    
    .header-search {
        display: none; /* Hide search from row 1 on mobile */
    }
    
    .header-search-row2 {
        display: block; /* Show search in row 2 on mobile */
    }
    
    .search-input {
        font-size: 13px;
        padding: 8px 40px 8px 12px;
    }
    
    /* Hide Explore Programs dropdown on mobile */
    .explore-programs-dropdown {
        display: none !important;
    }
    
    /* Show All Courses button on mobile instead */
    .btn-all-courses {
        display: inline-flex !important; /* Show All Courses button on mobile */
        align-items: center;
        gap: 6px;
        padding: 8px 14px; /* Slightly reduced padding for mobile */
        font-size: 13px; /* Slightly smaller font for mobile */
    }
    
    /* Show icon on mobile */
    .btn-all-courses-icon-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .btn-all-courses-icon-mobile svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }
    
    .btn-all-courses-text {
        display: inline;
    }
    
    /* Hide "All" text on mobile, show only "Courses" */
    .btn-all-text {
        display: none; /* Hide "All" on mobile */
    }
    
    .btn-courses-text {
        display: inline; /* Show "Courses" on mobile */
    }
    
    /* Hide LMS completely from row 1 on mobile - only Logo, All Courses, Hamburger visible */
    .btn-lms-desktop {
        display: none !important;
    }
    
    /* Ensure hamburger is visible */
    .hamburger-btn {
        display: flex !important;
    }
    
    .btn-lms-mobile {
        display: inline-flex; /* Show LMS in row 2 on mobile */
        padding: 8px 16px;
        font-size: 13px;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .header-row-2 {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .sub-navbar {
        margin-top: 108px; /* 44px (row1) + 8px (gap) + 56px (row2) = 108px */
        top: 108px;
    }
    
    .sub-nav-item {
        padding: 8px 12px;
        gap: 6px;
        font-size: 11px;
    }
    
    .sub-nav-icon {
        width: 16px;
        height: 16px;
    }
    
    /* More Dropdown Mobile Styles - Bottom Sheet */
    .more-dropdown-menu {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(37, 99, 235, 0.15), 0 -8px 32px rgba(0, 0, 0, 0.12) !important;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 20px 0 32px 0 !important;
        margin: 0 !important;
        border: none !important;
        border-top: 3px solid var(--primary-blue) !important;
    }
    
    .more-dropdown.active .more-dropdown-menu {
        transform: translateY(0) !important;
    }
    
    /* Bottom sheet handle indicator */
    .more-dropdown-menu::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 2px;
    }
    
    /* Bottom sheet backdrop */
    .more-dropdown-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10001;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .more-dropdown.active ~ .more-dropdown-backdrop,
    .more-dropdown.active .more-dropdown-backdrop {
        display: block;
        opacity: 1;
    }
    
    .more-dropdown-item {
        padding: 16px 20px;
        font-size: 14px;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .more-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .more-dropdown-item:hover {
        padding-left: 20px;
    }
    
    .more-dropdown-item::before {
        display: none; /* Hide accent bar on mobile */
    }
    
    .more-dropdown-icon {
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu {
        top: 108px; /* Same as sub-navbar */
    }
    
    .main-header {
        min-height: 108px; /* Ensure header height accounts for both rows */
    }
}

/* Tablet Styles - Tap Support */
@media (min-width: 601px) and (max-width: 1024px) {
    .more-dropdown-menu {
        min-width: 240px;
        max-width: 300px;
        border-radius: 12px;
    }
    
    .more-dropdown-item {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    /* Tablet: Tap to open/close, no hover */
    .more-dropdown:hover .more-dropdown-menu {
        display: none !important; /* Disable hover on tablet */
    }
}

@media (min-width: 769px) {
    .main-header {
        display: flex;
        justify-content: center;
        padding: 0;
    }
    
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
        padding: 10px 32px;
        gap: 20px;
        min-height: 70px;
    }
    
    .header-row-1 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 24px;
    }
    
    .header-row-2 {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }
    
    .header-center {
        display: flex;
        align-items: center;
        gap: 16px;
        flex: 1;
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .logo-container {
        flex-shrink: 0;
    }
    
    .explore-programs-dropdown {
        flex-shrink: 0;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }
    
    .explore-text {
        display: inline; /* Show "Explore Programs" on desktop */
    }
    
    .explore-text-mobile {
        display: none; /* Hide "Programs" on desktop */
    }
    
    .mobile-only {
        display: none;
    }
    
    .header-search {
        display: block; /* Show search in row 1 on tablet/desktop */
        flex: 1;
        max-width: 400px;
        min-width: 250px;
    }
    
    .header-search-row2 {
        display: none; /* Hide search from row 2 on tablet/desktop */
    }
    
    .btn-all-courses {
        display: inline-flex; /* Show All Courses button on tablet/desktop */
    }
    
    .btn-lms-desktop {
        display: inline-flex; /* Show LMS in row 1 on tablet/desktop */
    }
    
    .btn-lms-mobile {
        display: none; /* Hide LMS from row 2 on tablet/desktop */
    }
    
    .header-row-2 {
        display: none; /* Hide row 2 on tablet/desktop */
    }
    
    .logo-img {
        height: 40px;
        max-width: 180px;
    }
    
    .mobile-menu {
        top: 70px;
    }
    
    .sub-navbar {
        margin-top: 70px;
        top: 70px;
    }
    
    .sub-nav-container {
        justify-content: center;
        padding: 16px 12px 12px 24px; /* Reduced bottom padding, scrollbar will be closer */
    }
    
    .sub-nav-item {
        padding: 10px 20px;
        font-size: 13px;
        /* Ensure items align properly with equal spacing */
        margin: 0;
    }
    
    /* Scrollbar immediately below content with minimal gap */
    .sub-nav-container::-webkit-scrollbar {
        height: 4px;
        margin-top: 0; /* No gap between content and scrollbar */
    }
    
    .sub-nav-container::-webkit-scrollbar-track {
        background: #f1f5f9;
        margin: 0 24px; /* Match horizontal padding */
    }
    
    .sub-nav-container::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 2px;
    }
}

/* Tablet Mode: Show only Search, All Courses, LMS, and Hamburger */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hide Explore Programs dropdown on tablet */
    .explore-programs-dropdown {
        display: none !important;
    }
    
    /* Show Search */
    .header-search {
        display: block !important;
        flex: 1;
        max-width: 400px;
        min-width: 250px;
    }
    
    /* Show All Courses */
    .btn-all-courses {
        display: inline-flex !important;
    }
    
    /* Show LMS */
    .btn-lms-desktop {
        display: inline-flex !important;
    }
    
    /* Show Hamburger */
    .hamburger-btn {
        display: flex !important;
    }
    
    /* Adjust header center to center search */
    .header-center {
        justify-content: center;
        flex: 1;
    }
    
    /* Tablet: Sub-navbar fixes - Ensure all items are visible and scrollable */
    .sub-navbar {
        margin-top: 70px;
        top: 70px;
        width: 100%;
        overflow: visible;
    }
    
    .sub-nav-container {
        display: flex !important;
        align-items: center;
        gap: 0;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 12px 16px !important;
        padding-bottom: calc(12px + 4px) !important;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-blue) #f1f5f9;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: nowrap;
        justify-content: flex-start !important; /* Start from left, not center */
    }
    
    .sub-nav-item {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 10px 16px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: auto;
    }
    
    .sub-nav-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        display: inline-flex !important;
    }
    
    .sub-nav-text {
        white-space: nowrap;
        display: inline-block !important;
    }
    
    .sub-nav-container::-webkit-scrollbar {
        height: 4px;
    }
    
    .sub-nav-container::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    
    .sub-nav-container::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 2px;
    }
}

/* ============================================
   BANNER SLIDER SECTION
   ============================================ */

.banner-slider-section {
    margin-top: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.banner-slider-container {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-slide {
    display: none;
    width: 100%;
    position: relative;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.desktop-banner {
    display: none;
}

.mobile-banner {
    display: block;
}

/* Banner Navigation Dots */
.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 5px;
}

/* Banner Navigation Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.banner-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.banner-prev {
    left: 16px;
}

.banner-next {
    right: 16px;
}

/* Hide arrows on very small screens */
@media (max-width: 360px) {
    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .banner-prev {
        left: 8px;
    }
    
    .banner-next {
        right: 8px;
    }
}

@media (min-width: 768px) {
    .mobile-banner {
        display: none;
    }
    
    .desktop-banner {
        display: block;
    }
    
    .banner-slider-section {
        max-height: 500px;
    }
    
    .banner-img {
        max-height: 500px;
        object-fit: cover;
    }
}

@media (min-width: 1024px) {
    .banner-slider-section {
        max-height: 600px;
    }
    
    .banner-img {
        max-height: 600px;
    }
}

/* ============================================
   B. HERO SECTION
   ============================================ */

.hero-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, #f0f9ff 0%, var(--white) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 100%;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pills-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 0;
    margin-bottom: 32px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pills-container::-webkit-scrollbar {
    display: none;
}

.pill {
    background: var(--white);
    border: 2px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pill:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-bg);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.hero-visual {
    margin-top: 40px;
    position: relative;
    height: 200px;
}

.tech-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.floating-tag {
    position: absolute;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.tag-ai {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: var(--primary-blue);
}

.tag-genai {
    top: 50%;
    right: 15%;
    animation-delay: 0.5s;
    color: var(--primary-purple);
}

.tag-fullstack {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
    color: #059669;
}

.tag-datascience {
    top: 10%;
    right: 25%;
    animation-delay: 1.5s;
    color: #dc2626;
}

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

/* ============================================
   SEO: Course Categories & Authority – Professional UI + Animations
   ============================================ */

/* Scroll-in animation */
@keyframes seoReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes seoShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes seoPillIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.seo-categories-section,
.seo-authority-section {
    padding: 40px 20px 48px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.seo-categories-section {
    background: var(--bg-light);
}

.seo-authority-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 50%, var(--white) 100%);
}

/* Decorative background pattern */
.seo-section-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 45%);
}

.seo-section-bg-pattern-dark {
    opacity: 0.5;
    background-image: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 45%);
}

.seo-block-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.seo-block-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.1), 0 4px 12px rgba(37, 99, 235, 0.08);
}

.seo-block-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-purple));
    border-radius: 5px 0 0 5px;
}

.seo-block-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.03), transparent);
    transition: left 0.6s ease;
}

.seo-block-card:hover::after {
    left: 100%;
}

.seo-block-card-accent {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
}

.seo-block-card-accent:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.seo-block-card-accent::before {
    width: 5px;
    background: linear-gradient(180deg, #7c3aed, #2563eb);
}

/* Reveal animation on load */
.seo-reveal {
    animation: seoReveal 0.7s ease forwards;
}

.seo-reveal-delay {
    animation: seoReveal 0.7s ease 0.2s forwards;
    opacity: 0;
}

.seo-block-icon-wrap {
    display: inline-flex;
    margin-bottom: 20px;
}

.seo-block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--primary-blue);
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border-radius: 16px;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
    animation: seoIconFloat 3s ease-in-out infinite;
}

.seo-block-icon-accent {
    color: #7c3aed;
    background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.2);
}

.seo-categories-heading,
.seo-authority-heading {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.35;
}

.seo-categories-text,
.seo-authority-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0 0 20px 0;
}

/* Highlight pills under copy */
.seo-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.seo-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: seoPillIn 0.5s ease backwards;
}

.seo-highlight-pill:nth-child(1) { animation-delay: 0.1s; }
.seo-highlight-pill:nth-child(2) { animation-delay: 0.2s; }
.seo-highlight-pill:nth-child(3) { animation-delay: 0.3s; }
.seo-highlight-pill:nth-child(4) { animation-delay: 0.4s; }

.seo-highlight-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.seo-highlight-pill i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.seo-highlight-pill-accent {
    color: #7c3aed;
    background: #ede9fe;
    border-color: rgba(124, 58, 237, 0.25);
}

.seo-highlight-pill-accent:hover {
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

@media (min-width: 768px) {
    .seo-categories-section,
    .seo-authority-section {
        padding: 56px 24px 64px;
    }
    .seo-block-card {
        padding: 40px 44px 44px;
        border-radius: 24px;
    }
    .seo-block-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
        margin-bottom: 24px;
    }
    .seo-categories-heading,
    .seo-authority-heading {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    .seo-categories-text,
    .seo-authority-text {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    .seo-card-highlights {
        gap: 12px;
        margin-top: 12px;
    }
    .seo-highlight-pill {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ============================================
   SEO Keyword Footer – Modern pill UI + animations
   ============================================ */

.seo-keyword-footer {
    padding: 36px 20px 44px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 1px solid #e2e8f0;
}

.seo-keyword-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.seo-keyword-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.seo-keyword-label-icon {
    color: var(--primary-blue);
    font-size: 1rem;
    opacity: 0.9;
}

.seo-keyword-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
}

.seo-keyword-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.seo-pill {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.seo-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

@media (min-width: 768px) {
    .seo-keyword-footer {
        padding: 44px 24px 52px;
    }
    .seo-keyword-pills {
        gap: 12px;
    }
    .seo-pill {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   C. FLOATING ACTION BUTTONS
   ============================================ */

.fab-container {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
    color: var(--white);
}

.fab-call {
    background: var(--primary-blue);
}

.fab-whatsapp {
    background: #25d366;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ============================================
   D. COUNSELING POPUP
   ============================================ */

.counseling-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
}

.counseling-popup.active {
    display: block;
}

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

.popup-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    max-width: 400px;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.counseling-popup.active .popup-content {
    transform: translateX(0);
}

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

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

.popup-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    min-height: 48px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.course-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.course-dropdown.active {
    display: block;
}

.course-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f1f5f9;
}

.course-item:hover {
    background: var(--bg-light);
}

.course-item:last-child {
    border-bottom: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-check-input {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

/* ============================================
   E. EXPLORE TOP PROGRAMS
   ============================================ */

.courses-section {
    padding: 48px 20px;
    background: var(--white);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-align: center;
}

.courses-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f5f9;
    -webkit-overflow-scrolling: touch;
}

.courses-scroll::-webkit-scrollbar {
    height: 6px;
}

.courses-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.courses-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.course-card {
    min-width: 280px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.course-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.course-icon svg {
    width: 100%;
    height: 100%;
}

.course-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.course-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.course-duration {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 16px;
}

.course-cta {
    width: 100%;
    padding: 12px;
    background: var(--gradient-bg);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
}

.course-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.courses-loading,
.branches-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* ============================================
   F. TRUST SECTION
   ============================================ */

.trust-section {
    padding: 48px 20px;
    background: var(--gradient-bg);
    color: var(--white);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.trust-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.trust-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   F. TRUST & IMPACT NUMBERS (Modern)
   ============================================ */

.trust-impact-section {
    position: relative;
    padding: 56px 20px 64px;
    overflow: hidden;
}

.trust-impact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #3b82f6 70%, #7c3aed 100%);
    z-index: 0;
}

.trust-impact-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.trust-impact-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-impact-heading {
    text-align: center;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.trust-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.trust-impact-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.trust-impact-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.trust-impact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    margin-bottom: 16px;
    color: #fff;
}

.trust-impact-icon svg {
    flex-shrink: 0;
}

.trust-impact-value {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trust-impact-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .trust-impact-section {
        padding: 72px 24px 80px;
    }
    .trust-impact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .trust-impact-card {
        padding: 32px 24px;
    }
    .trust-impact-heading {
        margin-bottom: 44px;
    }
}

/* ============================================
   G. PLACEMENTS SECTION
   ============================================ */

.placements-section {
    padding: 48px 20px;
    background: var(--bg-light);
}

.companies-strip {
    overflow: hidden;
    position: relative;
    padding: 24px 0;
}

.companies-track {
    display: flex;
    gap: 32px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

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

.company-logo {
    min-width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 0 16px;
    flex-shrink: 0;
}
.company-logo img {
    max-width: 100%;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.company-logo-fallback {
    display: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

/* Associated with 2500+ Hiring partners - 3 rows, alternating scroll */
.partners-section .partners-title {
    margin-bottom: 28px;
}
.partners-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.partners-row {
    overflow: hidden;
}
.partners-strip {
    overflow: hidden;
    padding: 8px 0;
}
.partners-track {
    display: flex;
    gap: 32px;
    width: fit-content;
}
/* Row 1 & 3: scroll left to right (track moves left) */
.partners-row-1 .partners-track,
.partners-row-3 .partners-track {
    animation: partnersScrollLTR 35s linear infinite;
}
/* Row 2: scroll right to left (track moves right) */
.partners-row-2 .partners-track {
    animation: partnersScrollRTL 35s linear infinite;
}
@keyframes partnersScrollLTR {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes partnersScrollRTL {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.partners-view-all-wrap {
    text-align: center;
    margin-top: 28px;
}
.partners-view-all-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.partners-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

/* ============================================
   PARTNERS SECTION - MODERN PROFESSIONAL DESIGN
   ============================================ */

.partners-section-modern {
    position: relative;
    padding: 72px 20px 80px;
    overflow: hidden;
}

.partners-modern-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 35%, #f8fafc 70%, #f1f5f9 100%);
    z-index: 0;
}

.partners-modern-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.partners-modern-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
.partners-modern-header {
    text-align: center;
    margin-bottom: 48px;
    animation: partnersFadeUp 0.8s ease-out forwards;
}

@keyframes partnersFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partners-modern-badge {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: partnersFadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.partners-modern-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
    animation: partnersFadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.partners-modern-title .partners-modern-count {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.partners-modern-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    animation: partnersFadeUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* Rows container */
.partners-modern-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partners-modern-row {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
}

/* Edge fade masks for smooth infinite scroll */
.partners-modern-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-modern-mask-left {
    left: 0;
    background: linear-gradient(to right, #f0f4ff 0%, transparent 100%);
}

.partners-modern-mask-right {
    right: 0;
    background: linear-gradient(to left, #f0f4ff 0%, transparent 100%);
}

.partners-modern-strip {
    overflow: hidden;
}

.partners-modern-track {
    display: flex;
    gap: 28px;
    width: fit-content;
    padding: 0 8px;
}

/* Logo card - glass style with hover */
.partners-modern-logo {
    flex-shrink: 0;
    min-width: 140px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
}

.partners-modern-logo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.partners-modern-logo img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.4) opacity(0.9);
    transition: filter 0.4s ease;
}

.partners-modern-logo:hover img {
    filter: grayscale(0) opacity(1);
}

.partners-modern-fallback {
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Row 1 & 3: scroll left */
.partners-modern-row-1 .partners-modern-track,
.partners-modern-row-3 .partners-modern-track {
    animation: partnersScrollLeft 40s linear infinite;
}

.partners-modern-row-1 .partners-modern-track:hover,
.partners-modern-row-3 .partners-modern-track:hover {
    animation-play-state: paused;
}

/* Row 2: scroll right */
.partners-modern-row-2 .partners-modern-track {
    animation: partnersScrollRight 40s linear infinite;
}

.partners-modern-row-2 .partners-modern-track:hover {
    animation-play-state: paused;
}

@keyframes partnersScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes partnersScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* CTA button */
.partners-modern-cta {
    text-align: center;
    margin-top: 48px;
    animation: partnersFadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.partners-modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, gap 0.3s ease;
}

.partners-modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
    gap: 14px;
    color: var(--white);
}

.partners-modern-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partners-modern-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section-modern {
        padding: 48px 16px 56px;
    }
    .partners-modern-header {
        margin-bottom: 32px;
    }
    .partners-modern-title {
        font-size: 1.4rem;
    }
    .partners-modern-logo {
        min-width: 120px;
        height: 64px;
        padding: 0 18px;
    }
    .partners-modern-logo img {
        max-height: 36px;
    }
    .partners-modern-mask {
        width: 48px;
    }
    .partners-modern-cta {
        margin-top: 36px;
    }
}

/* ============================================
   H. BRANCHES SECTION - PREMIUM DESIGN
   ============================================ */

.branches-section-premium {
    position: relative;
    padding: 72px 20px 80px;
    overflow: hidden;
}

.branches-premium-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 35%, #f8fafc 70%, #f1f5f9 100%);
    z-index: 0;
}

.branches-premium-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.branches-premium-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.branches-premium-header {
    text-align: center;
    margin-bottom: 48px;
    animation: branchesFadeUp 0.8s ease-out forwards;
}

@keyframes branchesFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.branches-premium-pill {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: branchesFadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.branches-premium-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
    animation: branchesFadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.branches-premium-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    animation: branchesFadeUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.branches-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Homepage branches: premium region cards matching partners section */
/* Desktop: 4 columns (1 row) - Clean centered layout */
.branches-section-premium .home-region-cards.region-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    justify-items: stretch;
}

/* Tablet: 2 columns (2 rows) - Clean centered layout */
@media (max-width: 992px) {
    .branches-section-premium .home-region-cards.region-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 20px;
        max-width: 100%;
    }
}

/* Mobile (768px): reduce section padding and text for branches */
@media (max-width: 768px) {
    .branches-section-premium {
        padding: 56px 20px 64px;
    }
    .branches-premium-header {
        margin-bottom: 32px;
    }
    .branches-premium-pill {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    .branches-premium-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .branches-premium-subtitle {
        font-size: 0.9rem;
    }
    .branches-section-premium .home-region-cards .region-card {
        padding: 20px 16px;
        min-height: 250px;
    }
    .branches-section-premium .home-region-cards .region-name {
        font-size: 1.35rem;
    }
    .branches-section-premium .home-region-cards .region-count-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    .branches-section-premium .home-region-cards .region-locations {
        font-size: 0.85rem;
    }
    .region-stat-item {
        font-size: 0.8rem;
    }
    .branches-premium-note {
        font-size: 0.85rem;
    }
}

/* Mobile: 2 columns × 2 rows + adjusted text/sizing */
@media (max-width: 560px) {
    .branches-section-premium .home-region-cards.region-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 12px;
        max-width: 100%;
    }
    .branches-section-premium {
        padding: 48px 16px 56px;
    }
    .branches-premium-header {
        margin-bottom: 28px;
    }
    .branches-premium-pill {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 10px;
    }
    .branches-premium-title {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }
    .branches-premium-subtitle {
        font-size: 0.875rem;
    }
    .branches-section-premium .home-region-cards .region-card {
        padding: 16px 12px;
        min-height: 220px;
    }
    .branches-section-premium .home-region-cards .region-flag {
        width: 56px;
        height: 42px;
        margin-bottom: 10px;
    }
    .branches-section-premium .home-region-cards .region-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .branches-section-premium .home-region-cards .region-count-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    .branches-section-premium .home-region-cards .region-locations {
        font-size: 0.75rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .region-micro-stats {
        padding-top: 10px;
        gap: 4px;
    }
    .region-stat-item {
        font-size: 0.7rem;
    }
    .region-stat-item .stat-icon {
        font-size: 0.85rem;
    }
    .region-head-office-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
        top: 8px;
        right: 8px;
    }
    .branches-premium-note {
        font-size: 0.8rem;
        margin-top: 24px;
        padding: 0 8px;
    }
    .branches-section-premium .home-branches-cta {
        margin-top: 28px;
        gap: 12px;
    }
    .branches-section-premium .home-branches-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
        max-width: 260px;
    }
}

.branches-section-premium .home-region-cards .region-card {
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.branches-section-premium .home-region-cards .region-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.branches-section-premium .home-region-cards .region-card-head-office {
    border: 2px solid rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 12px 30px rgba(15, 23, 42, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.9) 100%);
}

.branches-section-premium .home-region-cards .region-card-head-office:hover {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 20px 45px rgba(37, 99, 235, 0.15);
}

.region-head-office-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    z-index: 2;
}

.branches-section-premium .home-region-cards .region-flag {
    width: 80px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    border: 2px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.branches-section-premium .home-region-cards .region-flag.flag-india { background-image: url('/data/assets/images/Flag_Photos/Indian_Flag.png'); }
.branches-section-premium .home-region-cards .region-flag.flag-canada { background-image: url('/data/assets/images/Flag_Photos/Canada_Flag.jpg'); }
.branches-section-premium .home-region-cards .region-flag.flag-usa { background-image: url('/data/assets/images/Flag_Photos/America_Flag.png'); }
.branches-section-premium .home-region-cards .region-flag.flag-australia { background-image: url('/data/assets/images/Flag_Photos/Australia_Flag.png'); }

.branches-section-premium .home-region-cards .region-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.branches-section-premium .home-region-cards .region-count-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.branches-section-premium .home-region-cards .region-locations {
    font-size: 0.92rem;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 16px;
}

.region-micro-stats {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.region-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.region-stat-item .stat-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.region-stat-item .stat-label {
    color: var(--text-light);
}

.branches-premium-note {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: branchesFadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.branches-section-premium .home-branches-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 0;
    animation: branchesFadeUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

.branches-section-premium .home-branches-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
    border: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.branches-section-premium .home-branches-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
    color: #fff;
}

/* ============================================
   I. OUR LEADERSHIP SECTION - Homepage Preview
   ============================================ */

.leadership-home-section {
    padding: 72px 20px 80px;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.leadership-home-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.leadership-home-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.leadership-home-header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.leadership-home-pill {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: fadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.leadership-home-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.leadership-home-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    animation: fadeUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.leadership-home-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 1rem;
}

.leadership-home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.leadership-home-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leadership-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.leadership-home-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-blue);
    border: 4px solid white;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.leadership-home-card:hover .leadership-home-photo {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3);
}

.leadership-home-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.leadership-home-card:hover .leadership-home-photo img {
    transform: scale(1.1);
}

.leadership-home-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.leadership-home-designation {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 12px;
    display: inline-block;
}

.leadership-home-role {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: auto;
}

.leadership-home-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

.leadership-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
    border: none;
    font-size: 0.95rem;
}

.leadership-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.leadership-home-btn i {
    transition: transform 0.3s ease;
}

.leadership-home-btn:hover i {
    transform: translateX(4px);
}

.leadership-home-note {
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Tablet: 2 columns × 3 rows grid */
@media (max-width: 1024px) {
    .leadership-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 column × 5 rows grid */
@media (max-width: 768px) {
    .leadership-home-section {
        padding: 60px 20px 70px;
    }
    .leadership-home-header {
        margin-bottom: 36px;
    }
    .leadership-home-title {
        font-size: 1.75rem;
    }
    .leadership-home-subtitle {
        font-size: 0.95rem;
    }
    .leadership-home-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
        margin-bottom: 32px;
        animation: fadeUp 0.8s ease-out 0.4s forwards;
    }
    .leadership-home-card {
        min-width: 0;
        max-width: none;
    }
    .leadership-home-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 16px;
        cursor: pointer;
    }
    .leadership-home-photo img {
        cursor: pointer;
    }
    .leadership-home-name {
        font-size: 1.1rem;
    }
    .leadership-home-designation {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
    .leadership-home-role {
        font-size: 0.8rem;
    }
    .leadership-home-cta {
        margin-top: 28px;
    }
    .leadership-home-btn {
        width: 100%;
        max-width: 320px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .leadership-home-note {
        font-size: 0.85rem;
        margin-top: 20px;
    }
}

/* Photo zoom: clickable on all screens */
.leadership-home-photo {
    cursor: pointer;
}
.leadership-home-photo img {
    cursor: pointer;
}

/* Leadership photo zoom lightbox */
.leadership-photo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.leadership-photo-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.leadership-photo-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.leadership-photo-lightbox.is-open .leadership-photo-lightbox-content {
    transform: scale(1);
}
.leadership-photo-lightbox-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    vertical-align: middle;
}
.leadership-photo-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}
.leadership-photo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.leadership-photo-lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.branches-section-premium .home-branches-btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.15);
}

.branches-section-premium .home-branches-btn-secondary:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-blue);
}

@media (max-width: 560px) {
    .branches-section-premium .home-branches-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .branches-section-premium .home-branches-btn {
        width: 100%;
        max-width: 280px;
    }
}

.branch-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.branch-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.branch-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.branch-area {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.branch-actions {
    display: flex;
    gap: 12px;
}

.branch-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.branch-btn-call {
    background: var(--primary-blue);
    color: var(--white);
}

.branch-btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.branch-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   I. MOBILE FOOTER
   ============================================ */

.mobile-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 20px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

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

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

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

.social-icons a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ============================================
   KICT ENTERPRISE FOOTER
   ============================================ */

.kict-enterprise-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 48px 24px 0;
    margin-top: 0;
}

.kict-footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Top row: brand + columns */
.kict-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.12);
}

/* Brand block */
.kict-footer-brand {
    text-align: center;
}

.kict-footer-logo-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 24px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
}

.kict-footer-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    display: block;
}

.kict-footer-brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.kict-footer-brand-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(229, 231, 235, 0.85);
}

.kict-footer-tagline {
    font-size: 0.85rem;
    color: rgba(229, 231, 235, 0.8);
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Link columns - desktop 5 columns */
.kict-footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.kict-footer-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.kict-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kict-footer-links li {
    margin-bottom: 10px;
}

.kict-footer-links a {
    color: rgba(229, 231, 235, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.kict-footer-links a:hover {
    color: #3b82f6;
}

/* More Resources */
.kict-footer-more-wrap {
    padding: 20px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.12);
}

.kict-footer-more-btn {
    background: none;
    border: none;
    color: rgba(229, 231, 235, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kict-footer-more-btn:hover {
    color: #3b82f6;
}

.kict-footer-more-btn[aria-expanded="true"] {
    color: #3b82f6;
}

.kict-footer-more-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 12px;
}

.kict-footer-more-panel a {
    color: rgba(229, 231, 235, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
}

.kict-footer-more-panel a:hover {
    color: #3b82f6;
}

.kict-footer-more-panel[hidden] {
    display: none !important;
}

/* Payment strip */
.kict-footer-payments {
    padding: 24px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.12);
    text-align: center;
}

.kict-footer-payments-title {
    font-size: 0.85rem;
    color: rgba(229, 231, 235, 0.7);
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kict-footer-payment-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.kict-payment-logo {
    width: 100px;
    height: 54px;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    transition: opacity 0.2s ease, transform 0.2s ease;
    vertical-align: middle;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.kict-payment-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .kict-footer-payment-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px 16px;
    }
    
    .kict-payment-logo {
        width: 88px;
        height: 48px;
        padding: 6px 10px;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .kict-footer-payment-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

.kict-payment-icon {
    color: rgba(229, 231, 235, 0.5);
    font-size: 1.5rem;
}

/* Social strip */
.kict-footer-social {
    padding: 24px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.12);
    text-align: center;
}

.kict-footer-social-title {
    font-size: 0.85rem;
    color: rgba(229, 231, 235, 0.7);
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kict-footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.kict-footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.kict-footer-social-icons .kict-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* LinkedIn from jsDelivr (brand color) – make white, slightly larger */
.kict-footer-social-icons .kict-social-icon-linkedin {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
}

.kict-footer-social-icons a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.kict-footer-social-icons a[aria-label="Instagram"]:hover { background: #e4405f; }
.kict-footer-social-icons a[aria-label="Facebook"]:hover { background: #1877f2; }
.kict-footer-social-icons a[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.kict-footer-social-icons a[aria-label="X (Twitter)"]:hover { background: #000; }
.kict-footer-social-icons a[aria-label="Pinterest"]:hover { background: #bd081c; }
.kict-footer-social-icons a[aria-label="Google"]:hover { background: #ea4335; }
.kict-footer-social-icons a[aria-label="WhatsApp"]:hover { background: #25d366; }

/* Bottom bar */
.kict-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 0 24px;
}

.kict-footer-copy,
.kict-footer-made {
    font-size: 0.8rem;
    color: rgba(229, 231, 235, 0.6);
    margin: 0;
}

.kict-footer-made span {
    color: #ef4444;
}

/* Desktop: brand left, 5 columns right */
@media (min-width: 1024px) {
    .kict-footer-top {
        grid-template-columns: 280px 1fr;
        gap: 48px;
        align-items: start;
        text-align: left;
    }
    
    .kict-footer-brand {
        text-align: left;
    }
    
    .kict-footer-logo-box {
        margin-bottom: 16px;
    }
    
    .kict-footer-tagline {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile: accordion dropdowns */
@media (max-width: 1023px) {
    .kict-footer-col-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        margin: 0;
        cursor: pointer;
        user-select: none;
        border-bottom: 1px solid rgba(229, 231, 235, 0.1);
    }
    
    .kict-footer-col-title::after {
        content: '\25B6';
        font-size: 0.7rem;
        color: rgba(229, 231, 235, 0.6);
        transition: transform 0.25s ease;
    }
    
    .kict-footer-col.is-open .kict-footer-col-title::after {
        transform: rotate(90deg);
    }
    
    .kict-footer-col .kict-footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .kict-footer-col.is-open .kict-footer-links {
        max-height: 500px;
    }
    
    .kict-footer-col .kict-footer-links {
        padding-bottom: 16px;
    }
    
    .kict-footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 767px) {
    .kict-enterprise-footer {
        padding: 40px 16px 0;
    }
    
    .kict-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile: scale down hero and common text on small screens */
@media (max-width: 560px) {
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .hero-section {
        padding: 40px 16px 48px;
    }
}

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

@media (min-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .trust-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .popup-content {
        width: 450px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.w-100 {
    width: 100%;
}

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

.mt-4 {
    margin-top: 24px;
}

.mb-4 {
    margin-bottom: 24px;
}

/* ============================================
   BOTTOM FIXED ACTION BAR (CALL + WHATSAPP)
   ============================================ */

.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Reduced from 56px */
    background: #ffffff; /* Pure white */
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    z-index: 9999;
    padding: 0;
    animation: slideUpBounce 0.5s ease-out;
}

@keyframes slideUpBounce {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    60% {
        transform: translateY(-8px);
        opacity: 1;
    }
    80% {
        transform: translateY(4px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.action-btn {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 0 16px;
    position: relative;
    overflow: visible;
    /* No button-level animation - only icon animates */
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:active::before {
    width: 300px;
    height: 300px;
}

.action-btn:active {
    transform: scale(0.92);
}

.action-btn svg {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: iconContinuousPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

/* Smooth, premium, continuous icon pulse - Chhota-bada (grow-shrink) */
@keyframes iconContinuousPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Underline effect removed */

/* Text - Animate along with icons */
.action-btn span {
    animation: textPulse 1.5s ease-in-out infinite;
    transform-origin: center;
    position: relative;
    z-index: 1;
    color: var(--white);
    font-weight: 600;
    transition: transform 0.3s ease;
}

/* Text pulse animation - Same as icon */
@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.action-btn:hover svg {
    transform: scale(1.2);
    animation: none; /* Stop icon animation on hover */
}

.action-btn:hover span {
    color: var(--white); /* Keep white on hover */
}


.action-btn-call {
    background: #ffffff; /* White background */
}

.action-btn-call:hover {
    background: #f8fafc; /* Light gray on hover */
}

.action-btn-call:active {
    background: #f1f5f9; /* Slightly darker on active */
}

/* Call button - Orange icon and text */
.action-btn-call svg {
    color: #f97316; /* Orange */
    fill: #f97316;
}

.action-btn-call span {
    color: #f97316; /* Orange text */
    animation: textPulse 1.5s ease-in-out infinite; /* Animate text */
}


.action-btn-whatsapp {
    background: #ffffff; /* White background */
}

.action-btn-whatsapp:hover {
    background: #f8fafc; /* Light gray on hover */
}

.action-btn-whatsapp:active {
    background: #f1f5f9; /* Slightly darker on active */
}

/* WhatsApp button - Green icon and text */
.action-btn-whatsapp svg {
    color: #25d366; /* WhatsApp Green */
    fill: #25d366;
}

.action-btn-whatsapp span {
    color: #25d366; /* WhatsApp Green text */
    animation: textPulse 1.5s ease-in-out infinite; /* Animate text */
}

.action-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.action-btn span {
    white-space: nowrap;
    font-weight: 600;
}

.action-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Hide on desktop (optional) */
@media (min-width: 1025px) {
    .bottom-action-bar {
        display: none;
    }
}

/* Ensure content doesn't get hidden behind fixed bar */
body {
    padding-bottom: 50px; /* Space for bottom action bar (reduced from 56px) */
}

@media (min-width: 1025px) {
    body {
        padding-bottom: 0; /* Remove padding on desktop */
    }
}

/* ============================================
   EXPLORE OUR TOP PROGRAMS SECTION
   ============================================ */

.explore-programs-section {
    position: relative;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 35%, #f1f5f9 70%, #ffffff 100%);
    padding: 56px 20px;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
}

.explore-programs-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-programs-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(124, 58, 237, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.explore-programs-header {
    position: relative;
    z-index: 1;
    margin-bottom: 26px;
}

.explore-programs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.explore-programs-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 10px;
    max-width: 820px;
}

.explore-programs-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    color: var(--blog-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.ai-badge-icon {
    font-size: 1.1rem;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    margin-bottom: 0;
}

.programs-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Categories Sidebar */
.programs-categories {
    width: 100%;
}

.categories-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f5f9;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Accordion Style */
.category-accordion {
    display: none; /* Hidden on desktop */
}

.category-accordion-item {
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.category-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.category-accordion-header:hover {
    background: #f8fafc;
}

.category-accordion-header.active {
    background: var(--primary-blue);
    color: var(--white);
}

.category-accordion-header.active .program-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-accordion-header.active .program-icon svg {
    stroke: #fff;
}

.category-accordion-header .category-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.category-accordion-header .program-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.category-accordion-header .program-icon svg {
    width: 22px;
    height: 22px;
}

.category-accordion-header .category-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-accordion-header .category-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5; /* Thin, modern line style */
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-accordion-header .accordion-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-accordion-header.active .accordion-arrow {
    transform: rotate(180deg);
}

.category-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
    display: block;
}

.category-accordion-item.active .category-accordion-content {
    max-height: 5000px !important;
    padding: 16px !important;
    overflow: visible !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Force cards container to be visible when accordion is active */
.category-accordion-item.active .category-accordion-content .category-cards-container {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.category-accordion-item.active .category-cards-container .program-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Tablet Category Dropdown */
.category-dropdown-wrapper {
    display: none;
}

.category-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    width: fit-content;
    margin-bottom: 24px;
}

.category-dropdown:hover {
    border-color: var(--primary-blue);
    background: #f0f9ff;
}

.category-dropdown.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.category-dropdown .dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.category-dropdown .dropdown-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.categories-list::-webkit-scrollbar {
    height: 4px;
}

.categories-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.categories-list::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
    flex-shrink: 0;
    min-width: fit-content;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.10);
}

.category-item.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(124, 58, 237, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--text-dark);
}

.category-item.active::after {
    content: "";
    height: 8px;
    width: 8px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    margin-left: 6px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.category-item-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.category-item-name {
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
}

/* Program icon container (Lucide-style icons) – 56px, gradient bg */
.program-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.program-icon svg {
    width: 28px;
    height: 28px;
    stroke: #2563eb;
    fill: none;
}

.category-item-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
}

.category-item-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-item.active .category-item-icon,
.category-item.active .program-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.16) 100%);
}

/* AI-Powered badge (mandatory on cards) */
.ai-badge {
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
}

.program-card-content .ai-badge {
    margin-bottom: 10px;
}

.load-more-categories {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.load-more-categories:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
    background: rgba(255, 255, 255, 1);
    color: var(--primary-purple);
}

/* Programs Content */
.programs-content {
    width: 100%;
}

.programs-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 8px 0;
}

/* ============================================
   TRENDING COURSES SECTION – Professional design
   ============================================ */

.trending-courses-section {
    position: relative;
    padding: 64px 24px 56px;
    overflow: hidden;
}

.trending-courses-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 30%, #f1f5f9 60%, #fff 100%);
    pointer-events: none;
}

.trending-courses-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.trending-courses-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.trending-courses-header {
    text-align: center;
    margin-bottom: 40px;
}

.trending-courses-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.trending-courses-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.trending-courses-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Loading state */
.trending-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 24px;
}

.trending-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    animation: trending-loading-bounce 1.4s ease-in-out infinite both;
}

.trending-loading-dot:nth-child(1) { animation-delay: 0s; }
.trending-loading-dot:nth-child(2) { animation-delay: 0.16s; }
.trending-loading-dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes trending-loading-bounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.trending-empty {
    text-align: center;
    color: #64748b;
    padding: 32px 24px;
}

/* Cards grid - Final Responsive Design */
.trending-program-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* Desktop: 5 cards in 1 row */
    gap: 20px;
    padding: 0;
    justify-items: center; /* Cards centered */
}

@media (max-width: 1024px) {
    .trending-program-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* Tablet: 4 cards in 1 row */
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .trending-program-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Mobile: 2 columns × 4 rows */
        gap: 10px;
    }
    .trending-courses-section { padding: 48px 16px 40px; }
    .trending-courses-header { margin-bottom: 28px; }
    .trending-program-card {
        padding: 12px 8px;
        gap: 8px;
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 0;
        width: 100%;
    }
    .trending-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin: 0 auto 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .trending-card-icon svg { width: 20px; height: 20px; }
    .trending-program-title {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 auto !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        width: 100%;
        text-align: center;
        word-wrap: break-word;
    }
    .trending-ai-badge {
        font-size: 7px !important;
        padding: 2px 5px !important;
        margin: 0 auto !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        gap: 3px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .trending-ai-icon {
        width: 8px !important;
        height: 8px !important;
    }
    .trending-card-arrow { display: none; }
}

/* Card – modern UI */
.trending-program-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 180px; /* Equal height for all cards */
}

.trending-program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trending-program-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

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

@media (min-width: 1025px) {
    .trending-program-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
    }
    .trending-program-card:hover .trending-card-icon {
        transform: scale(1.08);
        background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    }
    .trending-program-card:hover .trending-card-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Icon container */
.trending-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.35s ease;
}

.trending-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #2563eb;
    fill: none;
}

.trending-program-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.trending-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #065f46;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 999px;
    align-self: center;
}

.trending-ai-icon {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.trending-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #94a3b8;
    opacity: 0.6;
    transform: translateX(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.trending-program-card:hover .trending-card-arrow {
    color: #2563eb;
}

/* Staggered fade-up */
.trending-program-card.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.trending-program-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--stagger, 0ms);
}

/* CTA below grid */
.trending-courses-cta-wrap {
    text-align: center;
    margin-top: 36px;
}

.trending-courses-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trending-courses-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Direct cards format (mobile/tablet - no accordion) */
.programs-cards-direct {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 16px 0;
    width: 100%;
}

@media (max-width: 767px) {
    .programs-cards-direct {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .programs-cards-direct {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: Hide cards container initially, show in accordion */
.programs-cards-container {
    display: block;
}

/* Accordion Cards Container (Mobile) */
.category-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
}

.program-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    flex: 1 1 280px;
    min-width: 280px;
    max-width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    animation: programCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.program-card:nth-child(1) { animation-delay: 20ms; }
.program-card:nth-child(2) { animation-delay: 60ms; }
.program-card:nth-child(3) { animation-delay: 100ms; }
.program-card:nth-child(4) { animation-delay: 140ms; }
.program-card:nth-child(5) { animation-delay: 180ms; }
.program-card:nth-child(6) { animation-delay: 220ms; }

@keyframes programCardIn {
    from { transform: translateY(10px); }
    to { transform: translateY(0); }
}

/* Desktop: card hover lift + icon micro-animation */
@media (min-width: 1025px) {
    .program-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    }
    .program-card:hover .program-icon {
        transform: scale(1.05);
    }
}

.program-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
}

/* Fade-up scroll animation (premium) */
.program-card.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: none; /* use scroll reveal instead of programCardIn */
}

.program-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.program-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-card-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card-play-icon {
    display: none !important; /* Hide play icon overlay on image */
}

.program-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.program-card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-card-cta {
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.program-card-cta .play-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.program-card-cta .play-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.program-card-cta:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.category-loading,
.programs-loading {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-size: 16px;
}

/* ============================================
   MOBILE VIEW (≤ 767px) - ACCORDION STYLE
   ============================================ */
@media (max-width: 767px) {
    .explore-programs-section {
        padding: 30px 16px;
        background: #f0f7fa; /* Light blue/greyish-blue background - Croma Campus style */
        margin-top: 0;
    }
    
    .explore-programs-section .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .section-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-dark);
        text-align: left;
        margin-bottom: 24px;
        line-height: 1.3;
    }
    
    .programs-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .programs-categories {
        width: 100%;
    }
    
    /* Hide horizontal category list on mobile */
    .categories-list {
        display: none;
    }
    
    /* Hide dropdown on mobile */
    .category-dropdown-wrapper {
        display: none;
    }
    
    /* Show accordion on mobile */
    .category-accordion {
        display: block;
    }
    
    /* CRITICAL: Hide main programs cards container on mobile - NO cards should render here */
    .programs-cards-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Also hide the programs-cards div itself on mobile */
    #programsCards {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Accordion item styles - Single column on mobile */
    .category-accordion-item {
        margin-bottom: 12px;
        width: 100%;
    }
    
    .category-accordion-header {
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text-dark);
        background: var(--white);
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .category-accordion-header .category-name {
        font-weight: 600;
        color: inherit;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .category-accordion-header .category-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .category-accordion-header .accordion-arrow {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    /* Mobile: Accordion content HIDDEN by default */
    .category-accordion-content {
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Mobile: Ensure accordion content expands properly with animation when active */
    .category-accordion-item.active .category-accordion-content {
        max-height: 5000px !important;
        overflow: visible !important;
        padding: 16px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: slideDownFadeInMobile 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    /* Mobile Slide Down + Fade In Animation */
    @keyframes slideDownFadeInMobile {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Cards inside accordion - Single column on mobile - HIDDEN by default */
    .category-cards-container {
        display: none !important; /* Hidden by default, shown only when accordion is active */
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding-top: 16px !important;
        min-height: 0 !important;
    }
    
    /* Only show cards container when accordion is active */
    .category-accordion-item.active .category-cards-container {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 100px !important;
    }
    
    .category-cards-container .program-card {
        flex: 1 1 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        height: auto !important;
        width: 100% !important;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        box-sizing: border-box;
        /* Animation will handle opacity and transform */
    }
    
    .category-cards-container .program-card-image-wrapper {
        width: 100%;
        height: 180px;
        overflow: hidden;
        position: relative;
    }
    
    .category-cards-container .program-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .category-cards-container .program-card-content {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .category-cards-container .program-card-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .category-cards-container .program-card-description {
        font-size: 13px;
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 16px;
        flex: 1;
    }
    
    .category-cards-container .program-card-cta {
        width: 100%;
        padding: 10px 20px;
        font-size: 13px;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
    }
    
    /* Mobile: Stagger animation for individual cards with elevation */
    .category-accordion-item.active .category-cards-container .program-card {
        animation: cardSlideFadeElevateMobile 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
        transform: translateY(-10px);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(1) {
        animation-delay: 0.05s;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(3) {
        animation-delay: 0.15s;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(4) {
        animation-delay: 0.2s;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(5) {
        animation-delay: 0.25s;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:nth-child(6) {
        animation-delay: 0.3s;
    }
    
    /* Mobile Card Slide + Fade + Elevation Animation */
    @keyframes cardSlideFadeElevateMobile {
        0% {
            opacity: 0;
            transform: translateY(-10px) scale(0.98);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        }
        50% {
            opacity: 0.7;
            transform: translateY(-2px) scale(1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        }
    }
    
    /* Smooth settle effect after animation on mobile */
    .category-accordion-item.active .category-cards-container .program-card {
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    
    .category-accordion-item.active .category-cards-container .program-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    /* Ensure cards are visible when accordion is active on mobile */
    .category-accordion-item.active .category-cards-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-top: 16px !important;
        min-height: 100px !important;
    }
    
    .category-accordion-item.active .category-cards-container .program-card {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        width: 100% !important;
    }
    
    /* Force visibility for all cards in active accordion */
    .category-accordion-item.active .category-accordion-content {
        display: block !important;
        visibility: visible !important;
    }
    
    .category-accordion-item.active .category-accordion-content .category-cards-container {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show load more on mobile */
    .load-more-categories {
        display: block;
        text-align: center;
        margin-top: 24px;
        padding: 12px 20px;
        background: var(--white);
        border: 2px solid var(--primary-blue);
        border-radius: 8px;
        color: var(--primary-blue);
        font-weight: 600;
        font-size: 14px;
    }
    
    .load-more-categories:hover {
        background: var(--primary-blue);
        color: var(--white);
    }
}

/* ============================================
   TABLET VIEW (768px - 1024px) - 2 COLUMN CATEGORY SELECTORS + COMMON CARDS
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .explore-programs-section {
        padding: 40px 24px;
    }
    
    .section-title {
        font-size: 26px;
        text-align: left;
        margin-bottom: 28px;
    }
    
    .programs-layout {
        gap: 24px;
        flex-direction: column;
    }
    
    /* Hide horizontal category list on tablet */
    .categories-list {
        display: none;
    }
    
    /* Hide dropdown on tablet */
    .category-dropdown-wrapper {
        display: none;
    }
    
    /* Tablet: 2-Column Category Grid (Selectors Only) */
    .category-accordion {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        align-items: start !important;
    }
    
    /* Hide accordion items on tablet - use tablet items instead */
    .category-accordion-item {
        display: none !important;
    }
    
    /* Tablet Category Items (with inline cards) */
    .category-tablet-item {
        display: flex;
        flex-direction: column;
        background: var(--white);
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        transition: var(--transition);
        overflow: hidden;
    }
    
    .category-tablet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 14px 20px;
        cursor: pointer;
        transition: var(--transition);
        font-weight: 500;
        color: var(--text-dark);
        font-size: 15px;
    }
    
    .category-tablet-item:hover .category-tablet-header {
        background: #f0f9ff;
    }
    
    .category-tablet-item.active .category-tablet-header {
        background: var(--primary-blue);
        color: var(--white);
    }
    
    .category-tablet-item.active .program-icon {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .category-tablet-item.active .program-icon svg {
        stroke: #fff;
    }
    
    .category-tablet-item .category-name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        flex: 1;
        min-width: 0;
    }
    
    .category-tablet-header .program-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    
    .category-tablet-header .program-icon svg {
        width: 22px;
        height: 22px;
    }
    
    /* Tablet Accordion Arrow */
    .tablet-accordion-arrow {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    
    .tablet-accordion-arrow svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
        fill: none;
    }
    
    .category-tablet-item.active .tablet-accordion-arrow {
        transform: rotate(180deg);
    }
    
    .category-tablet-item .category-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .category-tablet-item .category-icon svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5; /* Thin, modern line style */
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    
    /* Tablet: Cards container inside category item - SPANS BOTH COLUMNS */
    .category-tablet-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        padding: 0;
        display: none; /* Hidden by default */
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    /* CRITICAL: When category is active, make it span both columns */
    .category-tablet-item.active {
        grid-column: 1 / -1 !important; /* Span full width across both columns */
        width: 100% !important;
    }
    
    .category-tablet-item.active .category-tablet-content {
        max-height: 5000px !important;
        overflow: visible !important;
        padding: 16px !important;
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for cards */
        transform: translateY(0);
        animation: slideDownFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    /* Slide Down + Fade In Animation with Soft Elevation */
    @keyframes slideDownFadeIn {
        0% {
            opacity: 0;
            transform: translateY(-15px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Stagger animation for individual cards with elevation */
    .category-tablet-item.active .category-tablet-content .program-card {
        animation: cardSlideFadeElevate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
        transform: translateY(-12px);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(1) {
        animation-delay: 0.05s;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(3) {
        animation-delay: 0.15s;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(4) {
        animation-delay: 0.2s;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(5) {
        animation-delay: 0.25s;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:nth-child(6) {
        animation-delay: 0.3s;
    }
    
    /* Card Slide + Fade + Elevation Animation (Apple/Material Style) */
    @keyframes cardSlideFadeElevate {
        0% {
            opacity: 0;
            transform: translateY(-12px) scale(0.98);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        }
        50% {
            opacity: 0.7;
            transform: translateY(-2px) scale(1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        }
    }
    
    /* Smooth settle effect after animation */
    .category-tablet-item.active .category-tablet-content .program-card {
        transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    
    .category-tablet-item.active .category-tablet-content .program-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    .category-tablet-content .program-card {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure cards are visible when loaded */
    .category-tablet-content .programs-loading {
        grid-column: 1 / -1;
        text-align: center;
        padding: 20px;
        color: var(--text-light);
    }
    
    /* Hide separate cards container on tablet */
    .programs-cards-container {
        display: none !important;
    }
    
    /* Load more categories styling for tablet */
    .load-more-categories {
        display: block;
        text-align: center;
        margin-top: 24px;
        padding: 12px 20px;
        background: var(--white);
        border: 2px solid var(--primary-blue);
        border-radius: 8px;
        color: var(--primary-blue);
        font-weight: 600;
        font-size: 14px;
    }
    
    .load-more-categories:hover {
        background: var(--primary-blue);
        color: var(--white);
    }
}

/* ============================================
   DESKTOP VIEW (≥ 1025px) - LEFT CATEGORIES + RIGHT CARDS
   ============================================ */
@media (min-width: 1025px) {
    .explore-programs-section {
        padding: 60px 24px;
    }
    
    .explore-programs-section .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
        /* Start from same position as categories, but continue full width */
        padding-left: 0;
        white-space: nowrap; /* Prevent wrapping to two rows */
    }
    
    .programs-layout {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    
    .programs-categories {
        width: 260px;
        max-width: 260px;
        flex-shrink: 0;
    }
    
    /* Show horizontal category list on desktop */
    /* Hide accordion on desktop */
    .category-accordion {
        display: none;
    }
    
    /* Hide dropdown on desktop */
    .category-dropdown-wrapper {
        display: none;
    }
    
    .categories-list {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: auto;
        max-height: 600px;
        padding: 0;
        width: 100%;
        max-width: 260px;
    }
    
    .categories-list::-webkit-scrollbar {
        width: 6px;
        height: auto;
    }
    
    .category-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .programs-content {
        flex: 1;
        min-width: 0;
    }
    
    .programs-cards {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
        overflow-x: visible;
        overflow-y: hidden;
        padding: 8px 0;
        align-items: stretch;
    }
    
    .program-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 280px !important;
        flex: none !important;
        margin: 0 auto;
    }
    
    .program-card-image-wrapper {
        height: 150px !important;
    }
    
    .program-card-content {
        padding: 16px !important;
    }
    
    .program-card-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .program-card-description {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }
    
    .program-card-cta {
        padding: 10px 16px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
}

/* ============================================
   REQUEST A CALL BACK POPUP
   ============================================ */

.callback-popup-overlay {
    position: fixed;
    inset: 0; /* top: 0, right: 0, bottom: 0, left: 0 */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.callback-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.callback-popup-container {
    background: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.callback-popup-overlay.active .callback-popup-container {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Header (Fixed) */
.callback-popup-header {
    display: none;
    background: #2563eb;
    padding: 16px 20px;
    position: relative;
    flex-shrink: 0;
    height: auto;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
}

.callback-header-content {
    flex: 1;
    padding-right: 12px;
}

.callback-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.callback-header-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.3;
}

.callback-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
    color: var(--text-dark);
}

.callback-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg) scale(1.1);
}

.callback-popup-close svg {
    transform: scale(1.2);
}

/* Desktop Close Button */
.callback-popup-close-desktop {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
    color: var(--text-dark);
}

.callback-popup-close-desktop:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg) scale(1.1);
}

.callback-popup-close-desktop svg {
    transform: scale(1.2);
}

/* Mobile Close Button (in header) */
.callback-popup-close-mobile {
    position: relative;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: #fff;
    padding: 0;
    flex-shrink: 0;
}

.callback-popup-close-mobile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.callback-popup-close-mobile:active {
    background: rgba(255, 255, 255, 0.2);
}

.callback-popup-content {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

/* LEFT: Info Panel */
.callback-info-panel {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 40px 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box; /* Include padding in width */
    width: 100%;
    max-width: 100%; /* Never exceed container */
}

.callback-info-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.callback-logos {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.callback-logo-item {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.callback-trust-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.trust-point svg {
    flex-shrink: 0;
    stroke: var(--white);
}

/* RIGHT: Form Panel */
.callback-form-panel {
    padding: 24px;
    flex: 1;
    box-sizing: border-box; /* Include padding in width */
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.callback-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    height: 48px;
    box-sizing: border-box;
}

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

.form-group input.error,
.form-group select.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.phone-input-wrapper.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.phone-input-wrapper.error:focus-within {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 48px;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.phone-prefix {
    padding: 12px 16px;
    background: #f5f7fa;
    border-right: 2px solid #e2e8f0;
    font-weight: 600;
    color: var(--text-dark);
    height: 48px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 8px 0 0 8px;
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    height: 48px;
    box-sizing: border-box;
    font-size: 14px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* WhatsApp Check Section */
.whatsapp-check {
    background: #f0fbf6;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.whatsapp-check .form-check {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-check .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #25d366;
    margin: 0;
    flex-shrink: 0;
}

.whatsapp-check .form-check-label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.whatsapp-check .form-check-label strong {
    color: #16a34a;
    font-weight: 600;
}

.checkbox-label a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.callback-submit-btn {
    padding: 0;
    background: #2563eb;
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    height: 48px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.callback-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.callback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Disable body scroll when popup is open */
body.popup-open {
    overflow: hidden; /* Prevent all scrolling */
    overflow-x: hidden; /* Force hide horizontal scroll */
    position: fixed; /* Prevent body scroll on mobile */
    width: 100%;
}

/* Prevent horizontal scroll globally */
body {
    overflow-x: hidden;
    max-width: 100vw; /* Never exceed viewport width */
}

/* Ensure all elements respect viewport */
.callback-popup-overlay *,
.callback-popup-overlay *::before,
.callback-popup-overlay *::after {
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .callback-popup-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .callback-popup-container {
        max-width: 420px;
        width: 100%;
        max-height: 95vh;
        border-radius: 12px 12px 0 0;
        margin-top: auto;
        margin-bottom: 0;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .callback-popup-overlay.active .callback-popup-container {
        transform: translateY(0);
    }
    
    /* Show Mobile Header */
    .callback-popup-header {
        display: flex;
        height: 56px;
        padding: 12px 16px;
    }
    
    .callback-header-title {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .callback-header-subtitle {
        font-size: 12px;
    }
    
    /* Hide Desktop Close Button on Mobile */
    .callback-popup-close-desktop {
        display: none;
    }
    
    .callback-popup-content {
        flex-direction: column;
        min-height: auto;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Hide Info Panel on Mobile */
    .callback-info-panel {
        display: none;
    }
    
    .callback-form-panel {
        padding: 24px;
        width: 100%;
    }
    
    .callback-form-title {
        display: none; /* Hide desktop title, use header instead */
    }
    
    .callback-form {
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select {
        height: 48px;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .phone-prefix {
        height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .phone-input-wrapper input {
        height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .phone-input-wrapper {
        height: 48px;
        border-radius: 8px;
    }
    
    .whatsapp-check {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .whatsapp-check .form-check-label {
        font-size: 14px;
    }
    
    .callback-submit-btn {
        height: 48px;
        font-size: 15px;
        border-radius: 10px;
        margin-top: 8px;
    }
    
    .callback-submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    }
    
    .checkbox-group {
        margin-bottom: 20px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .callback-popup-container {
        max-width: 800px;
    }
}

/* Desktop - Two Column Layout */
@media (min-width: 1025px) {
    .callback-popup-content {
        flex-direction: row;
        width: 100%;
    }
    
    .callback-info-panel {
        width: 45%; /* Percentage width, not fixed */
        min-height: 500px;
        flex-shrink: 0;
        max-width: 45%; /* Prevent overflow */
    }
    
    .callback-form-panel {
        width: 55%; /* Percentage width, not fixed */
        flex-shrink: 0;
        max-width: 55%; /* Prevent overflow */
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   THE KICT EDGE SECTION
   ============================================ */

.kict-edge-section {
    background: #ffffff;
    padding: 70px 0;
    width: 100%;
    margin-top: 60px; /* Gap after Explore Programs section */
}

.kict-edge-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.kict-edge-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.kict-edge-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
    margin: 0 auto;
}

.kict-edge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.kict-edge-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.kict-edge-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.kict-edge-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.kict-edge-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kict-edge-item:hover .kict-edge-icon {
    transform: translateY(-4px);
}

.kict-edge-item-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.kict-edge-item-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
    .kict-edge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .kict-edge-title {
        font-size: 32px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .kict-edge-section {
        padding: 50px 0;
        margin-top: 40px; /* Smaller gap on mobile */
    }
    
    .kict-edge-inner {
        padding: 0 20px;
    }
    
    .kict-edge-header {
        margin-bottom: 40px;
    }
    
    .kict-edge-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .kict-edge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .kict-edge-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }
    
    .kict-edge-item-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .kict-edge-item-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .kict-edge-title {
        font-size: 1.5rem;
    }
    
    .kict-edge-grid {
        gap: 20px;
    }
    
    .kict-edge-item-title {
        font-size: 0.9rem;
    }
    
    .kict-edge-item-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   SEE WHAT OUR LEARNERS SAY SECTION
   ============================================ */

.learners-say-section {
    background: linear-gradient(135deg, #0d2c7a 0%, #2f6fde 100%);
    padding: 70px 0;
    width: 100%;
    margin-top: 50px;
}

.learners-say-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.learners-say-header {
    text-align: center;
    margin-bottom: 50px;
}

.learners-say-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.learners-say-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Platform Badges */
.platform-badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.platform-badge {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.platform-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.platform-badge svg {
    width: 24px;
    height: 24px;
    color: #2563eb;
    stroke-width: 2;
}

.platform-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Ratings Row */
.ratings-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rating-platform-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rating-platform-icon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
    stroke-width: 2;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.rating-stars svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.rating-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.rating-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    flex-shrink: 0;
}

.rating-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    font-weight: 500;
}

/* Trust Badge */
.trust-badge {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-star {
    font-size: 18px;
    margin-right: 8px;
}

.trust-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Tablet View - Old styles (kept for compatibility) */
@media (min-width: 768px) and (max-width: 1024px) {
    .platform-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .ratings-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .learners-say-title {
        font-size: 28px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .learners-say-section {
        padding: 50px 0;
        margin-top: 40px;
    }
    
    .learners-say-inner {
        padding: 0 20px;
    }
    
    .learners-say-header {
        margin-bottom: 40px;
    }
    
    .learners-say-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .learners-say-subtitle {
        font-size: 14px;
    }
    
    /* Horizontal scroll for platform badges */
    .platform-badges {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        -webkit-overflow-scrolling: touch;
    }
    
    .platform-badges::-webkit-scrollbar {
        height: 4px;
    }
    
    .platform-badges::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .platform-badges::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .platform-badge {
        flex: 0 0 120px;
        min-width: 120px;
        padding: 16px 12px;
    }
    
    .platform-badge svg {
        width: 20px;
        height: 20px;
    }
    
    .platform-badge span {
        font-size: 12px;
    }
    
    /* Horizontal scroll for ratings */
    .ratings-row {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 20px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        -webkit-overflow-scrolling: touch;
    }
    
    .ratings-row::-webkit-scrollbar {
        height: 4px;
    }
    
    .ratings-row::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .ratings-row::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .rating-item {
        flex: 0 0 auto;
        min-width: 200px;
        padding: 12px;
    }
    
    .rating-platform-icon {
        width: 20px;
        height: 20px;
    }
    
    .rating-stars svg {
        width: 16px;
        height: 16px;
    }
    
    .rating-value {
        font-size: 16px;
    }
    
    .rating-separator {
        height: 16px;
        margin: 0 6px;
    }
    
    .rating-text {
        font-size: 12px;
    }
    
    .trust-badge {
        padding-top: 16px;
    }
    
    .trust-text {
        font-size: 12px;
    }
}

/* ============================================
   SEE WHAT OUR LEARNERS SAY SECTION
   ============================================ */

.learners-say-section {
    background: linear-gradient(135deg, #0b2e8a 0%, #1f5fd6 100%);
    padding: 56px 0;
    width: 100%;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.learners-say-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.learners-say-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.learners-say-header {
    text-align: center;
    margin-bottom: 48px;
}

.learners-say-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.learners-say-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Platform Cards & Ratings Wrapper */
.review-content-wrapper {
    display: block;
}

/* Mobile Scroll Wrapper - Desktop: no special styling */
.mobile-scroll-wrapper {
    /* Desktop: normal flow */
}

/* Platform Cards */
.review-platforms-container {
    margin-bottom: 40px;
}

.review-platforms-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    align-items: center;
}

.review-platform-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-platform-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.review-platform-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.platform-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.platform-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

/* Ratings Row */
.review-ratings-container {
    margin-bottom: 24px;
}

.review-ratings-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    align-items: center;
}

.review-rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-rating-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.rating-star {
    font-size: 20px;
    line-height: 1;
}

.rating-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.rating-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* Trust Disclaimer */
.trust-disclaimer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.disclaimer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
    .learners-say-section {
        padding: 52px 0;
    }
    
    .learners-say-title {
        font-size: 28px;
    }
    
    /* Combined scroll wrapper - both rows scroll together on tablet */
    .mobile-scroll-wrapper,
    .review-content-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        padding-bottom: 8px;
        margin-bottom: 24px;
        white-space: nowrap;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar,
    .review-content-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar-track,
    .review-content-wrapper::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar-thumb,
    .review-content-wrapper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    /* Platform cards - inside scroll wrapper */
    .review-platforms-container {
        margin-bottom: 24px;
        display: inline-block;
        vertical-align: top;
        white-space: normal;
    }
    
    .review-platforms-grid {
        display: flex;
        gap: 14px;
        padding: 0 4px;
    }
    
    .review-platform-card {
        flex: 0 0 130px;
        padding: 14px 16px;
    }
    
    .platform-icon {
        width: 30px;
        height: 30px;
    }
    
    .platform-name {
        font-size: 13px;
    }
    
    /* Ratings - inside scroll wrapper */
    .review-ratings-container {
        display: inline-block;
        vertical-align: top;
        white-space: normal;
    }
    
    .review-ratings-grid {
        display: flex;
        gap: 16px;
        padding: 0 4px;
    }
    
    .review-rating-item {
        flex: 0 0 120px;
    }
    
    .rating-value {
        font-size: 19px;
    }
    
    .rating-count {
        font-size: 12px;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    .learners-say-section {
        padding: 48px 0;
        margin-top: 40px;
    }
    
    .learners-say-inner {
        padding: 0 20px;
    }
    
    .learners-say-header {
        margin-bottom: 36px;
    }
    
    .learners-say-title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .learners-say-subtitle {
        font-size: 14px;
    }
    
    /* Combined scroll wrapper - both rows scroll together on mobile */
    .mobile-scroll-wrapper,
    .review-content-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
        padding-bottom: 8px;
        margin-bottom: 24px;
        white-space: nowrap;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar,
    .review-content-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar-track,
    .review-content-wrapper::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .mobile-scroll-wrapper::-webkit-scrollbar-thumb,
    .review-content-wrapper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    /* Platform cards - inside scroll wrapper */
    .review-platforms-container {
        margin-bottom: 24px;
        display: inline-block;
        vertical-align: top;
        white-space: normal;
    }
    
    .review-platforms-grid {
        display: flex;
        gap: 14px;
        padding: 0 4px;
    }
    
    .review-platform-card {
        flex: 0 0 110px;
        padding: 12px 14px;
    }
    
    .platform-icon {
        width: 28px;
        height: 28px;
    }
    
    .platform-name {
        font-size: 12px;
    }
    
    /* Ratings - inside scroll wrapper */
    .review-ratings-container {
        display: inline-block;
        vertical-align: top;
        white-space: normal;
    }
    
    .review-ratings-grid {
        display: flex;
        gap: 16px;
        padding: 0 4px;
    }
    
    .review-rating-item {
        flex: 0 0 100px;
    }
    
    .rating-value {
        font-size: 18px;
    }
    
    .rating-count {
        font-size: 11px;
    }
    
    .trust-disclaimer {
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .disclaimer-text {
        font-size: 12px;
    }
}

/* ============================================
   STUDENT REVIEWS SECTION
   ============================================ */

.student-reviews-section {
    padding: 60px 20px;
    background: var(--white);
    margin-top: 50px; /* Gap after KICT Edge section */
}

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

.reviews-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.reviews-section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.reviews-section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.reviews-section-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.badge-text {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.badge-note {
    font-size: 12px;
    color: var(--text-gray);
}

/* Top Layout: Featured Video + Stats - REMOVED */

/* Review Cards Slider */
.reviews-cards-container {
    margin-top: 50px;
}

.reviews-slider-wrapper {
    position: relative;
    overflow: visible; /* Changed: Allow arrows to be visible outside */
    padding: 0 60px; /* Side padding for arrows */
}

.reviews-slider {
    display: flex !important;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    overflow: visible; /* Changed: Allow all cards to be visible */
    width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.review-card.active {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-blue);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-card-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    display: block;
    background-color: #f1f5f9;
    flex-shrink: 0;
}

.review-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-card-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-card-rating svg {
    width: 16px;
    height: 16px;
    fill: #fbbf24;
    color: #fbbf24;
}

.review-card-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card-readmore {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.review-card-readmore:hover {
    text-decoration: underline;
}

.review-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.review-card-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-gray);
}

.review-card-platform svg {
    width: 18px;
    height: 18px;
}

/* Slider Navigation - Arrows Outside Cards */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: var(--primary-blue);
}

.slider-nav-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.slider-prev {
    left: 0; /* Outside left margin */
}

.slider-next {
    right: 0; /* Outside right margin */
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.video-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reviews-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    font-size: 16px;
}

/* BOTTOM BANNER SECTION */
.bottom-banner-section {
    width: 100%;
    margin: 0;
    padding: 0 20px 40px 20px; /* Left-right padding + bottom spacing */
    background: var(--white);
    overflow: hidden;
}

.bottom-banner-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
    border-radius: 8px; /* Optional: slight rounded corners */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    /* Tablet: 2 cards visible */
    .reviews-slider-wrapper {
        padding: 0 50px; /* Side padding for arrows */
    }
    
    .review-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
}

@media (max-width: 767px) {
    /* Mobile: 1 card visible */
    .student-reviews-section {
        padding: 40px 16px;
    }
    
    .reviews-section-header {
        margin-bottom: 36px;
    }
    
    .reviews-section-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .reviews-section-subtitle {
        font-size: 0.95rem;
    }
    
    .badge-text {
        font-size: 0.85rem;
    }
    
    .badge-note {
        font-size: 0.8rem;
    }
    
    .reviews-slider-wrapper {
        padding: 0 50px; /* Side padding for arrows on mobile */
    }
    
    .review-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 20px 16px;
    }
    
    .review-card-photo {
        width: 44px;
        height: 44px;
    }
    
    .review-card-name {
        font-size: 0.95rem;
    }
    
    .review-card-rating {
        font-size: 0.85rem;
    }
    
    .review-card-text {
        font-size: 0.9rem;
        line-height: 1.55;
    }
    
    .reviews-slider {
        gap: 16px;
    }
    
    .slider-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    /* Bottom Banner Mobile */
    .bottom-banner-section {
        padding: 0 16px 30px 16px; /* Left-right padding + bottom spacing for mobile */
    }
    
    .bottom-banner-image {
        width: 100%;
        height: auto;
    }
}

/* Very small mobile: further reduce text and spacing */
@media (max-width: 480px) {
    .reviews-section-title {
        font-size: 1.45rem;
    }
    
    .reviews-section-subtitle {
        font-size: 0.875rem;
    }
    
    .review-card-name {
        font-size: 0.9rem;
    }
    
    .review-card-text {
        font-size: 0.85rem;
    }
}
