/* ==========================================================================
   VRSK Advisory — Theme (v2)
   Original design system, blue-only palette. Not a copy of any third-party
   template's CSS — component names, tokens and layout rules are custom.
   ========================================================================== */

:root {
  --blue-900: #0F2C52;
  --blue-800: #14335A;
  --blue-700: #1B3F6E;
  --blue-600: #1F4E8C;
  --blue-500: #2E6FBA;
  --blue-400: #4C8AD1;
  --blue-100: #EAF2FB;
  --blue-50:  #F5F9FE;
  --ink: #16233A;
  --ink-soft: #4C5A70;
  --line: #E4EAF3;
  --white: #FFFFFF;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 16px 40px -18px rgba(15, 44, 82, 0.28);
  --shadow-soft: 0 8px 24px -12px rgba(15, 44, 82, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container-xl { max-width: 1260px; margin: 0 auto; padding: 0 20px; }

/* -------------------- Eyebrow / Section Tag -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  display: inline-block;
}
.eyebrow.on-dark { background: rgba(255,255,255,.12); color: #fff; }
.eyebrow.on-dark::before { background: #fff; }

.section { padding: 12px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 72px 0; }
.bg-tint { background: var(--blue-50); }
.bg-deep {
  background: linear-gradient(150deg, var(--blue-900), var(--blue-700));
  color: #fff;
}
.bg-deep .section-title, .bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep p { color: rgba(255,255,255,.78); }

.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.section-lead { max-width: 620px; color: var(--ink-soft); }

/* -------------------- Buttons -------------------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-600);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  transition: background .2s ease, transform .2s ease;
}
.btn-brand:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.btn-brand i { font-size: 18px; }

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--blue-600) !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 27px;
  border-radius: 999px;
  border: 1.5px solid var(--blue-600);
  transition: all .2s ease;
}
.btn-outline-brand:hover { background: var(--blue-600); color: #fff !important; }

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue-700) !important;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: none;
  transition: transform .2s ease;
}
.btn-white:hover { transform: translateY(-2px); color: var(--blue-700) !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-600); font-weight: 600; font-family: var(--font-head);
  font-size: 14.5px;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* -------------------- Topbar -------------------- */
.topbar {
  background: var(--blue-900);
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  padding: 9px 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.1); margin-left: 6px; font-size: 13px;
}
.topbar-social a:hover { background: rgba(255,255,255,.22); }

/* -------------------- Navbar -------------------- */
.site-navbar {
  background: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-navbar.is-stuck { box-shadow: var(--shadow-soft); padding: 10px 0; }

.brand-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
}
.brand-logo span { color: var(--blue-600); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 16px !important;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active {
  background: var(--blue-100);
  color: var(--blue-600);
}
.main-nav .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  margin-top: 10px !important;
}
.main-nav .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.main-nav .dropdown-item:hover { background: var(--blue-50); color: var(--blue-600); }

/* -------------------- Hero -------------------- */
.hero-v2 {
  position: relative;
  padding: 76px 0 40px;
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  overflow: hidden;
}
.hero-v2-copy h1 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 20px; }
.hero-v2-copy p { font-size: 18px; max-width: 520px; margin-bottom: 32px; }

.hero-v2-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-v2-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.floating-card .fc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.floating-card h6 { font-size: 14.5px; margin: 0; }
.floating-card p { font-size: 12.5px; margin: 0; color: var(--ink-soft); }
.floating-card--tl { top: -18px; left: -18px; }
.floating-card--br { bottom: -18px; right: -18px; }

.stat-strip { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; }
.stat-strip .stat b {
  font-family: var(--font-head); display: block; font-size: 30px; color: var(--blue-700);
}
.stat-strip .stat span { font-size: 13.5px; color: var(--ink-soft); }

/* -------------------- Icon Circles / Feature blocks -------------------- */
.icon-circle {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--blue-100); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.bg-deep .icon-circle { background: rgba(255,255,255,.12); color: #fff; }

.feature-row { display: flex; gap: 16px; margin-bottom: 20px; }
.feature-row .fr-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-100); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.feature-row h6 { margin-bottom: 4px; font-size: 16px; }
.feature-row p { margin: 0; font-size: 14.5px; }

