/* =========================================
   1. VARIABLES & GLOBAL RESET
========================================== */
:root {
    --primary-blue: #003366;
    --primary-orange: #f37021;
    --dark-bg: #0a1628;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
}

a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1350px; margin: 0 auto; padding: 0 20px; }

/* Typography Utility Classes */
.section-label {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.btn-primary { background-color: var(--primary-orange); color: var(--white); border: 1px solid var(--primary-orange); }
.btn-primary:hover { background-color: #d15d16; border-color: #d15d16; }
.btn-outline { background-color: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--dark-bg); }
.btn-outline-orange { background-color: transparent; color: var(--primary-orange); border: 1px solid var(--primary-orange); padding: 10px 20px; }
.btn-outline-orange:hover { background-color: var(--primary-orange); color: var(--white); }

/* =========================================
   3. HERO SECTION
========================================== */
.hero-section {
    position: relative;
    background-color: var(--dark-bg);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: left center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.7) 50%, rgba(10,22,40,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}

.hero-text {
    max-width: 650px;
    color: var(--white);
    margin-left: -50px;
}

.hero-text .sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #e0e0e0;
    margin-left: -5px;
}

.hero-text h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-orange);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 35px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 55px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

/* =========================================
   ADJUST HERO FEATURE ICON SIZE HERE
   (Used by 245_monitoring.png and trusted.png)
========================================== */
.feature-icon-img {
    width: 50px;   /* <-- ADJUST WIDTH HERE */
    height: 50px;  /* <-- ADJUST HEIGHT HERE */
    object-fit: contain;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text span {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
}

.hero-graphic {
    position: absolute;
    bottom: -40px;
    right: -150px;
    z-index: 20;
}

.hero-graphic img {
    max-width: 300px;
}

/* =========================================
   4. PROTECTION SECTION
========================================== */
.protection-section { 
    padding: 60px 0; 
    background-color: var(--white); 
}

.protection-grid { 
    display: grid; 
    grid-template-columns: 1.4fr 0.8fr .8fr; 
    gap: 20px; 
    align-items: center; 
}

.protection-left { margin-left: -10px; }
.protection-right { margin-right: -80px; }

.protection-left .section-title {
    white-space: nowrap; 
    font-size: 38px; 
}

/* Left Column: Process Steps */
.process-steps { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-top: 30px; 
}

.step { flex: 1; text-align: left; }

/* =========================================
   ADJUST STEP ICON SIZE HERE
   (Now has BLUE CIRCLE background)
========================================== */
.step-icon-img {
    width: 60px;                     /* <-- CIRCLE WIDTH */
    height: 60px;                    /* <-- CIRCLE HEIGHT */
    background-color: #003366;       /* <-- CIRCLE BACKGROUND COLOR (Blue) */
    border-radius: 50%;              /* <-- Makes it a perfect circle */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 12px;
    padding: 14px;                   /* <-- Space between icon and circle edge */
    box-sizing: border-box;
}

.step-icon-img img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    /* Optional: If you want to color the icon white, use this filter: */
    /* filter: brightness(0) invert(1); */
}

