/* ==========================================================================
   Sri Lanka ETA Guide — Shared Design Overhaul Layer
   Loaded AFTER bootstrap.min.css + style.min.css.
   Reuses the existing brand palette (--primary-color, --text-primary, ...).
   All selectors use the ov- namespace; container widths are untouched.
   ========================================================================== */

/* ---------- 1. Design tokens (additive only) ---------- */
:root {
    --ov-hero-1: #1e5a65;                 /* --primary-dark */
    --ov-hero-2: #2e7d8a;                 /* --primary-color */
    --ov-hero-3: #4a9ba8;                 /* --primary-light */
    --ov-tint: #e8f4f6;                   /* --accent-color */
    --ov-ink: #2c3e50;                    /* --text-primary */
    --ov-paper: #f7f9fc;                  /* --light-gray */
    --ov-line: #e1e8ed;                   /* --border-color */
    --ov-gold: #f39c12;                   /* --warning-color */
    --ov-green: #27ae60;                  /* --success-color */
    --ov-red: #e74c3c;                    /* --danger-color */
    --ov-radius: 14px;
    --ov-radius-sm: 10px;
    --ov-shadow: 0 10px 30px rgba(30, 90, 101, .14);
    --ov-shadow-soft: 0 4px 16px rgba(30, 90, 101, .10);
    --ov-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

/* ---------- 2. Typography ---------- */
body.ov-page {
    font-size: 16.5px;
    letter-spacing: .01em;
}

.ov-page h1, .ov-page h2, .ov-page h3, .ov-page h4 {
    letter-spacing: -.015em;
    font-weight: 600;
}

.ov-page h2 { position: relative; }

.ov-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ov-hero-1);
    margin-bottom: 10px;
}
.ov-kicker::before {
    content: "";
    width: 34px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ov-hero-2), var(--ov-hero-3));
}
.ov-kicker-light { color: rgba(255,255,255,.85); }

.ov-page a { transition: color .2s var(--ov-ease); }
.ov-page a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

.ov-article, .ov-prose { font-size: 1.02rem; }
.ov-article h2, .ov-prose h2 {
    padding-left: 14px;
    border-left: 4px solid var(--ov-hero-2);
    margin: 1.8rem 0 1rem;
}
.ov-article h3, .ov-prose h3 { color: var(--ov-hero-1); margin-top: 1.5rem; }
.ov-article ul, .ov-prose ul,
.ov-article ol, .ov-prose ol { margin-left: 1.25rem; }
.ov-article ul li, .ov-prose ul li { margin-bottom: .5rem; }
.ov-article ul > li::marker { color: var(--ov-hero-2); }
.ov-article blockquote, .ov-prose blockquote {
    margin: 1.4rem 0; padding: 1.1rem 1.4rem;
    background: var(--ov-tint);
    border-left: 4px solid var(--ov-hero-2);
    border-radius: 0 var(--ov-radius-sm) var(--ov-radius-sm) 0;
    font-style: italic; color: var(--ov-ink);
}
.ov-article strong, .ov-prose strong { color: var(--ov-hero-1); }
.ov-prose hr { border: 0; height: 2px; background: linear-gradient(90deg, var(--ov-line), transparent); margin: 1.8rem 0; }

/* ---------- 3. Hero bands ---------- */
.ov-hero {
    position: relative;
    background: linear-gradient(120deg, var(--ov-hero-1) 0%, var(--ov-hero-2) 55%, var(--ov-hero-3) 100%);
    color: #fff;
    padding: 64px 0 70px;
    overflow: hidden;
    isolation: isolate;
}
.ov-hero::before {
    content: "";
    position: absolute; z-index: -1;
    width: 560px; height: 560px; right: -180px; top: -240px;
    background: radial-gradient(circle at center, rgba(255,255,255,.20), rgba(255,255,255,0) 62%);
    border-radius: 50%;
}
.ov-hero::after {
    content: "";
    position: absolute; z-index: -1;
    width: 420px; height: 420px; left: -140px; bottom: -220px;
    background: radial-gradient(circle at center, rgba(232,244,246,.28), rgba(232,244,246,0) 60%);
    border-radius: 50%;
}
.ov-hero h1, .ov-hero h2 {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 14px rgba(10, 45, 52, .35);
    margin-bottom: .9rem;
}
.ov-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.ov-hero p { color: rgba(255,255,255,.9); }
/* .ov-hero .lead { font-size: 1.2rem; max-width: 56ch; } */
.ov-hero a:not(.btn) { color: #fff; }

/* Breadcrumb inside hero */
.ov-hero .breadcrumb {
    margin-bottom: 18px;
    font-size: .9rem;
}
.ov-hero .breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,.8);
}
.ov-hero .breadcrumb .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: none;
}
.ov-hero .breadcrumb-item.active { color: #fff; font-weight: 600; }
.ov-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.55); }

