/* Hero Section Styles (for Contact Page) */
.hero-section {
  position: relative;
  height: 400px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.contact-hero-section {
  background: url("../bgs/contact-bg.jpg") no-repeat center center/cover; /* Placeholder image */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  backdrop-filter: blur(5px); /* Blur effect */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

/* Dark Mode Adjustments for Hero Section */
body.dark-mode .hero-section::before {
  background: rgba(0, 0, 0, 0.7); /* Darker overlay in dark mode */
}

/* Contact Content Section */
.contact-content {
  padding: 80px 0;
  background: var(--bg-color);
}

.contact-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.contact-info-section {
  background: var(--olive-green);
  color: var(--cream-white);
  padding: 40px;
  height: 100%;
}

body.dark-mode .contact-info-section {
  background: var(--dark-blue);
}

.contact-info-section h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 24px;
  color: var(--light-khaki);
}

.info-text h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.info-text p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.contact-form-section {
  padding: 40px;
}

.form-label {
  font-weight: 600;
  color: var(--text-color);
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ced4da; /* Distinct border for light mode */
  background: #ffffff; /* Bright white background */
  color: #212529;
  transition: all 0.3s ease;
}

body.dark-mode .form-control {
  border: 1px solid #4b5563; /* Visible border for dark mode */
  background: #1f2937; /* Lighter dark background to contrast with card */
  color: #f3f4f6;
}

.form-control:focus {
  border-color: var(--olive-green);
  box-shadow: 0 0 0 3px rgba(66, 82, 43, 0.25);
  background: #ffffff;
  color: #212529;
}

body.dark-mode .form-control:focus {
  background: #1f2937;
  color: #f3f4f6;
}

.btn-submit {
  background: var(--accent-blue);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--olive-green);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 82, 43, 0.3);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-section {
    height: 300px;
  }
  .contact-info-section,
  .contact-form-section {
    padding: 30px 20px;
  }
}
