:root {
    --tb-blue: #1294ff;
    --tb-blue-dark: #0572d5;
    --tb-turquoise: #15dac8;
    --tb-navy: #071c36;
    --tb-navy-2: #102b4e;
    --tb-light: #f7fbff;
    --tb-text: #1e293b;
    --tb-muted: #64748b;
    --tb-border: rgba(7, 28, 54, .12);
    --tb-shadow: 0 24px 70px rgba(7, 28, 54, .14);
    --tb-radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tb-text);
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; }
.text-muted-custom { color: var(--tb-muted); }
.section-padding { padding: 92px 0; }
.section-title {
    font-weight: 950;
    letter-spacing: -.055em;
    color: var(--tb-navy);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(18, 148, 255, .09);
    color: var(--tb-blue-dark);
    font-weight: 850;
    font-size: .84rem;
    letter-spacing: .02em;
}

.topbar {
    background: #051326;
    color: rgba(255,255,255,.9);
    font-size: .88rem;
}
.topbar a,
.topbar span { color: rgba(255,255,255,.9); }
.topbar i { color: var(--tb-turquoise); }
.topbar .divider { opacity: .25; }
.topbar-right {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    font-weight: 650;
}

.tb-main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, rgba(7, 28, 54, .98), rgba(16, 43, 78, .98));
    border-bottom: 1px solid rgba(21,218,200,.34);
    box-shadow: 0 18px 45px rgba(5,19,38,.22);
    padding: 14px 0;
}
.brand-logo { height: 54px; width: auto; display: block; }
.tb-main-nav .navbar-brand {
    padding-right: 28px;
    margin-right: 18px;
    border-right: 1px solid rgba(255,255,255,.14);
}
.tb-main-nav .navbar-nav { gap: 3px; }
.tb-main-nav .nav-link {
    color: rgba(255,255,255,.92) !important;
    font-size: .92rem;
    font-weight: 850;
    letter-spacing: .02em;
    padding: 13px 13px !important;
    border-radius: 999px;
    position: relative;
    white-space: nowrap;
}
.tb-main-nav .nav-link:hover,
.tb-main-nav .nav-link.active {
    color: #fff !important;
    background: rgba(21,218,200,.13);
}
.tb-main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--tb-blue), var(--tb-turquoise));
}
.navbar-toggler {
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
}
.navbar-toggler-icon { filter: invert(1); }

.lang-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.lang-wrap::after {
    content: "";
    position: absolute;
    right: 13px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    background: no-repeat center/10px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2315dac8' d='M3.2 5.6a.75.75 0 0 1 1.06 0L8 9.34l3.74-3.74a.75.75 0 1 1 1.06 1.06l-4.27 4.27a.75.75 0 0 1-1.06 0L3.2 6.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
}
.lang-select {
    appearance: none;
    width: 72px;
    height: 46px;
    padding: 0 28px 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 900;
    outline: 0;
}
.lang-select option { color: #111; }
.btn-tb-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    color: #fff !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
    box-shadow: 0 14px 28px rgba(18,148,255,.23);
}
.btn-tb-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(18,148,255,.34); }
.btn-tb-outline-dark {
    border: 1px solid rgba(7, 28, 54, .18);
    color: var(--tb-navy);
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
    background: #fff;
}
.btn-tb-outline-dark:hover {
    color: #fff;
    background: var(--tb-navy);
    border-color: var(--tb-navy);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 126px;
    background:
        radial-gradient(circle at 15% 10%, rgba(21,218,200,.22), transparent 32%),
        radial-gradient(circle at 78% 18%, rgba(18,148,255,.24), transparent 34%),
        linear-gradient(135deg, #06162b, #0b2b51 58%, #06203f);
    color: #fff;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb-soft {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.8);
    font-weight: 750;
    font-size: .9rem;
}
.breadcrumb-soft a { color: #fff; }
.page-hero .eyebrow {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
}
.page-hero-title {
    max-width: 930px;
    font-weight: 950;
    letter-spacing: -.06em;
    line-height: .98;
    font-size: clamp(2.55rem, 5vw, 5.15rem);
}
.page-hero-desc {
    max-width: 760px;
    color: rgba(255,255,255,.78);
    font-size: 1.17rem;
    line-height: 1.75;
}
.hero-mini-card {
    height: 100%;
    border-radius: 22px;
    padding: 20px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(12px);
}
.hero-mini-card strong {
    display: block;
    font-size: 1.45rem;
    color: #fff;
    font-weight: 950;
}
.hero-mini-card span { color: rgba(255,255,255,.72); font-weight: 700; }

.contact-overlap {
    position: relative;
    z-index: 3;
    margin-top: -70px;
}
.contact-info-card {
    height: 100%;
    padding: 28px;
    border-radius: var(--tb-radius);
    background: #fff;
    border: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow);
    transition: .25s ease;
}
.contact-info-card:hover { transform: translateY(-4px); }
.contact-info-icon {
    width: 58px;
    height: 58px;
    border-radius: 19px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
    box-shadow: 0 16px 34px rgba(18,148,255,.24);
    font-size: 1.42rem;
}
.contact-info-card h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 950;
    letter-spacing: -.035em;
    color: var(--tb-navy);
}
.contact-info-card a,
.contact-info-card p {
    color: var(--tb-muted);
    font-weight: 750;
    margin-bottom: 0;
}
.contact-info-card a:hover { color: var(--tb-blue-dark); }

