/* ==============================
   Header Top: Logo and Organization
   ============================== */
.header-top {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.org-name {
    font-weight: 400;
    font-size: 1.1rem;
    color: #212529;
}

.app-name {
    font-weight: 400;
    font-size: 1.3rem;
    color: #000;
}

/* ==============================
   Navbar Styles
   ============================== */
.navbar {
    background-color: #105b7a !important; /* Updated navbar color */
}

.navbar-nav.nav-flex-gap {
    display: flex;
    gap: 15px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    font-weight: 400;
    font-size: 1.05rem;
    color: #fff;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ffd700; /* Gold hover */
}

/* ==============================
   Dropdown styles
   ============================== */
.navbar-nav .dropdown-menu {
    background-color: #105b7a;
    border: none;
    display: none; /* hide by default */
}

.navbar-nav .dropdown-item {
    color: #fff;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
}

.navbar-nav .dropdown-item:hover {
    background-color: #0d3f57; /* darker hover */
}


/* Remove all margin/padding from banner */
.banner-no-margin,
.banner-no-margin .carousel,
.banner-no-margin .carousel-inner,
.banner-no-margin .carousel-item,
.banner-no-margin .full-width-img {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

/* Banner image settings */
.full-width-img {
    height: 400px; /* adjust as needed */
    object-fit: cover;
}

/* Optional: make captions more readable */
.carousel-caption {
    background: rgba(0, 0, 0, 0.4); /* semi-transparent background */
    padding: 1rem 2rem;
    border-radius: 5px;
}

/* General */
.whats-new-section {
    background: #f8f8f8;
}

/* Whats New */
.whats-new-box h5 {
    color: #b40042;
    letter-spacing: 0.5px;
}

.whats-new-box a {
    font-size: 1rem;
}

.whats-new-box a:hover {
    text-decoration: underline;
}

/* Quick Links Buttons */
.quick-link-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.quick-link-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.bg-purple {
    background-color: #9b78c2 !important;
}

/* Officials */
.official-box {
    background: #fff;
    border-radius: 4px;
}

.official-box p {
    margin-bottom: 0.3rem;
}

/* Add marquee styles */

.marquee-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: inline-block;
    position: absolute;
    width: 100%;
    animation: scroll-up 10s linear infinite;
}

@keyframes scroll-up {
    0% { top: 100%; }
    100% { top: -100%; }
}

/* Optional: pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.footer {
    background-color: #111;
    color: #ddd;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer p {
    margin-bottom: 0.3rem;
}

.footer img {
    vertical-align: middle;
}

/* Apply the font to all body text and headings for a consistent look */
body, h1, h2, h3, h4, h5, h6, p {
    font-family: "Open Sans", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    
}

/* Style for the main content headings (like "Constitution") */
.content-heading {
    font-weight: 400 !important; /* Semi-bold to match the image */
    margin-top: 1.5rem; /* Ensure adequate spacing above the heading */
}

/* Style for all paragraph text */
.content-text {
    font-weight: 400 !important; /* Normal weight for body text */
    line-height: 1.8 !important; /* For the readable, spaced-out look */
    text-align: justify; /* To ensure straight left/right edges as in the image */
    font-size: 1rem;
}

/* The 'Overview' heading is lighter, ensure it respects the fw-normal class */
h1 {
    font-weight: 400 !important;
}
.mb-5 {
     margin-bottom: 0 !important; 
}
.fw-semibold {
    font-weight: 400 !important;
}


/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* ==============================
   Responsive Adjustments (Mobile)
   ============================== */
@media (max-width: 991px) {
    .navbar-nav.nav-flex-gap {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        position: static; /* stack on mobile */
        float: none;
        display: none; /* will toggle on click */
    }

    .navbar-nav .dropdown.show > .dropdown-menu {
        display: block; /* Bootstrap toggles 'show' class on mobile click */
    }
}
