/* =========================================================
   CONTACT US PAGE STYLES - PENINSULA CARPET CLEANING
   ========================================================= */

/* 1. Page Header Banner */
.contact-page-banner {
    padding: 100px 0 85px;
    min-height: 280px;
    background: linear-gradient(135deg, rgb(1 2 2) 0%, rgb(11 127 171 / 0%) 100%), url(../../img/contact-us-banner.jpg);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.contact-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-breadcrumb a {
    color: #f4b400;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.contact-page-banner h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.contact-page-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Top Quick Channels Bar */
.contact-channels-section {
    margin-top: -40px;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}

.channel-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(7, 34, 52, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.35s ease;
    height: 100%;
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: #03696c;
    box-shadow: 0 18px 45px rgba(11, 127, 171, 0.15);
}

.channel-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(11, 127, 171, 0.1);
    color: #03696c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.channel-card:hover .channel-icon {
    background: #03696c;
    color: #ffffff;
}

.channel-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: #072234;
    margin-bottom: 4px;
}

.channel-info p,
.channel-info a {
    font-size: 14px;
    color: #03696c;
    font-weight: 600;

    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.channel-info a {
    color: #03696c;
    font-weight: 600;
}

.channel-info a:hover {
    color: #075b7a;
    text-decoration: underline;
}

/* 3. Main Form & Info Section */
.contact-main-section {
    padding: 40px 0;
    background: #ffffff;
}

.contact-info-box {
    padding-right: 15px;
}

.contact-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #03696c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-info-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: #072234;
    line-height: 1.25;
    margin-bottom: 18px;
}

.contact-info-box h2 span {
    color: #03696c;
}

.contact-info-box p {
    font-size: 15px;
    color: #52606d;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Promise Features */
.promise-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.promise-item:hover {
    background: #ffffff;
    border-color: #03696c;
    box-shadow: 0 8px 20px rgba(11, 127, 171, 0.08);
}

.promise-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(11, 127, 171, 0.1);
    color: #03696c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.promise-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: #072234;
    margin-bottom: 3px;
}

.promise-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Direct Call Box */
.direct-call-card {
    background: linear-gradient(135deg, #072234 0%, #102a43 100%);
    border-radius: 18px;
    padding: 24px 28px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(7, 34, 52, 0.2);
}

.direct-call-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.direct-call-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.btn-direct-phone {
    background: #f4b400;
    color: #072234 !important;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-direct-phone:hover {
    background: #ffffff;
    color: #072234 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Form Styling */
.contact-form-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 33px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(7, 34, 52, 0.1);
}

.contact-form-header {
    margin-bottom: 28px;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #072234;
    margin-bottom: 6px;
}

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

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #072234;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-form .form-label i {
    color: #03696c;
}

.contact-form .form-control,
.contact-form .form-select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: #ffffff;
    border-color: #03696c;
    box-shadow: 0 0 0 4px rgba(11, 127, 171, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    resize: none;
}

.btn-contact-submit {
    width: 100%;
    background: linear-gradient(135deg, #03696c 0%, #03696c 100%);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(11, 127, 171, 0.35);
    transition: all 0.35s ease;
    cursor: pointer;
    margin-top: 22px;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #075b7a 0%, #0b7fab 100%);
    box-shadow: 0 14px 32px rgba(11, 127, 171, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.contact-privacy-note {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-privacy-note i {
    color: #10b981;
}

/* 4. Responsive Media Queries */
@media (max-width: 991.98px) {
    .contact-channels-section {
        margin-top: 30px;
    }

    .contact-info-box {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .contact-info-box h2 {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .contact-page-banner {
        padding: 50px 0 45px;
    }

    .channel-card {
        padding: 22px 18px;
    }

    .contact-form-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .contact-info-box h2 {
        font-size: 25px;
    }

    .direct-call-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-direct-phone {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   4. GOOGLE MAP SECTION STYLES
   ========================================================= */
.contact-map-section {
    padding: 20px 0 70px;
    background: #ffffff;
}

.map-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px rgba(7, 34, 52, 0.08);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.map-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #03696c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.map-header-content h3 {
    font-size: 26px;
    font-weight: 800;
    color: #072234;
    margin-bottom: 6px;
}

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

.btn-open-map {
    background: #072234;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(7, 34, 52, 0.15);
}

.btn-open-map:hover {
    background: #03696c;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 105, 108, 0.25);
}

.map-iframe-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    line-height: 0;
}

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

@media (max-width: 768px) {
    .map-card-wrapper {
        padding: 20px;
        border-radius: 18px;
    }

    .map-header-content h3 {
        font-size: 22px;
    }

    .btn-open-map {
        width: 100%;
        justify-content: center;
    }

    .map-iframe-container iframe {
        height: 350px;
    }
}

/* =========================================================
   PAGE GRIDS  (Bootstrap grid ki jagah)
   ========================================================= */

/* 3 contact channel cards: 3 / 2 (last one full width) / 1 */
.contact-channels-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-channels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-channel-last {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .contact-channels-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 1.5rem;
    }

    .contact-channel-last {
        grid-column: auto;
    }
}

.channel-note {
    color: rgba(33, 37, 41, 0.75);
}

/* Info left (5) / form right (7) */
.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-main-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .contact-info-col {
        grid-column: span 5;
    }

    .contact-form-col {
        grid-column: span 7;
    }
}

/* Form fields: 2 columns on tablet+, full width fields span both */
.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-field-full {
    grid-column: 1 / -1;
}

.btn-contact-submit .fa-paper-plane {
    margin-left: 0.5rem;
}

.btn-open-map .fa-arrow-up-right-from-square {
    margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
    .header-button {
        margin: 16px 0 8px 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .header-button .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 9px 24px !important;
        font-size: 13.5px !important;
        border-radius: 30px !important;
        max-width: 220px !important;
        width: auto !important;
    }
}
