/* Why Choose Us Page Styles */
/* Updated Color Scheme to match main.css */
:root {
  --primary: #009688;
  --primary-dark: #00796b;
  --primary-light: #b2dfdb;
  --secondary: #ff5722;
  --accent: #ffc107;
  --dark: #263238;
  --light: #eceff1;
  --white: #ffffff;
  --gray: #90a4ae;
  --gray-light: #cfd8dc;
}

/* Base Styles */
.why-choose-us {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* Hero Section */
.why-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/GalleryBack.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
  margin-bottom: 60px;
}

.why-hero h1 span {
  color: #009688;
}

.why-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--white);
}

.why-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Features Grid */
.why-features {
  padding: 80px 0;
  background-color: var(--light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Slider Section */
.why-slider-section {
  padding: 80px 0;
  background-color: var(--white);
}

.why-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.why-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-list {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.why-item {
  min-width: 100%;
  display: flex;
  background: var(--white);
  flex-direction: column;
}

.why-item.active {
  display: flex;
}

.why-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-image {
  height: 400px;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-title {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.why-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 30px;
}

.why-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation Arrows */
.why-nav-arrows {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.why-prev,
.why-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.why-prev:hover,
.why-next:hover {
  background: var(--primary-dark);
}

/* Thumbnails */
.why-thumbnails {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.why-thumb-item {
  width: 100px;
  height: 70px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.why-thumb-item.active,
.why-thumb-item:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--primary);
}

.why-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.why-testimonials {
  padding: 80px 0;
  background-color: var(--light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  position: relative;
  margin-bottom: 20px;
}

.testimonial-content i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray);
  line-height: 1.7;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--primary);
}

/* CTA Section */
.why-cta {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.why-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.why-cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--primary {
  background: var(--secondary);
  color: var(--white);
}

.btn--primary:hover {
  background: #e64a19;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .why-item {
    flex-direction: column;
  }

  .why-content {
    padding: 30px;
  }

  .why-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .why-hero h1 {
    font-size: 2.2rem;
  }

  .why-title {
    font-size: 1.8rem;
  }

  .why-description {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .why-hero {
    padding: 80px 20px;
  }

  .why-hero h1 {
    font-size: 1.8rem;
  }

  .why-hero p {
    font-size: 1rem;
  }

  .why-content {
    padding: 20px;
  }

  .why-stats {
    flex-direction: column;
    gap: 15px;
  }

  .why-thumb-item {
    width: 70px;
    height: 50px;
  }

  .why-cta h2 {
    font-size: 2rem;
  }
}
