.homepage-nav {
    background-color: #1c1f22;
}

.contact-main-wrapper{
    width: 100%;
    height: 70vh;
    background-position: center 80%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('https://images.pexels.com/photos/31737861/pexels-photo-31737861.jpeg');
    position: relative;
    isolation: isolate;

}
.contact-main-wrapper::before {
    content: '';
    position: absolute;
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.contact-main-wrapper > * {
    position: relative;
    z-index: 1;
}
.contact-heading{
    font-size: 90px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    padding-top: 250px;
}
.contact-sub-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    margin-top: 140px;
}
.contact-sub-heading a{
   color: #fff;
text-decoration: none;
}
.contact-information{
    width: 100%;
}
.contact-info-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align:center ;
    gap: 20px;
    margin-top: 80px;
}
.contact-info-heading{
    color: gray;
    font-size: 16px;
    text-transform: capitalize;
}
 .contact-information .contact-us-info{
    text-align: center;
    color: #000;
    font-size: 80px;
    margin-top: 30px;
    font-weight: 500;
    text-transform:capitalize ;
}
.contacts{
    display:grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: space-between;
    width: 85%;
    margin: 0 auto;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 80px;   
}
.contact{
    display: flex;
    flex-direction: column;
    gap: 20px;
   
}

.contact i{
    font-size: 30px;
    color: #2c2b2b;
    background-color: #a5e75a;
    padding: 20px;
    border-radius: 50%;

}

.contact-name{
    font-size: 26px;
    font-weight: 500;
    color: #212121;
}
.contact-details{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a4a4a;
}
.contact-image-wrapper{

    width: 87%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
        margin-top: 80px;
        margin-bottom: 80px;

}
.contact-image-wrapper img{
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}
.google-map-wrapper{
    width:100%;
    height: 100%;
    background-color: #e5e5e5;
}
.maps-grid{
    width: 87%;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.map-block{
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.map-block .google-map-wrapper{
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}
.map-label{
    font-size: 16px;
    font-weight: 600;
    color: #212121;
}
.contact-updates{
    text-align: center;
    color: #666565;
    margin-bottom: 80px;
    margin-top: 10px;
   
}
/* Contact Form */
.contact-form {
    width: min(87%, 1120px);
    margin: 0 auto 100px;
    padding: 64px clamp(24px, 5vw, 72px);
    background: #f5f7f2;
    border: 1px solid #e2e8dc;
    border-radius: 20px;
}
.contact-form-heading {
    max-width: 620px;
    margin-bottom: 38px;
}
.form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #627158;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.form-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #7cc42a;
}
.contact-form-heading h2 {
    margin: 14px 0 10px;
    color: #1d271c;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.15;
}
.contact-form-heading p {
    margin: 0;
    color: #687267;
    font-size: 15px;
    line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.form-field label {
    color: #33402f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.form-field label span {
    color: #6aa824;
}

.form-input,
.form-textarea {
  width: 100%;
    border: 1px solid #d8dfd3;
    background: #ffffff;
    padding: 15px 17px;
  font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
  color: #1a1a1a;
  outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;

}
.form-input {
    min-height: 52px;
    border-radius: 8px;
}
.form-textarea {
    border-radius: 8px;
  resize: vertical;
    min-height: 160px;
}
.form-input:focus,
.form-textarea:focus {
    border-color: #7cc42a;
    background-color: #fbfef9;
    box-shadow: 0 0 0 4px rgba(124, 196, 42, 0.14);
  color: #1a1a1a;
}
.form-input:user-invalid,
.form-textarea:user-invalid {
    border-color: #cf6b55;
}
.form-input::placeholder,
.form-textarea::placeholder {
  font-family: 'Montserrat', sans-serif;
    color: #98a096;
}
.form-error {
    color: #cf6b55;
    font-size: 12px;
    font-weight: 600;
}
.contact-form-messages {
    margin-bottom: 20px;
}
.form-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(124, 196, 42, 0.12);
    border: 1px solid rgba(124, 196, 42, 0.3);
    color: #4c7a17;
}
.form-submit {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
}
.btn-send {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #7cc42a;
    color: #17210f;
    border: 1px solid #6eae24;
    border-radius: 8px;
    padding: 14px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-send:hover {
    background: #8bd63d;
    box-shadow: 0 8px 18px rgba(91, 135, 38, 0.2);
    transform: translateY(-2px);
}
.btn-send:focus-visible {
    outline: 3px solid rgba(124, 196, 42, 0.35);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .contact-main-wrapper { height: 45vh; }
    .contact-heading { font-size: 40px; padding-top: 140px; }
    .contact-sub-heading { margin-top: 30px; font-size: 14px; gap: 10px; flex-wrap: wrap; }
    .contact-info-wrapper { margin-top: 40px; }
    .contact-us-info { font-size: 32px; margin-top: 16px; }
    .contact-image-wrapper { flex-wrap: wrap; margin-top: 40px; margin-bottom: 40px; }
    .contact-image-wrapper img { height: 220px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 40px 20px; width: 100%; margin-bottom: 60px; border-radius: 0; }
    .contact-form-heading { margin-bottom: 28px; }
    .form-submit { justify-content: stretch; }
    .btn-send { justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
    .contact-heading { font-size: 30px; padding-top: 110px; }
    .contact-main-wrapper { height: 40vh; }
}