/* --- 1. MODERN THEME VARIABLES --- */
:root {
    --primary: #6366f1;       /* Indigo */
    --primary-dark: #4338ca;
    --secondary: #0ea5e9;     /* Science Blue */
    --accent-green: #84cc16;  /* Bio-Connect Green */
    --accent-purple: #7e22ce; /* Top Bar Purple */
    --bright-cyan: #38bdf8;   /* Bright Cyan for Hero Text */
    --bright-gold: #fbbf24;   /* Gold for Event Title */
    
    --bg-body: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-card: #ffffff;
    
    --text-main: #0f172a;
    --text-muted: #fffff;
    --border: #e2e8f0;
    
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-float: 0 20px 50px -10px rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] {
    --bg-body: #020617;
    --bg-glass: rgba(15, 23, 42, 0.9);
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.5);
}

/* --- 2. GLOBAL RESET & TYPOGRAPHY --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-muted);
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; transition: 0.2s; }

/* --- 3. TOP TICKER BAR --- */
.top-bar {
    background: var(--accent-purple);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    z-index: 1050;
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

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

.clock-badge {
    background: rgba(0,0,0,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
}

/* --- 4. NAVIGATION --- */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.navbar-brand h1 {
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.sub-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-left: 2.3rem;
    margin-top: -3px;
    font-weight: 600;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 5px;
}

.nav-link:hover { color: var(--primary) !important; }

/* Disabled Login Button Style */
.disabled-btn {
    pointer-events: none;
    opacity: 0.5;
    background-color: #ccc !important;
    border-color: #ccc !important;
    color: #666 !important;
}

/* --- 5. HERO CAROUSEL --- */
.hero-slider .carousel-item {
    height: 650px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    align-items: center;
}

.partner-logo-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto 20px auto;
    transition: transform 0.3s;
}

.partner-logo-box:hover { transform: scale(1.05); }
.partner-logo-box span { font-size: 0.75rem; font-weight: 700; color: #333; line-height: 1.2; margin-top: 10px; }

.hero-text-center {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.display-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Color Utility Classes */
.text-bright { color: var(--bright-cyan) !important; }
.text-gold { color: var(--bright-gold) !important; }
.highlight-green { color: var(--accent-green); }

/* New Collaboration Button Style */
.btn-collab {
    background: white;
    color: #0f172a;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-transform: capitalize;
}

.btn-collab i {
    color: var(--primary); /* Purple icon */
}

.btn-collab:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
    color: var(--primary);
}

/* Mobile Hero Fixes */
@media (max-width: 991px) {
    .hero-slider .carousel-item { height: auto; padding: 80px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .side-logos { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
    .display-title { font-size: 2.2rem; }
    .order-mobile-1 { order: 1; }
    .order-mobile-2 { order: 2; }
}

/* --- 6. ABOUT FEATURE CARDS --- */
.feature-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-card);
    height: 100%;
}

/* --- 7. ROLE OF AI GRID (Bento Grid) --- */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary);
}

.icon-box {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1); 
    color: var(--primary);
}

/* --- 8. FOOTER --- */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 80px;
    margin-top: 60px;
}
.footer h5 { color: white; margin-bottom: 20px; }
.footer a { color: #94a3b8; text-decoration: none; }
.footer a:hover { color: white; padding-left: 5px; }
.copyright { background: #020617; padding: 20px 0; margin-top: 40px; font-size: 0.85rem; }

/* Address Highlight Class */
.footer-highlight {
    color: #ffffff !important; /* Forces white color */
    font-weight: 500;
}