: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: .88rem;
}
.eyebrow i { color: var(--tb-turquoise); }

.topbar {
    background: #06182f;
    border-bottom: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.88);
    font-size: .88rem;
}
.topbar a,
.topbar span {
    color: rgba(255,255,255,.9);
    font-weight: 550;
}
.topbar i { color: var(--tb-turquoise); }
.topbar .divider { opacity: .28; }

.tb-main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background:
        radial-gradient(circle at 8% 0%, rgba(21, 218, 200, .14), transparent 32%),
        linear-gradient(135deg, #071c36 0%, #0b2748 54%, #06182f 100%) !important;
    border-bottom: 1px solid rgba(21, 218, 200, .25);
    box-shadow: 0 18px 48px rgba(6, 24, 47, .22);
    padding: 16px 0;
}
.tb-main-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: linear-gradient(90deg, var(--tb-turquoise), var(--tb-blue), rgba(255,255,255,0));
    opacity: .9;
}
.tb-main-nav .navbar-brand {
    margin-right: 26px;
    padding-right: 30px;
    border-right: 1px solid rgba(255,255,255,.16);
}
.brand-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
}
.tb-main-nav .navbar-nav { gap: 4px; }
.tb-main-nav .nav-link {
    position: relative;
    color: rgba(255,255,255,.94) !important;
    font-size: .96rem;
    font-weight: 850;
    letter-spacing: .015em;
    text-transform: uppercase;
    padding: 14px 13px !important;
    border-radius: 999px;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.tb-main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--tb-turquoise), var(--tb-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.tb-main-nav .nav-link:hover,
.tb-main-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.08);
}
.tb-main-nav .nav-link:hover::after,
.tb-main-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
}
.navbar-toggler-icon { filter: invert(1); }

.lang-wrap { position: relative; display: inline-flex; }
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    width: 82px;
    height: 48px;
    padding: 0 34px 0 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    font-weight: 900;
    outline: none;
}
.lang-select option { color: #071c36; }
.lang-wrap::after {
    content: "";
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid rgba(255,255,255,.9);
    border-bottom: 2px solid rgba(255,255,255,.9);
    transform: translateY(-65%) rotate(45deg);
}
.btn-tb-primary {
    border: 0;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
    box-shadow: 0 18px 34px rgba(18,148,255,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-tb-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(18,148,255,.36);
}
.btn-tb-outline-dark {
    border: 1px solid var(--tb-border);
    color: var(--tb-navy);
    font-weight: 850;
    border-radius: 999px;
    padding: 12px 18px;
    background: #fff;
}
.btn-tb-outline-dark:hover {
    border-color: rgba(18,148,255,.28);
    background: rgba(18,148,255,.08);
    color: var(--tb-blue-dark);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 118px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7,28,54,.96), rgba(7,28,54,.83), rgba(7,28,54,.36)),
        url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 20%, rgba(21,218,200,.16), transparent 34%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb-soft {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.74);
    font-weight: 750;
}
.breadcrumb-soft a { color: rgba(255,255,255,.9); }
.page-hero-title {
    max-width: 980px;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: .95;
    font-weight: 950;

}
.page-hero-desc {
    max-width: 760px;
    color: rgba(255,255,255,.78);
    font-size: 1.18rem;
    line-height: 1.75;
}
.hero-mini-card {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    padding: 22px;
    height: 100%;
}
.hero-mini-card strong {
    display: block;
    color: var(--tb-turquoise);
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -.04em;
}
.hero-mini-card span { color: rgba(255,255,255,.78); font-weight: 700; }

.filter-card {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    border-radius: var(--tb-radius);
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(7,28,54,.08);
    box-shadow: var(--tb-shadow);
}
.filter-card .form-control,
.filter-card .form-select {
    min-height: 54px;
    border-radius: 18px;
    border-color: rgba(7,28,54,.13);
    font-weight: 700;
    color: var(--tb-navy);
}
.filter-card .form-control:focus,
.filter-card .form-select:focus {
    border-color: rgba(18,148,255,.36);
    box-shadow: 0 0 0 .22rem rgba(18,148,255,.12);
}

.featured-card {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--tb-border);
    box-shadow: 0 28px 80px rgba(7, 28, 54, .12);
    background: #fff;
}
.featured-img {
    min-height: 440px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.featured-body { padding: clamp(28px, 5vw, 56px); }
.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--tb-muted);
    font-weight: 750;
    font-size: .9rem;
}
.blog-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 218, 200, .12);
    color: var(--tb-blue-dark);
    font-weight: 900;
    font-size: .84rem;
}
.blog-category i { color: var(--tb-turquoise); }
.featured-title {
    color: var(--tb-navy);
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.07em;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(7,28,54,.1);
    background: #fff;
    box-shadow: 0 18px 56px rgba(7,28,54,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 78px rgba(7,28,54,.15);
    border-color: rgba(18,148,255,.2);
}
.blog-image-wrap {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: var(--tb-light);
}
.blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.blog-card:hover .blog-image-wrap img { transform: scale(1.06); }
.blog-image-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(0deg, rgba(7,28,54,.72), transparent);
}
.blog-image-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--tb-navy);
    font-weight: 900;
    font-size: .82rem;
}
.blog-body { padding: 24px; }
.blog-title {
    color: var(--tb-navy);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1.13;
}
.blog-excerpt {
    color: var(--tb-muted);
    line-height: 1.72;
    min-height: 82px;
}
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--tb-blue-dark);
    font-weight: 950;
}
.blog-link i { transition: transform .2s ease; }
.blog-link:hover i { transform: translateX(4px); }

