/*===================================================
    Contact Us Page - Professional & Unique Styling
    Gapat Engineering Pvt. Ltd.
====================================================*/

:root {
    --primary-color: #089fac;
    --primary-hover: #07828d;
    --dark-navy: #141f2b;
    --card-dark: #1a2734;
    --heading-dark: #1e293b;
    --text-body: #475569;
    --border-light: #e2e8f0;
    --accent-gold: #ffaa17;
}

/* ===================================================
   1. Contact Hero Header - Luminous & Modern
=================================================== */
.contact-hero-header {
    position: relative;
    padding: 65px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8edf3 100%);
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    color: #1e293b;
    z-index: 1 !important;
}

.contact-hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(8, 159, 172, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 159, 172, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 1;
}

.contact-hero-header .hero-watermark {
    position: absolute;
    inset: 0;
    background-image: url(../img/page-header.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    filter: grayscale(100%);
    z-index: 0;
}

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

/* Breadcrumb Capsule */
.contact-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.contact-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.contact-breadcrumb a:hover {
    color: #07828d;
}

.contact-breadcrumb i {
    font-size: 11px;
    color: #94a3b8;
}

.contact-breadcrumb span {
    color: #1e293b;
    font-weight: 600;
}

/* Tag Badge */
.contact-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 159, 172, 0.1);
    border: 1px solid rgba(8, 159, 172, 0.35);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-badge-tag i {
    font-size: 15px;
    color: var(--accent-gold);
}

/* Title & Description */
.contact-hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.contact-hero-title span {
    color: var(--primary-color);
}

.contact-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 800px;
    margin-bottom: 22px;
}

/* Feature Pills in Hero */
.contact-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.contact-hero-pill:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-hero-pill i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ===================================================
   2. Response SLA & Quick Stats Counter Strip
=================================================== */
.contact-stats-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.contact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 15px;
    border-right: 1px solid #eef2f6;
}

.contact-stat-box:last-child {
    border-right: none;
}

.contact-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.contact-stat-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 2px;
    line-height: 1.1;
    font-family: var(--primary-font, "Space Grotesk", sans-serif);
}

.contact-stat-info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ===================================================
   3. Contact Main Layout Section
=================================================== */
.contact-main-section {
    padding: 75px 0 85px;
    background-color: #f8fafc;
}

/* Left Column: Contact Cards Stack */
.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-header {
    margin-bottom: 10px;
}

.sub-heading-capsule {
    display: inline-block;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.contact-info-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-info-header p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.contact-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.contact-card-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 30px rgba(8, 159, 172, 0.1);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card-box:hover .contact-card-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.contact-card-text {
    flex-grow: 1;
}

.contact-card-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.contact-card-text p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 6px;
}

.contact-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.contact-card-link:hover {
    color: var(--primary-hover);
    gap: 8px;
}

/* Right Column: Contact Form Wrapper Box */
.contact-form-container-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-form-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f6;
}

.contact-form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-header h3 i {
    color: var(--primary-color);
    font-size: 24px;
}

.contact-form-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ===================================================
   4. Consulting Assurance Process Section (4 Steps)
=================================================== */
.contact-process-section {
    padding: 80px 0 85px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.contact-section-center-head {
    text-align: center;
    margin-bottom: 45px;
}

.contact-section-center-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

.accent-separator {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.contact-section-center-head p {
    font-size: 15.5px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 26px 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.process-step-box:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(8, 159, 172, 0.1);
    transform: translateY(-5px);
}

.process-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.process-step-num {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(8, 159, 172, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.process-step-icon {
    font-size: 24px;
    color: #64748b;
}

.process-step-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.process-step-box p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* ===================================================
   5. Interactive Google Map Location Section
=================================================== */
.contact-map-wrapper {
    padding: 0 0 80px;
    background: #f8fafc;
}

.map-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.map-header-strip {
    background: #141f2b;
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.map-header-strip h4 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-header-strip h4 i {
    color: var(--primary-color);
    font-size: 20px;
}

.map-directions-btn {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.map-directions-btn:hover {
    background: #ffffff;
    color: #141f2b;
}

.map-frame-container iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
}

/* ===================================================
   6. Full-Width Strategic Call-To-Action Banner
=================================================== */
.contact-bottom-cta {
    position: relative;
    padding: 70px 0;
    background: #141f2b;
    color: #ffffff;
    overflow: hidden;
}

.contact-bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

.contact-bottom-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 159, 172, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-cta-text h3 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.contact-cta-text p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0;
    max-width: 680px;
}

.contact-cta-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-contact-primary {
    background: var(--primary-color);
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(8, 159, 172, 0.35);
}

.btn-contact-primary:hover {
    background: #ffffff;
    color: #141f2b;
    transform: translateY(-2px);
}

.btn-contact-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 15px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-contact-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* ===================================================
   7. Responsive Breakpoints
=================================================== */
@media (max-width: 1199.98px) {
    .contact-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-stat-box:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 991.98px) {
    .contact-cards-stack {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero-title {
        font-size: 28px;
    }
    .contact-process-grid {
        grid-template-columns: 1fr;
    }
    .contact-stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-stat-box {
        border-right: none;
        border-bottom: 1px solid #eef2f6;
        padding-bottom: 15px;
    }
    .contact-form-container-box {
        padding: 24px 18px;
    }
    .contact-cta-wrap {
        flex-direction: column;
        text-align: center;
    }
    .contact-cta-btns {
        justify-content: center;
        width: 100%;
    }
    .btn-contact-primary,
    .btn-contact-secondary {
        width: 100%;
        justify-content: center;
    }
    .map-header-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}
