:root {
  --primary-green: #39a452;
  --dark-green: #184234;
  --dark-teal: #355355;
  --text-gray-dark: #5c5b5b;
  --text-gray-light: #acabaa;
  --text-gray-medium: #4b5563;
  --white: #ffffff;
  --black: #000000;
  --light-green-bg: rgba(57, 164, 82, 0.16);
  --light-green-bg-2: rgba(57, 164, 82, 0.09);
  --dark-green-bg: rgba(24, 66, 52, 0.98);
}
body {
  font-family: 'Inter', sans-serif;
  margin: 10;
  padding: 0;
  background-color: #fbfefc;
  color: #111827;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.container {
  max-width: 1440px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utility for the green background shape */
.bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 97%;
  height: 500px;
  margin: 0 10px;
  border-radius: 15px;
  z-index: -1;
  background-size: cover;
  background-position: center;
  animation: slideShow 5s infinite;
}

/* Slideshow Animation */
@keyframes slideShow {
  0%   { background-image: url("image/contact image/contact iamge.jpg"); }
  100%  { background-image: url("image/contact image/conatact image 2.jpg"); }
}

#hero {
  position: relative;
  z-index: 5;
  margin-top: 70px;
}
 .container{
    text-align: start;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
  margin-left: 84px;
  margin-top: 50px; /* Aligning with design */
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #39a452;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

#contact-info {
  padding: 0 20px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
  margin-top: 450px;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 47px;
  flex-direction: row;
  flex-wrap: wrap;
}

.info-card {
  background-color: #ffffff;
  border: 2px solid #39a452;
  border-radius: 10px;
  box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex: 1;
width: 500px;
height: 185px;
}
.card-column {
 background-color: #ffffff;
  border: 2px solid #39a452;
  border-radius: 10px;
  box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  display: flex;
  flex-direction: row;
  gap: 24px;
width:800px;
height: 180px;
}
.card-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-bg {
  background-color: #e1ffe8;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  color: #39a452;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-desc {
  color: #000000;
  font-size: 16px;
  line-height: 1.5;
}

.card-label {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-value {
  color: #355355;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .cards-wrapper {
    gap: 20px;
  }
  
}
 #map-section {
    width: 95vw;        /* full screen width */
    position: relative;
    left: 0;
    margin: 10px;
  margin-bottom: 50px;
  }

  .map-wrapper {
    margin: 10px;
     border: 2px solid #39a452;
     border-radius: 10px;
  }

  .map-wrapper iframe {
    width: 100%;      /* fills wrapper */
    height: 500px;
    border: 0;
     box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  /* ✅ Responsive for mobile */
  @media (max-width: 768px) {
    .map-wrapper iframe {
      height: 350px;
    }
  }

#contact-form {
  padding: 0 60px;
  margin-bottom: 100px;
}
.form-container {
  border: 3px solid #39a452;
  border-radius: 8px;
  box-shadow: -5px 6px 6px rgba(0, 0, 0, 0.25);
  padding: 80px 100px;
  background-color: #fff;
    width: 80vw;
}

.form-header {
  margin-bottom: 52px;
}

.form-header h2 {
  font-size: 36px;
  color: #111827;
  margin-bottom: 16px;
}

.form-header p {
  font-size: 18px;
  color: #39a452;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 50px;
  margin-bottom: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 16px;
  color: #374151;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}
.input-wrapper svg{

  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  pointer-events: none; /* click passes to select */
} 
.input-wrapper input,
.input-wrapper select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #111827;
  background: #fff;
}

.input-wrapper input::placeholder {
  color: #999999;
}

textarea {
  border: 1px solid #d1d5db;
  resize: vertical;
  min-height: 137px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  color: #999999;
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.submit-btn {
  background-color: #39a452;
  color: white;
  border: none;
  padding: 10px 21px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: -3px 5px 3px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #2e8542;
}

/* Tablets and small laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 20px 60px;
  }
  #hero .container {
    flex-direction: row-reverse;
    gap: 50px;
  justify-content: space-between;
  }
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    margin-top: 10px;
    text-align: start;
    order: 2;
  }
  .heroimagecontact {
    width: 300px;
    height: 300px;
    order: 1;
  }
  .hero-title {
    font-size: 32px;
  }
  .cards-wrapper {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  .info-card,
  .card-column {
          max-width: 450px;
        height: 270px;
        flex-direction: column;
  }
}

/* Small devices and large mobiles (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  #hero{
  margin-top: 145px;
}
  .hero-title {
    font-size: 28px;
  }
  .heroimagecontact {
    width: 270px;
    height: 270px;
  }
  .cards-wrapper {
    flex-direction: row;
    gap: 24px;
    align-items: center;
  }
  .info-card,
  .card-column {
    width: 330px;
    padding: 20px;
  }
  #contact-form {
    padding: 30px 20px;
  }
  .form-header p {
    font-size: 16px;
  }
  .form-header h2 {
    text-align: center;
  }
}

/* Mobile phones & small devices (max-width: 480px) */
/* Mobile phones & small devices (max-width: 480px) */
@media (max-width: 480px) {
  body {
    margin: 0; /* Reset body margin */
  }
  .bg-shape {
        width: 100%;
        margin: 0px;
        height: 600px;
  }
  #hero {
    padding: 40px 10px 20px;
  }
  
  #hero .container {
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
    text-align: center;
  }
  
  .hero-title {
    font-size: 22px;
    line-height: 1.3;
  }
  #contact-info{
        margin-top: 520px;
  }
  .heroimagecontact {
    width: 290px;
    height: 290px;
    object-fit: cover;
  }
  
  #contact-form {
    padding: 0 15px;
  }
  
  .form-container {
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: -3px 4px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 100%;
  }
  
  .form-header {
    margin-bottom: 40px;
    text-align: center;
  }
  
  .form-header h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .form-header p {
    font-size: 14px; /* Increased from 12px for readability */
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .form-group label {
    font-size: 15px;
  }
  
  .input-wrapper input,
  .input-wrapper select,
  textarea {
    padding: 14px 45px 14px 16px;
    font-size: 16px;
    min-height: 50px;
  }
  
  textarea {
    min-height: 120px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
  }
  
  .map-wrapper {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  
  .input-wrapper svg {
    right: 12px;
    width: 18px;
    height: 18px;
  }
}

/* Extra small mobiles (max-width: 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 20px;
  }
  
  .heroimagecontact {
    width: 250px;
    height: 250px;
  }
  
  .cards-wrapper {
    gap: 16px;
  }
      .info-card, .card-column {
        width: 260px;
        padding: 20px;
    }
  
  .map-wrapper {
    width: 100%;
    max-width: 300px;
  }
  
  .form-container {
    padding: 24px 16px;
  }
  
  .form-header h2 {
    font-size: 22px;
  }
  
  #contact-form {
    padding: 0 10px;
    margin-bottom: 40px;
  }
  
  .input-wrapper input,
  .input-wrapper select,
  textarea {
    padding: 12px 40px 12px 14px;
  }
  
  .submit-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
}
