
/* ==========================================
   TAJ INDIA MACHINERY
   SERVICE & SUPPORT HERO BANNER
========================================== */

.contact-us-hero,
.contact-us-hero * {
    box-sizing: border-box;
}

.contact-us-hero {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 820px;
    height: clamp(560px, 75vh, 780px);

    margin: 0;


    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(5, 27, 47, 0.40),
            rgba(5, 27, 47, 0.40)
        ),
        url("../images/contact-hero.webp");

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    font-family: "Oxanium", sans-serif;
}

/* ==========================================
   CENTER CONTENT
========================================== */

.contact-us-hero-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;

    text-align: center;
    color: #ffffff;
}

/* Main heading */

.contact-us-hero-content h1 {
    width: 100%;
    margin: 0 0 24px;
    padding: 0;

    color: #ffffff;

    font-family: "Oxanium", sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;

    text-align: center;
    overflow-wrap: break-word;
}

/* ==========================================
   BREADCRUMB
========================================== */

.contact-us-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 13px;

    width: 100%;
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: "Oxanium", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;

    text-align: center;
}

/* Home link */

.contact-us-breadcrumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin: 0;
    padding: 0;

    color: #ffffff;
    text-decoration: none;

    transition: color 0.25s ease;
}

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

.contact-us-breadcrumb a svg {
    display: block;
    flex: 0 0 17px;

    width: 17px;
    height: 17px;
}

/* Breadcrumb separator */

.contact-us-breadcrumb-arrow {
    color: #ffffff;
    font-size: 23px;
    line-height: 1;
}

/* Current page */

.contact-us-current {
    color: #ffffff;
    font-weight: 600;
}


/* ==========================================
   LAPTOP
========================================== */

@media screen and (max-width: 1200px) {

    .contact-us-hero {
        min-height: 560px;
        height: 70vh;
    }

    .contact-us-hero-content h1 {
        font-size: clamp(34px, 4.5vw, 54px);
    }
}


