/* Condact-us */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:opsz,wght@8..144,400;8..144,500;8..144,600;8..144,700&display=swap');

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
}
/*back button*/
.cont{
    margin-left: 10px;
}
.cont button{
    height:40px;
    width:100px;
    margin-top: 20px;
    text-decoration: none;
    background-color: #ba6a62;;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
}
.cont button:hover{
    background-color: #d96a60;
    color: white;
}
.cont a{
all:unset;
}

:root {
    --bodyBg: #F8E1DB; /* Soft, warm pastel peach */
    --formBg: #f5d2c9; /* Muted, light peach */
    --textColor: black; /* Ensures contrast and readability */
    --primaryColor: #a1766d; /* Soft muted brown for elegance */
    --paraColor: black; /* Deep brownish mauve */
}


body{
    font-family: 'Roboto Serif', serif;
    color: var(--textColor);
    background: var(--bodyBg);
    padding-bottom: 5em;
}

section{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90%;
    max-width: 550px;
    margin: auto;
    margin-top: 2em;
}

.sectionHeader{
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primaryColor);
    margin-bottom: .5em;
}

.heading,.sub-heading{
    margin-bottom: .5em;
    font-weight: bold;
}

.heading{
    font-size: 2.5em;
}

.sub-heading{
    text-align: left;
}

.contactForm{
    display: grid;
    gap: 3em;
}

form{
    width: 100%;
    margin-top: 3em;
}

.para{
    color: var(--paraColor);
    font-size: 1.1rem;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.para2{
    text-align: left;
}

.input{
    width: 95%;
    max-width: 700px;
    border: none;
    font-size: .9rem;
    padding: 1em;
    outline: none;
    background-color: var(--formBg);
    color: var(--paraColor);
    border-radius: 10px;
    border: 1px solid rgb(53, 53, 53);
    margin-bottom: 1em;

}

.input:focus{
    border: 1px solid var(--primaryColor);
}

.input::placeholder{
    text-transform: capitalize;
}

.submit{
    background-color: var(--primaryColor);
    border: none;
    color: var(--textColor);
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.map-container{
    position: relative;
    width: 100%;
    height: 500px;
}

.mapBg{
    position: absolute;
    background-color: var(--primaryColor);
    top: 0;
    right: 0;
    width: 200px;
    height: 90%;
    border-radius: 20px;
}

.map{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 90%;
}

.map iframe{
    width: 100%;
    height: 100%;
}

.contactMethod{
    display: flex;
    flex-direction: column;
    margin-top: 2em;
    text-align: left;
}

.method{
    display: flex;
    align-items: center;
}

.contactIcon{
    font-size: 2rem;
    color: var(--primaryColor);
    width: 70px;
}

@media screen and (min-width:800px) {
    section{
        max-width: 1100px;
    }
    .contactForm{
        grid-template-columns: 1fr 1fr;
    }   

    .contactMethod{
        flex-direction: row;
        justify-content: space-between;
    }
}
.contactMethod {
    display: flex;
    justify-content: space-between; /* Ensures equal spacing */
    align-items: center;
    gap: 20px; /* Adds spacing between items */
    padding: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.method {
    flex: 1; /* Each item takes equal space */
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between icon and text */
    padding: 20px;
    background-color: #F8E1DB; /* Light peach background */
    border-radius: 10px; /* Smooth edges */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    min-width: 300px; /* Prevents shrinking too much */
    text-align: left;
}

.contactIcon {
    font-size: 30px; /* Increases icon size */
    color: #8C6A5D; /* Matches the color scheme */
}

.text {
    flex: 1; /* Allows text to take full space */
}

.sub-heading {
    font-size: 20px;
    font-weight: bold;
    color: #704214; /* Dark brown text */
}

.para {
    font-size: 16px;
    color: #6D4C41;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .contactMethod {
        flex-direction: column; /* Stack items in a column */
        align-items: stretch;
    }

    .method {
        width: 100%; /* Full width on smaller screens */
    }
}
/* Default styles are already responsive. Below are media queries for better adaptability */

/* Small devices (phones, less than 600px) */
@media screen and (max-width: 600px) {
    .heading {
        font-size: 2em;
    }

    .sub-heading {
        font-size: 1.2em;
    }

    .para {
        font-size: 1rem;
    }

    .input {
        width: 100%;
        font-size: 0.9rem;
    }

    .submit {
        font-size: 1rem;
    }

    .map-container {
        height: 300px;
    }

    .method {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .contactIcon {
        font-size: 25px;
    }
}

/* Medium devices (tablets, 600px to 900px) */
@media screen and (min-width: 600px) and (max-width: 900px) {
    .heading {
        font-size: 2.2em;
    }

    .sub-heading {
        font-size: 1.4em;
    }

    .contactMethod {
        flex-direction: column;
        gap: 15px;
    }

    .method {
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
    }

    .contactIcon {
        font-size: 30px;
    }
}

/* Large devices (desktops, more than 900px) */
@media screen and (min-width: 900px) {
    .contactForm {
        grid-template-columns: 1fr 1fr;
        gap: 5em;
    }

    .map-container {
        height: 450px;
    }

    .contactMethod {
        flex-direction: row;
        justify-content: space-between;
    }
}

