:root {
    --navy: #0b2a5b;
    --navbar-navy: #132b6b;
    --blue: #1a56c4;
    --lightblue: #e8f0fd;
    --orange: #f57c1f;
    --green: #1e9e5a;
    --purple: #7b3fd4;
    --red: #e53935;
    --teal: #0e9c9c;
    --bg: #eef2f7;
    --text: #233044;
    --muted: #6b7686;
}

* {
    box-sizing: border-box;
}

p {
    color: rgba(0, 0, 0, 0.87);
}

body {
    background: #fff;
    color: var(--text);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none;
}

.img-placeholder {
    background: repeating-linear-gradient(
        45deg,
        #f0f2f6,
        #f0f2f6 10px,
        #e4e8ef 10px,
        #e4e8ef 20px
    );
    border: 1px dashed #b7c0cf;
    color: #8a93a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem;
}

/* ===== TOP UTILITY BAR ===== */
.top-utility {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.logo-box {
    height: 46px;
    width: 220px;
}

.util-icon-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--navy);
    background: #fff;
}

.util-icon-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ===== NAV BAR ===== */
.navbar-custom {
    background: var(--navbar-navy);
}

.navbar-custom .nav-link {
    color: #fff !important;
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem !important;
}

.navbar-custom .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.search-box-btn {
    background: #ebf4fd;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* ===== TICKER ===== */
.ticker-wrap {
    background: #f4f6f9;
    border-bottom: 1px solid #e3e8ef;
}

.ticker-inner {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem 0 0;
    font-size: 14px;
    color: #29398d;
    font-weight: 500;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-ctrl {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cfd6e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--navy);
    flex-shrink: 0;
}

/* ===== BANNER ===== */
.banner-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.banner-slide {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.banner-headline {
    color: #fff;
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1.25;
    position: relative;
    z-index: 2;
}

.banner-headline .hl-green {
    color: #7ee08a;
}

.banner-headline .hl-yellow {
    color: #ffd35c;
}

.banner-checklist {
    background: rgba(10, 40, 90, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-size: 0.85rem;
    max-width: 320px;
    position: relative;
    z-index: 2;
}

.banner-checklist strong {
    display: block;
    margin-bottom: 0.4rem;
}

.banner-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.banner-nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 3;
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner-dots button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9) !important;
    border: none !important;
    padding: 0;
    text-indent: -999px;
}

.banner-dots button.active {
    background: #222222 !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* ===== SECTION HEADER ===== */
.sec-head {
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.sec-head-text {
    text-align: left;
}

.sec-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

.sec-head h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}

.sec-head p {
    color: #4a5565;
    font-size: 18px;
    margin: 0.2rem 0 0;
}

/* ===== WHATS NEW ===== */
.whatsnew-card {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.9rem;
    border: 1px solid;
}

.whatsnew-card.warn {
    background: #fff9e8;
    border-color: #f4dd8a;
}

.whatsnew-card.info {
    background: #eaf2fe;
    border-color: #bcd6fb;
}

.whatsnew-card h6 {
    margin-bottom: 0.35rem;
    font-size: 18px;
}

.whatsnew-card p {
    margin: 0;
    font-size: 0.82rem;
    color: #4a5568;
}

.whatsnew-card a {
    color: var(--blue);
}

/* ===== QUICK LINKS ===== */
.ql-wrap {
    background: var(--bg);
    padding: 3rem 4rem;
}

.ql-item {
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: block;
    background-color: #f7f9fb;
    padding: 15px 15px;
    border-radius: 10px;
    min-height: 145px;
}

.ql-icon {
    width: 59px;
    height: 59px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 auto 0.5rem;
    transition: 0.15s;
}

.ql-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.ql-item:hover .ql-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.ql-item span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text);
    display: block;
    line-height: 1.2;
}

/* ===== UPDATES ===== */
.upd-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.upd-badge {
    min-width: 64px;
    height: 72px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1.05;
    flex-shrink: 0;
}

.upd-badge .day {
    font-size: 1.3rem;
}

.upd-badge .mon {
    font-size: 0.65rem;
    text-transform: uppercase;
}

