/* About Page Banner Styles - Exactly matching Contact Page Design */

/* Banner Section Styles - Matching contact.php structure */
.about-banner-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.about-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.about-banner-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.about-banner-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeUp 1s ease;
}

.about-banner-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
  animation: fadeUp 1s ease 0.2s both;
}

.about-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.4s both;
}

/* Button styles matching contact.php */
.about-banner-buttons .btn {
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  box-shadow: 0 4px 6px -1px rgba(0, 86, 179, 0.1), 0 2px 4px -1px rgba(0, 86, 179, 0.06);
}

.about-banner-buttons .btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.about-banner-buttons .btn-primary:hover {
  background-color: #003b58;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(0, 86, 179, 0.2), 0 4px 6px -2px rgba(0, 86, 179, 0.1);
}

.about-banner-buttons .btn-secondary {
  background-color: white;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.about-banner-buttons .btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 86, 179, 0.1), 0 2px 4px -1px rgba(0, 86, 179, 0.06);
}

/* Responsive adjustments matching contact.php */
@media (max-width: 768px) {
  .about-banner-section {
    height: 500px;
  }
  
  .about-banner-content {
    padding: 0 1rem;
  }
  
  .about-banner-content h1 {
    font-size: 2.5rem;
  }
  
  .about-banner-content p {
    font-size: 1.1rem;
  }
  
  .about-banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-banner-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .about-banner-section {
    height: 450px;
  }
  
  .about-banner-content h1 {
    font-size: 2rem;
  }
  
  .about-banner-content p {
    font-size: 1rem;
  }
}

/* Animation keyframes matching contact.php */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container styles matching contact.php */
.about-banner-section .container {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Ensure proper z-index layering */
.about-banner-section {
  z-index: 0;
}

.about-banner-image {
  z-index: 1;
}

.about-banner-overlay {
  z-index: 2;
}

.about-banner-content {
  z-index: 3;
}