:root {
    --brand-navy: #00375a;
    --brand-cyan: #0ea5e9;
    --brand-cyan-hover: #38bdf8;
    --brand-dark: #072336;
    --brand-dark-subtle: #002b46;
    --bg-light: #f8fafc;
    --text-muted: #64748b;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: #334155;
    overflow-x: hidden;
}

/* =========================================
   Line 1: Top Bar
   ========================================= */
.top-bar {
    background-color: var(--brand-dark);
    color: #cbd5e1;
    font-size: 0.86rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: var(--brand-cyan);
}

/* =========================================
   Line 2: Logo Header
   ========================================= */
.logo-header {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

/* =========================================
   Line 3: Main Navigation Bar
   ========================================= */
.main-navbar {
    background-color: var(--brand-navy);
    padding: 0;
}

.main-navbar .nav-link {
    color: #f8fafc !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 14px 12px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    transition: background-color 0.2s, color 0.2s;
}

.main-navbar .nav-link i {
    font-size: 0.9rem;
    color: #7dd3fc;
}

.main-navbar .nav-link:hover,
.main-navbar .dropdown:hover > .nav-link {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--brand-cyan-hover) !important;
}

.dropdown-menu {
    background-color: var(--brand-dark-subtle);
    border: 1px solid #074b75;
    border-radius: 6px;
    padding: 6px 0;
    margin-top: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.dropdown-item {
    color: #e2e8f0;
    font-size: 0.84rem;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-item i {
    color: #7dd3fc;
    width: 16px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: var(--brand-navy);
    color: #ffffff;
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* =========================================
   Line 4: Hero Carousel
   ========================================= */
.carousel-item {
    height: 480px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.carousel-caption {
    bottom: 22%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   Line 5: Services in Boxes
   ========================================= */
.service-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 22px;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--brand-navy);
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--brand-cyan);
    box-shadow: 0 12px 24px -5px rgba(0, 55, 90, 0.15);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--brand-navy);
    margin-bottom: 18px;
}

/* =========================================
   Line 6: Client Logos
   ========================================= */
.client-card {
    background: #ffffff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-height: 90px;
    transition: 0.2s;
}

.client-card img {
    max-height: 48px;
    max-width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-card:hover img {
    filter: grayscale(0%);
}

/* =========================================
   Line 7: Running Marquee / Conference Gallery
   ========================================= */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0 20px;
}

.marquee-track {
    display: inline-flex;
    gap: 20px;
    animation: loopScroll 26s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.gallery-card {
    width: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

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

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--brand-dark);
    color: #94a3b8;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: var(--brand-cyan);
}