/* =========================
   Reset and Base Styles
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   About Section
========================= */
.about {
  background-color: var(--background);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  transition: var(--transition);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* =========================
   Hero Section
========================= */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1558&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
  margin: 5px 0 60px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: white;
}

.btn {
  display: inline-block;
  background-color: #ffc107;
  color: #333;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffca28;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================
   Cards Section
========================= */
.cards-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-yellow {
  background-color: #ffc107;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-image {
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.card p {
  color: #666;
  margin-bottom: 25px;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #333;
  color: #333;
}

.btn-outline:hover {
  background-color: #333;
  color: white;
}

/* =========================
   Services Section
========================= */
.services {
  padding: 60px 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: #fff9e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffc107;
  font-size: 32px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* =========================
   FAQ Section
========================= */
.faq-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-titles {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b1221;
  margin-bottom: 15px;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: white;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #0b1221;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-answer {
  background-color: #f9f9f9;
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* =========================
   Responsive Styles
========================= */
@media (max-width: 992px) {
  .cards-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto 60px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: -95px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 15px;
    justify-content: center;
  }

  nav ul li {
    margin: 0 10px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero {
    margin-top: -95px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-yellow,
  .card-content {
    padding: 25px;
  }

  nav ul {
    flex-wrap: wrap;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .footer-text h2 {
    font-size: 28px;
  }
}
