
/* =========================================
   SOLUTIONS HERO SECTION
========================================== */
.solutions-hero {
    background-color: #eef3f8;
    padding: 0px 0;
}

.solutions-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.solutions-hero-text { max-width: 620px; }

.solutions-hero-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: none;
    
}

.solutions-hero-title .text-orange { color: var(--primary-orange); }

.solutions-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 520px;
}

.solutions-hero-features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
}

.solutions-hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 10px 10px;
}

.solutions-hero-feature p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.4;
    margin: 0;
}

.solutions-hero-feature p strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
}

.solutions-hero-icon {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1;
}

.solutions-hero-divider {
    width: 1px;
    background-color: #e0e0e0;
    margin: 15px 0;
    flex-shrink: 0;
}

/* =========================================
   SECTION 2: PRODUCTS & SERVICES GRID
========================================== */
.solutions-products {
    background-color: var(--white);
    padding: 40px 0 80px 0;
}

.solutions-products-header {
    text-align: center;
    margin-bottom: 50px;
}

.solutions-products-header .section-label {
    color: var(--primary-orange);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.solutions-products-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.1;
}

.solutions-products-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   10-CARD GRID
========================================== */
.solutions-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* =========================================
   CARD CONTAINER — Fixed height for overlay
========================================== */
.solutions-product-card {
    position: relative;         /* Needed for the absolute overlay */
    background-color: #f2f8fd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    height: 320px;              /* Fixed height so overlay fits */
    transition: box-shadow 0.3s ease;
}

.solutions-product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================
   FRONT: Normal Card Content (Always Visible)
========================================== */
.solutions-product-front {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solutions-product-img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    padding: 10px;
    background-color: #f2f8fd;
}

.solutions-product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solutions-product-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.solutions-product-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
}

.solutions-product-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

/* =========================================
   HOVER DETAILS OVERLAY
   Hidden by default, covers the card on hover
========================================== */
.solutions-product-details {
    position: absolute;         /* Overlays on top of the card */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    opacity: 0;                 /* Hidden by default */
    visibility: hidden;         /* Not clickable when hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2;
}

.solutions-product-card:hover .solutions-product-details {
    opacity: 1;                 /* Shows on hover */
    visibility: visible;
}

/* Details Layout: image on top, text below */
.solutions-product-details-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.solutions-product-details-body {
    padding: 15px;
    overflow-y: auto;           /* Scroll if text is too long */
    flex-grow: 1;
}

.solutions-product-details-body h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 8px;
    line-height: 1.2;
}

.solutions-product-details-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
}

/* Custom scrollbar for the details (optional) */
.solutions-product-details-body::-webkit-scrollbar {
    width: 4px;
}
.solutions-product-details-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.solutions-product-details-body::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 2px;
}

/* =========================================
   SECTION 3: WHY CHOOSE ALARMNET
========================================== */
.solutions-why {
    background-color: #eef3f8;    /* Bluish-gray background */
    padding: 60px 0;
}

.solutions-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

/* =========================================
   LEFT: Text Content
========================================== */
.solutions-why-text {
    max-width: 480px;
}

.solutions-why-text .section-label {
    color: var(--primary-orange);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.solutions-why-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.15;
    margin-bottom: 15px;
}

.solutions-why-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   RIGHT: 4 Feature Items with Dividers
========================================== */
.solutions-why-features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
}

.solutions-why-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.solutions-why-icon {
    font-size: 38px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1;
}

.solutions-why-feature p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
    margin: 0;
}

.solutions-why-divider {
    width: 1px;
    background-color: #c9d6e2;
    margin: 5px 0;
    flex-shrink: 0;
}

/* =========================================
   RESPONSIVE FOR SECTION 3
========================================== */
@media (max-width: 992px) {
    .solutions-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .solutions-why-text {
        max-width: 100%;
        text-align: center;
    }
    .solutions-why-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .solutions-why-features {
        flex-wrap: wrap;
        gap: 20px;
    }
    .solutions-why-feature {
        flex: 0 0 45%;
    }
    .solutions-why-divider {
        display: none;
    }
}

/* =========================================
   RESPONSIVE
========================================== */
@media (max-width: 1200px) {
    .solutions-products-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .solutions-hero { padding: 60px 0; }
    .solutions-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .solutions-hero-title { font-size: 32px; }
    .solutions-hero-desc { max-width: 100%; }
    .solutions-hero-features { justify-content: space-around; flex-wrap: wrap; }
    .solutions-products { padding: 40px 0 60px 0; }
    .solutions-products-title { font-size: 30px; }
    .solutions-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .solutions-products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .solutions-hero-title { font-size: 26px; }
    .solutions-hero-features { flex-direction: column; gap: 25px; }
    .solutions-hero-divider { width: 60px; height: 1px; margin: 0 auto; }
    .solutions-hero-feature { padding: 0; }
    .solutions-products-title { font-size: 24px; }
    .solutions-products-grid { grid-template-columns: 1fr; }
}