/* ========================================
   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: #1a1a2e;
    color: white;
    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(255,255,255,0.7);
    line-height: 1.6;
    font-size: 0.85rem;
}

.bcu-footer .footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.bcu-footer .footer-col a:hover {
    color: white;
}

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

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

.bcu-footer .social-links a {
    color: rgba(255,255,255,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 rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.bcu-footer .footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
}

.bcu-footer .footer-links a:hover {
    color: white;
}

/* 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;
    }
    
    .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: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

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

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

.bcu-footer .footer-col p a:hover {
    color: white;
}

/* ========================================
   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;
}