.contact-panel {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow);
}
.contact-panel-info {
    height: 100%;
    padding: 44px;
    background:
        radial-gradient(circle at 0 0, rgba(21,218,200,.18), transparent 36%),
        linear-gradient(135deg, var(--tb-navy), var(--tb-navy-2));
    color: #fff;
}
.contact-panel-info .eyebrow {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
}
.contact-panel-info h2 { font-weight: 950; letter-spacing: -.05em; }
.contact-panel-info p { color: rgba(255,255,255,.74); line-height: 1.75; }
.contact-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}
.contact-list li {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,.86);
    font-weight: 760;
}
.contact-list i { color: var(--tb-turquoise); font-size: 1.1rem; margin-top: 2px; }
.contact-form { padding: 44px; }
.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea {
    min-height: 54px;
    border-radius: 17px;
    border: 1px solid rgba(7, 28, 54, .14);
    background: #f9fbfd;
    box-shadow: none;
}
.contact-form textarea { min-height: 138px; resize: vertical; }
.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea:focus {
    border-color: rgba(18,148,255,.5);
    background: #fff;
    box-shadow: 0 0 0 .25rem rgba(18,148,255,.11);
}
.alert-soft {
    display: none;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 800;
}
.alert-soft.success { color: #047857; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .22); }
.alert-soft.error { color: #b91c1c; background: rgba(239, 68, 68, .11); border: 1px solid rgba(239, 68, 68, .20); }

.map-card {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow);
}
.map-card iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
    filter: saturate(.85) contrast(1.02);
}
.visit-card,
.department-card,
.faq-card {
    height: 100%;
    padding: 28px;
    border-radius: var(--tb-radius);
    background: #fff;
    border: 1px solid var(--tb-border);
    box-shadow: 0 18px 50px rgba(7, 28, 54, .08);
}
.visit-card h3,
.department-card h3,
.faq-card h3 { color: var(--tb-navy); font-weight: 950; letter-spacing: -.04em; }
.mini-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(7,28,54,.08);
}
.mini-row:last-child { border-bottom: 0; }
.mini-row i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(18,148,255,.1);
    color: var(--tb-blue-dark);
}
.mini-row strong { display: block; color: var(--tb-navy); font-weight: 950; }
.mini-row span { color: var(--tb-muted); font-weight: 700; }
.department-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    border-radius: 18px;
    background: var(--tb-light);
    color: var(--tb-navy);
    font-weight: 900;
    margin-bottom: 10px;
}
.department-link:hover { background: var(--tb-navy); color: #fff; }
.faq-card .accordion-item {
    border: 1px solid rgba(7,28,54,.1);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
}
.faq-card .accordion-button {
    font-weight: 950;
    color: var(--tb-navy);
    background: #fff;
    box-shadow: none;
}
.faq-card .accordion-button:not(.collapsed) {
    color: var(--tb-blue-dark);
    background: rgba(18,148,255,.08);
}
.faq-card .accordion-body { color: var(--tb-muted); line-height: 1.7; }

footer {
    padding: 72px 0 28px;
    background: #051326;
    color: rgba(255,255,255,.72);
}
footer h5 { color: #fff; font-weight: 950; letter-spacing: -.03em; }
footer a { color: rgba(255,255,255,.74); }
footer a:hover { color: var(--tb-turquoise); }
.footer-logo { height: 62px; width: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.22)); }
.footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.11);
}

