/* Reset parity with the former Tailwind preflight: the existing markup was authored against these defaults. */
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4, h5, h6, blockquote, dl, dd, figure, pre { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; max-width: 100%; height: auto; }

/* Layout */
body { font-family: 'Roboto', sans-serif; }
.mega-menu { z-index: 9999; }

/* ===== Header ===== */
/* ================================================================
   PALETTE
   Blue #DCEBFF  |  Pink #F9E2F0  |  White #FFFFFF  |  Blue #83AEEB
   (plus a deeper blue / navy for readable text)
   ================================================================ */
:root {
    --h-blue-light: #dcebff;
    --h-pink:       #f9e2f0;
    --h-white:      #ffffff;
    --h-blue:       #83aeeb;
    --h-blue-d:     #3f72c4;   /* deeper blue, for text           */
    --h-ink:        #23386a;   /* navy, for main text             */
    --h-grad:       linear-gradient(90deg, #3f72c4 0%, #b95ba5 100%);
    --h-bar:        linear-gradient(90deg, #83aeeb 0%, #e3a3cf 100%);
}

/* ================================================================
   TOP STRIP (slim, no NAAC badge)
   ================================================================ */
.top-strip {
    background: linear-gradient(90deg, #83aeeb 0%, #d99cca 100%);
    color: var(--h-ink);
    font-size: 11px;
    line-height: 1.2;
    min-height: 0;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.top-strip .max-w-7xl {
    max-width: 100%;
    width: 100%;
    min-height: 0;
}
.top-strip .ts-links {
    gap: 2px;
    font-weight: 700;
}
.top-strip .ts-links a {
    position: relative;
    padding: 3px 11px;
    border-radius: 6px;
    font-size: 10.5px;
    letter-spacing: 0.07em;
    color: var(--h-ink);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.top-strip .ts-links a:not(:first-child):not(.ts-login)::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: rgba(35, 56, 106, 0.3);
}
.top-strip .ts-links a:hover {
    background: transparent;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(35, 56, 106, 0.5);
}
.top-strip .ts-links a.ts-login {
    margin-left: 8px;
    padding: 3px 16px;
    border-radius: 6px;
    background: #f9e2f0;
    color: var(--h-ink);
    font-weight: 800;
    box-shadow: 0 4px 10px -4px rgba(35, 56, 106, 0.55);
}
.top-strip .ts-links a.ts-login:hover {
    background: #ffffff;
    color: var(--h-ink);
    text-shadow: none;
    text-shadow: none;
    transform: translateY(-1px);
}

/* ================================================================
   HEADER SHELL (compact)
   ================================================================ */
.site-header-shell {
    position: sticky;
    top: 0;
    z-index: 1030;
    font-family: 'Outfit', system-ui, sans-serif;
    background: linear-gradient(115deg, #ffffff 0%, #dcebff 38%, #f9e2f0 100%);
    box-shadow: 0 10px 24px -18px rgba(35, 56, 106, 0.55);
}
.site-header-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.85), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(249, 226, 240, 0.9), transparent 50%);
}
.site-header-shell::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--h-bar);
}
.site-header-shell > .container-fluid {
    position: relative;
    z-index: 1;
}
header .lh-sm {
    line-height: 1.15;
}

.sh-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0 5px;
}

.sh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
}
.sh-text {
    min-width: 0;
}

.site-header-shell .cop-logo {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #83aeeb, #e3a3cf) border-box;
    box-shadow: none;
}

.site-header-shell .heading1 {
    margin: 0 0 4px !important;
    color: var(--h-blue-d) !important;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    line-height: 1.2;
}

