/* ==========================================================================
   A-ONE SECURITY & MANPOWER SERVICES - GLOBAL DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. CSS DESIGN SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* ========================================
       A-ONE BRAND COLORS
    ======================================== */

    /* Primary Brand Blue */
    --primary: #2E3192;
    --primary-blue: #2E3192;
    --primary-blue-hover: #252878;
    --primary-blue-dark: #1D2066;

    /* Deep Navy - Header / Footer / Dark Sections */
    --primary-navy: #07152B;
    --primary-dark-navy: #040D1C;

    /* Primary Brand Red */
    --accent: #ED1C24;
    --accent-red: #ED1C24;
    --accent-red-hover: #ED1C24;
    --accent-red-dark: #A90D14;

    /* Backwards compatibility aliases */
    --accent-gold: #ED1C24;
    --accent-amber: #ED1C24;
    --primary-dark-blue: #1D2066;

    /* Success */
    --accent-green: #10B981;
    --accent-green-hover: #059669;


    /* ========================================
       BACKGROUND COLORS
    ======================================== */

    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-slate: #F1F5F9;

    --bg-blue-light: #F3F4FF;
    --bg-red-light: #FFF1F2;

    --bg-navy: #07152B;
    --bg-dark: #040D1C;


    /* ========================================
       TYPOGRAPHY
    ======================================== */

    /* Main headings */
    --text-heading: #2E3192;

    /* Dark headings where blue isn't required */
    --text-heading-dark: #0F172A;

    /* Paragraphs */
    --text-body: #334155;

    /* Secondary text */
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Text on dark backgrounds */
    --text-white: #FFFFFF;

    /* Brand highlight text */
    --text-accent: #ED1C24;


    /* ========================================
       ICON COLORS
    ======================================== */

    --icon-primary: #2E3192;
    --icon-accent: #ED1C24;
    --icon-white: #FFFFFF;

    --icon-bg-blue: rgba(46, 49, 146, 0.10);
    --icon-bg-red: rgba(237, 28, 36, 0.10);


    /* ========================================
       BUTTON COLORS
    ======================================== */

    /* Main CTA */
    --btn-primary-bg: #ED1C24;
    --btn-primary-text: #FFFFFF;
    --btn-primary-hover: #C81018;

    /* Secondary CTA */
    --btn-secondary-bg: #2E3192;
    --btn-secondary-text: #FFFFFF;
    --btn-secondary-hover: #252878;

    /* Outline Button */
    --btn-outline: #2E3192;
    --btn-outline-hover-bg: #2E3192;
    --btn-outline-hover-text: #FFFFFF;


    /* ========================================
       LINKS
    ======================================== */

    --link-color: #2E3192;
    --link-hover: #ED1C24;


    /* ========================================
       BORDERS & DIVIDERS
    ======================================== */

    --border-color: #E2E8F0;
    --border-light: rgba(255, 255, 255, 0.12);

    --border-blue: rgba(46, 49, 146, 0.20);
    --border-red: rgba(237, 28, 36, 0.20);


    /* ========================================
       FONTS
    ======================================== */

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;


    /* ========================================
       SHADOWS
    ======================================== */

    --shadow-sm: 0 2px 8px rgba(7, 21, 43, 0.06);
    --shadow-md: 0 8px 24px rgba(7, 21, 43, 0.10);
    --shadow-lg: 0 16px 40px rgba(7, 21, 43, 0.16);
    --shadow-blue: 0 8px 25px rgba(46, 49, 146, 0.18);
    --shadow-red: 0 8px 25px rgba(237, 28, 36, 0.18);


    /* ========================================
       GRADIENTS
    ======================================== */

    --gradient-navy: linear-gradient(135deg, #07152B 0%, #0B1C38 100%);
    --gradient-blue: linear-gradient(135deg, #2E3192 0%, #1D2066 100%);
    --gradient-red: linear-gradient(135deg, #ED1C24 0%, #C81018 100%);
    --gradient-brand: linear-gradient(135deg, #2E3192 0%, #ED1C24 100%);


    /* ========================================
       TRANSITIONS & BORDER RADIUS
    ======================================== */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-bounce: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & GLOBAL TYPOGRAPHY
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: clip;
    line-height: 1.65;
    font-size: 0.95rem;
}


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

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--link-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   3. CONSISTENT SECTION PADDING & CONTAINERS
   -------------------------------------------------------------------------- */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-padding-sm {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-tag,
.section-badge {
    color: var(--accent-red) !important;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn-primary-custom,
.btn-red,
.btn-gold {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text) !important;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-red);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover,
.btn-red:hover,
.btn-gold:hover {
    background-color: var(--btn-primary-hover);
    color: var(--btn-primary-text) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(237, 28, 36, 0.35);
}

.btn-secondary-custom,
.btn-blue,
.btn-navy {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text) !important;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-blue);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary-custom:hover,
.btn-blue:hover,
.btn-navy:hover {
    background-color: var(--btn-secondary-hover);
    color: var(--btn-secondary-text) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 49, 146, 0.35);
}

.btn-outline-custom,
.btn-outline-navy,
.btn-outline-blue {
    border: 2px solid var(--btn-outline);
    color: var(--btn-outline) !important;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline-custom:hover,
.btn-outline-navy:hover,
.btn-outline-blue:hover {
    background-color: var(--btn-outline-hover-bg);
    color: var(--btn-outline-hover-text) !important;
}

.btn-outline-red {
    border: 2px solid var(--accent-red);
    color: var(--accent-red) !important;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: all var(--transition-normal);
}

.btn-outline-red:hover {
    background-color: var(--accent-red);
    color: var(--text-white) !important;
}

/* --------------------------------------------------------------------------
   5. HEADER & TOP NAVIGATION STYLING
   -------------------------------------------------------------------------- */
.top-info-bar {
    background-color: var(--primary-navy);
    color: #CBD5E1;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-light);
}

.top-info-bar a {
    color: #CBD5E1;
}

.top-info-bar a:hover {
    color: var(--accent-red);
}

.navbar-custom {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar-brand img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 700;
    color: var(--primary-navy) !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-red) !important;
}

/* --------------------------------------------------------------------------
   6. PAGE BANNER COMPONENT
   -------------------------------------------------------------------------- */
.page-banner {
    background: var(--gradient-navy);
    padding: 60px 0;
    color: var(--text-white);
    border-bottom: 4px solid var(--accent-red);
}

.page-banner h1 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. FOOTER STYLING
   -------------------------------------------------------------------------- */
footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding-top: 60px;
    padding-bottom: 25px;
}

footer h6 {
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.footer-link {
    color: var(--text-light);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-red) !important;
    padding-left: 4px;
}

/* --------------------------------------------------------------------------
   8. FORMS & INPUT STYLING
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.15);
    outline: none;
}

/* --------------------------------------------------------------------------
   9. CARDS & GRID LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.card-custom {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-bounce), box-shadow var(--transition-bounce);
}

.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-red);
}

/* Icon box helpers */
.service-icon-badge,
.feature-icon-badge,
.icon-circle-red {
    background-color: #ED1C24 !important;
    color: #FFFFFF !important;
}

.service-icon-badge i,
.feature-icon-badge i,
.icon-circle-red i {
    color: #FFFFFF !important;
}

.icon-red,
.text-icon-red {
    color: #ED1C24 !important;
}

.icon-white,
.text-icon-white {
    color: #FFFFFF !important;
}

.icon-box-blue {
    background: var(--icon-bg-blue);
    color: var(--icon-primary);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-box-red {
    background: var(--icon-bg-red);
    color: var(--icon-accent);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bg-navy {
    background-color: var(--primary-navy) !important;
}

.bg-primary-blue,
.bg-blue {
    background-color: var(--primary-blue) !important;
}

.bg-accent-red,
.bg-red,
.bg-gold {
    background-color: var(--accent-red) !important;
}

.text-primary-blue,
.text-blue {
    color: var(--primary-blue) !important;
}

.text-accent-red,
.text-red,
.text-gold {
    color: var(--accent-red) !important;
}

.text-navy {
    color: var(--primary-navy) !important;
}

/* --------------------------------------------------------------------------
   10. MOBILE STICKY ACTION BAR & RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-navy);
    z-index: 1040;
    display: flex;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-sticky-bar a.btn-whatsapp {
    background: #25D366;
}

.mobile-sticky-bar a.btn-call {
    background: var(--accent-red);
    color: var(--text-white);
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.85rem;
    }

    .page-banner {
        padding: 40px 0;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}