/* Hero: centered stack */
.ov-hero-center { text-align: center; }
.ov-hero-center .lead { margin-left: auto; margin-right: auto; }
.ov-hero-center .breadcrumb { justify-content: center; }

/* Hero: split content + side image panel */
.ov-hero-split .row { align-items: center; }
.ov-hero-split .ov-hero-media {
    border-radius: var(--ov-radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(8, 40, 46, .45);
    transform: rotate(1.2deg);
    border: 5px solid rgba(255,255,255,.9);
    display: inline-block;
    margin: 0 auto;
}
.ov-hero-split .ov-hero-media img { display: block; width: 100%; height: auto; }

/* Hero: image left, text right */
.ov-hero-image-left .ov-hero-media {
    order: -1;
    transform: rotate(-1.2deg);
}

/* Hero stat chips */
.ov-hero-chips {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 22px;
}
.ov-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(3px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .9rem; font-weight: 600;
}
.ov-chip i { font-size: 1.05rem; }

/* Hero CTA row */
.ov-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; align-items: center; }
.ov-hero-actions .btn { font-size: 1.02rem; }

/* ---------- 4. Buttons ---------- */
.ov-page .btn {
    border-radius: var(--ov-radius-sm);
    padding: 12px 26px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .25s var(--ov-ease), box-shadow .25s var(--ov-ease), background-color .2s, color .2s, border-color .2s;
}
.ov-page .btn-primary {
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3));
    border: 1px solid var(--ov-hero-2);
    box-shadow: 0 6px 18px rgba(46, 125, 138, .35);
}
.ov-page .btn-primary:hover, .ov-page .btn-primary:focus {
    background: linear-gradient(135deg, var(--ov-hero-1), var(--ov-hero-2));
    border-color: var(--ov-hero-1);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 90, 101, .45);
    color: #fff;
}
.ov-page .btn-outline-primary {
    color: var(--ov-hero-2);
    border-color: var(--ov-hero-2);
}
.ov-page .btn-outline-primary:hover {
    background: var(--ov-hero-2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,125,138,.35);
}
.ov-page .btn-light {
    border: 1px solid #d7e3e7;
    box-shadow: var(--ov-shadow-soft);
}
.ov-page .btn-light:hover { transform: translateY(-2px); }
.ov-page .btn-danger, .ov-page .btn-danger:hover, .ov-page .btn-danger:focus {
    background-color: var(--ov-red); border-color: var(--ov-red); color: #fff;
}
.ov-page .btn-warning, .ov-page .btn-warning:hover, .ov-page .btn-warning:focus {
    background-color: var(--ov-gold); border-color: var(--ov-gold); color: #fff;
}
.ov-page .btn-success, .ov-page .btn-success:hover, .ov-page .btn-success:focus {
    background-color: var(--ov-green); border-color: var(--ov-green); color: #fff;
}
.ov-hero .btn-light {
    background: #fff; border-color: #fff; color: var(--ov-hero-1);
}
.ov-hero .btn-outline-light {
    color: #fff; border-color: rgba(255,255,255,.75);
}
.ov-hero .btn-outline-light:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- 5. Cards ---------- */
.ov-card {
    background: #fff;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    box-shadow: var(--ov-shadow-soft);
    transition: transform .3s var(--ov-ease), box-shadow .3s var(--ov-ease);
    overflow: hidden;
    height: 100%;
}
.ov-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ov-shadow);
}
.ov-card-topline {
    height: 5px;
    background: linear-gradient(90deg, var(--ov-hero-2), var(--ov-hero-3));
}
.ov-card-body { padding: 26px 24px; }
.ov-card-icon {
    width: 58px; height: 58px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 16px;
    font-size: 1.55rem;
    color: #fff;
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3));
    box-shadow: 0 8px 18px rgba(46,125,138,.35);
    margin-bottom: 16px;
}
.ov-card-icon-gold { background: linear-gradient(135deg, #e67e22, var(--ov-gold)); box-shadow: 0 8px 18px rgba(243,156,18,.35); }
.ov-card-icon-green { background: linear-gradient(135deg, #1e8449, var(--ov-green)); box-shadow: 0 8px 18px rgba(39,174,96,.35); }

/* Bento grid: asymmetric featured tiles */
.ov-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.ov-bento .ov-span-8 { grid-column: span 8; }
.ov-bento .ov-span-7 { grid-column: span 7; }
.ov-bento .ov-span-6 { grid-column: span 6; }
.ov-bento .ov-span-5 { grid-column: span 5; }
.ov-bento .ov-span-4 { grid-column: span 4; }
.ov-bento .ov-span-12 { grid-column: span 12; }
.ov-tile-feature {
    position: relative;
    background: linear-gradient(135deg, var(--ov-hero-1), var(--ov-hero-2) 60%, var(--ov-hero-3));
    color: #fff;
    border-radius: var(--ov-radius);
    overflow: hidden;
    box-shadow: var(--ov-shadow);
}
.ov-tile-feature h3, .ov-tile-feature h4 { color: #fff; }
.ov-tile-feature p { color: rgba(255,255,255,.9); }
.ov-tile-feature::after {
    content: "";
    position: absolute; right: -70px; bottom: -90px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.ov-tile-feature::before {
    content: "";
    position: absolute; left: -50px; top: -70px;
    width: 160px; height: 160px; border-radius: 50%;
    border: 22px solid rgba(255,255,255,.10);
}

/* ---------- 6. Stats strip ---------- */
.ov-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}
.ov-stat {
    background: #fff;
    border: 1px solid var(--ov-line);
    border-top: 4px solid var(--ov-hero-2);
    border-radius: var(--ov-radius-sm);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--ov-shadow-soft);
}
.ov-stat b, .ov-stat strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ov-hero-1);
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}
.ov-stat span, .ov-stat small { color: var(--text-secondary, #5a6c7d); font-size: .9rem; }
.ov-stats-dark .ov-stat {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.25);
    backdrop-filter: blur(2px);
}
.ov-stats-dark .ov-stat b { color: #fff; }
.ov-stats-dark .ov-stat span { color: rgba(255,255,255,.8); }

/* ---------- 7. Numbered step timeline ---------- */
.ov-steps { counter-reset: ovstep; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ov-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding-bottom: 34px;
}
.ov-step:last-child { padding-bottom: 0; }
.ov-step::before {
    content: "";
    position: absolute;
    left: 31px; top: 62px; bottom: 4px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--ov-hero-2), var(--ov-line));
}
.ov-step:last-child::before { display: none; }
.ov-step-num {
    counter-increment: ovstep;
    width: 62px; height: 62px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(46,125,138,.4);
    border: 4px solid #fff;
}
.ov-step-body h3 { margin-top: 6px; }
.ov-steps--row { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ov-steps--row .ov-step { grid-template-columns: 1fr; padding-bottom: 0; text-align: center; }
.ov-steps--row .ov-step::before { display: none; }
.ov-steps--row .ov-step-num { margin: 0 auto 14px; }

/* ---------- 8. Callouts ---------- */
.ov-callout {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    border-radius: var(--ov-radius-sm);
    padding: 18px 20px;
    margin: 18px 0;
    border: 1px solid;
}
.ov-callout i { font-size: 1.5rem; margin-top: 2px; }
.ov-callout-info { background: var(--ov-tint); border-color: #c5e3e8; color: var(--ov-hero-1); }
.ov-callout-info i { color: var(--ov-hero-2); }
.ov-callout-warning { background: #fef5e7; border-color: #f7ddae; color: #7d5a12; }
.ov-callout-warning i { color: var(--ov-gold); }
.ov-callout-danger { background: #fdedec; border-color: #f5b7b1; color: #922b21; }
.ov-callout-danger i { color: var(--ov-red); }
.ov-callout-success { background: #e9f7ef; border-color: #b2dfbb; color: #1e6b3a; }
.ov-callout-success i { color: var(--ov-green); }
.ov-callout p:last-child { margin-bottom: 0; }

/* ---------- 9. Checklists ---------- */
.ov-checklist { list-style: none; margin: 0; padding: 0; }
.ov-checklist li {
    position: relative;
    padding: 8px 12px 8px 44px;
    /* border-bottom: 1px dashed var(--ov-line); */
}
.ov-checklist li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute; left: 12px; top: 9px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: #e9f7ef; color: var(--ov-green);
    border-radius: 50%; font-size: .8rem;
}
.ov-checklist-cross li::before { content: "\f00d"; background: #fdedec; color: var(--ov-red); }
.ov-checklist-plain li::before { background: var(--ov-tint); color: var(--ov-hero-2); }

/* ---------- 10. Tables ---------- */
.ov-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ov-shadow-soft);
}
.ov-table thead th {
    background: linear-gradient(135deg, var(--ov-hero-1), var(--ov-hero-2));
    color: #fff;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 14px 16px;
    white-space: nowrap;
}
.ov-table tbody td { padding: 13px 16px; border-bottom: 1px solid var(--ov-line); vertical-align: top; }
.ov-table tbody tr:nth-child(even) { background: var(--ov-paper); }
.ov-table tbody tr:last-child td { border-bottom: 0; }
.ov-table tbody tr:hover { background: var(--ov-tint); }
.ov-table tfoot td { background: var(--ov-paper); font-weight: 600; }

/* Also polish native bootstrap tables on ov pages without the wrapper */
.ov-page table.table { border-color: var(--ov-line); border-radius: var(--ov-radius-sm); overflow: hidden; }
.ov-page table.table thead th {
    background: linear-gradient(135deg, var(--ov-hero-1), var(--ov-hero-2));
    color: #fff; border-top: 0;
}
.ov-page table.table tbody tr:nth-child(even) { background-color: var(--ov-paper); }
.ov-page table.table tbody tr:hover { background-color: var(--ov-tint); }

/* ---------- 11. Forms ---------- */
.ov-form-panel {
    background: #fff;
    border: 1px solid var(--ov-line);
    border-top: 5px solid var(--ov-hero-2);
    border-radius: var(--ov-radius);
    box-shadow: var(--ov-shadow);
    padding: 30px 28px;
}
.ov-form-panel h2, .ov-form-panel h3 { color: var(--ov-hero-1); }
.ov-page .form-label {
    font-weight: 600;
    color: var(--ov-ink);
    margin-bottom: 6px;
}
.ov-page .form-control, .ov-page .form-select {
    border-color: #cdd9de;
    border-radius: var(--ov-radius-sm);
    padding: 11px 14px;
    background-color: #fbfdfe;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.ov-page .form-control:focus, .ov-page .form-select:focus {
    border-color: var(--ov-hero-2);
    box-shadow: 0 0 0 4px rgba(46,125,138,.18);
    background-color: #fff;
}
.ov-page .form-check-input { border-radius: 50%; }
.ov-page .form-check-input:checked { background-color: var(--ov-hero-2); border-color: var(--ov-hero-2); }
.ov-page .form-control.is-invalid, .ov-page .form-select.is-invalid { border-color: var(--ov-red); }
.ov-page .form-control.is-valid { border-color: var(--ov-green); }
.ov-fieldset {
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius-sm);
    padding: 22px 20px 18px;
    margin-bottom: 22px;
    background: var(--ov-paper);
}
.ov-fieldset legend, .ov-fieldset .ov-legend {
    float: left;
    width: auto;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ov-hero-1);
    padding: 0 10px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--ov-line);
    border-radius: 8px;
}

/* ---------- 12. CTA band ---------- */
.ov-cta {
    position: relative;
    background: linear-gradient(120deg, var(--ov-hero-1), var(--ov-hero-2) 60%, var(--ov-hero-3));
    border-radius: var(--ov-radius);
    color: #fff;
    padding: 44px 40px;
    overflow: hidden;
    box-shadow: var(--ov-shadow);
    isolation: isolate;
}
.ov-cta::before {
    content: "";
    position: absolute; z-index: -1;
    width: 380px; height: 380px; right: -120px; top: -160px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
}
.ov-cta h2, .ov-cta h3 { color: #fff; }
.ov-cta p { color: rgba(255,255,255,.9); }
.ov-cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.ov-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 13. Pill lists (countries, links) ---------- */
.ov-pill-list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ov-pill-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--ov-line);
    background: #fff;
    color: var(--ov-ink);
    font-size: .93rem;
    transition: all .22s var(--ov-ease);
}
.ov-pill-list li a:hover {
    background: var(--ov-hero-2);
    border-color: var(--ov-hero-2);
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}
.ov-pill-list li a:hover .flag { }
.ov-pill-list--2 { grid-template-columns: repeat(2, 1fr); }
.ov-pill-list--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 14. Section scaffolding ---------- */
.ov-section { padding: 54px 0; position: relative; }
.ov-section-tint { background: var(--ov-paper); }
.ov-section-tint2 { background: var(--ov-tint); }
.ov-section-white { background: #fff; }
.ov-section-dark {
    background: linear-gradient(120deg, #17434c, var(--ov-hero-1) 70%);
    color: #fff;
}
.ov-section-dark h2, .ov-section-dark h3, .ov-section-dark h4 { color: #fff; }
.ov-section-dark p { color: rgba(255,255,255,.85); }
.ov-head-row {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.ov-head-row h2 { margin-bottom: 4px; }
.ov-head-row p { margin-bottom: 0; color: var(--text-secondary, #5a6c7d); }
.ov-divide { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ov-line), transparent); margin: 0; }

/* Sticky two-column (content + aside) */
.ov-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.ov-aside-stick { position: sticky; top: 84px; display: grid; gap: 20px; }
.ov-aside-card {
    background: #fff;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius-sm);
    padding: 22px 20px;
    box-shadow: var(--ov-shadow-soft);
}
.ov-aside-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--ov-hero-1); }

/* ---------- 15. Accordion polish ---------- */
.ov-page .accordion {
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius-sm);
    overflow: hidden;
    box-shadow: var(--ov-shadow-soft);
}
.ov-page .accordion-item { border-bottom-color: var(--ov-line); }
.ov-page .accordion-button {
    font-weight: 600;
    color: var(--ov-ink);
    background-color: #fff;
    padding: 16px 20px;
}
.ov-page .accordion-button:not(.collapsed) {
    background: var(--ov-tint);
    color: var(--ov-hero-1);
    box-shadow: none;
}
.ov-page .accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(46,125,138,.15);
    border-color: transparent;
}
.ov-page .accordion-button::after { filter: none; }

/* ---------- 16. Footer ---------- */
.footer {
    background: linear-gradient(135deg, #143d46 0%, var(--ov-hero-1) 55%, var(--primary-color) 100%) !important;
    margin-top: 0 !important;
    padding: 44px 0 18px !important;
    position: relative;
    isolation: isolate;
}
.footer::before {
    content: "";
    position: absolute; z-index: -1;
    width: 520px; height: 520px; top: -260px; right: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,244,246,.14), rgba(232,244,246,0) 65%);
}
.footer h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 1rem !important;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.footer h3::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 42px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ov-hero-3), rgba(74,155,168,.15));
}
.footer ul li { margin-bottom: 9px; }
.footer ul li a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: rgba(255,255,255,.82) !important;
}
.ov-page .footer ul li a::before {
    content: "\f101";
    font-family: "FontAwesome";
    position: absolute; left: 2px; top: 0;
    font-size: .8rem;
    color: var(--ov-hero-3);
    transition: transform .2s var(--ov-ease);
}
.footer ul li a:hover { color: #fff !important; }
.ov-page .footer ul li a:hover::before { transform: translateX(3px); }
.footer .social-links span {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    transition: all .25s var(--ov-ease);
}
.footer .social-links span:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-3px);
}
.footer-bottom {
    background: rgba(255,255,255,.06) !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 12px;
    padding: 16px 10px 8px !important;
    margin-top: 26px !important;
}
.footer-bottom a { color: #fff !important; font-weight: 500; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 17. Blog / news cards ---------- */
.ov-post-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--ov-line);
    border-radius: var(--ov-radius);
    overflow: hidden;
    box-shadow: var(--ov-shadow-soft);
    transition: transform .3s var(--ov-ease), box-shadow .3s var(--ov-ease);
    height: 100%;
    display: flex; flex-direction: column;
}
.ov-post-card:hover { transform: translateY(-6px); box-shadow: var(--ov-shadow); }
.ov-post-card .ov-post-media { overflow: hidden; }
.ov-post-card .ov-post-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ov-ease);
}
.ov-post-card:hover .ov-post-media img { transform: scale(1.06); }
.ov-post-card .ov-post-media .ov-post-media img { filter: brightness(1); }
.ov-post-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ov-post-meta {
    display: flex; flex-wrap: wrap; gap: 10px 16px;
    font-size: .82rem; color: var(--text-secondary, #5a6c7d);
}
.ov-post-meta i { color: var(--ov-hero-2); margin-right: 5px; }
.ov-post-tag {
    display: inline-block;
    background: var(--ov-tint);
    color: var(--ov-hero-1);
    font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
}
.ov-post-link { font-weight: 600; color: var(--ov-hero-2); margin-top: auto; }
.ov-post-link:hover { color: var(--ov-hero-1); }
.ov-post-featured {
    position: relative;
    overflow: hidden;
    border-radius: var(--ov-radius);
    box-shadow: var(--ov-shadow);
    display: block;
    color: #fff;
    isolation: isolate;
    min-height: 380px;
}
.ov-post-featured img {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s var(--ov-ease);
    filter: brightness(.72);
}
.ov-post-featured:hover img { transform: scale(1.05); }
.ov-post-featured .ov-post-featured-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 70px 30px 28px;
    background: linear-gradient(180deg, rgba(15,45,52,0) 0%, rgba(15,45,52,.88) 70%);
}
.ov-post-featured h2, .ov-post-featured h3 { color: #fff; }

/* ---------- 18. Header / Navbar — redesigned ----------
   Fixes the double-underline hover bug and replaces the legacy
   #485d9d pill (style.min.css) with the brand teal palette.
   Hover shows exactly ONE accent bar; the active page gets a
   filled brand pill (class added by the route script in header.php). */
.ov-page .navbar {
    background: linear-gradient(180deg, #ffffff 0%, #f3fafa 100%);
    border-bottom: 1px solid var(--ov-line);
    box-shadow: 0 2px 14px rgba(30, 90, 101, .07);
    transition: padding .28s var(--ov-ease), box-shadow .28s var(--ov-ease);
}
.ov-page .navbar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ov-hero-1) 0%, var(--ov-hero-2) 42%, var(--ov-hero-3) 74%, var(--ov-gold) 100%);
    z-index: 2;
}
.ov-page .navbar.scrolled {
    padding-top: .45rem;
    padding-bottom: .45rem;
    box-shadow: 0 10px 28px rgba(30, 90, 101, .16);
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(8px);
}
.ov-page .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .01em;
    line-height: 1.1;
}
.ov-page .navbar-brand i {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    color: #fff !important;
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3));
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(46, 125, 138, .35);
}
.ov-page .navbar a:hover { text-decoration: none !important; }
.ov-page .navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: var(--ov-ink) !important;
    padding: .62rem .95rem !important;
    border-radius: 10px;
}
.ov-page .navbar-nav .nav-link:not(.btn)::after {
    content: "";
    position: absolute; left: 12px; right: 12px; bottom: 5px;
    height: 2.5px; border-radius: 3px;
    background: linear-gradient(90deg, var(--ov-hero-2), var(--ov-hero-3));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s var(--ov-ease);
}
.ov-page .navbar-nav .nav-link:not(.btn):hover {
    background-color: var(--ov-tint) !important;
    color: var(--ov-hero-1) !important;
}
.ov-page .navbar-nav .nav-link:not(.btn):hover::after { transform: scaleX(1); }
.ov-page .navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3)) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(46, 125, 138, .3);
}
.ov-page .navbar-nav .nav-link.active::after { display: none; }
.ov-page .navbar .apply-now-header,
.ov-page .navbar .apply-now-sidebar .nav-link.btn {
    background: linear-gradient(135deg, var(--ov-hero-2), var(--ov-hero-3)) !important;
    border: 1px solid var(--ov-hero-1);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(46, 125, 138, .35);
    transition: transform .25s var(--ov-ease), box-shadow .25s var(--ov-ease);
}
.ov-page .navbar .apply-now-header i,
.ov-page .navbar .apply-now-sidebar .nav-link.btn i { margin-right: 8px; }
.ov-page .navbar .apply-now-header:hover,
.ov-page .navbar .apply-now-sidebar .nav-link.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30, 90, 101, .45);
    color: #fff !important;
    background: linear-gradient(135deg, var(--ov-hero-1), var(--ov-hero-2)) !important;
}
@media (max-width: 767.98px) {
    .ov-page .navbar::before { height: 3px; }
    .ov-page .navbar-brand i { width: 36px; height: 36px; border-radius: 10px; }
    .ov-page .navbar-nav .nav-link::after { display: none; }
    .ov-page .navbar-nav .nav-link:not(.btn) {
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 12px !important;
        margin: 4px 0 !important;
    }
    .ov-page .navbar-nav .nav-link:not(.btn):hover,
    .ov-page .navbar-nav .nav-link.active { width: 100%; }
    .ov-page .navbar .apply-now-header,
    .ov-page .navbar-nav .nav-link.btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .ov-page .navbar .apply-now-sidebar .nav-link.btn { margin-top: 10px; }
}