/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 900px) {

    .contact-us-hero {
        min-height: 480px;
        height: 60vh;

        padding: 50px 25px;

        background-position: center center;
    }

    .contact-us-hero-content h1 {
        margin-bottom: 20px;
        font-size: clamp(32px, 5vw, 46px);
    }

    .contact-us-breadcrumb {
        gap: 10px;
        font-size: 15px;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 600px) {

    .contact-us-hero {
        min-height: 390px;
        height: 52vh;

        padding: 40px 20px;

        background-position: center center;

        background-image: url("../images/contact-hero.webp");
    }

    .contact-us-hero-content {
        max-width: 100%;
    }

    .contact-us-hero-content h1 {
        margin-bottom: 18px;
        font-size: clamp(27px, 7vw, 39px);
        line-height: 1.3;
        letter-spacing: 0;
    }

    .contact-us-breadcrumb {
        gap: 8px;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-us-breadcrumb a {
        gap: 7px;
    }

    .contact-us-breadcrumb a svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .contact-us-breadcrumb-arrow {
        font-size: 19px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media screen and (max-width: 380px) {

    .contact-us-hero {
        min-height: 350px;
        padding: 35px 15px;
    }

    .contact-us-hero-content h1 {
        font-size: 27px;
    }

    .contact-us-breadcrumb {
        gap: 7px;
        font-size: 12px;
    }
}




/* ==========================================
   CONTACT SECTION - TAJ INDIA MACHINERY
========================================== */

.contact-section,
.contact-section * {
    box-sizing: border-box;
}

.contact-section {
    width: 100%;
    margin: 0;
    padding: 60px;
    background: #fff7f2;
}

.contact-section-container {
    display: grid;
    grid-template-columns: minmax(0, 0.77fr) minmax(0, 1.23fr);
    align-items: start;
    gap: clamp(45px, 6.8vw, 120px);

    width: calc(100% - 5%);
    max-width: 1800px;
    margin: 0 auto;
    padding: 50px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(65, 36, 36, 0.04);
}

/* ==========================================
   LEFT CONTACT CARDS
========================================== */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    width: 100%;
    min-width: 0;
    padding: 16px;

    background: #fff0df;
    border-top: 5px solid #ed941b;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;

    width: 40px;
    height: 40px;
    margin-top: 1px;

    border-radius: 50%;
    background: #740b22;
    color: #ffffff;
}

.contact-info-icon svg {
    display: block;
    width: 23px;
    height: 23px;
}

.contact-info-text {
    flex: 1;
    min-width: 0;
}

.contact-info-text h3 {
    margin: 0 0 7px;
    padding: 0;

    color: #14263d;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.contact-info-text p {
    margin: 0;
    padding: 0;

    color: #435c79;
    font-family: "Oxanium", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.contact-info-text p strong {
    color: #435c79;
    font-weight: 700;
}

.contact-info-text a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.contact-info-text a:hover {
    color: #9e174c;
    text-decoration: underline;
}

/* ==========================================
   RIGHT FORM AREA
========================================== */

.contact-form-column {
    width: 100%;
    min-width: 0;
    padding-top: 3px;
}

.contact-form-heading {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 0 0 30px;
    padding: 0;

    color: #53657b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-form-heading svg {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #6658d5;
}

/* Form layout */

.contact-message-form {
    display: flex;
    flex-direction: column;
    gap: 24px;

    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.contact-form-field {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.contact-form-field input,
.contact-form-field textarea {
    display: block;

    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 11px 14px;

    border: 1px solid #c8c4c2;
    border-radius: 3px;
    outline: none;

    background: #fff8f4;
    color: #15243b;

    font-family: "Oxanium", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form-field input {
    height: 45px;
}

.contact-form-field textarea {
    min-height: 125px;
    height: 125px;
    resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #aaa29e;
    opacity: 1;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color: #9c195e;
    box-shadow: 0 0 0 2px rgba(156, 25, 94, 0.09);
}

/* Hide labels visually while keeping accessible */

.contact-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   RECAPTCHA-STYLE BOX
========================================== */

.contact-captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 303px;
    max-width: 100%;
    min-height: 76px;
    padding: 10px 12px;

    border: 1px solid #d5d5d5;
    border-radius: 2px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-captcha-label {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    color: #202124;

    font-family: Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.contact-captcha-label input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-captcha-check {
    position: relative;
    display: block;
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border: 2px solid #666666;
    border-radius: 2px;
    background: #ffffff;
}

.contact-captcha-label input:checked + .contact-captcha-check {
    border-color: #4285f4;
    background: #4285f4;
}

.contact-captcha-label input:checked + .contact-captcha-check::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;

    width: 7px;
    height: 14px;

    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.contact-captcha-label input:focus-visible + .contact-captcha-check {
    outline: 2px solid #4285f4;
    outline-offset: 3px;
}

.contact-captcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;

    flex: 0 0 44px;
    color: #666666;
    font-family: Arial, sans-serif;
}

.contact-captcha-brand svg {
    width: 30px;
    height: 30px;
}

.contact-captcha-brand small {
    font-size: 9px;
    white-space: nowrap;
}

/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-submit-button {
    align-self: flex-start;

    min-width: 87px;
    min-height: 41px;
    padding: 10px 16px;

    border: 0;
    border-radius: 3px;
    background: #102138;
    color: #ffffff;

    font-family: "Oxanium", sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-submit-button:hover {
    background: #7a123d;
}

.contact-form-notice {
    margin: 0;
    color: #53657b;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================
   LAPTOP
========================================== */

@media screen and (max-width: 1200px) {
    .contact-section-container {
        width: calc(100% - 30px);
        padding: 35px;
        gap: 35px;
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .contact-info-card {
        padding: 16px 13px;
        gap: 12px;
    }

    .contact-info-text h3 {
        font-size: 19px;
    }

    .contact-info-text p {
        font-size: 13px;
    }

    .contact-form-heading {
        font-size: 19px;
    }

    .contact-form-row {
        gap: 15px;
    }
}

/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 850px) {
    .contact-section-container {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 30px);
        padding: 28px;
        gap: 35px;
    }

    .contact-info-column {
        gap: 16px;
    }

    .contact-info-card {
        padding: 17px;
    }

    .contact-info-text h3 {
        font-size: 21px;
    }

    .contact-info-text p {
        font-size: 15px;
    }

    .contact-form-column {
        padding-top: 0;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 600px) {
    .contact-section {
        padding-bottom: 20px;
    }

    .contact-section-container {
        width: calc(100% - 20px);
        padding: 18px 14px;
        gap: 28px;
    }

    .contact-info-column {
        gap: 13px;
    }

    .contact-info-card {
        gap: 12px;
        padding: 14px 11px;
        border-top-width: 4px;
    }

    .contact-info-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .contact-info-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-info-text h3 {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .contact-info-text p {
        font-size: 12px;
        line-height: 1.75;
    }

    .contact-form-heading {
        gap: 11px;
        margin-bottom: 20px;
        font-size: 17px;
    }

    .contact-form-heading svg {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    .contact-message-form {
        gap: 17px;
    }

    .contact-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .contact-form-field input {
        height: 44px;
    }

    .contact-form-field input,
    .contact-form-field textarea {
        padding: 11px;
        font-size: 14px;
    }

    .contact-form-field textarea {
        min-height: 120px;
        height: 120px;
    }

    .contact-captcha-box {
        width: 303px;
        min-height: 72px;
    }
}

/* Small mobile */

@media screen and (max-width: 380px) {
    .contact-section-container {
        width: calc(100% - 14px);
        padding: 14px 10px;
    }

    .contact-info-text h3 {
        font-size: 16px;
    }

    .contact-info-text p {
        font-size: 11px;
    }

    .contact-form-heading {
        font-size: 15px;
    }

    .contact-captcha-box {
        width: 100%;
    }
}



/* ==========================================
   CONTACT PAGE - GOOGLE MAP
========================================== */

.contact-map-section,
.contact-map-section * {
    box-sizing: border-box;
}

.contact-map-section {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #fff7f2;
    overflow: hidden;
}

.contact-map-container {
    position: relative;
    width: 100%;
    height: 380px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.contact-map-container iframe {
    display: block;
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
    border: 0;
}

/* Laptop */

@media screen and (max-width: 1100px) {
    .contact-map-container {
        height: 350px;
    }
}

/* Tablet */

@media screen and (max-width: 768px) {
    .contact-map-container {
        height: 320px;
    }
}

/* Mobile */

@media screen and (max-width: 480px) {
    .contact-map-container {
        height: 280px;
    }
}
