/* ===============================
   GLOBAL STYLES
================================ */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #333;
}

h1, h2, h3 {
  margin: 0 0 10px;
  font-weight: 600;
}

p {
  margin: 0 0 15px;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

/* ===============================
   HERO SECTION
================================ */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../images/services-hero.jpg') center/cover no-repeat;
  color: white;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px 20px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
}

.hero .btn-secondary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff6b6b;
  color: white;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.hero .btn-secondary:hover {
  background: #e14c4c;
}

/* ===============================
   INTRO SECTION
================================ */
.intro {
  text-align: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.intro h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #002f6c;
}

.intro p {
  font-size: 1.05em;
  color: #555;
}

/* ===============================
   WHY CHOOSE US
================================ */
.why-us {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.reason {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.reason h3 {
  color: #002f6c;
  margin-bottom: 10px;
}

/* ===============================
   SERVICES GRID
================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===============================
   SERVICE CARD
================================ */
.service-card {
  position: relative; /* needed for badge */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.25em;
  margin-bottom: 10px;
  color: #002f6c;
}

.card-content p {
  flex: 1;
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #555;
}

.card-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #002f6c;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.card-content .btn:hover {
  background: #001b4d;
}

/* Hover animation for card */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Featured badge */
.service-card .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6b6b;
  color: white;
  padding: 5px 10px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 6px;
  z-index: 10;
}

/* ===============================
   TESTIMONIALS
================================ */
.testimonials {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.testimonial-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.testimonial {
  min-width: 300px;
  background: #f8f8f8;
  padding: 25px 20px;
  border-radius: 12px;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.testimonial p {
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #002f6c;
}

/* ===============================
   FAQ SECTION
================================ */
.faqs {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: #002f6c;
}

.faq-item p {
  display: none;
  color: #555;
}

.faq-item.active p {
  display: block;
}

/* ===============================
   CALL TO ACTION
================================ */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #002f6c, #001b4d);
  color: white;
  border-radius: 12px;
  margin: 40px 20px;
}

.cta h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.cta p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.cta .btn {
  margin: 10px 5px;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  background: #ff6b6b;
  color: white;
  transition: background 0.3s ease;
}

.cta .btn:hover {
  background: #e14c4c;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
================================ */
@media(max-width: 768px){
  .hero h1 { font-size: 2em; }
  .hero p { font-size: 1em; }
  .intro h2 { font-size: 1.5em; }
  .services-grid, .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
