/* hero section */

.hero {
    display: flex;
    flex-direction: column;
    background-color: #fffdfb;
    /* min-height: 62vh; */
    align-items: center;
    gap: 2rem;
}

.hero__title {
    margin-top: 4.5rem;
    display: flex;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; 
    font-weight: 600;
    color: black;
    text-align: center;
    text-transform: capitalize;
    max-width: 20ch;
}

.hero__title__divider {
    border: 0;
    height: 3px;
    background: black; /* or your theme color */
    width: 80%; /* adjust as needed */
}

.hero__description__img__container{
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), 
    url('/images/contact.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: top center; */
    align-items: center;
    justify-content: center;
}

.hero__description{
    font-size: 1.6rem;
    font-family: 'DM Serif Display', serif;
    color: #fffdfb;;
    text-align: center;
    font-weight: 200;
    max-width: 20ch;
    padding: 1rem;
}


/* xs */
@media (min-width: 475px) {
    .hero__title{
        font-size: 2rem;
    }
    .hero__description__img__container{
        align-items: start;
    }
    .hero__description{
        font-size: 1.6rem;
        max-width: 30ch;
        padding: 2rem;
    }
}

/* md */
@media (min-width: 768px) {
    .hero__title{
        font-size: 2.4rem
    }
    .hero__description{
        font-size: 1.7rem;
        max-width: 40ch;
    }
}

/* lg */
 @media (min-width: 1024px) {
    .hero{
        gap: 4rem
    }
    .hero__title{
        font-size: 2.5rem;
        max-width: none;
    }
    .hero__title__divider {
        width: 95%;
    }
    .hero__description{
        font-size: 2.3rem;
        max-width: 40ch;
    }
 }

 @media (min-width: 1024px) and (orientation: portrait) {
    /* .hero {
        min-height: 30vh; 
    } */
}
/* xl */
@media (min-width: 1280px) {
    .hero__title{
        max-width: none;
        margin-bottom: 2rem;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .hero__title{
        font-size: 3rem;
    }
    .hero__description{
        font-size: 2.4rem
    }
}



/* contact section */

.contact {
    background-color: #fffdfb;
    text-align: center;
    padding-top: 1px; /* Creates a boundary to contain margins */
}

.contact__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    background-color: #fffdfb;  /* Explicitly set background on card */
}

.contact__info, .contact__form {
    width: 100%;
}

.contact__info h4 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 1.5rem;
    font-size: 1.5em;
}

.contact__info p {
    margin-bottom: 1.2rem;
    font-size: 1.1em;
    color: #333;
}

.contact__form form {
    display: flex;
    flex-direction: column;
}

.contact__form label {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact__form input, .contact__form textarea {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 1.5rem;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact__form button {
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #1ab79d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn button:hover {
    background-color: #1a967d;
}

/* xs */
@media (min-width: 475px) {
}

@media (min-width: 768px) {
    .contact__card {
        flex-direction: row;
        justify-content: space-between;
        /* width: 80%; */
    }
    .contact__info, .contact__form {
        width: 50%;
    }
    .contact__info{
        text-align: center;
        padding: 2rem
    }
    .contact__form{
        text-align: left;
    }
}

/* lg */
 @media (min-width: 1024px) {

 }

/* xl */
@media (min-width: 1280px) {

}

/* 2xl */
@media (min-width: 1536px) {

}

/* location section */

.location {
    display: flex;
    flex-direction: column;
    background-color: #fffdfb;
}

.map__container {
    margin-top: 6rem;  /* now this margin will stay contained */
    text-align: center;
}

.map__container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* Whatsapp */

  .chatbox__button {
    display: flex;
    justify-content:space-evenly;
    background-color: #25d366;
    color: #fff;
    padding: 10px;
    text-align: center; 
    border-radius: 20px;
    position: fixed;
    bottom: 20px;      /* Reduced margin for smaller screens */
    right: 10px;       /* Reduced margin for smaller screens */
    width: 260px;        /* Width adjusted for mobile screens */
    max-width: 280px;  /* Max width for larger mobile screens */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
   }
   
   .chatbox__button:hover{
    transform: scale(1.04); /* was 1.05 before*/
    transition: all 0.1s ease-in-out; /*was 0.3 */
    background-color: #03be4b;
   }
   .chatbox__title{
    font-size: 1rem;
    font-weight: 500;
  }
  /* Tablet and Desktop Styles */
  @media (min-width: 768px) {
    .chatbox {
      bottom: 20px;
      right: 20px;
      width: 150px;
    }
  }

