
/* =========================================================
   SAMRUDDHI HOMES - PREMIUM CONTACT PAGE
   COLOR PALETTE:
   Dark Blue : #17324D
   Lime      : #9ACD32
   Light Blue: #F1F7F8
   White     : #FFFFFF
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17324D;
    background: #FFFFFF;
}

a {
    text-decoration: none;
}


/* =========================================================
   CONTACT HERO - CENTRED GALLERY STYLE
========================================================= */

.contact-hero {
    position: relative;
    width: 100%;
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;
    text-align: center;

    background-image:
        linear-gradient(
            110deg,
            rgba(13, 36, 57, 0.94) 0%,
            rgba(23, 50, 77, 0.86) 55%,
            rgba(23, 50, 77, 0.65) 100%
        ),
        url("../Images/contact.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* HERO CONTENT */

.contact-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1000px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #FFFFFF;
}


/* EYEBROW */

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    color: #9ACD32;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 30px;
}

.contact-eyebrow span {
    width: 40px;
    height: 2px;
    background: #9ACD32;
}


/* HERO TITLE */

.contact-hero-content h1 {
    font-family: 'Poppins', sans-serif;

    color: #FFFFFF;

    font-size: clamp(48px, 6vw, 88px);
    font-weight: 600;

    line-height: 1.12;
    letter-spacing: -2px;

    margin-bottom: 25px;
}

.contact-hero-content h1 span {
    color: #9ACD32;
}


/* HERO DESCRIPTION */

.contact-hero-content > p {
    width: 100%;
    max-width: 650px;

    color: #E3EAF0;

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 35px;
}


/* HERO BUTTONS */

.contact-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;
    flex-wrap: wrap;
}


/* PRIMARY BUTTON */

.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 28px;

    background: #9ACD32;
    color: #17324D;

    border: 1px solid #9ACD32;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.hero-contact-btn:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-3px);
}


/* SECONDARY LINK */

.hero-property-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #FFFFFF;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.hero-property-link i {
    color: #9ACD32;
    transition: transform 0.3s ease;
}

.hero-property-link:hover {
    color: #9ACD32;
}

.hero-property-link:hover i {
    transform: translate(3px, -3px);
}


/* HERO DECORATION */

.hero-decoration {
    position: absolute;

    width: 400px;
    height: 400px;

    right: -130px;
    bottom: -230px;

    border: 1px solid rgba(154, 205, 50, 0.20);
    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration::before {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    top: 55px;
    left: 55px;

    border: 1px solid rgba(154, 205, 50, 0.12);
    border-radius: 50%;
}


/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .contact-hero {
        min-height: 480px;
        padding: 80px 20px;
    }

    .contact-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
        gap: 10px;
        margin-bottom: 25px;
    }

    .contact-eyebrow span {
        width: 25px;
    }

    .contact-hero-content h1 {
        font-size: clamp(38px, 9vw, 58px);
        letter-spacing: -1px;
    }

    .contact-hero-content > p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 28px;
    }

    .contact-hero-buttons {
        gap: 18px;
    }

    .hero-contact-btn {
        padding: 14px 22px;
        font-size: 13px;
    }

    .hero-property-link {
        font-size: 13px;
    }

    .hero-decoration {
        width: 250px;
        height: 250px;
        right: -120px;
        bottom: -150px;
    }
}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;

    padding: 100px 7% 90px;

    background: #FFFFFF;
}

.contact-container {
    width: 100%;
    max-width: 1300px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 70px;

    align-items: start;
}


/* =========================================================
   SHARED SECTION LABEL
========================================================= */

.contact-section-label {
    display: inline-block;

    color: #9ACD32;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;

    margin-bottom: 15px;
}


/* =========================================================
   CONTACT FORM WRAPPER
========================================================= */

.contact-form-wrapper {
    width: 100%;

    padding: 40px;

    background: #F1F7F8;

    border: 1px solid #E2ECEE;

    border-radius: 10px;

    box-shadow:
        0 12px 40px rgba(23, 50, 77, 0.07);
}


/* FORM HEADING */

.contact-form-heading h2 {
    color: #17324D;

    font-size: 32px;

    line-height: 1.25;

    font-weight: 700;

    margin-bottom: 14px;
}

.contact-form-heading p {
    color: #52656D;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 30px;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.premium-contact-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 22px;
}


/* FORM ROW */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* FORM GROUP */

.form-group {
    display: flex;
    flex-direction: column;

    gap: 9px;

    width: 100%;
}


/* FORM LABEL */

.form-group label {
    color: #17324D;

    font-size: 13px;
    font-weight: 700;
}


/* INPUT AND TEXTAREA */

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #D2E0E4;

    border-radius: 5px;

    background: #FFFFFF;

    color: #17324D;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    padding: 15px 16px;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* INPUT HEIGHT */

.form-group input {
    height: 52px;
}


/* TEXTAREA */

.form-group textarea {
    min-height: 145px;

    resize: vertical;

    line-height: 1.7;
}


/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8B9BA3;

    opacity: 1;
}


/* INPUT HOVER */

