/*
|--------------------------------------------------------------------------
| Hemtabad Car Lab
| Contact Page CSS
| File: style/contact.css
|--------------------------------------------------------------------------
*/


/* =========================================================
   CONTACT HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 55%,
            #0c4a6e 100%
        );
}


.contact-hero-bg {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(14, 165, 233, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(37, 99, 235, 0.18),
            transparent 32%
        );
}


.contact-hero .container {
    position: relative;

    z-index: 2;
}


.contact-hero-content {
    max-width: 760px;

    padding: 75px 0;
}


.contact-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 50px;

    color: #bfdbfe;

    background:
        rgba(255, 255, 255, 0.07);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-badge i {
    color: #38bdf8;

    font-size: 13px;
}


.contact-hero h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(
            44px,
            6vw,
            65px
        );

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2.5px;
}


.contact-hero h1 span {
    display: block;

    color: #38bdf8;
}


.contact-hero-content > p {
    max-width: 650px;

    margin: 0 0 27px;

    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.8;
}


.contact-hero-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.contact-hero-actions .btn {
    min-height: 46px;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.contact-hero .btn-whatsapp,
.contact-cta .btn-whatsapp {
    color: #ffffff;

    background: #25d366;

    border-color: #25d366;
}


.contact-hero .btn-whatsapp:hover,
.contact-cta .btn-whatsapp:hover {
    color: #ffffff;

    background: #1da851;

    border-color: #1da851;
}


/* =========================================================
   CONTACT INFO SECTION
========================================================= */

.contact-info-section {
    padding-top: 55px;

    padding-bottom: 35px;
}


.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.contact-info-card {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    min-width: 0;

    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    color: inherit;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


a.contact-info-card {
    text-decoration: none;
}


.contact-info-card:hover {
    transform:
        translateY(-4px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow);
}


.contact-info-icon {
    width: 44px;

    height: 44px;

    flex: 0 0 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    color: var(--primary);

    background: #eff6ff;

    font-size: 18px;
}


.contact-info-icon.whatsapp-icon {
    color: #16a34a;

    background: #ecfdf5;
}


.contact-info-card > div:last-child {
    min-width: 0;
}


.contact-info-card span {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-info-card h3 {
    margin: 0 0 4px;

    color: var(--dark);

    font-size: 13px;

    line-height: 1.4;

    font-weight: 800;
}


.contact-info-card p {
    margin: 0;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main-section {
    padding-top: 35px;

    padding-bottom: 75px;

    background: #f8fafc;
}


.contact-main-grid {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   CONTACT FORM WRAPPER
========================================================= */

.contact-form-wrapper {
    padding: 30px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.04);
}


.contact-heading {
    max-width: 650px;

    margin-bottom: 25px;
}


.contact-heading .section-label,
.contact-map-heading .section-label {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.contact-heading .section-title {
    margin-bottom: 12px;
}


.contact-heading .section-title span {
    color: var(--primary);
}


.contact-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}


.form-group {
    min-width: 0;
}


.form-group:nth-last-child(2),
.contact-form .contact-submit {
    grid-column: 1 / -1;
}


.form-group label {
    display: flex;

    align-items: center;

    gap: 3px;

    margin-bottom: 7px;

    color: var(--dark);

    font-size: 11px;

    font-weight: 700;
}


.form-group label > span {
    color: #ef4444;
}


.form-group label small {
    margin-left: 3px;

    color: #94a3b8;

    font-size: 9px;

    font-weight: 500;
}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-with-icon {
    position: relative;
}


.input-with-icon > i {
    position: absolute;

    top: 50%;

    left: 14px;

    z-index: 2;

    color: #94a3b8;

    font-size: 14px;

    transform:
        translateY(-50%);

    pointer-events: none;
}


.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;

    border:
        1px solid
        #e2e8f0;

    border-radius: 10px;

    outline: none;

    color: var(--dark);

    background: #ffffff;

    font-family: inherit;

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.input-with-icon input,
.input-with-icon select {
    height: 46px;

    padding:
        0 13px 0 40px;
}


.input-with-icon textarea {
    min-height: 125px;

    padding:
        13px 13px 13px 40px;

    resize: vertical;

    line-height: 1.6;
}


.input-with-icon textarea + i {
    top: 18px;

    transform: none;
}


.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: #94a3b8;
}


.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    border-color: #60a5fa;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.08);
}


.input-with-icon select {
    appearance: none;

    cursor: pointer;
}


/* =========================================================
   CONTACT SUBMIT
========================================================= */

.contact-submit {
    width: 100%;

    min-height: 47px;

    margin-top: 2px;
}


/* =========================================================
   CONTACT SIDEBAR
========================================================= */

.contact-sidebar {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


/* =========================================================
   SIDE CARD
========================================================= */

.contact-side-card {
    position: relative;

    padding: 27px;

    border-radius: 19px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #172554
        );

    overflow: hidden;
}


.contact-side-card::after {
    content: '';

    position: absolute;

    width: 180px;

    height: 180px;

    right: -75px;

    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(14, 165, 233, 0.12);
}


.contact-side-icon {
    position: relative;

    z-index: 2;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 19px;

    border-radius: 13px;

    color: #60a5fa;

    background:
        rgba(59, 130, 246, 0.13);

    font-size: 21px;
}


.contact-side-label {
    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 7px;

    color: #60a5fa;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-side-card h3 {
    position: relative;

    z-index: 2;

    margin: 0 0 7px;

    color: #ffffff;

    font-size: 22px;

    font-weight: 800;
}


.contact-side-card > p {
    position: relative;

    z-index: 2;

    margin: 0 0 18px;

    color: #cbd5e1;

    font-size: 11px;

    line-height: 1.6;
}


.contact-address {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: flex-start;

    gap: 9px;

    padding: 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.04);
}


