#contactSection body {
  font-family: 'Inter', sans-serif; /* Using Inter font as per instructions */
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Flex container for form and map */
#contactSection {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
  align-items: flex-start; /* Aligns items to the top */
  justify-content: center; /* Centers items horizontally */
  gap: 40px; /* Space between form and map */
  padding: 50px;
  max-width: 1200px; /* Max width for the section */
  margin: auto; /* Center the section on the page */
}

/* Contact form container */
.form-container {
  flex: 1; /* Allows the form to grow and shrink */
  min-width: 300px; /* Minimum width before wrapping */
  max-width: 500px; /* Max width for the form */
  padding: 40px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
}

.form-container h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #222;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .col {
  flex: 1; /* Each column takes equal space in the row */
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box; /* Include padding in element's total width */
}

textarea.form-control {
  resize: vertical; /* Allow vertical resizing for text area */
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.form-container button:hover {
  background-color: #444;
}

/* Map styling */
.map {
  flex: 1; /* Allows the map to grow and shrink */
  min-width: 300px; /* Minimum width before wrapping */
  max-width: 600px;
  height: fit-content;
  padding: 35px;
 /* Max width for the map */
  border-radius: 10px;
  overflow: hidden; /* Ensures the iframe respects border-radius */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex; /* Use flex to center the iframe if needed */
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
}

.map iframe {
  width: 100%; /* Make iframe responsive within its container */
  height: 450px; /* Fixed height for the iframe */
  display: block; /* Remove extra space below iframe */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #contactSection {
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center; /* Center items when stacked */
    padding: 20px;
  }

  .form-container,
  .map {
    width: 100%; /* Full width on small screens */
    max-width: 100%; /* Override max-width for full responsiveness */
  }

  .form-row {
    flex-direction: column; /* Stack form inputs vertically */
  }
}

.footer-custom {
    background: linear-gradient(135deg, #0a0d14, #0c0d0ed1);
    color: #ffffff; /* white text */
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  }

  /* Social Icons */
  .footer-custom .social-icon {
    color: #ffffff;  /* white icons */
    margin: 0 10px;
    font-size: 1.7rem;
    transition: all 0.3s ease-in-out;
    display: inline-block;
  }

  .footer-custom .social-icon:hover {
    color: #748cab; /* hover color can remain muted blue */
    transform: translateY(-4px) scale(1.1);
  }

  /* Footer Text */
  .footer-custom p {
    margin-top: 10px;
    color: #ffffff; /* white text */
    font-size: 0.9rem;
  }