.upd-badge .yr {
    font-size: 0.65rem;
}

.upd-tag {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.upd-tag.pill-dark {
    background: #1b2436;
    color: #fff;
}

.upd-tag.pill-light {
    background: #f1f2f6;
    color: #4a5568;
}

.upd-text {
    font-size: 0.85rem;
    color: #4a5568;
    margin: 0.5rem 0;
}

.btn-navy {
    background: var(--navy);
    color: #fff;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    border: none;
}

.btn-navy:hover {
    background: #092050;
    color: #fff;
}

/* ===== DEADLINES ===== */
.deadline-card {
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
}

.deadline-card.c-green {
    background: #f2fcf5;
}

.deadline-card.c-orange {
    background: #fff8f2;
}

.deadline-card.c-pink {
    background: #fff4f4;
}

.deadline-card h6 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 0.6rem;
    color: #1b2436;
}

.deadline-card p {
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 1rem;
    padding-right: 5rem;
    line-height: 1.45;
}

.deadline-card .days-badge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    background: #f96302;
    color: #fff;
    border-radius: 12px;
    width: 60px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.1;
}

.deadline-card .days-badge strong {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.deadline-card .due-date {
    font-size: 0.8rem;
    color: #6b7686;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cal-widget {
    background: #fff;
    border: 1px solid #1a56c4;
    border-radius: 8px;
    padding: 1.5rem;
}

.cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a56c4;
}

.cal-head i {
    color: #1b2436;
    font-weight: 800;
    cursor: pointer;
}

.cal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-size: 1rem;
    text-align: center;
}

.cal-table th {
    color: #8c98a9;
    font-weight: 400;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.cal-table td {
    padding: 2px 0;
    color: #1b2436;
}

.cal-table td span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto;
}

.cal-table td.today span {
    background: #1a56c4;
    color: #fff;
    font-weight: 600;
}

.cal-table td.due span {
    background: #e8f0fd;
    font-weight: 600;
    color: #1a56c4;
}

.cal-table td.muted span {
    color: #c4cad4;
}

/* ===== THINGS TO KNOW ===== */
.ttk-tab-bar {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.ttk-tab {
    background: #265cff;
    color: #fff;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.video-card .video-thumb {
    width: 140px;
    height: 90px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.video-card .video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1b2436;
    line-height: 1.35;
    margin: 0;
}

/* ===== TESTIMONIALS ===== */
.quote-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff0f5;
    color: #ff3366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    line-height: 1;
    padding-top: 10px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #6b7686;
    font-style: italic;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1rem;
}

.twitter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f5f7;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1b2436;
}

.dot-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 3.5rem;
}

.dot-pagination span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
}

.dot-pagination span.active {
    background: #000;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, #0a1c40, #123a7d);
    color: #c7d3e8;
    padding-top: 2.5rem;
}

footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

footer a {
    color: #c7d3e8;
    font-size: 0.78rem;
    line-height: 2.1;
}

footer a:hover {
    color: #fff;
}

.social-icon {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    font-size: 0.72rem;
    color: #a9b8d4;
}

/* floating chat bubble */
.chat-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.latest-updates .wrap {
    background: transparent
        linear-gradient(180deg, #faf5ff 0%, #f2f6ff 100%, #7d7b80 100%) 0% 0%
        no-repeat padding-box;
    padding: 3rem 4rem;
}

.important-deadlines {
    margin-top: 20px;
}

.things-to-know .wrap {
    background: transparent
        linear-gradient(180deg, #faf5ff 0%, #f2f6ff 100%, #7d7b80 100%) 0% 0%
        no-repeat padding-box;
    padding: 3rem 4rem;
    border-radius: 24px;
}

@media (max-width: 1024px) {
    .sec-head h2 {
        font-size: 24px;
    }

    .sec-head p {
        font-size: 14px;
    }

    .sec-icon img {
        width: 40px;
    }

    .ql-wrap,
    .latest-updates .wrap,
    .things-to-know .wrap {
        padding: 2rem 2rem;
    }

    .video-card .video-title {
        font-size: 0.8rem;
    }

    .video-card .video-thumb {
        width: 60px;
        height: 60px;
    }
}