.quick-contact-widget {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.quick-contact-main { display: flex; align-items: flex-end; gap: 12px; }
.quick-contact-panel {
    width: 248px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(7,28,54,.22);
    border: 1px solid rgba(7,28,54,.09);
    opacity: 0;
    transform: translateX(16px) scale(.96);
    pointer-events: none;
    transition: .2s ease;
}
.quick-contact-widget.is-open .quick-contact-panel {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}
.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 17px;
    color: var(--tb-navy);
    font-weight: 900;
}
.quick-contact-item:hover { background: var(--tb-light); color: var(--tb-blue-dark); }
.quick-contact-toggle {
    border: 0;
    min-width: 56px;
    width: 56px;
    min-height: 56px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 17px;
    box-shadow: 0 16px 34px rgba(18,148,255,.35);
    transition: .25s ease;
    white-space: nowrap;
}
.quick-contact-toggle i { font-size: 1.35rem; flex: 0 0 auto; }
.quick-contact-toggle span { opacity: 0; transform: translateX(8px); font-weight: 950; transition: .2s ease; }
.quick-contact-toggle:hover,
.quick-contact-toggle:focus-visible,
.quick-contact-widget.is-open .quick-contact-toggle {
    width: 176px;
    min-width: 176px;
    padding-right: 18px;
}
.quick-contact-toggle:hover span,
.quick-contact-toggle:focus-visible span,
.quick-contact-widget.is-open .quick-contact-toggle span {
    opacity: 1;
    transform: translateX(0);
}
.quick-top-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tb-navy);
    color: #fff;
    box-shadow: 0 16px 34px rgba(7,28,54,.25);
}
.quick-top-link:hover { color: #fff; background: var(--tb-blue-dark); }

@media (max-width: 991.98px) {
    .topbar .container { justify-content: center !important; }
    .topbar-right { display: none; }
    .tb-main-nav .navbar-brand { border-right: 0; padding-right: 0; }
    .tb-main-nav .navbar-collapse {
        margin-top: 16px;
        padding: 16px;
        border-radius: 24px;
        background: rgba(5,19,38,.94);
        border: 1px solid rgba(255,255,255,.1);
    }
    .tb-main-nav .nav-link { padding: 13px 16px !important; }
    .contact-form, .contact-panel-info { padding: 30px; }
    .page-hero { padding-bottom: 105px; }
    .map-card iframe { height: 340px; }
}
@media (max-width: 575.98px) {
    .brand-logo { height: 42px; }
    .section-padding { padding: 66px 0; }
    .page-hero-title { letter-spacing: -.045em; }
    .contact-overlap { margin-top: -48px; }
    .contact-form, .contact-panel-info { padding: 24px; }
    .quick-contact-widget { bottom: 14px; }
    .quick-contact-panel { margin-right: 10px; width: min(238px, calc(100vw - 22px)); }
    .quick-contact-toggle { width: 54px; min-width: 54px; min-height: 52px; padding: 0 15px; }
    .quick-contact-toggle:hover,
    .quick-contact-toggle:focus-visible,
    .quick-contact-widget.is-open .quick-contact-toggle { width: 160px; min-width: 160px; padding: 12px 14px 12px 16px; }
}
