/* ============================================================
   services-fixes.css  ·  v2  (aligned to live design)
   Protexive Security Services

   Targets ONLY the inner service pages:
       bank-security.html, escort-guard.html, bouncer-bodyguard.html,
       cash-management.html, dog-squads-service.html, event-security.html,
       tourist-security.html, office-security.html, building-security.html,
       industrial-security.html, retail-security.html, hospital-security.html,
       property-security.html, school-security.html, female-security-guard.html

   ── DOES NOT TOUCH ──
   · index.html                  → no `.security-page` wrapper, no `.testimonialSwiper`
   · security-guard-services.html → no `.security-page` wrapper; only shares
                                    `.cva-faq-*` and `.cta-btn`, which we either
                                    leave alone or scope under `.security-page`.

   Every `.cta-btn`, `.testimonial-card`, etc. rule below is prefixed with
   `.security-page` so it cannot bleed into those two pages.
   `.cva-faq-*` rules are untouched from the version that already works
   on security-guard-services.html.

   ── HOW TO DEPLOY (no HTML edits needed) ──
   Replace your existing  css/services-fixes.css  with this file
   and hard-refresh the browser (Ctrl + F5).
   ============================================================ */

/* ─── 0. PALETTE ──────────────────────────────────────────── */
:root {
    --sp-primary:      #0a3d62;
    --sp-primary-dark: #0e2f5c;
    --sp-blue:         #2456b9;
    --sp-blue-dark:    #1a3f8a;
    --sp-red:          #dc2626;
    --sp-red-dark:     #b91c1c;
    --sp-whatsapp:     #25D366;
    --sp-whatsapp-dk:  #1faa50;
    --sp-text:         #4b5568;
    --sp-muted:        #6b7280;
    --sp-bg:           #f7f9fc;
    --sp-bg-soft:      #f0f4ff;
    --sp-border:       #e5eaf2;
}

/* ─── 0a. PAGE CONTAINER — center & cap width ─────────────── */
/* Inline page styles set padding:60px 20px but no max-width.
   Match the site convention (.top / .top2 / .top3 = 1600px). */
.security-page {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ─── 1. PREMIUM SECTION WRAPPER ──────────────────────────── */
.security-page .premium-section {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ─── 2. SECTION BOX (white card / dark variant) ──────────── */
.security-page .section-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--sp-border);
}
.security-page .section-box h2 {
    font-size: 26px;
    color: var(--sp-primary);
    margin: 0 0 24px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}
.security-page .section-box.dark-bg {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    color: #fff;
    border-color: transparent;
}
.security-page .section-box.dark-bg h2 {
    color: #fff !important;
}
.security-page .center-text {
    text-align: center;
    color: var(--sp-text);
    font-size: 15px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* ─── 3. SECTORS GRID — live design: ONE ROW ──────────────── */
/* auto-fit keeps it adaptive across pages with different counts. */
.security-page .sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.security-page .sector-card {
    background: var(--sp-bg);
    padding: 22px 14px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-primary);
    border: 1px solid var(--sp-border);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: default;
    line-height: 1.4;
}
.security-page .sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(10,61,98,0.12);
    background: #fff;
    border-color: var(--sp-primary);
}

/* ─── 4. TESTIMONIAL SWIPER (inside dark-bg section-box) ──── */
/* Live design: SOLID WHITE cards with dark text, BLUE arrows. */
.security-page .testimonialSwiper {
    padding: 10px 0 60px;
    position: relative;
}
.security-page .testimonialSwiper .swiper-slide {
    height: auto;
}
.security-page .testimonialSwiper .testimonial-card {
    background: #fff;
    border: none;
    padding: 36px 28px;
    border-radius: 12px;
    color: var(--sp-text);
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.security-page .testimonialSwiper .testimonial-card .stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 18px;
    letter-spacing: 2px;
}
.security-page .testimonialSwiper .testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5568;
    margin: 0 0 18px;
    font-style: normal;
    font-weight: 500;
}
.security-page .testimonialSwiper .testimonial-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-primary);
    margin: 0;
}
.security-page .testimonialSwiper .swiper-pagination {
    bottom: 10px;
}
.security-page .testimonialSwiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.45);
    opacity: 1;
    width: 9px; height: 9px;
}
.security-page .testimonialSwiper .swiper-pagination-bullet-active {
    background: var(--sp-blue);
    width: 26px; border-radius: 5px;
}
.security-page .testimonialSwiper .swiper-button-next,
.security-page .testimonialSwiper .swiper-button-prev {
    color: var(--sp-blue);
    width: 40px; height: 40px;
}
.security-page .testimonialSwiper .swiper-button-next::after,
.security-page .testimonialSwiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: 800;
}

/* ─── 5. COMMITMENT SECTION ──────────────────────────────── */
/* Live design: ONE row of cards, each with BIG BLUE GRADIENT CIRCLE icon. */
.security-page .commitment-section {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--sp-border);
}
.security-page .commitment-section h2 {
    font-size: 26px;
    color: var(--sp-primary);
    margin: 0 0 30px;
    text-align: center;
    font-weight: 700;
}
.security-page .commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}
.security-page .commit-card {
    background: var(--sp-bg);
    padding: 42px 18px 26px;        /* extra top so global .icon's -11% pulls in nicely */
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--sp-border);
    transition: transform .25s ease, box-shadow .25s ease;
}
.security-page .commit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(10,61,98,0.10);
}

