/* ========================================
   BASE STYLES - BCU PLATFORM
   ======================================== */

:root {
    /* Light Theme Colors */
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #6c6c8a;
    --border-color: #e1e5eb;
    
    /* Accent Colors */
    --accent-purple: #667eea;
    --accent-pink: #f093fb;
    --accent-orange: #f5576c;
    --accent-green: #43e97b;
    --accent-blue: #4facfe;
    --accent-gold: #ffd700;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(102,126,234,0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

/* Glassmorphism Base */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: inherit;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 1.5rem; }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .container { padding: 0 1rem; }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.fade-up {
    animation: fadeUp 0.6s ease forwards;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient { background: linear-gradient(135deg, #667eea, #764ba2); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   TOP NAVIGATION - GLASSMORPHISM STYLES
   ======================================== */

.top-nav {
    background: black;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* GLASSMORPHISM LINKS - Each link has its own glassy background */
.top-nav-link {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Active link - More prominent glassmorphism */
.top-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(63, 62, 62, 0.2);
    text-decoration: none;
}

/* Contact button - Gradient glassmorphism */
.btn-contact {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    backdrop-filter: blur(8px);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 1), rgba(118, 75, 162, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.top-nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-nav-right .top-nav-link {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

/* ========================================
   MAIN HEADER STYLES
   ======================================== */

.main-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 45px;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--accent-purple);
}

.logo-highlight {
    color: var(--accent-purple);
}

/* Search Bar Styles */
.search-wrapper {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    transition: all 0.3s;
}

.search-bar:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.search-bar i {
    margin-left: 1rem;
    color: var(--text-muted);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.7rem;
    font-size: 0.95rem;
    outline: none;
}

.search-btn {
    background: var(--accent-purple);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #5a67d8;
    transform: scale(1.02);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid var(--border-color);
}

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

.search-no-results {
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
}

.search-suggestions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-suggestion-item:hover {
    background: var(--bg-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.mobile-menu-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
}

.mobile-menu-links a.contact {
    color: var(--accent-purple);
}

/* ========================================
   UNIFIED FOOTER STYLES
   ======================================== */

.bcu-footer {
    background: #ededef;
    color: rgb(13, 13, 13);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.bcu-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.bcu-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bcu-footer .footer-logo i {
    color: #667eea;
}

.bcu-footer .footer-col p {
    color: rgba(6, 6, 6, 0.7);
    line-height: 1.6;
    font-size: 0.85rem;
}

.bcu-footer .footer-col a {
    display: block;
    color: #0a0a0a;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.bcu-footer .footer-col a:hover {
    color: #667eea;
}

.bcu-footer .footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #0f0f10;
}

.bcu-footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.bcu-footer .social-links a {
    color: rgba(6, 6, 6, 0.7);
    font-size: 1.2rem;
}

.bcu-footer .social-links a:hover {
    color: #667eea;
}

.bcu-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #d0d0d2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.bcu-footer .footer-bottom p {
    color: rgba(15, 15, 15, 0.5);
    font-size: 0.8rem;
}

.bcu-footer .footer-links {
    display: flex;
    gap: 1.5rem;
}

.bcu-footer .footer-links a {
    color: #0a0a0a;
    text-decoration: none;
    font-size: 0.8rem;
}

.bcu-footer .footer-links a:hover {
    color: #667eea;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .bcu-footer .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bcu-footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .bcu-footer .social-links {
        justify-content: center;
    }
    
    .bcu-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .bcu-footer .footer-links {
        justify-content: center;
        gap: 0rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .top-nav-links {
        display: none;
    }
    
    .top-nav-right {
        margin-left: auto;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
}

/* ========================================
   SEARCH ANIMATION OVERLAY
   ======================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.search-icon-animate {
    font-size: 5rem;
    color: #667eea;
    animation: searchPulse 0.5s ease infinite;
}

.search-animation h2 {
    color: white;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

.dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.dot-animate {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: bounce 0.5s ease infinite;
}

.dot-animate:nth-child(2) { animation-delay: 0.1s; }
.dot-animate:nth-child(3) { animation-delay: 0.2s; }

@keyframes searchPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

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

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

/* ========================================
   INVEST CARDS SECTION
   ======================================== */

.invest-section {
    padding: 3rem 0 5rem 0;
    background: var(--bg-primary);
}

.invest-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.invest-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(102,126,234,0.1);
}

.invest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102,126,234,0.15);
    border-color: rgba(102,126,234,0.3);
}

.invest-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invest-icon i {
    font-size: 2rem;
    color: white;
}

.invest-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.invest-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a4a6a;
}

@media (max-width: 1024px) {
    .invest-cards-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .invest-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ========================================
   HEADER BUTTONS - Login & Contact Us
   ======================================== */

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: var(--bg-primary);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.btn-contact-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .header-buttons {
        display: none;
    }
}

/* ========================================
   TOP NAVIGATION RIGHT SIDE (Landing Page)
   ======================================== */

.top-nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========================================
   HEADER BUTTONS (Individual & Business Pages)
   ======================================== */

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: var(--bg-primary);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.btn-contact-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .top-nav-right {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
}

/* ========================================
   GENERIC COURSE CARD - USED EVERYWHERE
   ======================================== */

.generic-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.generic-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.generic-course-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    color: #FFD700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.card-rating i {
    margin-right: 4px;
}