/* ---------- 19. Badges / chips (light) ---------- */
.ov-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .85rem; font-weight: 600;
    background: var(--ov-tint);
    color: var(--ov-hero-1);
    border: 1px solid #c9e2e6;
}
.ov-badge-gold { background: #fef5e7; color: #7d5a12; border-color: #f7ddae; }
.ov-badge-green { background: #e9f7ef; color: #1e6b3a; border-color: #b2dfbb; }
.ov-badge-red { background: #fdedec; color: #922b21; border-color: #f5b7b1; }

/* ---------- 20. Section divider decoration ---------- */
.ov-wave-divide {
    height: 64px;
    background:
        radial-gradient(60px 32px at 50% 100%, var(--ov-tint) 98%, transparent 100%) center top / 460px 34px repeat-x;
    background-color: transparent;
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 991.98px) {
    .ov-bento { grid-template-columns: repeat(6, 1fr); }
    .ov-bento .ov-span-8, .ov-bento .ov-span-7, .ov-bento .ov-span-6,
    .ov-bento .ov-span-5, .ov-bento .ov-span-4 { grid-column: span 6; }
    .ov-with-aside { grid-template-columns: 1fr; }
    .ov-aside-stick { position: static; }
    .ov-steps--row { grid-template-columns: repeat(2, 1fr); }
    .ov-pill-list { grid-template-columns: repeat(2, 1fr); }
    .ov-pill-list--4 { grid-template-columns: repeat(2, 1fr); }
    .ov-hero { padding: 48px 0 54px; }
}

@media (max-width: 575.98px) {
    .ov-bento { grid-template-columns: 1fr; }
    .ov-bento [class*="ov-span-"] { grid-column: auto; }
    .ov-pill-list, .ov-pill-list--2, .ov-pill-list--4 { grid-template-columns: 1fr; }
    .ov-step { grid-template-columns: 48px 1fr; gap: 14px; }
    .ov-step-num { width: 46px; height: 46px; font-size: 1.2rem; }
    .ov-step::before { left: 22px; top: 52px; }
    .ov-cta { padding: 32px 22px; }
    .ov-form-panel { padding: 22px 18px; }
    .ov-hero h1 { font-size: 1.85rem; }
    .ov-hero-split .ov-hero-media,
    .ov-hero-image-left .ov-hero-media { transform: none; }
    .ov-callout { grid-template-columns: 1fr; }
}

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ov-page *, .footer *, .btn, .accordion-button, .ov-card, .ov-post-card, .ov-post-card .ov-post-media img {
        transition: none !important;
        animation: none !important;
    }
    .ov-card:hover, .ov-post-card:hover { transform: none; }
    .ov-post-card:hover .ov-post-media img,
    .ov-post-featured:hover img { transform: none; }
}