/* IMPORTANT — DO NOT reset the global .icon rule from home.css.
   The blue gradient circle (90x90, border-radius:50%, blue gradient
   background) is the INTENDED design for these commit cards. We only
   bump font-size so the emoji inside the circle is well sized. */
.security-page .commit-card .icon {
    font-size: 30px;
}
.security-page .commit-card h4 {
    font-size: 16px;
    color: var(--sp-primary);
    margin: 16px 0 8px;
    font-weight: 700;
}
.security-page .commit-card p {
    font-size: 13.5px;
    color: var(--sp-text);
    line-height: 1.55;
    margin: 0;
}

/* ─── 6. CTA PREMIUM — live design: DARK BLUE (not red) ───── */
.security-page .cta-premium {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(10,61,98,0.20);
    position: relative;
    overflow: hidden;
}
.security-page .cta-premium::before {
    content: '';
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 36px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 36px);
    pointer-events: none;
}
.security-page .cta-premium > * { position: relative; z-index: 1; }
.security-page .cta-premium h2 {
    font-size: 26px;
    color: #fff !important;
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.25;
}
.security-page .cta-premium p {
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* WhatsApp Now button — GREEN PILL (was white-with-red-text) */
.security-page .cta-premium .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sp-whatsapp);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;          /* pill shape */
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--sp-whatsapp);
    box-shadow: 0 6px 20px rgba(37,211,102,0.30);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.security-page .cta-premium .cta-btn:hover {
    background: var(--sp-whatsapp-dk);
    border-color: var(--sp-whatsapp-dk);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── 7. CTA MODERN (big features call-out before FAQ) ────── */
.security-page .cta-modern {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    padding: 50px 40px;
    border-radius: 14px;
    text-align: center;
    color: #fff;
    margin: 40px 0;
    box-shadow: 0 12px 32px rgba(10,61,98,0.15);
}
.security-page .cta-modern h2 {
    font-size: 28px;
    color: #fff !important;
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.25;
}
.security-page .cta-modern > p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 28px;
    line-height: 1.6;
    max-width: 640px;
}

/* Live design: 10 features in 2 rows of 5 → grid is 5 columns */
.security-page .cta-modern .cta-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0 0 30px;
    text-align: left;
}
.security-page .cta-modern .cta-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    transition: background .2s ease;
}
.security-page .cta-modern .cta-item:hover {
    background: rgba(255,255,255,0.14);
}
.security-page .cta-modern .cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Request Free Quote — BLUE button (was red) */
.security-page .cta-modern .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sp-blue);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--sp-blue);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.security-page .cta-modern .btn-primary:hover {
    background: var(--sp-blue-dark);
    border-color: var(--sp-blue-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ─── 8. CVA FAQ ACCORDION ───────────────────────────────── */
/* UNTOUCHED from the version that already works on
   security-guard-services.html. Do not edit. */
.cva-faq-wrap {
    background: #fff;
    padding: 60px 20px;
}
.cva-faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.cva-faq-title {
    font-size: 30px;
    text-align: center;
    color: var(--sp-primary, #0a3d62);
    margin: 0 0 36px;
    font-weight: 700;
}
.cva-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cva-faq-item {
    background: #fff;
    border: 1px solid var(--sp-border, #e5eaf2);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.cva-faq-item:hover {
    border-color: rgba(220,38,38,0.4);
}
.cva-faq-item.active {
    border-color: var(--sp-red, #dc2626);
    box-shadow: 0 6px 18px rgba(7,28,60,0.06);
}
.cva-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--sp-primary, #0a3d62);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
    line-height: 1.4;
    transition: color .25s ease;
}
.cva-faq-question:hover,
.cva-faq-item.active .cva-faq-question {
    color: var(--sp-red, #dc2626);
}
.cva-faq-icon {
    color: var(--sp-red, #dc2626);
    font-size: 24px;
    font-weight: 400;
    transition: transform .25s ease;
    flex-shrink: 0;
    line-height: 1;
}
.cva-faq-item.active .cva-faq-icon {
    transform: rotate(45deg);
}
.cva-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.cva-faq-answer p {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--sp-text, #4b5568);
}

/* ─── 9. RESPONSIVE BREAKPOINTS ───────────────────────────── */
@media (max-width: 1100px) {
    .security-page .cta-modern .cta-features {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .security-page .cta-modern { padding: 44px 28px; }
    .cva-faq-title { font-size: 26px; }
}
@media (max-width: 700px) {
    .security-page .cta-modern .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .security-page .cta-modern,
    .security-page .cta-premium { padding: 36px 22px; }
    .security-page .cta-modern h2,
    .security-page .cta-premium h2,
    .cva-faq-title { font-size: 22px; }
    .security-page .section-box,
    .security-page .commitment-section { padding: 28px 20px; }
    .security-page .section-box h2,
    .security-page .commitment-section h2 { font-size: 22px; }
    .security-page .cta-modern .btn-primary,
    .security-page .cta-premium .cta-btn { width: 100%; justify-content: center; }
    .cva-faq-wrap { padding: 44px 16px; }
    .cva-faq-question { font-size: 14.5px; padding: 16px 18px; }
}
@media (max-width: 480px) {
    .security-page .cta-modern .cta-features {
        grid-template-columns: 1fr;
    }
}