/* -------------------- Service Cards -------------------- */
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.svc-card h5 { font-size: 18px; margin: 6px 0 10px; }
.svc-card p { font-size: 14.5px; margin-bottom: 14px; }

.svc-card--dark {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: rgba(255,255,255,.78);
}
.svc-card--dark h5 { color: #fff; }
.svc-card--dark .icon-circle { background: rgba(255,255,255,.14); color: #fff; }
.svc-card--dark .link-arrow { color: #fff; }

/* -------------------- Process Steps -------------------- */
.process-step { position: relative; text-align: center; padding: 0 12px; }
.process-step .ps-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-soft);
}
.process-step h6 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; }

/* -------------------- CTA Band -------------------- */
.cta-band {
  background: var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { color: #fff; margin-bottom: 6px; font-size: 24px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; }
.cta-band .cta-phone { display: flex; align-items: center; gap: 14px; }
.cta-band .cta-phone .cp-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.cta-band .cta-phone a { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }

/* -------------------- Appointment / Enquiry Section -------------------- */
.appointment-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 42px;
}
.appointment-panel .form-control,
.appointment-panel .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  margin-bottom: 16px;
}
.appointment-panel .form-control:focus,
.appointment-panel .form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
.appointment-panel textarea.form-control { min-height: 120px; }

/* -------------------- Badge Strip (Empanelment / Trust marks) -------------------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  color: var(--blue-700); font-family: var(--font-head);
}
.trust-chip i { color: var(--blue-500); }

/* -------------------- Award / News Cards -------------------- */
.award-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; height: 100%;
}
.award-card .award-date {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue-600);
  background: var(--blue-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.award-card h6 { font-size: 16px; margin-bottom: 6px; }
.award-card p { font-size: 13.5px; margin: 0; }

/* -------------------- Tables (Awards / Memberships) -------------------- */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table th {
  background: var(--blue-700); color: #fff; text-align: left;
  padding: 14px 18px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-head);
}
.data-table th:first-child { border-top-left-radius: var(--radius-sm); }
.data-table th:last-child { border-top-right-radius: var(--radius-sm); }
.data-table td {
  padding: 14px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); background: #fff;
}
.data-table tr:nth-child(even) td { background: var(--blue-50); }