.contact-address i {
    margin-top: 2px;

    color: #60a5fa;

    font-size: 15px;
}


.contact-address span {
    color: #cbd5e1;

    font-size: 10px;

    line-height: 1.6;
}


.contact-map-link {
    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 17px;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    text-decoration: none;
}


.contact-map-link:hover {
    color: #7dd3fc;
}


.contact-map-link i:last-child {
    font-size: 9px;
}


/* =========================================================
   QUICK CONTACT
========================================================= */

.contact-quick-card {
    padding: 23px;

    border:
        1px solid
        var(--border);

    border-radius: 17px;

    background: #ffffff;
}


.contact-quick-card > span {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-quick-card h3 {
    margin: 0 0 8px;

    color: var(--dark);

    font-size: 19px;

    line-height: 1.3;

    font-weight: 800;
}


.contact-quick-card > p {
    margin: 0 0 17px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


.contact-quick-actions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}


.quick-call,
.quick-whatsapp {
    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 9px;

    font-size: 10px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.quick-call:hover,
.quick-whatsapp:hover {
    transform:
        translateY(-2px);

    opacity: 0.92;
}


.quick-call {
    color: #ffffff;

    background: var(--primary);
}


.quick-whatsapp {
    color: #ffffff;

    background: #25d366;
}


/* =========================================================
   BUSINESS HOURS
========================================================= */

.business-hours-card {
    padding: 22px;

    border:
        1px solid
        var(--border);

    border-radius: 17px;

    background: #ffffff;
}


.business-hours-title {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 15px;
}


.business-hours-title i {
    color: var(--primary);

    font-size: 18px;
}


.business-hours-title h3 {
    margin: 0;

    color: var(--dark);

    font-size: 14px;

    font-weight: 800;
}


.business-hour-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-top:
        1px solid
        #f1f5f9;
}


.business-hour-row span {
    color: var(--muted);

    font-size: 10px;
}


.business-hour-row strong {
    color: var(--dark);

    font-size: 10px;

    text-align: right;
}


/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
    padding-top: 70px;

    padding-bottom: 70px;
}


.contact-map-heading {
    margin-bottom: 25px;
}


.contact-map-heading .section-title {
    margin-bottom: 9px;
}


.contact-map-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