.card-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: black;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #6c6c8a;
}

.card-meta i {
    margin-right: 4px;
}

.card-instructor {
    font-size: 0.8rem;
    color: #4a4a6a;
    margin-bottom: 0.8rem;
}

.card-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.topic-tag {
    background: #f0f0f5;
    color: #667eea;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.card-btn {
    display: block;
    text-align: center;
    background: #f5f7fa;
    color: #667eea;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .card-image {
        height: 160px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
}
/* ========================================
   UPDATED TOP NAVIGATION - NEW GRADIENT BG
   ======================================== */

.top-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

/* ========================================
   FOOTER ADDRESS ALIGNMENT FIX
   ======================================== */

.bcu-footer .footer-col p {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: black;
    font-size: 0.85rem;
    line-height: 1.5;
}

.bcu-footer .footer-col p i {
    min-width: 20px;
    margin-top: 2px;
    color: black;
}

.bcu-footer .footer-col p a {
    display: inline;
    margin-bottom: 0;
    color: rgba(0, 0, 0);
}

/* ========================================
   UNIVERSAL COURSE CARD - USED ACROSS ALL PAGES
   ======================================== */

.universal-course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.universal-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Image Wrapper */
.card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.universal-course-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

/* Badges */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #FFD700;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-rating-badge i {
    font-size: 0.7rem;
}

.card-rating-badge small {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 0.7rem;
}

/* Content Wrapper */
.card-content-wrapper {
    padding: 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.card-description {
    font-size: 0.85rem;
    color: #6c6c8a;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Info */
.card-meta-info {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #6c6c8a;
}

.meta-item i {
    color: #667eea;
    font-size: 0.8rem;
}

/* Certification */
.card-certification {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #2ecc71;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    background: rgba(46, 204, 113, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.card-certification i {
    font-size: 0.7rem;
}

/* Instructor */
.card-instructor-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4a4a6a;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.card-instructor-info i {
    color: #667eea;
    font-size: 0.9rem;
}

/* Topics */
.card-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
    min-height: 32px;
    flex-shrink: 0;
}

.topic-pill {
    background: #f0f2f5;
    color: #667eea;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.topic-pill:hover {
    background: #667eea;
    color: white;
}

/* Action Button */
.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f5f7fa, #ffffff);
    color: #667eea;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.card-action-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-action-btn i {
    transition: transform 0.3s ease;
}

.card-action-btn:hover i {
    transform: translateX(3px);
}

/* Grid Container - Use this class for all course grids */
.universal-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .universal-courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .universal-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .universal-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .card-image-wrapper {
        height: 200px;
    }
}

