/* css/contact.css */

/* Brand Colors */
:root {
  --d3f-blue: #0D407F;
  --d3f-green: #2C9A3D;
}

/* Hero Banner (using hero1.png) */
.contact-hero {
  position: relative;
  background: url("../images/hero1.png") no-repeat center center/cover;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for better visibility */
  z-index: 1;
}
.contact-hero .container {
  position: relative;
  z-index: 2;
}
.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.contact-hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  text-align: left;
}
.contact-info h2 {
  font-size: 2rem;
  color: var(--d3f-blue);
  margin-bottom: 20px;
}
.contact-info p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-info a {
  color: var(--d3f-green);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info a:hover {
  text-decoration: underline;
}
/* Google Maps Iframe */
.map-iframe iframe {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form-wrapper {
  text-align: left;
}
.contact-form-wrapper h2 {
  font-size: 2rem;
  color: var(--d3f-blue);
  margin-bottom: 20px;
}
.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}
.form-group label span {
  color: red; /* For required fields */
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--d3f-green);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  background-color: #249435;
}

/* Success Message */
.form-success {
  background: #dff0d8;
  border: 1px solid #d6e9c6;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  .contact-hero p {
    font-size: 1.1rem;
  }
  .contact-section .container {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  .map-iframe iframe {
    height: 300px;
  }
}