.form-group input:hover,
.form-group textarea:hover {
    border-color: #9DB9C3;
}


/* INPUT FOCUS */

.form-group input:focus,
.form-group textarea:focus {
    border-color: #9ACD32;

    background: #FFFFFF;

    box-shadow:
        0 0 0 4px rgba(154, 205, 50, 0.13);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-btn {
    width: 100%;

    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    background: #17324D;

    color: #FFFFFF;

    border: 1px solid #17324D;

    border-radius: 5px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;
}

.contact-submit-btn i {
    color: #9ACD32;

    font-size: 17px;

    transition: transform 0.3s ease;
}

.contact-submit-btn:hover {
    background: #9ACD32;

    border-color: #9ACD32;

    color: #17324D;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(154, 205, 50, 0.20);
}

.contact-submit-btn:hover i {
    color: #17324D;

    transform: translate(3px, -3px);
}


/* FORM SECURITY NOTE */

.form-note {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: #71818A;

    font-size: 12px;

    line-height: 1.7;
}

.form-note i {
    color: #719B37;

    font-size: 15px;

    margin-top: 1px;
}


/* SUCCESS MESSAGE */

#successMessage {
    display: none;

    margin-top: 20px;

    padding: 15px;

    background: #EAF5D9;

    border: 1px solid #B9D88C;

    border-radius: 5px;

    color: #315B47;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.6;

    text-align: center;
}

#successMessage i {
    margin-right: 7px;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info-wrapper {
    width: 100%;
}


/* INFORMATION HEADING */

.contact-info-heading {
    margin-bottom: 30px;
}

.contact-info-heading h2 {
    color: #17324D;

    font-size: 35px;

    line-height: 1.3;

    letter-spacing: -0.7px;

    margin-bottom: 17px;
}

.contact-info-heading p {
    color: #52656D;

    font-size: 15px;

    line-height: 1.8;

    max-width: 500px;
}


/* =========================================================
   CONTACT DETAIL CARDS
========================================================= */

.contact-detail-card {
    position: relative;

    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 22px 20px;

    margin-bottom: 15px;

    background: #FFFFFF;

    border: 1px solid #E4ECEE;

    border-radius: 7px;

    transition: all 0.3s ease;
}


/* CARD HOVER */

.contact-detail-card:hover {
    border-color: #C5D8C0;

    background: #F8FBF8;

    transform: translateY(-3px);

    box-shadow:
        0 8px 22px rgba(23, 50, 77, 0.06);
}


/* CONTACT ICON */

.contact-detail-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F1F7F8;

    border: 1px solid #E2ECEE;

    border-radius: 7px;

    color: #17324D;

    font-size: 20px;

    transition: all 0.3s ease;
}

.contact-detail-card:hover .contact-detail-icon {
    background: #9ACD32;

    border-color: #9ACD32;

    color: #17324D;
}


/* CARD CONTENT */

.contact-detail-content {
    flex: 1;

    min-width: 0;
}


/* CARD LABEL */

.contact-detail-content > span {
    display: block;

    color: #8A9AA1;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 7px;
}


/* CARD HEADING */

.contact-detail-content h3 {
    color: #17324D;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 5px;

    overflow-wrap: anywhere;
}


/* CARD DESCRIPTION */

.contact-detail-content p {
    color: #52656D;

    font-size: 13px;

    line-height: 1.8;

    margin: 0;
}


/* CARD ARROW */

.contact-card-arrow {
    flex-shrink: 0;

    color: #9ACD32;

    font-size: 18px;

    transition: transform 0.3s ease;
}

.contact-detail-card:hover .contact-card-arrow {
    transform: translate(3px, -3px);
}


/* ADDRESS CARD */

.contact-address-card {
    cursor: default;
}


/* =========================================================
   GOOGLE MAP SECTION
========================================================= */

.contact-map-section {
    width: 100%;
    max-width: 1300px;

    margin: 85px auto 0;
}


/* MAP HEADING */

.map-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;
}

.map-heading h2 {
    color: #17324D;

    font-size: 32px;

    line-height: 1.3;

    margin: 0;
}


/* DIRECTIONS BUTTON */

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    flex-shrink: 0;

    padding: 13px 20px;

    background: #17324D;

    color: #FFFFFF;

    border: 1px solid #17324D;

    border-radius: 4px;

    font-size: 13px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.map-directions-btn i {
    color: #9ACD32;
}

.map-directions-btn:hover {
    background: #9ACD32;

    color: #17324D;

    border-color: #9ACD32;

    transform: translateY(-2px);
}

.map-directions-btn:hover i {
    color: #17324D;
}


/* MAP BOX */

.map-box {
    position: relative;

    width: 100%;

    height: 420px;

    overflow: hidden;

    border: 1px solid #DCE7E9;

    border-radius: 9px;

    box-shadow:
        0 10px 35px rgba(23, 50, 77, 0.08);
}

.map-box iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.contact-bottom {
    position: relative;

    width: 100%;

    padding: 75px 7%;

    background: linear-gradient(
        120deg,
        #17324D 0%,
        #244B68 100%
    );

    overflow: hidden;
}


