/**
 * Quick Fire Control - ELV Services Stylesheet
 * Shared across:
 *   - cctv.php
 *   - access-control.php
 *   - public-announcement.php
 *   - automation.php
 *
 * Theme Colors:
 *   - Primary Safety Orange: #e84e1b / #ff5722
 *   - Dark Charcoal: #1a1a1a / #222222 / #333333
 *   - Backgrounds: #ffffff / #f8f9fa
 *   - Borders: #edf0f5 / #e2e8f0
 */

/* ==========================================================================
   1. Hero Banner / Breadcrumb
   ========================================================================== */
.elv-hero-banner {
    position: relative;
    padding: 95px 0 90px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.elv-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 18, 22, 0.93) 0%, rgba(28, 30, 36, 0.96) 100%);
    z-index: 1;
}

.elv-hero-banner .container {
    position: relative;
    z-index: 2;
}

.elv-hero-banner .hero-service-badge {
    display: inline-block;
    background: rgba(232, 78, 27, 0.2);
    color: #ff6a3c;
    border: 1px solid rgba(232, 78, 27, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.elv-hero-banner .hero-title {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-family: "Onest", sans-serif;
    line-height: 1.2;
}

.elv-hero-banner .hero-tagline {
    color: #ffd2c2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: "Onest", sans-serif;
}

.elv-hero-banner .hero-subtitle {
    color: #d1d5db;
    font-size: 16px;
    max-width: 720px;
    margin: 0 auto 22px;
    line-height: 26px;
}

.elv-hero-banner .hero-breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.elv-hero-banner .hero-breadcrumb li {
    font-size: 14px;
    color: #e5e7eb;
    display: flex;
    align-items: center;
}

.elv-hero-banner .hero-breadcrumb li a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.elv-hero-banner .hero-breadcrumb li a:hover {
    color: #ff5722;
}

.elv-hero-banner .hero-breadcrumb li.separator {
    margin: 0 10px;
    color: #e84e1b;
    font-size: 12px;
}

.elv-hero-banner .hero-breadcrumb li.active {
    color: #ff7a45;
    font-weight: 700;
}

/* ==========================================================================
   2. Shared Section Layouts & Typography
   ========================================================================== */
.elv-section {
    padding: 80px 0;
    position: relative;
}

.elv-section-white {
    background-color: #ffffff;
}

.elv-section-light {
    background-color: #f8f9fa;
}

.elv-section-tag {
    display: inline-block;
    color: #e84e1b;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.elv-section-tag::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 2px;
    background: #e84e1b;
    vertical-align: middle;
    margin-left: 10px;
}

.elv-heading-main {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    font-family: "Onest", sans-serif;
}

.elv-heading-main span {
    color: #e84e1b;
}

.elv-decor-bar {
    width: 60px;
    height: 4px;
    background: #e84e1b;
    border-radius: 2px;
    margin-bottom: 24px;
}

.elv-decor-bar.center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   3. Service Overview & Two-Column Split
   ========================================================================== */
.elv-overview-content p {
    color: #555555;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.elv-tagline-quote {
    background: #fff8f5;
    border-left: 4px solid #e84e1b;
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    margin: 22px 0 26px;
    font-size: 16px;
    font-weight: 700;
    color: #e84e1b;
    line-height: 1.5;
    box-shadow: 0 3px 10px rgba(232, 78, 27, 0.05);
}

.elv-checklist {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.elv-checklist li {
    display: flex;
    align-items: flex-start;
    color: #333333;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
}

.elv-checklist li i {
    color: #e84e1b;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Specifications / Key Points Box */
.elv-specs-box {
    background: #fbfcfd;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    padding: 22px 24px;
    margin-top: 25px;
}

.elv-specs-box h5 {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.elv-specs-box h5 i {
    color: #e84e1b;
    margin-right: 8px;
}

.elv-specs-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Overview Section CTA Actions */
.elv-overview-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 10px;
}

.btn-elv-primary {
    background: #e84e1b;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(232, 78, 27, 0.28);
}

.btn-elv-primary:hover {
    background: #cf3e0f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 78, 27, 0.4);
}

.btn-elv-secondary {
    background: #ffffff;
    color: #1a1a1a !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1.5px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-elv-secondary:hover {
    background: #f8fafc;
    border-color: #e84e1b;
    color: #e84e1b !important;
    transform: translateY(-2px);
}

.btn-elv-whatsapp-outline {
    background: #ffffff;
    color: #128c7e !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1.5px solid #25d366;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-elv-whatsapp-outline:hover {
    background: #25d366;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

/* Sticky Consultation / Quick Quote Card (Right Column) */
.elv-sticky-card {
    position: sticky;
    top: 95px;
    background: #ffffff;
    border-radius: 12px;
    padding: 34px 28px;
    border: 1px solid #edf0f5;
    border-top: 4px solid #e84e1b;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    z-index: 10;
}

.elv-sticky-card .card-head {
    margin-bottom: 22px;
}

.elv-sticky-card .card-head h4 {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: "Onest", sans-serif;
}

.elv-sticky-card .card-head p {
    color: #777777;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.elv-quote-form .form-group {
    margin-bottom: 16px;
}

.elv-quote-form .form-label {
    display: block;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.elv-quote-form .form-label span.req {
    color: #e84e1b;
    margin-left: 2px;
}

.elv-quote-form .form-control,
.elv-quote-form .custom-select {
    width: 100%;
    height: 45px;
    background: #fbfcfd;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    color: #333333;
    transition: all 0.25s ease;
}

.elv-quote-form textarea.form-control {
    height: auto;
    min-height: 95px;
    resize: vertical;
}

.elv-quote-form .form-control:focus,
.elv-quote-form .custom-select:focus {
    background: #ffffff;
    border-color: #e84e1b;
    box-shadow: 0 0 0 3px rgba(232, 78, 27, 0.12);
    outline: none;
}

.elv-quote-form .btn-submit-quote {
    background: linear-gradient(135deg, #e84e1b 0%, #ff5722 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(232, 78, 27, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none !important;
}

.elv-quote-form .btn-submit-quote:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #292929 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.elv-quote-form .btn-submit-quote i {
    margin-left: 8px;
}

.elv-quick-call-note {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e5e9f0;
    font-size: 13px;
    color: #666;
}

.elv-quick-call-note a {
    color: #e84e1b;
    font-weight: 700;
    text-decoration: none;
}

.elv-quick-call-note a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   4. Key Features & System Capabilities (Feature Cards)
   ========================================================================== */
.elv-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid #edf0f5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.elv-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e84e1b, #ff5722);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elv-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(232, 78, 27, 0.1);
    border-color: #ffd8cc;
}

.elv-feature-card:hover::before {
    opacity: 1;
}

.elv-feature-card .icon-box {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: #fff5f0;
    color: #e84e1b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    border: 1px solid #fedcd2;
    transition: all 0.3s ease;
}

.elv-feature-card:hover .icon-box {
    background: #e84e1b;
    color: #ffffff;
    border-color: #e84e1b;
    transform: scale(1.08);
}

.elv-feature-card h4 {
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: "Onest", sans-serif;
    line-height: 1.35;
}

.elv-feature-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* ==========================================================================
   5. Applications & Industries Served
   ========================================================================== */
.elv-app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.elv-app-badge {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 14px 18px;
    text-align: center;
    border: 1px solid #edf0f5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.elv-app-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(232, 78, 27, 0.1);
    border-color: #ffd8cc;
}

.elv-app-badge .badge-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.elv-app-badge:hover .badge-icon {
    transform: scale(1.1);
    background: #fff4ef;
}

.elv-app-badge .badge-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.elv-app-badge span {
    color: #222222;
    font-size: 13.5px;
    font-weight: 700;
    font-family: "Onest", sans-serif;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.elv-app-badge:hover span {
    color: #e84e1b;
}

/* ==========================================================================
   6. ELV Services Cross-Navigation Cards
   ========================================================================== */
.elv-crossnav-section {
    padding: 70px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #edf0f5;
}

.elv-crossnav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.elv-crossnav-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 20px;
    border: 1px solid #edf0f5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.elv-crossnav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e84e1b;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elv-crossnav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #ffd8cc;
}

.elv-crossnav-card:hover::before {
    opacity: 1;
}

.elv-crossnav-card.active {
    background: #fff8f5;
    border-color: #ffd8cc;
}

.elv-crossnav-card.active::before {
    opacity: 1;
}

.elv-crossnav-card .card-top {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.elv-crossnav-card .card-top i {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #fff5f0;
    color: #e84e1b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.elv-crossnav-card:hover .card-top i {
    background: #e84e1b;
    color: #ffffff;
}

.elv-crossnav-card.active .card-top i {
    background: #e84e1b;
    color: #ffffff;
}

.elv-crossnav-card h5 {
    color: #1a1a1a;
    font-size: 15.5px;
    font-weight: 700;
    margin: 0;
    font-family: "Onest", sans-serif;
    line-height: 1.35;
}

.elv-crossnav-card p {
    color: #777777;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.elv-crossnav-card .current-pill {
    display: inline-block;
    align-self: flex-start;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e84e1b;
    background: #ffebe5;
    padding: 2px 10px;
    border-radius: 12px;
}

/* ==========================================================================
   7. Bottom Call to Action (CTA) Banner
   ========================================================================== */
.elv-cta-banner {
    background: linear-gradient(135deg, #e84e1b 0%, #ff5722 100%);
    padding: 65px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.elv-cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.elv-cta-banner .cta-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    font-family: "Onest", sans-serif;
}

.elv-cta-banner .cta-desc {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.elv-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-elv-cta-white {
    background: #ffffff;
    color: #e84e1b !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-elv-cta-white i {
    margin-left: 8px;
}

.btn-elv-cta-white:hover {
    background: #1a1a1a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn-elv-cta-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-elv-cta-whatsapp i {
    margin-right: 8px;
    font-size: 18px;
}

.btn-elv-cta-whatsapp:hover {
    background: #1ebd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-elv-cta-outline {
    background: transparent;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-elv-cta-outline i {
    margin-right: 8px;
}

.btn-elv-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */
@media only screen and (max-width: 1199px) {
    .elv-heading-main {
        font-size: 32px;
    }
    .elv-hero-banner .hero-title {
        font-size: 38px;
    }
    .elv-crossnav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .elv-app-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 991px) {
    .elv-section {
        padding: 60px 0;
    }
    .elv-hero-banner {
        padding: 70px 0 65px;
    }
    .elv-hero-banner .hero-title {
        font-size: 32px;
    }
    .elv-heading-main {
        font-size: 28px;
    }
    .elv-sticky-card {
        position: static;
        margin-top: 40px;
    }
    .elv-checklist {
        grid-template-columns: 1fr;
    }
    .elv-app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .elv-cta-actions {
        justify-content: flex-start;
        margin-top: 25px;
    }
}

@media only screen and (max-width: 767px) {
    .elv-hero-banner .hero-title {
        font-size: 26px;
    }
    .elv-hero-banner .hero-tagline {
        font-size: 16px;
    }
    .elv-hero-banner .hero-subtitle {
        font-size: 14px;
    }
    .elv-heading-main {
        font-size: 24px;
    }
    .elv-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .elv-crossnav-grid {
        grid-template-columns: 1fr;
    }
    .elv-cta-banner .cta-title {
        font-size: 24px;
    }
    .elv-overview-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .elv-overview-actions .btn-elv-primary,
    .elv-overview-actions .btn-elv-secondary,
    .elv-overview-actions .btn-elv-whatsapp-outline {
        width: 100%;
        justify-content: center;
    }
    .btn-elv-cta-white,
    .btn-elv-cta-whatsapp,
    .btn-elv-cta-outline {
        width: 100%;
        justify-content: center;
    }
}