.site-header-shell .heading2 {
    margin: 0 !important;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.1 !important;
    letter-spacing: 0.01em !important;
    color: var(--h-ink);
}
.site-header-shell .heading2 .t-accent {
    background: var(--h-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.site-header-shell .sh-address {
    margin-top: 2px;
    line-height: 1.2;
}
.site-header-shell .sh-address > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0 0;
    background: linear-gradient(90deg, #3f72c4 0%, #b95ba5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.site-header-shell .sh-address > span::before {
    content: "";
    flex: none;
    width: 16px;
    height: 3px;
    border-radius: 3px;
    background: var(--h-bar);
}

.sh-right {
    margin-left: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.sh-toggler {
    flex: none;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid rgba(35, 56, 106, 0.22);
    border-radius: 10px;
}
.sh-toggler span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--h-ink);
}

@keyframes shDropIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

@media (min-width: 576px) {
    .site-header-shell .cop-logo { width: 66px; height: 66px; }
    .site-header-shell .heading1 { font-size: 0.6rem; }
    .site-header-shell .heading2 { font-size: 1.55rem; white-space: nowrap; }
    .site-header-shell .sh-address > span { font-size: 0.92rem; }
}

/* ================================================================
   DESKTOP (1200px and up)
   ================================================================ */
@media (min-width: 1200px) {
    .sh-row {
        padding: 4px 0 7px;
        gap: 20px;
    }

    .site-header-shell .cop-logo {
        width: clamp(70px, 5.6vw, 92px);
        height: clamp(70px, 5.6vw, 92px);
    }
    .site-header-shell .heading1 { font-size: clamp(0.58rem, 0.55vw, 0.72rem); }
    .site-header-shell .heading2 { font-size: clamp(1.4rem, 2.05vw, 2.55rem); }
    .site-header-shell .sh-address > span { font-size: clamp(0.92rem, 0.95vw, 1.1rem); }

    .sh-nav.navbar {
        position: relative;
        isolation: isolate;
        width: 100%;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    .desktop-menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
        row-gap: 2px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .desktop-menu > li {
        position: relative;
    }

    .desktop-menu > li > .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        padding: 8px clamp(5px, 0.5vw, 11px);
        border-radius: 8px;
        white-space: nowrap;
        color: var(--h-ink) !important;
        font-size: clamp(0.85rem, 1.08vw, 1.3rem);
        font-weight: 700;
        letter-spacing: 0.01em;
        transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    .desktop-menu > li > .nav-link::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 2px;
        width: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--h-bar);
        transform: translateX(-50%);
        transition: width 0.25s ease;
    }

    .desktop-menu .nav-link .fa-home {
        font-size: 1.1em;
    }

    .desktop-menu > li:hover > .nav-link {
        background-image: linear-gradient(90deg, #3f72c4 0%, #b95ba5 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .desktop-menu > li:hover > .nav-link::before {
        width: calc(100% - 14px);
    }

    .desktop-menu > li > .dropdown-toggle::after {
        display: none;
    }
    .desktop-menu .dropdown-submenu > .dropdown-toggle::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-left: auto;
        border: 0;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        opacity: 0.6;
        transform: rotate(-45deg);
    }

    .desktop-menu .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        max-width: 340px;
        margin: 0;
        padding: 9px 6px 6px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
        backdrop-filter: blur(16px) saturate(170%);
        box-shadow: 0 22px 44px -20px rgba(35, 56, 106, 0.5), 0 0 0 1px rgba(131, 174, 235, 0.35);
        list-style: none;
    }
    .desktop-menu > li > .dropdown-menu {
        margin-top: 8px;
    }
    .desktop-menu > li > .dropdown-menu::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 10px;
    }
    .desktop-menu > li:last-child > .dropdown-menu {
        left: auto;
        right: 0;
    }
    .desktop-menu .dropdown-menu::before {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        top: 0;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--h-bar);
    }

    .desktop-menu .dropdown:hover > .dropdown-menu,
    .desktop-menu .dropdown-submenu:hover > .dropdown-menu,
    .desktop-menu .dropdown-menu.show {
        display: block;
        animation: shDropIn 0.16s ease;
    }

    .desktop-menu .dropdown-submenu {
        position: relative;
    }
    .desktop-menu .dropdown-submenu > .dropdown-menu {
        top: -7px;
        left: 100%;
        right: auto;
        display: none;
    }

    .desktop-menu .dropdown-item {
        position: relative;
        display: flex;
        align-items: center;
        padding: 7px 12px;
        border-radius: 8px;
        color: var(--h-ink);
        font-size: 0.9rem;
        font-weight: 500;
        white-space: normal;
        background: transparent;
        transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease;
    }
    .desktop-menu .dropdown-item::before {
        content: "";
        position: absolute;
        left: 3px;
        top: 7px;
        bottom: 7px;
        width: 3px;
        border-radius: 3px;
        background: var(--h-blue);
        opacity: 0;
        transition: opacity 0.15s ease;
    }
    .desktop-menu .dropdown-item:hover,
    .desktop-menu .dropdown-item:focus,
    .desktop-menu .dropdown-submenu:hover > .dropdown-item {
        background: linear-gradient(90deg, #dcebff, #f9e2f0);
        color: var(--h-blue-d);
        padding-left: 16px;
    }
    .desktop-menu .dropdown-item:hover::before,
    .desktop-menu .dropdown-item:focus::before,
    .desktop-menu .dropdown-submenu:hover > .dropdown-item::before {
        opacity: 1;
    }
}

