/* ============ GLOBAL SYSTEM STYLING ============ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* Offset sticky header when clicking anchor links */
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text, #1C2430);
    background: var(--bg, #FFFFFF);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ============ TYPOGRAPHY & COMMON BLOCKS ============ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
    color: var(--blue-dark);
    line-height: 1.25;
}

.eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-top: 10px;
}

.section-head p {
    color: var(--muted, #66707F);
    margin-top: 14px;
    font-size: 1rem;
}

section {
    padding: 60px 0;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ============ BUTTON LAYOUTS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.18s ease;
    border: 2px solid transparent;
    cursor: pointer;
    justify-content: center;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--blue-dark);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--blue);
}

.btn-gold {
    background: var(--gold);
    color: var(--blue-dark);
}

.btn-gold:hover {
    background: var(--blue);
    color: #fff;
}

.card-shadow {
    box-shadow: 0 10px 30px -12px rgba(23, 59, 122, 0.15);
}

/* ============ SITE NAVIGATION ============ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid #E6E9EF;
    transition: box-shadow 0.2s ease;
}

.site-nav.scrolled {
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.15);
}

.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand .mark {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    /* Remove these if using an actual logo */
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.brand .mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand .txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand .txt strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--blue-dark);
}

.brand .txt span {
    font-size: 0.68rem;
    color: #66707F;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links>li {
    display: block;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    color: var(--text, #1C2430);
    padding: 3px 0;
    border-bottom: 2px solid transparent;
}

.nav-links>li>a:hover {
    border-color: var(--gold);
    color: var(--blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--blue);
    cursor: pointer;
}

/* ============ DROPDOWN NAVIGATION ============ */

.has-dropdown {
    position: relative;
}

.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-dropdown>a::after {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -2px;
}

.has-dropdown:hover>a::after,
.has-dropdown.open>a::after {
    transform: rotate(225deg);
    margin-top: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 14px;
    min-width: 220px;
    background: #fff;
    border: 1px solid #E6E9EF;
    border-radius: 10px;
    box-shadow: 0 16px 32px -16px rgba(23, 59, 122, 0.25);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 80;
    display: block;
    /* Overrides Bootstrap default display properties */
}

.top-bar .dropdown-menu {
    margin-top: 10px;
}

.has-dropdown:hover>.dropdown-menu,
.has-dropdown:focus-within>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 0.83rem;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    color: var(--text, #1C2430);
    border-bottom: none !important;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--blue-tint);
    color: var(--blue);
}

.dropdown-menu.mega {
    columns: 2;
    column-gap: 18px;
    min-width: 380px;
}

.dropdown-menu.mega a {
    break-inside: avoid;
}

/* ============ FOOTER STYLING ============ */

footer {
    background: var(--blue-dark);
    color: #b9c5df;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
    gap: 36px;
    padding-bottom: 50px;
}

footer h4 {
    font-family: 'Manrope', sans-serif;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

footer li {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

footer li a {
    color: #b9c5df;
}

footer li a:hover {
    color: var(--gold);
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    flex: 1;
    width: 100%;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter button {
    background: var(--gold);
    color: var(--blue-dark);
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.newsletter button:hover {
    background: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
}

/* ============ MOBILE FLOATING BAR ============ */

.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    background: #fff;
    border-top: 1px solid #E6E9EF;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bar .wrap {
    display: flex;
    padding: 0;
    max-width: none;
}

.mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 0;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

.mobile-bar a i {
    font-size: 1.25rem;
}

.mobile-bar a:nth-child(1) {
    color: var(--blue);
}

.mobile-bar a:nth-child(2) {
    color: var(--emerald);
}

.mobile-bar a:nth-child(3) {
    background: var(--gold);
    color: var(--blue-dark);
}

/* ============ SCROLL TO TOP BUTTON ============ */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-3px);
}

/* ============ NOTICE TICKER ============ */
.notice-ticker {
    overflow: hidden;
    white-space: nowrap;
    background: var(--blue-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 55;
    position: relative;
}

.ticker-title {
    background: var(--gold);
    color: var(--blue-dark);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 8;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
}

.notice-ticker-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: ticker-scroll linear infinite;
    animation-duration: 15s;
}

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

.ticker-item {
    padding: 0 15px;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.1s ease;
}

.ticker-item:hover {
    color: var(--gold);
}

.ticker-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

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

    100% {
        transform: translateX(-50%);
    }
}
.high {
    border: 1px solid #143268;
    background: #143268;
    color: #fff !important;
    padding: 0 5px !important;
}
.high a {
    color: #fff !important;
}