﻿:root {
    --bg1: #f9f9f9;
    --bg2: #e0eafc;
    --accent: #0b63d6;
    --accent-hover: #094eb2;
}

body {
    background: linear-gradient(to right, var(--bg1), var(--bg2));
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
    color: #111;
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: linear-gradient(90deg, #ffffffcc, #f9fbffcc);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e6e9f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* =============================
   Desktop (Default)
   → Show full brand name (no ellipsis)
   ============================= */
.navbar-brand {
    font-weight: 700;
    color: var(--accent) !important;
    white-space: nowrap; /* keep on one line */
    overflow: visible; /* no clipping */
    text-overflow: unset; /* remove ellipsis */
    max-width: none; /* allow full width */
    display: inline-block;
}

/* =============================
   Tablets / Mobiles
   → Allow wrapping + full visibility
   ============================= */
@media (max-width: 767px) {
    .navbar-brand {
        white-space: normal; /* allow wrap on mobile */
        overflow: visible;
        text-overflow: unset;
        max-width: 100%; /* use full width */
        display: block;
    }
}

/* =============================
   Small Phones
   → Reduce font size
   ============================= */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 15px;
        line-height: 1.2;
    }
}


.navbar-nav .nav-link {
    color: #222 !important;
    font-weight: 500;
    transition: color .2s;
}

    .navbar-nav .nav-link:hover {
        color: var(--accent-hover) !important;
    }

main.container {
    margin-top: 20px;
    max-width: 1200px;
}

footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    font-size: 14px;
    color: #444;
}

    footer a {
        color: #666;
        text-decoration: none;
    }

        footer a:hover {
            color: var(--accent);
        }

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00ff73;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 10px #00ff73;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px #00ff73;
    }

    50% {
        transform: scale(1.3);
        opacity: .6;
        box-shadow: 0 0 20px #00ff73;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px #00ff73;
    }
}

.featured-section .p-4 {
    min-height: 250px;
}

/* Dropdown menu styling */
.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-width: 350px;
    min-width: 250px;
    width: max-content;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dropdown-item {
    white-space: normal !important;
    line-height: 1.4;
    padding: 8px 30px 8px 12px;
    word-break: break-word;
}

@media (max-width: 576px) {
    .dropdown-menu {
        max-width: 90vw !important;
        width: auto !important;
    }
}
