/* ==========================================================================
   ZAM FM LTD — Custom Stylesheet
   ========================================================================== */

:root {
    --zam-red: #D02028;
    --zam-red-dark: #a5171d;
    --zam-black: #000000;
    --zam-white: #ffffff;
    --zam-gray: #f5f5f5;
    --zam-font: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--zam-font);
    color: #222;
    overflow-x: hidden;
    background: var(--zam-white);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ---------- Section Heading ---------- */
.section-heading {
    color: var(--zam-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.help-text {
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
}

/* ---------- Buttons ---------- */
.zam-btn-red {
    background-color: var(--zam-red);
    color: var(--zam-white);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.zam-btn-red:hover {
    background-color: var(--zam-red-dark);
    color: var(--zam-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   FIXED SOCIAL ICONS
   ========================================================================== */
.fixed-social {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--zam-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.social-circle.social-facebook {
    background: #1877F2;
}

.social-circle.social-linkedin {
    background: #0A66C2;
}

.social-circle.social-instagram {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-circle:hover {
    filter: brightness(1.12);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .fixed-social {
        left: 8px;
    }

    .social-circle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.zam-navbar {
    background-color: rgba(0, 0, 0, 1);
    padding-top: 14px;
    padding-bottom: 14px;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    z-index: 1050;
}

.zam-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
    padding-top: 8px;
    padding-bottom: 8px;
}

.zam-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 53px;
    transition: opacity 0.3s ease;
}

.zam-nav-center {
    gap: 4px;
}

/* Contact Us button (navbar and mobile menu): same look as the hero "Go to Service" button */
.zam-nav-cta {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: center;
}

/* On the white (scrolled) navbar and the white mobile menu, hover dark instead of white */
.zam-navbar.scrolled .zam-nav-cta:hover,
.zam-offcanvas .zam-nav-cta:hover {
    background-color: #111;
    color: var(--zam-white);
}

/* Smaller laptops: a little less side padding so the links keep room */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .zam-navbar .zam-nav-cta {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.zam-navbar .nav-link {
    color: var(--zam-white);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.85rem !important;
    transition: color 0.3s ease;
}

.zam-navbar.scrolled .nav-link {
    color: #1a1a1a;
}

.zam-navbar .nav-link:hover,
.zam-navbar .nav-link:focus,
.zam-navbar .nav-link.active {
    color: var(--zam-red);
}

.zam-search-btn {
    color: var(--zam-white);
    background: transparent;
    border: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.zam-navbar.scrolled .zam-search-btn {
    color: #1a1a1a;
}

.zam-search-btn:hover {
    color: var(--zam-red);
}

/* Dropdowns — always legible regardless of navbar state */
.zam-dropdown .dropdown-menu {
    background-color: var(--zam-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    width: 260px;
}

.zam-dropdown .dropdown-item {
    color: #222 !important;
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
    font-weight: 500;
    white-space: normal;
}

.zam-dropdown .dropdown-item i {
    color: var(--zam-red);
    font-size: 0.85rem;
    margin-right: 8px;
}

.zam-dropdown .dropdown-item:hover,
.zam-dropdown .dropdown-item:focus {
    background-color: var(--zam-gray);
    color: var(--zam-red) !important;
}

/* About ZAM menu: wide enough for "Accreditations & Certifications" on one line, and opening from the
   right edge of ABOUT ZAM so it never runs off the right of the screen on smaller laptops */
.zam-dropdown .dropdown-menu.zam-about-menu {
    width: 300px;
    left: auto;
    right: 0;
}

/* The page you are on (e.g. About ZAM > Awards & Achievements) */
.zam-dropdown .dropdown-item[aria-current="page"] {
    color: var(--zam-red) !important;
    font-weight: 600;
}

@media (min-width: 992px) {
    .zam-dropdown:hover>.dropdown-menu {
        display: block;
        animation: dropFade 0.2s ease;
    }
}

/* ---------- Services dropdown: the three main services, each listing its services ---------- */
/* Too wide to hang under SERVICES on smaller laptops, so the menu is centred under the whole navbar:
   the SERVICES item is not a positioning box, which makes the fixed navbar the menu's reference. */
.zam-dropdown--mega {
    position: static;
}

.zam-dropdown .zam-services-menu {
    width: 780px;
    padding: 1rem;
    gap: 1rem;
    left: 50%;
    margin-left: -390px;   /* centred (not a transform, which the fade-in animation uses) */
}

.zam-services-menu.show,
.zam-dropdown:hover > .zam-services-menu {
    display: flex;
}

.zam-service-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: var(--zam-white);
    color: #222;
}

.zam-service-card-img {
    position: relative;
    display: block;
    height: 110px;
}

.zam-service-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zam-service-card-icon {
    position: absolute;
    left: 14px;
    bottom: -18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 3px solid var(--zam-white);
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 0.95rem;
}

.zam-service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.6rem 1rem 1rem;
}

.zam-service-card-title {
    color: #111;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.zam-service-card-links {
    margin-top: 0.6rem;
}

.zam-service-card-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    transition: color 0.2s ease;
}

.zam-service-card-links a:last-child {
    border-bottom: none;
}

.zam-service-card-links a i {
    flex-shrink: 0;
    color: #bbb;
    font-size: 0.75rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.zam-service-card-links a:hover,
.zam-service-card-links a:focus-visible,
.zam-service-card-links a[aria-current="page"] {
    color: var(--zam-red);
}

.zam-service-card-links a:hover i,
.zam-service-card-links a:focus-visible i {
    color: var(--zam-red);
    transform: translateX(3px);
}

/* ---------- Nested submenu (e.g. Policies inside About Us) ---------- */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-item.dropdown-toggle::after {
    transform: rotate(-90deg);
    margin-left: auto;
}

.dropdown-submenu>.dropdown-item.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .dropdown-submenu>.dropdown-menu {
        top: -0.5rem;
        left: 100%;
        margin-left: 2px;
    }
}

@media (max-width: 991px) {
    .dropdown-submenu>.dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 0.75rem;
        display: none;
    }

    .dropdown-submenu.show>.dropdown-menu {
        display: block;
    }
}

.mobile-submenu-label {
    color: #888;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
}

.mobile-submenu-link {
    padding-left: 1rem !important;
    font-size: 0.82rem !important;
}

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-toggler {
    border: none;
    color: var(--zam-white);
    z-index: 1051;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.zam-navbar.scrolled .navbar-toggler-icon {
    filter: invert(0);
}

/* ---------- Mobile Offcanvas ---------- */
.zam-offcanvas {
    width: 300px;
}

#mobileAccordion {
    display: flex;
    flex-direction: column;
}

.zam-offcanvas .accordion-item {
    border: none;
    background: transparent;
}

.zam-offcanvas .accordion-button {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #111;
    padding: 0.75rem 0.25rem;
    background: transparent;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}

.zam-offcanvas .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--zam-red);
    box-shadow: none;
}

.zam-offcanvas .accordion-button:focus {
    box-shadow: none;
}

.zam-offcanvas .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.zam-offcanvas .accordion-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.75rem 0.25rem;
}

.zam-offcanvas .accordion-body a {
    color: #333;
    font-size: 0.85rem;
    padding: 0.2rem 0;
}

.zam-offcanvas .accordion-body a i {
    color: var(--zam-red);
    font-size: 0.8rem;
    margin-right: 6px;
}

.zam-offcanvas .accordion-body a:hover {
    color: var(--zam-red);
}

.zam-offcanvas .mobile-menu-group {
    margin-top: 0.4rem;
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.zam-offcanvas .mobile-menu-group:first-child {
    margin-top: 0;
}

.zam-offcanvas .mobile-menu-group i {
    color: var(--zam-red);
    margin-right: 6px;
}

.zam-offcanvas .mobile-menu-group ~ a {
    padding-left: 1.35rem;
}

.mobile-simple-links {
    display: flex;
    flex-direction: column;
}

.mobile-link {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #eee;
}

.mobile-link:hover {
    color: var(--zam-red);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    width: 100%;
}

.hero-content h1 {
    color: var(--zam-white);
    font-weight: 600;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.15;
    letter-spacing: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.25rem;
}

.hero-subtext {
    color: var(--zam-white);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 1000px;
    margin-bottom: 2rem;
    opacity: 0.92;
}

#heroCycleWord {
    color: var(--zam-red);
}

/* Narrower screens: the typed word gets its own line, so the heading keeps one height
   whichever word (People / Premises / Operations) is showing */
@media (max-width: 991.98px) {
    #heroCycleWord {
        display: block;
        min-height: 1.2em;
    }
}

.hero-cycle-cursor {
    display: inline-block;
    color: var(--zam-red);
    animation: heroCursorBlink 0.8s steps(1) infinite;
}

@keyframes heroCursorBlink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.hero-btn {
    display: inline-block;
    color: var(--zam-white);
    /* border: 1.5px solid var(--zam-white); */
    border-radius: 50px;
    padding: 0.85rem 2.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: background-color 0.25s ease, color 0.25s ease;
    background: var(--zam-red);
}

.hero-btn:hover {
    background-color: var(--zam-white);
    color: var(--zam-black);
}

@media (max-width: 767px) {
    .hero-content {
        text-align: center;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   TRUST / CREDIBILITY BAR
   ========================================================================== */
.trust-bar {
    background: var(--zam-black);
    padding: 1.1rem 0;
}

.trust-bar-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 2.5rem;
    margin: 0;
    padding: 0;
}

.trust-bar-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--zam-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.trust-bar-list li i {
    color: var(--zam-red);
    font-size: 1rem;
}

@media (max-width: 767px) {
    .trust-bar-list {
        justify-content: flex-start;
        gap: 0.6rem 1.5rem;
    }

    .trust-bar-list li {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    background: linear-gradient(135deg, var(--zam-red), var(--zam-red-dark));
    padding: 2.75rem 0;
}

.stats-bar-row {
    display: flex;
    flex-wrap: wrap;
}

.stats-bar-item {
    flex: 1 1 0;
    min-width: 140px;
    text-align: left;
    padding: 0 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-bar-item:first-child {
    border-left: none;
    padding-left: 0.5rem;
}

.stats-bar-number {
    display: block;
    color: var(--zam-white);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stats-bar-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .stats-bar-item {
        flex: 1 1 45%;
        min-width: 45%;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .stats-bar-item:nth-child(odd) {
        border-left: none;
        padding-left: 0.5rem;
    }

    .stats-bar-item:nth-child(1),
    .stats-bar-item:nth-child(2) {
        margin-bottom: 1.5rem;
    }
}

/* Six-item version (home page): 6 across on desktop, 3 on tablet, 2 on phone */
.stats-bar-row--six {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 1.75rem;
}

.stats-bar-row--six .stats-bar-item {
    min-width: 0;
    margin-bottom: 0;
    padding: 0 1.25rem;
}

.stats-bar-row--six .stats-bar-item:first-child {
    padding-left: 0.5rem;
}

.stats-bar-row--six .stats-bar-number {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .stats-bar-row--six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-bar-row--six .stats-bar-item:nth-child(3n + 1) {
        border-left: none;
        padding-left: 0.5rem;
    }
}

@media (max-width: 767px) {
    .stats-bar-row--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-bar-row--six .stats-bar-item,
    .stats-bar-row--six .stats-bar-item:nth-child(3n + 1) {
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0 1rem;
    }

    .stats-bar-row--six .stats-bar-item:nth-child(odd) {
        border-left: none;
        padding-left: 0.5rem;
    }
}

/* ==========================================================================
   HOME — OUR SERVICES: the three main services (Manned Security, Security Systems,
   Facilities & Workforce Solutions)
   ========================================================================== */
.main-services-section {
    background: var(--zam-white);
}

.main-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #17181b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.main-service-card-img {
    position: relative;
    height: 220px;
}

.main-service-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-service-card-icon {
    position: absolute;
    left: 28px;
    bottom: -28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 4px solid #17181b;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 1.4rem;
}

.main-service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.4rem 1.9rem 1.9rem;
}

.main-service-card-body h3 {
    color: var(--zam-white);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 0.6rem;
}

.main-service-card-body p {
    color: #b0b0b0;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}

/* Each service opens its detail page */
.main-service-card-list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-service-card-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.25s ease, padding 0.25s ease;
}

.main-service-card-list a i {
    flex-shrink: 0;
    color: var(--zam-red);
    transition: transform 0.25s ease;
}

.main-service-card-list a:hover,
.main-service-card-list a:focus-visible {
    color: var(--zam-white);
    padding-left: 0.4rem;
}

.main-service-card-list a:hover i,
.main-service-card-list a:focus-visible i {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .main-service-card-img {
        height: 200px;
    }

    .main-service-card-body {
        padding: 2.2rem 1.25rem 1.5rem;
    }
}

/* ==========================================================================
   CALL TO ACTION BAND (Accreditations and Awards pages, closed job pages)
   ========================================================================== */
.category-cta-section {
    background: var(--zam-gray);
}

.category-cta-title {
    color: #111;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
}

.category-cta-text {
    max-width: 620px;
    margin: 0.75rem auto 1.5rem;
    color: #666;
    line-height: 1.7;
}

.category-cta-alt {
    margin-left: 0.5rem;
    padding: 0.7rem 2rem;
    border: 2px solid #111;
    border-radius: 6px;
    color: #111;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.category-cta-alt:hover {
    background: #111;
    color: var(--zam-white);
}

@media (max-width: 575px) {
    .category-cta-alt {
        margin: 0.75rem 0 0;
    }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-choose-section {
    background: var(--zam-gray);
}

.why-choose-eyebrow {
    display: block;
    color: var(--zam-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-decoration: underline;
    margin-bottom: 0.5rem;
}

.why-choose-title {
    color: #111;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    letter-spacing: 0.5px;
    margin: 0;
}

.why-choose-subtext {
    color: #666;
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0.75rem 0 0;
}

.why-card {
    height: 100%;
    text-align: center;
    background: var(--zam-white);
    border-radius: 10px;
    padding: 2.5rem 1.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.why-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.why-choose-panel {
    display: flex;
    align-items: stretch;
    background: var(--zam-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.why-choose-sidebar {
    flex: 0 0 115px;
    margin-right: .5rem;
    background: var(--zam-red);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem 0;
    overflow: hidden;
}

.why-choose-sidebar-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--zam-white);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.why-choose-img {
    flex: 0 0 32%;
    max-width: 425px;
}

.why-choose-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-choose-content {
    flex: 1;
    padding: 2.5rem 3rem;
}

.why-choose-content h3 {
    font-weight: 800;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.why-choose-content p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.why-choose-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.why-choose-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.why-choose-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 9px;
    height: 9px;
    background: var(--zam-red);
}

.why-choose-list li strong {
    display: block;
    color: #111;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.why-choose-list li span {
    display: block;
    color: #666;
    font-size: 0.88rem;
}

@media (max-width: 991px) {
    .why-choose-panel {
        flex-wrap: wrap;
    }

    .why-choose-sidebar {
        flex: 0 0 100%;
        writing-mode: initial;
        padding: 1rem;
    }

    .why-choose-sidebar-text {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        font-size: 0.85rem;
    }

    .why-choose-img {
        flex: 0 0 100%;
        max-width: 100%;
        height: 320px;
    }

    .why-choose-content {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   HOW CAN WE HELP
   ========================================================================== */
.help-section {
    background: var(--zam-white);
}

.zam-contact-form {
    background: var(--zam-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.zam-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}

.zam-input:focus {
    border-color: var(--zam-red);
    box-shadow: 0 0 0 0.2rem rgba(208, 32, 40, 0.15);
}

/* Contact form spam trap: off screen for people, still filled in by bots */
.zam-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   FACILITIES MANAGEMENT EXPERTS
   ========================================================================== */
.experts-section {
    background: var(--zam-gray);
}

.experts-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   CARD SLIDER (the About page team cards): track, arrows and dots
   ========================================================================== */
.services-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.services-slider-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.slider-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--zam-white);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--zam-red);
    border-color: var(--zam-red);
    color: var(--zam-white);
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.75rem;
}

.services-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.25s ease;
}

.services-dots .dot.active {
    background: var(--zam-red);
    width: 26px;
    border-radius: 6px;
}

@media (max-width: 575px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   HOME — SECTION HEADINGS (eyebrow, title with a red bar, subtitle)
   ========================================================================== */
.zam-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.zam-eyebrow {
    display: block;
    color: var(--zam-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.zam-title {
    color: #111;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.zam-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 0.85rem auto 0;
    background: var(--zam-red);
    border-radius: 2px;
}

.zam-subtitle {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1rem 0 0;
}

/* ==========================================================================
   ACCREDITATIONS & CERTIFICATIONS — each card opens its certificate in a new tab
   ========================================================================== */
.accreditations-section {
    background: var(--zam-white);
}

.cert-grid {
    --per-row: 6;
    --gap: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.cert-card {
    position: relative;   /* keeps the screen-reader-only text positioned inside the card */
    flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--gap)) / var(--per-row));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 1.1rem;
    background: var(--zam-white);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    color: #111;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover,
.cert-card:focus-visible {
    color: #111;
    border-color: var(--zam-red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.cert-card:focus-visible {
    outline: 2px solid var(--zam-red);
    outline-offset: 3px;
}

.cert-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    margin-bottom: 1.1rem;
}

.cert-card-logo img {
    width: auto;
    height: auto;
    max-width: min(100%, 150px);
    max-height: 100%;
    object-fit: contain;
}

.cert-card-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.cert-card-name::after {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    margin: 0.55rem auto;
    background: var(--zam-red);
}

.cert-card-detail {
    display: block;
    color: #777;
    font-size: 0.75rem;
    line-height: 1.45;
}

.cert-card-view {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.85rem;
    color: var(--zam-red);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .cert-grid {
        --per-row: 5;
    }

    .cert-card {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
}

@media (max-width: 991px) {
    .cert-grid {
        --per-row: 4;
    }
}

@media (max-width: 767px) {
    .cert-grid {
        --per-row: 3;
    }
}

@media (max-width: 575px) {
    .cert-grid {
        --per-row: 2;
        --gap: 0.75rem;
    }

    .cert-card {
        padding: 1.1rem 0.6rem 0.9rem;
    }

    .cert-card-logo {
        height: 56px;
        margin-bottom: 0.8rem;
    }

    .cert-card-logo img {
        max-width: min(100%, 120px);
    }

    .cert-card-name {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   AWARDS — text on the left, award cards on the right
   ========================================================================== */
.awards-section {
    background: var(--zam-gray);
}

.awards-title {
    color: #111;
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin: 0.2rem 0 1.1rem;
}

.awards-title span {
    display: block;
    color: var(--zam-red);
}

.awards-text {
    max-width: 440px;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.75;
}

.awards-bar {
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 1.5rem;
    background: var(--zam-red);
    border-radius: 2px;
}

.award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.award-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.3rem 0.8rem 1.2rem;
    text-align: center;
    background: var(--zam-white);
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.award-card:hover {
    border-color: var(--zam-red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.award-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 76px;
    margin-bottom: 0.9rem;
}

.award-card-logo img {
    width: auto;
    height: auto;
    max-width: min(100%, 150px);
    max-height: 100%;
    object-fit: contain;
}

.award-card-title {
    margin: 0 0 0.3rem;
    color: #111;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .award-card {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .award-card-logo {
        height: 64px;
    }
}

@media (max-width: 767px) {
    .award-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Awards page (About ZAM > Awards & Achievements): the same cards, full width with bigger logos */
.award-grid--page {
    gap: 1.5rem;
}

.award-grid--page .award-card {
    padding: 1.8rem 1.2rem 1.6rem;
}

.award-grid--page .award-card-logo {
    height: 110px;
    margin-bottom: 1.2rem;
}

.award-grid--page .award-card-logo img {
    max-width: min(100%, 210px);
}

.award-grid--page .award-card-title {
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .award-grid--page {
        gap: 0.75rem;
    }

    .award-grid--page .award-card {
        padding: 1.3rem 0.8rem 1.2rem;
    }

    .award-grid--page .award-card-logo {
        height: 80px;
        margin-bottom: 0.9rem;
    }
}

/* ==========================================================================
   OUR CLIENTS — logo cards, auto-scrolling with arrows
   ========================================================================== */
.clients-section {
    background: var(--zam-white);
}

.clients-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.clients-track-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.clients-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.client-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 150px;
    height: 104px;
    background: var(--zam-white);
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-card img {
    width: auto;
    height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0);   /* the logo files are white; show them dark on the white cards */
    opacity: 0.78;
    transition: opacity 0.3s ease;
}

.client-card-sector {
    color: #888;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.client-card:hover {
    border-color: var(--zam-red);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.client-card:hover img {
    opacity: 1;
}

/* Full-colour logos (some have white shapes inside coloured blocks, which brightness(0) would black out):
   shown grey like the rest, in their own colours on hover */
.client-card img.client-logo-color {
    filter: grayscale(1) contrast(1.15);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-card:hover img.client-logo-color {
    filter: none;
}

.client-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: var(--zam-white);
    color: #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.client-arrow:hover,
.client-arrow:focus-visible {
    background: var(--zam-red);
    border-color: var(--zam-red);
    color: var(--zam-white);
}

@media (max-width: 575px) {
    .clients-banner {
        gap: 0.5rem;
    }

    .client-arrow {
        width: 34px;
        height: 34px;
    }

    .client-card {
        width: 128px;
        height: 92px;
    }

    .client-card img {
        height: 42px;
        max-width: 100px;
    }
}

/* ==========================================================================
   GALLERY — one large photo and six smaller ones, each with a red label
   ========================================================================== */
.home-gallery-section {
    background: var(--zam-gray);
}

.home-gallery {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    grid-template-rows: repeat(2, 230px);
    gap: 0.9rem;
}

.home-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #ddd;
}

.home-gallery-item:first-child {
    grid-row: span 2;
}

.home-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-gallery-item:hover img,
.home-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.home-gallery-item:focus-visible {
    outline: 3px solid var(--zam-red);
    outline-offset: 3px;
}

.home-gallery-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 0.35rem 0.7rem;
    border-radius: 2px;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .home-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 200px;
    }

    .home-gallery-item:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .home-gallery {
        grid-auto-rows: 150px;
        gap: 0.6rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.zam-footer {
    background: var(--zam-black);
    color: #ccc;
}

.footer-logo {
    height: 90px;
}

.footer-tagline {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--zam-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    background: var(--zam-red);
}

.footer-heading {
    color: var(--zam-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-contact-row {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
    color: #bbb;
    line-height: 1.6;
}

.footer-contact-row i {
    color: var(--zam-red);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-row strong {
    color: var(--zam-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.3px;
}

.cookie-link {
    color: var(--zam-red);
    font-weight: 600;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   GSAP ANIMATION START STATES (fallback before JS runs / no-js safe)
   ========================================================================== */
.anim-fade-left,
.anim-fade-right,
.anim-slide-left,
.anim-slide-right,
.anim-fade-up,
.anim-scale-in {
    will-change: transform, opacity;
}

/* ==========================================================================
   ABOUT US PAGE — page-specific styles
   ========================================================================== */

/* ---------- About Hero / Banner ---------- */
.about-hero {
    position: relative;
    width: 100%;
    height: 740px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 8%;
    padding-bottom: 3rem;
    margin: auto;
    text-align: center;
}

.about-hero-badge {
    display: inline-block;
    background: var(--zam-red);
    color: var(--zam-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(1.8rem, 4vw, 4rem);
    padding: 1px 21px;
}

/* Long banner titles (Accreditations & Certifications, Awards & Achievements, Facility Management): smaller on narrow
   phones so the red box stays on screen instead of running off the right edge */
@media (max-width: 400px) {
    .about-hero-badge--long {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
        padding: 1px 14px;
    }
}

/* ---------- Intro Section ---------- */

.about-intro-section{
    background: var(--zam-gray);
}
.about-intro-composition {
    position: relative;
    max-width: 420px;
    padding: 1rem 2rem 2rem 0;
}

.about-intro-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    min-height: 280px;
}

.about-intro-card-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.about-intro-play-btn {
    position: absolute;
    top: 24%;
    left: 92%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zam-white);
    color: var(--zam-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.about-intro-play-btn i {
    margin-left: 3px;
}

.about-intro-play-btn::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: aboutPlayPulse 2.4s ease-out infinite;
    z-index: -1;
}

@keyframes aboutPlayPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.about-intro-play-btn:hover {
    background: var(--zam-red);
    color: var(--zam-white);
    transform: translate(-50%, -50%) scale(1.08);
}

.about-intro-composition {
    z-index: 0;
}

.about-intro-play-btn {
    z-index: 3;
}

/* ---------- About Intro Video Modal (portrait video, 1080x1920 / 9:16) ---------- */
.about-video-modal-dialog {
    max-width: 400px;
}

.about-video-ratio {
    --bs-aspect-ratio: 177.78%;
    max-height: 85vh;
}

@media (max-height: 700px) {
    .about-video-modal-dialog {
        max-width: 320px;
    }
}

.about-video-modal .modal-content {
    background: var(--zam-black);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.about-video-modal .btn-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    opacity: 1;
}

.about-video-modal video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-overlap-img {
    position: absolute;
    right: -9.5rem;
    bottom: -2rem;
    width: 62%;
    max-width: 260px;
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    transform: rotate(-2deg);
    border: 4px solid var(--zam-white);
}

.about-intro-dots {
    position: absolute;
    left: -0.5rem;
    bottom: -1.5rem;
    width: 70px;
    height: 46px;
    background-image: radial-gradient(circle, #cccccc 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    z-index: -1;
}

.about-intro-text {
    font-size: 1.02rem;
}

.about-intro-divider {
    border: none;
    border-top: 1px solid #e2e2e2;
    margin: 1.75rem 0 1.5rem;
}

.about-founder-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-founder-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.about-founder-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.05rem;
}

.about-founder-role {
    color: #888;
    font-size: 0.85rem;
}

/* ---------- Mission & Vision Section ---------- */
.mv-section {
    background: var(--zam-white);
    overflow: hidden;
}

.mv-heading {
    color: #1a1a1a;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.6rem;
}

.mv-subheading {
    color: #666;
    font-size: 0.95rem;
    max-width: 720px;
    line-height: 1.7;
}

.mv-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.mv-img {
    position: relative;
    z-index: 1;
    width: 340px;
    flex: 0 0 auto;
    border-radius: 170px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mv-img img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.mv-pill {
    position: relative;
    flex: 1 1 0;
    max-width: 420px;
    z-index: 2;
}

.mv-pill-left {
    margin-right: -60px;
    align-self: flex-start;
    margin-top: 0;
}

.mv-pill-right {
    margin-left: -60px;
    align-self: flex-end;
    margin-bottom: 0;
}

.mv-pill-inner {
    background: #1c1f26;
    color: var(--zam-white);
    padding: 3rem 3.5rem 3rem 2.5rem;
    text-align: center;
}

.mv-pill-left .mv-pill-inner {
    border-radius: 260px 20px 20px 260px;
    padding: 3rem 1.5rem 3rem 3.5rem;
}

.mv-pill-right .mv-pill-inner {
    border-radius: 20px 260px 260px 20px;
    padding: 2rem 2.5rem 2rem 1.5rem;
}

.mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.mv-pill-inner h3 {
    color: var(--zam-white);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.mv-pill-inner p {
    color: #cfcfcf;
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
    text-align: left;
}

@media (max-width: 991px) {
    .mv-row {
        flex-direction: column;
        min-height: auto;
        gap: 2rem;
    }

    .mv-img {
        order: 1;
        width: 280px;
    }

    .mv-img img {
        height: 340px;
    }

    .mv-pill-left {
        order: 2;
        margin-right: 0;
        max-width: 100%;
    }

    .mv-pill-right {
        order: 3;
        margin-left: 0;
        max-width: 100%;
    }

    .mv-pill-left .mv-pill-inner,
    .mv-pill-right .mv-pill-inner {
        border-radius: 20px;
        padding: 2.5rem 2rem;
    }
}

/* ---------- Why Choose Us Section ---------- */
.about-why-row {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-why-card {
    background: var(--zam-black);
    color: var(--zam-white);
    height: 100%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-why-label {
    color: var(--zam-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.about-why-heading {
    color: var(--zam-white);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.about-why-text {
    color: #ccc;
    font-size: 0.92rem;
    margin-bottom: 2rem;
}

.about-skill {
    margin-bottom: 1.25rem;
}

.about-skill-label {
    display: block;
    color: var(--zam-white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.about-skill-fill {
    width: 0;
    height: 100%;
    background: var(--zam-red);
    border-radius: 2px;
}

.about-why-img-col {
    position: relative;
    min-height: 320px;
}

.about-why-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-why-vertical-text {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    color: var(--zam-white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color:#000000
}

.about-why-deco-icon {
    position: absolute;
    left: 0.5rem;
    bottom: -1rem;
    font-size: 2.25rem;
    color: #ddd;
}

@media (max-width: 991px) {
    .about-why-img-col {
        min-height: 260px;
    }
}

/* ---------- Excellence in Action (culture card grid) ---------- */
.culture-grid-section {
    background: var(--zam-gray);
}

.culture-grid-card {
    height: 100%;
    background: var(--zam-white);
    border-radius: 10px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.culture-grid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(208, 32, 40, 0.1);
    color: var(--zam-red);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.culture-grid-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.culture-grid-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Blogs Page ---------- */
.blogs-section {
    background: var(--zam-white);
}

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--zam-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.25rem 1.5rem;
}

.blog-card-meta {
    color: #999;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.blog-card-meta i {
    color: var(--zam-red);
    margin-right: 4px;
}

.blog-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.blog-card-body h3 a {
    color: #1a1a1a;
    transition: color 0.25s ease;
}

.blog-card-body h3 a:hover {
    color: var(--zam-red);
}

.blog-card-body p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--zam-red);
    font-weight: 600;
    font-size: 0.82rem;
}

.blog-card-link i {
    transition: transform 0.25s ease;
}

.blog-card-link:hover {
    text-decoration: underline;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* ---------- Blog Sidebar ---------- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-widget {
    background: var(--zam-gray);
    border-radius: 10px;
    padding: 1.75rem;
}

.blog-widget-title {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--zam-red);
}

.blog-search-form {
    display: flex;
    gap: 0.5rem;
}

.blog-search-form .zam-input {
    background: var(--zam-white);
}

.blog-search-form button {
    flex: 0 0 auto;
    width: 46px;
    background: var(--zam-red);
    color: var(--zam-white);
    border: none;
    border-radius: 6px;
    transition: background-color 0.25s ease;
}

.blog-search-form button:hover {
    background: var(--zam-red-dark);
}

.blog-recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-recent-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.blog-recent-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.blog-recent-date {
    display: block;
    color: #999;
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.blog-recent-title {
    display: block;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.blog-recent-item:hover .blog-recent-title {
    color: var(--zam-red);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.blog-tags a {
    background: var(--zam-white);
    color: #444;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid #e2e2e2;
    transition: all 0.25s ease;
}

.blog-tags a:hover {
    background: var(--zam-red);
    border-color: var(--zam-red);
    color: var(--zam-white);
}

/* ==========================================================================
   SERVICE DETAIL PAGE (Security Guarding template)
   ========================================================================== */
.svc-eyebrow {
    display: inline-block;
    position: relative;
    color: var(--zam-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.svc-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 2px;
    background: var(--zam-red);
}

.svc-section-title {
    color: #111;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 0.75rem;
}

.svc-section-subtext {
    color: #666;
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto 0;
    line-height: 1.7;
}

.svc-process-section .svc-section-subtext,
.svc-industries-section .svc-section-subtext {
    margin-left: 0;
}

/* ---------- Services Cards ---------- */
.svc-services-section {
    background: var(--zam-white);
}

.svc-card {
    display: block;
    height: 100%;
    background: var(--zam-white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.svc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--zam-gray);
    color: var(--zam-red);
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.svc-card:hover .svc-card-icon {
    background: var(--zam-red);
    color: var(--zam-white);
}

.svc-card h3 {
    color: #111;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.svc-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}


/* ---------- Why Choose Our Security Guards ---------- */
.svc-why-section {
    background: var(--zam-gray);
}

.svc-why-img {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.svc-why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-checklist {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
}

.svc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.svc-check-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.svc-checklist strong {
    display: block;
    color: #111;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.svc-checklist span {
    display: block;
    color: #666;
    font-size: 0.82rem;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .svc-checklist {
        grid-template-columns: 1fr;
    }
}

/* ---------- How It Works ---------- */
.svc-process-section {
    background: var(--zam-white);
}

.svc-process-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.svc-process-step {
    flex: 1 1 0;
    background: var(--zam-gray);
    border-radius: 10px;
    padding: 1.5rem 1.35rem;
}

.svc-process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.svc-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--zam-black);
    color: var(--zam-white);
    font-weight: 700;
    font-size: 0.85rem;
}

.svc-process-icon {
    color: var(--zam-red);
    font-size: 1.35rem;
}

.svc-process-step h3 {
    color: #111;
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

.svc-process-step p {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}

.svc-process-connector {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.1rem;
    padding-top: 4.5rem;
}

@media (max-width: 991px) {
    .svc-process-row {
        flex-wrap: wrap;
    }

    .svc-process-step {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .svc-process-connector {
        display: none;
    }
}

@media (max-width: 575px) {
    .svc-process-step {
        flex: 1 1 100%;
    }
}

/* ---------- Industries We Protect ---------- */
.svc-industries-section {
    background: var(--zam-gray);
}

.svc-industries-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.svc-industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: var(--zam-white);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-industry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.svc-industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--zam-gray);
    color: var(--zam-red);
    font-size: 1.2rem;
}

.svc-industry-item span:last-child {
    color: #333;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .svc-industries-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .svc-industries-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   SECTOR DETAIL PAGE (sx-) — dark intro, challenge cards, approach steps, services list,
   compliance standards, case study and the contact section. The service detail page
   uses the same dark intro (with its features in a row of points at the bottom).
   ========================================================================== */
.sx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--zam-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.sx-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--zam-red);
}

.sx-title {
    color: #111;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.sx-text {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.sx-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.sx-head .sx-eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--zam-red);
}

.sx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(208, 32, 40, 0.08);
    color: var(--zam-red);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sx-btn-outline {
    border: 2px solid currentColor;
    color: #fff;
    padding: 0.6rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.sx-btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}

/* ---------- Intro (dark, under the banner) ---------- */
.sx-intro {
    position: relative;
    overflow: hidden;
    background: #0c0c0e;
    color: #fff;
    padding: 12rem 0 5.5rem;
}

.sx-intro-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 52%;
}

.sx-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Fades the photo into the dark background on its left edge */
/* Darkens the photo (most on its left edge) so the full-width hero text stays readable over it */
.sx-intro-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0c0c0e 0%, rgba(12, 12, 14, 0.85) 35%, rgba(12, 12, 14, 0.5) 100%);
}

.sx-intro-eyebrow {
    display: inline-block;
    background: var(--zam-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.4rem;
}

/* Heading wraps onto two even lines (a width sized to the font, plus balanced wrapping) */
.sx-intro-title {
    font-weight: 800;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    max-width: 16em;
    text-wrap: balance;
    margin-bottom: 1rem;
}

.sx-intro-title strong {
    color: var(--zam-red);
    font-weight: inherit;
}

.sx-intro-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-left: 0.9rem;
    border-left: 3px solid var(--zam-red);
    margin-bottom: 1.2rem;
}

/* Same width as the home page hero subtext */
.sx-intro-text {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 1000px;
    margin-bottom: 0;
}

.sx-intro-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.sx-intro-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sx-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2.5rem;
    list-style: none;
    margin: 4rem 0 -2rem;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sx-intro-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sx-intro-points strong {
    color: #fff;
    font-weight: 700;
}

.sx-intro-points i {
    color: var(--zam-red);
    font-size: 1.2rem;
}

/* ---------- Understanding your challenges ---------- */
.sx-challenges-img {
    position: relative;
    margin-top: 2rem;
    margin-left: 14px;
}

.sx-challenges-img::before {
    content: "";
    position: absolute;
    inset: 14px 14px -14px -14px;
    border: 3px solid var(--zam-red);
    border-radius: 10px;
}

.sx-challenges-img img {
    position: relative;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

.sx-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.sx-challenge-card {
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Offsets the right column so the grid reads as a staggered wall */
.sx-challenge-card:nth-child(even) {
    margin-top: 2rem;
    margin-bottom: -2rem;
}

.sx-challenge-card:hover {
    transform: translateY(-6px);
    border-color: var(--zam-red);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.sx-challenge-card:hover .sx-icon {
    background: var(--zam-red);
    color: #fff;
}

.sx-challenge-num {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: #f0f0f0;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.sx-challenge-card h3 {
    color: #111;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.1rem 0 0.5rem;
}

.sx-challenge-card p,
.sx-exp-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Approach (dark) ---------- */
.sx-approach {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
        #111114;
    color: #fff;
    margin-top: 2rem;
}

.sx-head--light .sx-title {
    color: #fff;
}

.sx-head--light .sx-text {
    color: rgba(255, 255, 255, 0.7);
}

.sx-places {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: -1rem 0 3.5rem;
}

.sx-places li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    font-weight: 500;
}

.sx-places i {
    color: var(--zam-red);
}

.sx-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--steps, 3), 1fr);
    gap: 2rem;
}

/* Dashed line joining the three step icons */
.sx-steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: calc(50% / var(--steps, 3));
    right: calc(50% / var(--steps, 3));
    border-top: 2px dashed rgba(208, 32, 40, 0.55);
}

.sx-step {
    position: relative;
    text-align: center;
    padding: 0 0.5rem;
}

.sx-step-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--zam-red);
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 0 0 8px #111114, 0 0 0 9px rgba(208, 32, 40, 0.5);
}

/* Step number: a small badge on the top-right of the step icon */
.sx-step-num {
    position: absolute;
    top: -4px;
    left: calc(50% + 20px);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--zam-red);
    font-size: 0.75rem;
    font-weight: 800;
}

.sx-step h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.4rem 0 0.6rem;
}

.sx-step p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 320px;
    margin: 0 auto;
}

/* ---------- Services (intro + photo, list of services, closing box) ---------- */
.sx-services {
    background: var(--zam-gray);
}

.sx-services-intro {
    position: sticky;
    top: 110px;
}

.sx-services-img {
    position: relative;
    margin: 2rem 14px 14px 0;
}

/* Red frame offset behind the photo */
.sx-services-img::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 3px solid var(--zam-red);
    border-radius: 10px;
}

.sx-services-img img {
    position: relative;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.sx-svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sx-svc-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: #222;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sx-svc-list li:hover {
    transform: translateY(-3px);
    border-color: var(--zam-red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.sx-svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(208, 32, 40, 0.08);
    color: var(--zam-red);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sx-svc-list li:hover .sx-svc-icon {
    background: var(--zam-red);
    color: #fff;
}

/* Dark closing box (under the services list and the experience cards) */
.sx-closing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    background: #111114;
    border-left: 4px solid var(--zam-red);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.sx-closing p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
}

.sx-closing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zam-red);
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ---------- Compliance ---------- */
.sx-compliance-intro {
    position: sticky;
    top: 110px;
}

.sx-compliance-lead {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.25rem;
    background: #111;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.sx-compliance-lead i {
    color: var(--zam-red);
    font-size: 1.2rem;
}

.sx-standard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sx-standard {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.25rem;
    border: 1px solid #ececec;
    border-left: 4px solid var(--zam-red);
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.sx-standard:hover {
    background: #fffafa;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.sx-standard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sx-standard h3 {
    color: #111;
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.sx-standard p {
    color: #666;
    font-size: 0.87rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Case study ---------- */
.sx-case {
    background: var(--zam-gray);
}

.sx-case-feature {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.sx-case-feature + .sx-case-feature {
    margin-top: 2rem;
}

/* Every second case study: photo on the right */
.sx-case-feature--flip {
    grid-template-columns: 7fr 5fr;
}

.sx-case-feature--flip .sx-case-media {
    order: 2;
}

.sx-case-media {
    position: relative;
    min-height: 380px;
    background: #1c1c20;   /* shown when the case study has no photo */
}

.sx-case-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sx-case-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.85) 100%);
}

.sx-case-media-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.8rem;
    color: #fff;
}

.sx-case-tag {
    display: inline-block;
    background: var(--zam-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.7rem;
}

.sx-case-media-label h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
}

.sx-case-media-label p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.sx-case-body {
    padding: 2.4rem 2.4rem 2.4rem 2.2rem;
}

.sx-case-step {
    position: relative;
    display: flex;
    gap: 1.1rem;
    padding-bottom: 1.6rem;
}

.sx-case-step:last-child {
    padding-bottom: 0;
}

/* Line linking challenge → approach → outcome */
.sx-case-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 4px;
    width: 2px;
    background: #f0d2d3;
}

.sx-case-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--zam-red);
    color: var(--zam-red);
    font-size: 1.1rem;
    flex-shrink: 0;
    background: #fff;
}

.sx-case-step h4 {
    color: #111;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0.55rem 0 0.35rem;
}

.sx-case-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.sx-subhead {
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin: 3.5rem 0 1.75rem;
}

.sx-exp-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 1.25rem;
}

.sx-exp-card {
    background: #fff;
    border-radius: 12px;
    border-top: 3px solid var(--zam-red);
    padding: 1.75rem 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sx-exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.sx-exp-card h4 {
    color: #111;
    font-size: 1.02rem;
    font-weight: 700;
    margin: 1.1rem 0 0.55rem;
}

/* ---------- CTA + contact form ---------- */
.sx-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #111114 0%, #1c1c20 55%, #3a0d10 100%);
    color: #fff;
}

.sx-cta::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(208, 32, 40, 0.35) 0%, rgba(208, 32, 40, 0) 70%);
}

.sx-cta .container {
    position: relative;
}

.sx-cta .sx-title {
    color: #fff;
}

.sx-cta .sx-text {
    color: rgba(255, 255, 255, 0.72);
}

.sx-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.sx-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.sx-cta-phone i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--zam-red);
}

.sx-cta-phone:hover {
    color: #fff;
    opacity: 0.85;
}

.sx-form {
    color: #222;
    border: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.sx-form-title {
    color: #111;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .sx-intro {
        padding: 8rem 0 4rem;
    }

    .sx-intro-points {
        margin: 3rem 0 0;
        gap: 0.9rem 1.75rem;
    }

    .sx-intro-media {
        width: 100%;
        opacity: 0.35;
    }

    .sx-intro-media::after {
        background: linear-gradient(180deg, rgba(12, 12, 14, 0.4) 0%, #0c0c0e 100%);
    }

    .sx-challenge-card:nth-child(even) {
        margin: 0;
    }

    .sx-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 460px;
        margin: 0 auto;
    }

    .sx-steps::before {
        display: none;
    }

    .sx-compliance-intro,
    .sx-services-intro {
        position: static;
    }

    .sx-case-feature,
    .sx-case-feature--flip {
        grid-template-columns: 1fr;
    }

    .sx-case-feature--flip .sx-case-media {
        order: 0;
    }

    .sx-case-media {
        min-height: 280px;
    }

    .sx-exp-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .sx-challenge-grid,
    .sx-standard-grid,
    .sx-svc-list {
        grid-template-columns: 1fr;
    }

    .sx-intro-cta .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .sx-closing {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 1.4rem;
    }

    .sx-case-body {
        padding: 1.75rem 1.4rem;
    }
}

/* ---------- Blog Details Page: Article ---------- */
.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-article-meta i {
    color: var(--zam-red);
    margin-right: 5px;
}

.blog-article-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 1.75rem;
}

.blog-article-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-article-img img {
    width: 100%;
    height: auto;
    display: block;
    /* Keep the wide 1000x560 shape of the design, whatever size of photo is uploaded */
    aspect-ratio: 1000 / 560;
    object-fit: cover;
}

.blog-article-body p {
    color: #444;
    font-size: 0.98rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.blog-article-body h2 {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
}

.blog-article-body blockquote {
    border-left: 4px solid var(--zam-red);
    background: var(--zam-gray);
    color: #333;
    font-style: italic;
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 8px 8px 0;
}

.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
}

.blog-article-tags span {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.blog-article-tags a {
    background: var(--zam-gray);
    color: #444;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.blog-article-tags a:hover {
    background: var(--zam-red);
    color: var(--zam-white);
}

.blog-article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.blog-article-share span {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.blog-article-share a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--zam-gray);
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.blog-article-share a:hover {
    background: var(--zam-red);
    color: var(--zam-white);
}

/* ---------- Gallery Page: Photo Grid (events page: the original mosaic, 1st and 6th tiles large) ---------- */
.gallery-grid-section {
    background: var(--zam-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
}

.gallery-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.08);
}

.gallery-grid-item:nth-child(1),
.gallery-grid-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Event gallery page: every photo the same size, 4 in a row */
.gallery-grid--even {
    grid-auto-rows: auto;
}

.gallery-grid--even .gallery-grid-item {
    aspect-ratio: 4 / 3;
}

.gallery-grid--even .gallery-grid-item:nth-child(1),
.gallery-grid--even .gallery-grid-item:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-grid--even {
        grid-auto-rows: auto;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 0.6rem;
    }

    .gallery-grid-item:nth-child(1),
    .gallery-grid-item:nth-child(6) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-grid--even {
        grid-auto-rows: auto;
    }

    .gallery-grid--even .gallery-grid-item:nth-child(1),
    .gallery-grid--even .gallery-grid-item:nth-child(6) {
        grid-column: auto;
    }
}

/* ---------- Contact Us Page: Info Cards ---------- */
.contact-info-section {
    background: var(--zam-white);
}

.contact-info-card {
    height: 100%;
    text-align: center;
    background: var(--zam-gray);
    border-radius: 10px;
    padding: 2.5rem 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.contact-info-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.contact-info-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 0.4rem;
}

.contact-info-card p a {
    color: #555;
    font-weight: 600;
}

.contact-info-card p a:hover {
    color: var(--zam-red);
}

.contact-info-note {
    display: block;
    color: #999;
    font-size: 0.78rem;
}

/* ---------- Our Team Section ---------- */
.team-section {
    background: var(--zam-white);
}

.team-subheading {
    color: #666;
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.team-card {
    flex: 0 0 calc(25% - 0.95rem);
    min-width: 220px;
    background: var(--zam-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   ABOUT PAGE — OUR CORE VALUES (dark textured band, white cards in a slider)
   ========================================================================== */
.core-values-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(208, 32, 40, 0.22), transparent 55%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 9px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 9px),
        #101014;
    color: #fff;
}

.core-values-viewport {
    overflow: hidden;
    padding: 8px 4px 12px;
    margin: 0 -4px;
}

.core-values-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 3 cards per view on desktop, 2 on tablet, 1 on phone (matches the slider script) */
.core-value-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    background: #fff;
    border: 2px solid var(--zam-red);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.core-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--zam-red);
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
}

.core-value-card h3 {
    color: #111;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.core-value-card p {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Dots on the dark band: outlined, the active one filled red */
.core-values-dots .dot {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.core-values-dots .dot.active {
    background: var(--zam-red);
    border-color: var(--zam-red);
}

@media (max-width: 991px) {
    .core-value-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 575px) {
    .core-value-card {
        flex: 0 0 100%;
    }
}

.team-slider-wrap .services-slider-viewport {
    padding: 6px 4px 18px;
}

@media (max-width: 991px) {
    .team-card {
        flex: 0 0 calc(50% - 0.65rem);
    }
}

@media (max-width: 575px) {
    .team-card {
        flex: 0 0 85%;
    }
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-card-img {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;   /* crop from near the top so heads are never cut off */
    transition: transform 0.4s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.06);
}

/* Team member without a photo yet: their initials on a dark, brand-red tile */
.team-card-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 40%, rgba(208, 32, 40, 0.35), transparent 60%),
        linear-gradient(160deg, #1f2023, #0b0b0c);
    color: var(--zam-white);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.team-card-socials {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 1rem 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.team-card:hover .team-card-socials {
    transform: translateY(0);
    opacity: 1;
}

.team-card-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background-color 0.25s ease;
}

.team-card-socials a:hover {
    background: var(--zam-red-dark);
}

.team-card-body {
    text-align: center;
    padding: 1.25rem 1rem 1.5rem;
}

.team-card-body h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.team-card-body span {
    color: var(--zam-red);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---------- Process Steps Section ---------- */
.about-process-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 3rem;
}

.about-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 140px;
}

.about-process-icon {
    width: 64px;
    height: 64px;
    background: var(--zam-red);
    color: var(--zam-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.about-process-label {
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.about-process-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e8e8e8;
    line-height: 1;
}

.about-process-dots {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 1rem;
    align-self: center;
    flex: 0 0 auto;
}

.about-process-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ccc;
}

@media (max-width: 767px) {
    .about-process-row {
        gap: 0.25rem;
    }

    .about-process-step {
        width: 96px;
    }

    .about-process-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .about-process-label {
        font-size: 0.7rem;
    }

    .about-process-number {
        font-size: 1.6rem;
    }

    .about-process-dots {
        padding: 0 0.15rem;
    }
}

@media (max-width: 480px) {
    .about-process-step {
        width: 76px;
    }

    .about-process-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .about-process-label {
        font-size: 0.6rem;
    }

    .about-process-number {
        font-size: 1.3rem;
    }

    .about-process-dots {
        display: none !important;
    }
}

.about-process-deco-triangle {
    position: absolute;
    left: 1.5rem;
    bottom: 1rem;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-bottom: 32px solid var(--zam-black);
    opacity: 0.85;
}

/* ==========================================================================
   OUR CULTURE PAGE — page-specific styles
   ========================================================================== */

.culture-commitment-section {
    background: var(--zam-white);
}

.culture-accordion .accordion-item {
    border: none;
    margin-bottom: 0.85rem;
    border-radius: 6px;
    overflow: hidden;
}

.culture-accordion .accordion-button {
    background-color: var(--zam-gray);
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    padding: 1.1rem 1.5rem;
    box-shadow: none;
}

.culture-accordion .accordion-button:not(.collapsed) {
    background-color: var(--zam-gray);
    color: #111;
    box-shadow: none;
}

.culture-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.culture-accordion .accordion-button::after {
    display: none;
}

.culture-accordion-caret {
    color: var(--zam-red);
    font-size: 0.8rem;
    margin-right: 0.85rem;
    transition: transform 0.25s ease;
}

.culture-accordion .accordion-button:not(.collapsed) .culture-accordion-caret {
    transform: rotate(180deg);
}

.culture-accordion .accordion-body {
    padding: 1.5rem 1.75rem;
    color: #333;
    font-size: 0.92rem;
    line-height: 1.75;
}

.culture-accordion .accordion-body p {
    margin-bottom: 1rem;
}

.culture-accordion .accordion-body ol,
.culture-accordion .accordion-body ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.culture-accordion .accordion-body li {
    margin-bottom: 0.4rem;
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    line-height: 2 !important;
}

/* ==================== BLOG PAGINATION ==================== */
.blog-pagination .pagination {
    justify-content: center;
    gap: 0.35rem;
}

.blog-pagination .page-link {
    color: #444;
    border-radius: 6px;
    border-color: #e2e2e2;
}

.blog-pagination .page-link:hover {
    color: var(--zam-red);
}

.blog-pagination .page-item.active .page-link {
    background: var(--zam-red);
    border-color: var(--zam-red);
    color: var(--zam-white);
}

/* The "Showing x of y results" line Bootstrap's paginator adds on wide screens */
.blog-pagination nav > .d-none.flex-sm-fill > div:first-child {
    display: none;
}
.blog-pagination nav > .d-none.flex-sm-fill {
    justify-content: center !important;
}

/* Footer phone / email links: same look as the surrounding text, red on hover */
.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-link:hover {
    color: var(--zam-red);
}

/* ==================== GALLERY LIGHTBOX (event gallery page) ==================== */
.gallery-grid-item {
    display: block;
    cursor: zoom-in;
}

/* Events page: each tile opens its event, with the title over the photo */
.gallery-event-item {
    cursor: pointer;
    color: var(--zam-white);
}

.gallery-event-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.gallery-event-count {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background: var(--zam-red);
    color: var(--zam-white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.gallery-event-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 14px 16px;
}

.gallery-event-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--zam-white);
    line-height: 1.3;
}

.gallery-event-meta {
    font-size: 13px;
    opacity: 0.9;
}

.gallery-event-item:hover .gallery-event-info h3,
.gallery-event-item:focus-visible .gallery-event-info h3 {
    color: var(--zam-red);
}

/* The two large mosaic tiles get larger text */
@media (min-width: 576px) {
    .gallery-event-item:nth-child(1) .gallery-event-info,
    .gallery-event-item:nth-child(6) .gallery-event-info {
        padding: 22px 24px;
    }

    .gallery-event-item:nth-child(1) .gallery-event-info h3,
    .gallery-event-item:nth-child(6) .gallery-event-info h3 {
        font-size: 26px;
    }

    .gallery-event-item:nth-child(1) .gallery-event-meta,
    .gallery-event-item:nth-child(6) .gallery-event-meta {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .gallery-event-count {
        top: 8px;
        left: 8px;
        font-size: 11px;
        padding: 3px 8px;
    }

    .gallery-event-info {
        padding: 10px;
    }

    .gallery-event-meta > span {
        display: block;
        margin-left: 0 !important;
    }

    .gallery-event-info h3 {
        font-size: 14px;
    }

    .gallery-event-meta {
        font-size: 11px;
    }
}

.zam-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 4.5rem;
}

.zam-lightbox[hidden] {
    display: none;
}

.zam-lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}

.zam-lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    object-fit: contain;
    border-radius: 6px;
}

.zam-lightbox-figure figcaption {
    color: #ddd;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.zam-lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: var(--zam-white);
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.zam-lightbox button:hover,
.zam-lightbox button:focus-visible {
    background: var(--zam-red);
}

.zam-lightbox-close {
    top: 1rem;
    right: 1rem;
}

.zam-lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.zam-lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.zam-lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #bbb;
    font-size: 0.85rem;
}

@media (max-width: 575px) {
    .zam-lightbox {
        padding: 3.5rem 0.5rem;
    }

    .zam-lightbox-prev,
    .zam-lightbox-next {
        top: auto;
        bottom: 0.5rem;
        transform: none;
    }
}

/* ==========================================================================
   CONTACT US — OUR OFFICES: map with a pin per office + address cards
   ========================================================================== */
.offices-section {
    background: var(--zam-gray);
}

.offices-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.offices-map {
    height: 520px;
    background: #e9eef2;
    z-index: 0;   /* keeps the map under the fixed navbar and menus */
}

/* Map marker: city name above a red location pin; the pin's tip marks the spot */
.office-pin {
    background: none;
    border: 0;
}

.office-pin-inner {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.office-pin-label {
    margin-bottom: 2px;
    padding: 3px 9px;
    border-radius: 4px;
    background: #111;
    color: var(--zam-white);
    font-family: var(--zam-font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.office-pin-mark {
    color: var(--zam-red);
    font-size: 34px;
    line-height: 1;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}

/* Shifted labels for offices that sit close together (Manchester / Liverpool) */
.office-pin--label-left .office-pin-label {
    transform: translateX(calc(-50% + 12px));
}

.office-pin--label-right .office-pin-label {
    transform: translateX(calc(50% - 12px));
}

.office-pin.is-active .office-pin-label {
    background: var(--zam-red);
}

.office-pin.is-active .office-pin-mark {
    color: #111;
}

.offices-map .leaflet-popup-content {
    margin: 12px 14px;
    font-family: var(--zam-font);
    font-size: 13px;
    line-height: 1.5;
}

.offices-map .leaflet-popup-content strong {
    display: block;
    margin-bottom: 2px;
    color: var(--zam-red);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.office-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 1rem 1.1rem;
    text-align: center;
    background: var(--zam-white);
    border-top: 4px solid var(--zam-red);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:nth-child(even) {
    border-top-color: #111;
}

.office-card:hover,
.office-card.is-active {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.office-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: rgba(208, 32, 40, 0.1);
    color: var(--zam-red);
    font-size: 1.25rem;
}

.office-card h3 {
    margin: 0 0 0.5rem;
    color: #111;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
}

.office-card p {
    margin: 0 0 1rem;
    color: #555;
    font-size: 0.82rem;
    line-height: 1.6;
}

.office-card-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    margin-top: auto;
}

.office-card-links button,
.office-card-links a {
    padding: 0;
    border: 0;
    background: none;
    color: var(--zam-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.office-card-links button:hover,
.office-card-links a:hover {
    color: var(--zam-red-dark);
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .offices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .offices-map {
        height: 420px;
    }

    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CAREERS — values, current vacancies, application form, job page
   (vacancies come from Admin > Jobs; applications go to Admin > Candidates)
   ========================================================================== */
.careers-intro-section,
.career-apply-section,
.job-detail-section {
    background: var(--zam-white);
}

/* Jumping to #apply / #vacancies leaves room for the fixed navbar */
#apply,
#vacancies {
    scroll-margin-top: 100px;
}

.career-value-card {
    height: 100%;
    padding: 1.8rem 1.4rem;
    text-align: center;
    background: var(--zam-white);
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.career-value-card:hover {
    border-color: var(--zam-red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.career-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(208, 32, 40, 0.1);
    color: var(--zam-red);
    font-size: 1.5rem;
}

.career-value-card h3 {
    margin: 0 0 0.5rem;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.career-value-card p {
    margin: 0;
    color: #666;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ---------- Current vacancies ---------- */
.vacancies-section {
    background: var(--zam-gray);
}

.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.job-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--zam-white);
    border: 1px solid #ececec;
    border-left: 4px solid var(--zam-red);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.job-card-main {
    flex: 1;
    min-width: 0;
}

.job-card-title {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.job-card-title a {
    color: #111;
}

.job-card-title a:hover,
.job-card-title a:focus-visible {
    color: var(--zam-red);
}

.job-card-meta,
.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #555;
    font-size: 0.86rem;
}

.job-card-meta i,
.job-detail-meta i {
    margin-right: 0.35rem;
    color: var(--zam-red);
}

.job-card-summary {
    margin: 0.75rem 0 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.65;
}

.job-card-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    text-align: right;
}

.job-card-closing {
    color: #777;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.vacancies-empty {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--zam-white);
    border: 1px dashed #d4d4d4;
    border-radius: 10px;
}

.vacancies-empty > i {
    color: var(--zam-red);
    font-size: 2.4rem;
}

.vacancies-empty h3 {
    margin: 0.75rem 0 0.5rem;
    color: #111;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.vacancies-empty p {
    margin: 0 0 1.25rem;
    color: #666;
    line-height: 1.7;
}

/* ---------- Application form ---------- */
.career-steps {
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: career-step;
}

.career-steps li {
    position: relative;
    padding: 0 0 1.4rem 3.25rem;
    counter-increment: career-step;
}

.career-steps li::before {
    content: counter(career-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--zam-red);
    color: var(--zam-white);
    font-weight: 700;
}

.career-steps strong {
    display: block;
    color: #111;
}

.career-steps span {
    color: #666;
    font-size: 0.9rem;
}

.career-form .form-label {
    margin-bottom: 0.35rem;
    color: #333;
    font-size: 0.82rem;
    font-weight: 600;
}

.career-form .form-text {
    font-size: 0.78rem;
}

/* ---------- Job page ---------- */
.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--zam-red);
    font-size: 0.9rem;
    font-weight: 600;
}

.job-back-link:hover {
    color: var(--zam-red-dark);
}

.job-detail-title {
    margin: 0 0 1rem;
    color: #111;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.job-detail-meta {
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
}

.job-detail-summary {
    margin: 0 0 1.75rem;
    padding-left: 1rem;
    border-left: 4px solid var(--zam-red);
    color: #444;
    font-size: 1.02rem;
    line-height: 1.75;
}

/* Rich text from the admin editor */
.job-description {
    color: #444;
    font-size: 0.97rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.job-description h1,
.job-description h2,
.job-description h3,
.job-description h4 {
    margin: 1.75rem 0 0.75rem;
    color: #111;
    font-weight: 700;
    line-height: 1.3;
}

.job-description h1,
.job-description h2 {
    font-size: 1.3rem;
}

.job-description h3 {
    font-size: 1.12rem;
}

.job-description h4 {
    font-size: 1rem;
}

.job-description > :first-child {
    margin-top: 0;
}

.job-description p {
    margin-bottom: 1.1rem;
}

.job-description ul,
.job-description ol {
    margin-bottom: 1.25rem;
    padding-left: 1.4rem;
}

.job-description li {
    margin-bottom: 0.4rem;
}

.job-description ul li::marker {
    color: var(--zam-red);
}

.job-description a {
    color: var(--zam-red);
    text-decoration: underline;
}

.job-description img,
.job-description video,
.job-description iframe {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.job-description table {
    width: 100%;
    margin-bottom: 1.25rem;
    border-collapse: collapse;
}

.job-description th,
.job-description td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e5e5;
}

.job-apply-card {
    padding: 1.75rem;
    background: var(--zam-white);
    border: 1px solid #ececec;
    border-top: 4px solid var(--zam-red);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.job-apply-title {
    margin: 0 0 1.25rem;
    color: #111;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-closed-notice {
    text-align: center;
}

.job-closed-notice > i {
    color: var(--zam-red);
    font-size: 2.2rem;
}

.job-closed-notice .job-apply-title {
    margin: 0.5rem 0;
}

.job-closed-notice p {
    color: #666;
}

@media (max-width: 767px) {
    .job-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }

    .job-card-side {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .job-apply-card {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   ABOUT US — OUR APPROACH TO SECURITY
   Light section: a central shield with the four pillars (People, Risk, Technology, Response)
   around it, each wired to the shield. On tablets/phones the pillars stack
   under the shield as a connected chain.
   ========================================================================== */
.sec-approach {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background:
        radial-gradient(circle at 50% 62%, rgba(208, 32, 40, 0.09), transparent 48%),
        linear-gradient(180deg, #ffffff 0%, #fbf7f7 100%);
    color: #1a1a1a;
}

/* Faint security-grid pattern that fades out towards the edges */
.sec-approach::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 55%, #000 15%, transparent 70%);
    pointer-events: none;
}

.sec-approach .container {
    position: relative;
}

.sec-approach-header {
    max-width: 640px;
    margin: 0 auto 4rem;
}

.sec-approach-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--zam-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.sec-approach-eyebrow::before,
.sec-approach-eyebrow::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--zam-red);
}

.sec-approach-heading {
    color: #111;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
}

.sec-approach-intro {
    color: #666;
    font-size: 0.98rem;
    margin: 0;
}

/* ---------- Layout: pillar | shield | pillar ---------- */
.sec-approach-grid {
    --hub-size: 300px;
    --link-gap: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hub-size) minmax(0, 1fr);
    grid-template-areas:
        "p1 hub p2"
        "p3 hub p4";
    column-gap: var(--link-gap);
    row-gap: 3.5rem;
    align-items: center;
}

.sec-pillar-1 { grid-area: p1; }
.sec-pillar-2 { grid-area: p2; }
.sec-pillar-3 { grid-area: p3; }
.sec-pillar-4 { grid-area: p4; }

/* ---------- The shield hub ---------- */
.sec-approach-hub {
    grid-area: hub;
    position: relative;
    width: var(--hub-size);
    height: var(--hub-size);
    justify-self: center;
}

.sec-approach-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(208, 32, 40, 0.5);
}

/* Four markers on the inner ring, one per pillar */
.sec-approach-ring-inner {
    inset: 26px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sec-approach-ring-inner::before,
.sec-approach-ring-inner::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--zam-red);
    border-bottom-color: var(--zam-red);
    -webkit-mask-image: conic-gradient(#000 0 6deg, transparent 6deg 174deg, #000 174deg 186deg, transparent 186deg 354deg, #000 354deg);
    mask-image: conic-gradient(#000 0 6deg, transparent 6deg 174deg, #000 174deg 186deg, transparent 186deg 354deg, #000 354deg);
}

.sec-approach-ring-inner::after {
    transform: rotate(90deg);
}

.sec-approach-core {
    position: absolute;
    inset: 54px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    background: radial-gradient(circle at 35% 30%, #e43a41, var(--zam-red) 45%, #6d0c10 100%);
    box-shadow:
        0 0 0 8px #fff,
        0 0 0 9px rgba(208, 32, 40, 0.18),
        0 24px 55px rgba(208, 32, 40, 0.35),
        inset 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.sec-approach-core i {
    font-size: 4.2rem;
    line-height: 1;
    color: var(--zam-white);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* ---------- Pillars ---------- */
.sec-pillar {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem 1.6rem;
    border-radius: 18px;
    background: var(--zam-white);
    border: 1px solid #ececec;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

/* Left-hand pillars mirror the right-hand ones, so the icon always faces the shield */
.sec-pillar-left {
    flex-direction: row-reverse;
    text-align: right;
}

/* Big outlined number in the outer corner */
.sec-pillar-number {
    position: absolute;
    top: 0.4rem;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    transition: -webkit-text-stroke-color 0.35s ease;
}

.sec-pillar-left .sec-pillar-number { left: 1.25rem; }
.sec-pillar-right .sec-pillar-number { right: 1.25rem; }

/* Hexagon icon badge */
.sec-pillar-icon {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(160deg, #ec4249, var(--zam-red) 50%, var(--zam-red-dark));
    color: var(--zam-white);
    font-size: 1.6rem;
    transition: transform 0.35s ease;
}

.sec-pillar-body {
    position: relative;
    padding-top: 0.25rem;
}

.sec-pillar h3 {
    color: #111;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.sec-pillar p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* Wire from each pillar to the shield, ending in a node */
.sec-pillar::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(var(--link-gap) + 18px);
    height: 2px;
    background: linear-gradient(90deg, rgba(208, 32, 40, 0.15), rgba(208, 32, 40, 0.75));
    transform-origin: left center;
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.sec-pillar-right::after {
    right: 100%;
    background: linear-gradient(90deg, rgba(208, 32, 40, 0.75), rgba(208, 32, 40, 0.15));
}

.sec-pillar-left::after {
    left: 100%;
}

.sec-pillar::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--zam-red);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(208, 32, 40, 0.3);
}

.sec-pillar-left::before { left: calc(100% + var(--link-gap) + 14px); }
.sec-pillar-right::before { right: calc(100% + var(--link-gap) + 14px); }

/* Pillars hug the middle, and their wires sit close to the shield's centre line
   so every node lands on the ring whatever the card heights */
.sec-pillar-1,
.sec-pillar-2 { align-self: end; }

.sec-pillar-3,
.sec-pillar-4 { align-self: start; }

.sec-pillar-1::after,
.sec-pillar-2::after { top: auto; bottom: 38px; }

.sec-pillar-1::before,
.sec-pillar-2::before { top: auto; bottom: 34px; margin-top: 0; }

.sec-pillar-3::after,
.sec-pillar-4::after { top: 38px; }

.sec-pillar-3::before,
.sec-pillar-4::before { top: 34px; margin-top: 0; }

/* Hover / focus: the pillar lights up and its wire glows */
.sec-pillar:hover {
    border-color: rgba(208, 32, 40, 0.45);
    background: linear-gradient(145deg, #ffffff 40%, #fff3f3);
    box-shadow: 0 20px 45px rgba(208, 32, 40, 0.14);
}

.sec-pillar-left:hover { transform: translateX(8px); }
.sec-pillar-right:hover { transform: translateX(-8px); }

.sec-pillar:hover::after {
    background: var(--zam-red);
    box-shadow: 0 0 10px rgba(208, 32, 40, 0.5);
}

.sec-pillar:hover .sec-pillar-number {
    -webkit-text-stroke-color: rgba(208, 32, 40, 0.45);
}

.sec-pillar:hover .sec-pillar-icon {
    transform: rotate(-8deg) scale(1.06);
}

/* Large laptops: tighten the spacing */
@media (max-width: 1199px) {
    .sec-approach-grid {
        --hub-size: 250px;
        --link-gap: 48px;
    }

    .sec-approach-ring-inner { inset: 22px; }
    .sec-approach-core { inset: 44px; }
    .sec-approach-core i { font-size: 3.4rem; }

    /* Narrower cards: icon above the text so the text keeps a comfortable width */
    .sec-pillar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .sec-pillar-left {
        flex-direction: column;
        align-items: flex-end;
    }

    .sec-pillar-number {
        font-size: 3.4rem;
    }

    .sec-pillar-body {
        padding-top: 0;
    }
}

/* Tablets and phones: shield on top, pillars chained underneath */
@media (max-width: 991px) {
    .sec-approach {
        padding: 4.5rem 0;
    }

    .sec-approach-header {
        margin-bottom: 3rem;
    }

    .sec-approach-grid {
        --hub-size: 210px;
        --link-gap: 2.75rem;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "hub" "p1" "p2" "p3" "p4";
        row-gap: var(--link-gap);
        max-width: 560px;
        margin: 0 auto;
    }

    .sec-approach-ring-inner { inset: 18px; }
    .sec-approach-core { inset: 36px; }
    .sec-approach-core i { font-size: 2.8rem; }

    .sec-pillar,
    .sec-pillar-left {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .sec-pillar-left .sec-pillar-number,
    .sec-pillar-right .sec-pillar-number {
        left: auto;
        right: 1.25rem;
    }

    /* Vertical wire up to the shield / previous pillar */
    .sec-pillar::after,
    .sec-pillar-left::after,
    .sec-pillar-right::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        right: auto;
        width: 2px;
        height: calc(var(--link-gap) + 2px);
        margin-left: -1px;
        background: linear-gradient(180deg, rgba(208, 32, 40, 0.75), rgba(208, 32, 40, 0.2));
    }

    .sec-pillar::before,
    .sec-pillar-left::before,
    .sec-pillar-right::before {
        top: auto;
        bottom: 100%;
        left: 50%;
        right: auto;
        margin: 0 0 -5px -5px;
    }

    .sec-pillar-left:hover,
    .sec-pillar-right:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 575px) {
    .sec-pillar {
        gap: 1rem;
        padding: 1.4rem 1.25rem;
    }

    .sec-pillar-icon {
        flex-basis: 52px;
        width: 52px;
        height: 60px;
        font-size: 1.3rem;
    }

    .sec-pillar-number {
        font-size: 3.2rem;
    }

    .sec-pillar h3 {
        font-size: 1.02rem;
        letter-spacing: 2px;
    }
}