/* ================================================================
   MOBILE TOP MENU (strip links on small screens)
   ================================================================ */
.mobile-top-menu {
    background: var(--h-ink);
    color: #ffffff;
}

/* ================================================================
   MOBILE SIDEBAR (offcanvas)
   ================================================================ */
#mobileMenu.offcanvas {
    width: 280px !important;
    max-width: 85%;
    background: linear-gradient(170deg, #23386a 0%, #34549a 55%, #5b84d1 100%);
    border-right: none;
    box-shadow: 2px 0 24px rgba(35, 56, 106, 0.45);
}
#mobileMenu .offcanvas-header {
    padding: 0.8rem 0.75rem;
}
#mobileMenu .offcanvas-body {
    padding: 0.8rem 0.75rem;
    overflow-y: auto;
}
#mobileMenu .offcanvas-body .navbar-nav {
    gap: 0.2rem;
}

#mobileMenu .dropdown-menu {
    position: static !important;
    display: none;
    margin-left: 0.5rem;
    background: transparent !important;
    padding-left: 0.75rem;
    border: 0;
    border-left: 2px solid rgba(131, 174, 235, 0.7);
    border-radius: 0;
    box-shadow: none;
}
#mobileMenu .dropdown-menu .dropdown-menu {
    margin-left: 0.75rem;
}
#mobileMenu .dropdown-submenu {
    position: relative;
}
#mobileMenu .dropdown-submenu.open > .dropdown-menu {
    display: block !important;
}

#mobileMenu .toggle-submenu {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 7px 0;
    font-weight: 500;
    width: 100%;
    background: none;
    border: none;
}
#mobileMenu .toggle-submenu::after {
    content: "\25B8";
    transition: 0.2s;
    font-size: 12px;
    opacity: 0.7;
}
#mobileMenu .dropdown-submenu.open > .toggle-submenu::after {
    transform: rotate(90deg);
}

#mobileMenu .offcanvas-body .nav-link {
    padding: 7px 0;
    color: #fff !important;
}
#mobileMenu .offcanvas-body .dropdown-item {
    padding: 5px 0 5px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    background: transparent;
}
#mobileMenu .offcanvas-body .dropdown-item:hover {
    background: transparent;
    color: #f9e2f0 !important;
    padding-left: 16px;
    transition: 0.2s;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #183850 0%, #244b73 100%);
  border-top: 3px solid #ffc107;
}

.footer-link {
  color: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 3px 0;
}

.footer-link:hover {
  color: #ffc107;
  transform: translateX(5px);
}

.btn-warning {
  background-color: #ffc107;
  color: #000;
  border: none;
}

.btn-warning:hover {
  background-color: #e0a800;
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #244b73;
}

iframe {
  border-radius: 8px;
}