.empty-state {
    display: none;
    border: 1px dashed rgba(7,28,54,.2);
    border-radius: 24px;
    background: rgba(247,251,255,.86);
    padding: 34px;
    text-align: center;
    color: var(--tb-muted);
}

.db-info-card {
    border-radius: 34px;
    padding: clamp(30px, 5vw, 56px);
    background:
        radial-gradient(circle at 10% 10%, rgba(21,218,200,.15), transparent 34%),
        linear-gradient(135deg, #071c36, #102b4e);
    color: #fff;
    box-shadow: 0 34px 90px rgba(7,28,54,.22);
}
.db-info-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.db-info-list li {
    display: flex;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-weight: 700;
}
.db-info-list i { color: var(--tb-turquoise); }

.cta-card {
    border-radius: 34px;
    padding: 44px;
    background:
        linear-gradient(135deg, rgba(18,148,255,.1), rgba(21,218,200,.11)),
        #fff;
    border: 1px solid rgba(18,148,255,.14);
    box-shadow: 0 28px 80px rgba(7,28,54,.1);
}

footer {
    background: #06182f;
    color: rgba(255,255,255,.78);
    padding: 70px 0 28px;
}
footer a { color: rgba(255,255,255,.76); }
footer a:hover { color: #fff; }
.footer-logo { height: 58px; width: auto; object-fit: contain; }
.social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff;
}

.quick-contact-widget {
    position: fixed;
    right: 0;
    bottom: 22px;
    z-index: 1100;
    display: grid;
    gap: 10px;
    justify-items: end;
}
.quick-contact-main { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; }
.quick-contact-panel {
    position: absolute;
    right: 66px;
    bottom: 0;
    width: 260px;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(7,28,54,.1);
    box-shadow: 0 24px 70px rgba(7,28,54,.2);
    opacity: 0;
    transform: translateX(16px) scale(.96);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s 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: 12px;
    padding: 12px;
    border-radius: 16px;
    color: var(--tb-navy);
    font-weight: 900;
}
.quick-contact-item:hover { background: rgba(18,148,255,.08); color: var(--tb-blue-dark); }
.quick-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
}
.quick-contact-toggle {
    width: 56px;
    min-width: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 18px 0 0 18px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--tb-blue), var(--tb-turquoise));
    color: #fff;
    box-shadow: 0 18px 34px rgba(18,148,255,.28);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    transition: width .24s ease, min-width .24s ease, border-radius .24s ease, box-shadow .24s ease;
}
.quick-contact-toggle span {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .18s ease, transform .18s ease;
    font-weight: 900;
}
.quick-contact-toggle:hover,
.quick-contact-toggle:focus-visible,
.quick-contact-widget.is-open .quick-contact-toggle {
    width: 178px;
    min-width: 178px;
    border-radius: 18px 0 0 18px;
    box-shadow: 0 22px 44px rgba(18,148,255,.34);
}
.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: 52px;
    height: 52px;
    border-radius: 18px 0 0 18px;
    display: grid;
    place-items: center;
    background: #071c36;
    color: #fff;
    box-shadow: 0 16px 34px rgba(7,28,54,.22);
}
.quick-top-link:hover { color: var(--tb-turquoise); }

@media (max-width: 1199.98px) {
    .tb-main-nav .navbar-brand { margin-right: 16px; padding-right: 18px; }
    .brand-logo { height: 50px; }
    .tb-main-nav .nav-link { font-size: .9rem; padding-left: 10px !important; padding-right: 10px !important; }
}
@media (max-width: 991.98px) {
    .topbar .topbar-right { display: none !important; }
    .tb-main-nav { padding: 12px 0; }
    .tb-main-nav .navbar-brand { border-right: 0; padding-right: 0; }
    .tb-main-nav .navbar-collapse {
        margin-top: 14px;
        padding: 16px;
        border-radius: 22px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
    }
    .tb-main-nav .navbar-nav { align-items: stretch !important; gap: 6px; }
    .tb-main-nav .nav-link { padding: 13px 16px !important; font-size: .95rem; background: rgba(255,255,255,.05); }
    .tb-main-nav .nav-link::after { display: none; }
    .page-hero { padding: 68px 0 84px; }
    .featured-img { min-height: 300px; }
    .filter-card { margin-top: -30px; }
    .blog-image-wrap { height: 220px; }
    .cta-card { padding: 30px; border-radius: 28px; }
}
@media (max-width: 575.98px) {
    .section-padding { padding: 68px 0; }
    .brand-logo { height: 45px; }
    .filter-card { padding: 16px; border-radius: 22px; }
    .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; }
    .quick-top-link { width: 50px; height: 50px; }
}
