/* General styles */

body {
  background-color: #f5f5f5;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #34588f;
}

.logo-img {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #34588f;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

/* .btn-call {
  background-color: #00bcd4;
  color: white;
  border-color: #00bcd4;
}

.btn-call:hover {
  background-color: #00acc1;
  transform: translateY(-2px);
}

.btn-book {
  background-color: #607d8b;
  color: white;
  border-color: #607d8b;
}

.btn-book:hover {
  background-color: #546e7a;
  transform: translateY(-2px);
} 

.btn-book-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-book-secondary:hover {
  background-color: white;
  color: #34588f;
}
  */

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/static/images/aboutUs.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
  color: white;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
  max-width: 37.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  max-width: 31.25rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn {
  padding: 0.938rem 1.875rem;
  font-size: 1rem;
}

/* About Content Section - Overlapping */
.about-content-section {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  padding: 0 2rem 4rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.about-card.reverse {
  flex-direction: row-reverse;
}

.about-hero {
  /* background-image: url("/static/images/aboutUs.jpg");
   height: 400px; 
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
  color: white; */
}

.card-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h2 {
  color: #34588f;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.card-content p:last-child {
  margin-bottom: 0;
}

.card-image {
  flex: 1;
  height: 400px;
  overflow: hidden;
  background-size: cover;
  padding: 20px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-card:hover .card-image img {
  transform: scale(1.05);
}

/* Why Choose Section */
.why-choose-section {
  /* background: linear-gradient(135deg, #607d8b 0%, #455a64 100%); */
  background: #ddd;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
  color: white;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-choose-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1a3e75;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  color: #34588f;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #34588f;
}

.feature-card p {
  color: #113c52;
  /* color: rgba(255, 255, 255, 0.9); */
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .about-container {
    margin: 0 1rem;
  }

  .card-content {
    padding: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav-buttons {
    justify-content: center;
  }

  .hero-section {
    height: 400px;
    margin-top: 120px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content-section {
    margin-top: -80px;
  }

  .about-card {
    flex-direction: column !important;
    min-height: auto;
  }

  .about-card.reverse {
    flex-direction: column !important;
  }

  .card-content {
    padding: 2rem 1.5rem;
  }

  .card-content h2 {
    font-size: 1.75rem;
  }

  .card-image {
    height: 250px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-content h2 {
    font-size: 1.5rem;
  }

  .why-choose-container h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    height: 60px;
  }

  .feature-icon svg {
    width: 50px;
    height: 50px;
  }
}