/* -------------------- Page Banner (inner pages) -------------------- */
.page-banner-v2 {
  background: linear-gradient(150deg, var(--blue-900), var(--blue-700));
  padding: 30px 0 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner-v2 h1 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.page-banner-v2 .crumbs a { color: rgba(255,255,255,.7); font-weight: 500; font-size: 13px; }
.page-banner-v2 .crumbs a:hover { color: #fff; }
.page-banner-v2 .crumbs span { color: rgba(255,255,255,.45); margin: 0 6px; font-size: 13px; }

/* -------------------- Verification Result Panel -------------------- */
.verify-panel {
  border: 2px dashed var(--blue-400);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--blue-50);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-family: var(--font-head);
  font-weight: 700; font-size: 13.5px; margin-bottom: 16px;
}
.status-pill--ok { background: var(--blue-600); color: #fff; }
.status-pill--bad { background: var(--blue-900); color: #fff; }

/* -------------------- Gallery -------------------- */
.gallery-tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-tile img { width: 100%; height: 100%; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile .gt-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(15,44,82,.85), transparent);
  color: #fff; padding: 30px 18px 14px; font-size: 13.5px; font-weight: 600;
}

.img-cover{
    object-fit: cover;
}

.img-contain{
    object-fit: contain;
}

/* -------------------- Footer -------------------- */
.site-footer-v2 { background: var(--blue-900); color: rgba(255,255,255,.72); padding-top: 40px; }
.site-footer-v2 h6 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.site-footer-v2 a { color: rgba(255,255,255,.68); font-size: 14.5px; }
.site-footer-v2 a:hover { color: #fff; }
.site-footer-v2 .footer-col ul li { margin-bottom: 12px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: #fff; }
.footer-brand span { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 56px; padding: 22px 0; font-size: 13.5px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); margin-right: 8px; font-size: 14px; color: #fff;
}
.footer-social a:hover { background: var(--blue-600); }
.newsletter-form { display: flex; gap: 0; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); padding: 4px; }
.newsletter-form input {
  flex: 1; background: transparent; border: none; padding: 10px 16px; color: #fff; font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--blue-600); color: #fff; border: none; border-radius: 999px;
  padding: 10px 20px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
}

/* -------------------- Chat FAB + Back to top -------------------- */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: var(--shadow-card); z-index: 999; transition: transform .2s ease, background .2s ease;
}
.chat-fab:hover { background: var(--blue-500); color: #fff; transform: scale(1.06); }

.back-to-top {
  position: fixed; right: 24px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--blue-600); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: var(--shadow-soft); z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* -------------------- Misc -------------------- */
.divider-soft { height: 1px; background: var(--line); border: none; margin: 0; }
.text-blue-600 { color: var(--blue-600) !important; }
.rounded-media { border-radius: var(--radius-lg); overflow: hidden; }

/* Newly Added for Footer Content */


@media (max-width: 991.98px) {
  .floating-card { display: none; }
  .cta-band { flex-direction: column; text-align: center; }
  .main-nav { display: none; }
}

 /* .chat-fab itself is already styled by your existing CSS
       (it previously styled the WhatsApp <a>). Only the popup panel
       below is new. If your existing .chat-fab rule is scoped to the
       <a> tag specifically (e.g. "a.chat-fab" instead of ".chat-fab"),
       widen that selector to match the <button> now used here, or
       tell me and I'll switch this markup back to an <a href="#">. */

      .chat-panel {
        position: fixed;
        right: 24px;
        bottom: 94px;
        width: 340px;
        max-width: calc(100vw - 32px);
        max-height: 70vh;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0,0,0,.25);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        z-index: 9999;
        font-family: inherit;
    }
    .chat-panel[hidden] { display: none; }

    .chat-panel-header {
        background: var(--bs-primary, #0b5f6b);
        color: #fff;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        font-size: 15px;
    }
    .chat-panel-close {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        padding: 0 2px;
    }

    .chat-panel-body { padding: 16px; overflow-y: auto; }
    .chat-intro { margin: 0 0 12px; font-size: 13px; color: #6b7280; }

    .chat-form { display: flex; flex-direction: column; gap: 10px; }
    .chat-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #222; }
    .chat-field .req { color: #c0392b; margin-left: 2px; }
    .chat-field input,
    .chat-field textarea {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 8px 10px;
        font-size: 13.5px;
        font-family: inherit;
        resize: vertical;
    }
    .chat-field input:focus,
    .chat-field textarea:focus {
        outline: none;
        border-color: var(--bs-primary, #0b5f6b);
        box-shadow: 0 0 0 3px rgba(11,95,107,.12);
    }

    .chat-submit {
        margin-top: 4px;
        background: var(--bs-primary, #0b5f6b);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }
    .chat-submit:disabled { opacity: .6; cursor: default; }

    .chat-form-status { margin: 6px 0 0; font-size: 12.5px; min-height: 16px; }
    .chat-form-status.is-error { color: #c0392b; }
    .chat-form-status.is-success { color: #1f8a4c; }

    @media (max-width: 420px) {
        .chat-panel { right: 16px; left: 16px; width: auto; bottom: 88px; }
    }


/* ===========================
   Footer Association Section
=========================== */

.footer-associations{
    padding:20px 0 20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    margin-bottom:50px;
}

.association-title{
    color:#fff;
    font-size:1rem;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:30px;
}

.association-logos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:28px;
}

.association-logos img{
    width:130px;
    height:130px;
    object-fit:contain;
    background:#fff;
    border-radius:12px;
    padding:8px;
    transition:all .3s ease;
    opacity:1;
}

.association-logos img:hover{
    filter:none;
    opacity:1;
    transform:translateY(-4px);
}