.contact-map-wrapper {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background: #e2e8f0;

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.05);
}


.contact-map-wrapper iframe {
    display: block;

    width: 100%;

    min-height: 400px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-cta-section {
    padding-top: 0;

    padding-bottom: 70px;
}


.contact-cta {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 32px;

    border-radius: 20px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #0ea5e9
        );

    box-shadow:
        0 18px 40px
        rgba(13, 110, 253, 0.16);
}


.contact-cta-icon {
    width: 60px;

    height: 60px;

    flex: 0 0 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.14);

    font-size: 25px;
}


.contact-cta-content {
    flex: 1;
}


.contact-cta-content > span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.contact-cta-content h2 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 800;
}


.contact-cta-content p {
    max-width: 620px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 12px;

    line-height: 1.7;
}


.contact-cta-actions {
    display: flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;
}


.contact-cta-actions .btn-light {
    color: #0d6efd;

    background: #ffffff;

    border-color: #ffffff;
}


.contact-cta-actions .btn-light:hover {
    color: #0b5ed7;

    background: #f8fafc;
}


.contact-cta-actions .btn-whatsapp {
    color: #ffffff;

    background: #25d366;

    border-color: #25d366;
}


.contact-cta-actions .btn-whatsapp:hover {
    color: #ffffff;

    background: #1da851;

    border-color: #1da851;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .contact-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .contact-main-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .contact-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        align-items: start;
    }


    .contact-side-card {
        grid-column: 1 / -1;
    }


    .contact-cta {
        flex-wrap: wrap;
    }


    .contact-cta-content {
        min-width: 250px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-hero {
        min-height: 370px;
    }


    .contact-hero-content {
        padding: 60px 0 70px;
    }


    .contact-hero h1 {
        font-size: 44px;

        letter-spacing: -1.5px;
    }


    .contact-hero-content > p {
        font-size: 13px;
    }


    .contact-hero-actions {
        flex-direction: column;

        align-items: stretch;

        max-width: 280px;
    }


    .contact-hero-actions .btn {
        width: 100%;
    }


    .contact-info-section {
        padding-top: 40px;

        padding-bottom: 25px;
    }


    .contact-info-grid {
        grid-template-columns: 1fr;
    }


    .contact-info-card {
        padding: 17px;
    }


    .contact-main-section {
        padding-top: 25px;

        padding-bottom: 55px;
    }


    .contact-form-wrapper {
        padding: 22px 18px;

        border-radius: 16px;
    }


    .contact-form {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .form-group:nth-last-child(2),
    .contact-form .contact-submit {
        grid-column: auto;
    }


    .contact-sidebar {
        display: flex;

        flex-direction: column;
    }


    .contact-map-section {
        padding-top: 55px;

        padding-bottom: 55px;
    }


    .contact-map-wrapper {
        border-radius: 14px;
    }


    .contact-map-wrapper iframe {
        min-height: 320px;

        height: 320px;
    }


    .contact-cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }


    .contact-cta-content {
        min-width: 0;
    }


    .contact-cta-actions {
        width: 100%;

        flex-direction: column;
    }


    .contact-cta-actions .btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .contact-hero h1 {
        font-size: 39px;

        letter-spacing: -1px;
    }


    .contact-badge {
        font-size: 9px;

        padding: 7px 11px;
    }


    .contact-heading .section-title {
        font-size: 30px;
    }


    .contact-side-card {
        padding: 23px;
    }


    .contact-side-card h3 {
        font-size: 20px;
    }


    .contact-quick-card h3 {
        font-size: 18px;
    }


    .contact-cta-content h2 {
        font-size: 21px;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 380px) {

    .contact-hero h1 {
        font-size: 35px;
    }


    .contact-info-card {
        gap: 10px;
    }


    .contact-info-icon {
        width: 40px;

        height: 40px;

        flex-basis: 40px;

        font-size: 16px;
    }


    .contact-form-wrapper {
        padding: 20px 15px;
    }


    .contact-quick-actions {
        grid-template-columns: 1fr;
    }

}