/* No Results State */
.no-courses-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.no-courses-found i {
    font-size: 3.5rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-courses-found p {
    color: #6c6c8a;
    font-size: 1.1rem;
}
.cmp-logo{
    width: 250px;
}
/* ========================================
   REDESIGNED MAIN HEADER V2
   No Top Nav - Clean Modern Design
   ======================================== */

.main-header-v2 {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.header-container-v2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ========================================
   LEFT - LOGO (Larger Size)
   ======================================== */

.header-logo-v2 {
    flex-shrink: 0;
}

.logo-img-v2 {
    width: 280px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================================
   CENTER - SEARCH BAR
   ======================================== */
.header-search-v2 {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-wrapper-v2 {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border: 1.5px solid #e8ecf2;
    border-radius: 60px;
    padding: 0.25rem 0.25rem 0.25rem 1.2rem;
    transition: all 0.3s ease;
}

.search-wrapper-v2:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.search-icon-v2 {
    color: #8a8fa3;
    font-size: 1rem;
}

.search-input-v2 {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.9rem 0.8rem;
    font-size: 0.95rem;
    outline: none;
    color: #1a1a2e;
}

.search-input-v2::placeholder {
    color: #a0a5b8;
    font-weight: 400;
}

.search-btn-v2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn-v2:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46a1);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ========================================
   RIGHT - DUAL LINK GROUPS (Horizontal Rows)
   ======================================== */

.header-links-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Row 1: Glassy Links */
.links-row-top {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.glassy-link-v2 {
    background: rgba(102, 126, 234, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #1a1a2e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 40px;
    transition: all 0.25s ease;
    border: 1px solid rgba(102, 126, 234, 0.12);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.glassy-link-v2:hover {
    background: rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
    color: #667eea;
}

.glassy-link-v2.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

/* Row 2: Text Links */
.links-row-bottom {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.text-link-v2 {
    color: #5a5a7a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.2rem 0;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.text-link-v2:hover {
    color: #667eea;
    border-bottom-color: #667eea;
}

.text-link-v2.active {
    color: #667eea;
    font-weight: 600;
    border-bottom-color: #667eea;
}

/* ========================================
   MOBILE HAMBURGER BUTTON
   ======================================== */

.mobile-toggle-v2 {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a2e;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.mobile-toggle-v2:hover {
    color: #667eea;
}

/* ========================================
   MOBILE MENU V2
   ======================================== */

.mobile-menu-v2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-v2.active {
    right: 0;
}

.mobile-menu-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eef2f6;
}

.mobile-logo-v2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.mobile-logo-v2 i {
    color: #667eea;
    font-size: 1.5rem;
}

.close-menu-v2 {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6c6c8a;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-menu-v2:hover {
    color: #1a1a2e;
}

.mobile-menu-links-v2 {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.3rem;
}

.mobile-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0a5b8;
    margin: 0.8rem 0 0.5rem 0;
}

.mobile-section-label:first-of-type {
    margin-top: 0;
}

.mobile-link-v2 {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.8rem 0.5rem;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.mobile-link-v2:hover {
    background: #f5f7fa;
    color: #667eea;
    padding-left: 1rem;
}

.mobile-divider-v2 {
    height: 1px;
    background: #eef2f6;
    margin: 1rem 0;
}

/* Mobile Overlay */
.mobile-overlay-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay-v2.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet and below - Hide desktop links, show hamburger */
@media (max-width: 1100px) {
    .header-links-v2 {
        display: none;
    }
    
    .mobile-toggle-v2 {
        display: block;
    }
    
    .header-container-v2 {
        gap: 1rem;
    }
    
    .logo-img-v2 {
        width: 250px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .header-container-v2 {
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .header-logo-v2 {
        order: 1;
    }
    
    .mobile-toggle-v2 {
        order: 2;
        margin-left: auto;
    }
    
    .header-search-v2 {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .logo-img-v2 {
        width: 200px;
    }
    
    .search-wrapper-v2 {
        padding: 0.2rem 0.2rem 0.2rem 1rem;
    }
    
    .search-input-v2 {
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .search-btn-v2 {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-img-v2 {
        width: 170px;
    }
    
    .search-btn-v2 span {
        display: none;
    }
    
    .search-btn-v2 {
        padding: 0.6rem 0rem;
    }
    
    .search-btn-v2::after {
        content: 'Go';
    }
    
    .search-input-v2::placeholder {
        font-size: 0.8rem;
    }
}

/* ========================================
   HIDE OLD HEADER STYLES
   ======================================== */

/* Deprecate old header elements */
.main-header,
.top-nav,
.top-nav-container,
.top-nav-links,
.top-nav-right,
.header-buttons,
.btn-login,
.btn-contact-header,
.mobile-menu-btn,
.mobile-menu,
.close-menu {
    display: none !important;
}

/* ========================================
   SEARCH RESULTS (Kept from original)
   ======================================== */

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid #eef2f6;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f2f5;
}

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

.search-result-item:hover {
    background: #f8fafc;
}

.search-no-results {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c6c8a;
}

.search-suggestions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f6;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 8px;
}

.search-suggestion-item:hover {
    background: #f5f7fa;
}

.search-more-results {
    text-align: center;
    padding: 0.8rem;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   SEARCH OVERLAY ANIMATION
   ======================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.search-icon-animate {
    font-size: 5rem;
    color: #667eea;
    animation: searchPulse 0.5s ease infinite;
}

.search-animation h2 {
    color: white;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

.dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.dot-animate {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: bounce 0.5s ease infinite;
}

.dot-animate:nth-child(2) { animation-delay: 0.1s; }
.dot-animate:nth-child(3) { animation-delay: 0.2s; }

@keyframes searchPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* ========================================
   RIGHT - DUAL LINK GROUPS (Horizontal Rows)
   Crisp Glassy Dark Top Row + Gaming Hover Bottom Row
   ======================================== */

.header-links-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Row 1: Crisp Glassy Dark Links - Polished Obsidian */
.links-row-top {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.glassy-link-v2 {
    background: rgba(239, 239, 246, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: rgb(21, 20, 20);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-align: center;
    min-width: 110px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.glassy-link-v2:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    backdrop-filter: blur(14px) saturate(200%);
    -webkit-backdrop-filter: blur(14px) saturate(200%);
    color: #ffffff;
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(102, 126, 234, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.glassy-link-v2.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 16px rgba(102, 126, 234, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
    font-weight: 600;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* Row 2: Text Links - Gaming-Inspired Hover */
.links-row-bottom {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.text-link-v2 {
    color: #5a5a7a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-align: center;
    min-width: 110px;
    border-radius: 40px;
    position: relative;
    z-index: 1;
}

.text-link-v2:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 0 0 1px rgba(102, 126, 234, 0.2),
        0 4px 12px rgba(102, 126, 234, 0.1),
        inset 0 0 20px rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
}

.text-link-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.text-link-v2:hover::before {
    opacity: 1;
}

.text-link-v2.active {
    color: #667eea;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 3px rgba(102, 126, 234, 0.08);
}

/* ========================================
   UNIFORM LOGO SIZING - ALL CUSTOM HEADERS
   ======================================== */

/* TechX Header Logo */
.techx-logo img {
    width: 280px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* FinancePro Header Logo */
.finance-logo img {
    width: 280px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* BusinessEdge Header Logo */
.business-logo img {
    width: 280px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* UniWorld Header Logo */
.uniworld-header .logo img {
    width: 280px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo-img-v2,
    .techx-logo img,
    .finance-logo img,
    .business-logo img,
    .uniworld-header .logo img {
        width: 200px !important;
    }
}

@media (max-width: 480px) {
    .logo-img-v2,
    .techx-logo img,
    .finance-logo img,
    .business-logo img,
    .uniworld-header .logo img {
        width: 170px !important;
    }
}

/* ========================================
   LANDING PAGE POPUP MODAL
   Added: Client requirement
   Safe addition - no existing styles modified
   ======================================== */

.landing-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.landing-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.landing-popup-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-popup-overlay.active .landing-popup-modal {
    transform: translateY(0) scale(1);
}

/* Close Button */
.landing-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.landing-popup-close:hover {
    background: #e65c00;
    transform: rotate(90deg);
}

/* Popup Content - Two Column Layout */
.landing-popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

/* Left Side - Image */
.popup-left {
    position: relative;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-left img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.popup-left-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.popup-left-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.popup-left-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side - Form */
.popup-right {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-right-header {
    margin-bottom: 1.5rem;
}

.popup-right-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.popup-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.popup-benefits span {
    font-size: 0.8rem;
    color: #4a4a6a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-benefits i {
    color: #4CAF50;
    font-size: 0.9rem;
}

/* Form Styles */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group {
    position: relative;
}

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e5eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #1a1a2e;
}

.popup-form input:focus,
.popup-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.popup-form input::placeholder {
    color: #a0a5b8;
}

.popup-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c6c8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Consent Checkbox */
.form-consent {
    margin-top: 0.3rem;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.7rem;
    color: #6c6c8a;
    line-height: 1.4;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #667eea;
}

/* Submit Button */
.popup-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #e65c00, #f9d423);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 92, 0, 0.3);
}

.popup-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Thank You State */
.popup-thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 400px;
}

.thankyou-icon-wrapper {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
    animation: popupBounceIn 0.5s ease;
}

@keyframes popupBounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.popup-thankyou h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.popup-thankyou p {
    color: #6c6c8a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.thankyou-details {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 350px;
}

.thankyou-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #4a4a6a;
}

.thankyou-item i {
    color: #667eea;
    width: 20px;
}

.popup-close-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .landing-popup-content {
        grid-template-columns: 1fr;
    }
    
    .popup-left {
        border-radius: 24px 24px 0 0;
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .popup-left-overlay h3 {
        font-size: 1.5rem;
    }
    
    .popup-right {
        padding: 1.5rem;
    }
    
    .landing-popup-modal {
        max-width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .landing-popup-overlay {
        padding: 10px;
    }
    
    .popup-right {
        padding: 1.2rem;
    }
    
    .popup-right-header h3 {
        font-size: 1rem;
    }
    
    .popup-submit-btn {
        font-size: 0.9rem;
        padding: 12px;
    }
}

/* ========================================
   LEGAL PAGES - SHARED STYLES
   Terms, Privacy, Cookies, Disclaimer
   ======================================== */

.legal-page {
    padding: 5rem 2rem;
    background: #fafbfc;
    min-height: 80vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eef2f6;
}

.legal-header h1 {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.legal-header .last-updated {
    color: #6c6c8a;
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: #667eea;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 1.5rem 0 0.8rem;
}

.legal-content p {
    color: #4a4a6a;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: justify;      /* Aligns the blocks edges cleanly */
    text-justify: inter-word; /* Distributes word gaps smoothly */
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: #4a4a6a;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.legal-content .highlight-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.legal-content .highlight-box p {
    margin: 0;
    color: #5d4037;
    text-align: justify; /* Keeps highlight boxes matching the prose layout */
}

.contact-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.contact-section h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    color: #4a4a6a;
}

.contact-info i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 1rem;
    }
    
    .legal-container {
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 1.6rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
}
.bcu-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}


/* ========================================
   FOOTER BRANDING - Logo | Divider | Content
   Client Requirement: Horizontal layout with divider
   ======================================== */

/* Grid - First column gets more width */
.bcu-footer .footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 0.80fr 0.80fr 0.80fr;
    gap: 2.1rem;
    margin-bottom: 2rem;
    color: rgb(21, 20, 20);
}

.footer-branding {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Left: Logo */
.footer-brand-left {
    flex-shrink: 0;
    padding-top: 0;
}

.footer-brand-logo {
    width: 240px;
    height: auto;
    object-fit: contain;
    margin-top: -19px;
}

.footer-brand-divider {
    width: 1px;
    min-height: 130px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, #667eea 15%, #667eea 85%, transparent);
    flex-shrink: 0;
}

/* Right: Text Content */
.footer-brand-right {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.footer-brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4a4a6a;
    letter-spacing: 1.5px;
    margin: 0.2rem 0;
}

.footer-brand-initiative {
    font-size: 0.65rem;
    color: #6c6c8a;
    margin: 0 0 0.4rem 0;
    white-space: nowrap;
}

/* Certification List */
.footer-cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.65rem;
    color: #4a4a6a;
    line-height: 1.4;
}

.footer-cert-list span {
    position: relative;
}

/* Description */
.footer-description {
    color: #4a4a6a;
    line-height: 1.6;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .bcu-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand-logo {
        width: 130px;
    }
    
    .footer-brand-name {
        font-size: 1rem;
    }
    
    .footer-brand-divider {
        min-height: 110px;
    }
}

/* Mobile - Stack branding vertically */
@media (max-width: 768px) {
    .bcu-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-branding {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-brand-divider {
        width: 60%;
        min-height: 1px;
        height: 1px;
        background: linear-gradient(to right, transparent, #667eea 20%, #667eea 80%, transparent);
    }
    
    .footer-brand-logo {
        width: 120px;
    }
    
    .footer-brand-name {
        font-size: 1rem;
    }
    
    .footer-brand-right {
        align-items: center;
    }
    
    .footer-cert-list {
        align-items: center;
    }
    
    .footer-description {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-brand-logo {
        width: 100px;
    }
    
    .footer-brand-name {
        font-size: 0.9rem;
    }
    
    .footer-brand-tagline {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .footer-cert-list {
        font-size: 0.6rem;
    }
}

.footer-bottom{
    color: black;
}
.footer-brand-initiative {
white-space: nowrap;
}
/* Description below logo */
.footer-brand-desc {
    color: #4a4a6a;
    line-height: 1.5;
    font-size: 0.72rem;
    margin: 0.5rem 0 0 0;
    max-width: 240px;
}

/* Tablet and below - Hide desktop links, show hamburger */
@media (max-width: 1100px) {
    .header-links-v2 {
        display: none;
    }
    
    .mobile-toggle-v2 {
        display: block;
    }
    
    .header-container-v2 {
        gap: 1rem;
    }
    
    .logo-img-v2 {
        width: 250px;
    }
}

/* Tablet and below - Hide desktop links, show hamburger */
@media (max-width: 1100px) {
    .header-links-v2 {
        display: none !important;
    }
    
    .mobile-toggle-v2 {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    .header-container-v2 {
        gap: 1rem;
        justify-content: space-between;
    }
    
    .logo-img-v2 {
        width: 200px;
    }
}

/* ========================================
   MOBILE MENU - ENSURE IT WORKS
   ======================================== */

@media (max-width: 1100px) {
    /* Ensure mobile menu button is visible and clickable */
    .mobile-toggle-v2 {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 2000 !important;
        cursor: pointer !important;
        order: 3;
    }
    
    /* Hide ALL desktop nav elements */
    .links-row-top,
    .links-row-bottom,
    .header-links-v2 .glassy-link-v2,
    .header-links-v2 .text-link-v2 {
        display: none !important;
    }
}
/* ========================================
   SEARCH BAR MOBILE FIX
   ======================================== */

@media (max-width: 768px) {
    .header-search-v2 {
        max-width: 100% !important;
        width: 100% !important;
        order: 4;
    }
    
    .search-wrapper-v2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .search-input-v2 {
        max-width: 100% !important;
        font-size: 0.85rem !important;
    }
    
    /* Fix header container layout */
    .header-container-v2 {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .header-logo-v2 {
        flex-shrink: 0;
    }
    
    .mobile-toggle-v2 {
        flex-shrink: 0;
    }
}