:root { --brand: #0a2a5e; --accent: #e63946; }

body { font-family: 'Segoe UI', Tahoma, sans-serif; color: #1a1a1a; }

.navbar { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.navbar-brand { font-weight: 800; color: var(--brand) !important; font-size: 1.4rem; letter-spacing: .5px; }
.navbar-brand span { color: var(--accent); }
.navbar-nav .nav-link { font-weight: 500; color: #333 !important; padding: .5rem 1rem !important; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brand) !important; font-weight: 700; }

.btn-brand { background: var(--brand); color: #fff; border: none; padding: .6rem 1.4rem; font-weight: 600; border-radius: 6px; }
.btn-brand:hover { background: #061e42; color: #fff; }

.hero { background: linear-gradient(135deg, var(--brand) 0%, #1e3a8a 100%); color: #fff; padding: 6rem 0; }
.hero h1 { font-weight: 800; font-size: 3rem; }

.footer { background: var(--brand); color: #fff; padding: 2rem 0; margin-top: 4rem; }
.footer a { color: #cbd5e0; text-decoration: none; }
.footer a:hover { color: #fff; }

.lang-switch button { color: #333; font-size: .9rem; padding: .25rem .4rem; text-decoration: none; background: none; border: none; }
.lang-switch button.active { color: var(--brand); font-weight: 700; }

.service-card { border: 1px solid #eef0f4; border-radius: 10px; padding: 2rem; height: 100%; transition: .2s; background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(10,42,94,.1); border-color: #d5ddff; }
.service-card .icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-weight: 700; color: var(--brand); margin-bottom: 2rem; }

/* ==================================================================
   Homepage — banners, sections, tiles, animations
   ================================================================== */

.section-pad { padding: 5rem 0; }
.bg-soft    { background: #f6f7fb; }

.min-vh-hero { min-height: 640px; padding: 4rem 0; }

/* ---- Hero banner ---- */
.hero-banner { position: relative; overflow: hidden; color: #fff; }
.hero-banner .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10,42,94,.92) 0%, rgba(10,42,94,.72) 45%, rgba(10,42,94,.55) 100%);
}
.hero-banner .container { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    font-size: .78rem; font-weight: 700; color: #ffd4d9;
    border-left: 3px solid var(--accent); padding-left: .6rem; margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800; line-height: 1.08; margin-bottom: 1.2rem;
}
.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 2rem;
}
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 2.5rem;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero-trust span { font-size: .85rem; color: rgba(255,255,255,.75); }

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

/* ---- Section head ---- */
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem;
}

/* ---- Service tiles ---- */
.service-tile {
    display: block; height: 100%; padding: 2rem;
    background: #fff; border: 1px solid #eef0f4; border-radius: 14px;
    color: inherit; text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10,42,94,.12);
    border-color: #cdd6ef; color: inherit;
}
.service-tile-icon {
    width: 56px; height: 56px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(230,57,70,.1); color: var(--accent);
    font-size: 1.6rem; margin-bottom: 1.1rem;
}
.service-tile h5 { font-weight: 700; color: var(--brand); margin-bottom: .6rem; }
.service-tile p  { color: #555; font-size: .95rem; margin-bottom: 1rem; }
.service-tile-link { color: var(--brand); font-weight: 600; font-size: .9rem; }

/* ---- Feature cards ---- */
.feature-card {
    background: #fff; border-radius: 12px; padding: 1.6rem;
    border: 1px solid #eef0f4; height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,42,94,.08); }
.feature-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: .8rem; display: block; }
.feature-card h6 { color: var(--brand); font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .9rem; color: #555; }

/* ---- Image frame (about teaser) ---- */
.image-frame {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(10,42,94,.18);
    position: relative;
}
.image-frame img {
    width: 100%; height: auto; display: block;
    aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform .8s ease;
}
.image-frame:hover img { transform: scale(1.04); }

/* ---- Check list ---- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .35rem 0; color: #333; }
.check-list i { color: #16a34a; margin-right: .5rem; }

/* ---- CTA banner ---- */
.cta-banner { position: relative; overflow: hidden; padding: 6rem 0; }
.cta-banner .cta-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,42,94,.92), rgba(10,42,94,.65));
}
.cta-banner .container { position: relative; z-index: 2; }
.text-brand { color: var(--brand) !important; }

/* ---- Fade-in on scroll ---- */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fade-in-up, .hero-banner .hero-bg { animation: none; opacity: 1; transform: none; }
}

/* ---- Responsive tweaks ---- */
@media (max-width: 768px) {
    .section-pad { padding: 3rem 0; }
    .min-vh-hero { min-height: 520px; padding: 3rem 0; }
    .hero-trust { gap: 1.5rem; }
    .hero-trust strong { font-size: 1.3rem; }
}

/* ============================================================
   Footer (modern 4-column) + admin settings (2026-10-31)
   ============================================================ */


.footer-modern {
    background: var(--brand);
    color: #cbd5e0;
    margin-top: 4rem;
    font-size: .95rem;
}
.footer-modern a { color: #cbd5e0; text-decoration: none; }
.footer-modern a:hover { color: #fff; text-decoration: underline; }

.footer-brand { display: inline-block; color: #fff !important; font-weight: 800; font-size: 1.5rem; letter-spacing: .5px; }
.footer-brand span { color: var(--accent); }
.footer-logo { max-height: 48px; width: auto; display: block; }

.footer-tagline { color: #a8b6d1; line-height: 1.6; margin: 0; }

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); text-decoration: none; }
.footer-social a i { font-size: 1rem; }

.footer-heading {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .3rem 0; color: #cbd5e0; }
.footer-links li i { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    font-size: .85rem;
    color: #93a3c0;
}

/* ---- Admin settings page ---- */
.settings-form { max-width: 900px; }
.settings-section {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.settings-heading {
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #eef0f4;
}
.logo-preview {
    border: 2px dashed #d5ddff;
    border-radius: 10px;
    padding: 1rem;
    background: #f8faff;
    min-height: 100px;
    display: flex; align-items: center; justify-content: center;
}
.logo-preview-empty { color: #94a3b8; font-size: .875rem; }
.logo-preview img { display: block; }

/* Bigger logo requires taller navbar */

/* ============================================================
   Navbar — BIG logo (100px) with taller navbar
   ============================================================ */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.navbar .navbar-brand {
    padding: 0;
    display: inline-flex;
    align-items: center;
}
.navbar-logo,
.navbar .navbar-brand .navbar-logo {
    max-height: 100px;
    height: auto;
    width: auto;
    display: block;
}

/* Mobile: keep sane */
@media (max-width: 991px) {
    .navbar-logo,
    .navbar .navbar-brand .navbar-logo { max-height: 70px; }
}
@media (max-width: 576px) {
    .navbar-logo,
    .navbar .navbar-brand .navbar-logo { max-height: 50px; }
}
