/* Add these new styles to center the contact form */
.contact-content.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-content.centered .contact-form {
  width: 100%;
  max-width: 600px; /* Adjust the width as needed */
  margin: 0 auto;
}

/* Original CSS below (keep everything else the same) */

/* Color Variables */
:root {
  --primary-green: #8cc63f;
  --secondary-green: #6ea32d;
  --accent-purple: #5d4e9b;
  --light-purple: #e9e6f3;
  --dark-navy: #1a2a3a;
  --light-gray: #f9f9f9;
  --medium-gray: #eaeaea;
}

/* General Page Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Container for content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
header {
  padding: 15px 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 60px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-green);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--accent-purple)
  );
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Contact Section */
.contact-section {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  flex: 1;
}

/* Right Side: Contact Form */
.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 1.8rem;
  color: var(--dark-navy);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--accent-purple)
  );
  bottom: 0;
  left: 0;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--dark-navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 15px;
  font-family: "Montserrat", Arial, sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
  outline: none;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* reCAPTCHA Box */
.captcha-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  padding: 12px 15px;
  background-color: var(--light-gray);
  height: 60px;
  width: 60%;
  transition: all 0.3s ease;
}

.captcha-box:hover {
  border-color: var(--primary-green);
}

.captcha-checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.captcha-checkbox-container label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
  display: block;
}

.recaptcha-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.recaptcha-logo img {
  width: 30px;
  height: 30px;
}

.recaptcha-text {
  font-size: 10px;
  color: #888;
  line-height: 1.2;
}

.recaptcha-text span {
  font-size: 8px;
}

/* Send Button */
.submit-btn {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--primary-green),
    var(--accent-purple)
  );
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(140, 198, 63, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent-purple),
    var(--primary-green)
  );
  box-shadow: 0 6px 20px rgba(93, 78, 155, 0.4);
  transform: translateY(-2px);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s;
}

.submit-btn:hover::before {
  left: 100%;
}

/* Footer Styling */
footer {
  background-color: var(--dark-navy);
  padding: 30px 0;
  color: white;
  width: 100%;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Social Links Styling */
.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  font-size: 22px;
  color: white;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background-color: var(--primary-green);
  transform: translateY(-3px);
}

/* Copyright Styling */
.copyright {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Form Validation Styles */
.error-message {
  color: #d9534f;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

#loading-indicator {
  display: none;
  text-align: center;
  margin-top: 20px;
}

#successMessage,
#errorMessage {
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  display: none;
}

#successMessage {
  background-color: rgba(140, 198, 63, 0.1);
  border: 1px solid rgba(140, 198, 63, 0.3);
  color: var(--secondary-green);
}

#errorMessage {
  background-color: rgba(217, 83, 79, 0.1);
  border: 1px solid rgba(217, 83, 79, 0.3);
  color: #d9534f;
}

.spinner {
  border: 3px solid var(--light-gray);
  border-top: 3px solid var(--primary-green);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Responsive Design */
/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .contact-content.centered .contact-form {
    max-width: 550px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .nav-links {
    gap: 30px;
  }

  .contact-form {
    padding: 30px;
  }

  .captcha-box {
    width: 80%;
  }

  .contact-form h2 {
    font-size: 1.6rem;
  }
  
  .contact-content.centered .contact-form {
    max-width: 500px;
  }
}

/* Large Phones & Small Tablets */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: white;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding-top: 70px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 150;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 15px 30px;
    border-bottom: 1px solid var(--light-gray);
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .captcha-box {
    width: 100%;
  }
  
  .contact-content.centered .contact-form {
    max-width: 100%;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .logo {
    height: 50px;
  }

  nav {
    height: auto;
  }

  .contact-form {
    padding: 25px 15px;
  }

  .captcha-box {
    padding: 10px;
    height: auto;
    min-height: 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .recaptcha-logo {
    align-self: flex-end;
  }

  .submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .contact-form h2 {
    font-size: 1.5rem;
  }

  .contact-form label {
    font-size: 13px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 14px;
  }
}

/* Very Small Phones */
@media (max-width: 375px) {
  .captcha-checkbox-container label {
    font-size: 13px;
  }
}

/* For devices that support hover */
@media (hover: hover) {
  .submit-btn:hover {
    transform: translateY(-2px);
  }

  .social-icon:hover {
    transform: translateY(-3px);
  }
}

/* For devices with no hover support */
@media (hover: none) {
  .submit-btn:active {
    background: var(--secondary-green);
  }

  .social-icon:active {
    background-color: var(--primary-green);
  }
}



/* reCAPTCHA styling */
.g-recaptcha {
  margin-bottom: 20px;
}

/* Make reCAPTCHA responsive */
@media (max-width: 320px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}
