﻿    /* ----- Contact Hero ----- */
  .contact-hero {
    padding: 4rem 2rem;
    position: relative;
    text-align: center;
    color: white;
    background: url('../../static/image/hero_background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 300px;
    margin-top: 148px;
  }
  
  .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 35, 71, 0.9), rgba(0, 51, 102, 0.85));
  }
  
  .contact-hero h1,
  .contact-hero p {
    position: relative;
    z-index: 2;
  }
  
  .contact-hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .contact-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* ----- Contact Form Section ----- */
  .contact-form-section {
    padding-top: var(--header-height);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  .form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .form-wrapper h2 {
    color: #0f1c94;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
  }
  .form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
  }
  .form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
  }
  button[type="submit"] {
    background: #003366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  button[type="submit"]:hover {
    background: #002347;
  }
  
  /* ----- Footer Adjustments ----- */
  main {
    flex: 1;
    margin-bottom: 0;
    padding-bottom: 2rem;
  }
  
  footer {
    margin-top: auto;
    background-color: #333;
    padding: 40px 0 0 0;
  }
  
  /* ----- Responsive Styles ----- */
  @media (max-width: 768px) and (min-width: 480px) {
    .contact-hero {
      padding: 3rem 1rem;
      margin-top: 155 px;
    }
    .contact-hero h1 {
      font-size: 2.2rem;
    }
    .contact-hero p {
      font-size: 1.1rem;
    }
    .form-wrapper {
      padding: 2rem;
    }
  }

  @media (max-width: 480px) {

    .contact-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for darkness level */
    }
  
    .contact-hero {
      min-height: 50vh;
      padding: 2rem 1rem;
      margin-top: 220px;
      text-align: center;
    }
  }
  
  /* Footer Styles */
  footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    margin-top: 2rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
  }
  
  .footer-section {
    flex: 0 1 auto;
    min-width: 300px;
    padding: 0 20px;
    text-align: left;
  }
  
  .footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
  }
  
  .footer-section p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
  }
  
  /* Add these to your existing CSS */
  .form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }
  
  .form-group input[type="tel"]:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
  }
  
  /* Optional: Add invalid state styling */
  .form-group input:invalid {
    border-color: #ff6b6b;
  }
  
  .button-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
  }
  
  @media (max-width: 768px) {
    .contact-form-section {
      padding-top: var(--header-height-mobile);
      padding: 20px;
    }
  
    .form-group {
      margin-bottom: 15px;
    }
  
    .button-container {
      flex-direction: column;
      gap: 10px;
    }
  }
  