/* ============================================================
   Internscope Consulting — Corporate Professional Stylesheet
   PT Stratton Asia Grup  |  v3.1  |  Theme: Soft Red & Navy
   ============================================================ */

:root {
    /* Brand Blue — professional medium navy, easy on eyes */
    --primary:       #1B4F8A;
    --primary-light: #2D6EBF;
    --primary-dark:  #0F3060;

    /* Brand Red — soft professional red (not harsh) */
    --gold:          #C0392B;
    --gold-light:    #E74C3C;
    --gold-dark:     #962D22;
    --orange:        #D14424;

    /* Neutrals */
    --white:         #ffffff;
    --light:         #F4F5F9;
    --light2:        #ECEEF4;
    --gray:          #6B7280;
    --gray-dark:     #374151;
    --border:        #D1D5DB;
    --border-dark:   #9CA3AF;
    --text:          #1F2937;
    --text-light:    #6B7280;
    --shadow:        0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:     0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:     0 10px 28px rgba(0,0,0,0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter',sans-serif; color:var(--text); background:#fff; font-size:15px; line-height:1.6; }
h1,h2,h3,h4,h5,h6 { font-family:'Inter',sans-serif; font-weight:700; line-height:1.2; color:var(--primary); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
p { color:var(--gray-dark); }

/* ============================================================
   COLOR UTILITIES
   ============================================================ */
.text-gold         { color:var(--gold) !important; }
.text-primary-dark { color:var(--primary) !important; }
.bg-primary-dark   { background-color:var(--primary) !important; }
.bg-gold           { background-color:var(--gold) !important; }
.bg-light-blue     { background-color:var(--light) !important; }
.text-muted-light  { color:rgba(255,255,255,0.88) !important; }
.fw-800            { font-weight:800 !important; }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-bar {
    background:var(--primary-dark);
    color:rgba(255,255,255,0.8);
    font-size:0.78rem;
    padding:7px 0;
    border-bottom:1px solid rgba(255,255,255,0.06);
}
.top-bar a { color:rgba(255,255,255,0.8); transition:color .2s; }
.top-bar a:hover { color:var(--gold-light); }

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
    background:#fff;
    border-bottom:3px solid var(--gold);
    transition:box-shadow .3s;
    padding:0;
}
.main-navbar.scrolled { box-shadow:0 2px 20px rgba(0,0,0,.10); }

/* ── Navbar logo ────────────────────────────────────────── */
.navbar-brand {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-logo {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.navbar-logo-text {}
.navbar-logo-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.2px;
}
.navbar-logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* ── Footer logo ─────────────────────────────────────────── */
.footer-logo {
    height: 38px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.footer-logo-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.footer-logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.80);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nav-link {
    color:var(--gray-dark) !important;
    font-weight:500;
    font-size:0.875rem;
    padding:20px 14px !important;
    transition:all .2s;
    position:relative;
    letter-spacing:.2px;
}
.nav-link::after {
    content:'';
    position:absolute;
    bottom:0; left:14px; right:14px;
    height:3px;
    background:var(--gold);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .25s;
}
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-link:hover { color:var(--primary) !important; }
.nav-link.active { color:var(--primary) !important; font-weight:600; }

.dropdown-menu-custom {
    border:1px solid var(--border);
    border-top:3px solid var(--gold);
    border-radius:0;
    padding:0;
    min-width:240px;
    box-shadow:var(--shadow-lg);
    margin-top:0 !important;
}
.dropdown-item {
    padding:10px 18px;
    font-size:0.855rem;
    font-weight:500;
    color:var(--text);
    border-radius:0;
    border-bottom:1px solid var(--border);
    transition:all .2s;
}
.dropdown-item:last-child { border-bottom:none; }
.dropdown-item:hover { background:var(--light); color:var(--primary); padding-left:22px; }
.dropdown-item i { width:18px; }

/* ── Desktop hover-open dropdown (no click required) ────── */
@media (min-width:992px) {
    /* Always rendered, hidden via opacity+visibility so CSS transitions work */
    .main-navbar .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px) scaleY(0.94);
        transform-origin: top center;
        transition:
            opacity .22s ease,
            transform .22s ease,
            visibility 0s linear .22s;
        pointer-events: none;
    }
    /* Reveal on hover (and keyboard focus-within for accessibility) */
    .main-navbar .dropdown:hover > .dropdown-menu,
    .main-navbar .dropdown:focus-within > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scaleY(1);
        transition:
            opacity .22s ease,
            transform .22s ease,
            visibility 0s linear 0s;
        pointer-events: all;
    }
    /* Rotate caret on hover */
    .main-navbar .dropdown-toggle::after {
        transition: transform .22s ease;
        display: inline-block;
    }
    .main-navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
    background:var(--gold);
    color:#fff;
    font-weight:600;
    border:none;
    border-radius:0;
    transition:all .25s;
    padding:10px 24px;
    letter-spacing:.3px;
    font-size:0.875rem;
}
.btn-gold:hover { background:var(--gold-dark); color:#fff; }

.btn-primary-dark {
    background:var(--primary);
    color:#fff;
    font-weight:600;
    border:none;
    border-radius:0;
    transition:all .25s;
    padding:12px 28px;
    letter-spacing:.3px;
    font-size:0.875rem;
}
.btn-primary-dark:hover { background:var(--primary-light); color:#fff; }

.btn-outline-gold {
    border:2px solid var(--gold);
    color:var(--gold);
    font-weight:600;
    border-radius:0;
    padding:10px 26px;
    background:transparent;
    transition:all .25s;
    font-size:0.875rem;
    letter-spacing:.3px;
}
.btn-outline-gold:hover { background:var(--gold); color:#fff; }

.btn-outline-white {
    border:2px solid rgba(255,255,255,0.6);
    color:#fff;
    font-weight:600;
    border-radius:0;
    padding:10px 26px;
    background:transparent;
    transition:all .25s;
    font-size:0.875rem;
}
.btn-outline-white:hover { background:rgba(255,255,255,0.12); color:#fff; }

/* ── WhatsApp Button ─────────────────────────────────────── */
.btn-whatsapp {
    background:#25D366;
    color:#fff;
    font-weight:600;
    border:none;
    border-radius:0;
    transition:all .25s;
    padding:10px 24px;
    letter-spacing:.3px;
    font-size:0.875rem;
}
.btn-whatsapp:hover { background:#1DA851; color:#fff; }
.btn-whatsapp:focus { box-shadow:0 0 0 3px rgba(37,211,102,0.35); color:#fff; }
.btn-outline-whatsapp {
    border:2px solid #25D366;
    color:#25D366;
    font-weight:600;
    border-radius:0;
    padding:10px 26px;
    background:transparent;
    transition:all .25s;
    font-size:0.875rem;
}
.btn-outline-whatsapp:hover { background:#25D366; color:#fff; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-label {
    font-size:0.73rem;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    color:var(--gold);
    display:block;
    margin-bottom:10px;
    padding-left:20px;
    position:relative;
}
.section-label::before {
    content:'';
    position:absolute;
    left:0; top:50%;
    width:12px; height:2px;
    background:var(--gold);
    transform:translateY(-50%);
}
.section-title {
    font-size:clamp(1.75rem,3vw,2.25rem);
    font-weight:800;
    color:var(--primary);
    line-height:1.2;
}
.section-title span { color:var(--gold); }
.section-divider { display:none; } /* removed in favor of clean layout */

/* ============================================================
   HERO SECTION — Video Background
   ============================================================ */
.hero-section {
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:var(--primary-dark); /* solid fallback */
}

/* Video layer */
.hero-video-wrap {
    position:absolute;
    inset:0;
    z-index:0;
}
.hero-video {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* Gradient overlay — strong on bottom, lighter on centre */
.hero-video-overlay {
    position:absolute;
    inset:0;
    background:
        linear-gradient(to right, rgba(15,48,96,0.88) 0%, rgba(15,48,96,0.65) 55%, rgba(15,48,96,0.45) 100%),
        linear-gradient(to top, rgba(15,48,96,0.70) 0%, transparent 40%);
}

/* Gold left accent line */
.hero-section::after {
    content:'';
    position:absolute;
    left:0; top:0; bottom:0;
    width:4px;
    background:var(--gold);
    z-index:2;
}

/* Scroll-down indicator */
.hero-scroll {
    position:absolute;
    bottom:32px;
    left:50%;
    transform:translateX(-50%);
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    color:rgba(255,255,255,0.5);
    font-size:0.68rem;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    animation:floatY 2.2s ease-in-out infinite;
}
.hero-scroll-line {
    width:1px;
    height:40px;
    background:linear-gradient(to bottom, rgba(200,146,42,0.8), transparent);
}
.hero-badge {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.35);
    padding:5px 16px;
    color:#fff;
    font-size:0.75rem;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:20px;
}
.hero-title {
    font-size:clamp(2.2rem,5.5vw,3.6rem);
    font-weight:800;
    color:#fff;
    line-height:1.15;
    margin-bottom:20px;
    letter-spacing:-.5px;
}
.hero-title .highlight { color:var(--gold-light); }
.hero-desc {
    color:rgba(255,255,255,0.72);
    font-size:1rem;
    line-height:1.75;
    margin-bottom:32px;
    max-width:520px;
}
.hero-stats { display:flex; gap:36px; flex-wrap:wrap; margin-top:8px; }
.hero-stat-item { border-left:3px solid var(--gold); padding-left:14px; }
.hero-stat-num { font-size:1.9rem; font-weight:800; color:var(--gold-light); line-height:1; }
.hero-stat-label { font-size:0.75rem; color:rgba(255,255,255,0.6); font-weight:500; margin-top:3px; letter-spacing:.5px; text-transform:uppercase; }

.hero-card {
    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.10);
    border-top:3px solid var(--gold);
    padding:32px;
    color:#fff;
}
.hero-service-item {
    display:flex; align-items:flex-start; gap:14px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,0.07);
}
.hero-service-item:last-child { border-bottom:none; }
.hero-service-icon {
    width:38px; height:38px;
    background:rgba(200,146,42,0.18);
    border:1px solid rgba(200,146,42,0.35);
    display:flex; align-items:center; justify-content:center;
    color:var(--gold-light);
    font-size:0.95rem;
    flex-shrink:0;
}
.hero-service-title { font-size:0.9rem; font-weight:600; margin-bottom:3px; color:#fff; }
.hero-service-desc { font-size:0.78rem; color:rgba(255,255,255,0.55); line-height:1.4; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-section {
    background:#0d1f3c;
    padding:11px 0;
    overflow:hidden;
    border-top:1px solid rgba(200,146,42,0.25);
    border-bottom:1px solid rgba(200,146,42,0.25);
}
.ticker-label {
    background:var(--gold);
    color:#fff;
    font-size:0.68rem;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
    padding:0 18px;
    display:flex;
    align-items:center;
    white-space:nowrap;
    flex-shrink:0;
}
.ticker-wrap {
    display:flex;
    align-items:center;
    overflow:hidden;
    flex:1;
    min-width:0;
}
.ticker-inner { display:flex; gap:0; animation:ticker 38s linear infinite; white-space:nowrap; align-items:center; }
.ticker-inner:hover { animation-play-state:paused; }
.ticker-item {
    font-weight:600;
    font-size:0.78rem;
    color:rgba(255,255,255,0.82);
    letter-spacing:.4px;
    padding:0 28px;
    display:inline-flex;
    align-items:center;
    gap:0;
    border-right:1px solid rgba(200,146,42,0.2);
}
.ticker-item::before {
    content:'◆';
    color:var(--gold);
    font-size:0.45rem;
    margin-right:10px;
    opacity:0.7;
}
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   DATA CAROUSEL — Vertical Bar Chart
   ============================================================ */
.data-carousel-section {
    background:#07182e;
    padding:0;
    overflow:hidden;
    position:relative;
}
.data-carousel-section::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:3px;
    background:linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
    z-index:1;
}
.data-slide {
    padding:44px 0 36px;
    display:flex !important;
    align-items:stretch;
    min-height:320px;
}
/* Left panel — big KPI number */
.data-kpi {
    min-width:200px;
    max-width:240px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-right:40px;
    border-right:1px solid rgba(200,146,42,0.2);
}
@media(max-width:767px) {
    .data-kpi { max-width:100%; padding-right:0; border-right:none; border-bottom:1px solid rgba(200,146,42,0.15); padding-bottom:20px; margin-bottom:20px; }
    .data-slide { flex-direction:column; }
}
.data-slide-eyebrow {
    font-size:0.65rem;
    font-weight:800;
    letter-spacing:3px;
    text-transform:uppercase;
    color:var(--gold);
    margin-bottom:10px;
}
.data-slide-num {
    font-size:clamp(3rem,6vw,4.5rem);
    font-weight:800;
    color:#fff;
    line-height:1;
    letter-spacing:-2px;
}
.data-slide-unit { font-size:1.6rem; color:var(--gold-light); font-weight:800; }
.data-slide-label {
    font-size:0.82rem;
    color:rgba(255,255,255,0.5);
    font-weight:600;
    margin-top:8px;
    text-transform:uppercase;
    letter-spacing:.8px;
    line-height:1.4;
}
.data-slide-desc {
    color:rgba(255,255,255,0.5);
    font-size:0.78rem;
    line-height:1.7;
    margin-top:10px;
}

/* Right panel — vertical bar chart */
.data-chart-panel {
    flex:1;
    padding-left:40px;
    display:flex;
    flex-direction:column;
}
@media(max-width:767px) { .data-chart-panel { padding-left:0; } }
.data-chart-title {
    font-size:0.68rem;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:rgba(255,255,255,0.4);
    margin-bottom:12px;
}
/* The bar chart itself */
.vbar-chart {
    display:flex;
    align-items:flex-end;
    gap:10px;
    flex:1;
    border-bottom:1px solid rgba(255,255,255,0.12);
    position:relative;
    min-height:160px;
    padding-top:24px; /* room for value labels */
}
/* Dashed y-axis grid lines via pseudo + nth */
.vbar-chart::before {
    content:'';
    position:absolute; left:0; right:0; top:calc(33% + 24px); bottom:0;
    border-top:1px dashed rgba(255,255,255,0.06);
    pointer-events:none;
}
.vbar-chart::after {
    content:'';
    position:absolute; left:0; right:0; top:calc(66% + 24px); bottom:0;
    border-top:1px dashed rgba(255,255,255,0.06);
    pointer-events:none;
}
.vbar-col {
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0;
    height:100%;
    justify-content:flex-end;
    position:relative;
}
.vbar {
    width:100%;
    max-width:52px;
    background:linear-gradient(to top, #B07D10 0%, #D4A020 50%, #F2C840 100%);
    border-radius:2px 2px 0 0;
    height:0;
    transition:height 0.85s cubic-bezier(0.34,1.20,0.64,1);
    position:relative;
}
/* Staggered delay per column */
.vbar-col:nth-child(1) .vbar  { transition-delay:0.00s; }
.vbar-col:nth-child(2) .vbar  { transition-delay:0.07s; }
.vbar-col:nth-child(3) .vbar  { transition-delay:0.14s; }
.vbar-col:nth-child(4) .vbar  { transition-delay:0.21s; }
.vbar-col:nth-child(5) .vbar  { transition-delay:0.28s; }
.vbar-col:nth-child(6) .vbar  { transition-delay:0.35s; }
.vbar-col:nth-child(7) .vbar  { transition-delay:0.42s; }
.vbar-col:nth-child(8) .vbar  { transition-delay:0.49s; }
.vbar-col:nth-child(9) .vbar  { transition-delay:0.56s; }
.vbar-col:nth-child(10) .vbar { transition-delay:0.63s; }
.vbar-col:nth-child(11) .vbar { transition-delay:0.70s; }
.vbar-col:nth-child(12) .vbar { transition-delay:0.77s; }

/* Trigger: when slide is active, bars grow to their --h height */
.swiper-slide-active .vbar,
.swiper-slide-duplicate-active .vbar { height: var(--h); }

/* Value label sitting above each bar */
.vbar-val {
    position:absolute;
    top:-20px;
    left:50%; transform:translateX(-50%);
    font-size:0.58rem;
    font-weight:700;
    color:#F2C840;
    white-space:nowrap;
    opacity:0;
    transition:opacity 0.3s 0.8s;
}
.swiper-slide-active .vbar-val,
.swiper-slide-duplicate-active .vbar-val { opacity:1; }

/* X-axis labels */
.vbar-x-labels {
    display:flex;
    gap:10px;
    padding-top:8px;
}
.vbar-x-lbl {
    flex:1;
    text-align:center;
    font-size:0.58rem;
    color:rgba(255,255,255,0.38);
    font-weight:600;
    letter-spacing:.3px;
}

/* Nav & pagination */
.data-carousel-nav {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:14px 0 20px;
    background:#07182e;
}
.data-swiper-prev, .data-swiper-next {
    width:34px; height:34px;
    background:rgba(200,146,42,0.12);
    border:1px solid rgba(200,146,42,0.25);
    color:var(--gold-light);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:all .2s;
    font-size:0.8rem;
    border-radius:2px;
}
.data-swiper-prev:hover,
.data-swiper-next:hover { background:var(--gold); color:#fff; border-color:var(--gold); }
.data-swiper-pagination .swiper-pagination-bullet {
    background:rgba(200,146,42,0.25) !important;
    border-radius:0 !important;
    width:20px !important;
    height:3px !important;
    opacity:1 !important;
    transition:all .25s !important;
}
.data-swiper-pagination .swiper-pagination-bullet-active {
    background:var(--gold) !important;
    width:36px !important;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { background:#fff; padding:0; }
.stat-card {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid var(--gold);
    padding:32px 24px;
    text-align:center;
    transition:all .35s;
    position:relative;
    border-radius:6px;
    overflow:hidden;
}
.stat-card::after {
    content:'';
    position:absolute; bottom:0; left:50%; right:50%;
    height:2px; background:var(--gold);
    transition:left .35s, right .35s;
}
.stat-card:hover::after { left:0; right:0; }
.stat-card:hover { border-top-color:var(--primary); background:var(--light); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.stat-icon { font-size:1.8rem; color:var(--gold); margin-bottom:12px; }
.stat-number { font-size:2.4rem; font-weight:800; color:var(--primary); line-height:1; }
.stat-plus { color:var(--gold); }
.stat-label { font-size:0.78rem; color:var(--gray); font-weight:600; margin-top:6px; text-transform:uppercase; letter-spacing:.5px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-home { padding:90px 0; }
.about-photo-stack { position:relative; padding-bottom:28px; padding-right:20px; }
.about-photo-main { overflow:hidden; height:460px; border:8px solid var(--primary); }
.about-photo-main img { width:100%; height:100%; object-fit:cover; }
.about-photo-float {
    position:absolute;
    bottom:-28px; right:-20px;
    width:190px; height:160px;
    overflow:hidden;
    border:6px solid #fff;
    box-shadow:var(--shadow-lg);
}
.about-photo-float img { width:100%; height:100%; object-fit:cover; }
.about-badge-float {
    position:absolute;
    bottom:36px; left:0;
    background:var(--gold);
    color:#fff;
    padding:14px 22px;
    font-weight:700;
    font-size:0.88rem;
    box-shadow:var(--shadow-md);
}
.about-badge-float span { font-size:1.6rem; display:block; font-weight:800; }
.check-list { list-style:none; padding:0; }
.check-list li {
    display:flex; align-items:flex-start; gap:10px;
    margin-bottom:12px; font-size:0.9rem;
    color:var(--gray-dark);
}
.check-list li i { color:var(--gold); margin-top:3px; flex-shrink:0; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-section { padding:90px 0; background:var(--light); }
.service-card {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid transparent;
    padding:0 !important;
    height:100%;
    transition:all .35s cubic-bezier(.25,.46,.45,.94);
    overflow:hidden;
    border-radius:6px;
}
.service-card:hover { border-top-color:var(--gold); box-shadow:0 12px 32px rgba(15,48,96,0.12); transform:translateY(-6px); }
.service-card-img { height:175px; overflow:hidden; position:relative; }
.service-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.service-card:hover .service-card-img img { transform:scale(1.05); }
.service-card-img-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom, transparent 40%, rgba(27,79,138,0.5) 100%);
}
.service-card-body { padding:22px; }
.service-card-body h5 { font-size:0.95rem; font-weight:700; color:var(--primary); margin-bottom:8px; }
.service-card-body p { font-size:0.845rem; color:var(--gray); line-height:1.65; margin:0; }

/* ============================================================
   SERVICE DETAIL (Services page)
   ============================================================ */
.service-detail-card {
    border:1px solid var(--border);
    border-top:4px solid var(--gold);
    padding:32px;
    height:100%;
    background:#fff;
    transition:box-shadow .3s;
    scroll-margin-top:120px;
}
.service-detail-card:hover { box-shadow:var(--shadow-lg); }
.service-detail-card .service-icon-lg {
    width:60px; height:60px;
    border-left:3px solid var(--gold);
    background:var(--light);
    display:flex; align-items:center; justify-content:center;
    font-size:1.6rem; color:var(--primary);
    margin-bottom:18px;
}
.service-detail-card h3 { font-size:1.1rem; color:var(--primary); margin-bottom:12px; }
.service-detail-card p { font-size:0.88rem; color:var(--gray); line-height:1.75; }
.feature-tag {
    display:inline-block;
    background:rgba(200,146,42,0.08);
    color:var(--primary);
    border:1px solid rgba(200,146,42,0.3);
    padding:4px 14px;
    font-size:0.77rem;
    font-weight:600;
    margin:3px;
    letter-spacing:.3px;
}

/* ============================================================
   TRAINING SECTION
   ============================================================ */
.training-home { padding:90px 0; background:#fff; }
.training-tab-btn {
    border:1px solid var(--border);
    border-left:3px solid transparent;
    background:#fff;
    padding:14px 18px;
    text-align:left;
    width:100%;
    cursor:pointer;
    transition:all .2s;
    display:flex; align-items:center; gap:14px;
    margin-bottom:8px;
}
.training-tab-btn i { font-size:1.2rem; color:var(--gray); flex-shrink:0; }
.training-tab-btn.active, .training-tab-btn:hover {
    border-left-color:var(--gold);
    background:var(--light);
}
.training-tab-btn.active i, .training-tab-btn:hover i { color:var(--gold); }
.training-tab-btn span { font-size:0.88rem; font-weight:600; color:var(--text); }
.training-tab-btn small { font-size:0.74rem; color:var(--gray); display:block; margin-top:1px; }

.training-list-box {
    background:var(--light);
    border:1px solid var(--border);
    border-top:3px solid var(--gold);
    padding:24px;
    border-radius:6px;
}
.training-program-item {
    display:flex; align-items:center; gap:10px;
    padding:9px 12px;
    background:#fff;
    border:1px solid var(--border);
    margin-bottom:6px;
    font-size:0.845rem;
    color:var(--text);
    border-left:3px solid var(--gold);
    border-radius:3px;
    transition:all .2s;
}
.training-program-item:hover { background:var(--light); transform:translateX(4px); color:var(--primary); }
.training-program-item i { color:var(--gold); font-size:0.72rem; flex-shrink:0; }

/* Training page */
.training-page { padding:60px 0; }
.training-nav-pills .nav-link {
    border-radius:0 !important;
    font-weight:600;
    font-size:0.855rem;
    color:var(--text) !important;
    background:#fff !important;
    border:1px solid var(--border) !important;
    border-bottom:3px solid transparent !important;
    padding:10px 20px !important;
    transition:all .2s;
}
.training-nav-pills .nav-link.active,
.training-nav-pills .nav-link:hover {
    background:var(--primary) !important;
    border-color:var(--primary) !important;
    border-bottom-color:var(--gold) !important;
    color:#fff !important;
}
.program-table { border:1px solid var(--border); overflow:hidden; box-shadow:none; }
.program-table table { margin:0; }
.program-table thead { background:var(--primary); color:#fff; }
.program-table th { font-weight:600; font-size:0.85rem; padding:14px 16px; }
.program-table td { font-size:0.845rem; padding:10px 16px; vertical-align:middle; border-color:var(--border); }
.program-table tr:hover td { background:var(--light); }
.program-badge {
    background:rgba(200,146,42,0.12);
    color:var(--gold-dark);
    padding:2px 10px;
    font-size:0.74rem;
    font-weight:700;
    letter-spacing:.3px;
}
.training-hero-img {
    height:230px;
    overflow:hidden;
    position:relative;
    margin-bottom:28px;
    border-top:4px solid var(--gold);
}
.training-hero-img img { width:100%; height:100%; object-fit:cover; }
.training-hero-img-overlay {
    position:absolute; inset:0;
    background:linear-gradient(135deg, rgba(15,48,96,0.90) 0%, rgba(27,79,138,0.45) 100%);
    display:flex; align-items:center;
    padding:28px 36px;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-section { padding:90px 0; }
.why-item { display:flex; gap:20px; margin-bottom:30px; align-items:flex-start; }
.why-num {
    width:50px; height:50px;
    background:var(--primary);
    display:flex; align-items:center; justify-content:center;
    font-size:1.1rem; font-weight:800; color:var(--gold-light);
    flex-shrink:0;
    border-bottom:3px solid var(--gold);
}
.why-item h6 { font-size:0.9rem; font-weight:700; color:var(--primary); margin-bottom:4px; }
.why-item p { font-size:0.845rem; color:var(--gray); line-height:1.65; margin:0; }

/* ============================================================
   SECTION IMAGES (side panels)
   ============================================================ */
.section-img {
    overflow:hidden;
    position:relative;
    height:100%;
    min-height:380px;
    border-top:4px solid var(--gold);
}
.section-img img { width:100%; height:100%; object-fit:cover; }
.section-img-overlay {
    position:absolute; inset:0;
    background:linear-gradient(135deg, rgba(27,79,138,0.12) 0%, rgba(27,79,138,0.04) 100%);
}
.img-badge {
    position:absolute; bottom:20px; left:20px;
    background:rgba(15,48,96,0.92);
    border-left:3px solid var(--gold);
    padding:12px 18px;
    color:#fff;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-section { padding:70px 0; background:var(--light); border-top:1px solid var(--border); }
.client-logo {
    background:#fff;
    border:1px solid var(--border);
    padding:20px;
    display:flex; align-items:center; justify-content:center;
    height:90px;
    transition:all .3s;
}
.client-logo:hover { border-color:var(--gold); background:var(--light); }
.client-logo-text { font-size:0.75rem; font-weight:800; color:var(--primary); text-align:center; text-transform:uppercase; letter-spacing:.5px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(160deg, #07101e 0%, #0c1d35 100%);
    padding:80px 0;
    border-top:4px solid var(--gold);
    position:relative;
    overflow:hidden;
}
.cta-section::before {
    content:'';
    position:absolute; right:0; top:0; bottom:0;
    width:400px;
    background:linear-gradient(to left, rgba(192,57,43,0.07), transparent);
}
.cta-section::after {
    content:'';
    position:absolute; left:0; bottom:0;
    width:300px; height:300px;
    background: radial-gradient(circle, rgba(27,79,138,0.12) 0%, transparent 70%);
    pointer-events:none;
}
.cta-section .section-title { color:#fff; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    /* Split into individual properties so background-size:cover applies to ALL layers */
    background-color: var(--primary);
    background-image:
        linear-gradient(135deg, rgba(15,48,96,0.80) 0%, rgba(27,79,138,0.70) 100%),
        var(--page-hero-img, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding:80px 0 60px;
    border-bottom:4px solid var(--gold);
    position:relative;
    overflow:hidden;
}
.page-hero::before {
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(to right, rgba(200,146,42,0.06) 0%, transparent 60%);
    pointer-events:none;
}
.page-hero-title {
    animation:slideInUp .6s ease both;
}
.page-hero-sub {
    animation:slideInUp .6s .12s ease both;
}
.page-hero .breadcrumb {
    animation:fadeIn .5s ease both;
}
.page-hero-title { font-size:clamp(1.8rem,4vw,2.6rem); color:#fff; font-weight:800; margin-bottom:8px; }
.page-hero-sub { color:rgba(255,255,255,0.7); font-size:0.95rem; }
.breadcrumb { background:none; padding:0; margin:0; }
.breadcrumb-item a { color:var(--gold-light); }
.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before { color:rgba(255,255,255,0.6); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.vision-box {
    background:var(--primary);
    border-top:4px solid var(--gold);
    padding:40px;
    color:#fff;
    height:100%;
}
.mission-box {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid var(--primary);
    padding:40px;
    height:100%;
}
.mission-item { display:flex; gap:16px; margin-bottom:24px; align-items:flex-start; }
.mission-num {
    width:36px; height:36px;
    background:var(--gold);
    display:flex; align-items:center; justify-content:center;
    font-weight:800; color:#fff; font-size:0.9rem; flex-shrink:0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background:#fff;
    border:1px solid var(--border);
    border-left:4px solid var(--gold);
    padding:24px 28px;
    margin-bottom:16px;
    display:flex; gap:18px; align-items:flex-start;
    transition:all .3s;
    border-radius:4px;
}
.contact-info-card:hover { background:var(--light); transform:translateX(4px); }
.contact-info-icon {
    width:48px; height:48px;
    background:var(--primary);
    display:flex; align-items:center; justify-content:center;
    font-size:1.1rem; color:var(--gold-light);
    flex-shrink:0;
}
.contact-form-card {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid var(--gold);
    padding:40px;
    border-radius:6px;
}
.form-control, .form-select {
    border:1px solid var(--border);
    border-radius:4px;
    padding:11px 14px;
    font-size:0.875rem;
    transition:all .25s;
    background:#fff;
    color:var(--text);
}
.form-control:focus, .form-select:focus {
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(200,146,42,0.12);
    background:#fff;
}
.form-label { font-weight:600; font-size:0.845rem; color:var(--primary); margin-bottom:6px; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section { padding:60px 0; }
.gallery-filter { display:flex; gap:0; flex-wrap:wrap; margin-bottom:40px; border:1px solid var(--border); width:fit-content; }
.gallery-filter-btn {
    padding:10px 22px;
    font-size:0.845rem;
    font-weight:600;
    background:#fff;
    border:none;
    border-right:1px solid var(--border);
    cursor:pointer;
    color:var(--gray-dark);
    transition:all .2s;
}
.gallery-filter-btn:last-child { border-right:none; }
.gallery-filter-btn.active, .gallery-filter-btn:hover { background:var(--primary); color:#fff; }
.gallery-grid { columns:3; gap:12px; }
@media(max-width:768px) { .gallery-grid { columns:2; } }
@media(max-width:480px) { .gallery-grid { columns:1; } }
.gallery-item {
    break-inside:avoid;
    margin-bottom:12px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
    border-top:3px solid transparent;
    transition:border-color .3s;
}
.gallery-item:hover { border-top-color:var(--gold); }
.gallery-item img { width:100%; display:block; transition:transform .5s; }
.gallery-item:hover img { transform:scale(1.04); }
.gallery-item-overlay {
    position:absolute; inset:0;
    background:rgba(15,48,96,0.65);
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity .3s;
}
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.gallery-item-overlay i { font-size:2rem; color:#fff; }
.gallery-caption {
    position:absolute; bottom:0; left:0; right:0;
    background:rgba(15,48,96,0.85);
    color:#fff; padding:10px 14px;
    font-size:0.8rem; font-weight:500;
    transform:translateY(100%); transition:transform .3s;
}
.gallery-item:hover .gallery-caption { transform:translateY(0); }

/* Lightbox */
.lightbox-overlay {
    position:fixed; inset:0; background:rgba(0,0,0,.92);
    z-index:9999; display:none; align-items:center; justify-content:center;
}
.lightbox-overlay.show { display:flex; }
.lightbox-img { max-width:90vw; max-height:85vh; object-fit:contain; }
.lightbox-close {
    position:absolute; top:20px; right:28px;
    color:#fff; font-size:2rem; cursor:pointer;
    background:none; border:none; line-height:1;
    opacity:.8; transition:opacity .2s;
}
.lightbox-close:hover { opacity:1; }
.lightbox-caption {
    position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
    color:rgba(255,255,255,.75); font-size:0.875rem; text-align:center;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-section { padding:60px 0; }
.news-card {
    background:#fff;
    border:1px solid var(--border);
    height:100%;
    transition:all .3s;
    overflow:hidden;
}
.news-card:hover { border-top-color:var(--gold); box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.news-card-img { height:210px; overflow:hidden; position:relative; }
.news-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-card:hover .news-card-img img { transform:scale(1.04); }
.news-card-body { padding:22px; }
.news-card-cat {
    display:inline-block;
    background:var(--primary);
    color:#fff;
    font-size:0.7rem; font-weight:700;
    letter-spacing:1.5px; text-transform:uppercase;
    padding:3px 10px; margin-bottom:10px;
}
.news-card-title { font-size:1rem; font-weight:700; color:var(--primary); margin-bottom:8px; line-height:1.35; }
.news-card-excerpt { font-size:0.845rem; color:var(--gray); line-height:1.65; margin-bottom:14px; }
.news-card-meta { font-size:0.78rem; color:var(--gray); }
.news-card-meta i { color:var(--gold); }
.news-featured { border-left:4px solid var(--gold); }
.news-detail-hero { height:400px; overflow:hidden; position:relative; margin-bottom:40px; border-top:4px solid var(--gold); }
.news-detail-hero img { width:100%; height:100%; object-fit:cover; }
.news-detail-hero::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(to top, rgba(15,48,96,0.7), transparent);
}
.news-sidebar-card {
    border:1px solid var(--border);
    border-top:3px solid var(--gold);
    padding:24px; margin-bottom:24px;
}
.news-sidebar-item { display:flex; gap:14px; padding:12px 0; border-bottom:1px solid var(--border); }
.news-sidebar-item:last-child { border-bottom:none; }
.news-sidebar-img { width:72px; height:60px; overflow:hidden; flex-shrink:0; }
.news-sidebar-img img { width:100%; height:100%; object-fit:cover; }

/* ============================================================
   CERTIFICATE CHECK
   ============================================================ */
.cert-section { padding:60px 0; }
.cert-form-card {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid var(--gold);
    padding:48px;
    max-width:640px; margin:0 auto;
}
.cert-result-card {
    padding:32px;
    background:#fff;
    margin-top:28px;
}
.cert-badge {
    width:80px; height:80px;
    background:var(--primary);
    display:flex; align-items:center; justify-content:center;
    font-size:2rem; color:var(--gold-light);
    margin:0 auto 20px;
}
.cert-status-valid { color:#16a34a; font-weight:700; font-size:1.1rem; }
.cert-status-invalid { color:#dc2626; font-weight:700; font-size:1.1rem; }
.cert-info-row {
    display:flex; gap:12px;
    padding:12px 0;
    border-bottom:1px solid var(--border);
    font-size:0.875rem;
}
.cert-info-row:last-child { border-bottom:none; }
.cert-info-label { font-weight:600; color:var(--primary); min-width:160px; flex-shrink:0; }
.cert-info-value { color:var(--gray-dark); }

/* ============================================================
   POPUP ANNOUNCEMENT
   ============================================================ */
.popup-overlay {
    position:fixed; inset:0;
    background:rgba(0,0,0,0.65);
    z-index:10000;
    display:none;
    align-items:center; justify-content:center;
    padding:16px;
}
.popup-overlay.open {
    display:flex;
    animation:popupIn .35s ease both;
}
@keyframes popupIn { from{opacity:0} to{opacity:1} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes fadeOut { from{opacity:1} to{opacity:0} }
.popup-box {
    background:#fff;
    max-width:600px; width:100%;
    border-top:5px solid var(--gold);
    position:relative;
    animation:slideUp .4s ease;
    overflow:hidden;
}
@keyframes slideUp { from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1} }
.popup-img { height:200px; overflow:hidden; position:relative; }
.popup-img img { width:100%; height:100%; object-fit:cover; }
.popup-img::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(to right, rgba(15,48,96,0.80), rgba(15,48,96,0.40));
}
.popup-img-text {
    position:absolute; inset:0; z-index:1;
    display:flex; align-items:center; padding:28px 32px;
}
.popup-body { padding:28px 32px 24px; }
.popup-close {
    position:absolute; top:12px; right:16px; z-index:10;
    background:rgba(0,0,0,0.3); border:none; color:#fff;
    width:32px; height:32px; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    font-size:1rem; transition:background .2s;
}
.popup-close:hover { background:rgba(0,0,0,0.55); }
.popup-footer {
    background:var(--light);
    border-top:1px solid var(--border);
    padding:12px 32px;
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:#06111f; }
.footer-main { padding:64px 0 48px; }
.footer-bottom {
    background:rgba(0,0,0,0.3);
    padding:16px 0;
    border-top:1px solid rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.82);
}
.footer-heading {
    color:#fff;
    font-size:0.75rem; font-weight:700;
    letter-spacing:2px; text-transform:uppercase;
    margin-bottom:18px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,0.15);
}
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:8px; }
.footer-links a { color:rgba(255,255,255,0.90); font-size:0.855rem; transition:all .2s; display:inline-flex; align-items:center; gap:6px; }
.footer-links a::before { content:'—'; font-size:0.65rem; color:rgba(255,255,255,0.45); flex-shrink:0; transition:transform .2s; }
.footer-links a:hover { color:#fff; }
.footer-links a:hover::before { transform:translateX(3px); }
.footer-contact { list-style:none; padding:0; margin:0; }
.footer-contact li { display:flex; gap:12px; align-items:flex-start; margin-bottom:14px; font-size:0.855rem; color:rgba(255,255,255,0.92); }
.footer-contact i { margin-top:2px; flex-shrink:0; }
.footer-contact a { color:rgba(255,255,255,0.92); transition:color .2s; }
.footer-contact a:hover { color:#fff; }
.social-btn {
    width:38px; height:38px;
    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.18);
    display:inline-flex; align-items:center; justify-content:center;
    color:#fff; font-size:0.95rem;
    transition:all .25s;
}
.social-btn:hover { background:var(--gold); border-color:var(--gold); color:#fff; }

/* ── Footer: force ALL icons and text to white ─────────────── */
.footer .text-gold            { color: #fff !important; }
.footer .text-muted-light     { color: rgba(255,255,255,0.88) !important; }
.footer p.small               { color: rgba(255,255,255,0.88); }
.footer-bottom p.small        { color: rgba(255,255,255,0.88); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position:fixed; bottom:28px; right:28px;
    width:44px; height:44px;
    background:var(--primary);
    border-top:3px solid var(--gold);
    color:#fff; border:none;
    cursor:pointer; font-size:0.9rem;
    box-shadow:var(--shadow-md);
    transition:all .3s;
    opacity:0; pointer-events:none; z-index:999;
}
.back-to-top.show { opacity:1; pointer-events:all; }
.back-to-top:hover { background:var(--gold); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.rounded-20 { border-radius:0 !important; }
.bg-gradient-primary { background:var(--primary) !important; }
.map-wrap { overflow:hidden; border:1px solid var(--border); }
.map-wrap iframe { width:100%; height:360px; border:none; display:block; }
.alert-success {
    background:rgba(22,163,74,0.08);
    border:1px solid rgba(22,163,74,0.3);
    border-left:4px solid #16a34a;
    border-radius:0;
    color:#15803d;
}

/* Quick nav (services page) */
.quick-nav-bar { background:#fff; border-bottom:1px solid var(--border); padding:12px 0; position:sticky; top:62px; z-index:100; }
.quick-nav-bar a { padding:6px 16px; font-size:0.82rem; font-weight:600; border:1px solid var(--border); color:var(--text); margin-right:6px; transition:all .2s; }
.quick-nav-bar a:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* Section rule lines */
.section-rule {
    height:1px; background:var(--border);
    margin:0; border:none; width:100%;
}

/* Tag chip */
.tag-chip {
    display:inline-block;
    padding:4px 12px;
    background:var(--light);
    border:1px solid var(--border);
    font-size:0.77rem; font-weight:600;
    color:var(--gray-dark);
    margin:3px;
    transition:all .2s;
    cursor:default;
}
.tag-chip:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* Contact side photo */
.contact-side-img { overflow:hidden; height:380px; border-top:4px solid var(--gold); }
.contact-side-img img { width:100%; height:100%; object-fit:cover; }

/* Responsive */
@media(max-width:991px) {
    .hero-section { min-height:auto; padding:70px 0 60px; }
    .hero-card { margin-top:40px; }
    .hero-stats { gap:20px; }
    .nav-link::after { display:none; }
    .nav-link { padding:10px 14px !important; }
}
@media(max-width:767px) {
    .section-title { font-size:1.6rem; }
    .stat-card { padding:22px 14px; }
    .stat-number { font-size:1.9rem; }
    .service-detail-card, .contact-form-card, .cert-form-card { padding:24px; }
    .vision-box, .mission-box { padding:28px; }
    .popup-body { padding:20px 22px 18px; }
    .popup-footer { padding:12px 22px; }
    .gallery-grid { columns:2; }
}

/* ============================================================
   POPUP — STATE MANAGEMENT (handled by .open class above)
   ============================================================ */
.popup-header {
    background:var(--primary-dark);
    padding:28px 32px;
    position:relative;
    overflow:hidden;
}
.popup-header::after {
    content:'';
    position:absolute; bottom:0; left:0; right:0;
    height:3px; background:var(--gold);
}
.popup-badge {
    display:inline-block;
    background:var(--gold);
    color:#fff;
    font-size:.68rem; font-weight:800;
    letter-spacing:1.5px; text-transform:uppercase;
    padding:4px 12px;
    margin-bottom:12px;
}
.popup-title {
    color:#fff;
    font-size:1.3rem; font-weight:800; line-height:1.3;
    margin:0;
}
.popup-highlight {
    display:flex; align-items:center; gap:8px;
    background:rgba(200,146,42,.1);
    border-left:3px solid var(--gold);
    padding:10px 14px;
    font-size:.875rem; font-weight:600;
    color:var(--primary-dark);
    margin-bottom:14px;
}
.popup-desc {
    color:var(--gray-dark); font-size:.875rem;
    margin-bottom:12px; line-height:1.7;
}
.popup-tags { display:flex; flex-wrap:wrap; gap:6px; }
.popup-tag {
    background:var(--light);
    border:1px solid var(--border);
    color:var(--primary-dark);
    font-size:.72rem; font-weight:700;
    padding:4px 10px; letter-spacing:.3px;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
    background:#fff;
    border:1px solid var(--border);
    border-top:4px solid var(--gold);
    overflow:hidden;
    transition:transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
    display:flex; flex-direction:column;
    border-radius:6px;
}
.news-card:hover {
    transform:translateY(-6px);
    box-shadow:0 16px 40px rgba(15,48,96,0.12);
}
.news-card-img { height:220px; overflow:hidden; }
.news-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-card:hover .news-card-img img { transform:scale(1.05); }
.news-card-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.news-card-title {
    font-size:.975rem; font-weight:800; color:var(--primary-dark);
    line-height:1.4; margin-bottom:10px;
}
.news-card-excerpt {
    font-size:.82rem; color:var(--gray); line-height:1.7;
    flex:1; margin-bottom:16px;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.news-read-more {
    font-size:.8rem; font-weight:700; color:var(--gold);
    text-transform:uppercase; letter-spacing:.5px;
    display:inline-flex; align-items:center; gap:6px;
    transition:gap .2s;
}
.news-read-more:hover { gap:10px; }
.badge-category {
    display:inline-block;
    background:var(--gold);
    color:#fff;
    font-size:.65rem; font-weight:800;
    letter-spacing:1px; text-transform:uppercase;
    padding:3px 10px;
}

/* ============================================================
   BTN UTILITIES — extra
   ============================================================ */
.btn-outline-primary-dark {
    border:2px solid var(--primary-dark);
    color:var(--primary-dark);
    background:transparent;
    font-weight:700; font-size:.85rem;
    padding:10px 24px; border-radius:0;
    transition:all .2s;
}
.btn-outline-primary-dark:hover {
    background:var(--primary-dark); color:#fff;
}
.btn-outline-gold {
    border:2px solid var(--gold);
    color:var(--gold);
    background:transparent;
    font-weight:700; border-radius:0;
    transition:all .2s;
}
.btn-outline-gold:hover { background:var(--gold); color:#fff; }

/* ============================================================
   GALLERY PAGE — masonry & filter
   ============================================================ */
.gallery-masonry { columns:3; column-gap:12px; }
@media(max-width:991px){ .gallery-masonry{ columns:2; } }
@media(max-width:575px){ .gallery-masonry{ columns:1; } }

/* ============================================================
   NEWS DETAIL — article body
   ============================================================ */
.article-body { font-size:1rem; line-height:1.85; color:#333; }
.article-body p { margin-bottom:1.25rem; }
.article-body h2, .article-body h3 { color:var(--primary-dark); font-weight:800; margin:2rem 0 1rem; }
.article-body ol, .article-body ul { margin-bottom:1.25rem; padding-left:1.5rem; }
.article-body li { margin-bottom:.5rem; }
.article-body strong { color:var(--primary-dark); }

/* ============================================================
   CERTIFICATE — result grid
   ============================================================ */
.cert-field { padding:14px 16px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.cert-field:nth-child(even) { border-right:none; }
.cert-field-label { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--text-muted,var(--gray)); margin-bottom:4px; }
.cert-field-value { font-size:.9rem; font-weight:700; color:var(--primary-dark); }
.cert-status-badge { font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:1px; padding:4px 12px; display:inline-flex; align-items:center; }
.badge-active { background:#e8f5ee; color:#1a8a4a; }
.badge-expired { background:#fef3e2; color:#e67e22; }
.cert-valid { border-top:4px solid #1a8a4a !important; }
.cert-invalid { border-top:4px solid #c0392b !important; }
.cert-expired-card { border-top:4px solid #e67e22 !important; }

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes slideInUp {
    from { opacity:0; transform:translateY(28px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes slideInLeft {
    from { opacity:0; transform:translateX(-32px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes slideInRight {
    from { opacity:0; transform:translateX(32px); }
    to   { opacity:1; transform:translateX(0); }
}
@keyframes zoomIn {
    from { opacity:0; transform:scale(.88); }
    to   { opacity:1; transform:scale(1); }
}
@keyframes floatY {
    0%,100% { transform:translateY(0); }
    50%      { transform:translateY(-10px); }
}
@keyframes floatX {
    0%,100% { transform:translateX(0) rotate(0deg); }
    50%      { transform:translateX(8px) rotate(3deg); }
}
@keyframes pulseGold {
    0%,100% { box-shadow:0 0 0 0 rgba(200,146,42,.35); }
    50%      { box-shadow:0 0 0 10px rgba(200,146,42,0); }
}
@keyframes lineGrow {
    from { width:0; }
    to   { width:12px; }
}
@keyframes borderReveal {
    from { clip-path:inset(0 100% 0 0); }
    to   { clip-path:inset(0 0% 0 0); }
}
@keyframes shimmer {
    0%   { background-position:-200% center; }
    100% { background-position:200% center; }
}
@keyframes countPop {
    0%   { transform:scale(1); }
    50%  { transform:scale(1.12); color:var(--gold); }
    100% { transform:scale(1); }
}
@keyframes gradientShift {
    0%   { background-position:0% 50%; }
    50%  { background-position:100% 50%; }
    100% { background-position:0% 50%; }
}
@keyframes heroShapeFloat {
    0%,100% { transform:translate(0,0) scale(1); }
    33%      { transform:translate(10px,-14px) scale(1.04); }
    66%      { transform:translate(-8px,6px) scale(.97); }
}
@keyframes rotateSlow {
    from { transform:rotate(0deg); }
    to   { transform:rotate(360deg); }
}
@keyframes underlineDraw {
    from { transform:scaleX(0); }
    to   { transform:scaleX(1); }
}

/* ============================================================
   ANIMATION UTILITY CLASSES
   ============================================================ */

/* AOS-style stagger delays */
.delay-1 { animation-delay:.08s !important; }
.delay-2 { animation-delay:.16s !important; }
.delay-3 { animation-delay:.24s !important; }
.delay-4 { animation-delay:.32s !important; }
.delay-5 { animation-delay:.40s !important; }

/* Float animations for hero decorative shapes */
.hero-shape-1 { animation:heroShapeFloat 8s ease-in-out infinite; }
.hero-shape-2 { animation:heroShapeFloat 11s 2s ease-in-out infinite; }
.hero-shape-3 { animation:heroShapeFloat 9s 4s ease-in-out infinite; }

/* Hero badge pulse */
.hero-badge { animation:pulseGold 3s ease-in-out infinite; }

/* Section label line animation */
.section-label::before {
    animation:lineGrow .6s .2s ease both;
    transform-origin:left;
}

/* Stat number pop when counter finishes (triggered by JS adding class) */
.stat-number.popped { animation:countPop .4s ease; }

/* Image hover shimmer overlay */
.img-shimmer {
    position:relative; overflow:hidden;
}
.img-shimmer::after {
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
    background-size:200% 100%;
    opacity:0;
    transition:opacity .2s;
}
.img-shimmer:hover::after {
    opacity:1;
    animation:shimmer .7s ease;
}

/* Card entrance for grid items */
.animate-card {
    animation:slideInUp .55s ease both;
}

/* CTA section — animation disabled (solid dark navy gradient) */
/* .cta-section { background-size:200% 200% !important; animation:gradientShift 8s ease infinite; } */

/* Section title underline sweep */
.section-title-underline {
    position:relative; display:inline-block;
}
.section-title-underline::after {
    content:'';
    position:absolute; bottom:-6px; left:0;
    width:100%; height:3px;
    background:var(--gold);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .5s ease;
}
.section-title-underline.in-view::after {
    transform:scaleX(1);
}

/* Hover scale for client logos */
.client-logo {
    transition:transform .25s, box-shadow .25s;
}
.client-logo:hover {
    transform:translateY(-3px) scale(1.03);
    box-shadow:var(--shadow-md);
}

/* Why-us item hover */
.why-item {
    transition:transform .25s;
}
.why-item:hover {
    transform:translateX(6px);
}

/* Service detail card hover */
.service-detail-card {
    transition:transform .3s, box-shadow .3s;
    border-radius:6px;
}
.service-detail-card:hover {
    transform:translateY(-4px);
}

/* About photo zoom */
.about-photo-main {
    border-radius:6px;
    overflow:hidden;
}
.about-photo-main img {
    transition:transform .6s ease;
}
.about-photo-main:hover img {
    transform:scale(1.04);
}

/* Popup box subtle shadow */
.popup-box {
    border-radius:8px;
    box-shadow:0 24px 60px rgba(0,0,0,0.35);
}

/* Gallery item radius */
.gallery-item {
    border-radius:4px;
}

/* Feature tag radius */
.feature-tag {
    border-radius:3px;
}

/* Training tab btn radius */
.training-tab-btn {
    border-radius:4px;
}

/* Nav dropdown radius */
.dropdown-menu-custom {
    border-radius:0 0 6px 6px;
}

/* Scroll fade-in utility (JS driven) */
.js-reveal {
    opacity:0;
    transform:translateY(24px);
    transition:opacity .6s ease, transform .6s ease;
}
.js-reveal.revealed {
    opacity:1;
    transform:none;
}

/* Staggered grid reveal */
.stagger-grid > * {
    opacity:0;
    transform:translateY(20px);
    transition:opacity .5s ease, transform .5s ease;
}
.stagger-grid.triggered > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.stagger-grid.triggered > *:nth-child(2) { opacity:1; transform:none; transition-delay:.12s; }
.stagger-grid.triggered > *:nth-child(3) { opacity:1; transform:none; transition-delay:.19s; }
.stagger-grid.triggered > *:nth-child(4) { opacity:1; transform:none; transition-delay:.26s; }
.stagger-grid.triggered > *:nth-child(5) { opacity:1; transform:none; transition-delay:.33s; }
.stagger-grid.triggered > *:nth-child(6) { opacity:1; transform:none; transition-delay:.40s; }
.stagger-grid.triggered > *:nth-child(7) { opacity:1; transform:none; transition-delay:.47s; }
.stagger-grid.triggered > *:nth-child(8) { opacity:1; transform:none; transition-delay:.54s; }
.stagger-grid.triggered > *:nth-child(n+9) { opacity:1; transform:none; transition-delay:.60s; }

/* ============================================================
   INDUSTRY FOCUS SECTION (image tiles)
   ============================================================ */
.industry-section {
    padding: 80px 0;
    background: var(--light);
}
.industry-tile {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 240px;
    text-decoration: none;
}
.industry-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.industry-tile:hover img { transform: scale(1.06); }
.industry-tile-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,48,96,0.92) 30%, rgba(15,48,96,0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px;
    transition: background .3s;
}
.industry-tile:hover .industry-tile-overlay {
    background: linear-gradient(to top, rgba(15,48,96,0.96) 40%, rgba(15,48,96,0.35) 100%);
}
.industry-tile-count {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 4px;
}
.industry-tile-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.industry-tile-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s;
}
.industry-tile:hover .industry-tile-link { color: var(--gold-light); }

/* ============================================================
   CAROUSEL IMAGE SLIDES (Target & Capaian)
   ============================================================ */
.carousel-img-slide {
    position: relative;
    height: 480px;
    overflow: hidden;
}
.carousel-img-slide > img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.carousel-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(6, 29, 61, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 40px 56px;
}
.carousel-img-year-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 10px;
}
.carousel-img-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
@media(max-width:767px) {
    .carousel-img-slide { height: 300px; }
    .carousel-img-overlay { padding: 24px 28px; }
    .carousel-img-title { font-size: 1.5rem; }
}

/* ============================================================
   CLIENT LOGO IMAGES
   ============================================================ */
.client-logo-img {
    max-height: 56px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter .3s ease;
    display: block;
    margin: 0 auto;
}
.client-logo:hover .client-logo-img {
    filter: grayscale(0%) opacity(1);
}
/* Keep text fallback centered */
.client-logo .client-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ============================================================
   MISC FIXES (responsive updates)
   ============================================================ */
@media(max-width:575px) {
    .popup-box { border-radius:4px; }
    .service-card { border-radius:4px; }
    .news-card { border-radius:4px; }
    .industry-tile { height: 190px; }
}

/* ============================================================
   POPUP — IMAGE-ONLY STYLE (new simplified popup)
   ============================================================ */
.popup-img-box {
    background: #fff;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 28px 64px rgba(0,0,0,0.42);
    border-top: 4px solid var(--gold);
    overflow: hidden;
    animation: slideUp .4s ease;
}
.popup-main-img {
    width: 100%;
    display: block;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
}
.popup-img-footer {
    padding: 16px 20px 18px;
    background: #fff;
    border-top: 1px solid var(--border);
}
@media(max-width:575px) {
    .popup-img-box { max-width: 96vw; }
    .popup-main-img { max-height: 260px; }
}

/* ============================================================
   HOME — GALLERY CAROUSEL
   ============================================================ */
.home-gallery-section {
    padding: 80px 0;
    background: var(--light);
    overflow: hidden;
}
.hgallery-swiper {
    overflow: visible;
    padding-bottom: 44px !important;
}
.hgallery-slide {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.hgallery-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.hgallery-slide:hover img { transform: scale(1.06); }
.hgallery-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,40,80,.75) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    display: flex; align-items: flex-end;
    padding: 14px 16px;
}
.hgallery-slide:hover .hgallery-slide-overlay { opacity: 1; }
.hgallery-slide-label {
    color: #fff;
    font-size: .73rem;
    font-weight: 600;
    line-height: 1.4;
}
.hgallery-swiper .swiper-pagination-bullet {
    background: var(--primary);
    opacity: .35;
}
.hgallery-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}
.hgallery-nav {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: background .2s, color .2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.hgallery-nav:hover { background: var(--primary); color: #fff; }
.hgallery-prev { left: -8px; }
.hgallery-next { right: -8px; }

/* ============================================================
   CORE EXPERTISE — Full-image tile grid
   ============================================================ */
.expertise-section {
    padding: 80px 0;
    background: #fff;
}
.expertise-tile {
    position: relative;
    overflow: hidden;
    display: block;
    height: 420px;
    text-decoration: none;
}
/* Row-height variants */
.expertise-tile-r1 { height: 520px; }
.expertise-tile-r2 { height: 390px; }
@media(max-width:991px) {
    .expertise-tile-r1,
    .expertise-tile-r2 { height: 340px; }
}
@media(max-width:575px) {
    .expertise-tile-r1,
    .expertise-tile-r2 { height: 290px; }
}
/* Background image */
.expertise-tile img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
    display: block;
    z-index: 0;
}
/* Background video */
.expertise-tile-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
    display: block;
    z-index: 0;
}
.expertise-tile:hover img,
.expertise-tile:hover .expertise-tile-video { transform: scale(1.07); }
.expertise-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg, rgba(11,40,80,0.28) 0%, rgba(11,40,80,0.75) 50%, rgba(11,40,80,0.97) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
    transition: background .35s;
}
.expertise-tile:hover .expertise-tile-overlay {
    background: linear-gradient(160deg, rgba(11,40,80,0.35) 0%, rgba(11,40,80,0.82) 50%, rgba(11,40,80,1) 100%);
}
.expertise-tile-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 10px;
    width: fit-content;
}
.expertise-tile-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
    letter-spacing: -0.5px;
}
.expertise-tile-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.expertise-tile-list li {
    color: rgba(255,255,255,0.78);
    font-size: 0.8rem;
    padding: 5px 0 5px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    position: relative;
    line-height: 1.4;
}
.expertise-tile-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}
.expertise-tile-list li:last-child { border-bottom: none; }
.expertise-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-light);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s, gap .2s;
}
.expertise-tile-cta:hover { color: #fff; gap: 10px; }

/* ── Big-title tile body ── */
.expertise-tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;
}
/* Accent line above title */
.expertise-tile-body::before {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 2px;
    transition: width .3s ease;
}
.expertise-tile:hover .expertise-tile-body::before { width: 72px; }
.expertise-tile-name {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 3px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}
.expertise-tile-sub {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    letter-spacing: .6px;
    text-transform: uppercase;
    margin: -8px 0 0;
}
.expertise-tile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 10px 22px;
    text-decoration: none;
    transition: background .2s, gap .2s, padding .2s;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 2px;
}
.expertise-tile:hover .expertise-tile-btn { background: var(--gold-dark); gap: 14px; padding-right: 26px; }
@media(max-width:991px) { .expertise-tile { height: 340px; } }
@media(max-width:575px) {
    .expertise-tile { height: 300px; }
    .expertise-tile-name { font-size: clamp(2rem, 10vw, 2.8rem); }
}

/* ============================================================
   DIFFERENTIATOR FEATURE CARDS (About — Keunggulan)
   ============================================================ */
.diff-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}
.diff-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.diff-feature-img {
    height: 160px;
    overflow: hidden;
}
.diff-feature-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.diff-feature-card:hover .diff-feature-img img { transform: scale(1.06); }
.diff-feature-body {
    padding: 20px;
}
.diff-feature-body h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.diff-feature-body p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SERVICE CARD HEADER IMAGE (Services — ISO & RPO)
   ============================================================ */
.service-card-header-img {
    height: 160px;
    overflow: hidden;
    margin: -32px -32px 22px -32px;
    border-bottom: 3px solid var(--gold);
    flex-shrink: 0;
}
.service-card-header-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.service-detail-card:hover .service-card-header-img img { transform: scale(1.04); }

/* Mobile adjustments */
@media(max-width:767px) {
    .service-card-header-img { margin: -24px -24px 18px -24px; }
    .diff-feature-img { height: 130px; }
}

/* ============================================================
   NEWS — Homepage preview cards
   ============================================================ */
.news-home-section {
    padding: 80px 0;
    background: var(--light);
}
.news-home-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid transparent;
    text-decoration: none;
    height: 100%;
    transition: all .35s cubic-bezier(.25,.46,.45,.94);
    overflow: hidden;
}
.news-home-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15,48,96,0.11);
}
.news-home-img {
    height: 200px;
    overflow: hidden;
}
.news-home-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
    display: block;
}
.news-home-card:hover .news-home-img img { transform: scale(1.05); }
.news-home-body { padding: 20px 22px; }
.news-home-cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.news-home-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-home-excerpt {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-home-date {
    font-size: 0.76rem;
    color: var(--gray);
}
.news-home-date i { color: var(--gold); }

/* ============================================================
   LOGO SCROLL SECTIONS — infinite marquee
   ============================================================ */
.logo-scroll-section {
    padding: 60px 0;
    overflow: hidden;
}
.logo-scroll-light {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.logo-scroll-dark {
    background: var(--primary-dark);
}

/* Marquee wrapper & fade edges */
.logo-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}
.logo-marquee-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.logo-marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}
/* Dark-section fade overrides are applied inline in the template */

/* Scrolling track */
.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}
.logo-marquee-track:hover { animation-play-state: paused; }
.logo-marquee-track-reverse { animation-direction: reverse; }

/* Individual logo cards */
.logo-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px 28px;
    min-width: 180px;
    height: 104px;
    flex-shrink: 0;
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.logo-marquee-item:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(27,79,138,0.10);
    transform: translateY(-2px);
}

/* Dark section card styling */
.logo-scroll-dark .logo-marquee-item {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
}
.logo-scroll-dark .logo-marquee-item:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(192,57,43,0.45);
}

/* Logo images (light background) — full colour, larger */
.logo-marquee-img {
    max-height: 68px;
    max-width: 148px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: opacity(0.88);
    transition: filter .3s, transform .3s;
}
.logo-marquee-item:hover .logo-marquee-img {
    filter: opacity(1);
    transform: scale(1.05);
}

/* Logo images (dark background — invert to white) */
.logo-marquee-img-dark {
    filter: brightness(0) invert(1) opacity(0.55);
}
.logo-marquee-item:hover .logo-marquee-img-dark {
    filter: brightness(0) invert(1) opacity(1);
}

/* Text fallback labels */
.logo-marquee-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3;
    width: 100%;
}
.logo-marquee-text-dark {
    color: rgba(255,255,255,0.75);
}

/* Keyframe for the marquee scroll */
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media(max-width:767px) {
    .logo-marquee-item { min-width: 148px; height: 86px; padding: 14px 20px; }
    .logo-marquee-img { max-height: 52px; max-width: 118px; }
    .logo-marquee-track { gap: 16px; }
    .logo-scroll-section { padding: 40px 0; }
}

/* ============================================================
   TARGET & CAPAIAN — Image Carousel
   ============================================================ */
.capaian-section {
    padding: 72px 0 0;
    background: #fff;
    border-top: 1px solid var(--border);
}
.capaian-swiper-wrap {
    position: relative;
    background: #fff; /* white backdrop */
}
.capaian-swiper { position: relative; }
.capaian-slide-img {
    width: 100%;
    max-height: 580px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fff;
}
/* Nav arrows */
.capaian-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background .2s;
    user-select: none;
}
.capaian-prev { left: 14px; }
.capaian-next { right: 14px; }
.capaian-nav:hover { background: var(--gold); }
/* Pagination dots */
.capaian-pagination {
    text-align: center;
    padding: 12px 0;
    background: #fff;
}
.capaian-pagination .swiper-pagination-bullet {
    background: rgba(27,79,138,0.20) !important;
    border-radius: 0 !important;
    width: 22px !important; height: 3px !important;
    opacity: 1 !important;
    transition: all .25s !important;
}
.capaian-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 38px !important;
}
@media(max-width:767px) {
    .capaian-slide-img { max-height: 280px; }
    .capaian-nav { width: 34px; height: 34px; font-size: 0.8rem; }
}

/* ============================================================
   CORE EXPERTISE — Card layout (prominent title, small image)
   ============================================================ */
.expertise-section { background: #fff; }

.expertise-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15,48,96,0.12);
}

/* Prominent title header band */
.expertise-card-header {
    background: var(--primary);
    border-left: 5px solid var(--gold);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.expertise-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.expertise-card-count {
    background: var(--gold);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Image — intentionally modest height, no overlay */
.expertise-card-img {
    height: 185px;
    overflow: hidden;
    flex-shrink: 0;
}
.expertise-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.expertise-card:hover .expertise-card-img img { transform: scale(1.04); }

/* Content body */
.expertise-card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.expertise-card-list {
    list-style: none;
    padding: 0; margin: 0 0 16px;
    flex: 1;
}
.expertise-card-list li {
    font-size: 0.845rem;
    color: var(--gray-dark);
    padding: 7px 0 7px 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
    line-height: 1.4;
}
.expertise-card-list li::before {
    content: '›';
    position: absolute; left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}
.expertise-card-list li:last-child { border-bottom: none; }
.expertise-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    padding-top: 14px;
    border-top: 2px solid var(--border);
    transition: color .2s, gap .2s, border-color .2s;
}
.expertise-card-cta:hover {
    color: var(--gold);
    gap: 10px;
    border-top-color: var(--gold);
}
@media(max-width:767px) {
    .expertise-card-title { font-size: 1.1rem; }
    .expertise-card-img { height: 150px; }
}

/* ── Testimonials ──────────────────────────────── */
.testimonial-section {
    padding: 80px 0;
    background: #f8f9fb;
}
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    border: 1px solid #eaecf0;
    box-shadow: 0 2px 16px rgba(30,58,95,.06);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(30,58,95,.12);
}
.testimonial-stars { color: #f5a623; font-size: .85rem; letter-spacing: 2px; }
.testimonial-content {
    font-size: .93rem;
    line-height: 1.75;
    color: #444;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy, #1e3a5f);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 700;
    font-size: .875rem;
    color: #1a1a2e;
    line-height: 1.3;
}
.testimonial-meta {
    font-size: .78rem;
    color: #777;
}
.testimonial-company {
    font-size: .75rem;
    color: var(--gold, #c9a84c);
    font-weight: 600;
    margin-top: 1px;
}
@media(max-width:767px) {
    .testimonial-section { padding: 50px 0; }
    .testimonial-card { padding: 24px 20px; }
}