.step h3 { 
    font-family: 'League Spartan', sans-serif;
    font-size: 16px; 
    color: var(--primary-blue); 
    margin-bottom: 6px; 
    font-weight: 800; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.step p { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    font-weight: 700;
    color: var(--primary-blue); 
    line-height: 1.4;
    max-width: 90%;
}

/* =========================================
   ARROW STYLING
========================================== */
.step-arrow { 
    color: var(--primary-blue);      /* <-- ARROW COLOR */
    font-size: 20px;                 /* <-- ARROW SIZE */
    font-weight: 700;                /* <-- ARROW THICKNESS */
    margin: 10px 50px 0;              /* <-- POSITION */
    opacity: 1; 
    flex-shrink: 0;
}

/* Middle Column: Map Background */
.protection-middle {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -200px;
    margin-right: -12px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.map-bg {
    width: 150%;
    height: 150%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Right Column: Clients Info */
.protection-right { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.clients-info h3 { 
    font-size: 18px; 
    color: var(--primary-blue); 
    margin-bottom: 8px; 
    font-weight: 800; 
    line-height: 1.2;
}

.clients-info p { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    color: var(--text-light); 
    margin-bottom: 15px; 
    line-height: 1.5;
}

.legend { margin-bottom: 20px; }

.legend li {
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    display: flex; 
    align-items: center;
    gap: 8px; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: var(--primary-blue);
}

/* =========================================
   ADJUST PIN ICON SIZE HERE
========================================== */
.pin-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.pin-img img {
    width: 230%;
    height: 230%;
    object-fit: contain;
}

/* Info Boxes */
.info-boxes { display: flex; gap: 10px; }

.info-box {
    background-color: #f0f4f8; 
    padding: 12px; 
    border-radius: 8px; 
    flex: 1; 
    font-size: 11px;
    color: var(--text-light); 
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

/* =========================================
   ADJUST INFO BOX ICON SIZE HERE
========================================== */
.info-icon-img {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-icon-img img {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

/* =========================================
   FLATICON STYLING FOR INFO BOXES
   (Used by fi-sr-marker)
========================================== */
.info-icon-font {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-icon-font i {
    font-size: 22px;              /* <-- CHANGE SIZE HERE */
    color: var(--primary-blue);   /* <-- CHANGE COLOR HERE */
    line-height: 1;
}

.info-text { display: flex; flex-direction: column; }

.info-box strong { 
    display: block; 
    font-size: 14px; 
    color: var(--primary-blue); 
    margin-bottom: 2px; 
    font-family: 'League Spartan', sans-serif; 
}

/* =========================================
   5. SOLUTIONS SECTION
========================================== */
.solutions-section { 
    background-color: var(--dark-bg); 
    padding: 25px 0; 
    color: var(--white); 
}

/* =========================================
   ADJUST THE HEADER COLUMN WIDTHS HERE
========================================== */
.solutions-header { 
    display: grid; 
    grid-template-columns: 1.5fr 1.9fr 0.7fr; 
    gap: 25px;                                  
    align-items: flex-end;                      
    margin-bottom: 50px;                        
}

.solutions-title { 
    max-width: 100%; 
    overflow: hidden; 
}

.solutions-title .section-label { 
    color: var(--white); 
}

.solutions-title .section-title {
    color: var(--white);
    font-size: 28px;         
    white-space: nowrap;     
    line-height: 1.2;
    margin-bottom: 5px;
}

.text-orange {
    color: var(--primary-orange);
}

.solutions-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #a0aec0;
    margin-top: 5px;
}

/* =========================================
   ADJUST MIDDLE DESCRIPTION POSITION HERE
========================================== */
.solutions-desc { 
    max-width: 100%; 
    text-align: left;           
    padding-left: 0px;          
    padding-right: 0px;         
    align-self: center;         
    /* You can also add:
       margin-top: 20px;
       margin-left: -20px;
       margin-bottom: 10px;
    */
}

.solutions-desc p { 
    font-family: 'Montserrat', sans-serif; 
    color: #a0aec0; 
    margin-bottom: 0; 
    font-size: 14px; 
    line-height: 1.6;
}

/* =========================================
   ADJUST BUTTON POSITION HERE
   (Use margins to nudge it up/down/left/right)
========================================== */
.solutions-btn {
    display: flex;
    justify-content: flex-end;  
    align-items: flex-end;      
    
    /* MANUALLY NUDGE THE BUTTON: */
    margin-top: 0px;            /* Negative = up */
    margin-bottom: 30px;         /* Negative = down */
    margin-left: 0px;           /* Negative = left */
    margin-right: 0px;          /* Negative = right */
    padding-bottom: 0px;        
}

/* =========================================
   ADJUST THE CARD GRID HERE
========================================== */
.solutions-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 15px;                              
}

.solution-card {
    background-color: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    color: var(--text-dark);
    display: flex; 
    flex-direction: column;
    
    /* HOVER EFFECT: Smooth transition */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =========================================
   HOVER EFFECT: Card expands slightly
========================================== */
.solution-card:hover {
    transform: scale(1.05);                  /* Expands by 5% */
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); /* Adds shadow */
    z-index: 10;
}

/* =========================================
   ADJUST THE CARD IMAGE HERE
   (Use object-position to move image inside)
========================================== */
.solution-card img { 
    width: 160%;                
    height: 160px;              
    object-fit: cover;          
    
    /* MOVE IMAGE MANUALLY (Format: Horizontal Vertical) */
    object-position:-55px -10px;   
    
    /* You can also use percentages:
       object-position: 50% 50%; (horizontal vertical) 
       0% = left/top, 100% = right/bottom */
}

.card-body { 
    padding: 15px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.card-body h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 14px; 
    color: var(--primary-blue); 
    margin-bottom: 10px; 
    display: flex;
    align-items: center; 
    gap: 6px; 
    line-height: 1.3;
    font-weight: 800;
}

.card-body h3 i {
    font-size: 16px;
    color: var(--primary-blue);
}

.card-body p { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 11px; 
    color: var(--text-light); 
    margin-bottom: 15px; 
    flex-grow: 1; 
}

.learn-more { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 12px; 
    color: var(--primary-blue); 
    font-weight: 700; 
    text-decoration: underline; 
}

/* =========================================
   6. WHY ALARMNET SECTION
========================================== */
.why-section { 
    position: relative;
    padding: 30px 3%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    min-height: 50px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

/* =========================================
   LEFT TEXT POSITION
========================================== */
.why-left {
    position: relative;
    z-index: 2;
    width: 48%;
    max-width: 620px;
    
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: -10px;
    margin-right: -250px;
}

.why-left .section-title {
    color: var(--primary-blue);
    font-size: 30px;
    white-space: nowrap;
}

/* =========================================
   FEATURES: Icon on TOP, Text BELOW
========================================== */
.why-features { 
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
}

.why-feature { 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

/* =========================================
   ADJUST ICON SIZE HERE (Now an image)
========================================== */
.why-feature-icon {
    width: 80px;              /* <-- CHANGE ICON WIDTH HERE */
    height: 80px;             /* <-- CHANGE ICON HEIGHT HERE */
    object-fit: contain;      /* <-- Keeps aspect ratio */
    margin-bottom: 8px;       /* <-- SPACE BETWEEN ICON AND TEXT */
    display: block;
}

.why-feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.why-feature-text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.3;
}

.why-feature-text span {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.3;
}

/* =========================================
   MIDDLE: Logo + Since 1996
========================================== */
.why-middle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 80px;
    flex-shrink: 0;
}

.why-middle-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -40px;
}

.why-middle-since {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
    margin: 0;
}

/* =========================================
   RIGHT TEXT POSITION
========================================== */
.why-right {
    position: relative;
    z-index: 2;
    width: 25%;
    max-width: 320px;
    color: var(--white);
    text-align: left;
    
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: -110px;
}

.why-right h3 { 
    font-family: 'League Spartan', sans-serif;
    color: var(--primary-orange); 
    font-size: 28px; 
    line-height: 1.1; 
    margin-bottom: 12px;
    font-weight: 800;
}

.why-right p { 
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; 
    line-height: 1.6;
    color: #e0e0e0;
}

/* =========================================
   7. RESPONSIVE DESIGN
========================================== */
@media (max-width: 1200px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================
   SECTION 4: WHY ALARMNET — RESPONSIVE
========================================== */
@media (max-width: 1200px) {
    .why-left {
        margin-right: -100px;
    }
    .why-middle {
        margin-right: 30px;
    }
    .why-right {
        margin-right: -40px;
    }
}

@media (max-width: 992px) {
    .why-section {
        flex-direction: column;
        padding: 50px 5%;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .why-left {
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .why-left .section-title {
        white-space: normal;
        font-size: 28px;
    }

    .why-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }

    .why-feature {
        flex: 0 0 45%;
        max-width: 160px;
    }

    .why-feature-icon {
        width: 70px;
        height: 70px;
    }

    .why-middle {
        margin: 0;
        order: -1;
    }

    .why-middle-logo {
        max-width: 180px;
    }

    .why-right {
        width: 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .why-right p br {
        display: none;
    }
}

@media (max-width: 576px) {
    .why-section {
        padding: 40px 4%;
    }

    .why-left .section-title {
        font-size: 22px;
    }

    .why-features {
        gap: 20px;
    }

    .why-feature {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .why-feature-icon {
        width: 60px;
        height: 60px;
    }

    .why-middle-logo {
        max-width: 150px;
    }

    .why-right h3 {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .hero-text h1 { font-size: 48px; }
    .protection-grid { grid-template-columns: 1fr; }
    .protection-right { margin-top: 40px; }
    .solutions-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .solutions-desc { text-align: left; }
    .why-grid { grid-template-columns: 1fr; }
    .why-graphic { grid-column: 1 / -1; clip-path: none; height: 300px; margin-top: 30px;}
}

@media (max-width: 768px) {
    .nav-menu { flex-wrap: wrap; justify-content: center; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { margin-left: 0; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-features { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .hero-graphic { display: none; }
    .process-steps { flex-direction: column; gap: 20px; }
    .step-arrow { transform: rotate(90deg); margin: 0 auto; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .solutions-grid { grid-template-columns: 1fr; }
    .info-boxes { flex-direction: column; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; margin-bottom: 10px; }
}