/* Resetting some default styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Styling for the map section */
.map-container {
  margin: 40px auto;
  text-align: center;
  padding: 10px;
}

iframe {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-container {
  text-align: center;
  margin-top: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Flex layout for contact info boxes */
.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Adjusted gap to make boxes closer */
  margin-top: 30px;
  max-width: 100%;
  justify-content: center; /* Center the boxes horizontally */
}

/* Info Box Styling */
.info-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 40%; /* Set to 40% width for both boxes */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.info-box i {
  font-size: 40px;
  color: #588157; /* New accent color */
  margin-bottom: 15px;
}

.info-box h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 16px;
  color: #555;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-box::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background-color: #588157; /* Accent color underline */
  border-radius: 3px;
}

/* Custom Styles for Left and Right Boxes */
.left-box {
  order: 1;
}

.right-box {
  order: 2;
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    width: 80%; /* Make boxes take up more space on smaller screens */
    margin-bottom: 20px;
    padding: 25px;
  }

  iframe {
    height: 250px; /* Adjust map height for smaller screens */
  }
}

/* AOS Animations */
[data-aos="fade-right"] {
  animation: fadeInRight 1s ease-in-out;
}

[data-aos="fade-left"] {
  animation: fadeInLeft 1s ease-in-out;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