/* CTA INNER */

.contact-bottom-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* CTA TEXT */

.contact-bottom-content {
    max-width: 700px;
}

.contact-bottom-content .contact-section-label {
    color: #9ACD32;
}

.contact-bottom-content h2 {
    color: #FFFFFF;

    font-size: 42px;

    line-height: 1.25;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.contact-bottom-content h2 span {
    color: #9ACD32;
}

.contact-bottom-content p {
    color: #DCE7EA;

    font-size: 15px;

    line-height: 1.8;

    max-width: 600px;
}


/* CTA BUTTON */

.contact-bottom-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 17px 28px;

    background: #9ACD32;

    color: #17324D;

    border: 1px solid #9ACD32;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.contact-bottom-btn i {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.contact-bottom-btn:hover {
    background: #FFFFFF;

    border-color: #FFFFFF;

    transform: translateY(-3px);
}

.contact-bottom-btn:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .contact-section {
        padding: 75px 5%;
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-info-heading h2 {
        font-size: 30px;
    }

    .contact-detail-card {
        padding: 18px 15px;

        gap: 13px;
    }

    .contact-detail-icon {
        width: 43px;
        height: 43px;

        font-size: 18px;
    }

    .contact-detail-content h3 {
        font-size: 15px;
    }

    .contact-map-section {
        margin-top: 65px;
    }

    .contact-bottom-content h2 {
        font-size: 35px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .contact-hero {
        min-height: 400px;

        padding: 75px 6%;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 55px;

        max-width: 700px;
    }

    .contact-form-wrapper {
        padding: 35px;
    }

    .contact-info-wrapper {
        max-width: 700px;
    }

    .contact-info-heading h2 {
        font-size: 34px;
    }

    .contact-map-section {
        max-width: 700px;
    }

    .contact-bottom-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 30px;
    }

}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    /* HERO */

    .contact-hero {
        min-height: 380px;

        padding: 65px 6%;
    }

    .contact-eyebrow {
        font-size: 11px;

        letter-spacing: 2px;

        margin-bottom: 20px;
    }

    .contact-hero-content h1 {
        font-size: 39px;

        letter-spacing: -0.8px;

        margin-bottom: 18px;
    }

    .contact-hero-content > p {
        font-size: 14px;

        line-height: 1.8;

        margin-bottom: 28px;
    }

    .contact-hero-buttons {
        gap: 18px;
    }

    .hero-contact-btn {
        padding: 14px 20px;

        font-size: 13px;
    }

    .hero-property-link {
        font-size: 13px;
    }


    /* MAIN SECTION */

    .contact-section {
        padding: 55px 5%;
    }

    .contact-container {
        gap: 45px;
    }


    /* FORM */

    .contact-form-wrapper {
        padding: 25px 20px;

        border-radius: 7px;
    }

    .contact-form-heading h2 {
        font-size: 26px;
    }

    .contact-form-heading p {
        font-size: 14px;

        margin-bottom: 25px;
    }

    .premium-contact-form {
        gap: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .form-group {
        gap: 8px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input {
        height: 49px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px;

        font-size: 14px;
    }

    .form-group textarea {
        min-height: 130px;
    }

    .contact-submit-btn {
        min-height: 51px;

        font-size: 14px;
    }


    /* CONTACT INFO */

    .contact-info-heading {
        margin-bottom: 25px;
    }

    .contact-info-heading h2 {
        font-size: 29px;
    }

    .contact-info-heading p {
        font-size: 14px;
    }

    .contact-detail-card {
        padding: 17px 14px;

        gap: 12px;

        margin-bottom: 12px;
    }

    .contact-detail-icon {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }

    .contact-detail-content > span {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .contact-detail-content h3 {
        font-size: 14px;
    }

    .contact-detail-content p {
        font-size: 12px;

        line-height: 1.7;
    }

    .contact-card-arrow {
        font-size: 15px;
    }


    /* MAP */

    .contact-map-section {
        margin-top: 50px;
    }

    .map-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;

        margin-bottom: 20px;
    }

    .map-heading h2 {
        font-size: 26px;
    }

    .map-directions-btn {
        padding: 12px 17px;

        font-size: 12px;
    }

    .map-box {
        height: 300px;

        border-radius: 6px;
    }


    /* CTA */

    .contact-bottom {
        padding: 55px 6%;
    }

    .contact-bottom-inner {
        gap: 25px;
    }

    .contact-bottom-content h2 {
        font-size: 30px;

        letter-spacing: -0.5px;
    }

    .contact-bottom-content p {
        font-size: 14px;
    }

    .contact-bottom-btn {
        padding: 15px 22px;

        font-size: 13px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .contact-hero-content h1 {
        font-size: 34px;
    }

    .contact-hero-buttons {
        align-items: flex-start;

        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 22px 16px;
    }

    .contact-form-heading h2 {
        font-size: 24px;
    }

    .contact-info-heading h2 {
        font-size: 26px;
    }

    .contact-detail-card {
        gap: 10px;

        padding: 15px 11px;
    }

    .contact-detail-icon {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .contact-detail-content h3 {
        font-size: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}
