/* -----------------------------------
   Background Section
----------------------------------- */
.background-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url(../images/telephone.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

/* -----------------------------------
   Hero Banner Section
----------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: none;
}

.hero-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 10;
}

.breadcrumb {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  opacity: 0.8;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: capitalize;
  margin: 0;
}

section.hero-banner + .about-us {
  margin-top: 20px;
}

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-now.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-now.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


/* -----------------------------------
   Contact Hero Section
----------------------------------- */
.contact-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-hero {
  color: black;
  text-align: center;
  padding: 50px 20px;
  border-radius: 8px;
}

.contact-hero h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #D02B2F;
}

.contact-hero h2 {
  font-size: 20px;
  color: black;
}

/* -----------------------------------
   Contact Section Layout
----------------------------------- */
.contact-section-container {
  padding: 40px;
  display: flex;
  justify-content: center;
}

.contact-box-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.contact-form-section {
  width: 70%;
  padding-right: 20px;
  margin: 40px 0;
}

.direct-contact-section {
  width: 30%;
  padding-left: 20px;
  margin: 40px 0;
  text-align: center;
}

/* -----------------------------------
   Contact Form Styling
----------------------------------- */
.contact-form-section h3,
.direct-contact-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-form .required {
  color: red;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgb(122, 160, 230);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  height: 100px;
}

.contact-form button {
  background: #D02B2F;
  text-align: center;
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #861717;
}

/* -----------------------------------
   Direct Contact Section Styling
----------------------------------- */
.direct-contact-section p {
  font-size: 1rem;
  margin: 10px 0;
}

.direct-contact-section a {
  color: black;
  font-weight: bold;
  transition: color 0.3s ease;
}

.direct-contact-section a:hover {
  color: #1e8449;
}

/* -----------------------------------
   Responsive Design - Media Queries
----------------------------------- */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


@media (max-width: 1024px) {
  .contact-box-container {
    flex-direction: column;
  }

  .contact-form-section,
  .direct-contact-section {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 200px;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-hero h2 {
    font-size: 18px;
  }

  .contact-section-container {
    padding: 20px;
  }

  .contact-form-section h3,
  .direct-contact-section h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.95rem;
    padding: 10px;
  }

  .contact-form-section h3,
  .direct-contact-section h3 {
    font-size: 1.3rem;
  }
}