/**
 * Quick Fire Control - Contact Us Page Styles
 * Primary Orange: #e84e1b / #ff5722
 * Dark Elements: #1a1a1a / #222222 / #333333
 * Light Backgrounds: #f8f9fa / #ffffff
 */

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

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

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

.contact-hero-banner .hero-title {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-family: "Onest", sans-serif;
}

.contact-hero-banner .hero-subtitle {
    color: #d1d5db;
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 26px;
}

.contact-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 22px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

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

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

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

/* ==========================================================================
   2. Contact Info Cards Grid (3 Highlight Cards)
   ========================================================================== */
.contact-cards-section {
    padding: 70px 0 35px;
    background-color: #f8f9fa;
    position: relative;
    z-index: 5;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid #edf0f5;
    border-top: 4px solid #e84e1b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(232, 78, 27, 0.12);
    border-color: #ffd8cc;
    border-top-color: #e84e1b;
}

.contact-info-card .card-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff5f0;
    color: #e84e1b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    border: 2px dashed #fcdad1;
    transition: all 0.3s ease;
}

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

.contact-info-card h4 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: "Onest", sans-serif;
}

.contact-info-card .card-subtitle {
    color: #777777;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.contact-info-card .card-content-links {
    margin-top: auto;
    width: 100%;
}

.contact-info-card .contact-link {
    display: block;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.25s ease;
    margin-bottom: 4px;
}

.contact-info-card .contact-link:hover {
    color: #e84e1b;
}

.contact-info-card .contact-address-text {
    color: #444444;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

.contact-info-card .branch-divider {
    height: 1px;
    background: #edf0f5;
    margin: 12px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   3. Main Contact Form & Direct Info Section
   ========================================================================== */
.contact-main-section {
    padding: 45px 0 85px;
    background-color: #f8f9fa;
}

/* Form Container */
.contact-form-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 42px 38px;
    border: 1px solid #edf0f5;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form-box .form-header {
    margin-bottom: 28px;
}

.contact-form-box .form-tag {
    display: inline-block;
    color: #e84e1b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.contact-form-box .form-title {
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: "Onest", sans-serif;
}

.contact-form-box .form-desc {
    color: #666666;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* Form Elements */
.contact-custom-form .form-group {
    margin-bottom: 20px;
}

.contact-custom-form .form-label {
    display: block;
    color: #333333;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 7px;
}

.contact-custom-form .form-label span.req {
    color: #e84e1b;
    margin-left: 3px;
}

.contact-custom-form .form-control,
.contact-custom-form .custom-select {
    width: 100%;
    height: 48px;
    background: #fbfcfd;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14.5px;
    color: #333333;
    font-family: inherit;
    transition: all 0.25s ease;
}

.contact-custom-form textarea.form-control {
    height: auto;
    min-height: 130px;
    resize: vertical;
}

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

.contact-custom-form .form-control::placeholder {
    color: #a0aec0;
    font-size: 14px;
}

/* Submit Button */
.btn-submit-inquiry {
    background: linear-gradient(135deg, #e84e1b 0%, #ff5722 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 14px 34px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(232, 78, 27, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-inquiry i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.btn-submit-inquiry:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   4. Direct Info & Quick Contact Card (Right 5 Columns)
   ========================================================================== */
.contact-info-panel {
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 12px;
    padding: 42px 34px;
    border-top: 4px solid #e84e1b;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-info-panel::after {
    content: "\f023";
    font-family: "FontAwesome";
    position: absolute;
    bottom: -35px;
    right: -25px;
    font-size: 160px;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.contact-info-panel .panel-company-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: "Onest", sans-serif;
}

.contact-info-panel .panel-tagline {
    color: #e84e1b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: block;
}

.contact-info-panel .info-group-box {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.contact-info-panel .info-group-header {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-panel .info-group-header i {
    color: #e84e1b;
    font-size: 17px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info-panel .info-group-content {
    padding-left: 30px;
    color: #b3b9c2;
    font-size: 13.5px;
    line-height: 1.65;
}

.contact-info-panel .info-group-content strong {
    color: #ffffff;
}

/* Emergency Notice Card */
.emergency-notice-pill {
    background: rgba(232, 78, 27, 0.12);
    border: 1px solid rgba(232, 78, 27, 0.35);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.emergency-notice-pill .pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: #e84e1b;
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(232, 78, 27, 0.7);
    animation: emergencyPulse 1.8s infinite;
}

@keyframes emergencyPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 78, 27, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(232, 78, 27, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 78, 27, 0);
    }
}

.emergency-notice-pill .emergency-text {
    font-size: 13px;
    line-height: 1.55;
    color: #f1f3f5;
    margin: 0;
}

.emergency-notice-pill .emergency-text strong {
    color: #ff6f3c;
    display: block;
    margin-bottom: 2px;
}

/* WhatsApp Button */
.btn-whatsapp-panel {
    background: #25d366;
    color: #ffffff !important;
    border-radius: 30px;
    padding: 13px 24px;
    font-size: 14.5px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.btn-whatsapp-panel i {
    font-size: 20px;
    margin-right: 8px;
}

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

/* ==========================================================================
   5. Interactive Google Map Section
   ========================================================================== */
.contact-map-wrapper {
    position: relative;
    width: 100%;
    background: #e5e9f0;
    line-height: 0;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.map-location-badge {
    position: absolute;
    bottom: 25px;
    left: 30px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 8px;
    border-left: 4px solid #e84e1b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 10;
    line-height: 1.4;
}

.map-location-badge h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.map-location-badge p {
    color: #b0b5bd;
    font-size: 12px;
    margin: 0;
}

/* ==========================================================================
   6. Alert Message Styling
   ========================================================================== */
.contact-alert {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14.5px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.contact-alert i {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-alert-success {
    background-color: #edfbf2;
    border: 1px solid #b7ebd0;
    color: #1a7f45;
}

.contact-alert-danger {
    background-color: #fdf2f2;
    border: 1px solid #f9c7c7;
    color: #b91c1c;
}

/* ==========================================================================
   7. Responsive Media Queries
   ========================================================================== */
@media only screen and (max-width: 991px) {
    .contact-hero-banner {
        padding: 70px 0 65px;
    }
    .contact-hero-banner .hero-title {
        font-size: 36px;
    }
    .contact-cards-section {
        padding: 50px 0 20px;
    }
    .contact-info-card {
        margin-bottom: 25px;
    }
    .contact-main-section {
        padding: 30px 0 65px;
    }
    .contact-form-box {
        padding: 32px 24px;
        margin-bottom: 35px;
    }
    .contact-info-panel {
        padding: 32px 24px;
    }
    .contact-map-wrapper iframe {
        height: 380px;
    }
    .map-location-badge {
        left: 15px;
        bottom: 15px;
        padding: 10px 16px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-hero-banner .hero-title {
        font-size: 28px;
    }
    .contact-hero-banner .hero-subtitle {
        font-size: 15px;
    }
    .contact-form-box .form-title {
        font-size: 24px;
    }
    .btn-submit-inquiry {
        width: 100%;
    }
    .map-location-badge {
        display: none;
    }
}
