.main {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    min-height: 100vh;
}

.hero {
    padding: 200px 0px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/inner-banners/contact-banner.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.heroContent {
    max-width: 800px;
    margin: 0 auto;
}

.heroTitle {
    font-family: var(--font-playfair);
    font-size: var(--hero-title-size);
    color: #d3cab3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: var(--body-size);
    color: var(--color-paragraph);
    font-family: var(--font-lato);
}

.breadcrumb a {
    color: #d3cab3;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.contactSection {
    padding: 80px 10px;
    background-color: #F5E6D3;
    background-size: cover;
    background-position: center;
}

.smallHeading {
    font-size: var(--small-text-size);
    color: #441109;
    font-family: var(--font-lato);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Left Side - Form Block */
.formBlock {
    background-color: #F5E6D3;
    padding: 2.5rem;
    border: 2px solid #441109;
}

.title {
    font-family: var(--font-playfair);
    font-size: var(--main-heading-size);
    color: #5d4037;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 3px solid #441109;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.subtitle {
    font-size: var(--body-size);
    color: #441109 !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: var(--font-lato);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.formRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.formLabel {
    font-family: var(--font-lato);
    color: #441109;
    font-size: var(--small-text-size);
    font-weight: 600;
}

.input,
.textarea {
    background: #fff;
    border: 1px solid #d4c5b0;
    padding: 0.9rem;
    color: #441109;
    font-family: var(--font-lato);
    font-size: var(--small-text-size);
    transition: border-color 0.3s;
    border-radius: 4px;
}

.input::placeholder,
.textarea::placeholder {
    color: #a89b87;
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: #c49c5c;
}

.textarea {
    resize: vertical;
    min-height: 100px;
}

.charCount {
    font-size: var(--small-text-size);
    color: #441109 !important;
    text-align: right;
    font-family: var(--font-lato);
}

.submitButton {
    background: #441109;
    border: none;
    color: #fff;
    padding: 15px 40px;
    font-size: var(--body-size);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-lato);
    border-radius: 50px;
    margin-top: 1rem;
}

.submitButton:hover {
    background-color: #441109;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: var(--font-lato);
    font-size: var(--small-text-size);
}

.alertSuccess {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alertDanger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.errorText {
    color: #dc3545;
    font-size: var(--small-text-size);
    margin-top: 0.25rem;
    display: block;
    font-family: var(--font-lato);
}

.recaptchaWrapper {
    margin: 1rem 0;
}

/* Right Side - Info Block */
.infoBlock {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.locationCard {
    background: #F5E6D3;
    padding: 1.5rem;
    border: 2px solid #441109;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s;
}

.locationCard:hover {
    transform: translateY(-5px);
}

.iconWrapper {
    background: #441109;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.locationInfo {
    flex: 1;
}

.locationTitle {
    font-family: var(--font-playfair);
    font-size: var(--subheading-size);
    color: #441109;
    margin-bottom: 10px;
    font-weight: 600;
}

.locationSubtitle {
    font-size: var(--small-text-size);
    color: #441109 !important;
    margin-bottom: 0.5rem;
    font-family: var(--font-lato);
}

.locationAddress,
.locationPhone {
    font-size: var(--body-size);
    line-height: 1.6;
    font-family: var(--font-lato);
}

.locationPhone {
    font-size: var(--subheading-size);
    font-weight: 600;
    color: #441109;
}

.mapContainer {
    border: 2px solid #441109;
    overflow: hidden;
    margin-top: 0.5rem;
}

.mapContainer iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.phoneFlex {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .formRow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* .contactSection {
        padding: 80px 10px;
    } */

    .formRow {
        grid-template-columns: 1fr;
    }

    .formBlock {
        padding: 2rem 1.5rem;
    }

    .container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    /* .contactSection {
        padding: 40px 8px;
    } */

    .container {
        gap: 2rem;
    }

    .formBlock,
    .locationCard {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 350px) {
    .main {
        overflow-x: hidden;
    }

    /* .contactSection {
        padding: 30px 5px;
    } */

    .container {
        gap: 1rem;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .formBlock,
    .locationCard {
        padding: 1rem 0.6rem;
        box-sizing: border-box;
    }

    .recaptchaWrapper {
        transform: scale(0.85);
        transform-origin: 0 0;
        margin-bottom: -10px;
        overflow: hidden;
    }

    .formRow {
        gap: 0.8rem;
    }

    .input,
    .textarea {
        padding: 0.7rem;
        width: 100%;
        box-sizing: border-box;
    }

    .locationCard {
        gap: 1rem;
    }

    .iconWrapper {
        width: 40px;
        height: 40px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }
}

/* Critical 320px fix */
@media (max-width: 320px) {
    /* .contactSection {
        padding: 30px 8px !important;
    } */

    .container {
        gap: 0.8rem;
        padding: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box !important;
    }

    .formBlock,
    .locationCard {
        padding: 12px;
        border: 2px solid #b07c4b;
        box-sizing: border-box !important;
        width: 305px;
        max-width: 100%;
    }

    .formRow {
        gap: 0.6rem !important;
    }

    .input,
    .textarea,
    .formGroup,
    .recaptchaWrapper {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .locationCard {
        gap: 0.8rem !important;
    }

    .iconWrapper {
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0;
    }

    .icon {
        width: 18px !important;
        height: 18px !important;
    }

    .recaptchaWrapper {
        transform: scale(0.83) !important;
        transform-origin: 0 0 !important;
        margin-bottom: -12px !important;
    }
}