/* ===== BASE RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fffafc;
  color: #333;
  padding-top: 70px;
}


/* ===== HERO SECTION ===== */
.hero.services-hero {
  background: linear-gradient(135deg, #efeaff);
  text-align: left;
  padding: 120px 10% ;
  color: #3e2f80;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #3e2f80;
}

.hero-content p {
  color: #555;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}


/* ===== SERVICES SECTION ===== */
.services-modern {
  background: #fff;
  text-align: center;
  padding: 90px 10%;
}

.services-modern h2 {
  color: #3e2f80;
  font-size: 2rem;
  margin-bottom: 10px;
}

.services-modern .subtitle {
  color: #6b6b8e;
  margin-bottom: 50px;
  font-size: 1rem;
}

.modern-service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.modern-card {
  background: #f9f5ff;
  border-radius: 18px;
  width: 290px;
  padding: 35px 25px;
  box-shadow: 0 8px 22px rgba(124, 92, 255, 0.1);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.25);
  background: linear-gradient(135deg, #f3edff, #ffffff);
}

.modern-card .icon {
  font-size: 2.5rem;
  color: #7c5cff;
  margin-bottom: 20px;
}

.modern-card h3 {
  color: #4e3cc9;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.modern-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
  background: linear-gradient(135deg, #f6f3ff, #fffafc);
  padding: 90px 10%;
  text-align: center;
}

.why-choose-us h2 {
  color: #3e2f80;
  margin-bottom: 50px;
  font-size: 2rem;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.why-box {
  background: white;
  border-radius: 16px;
  width: 260px;
  padding: 30px 25px;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.1);
  transition: all 0.3s ease;
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.25);
}

.why-box i {
  font-size: 2.2rem;
  color: #7c5cff;
  margin-bottom: 12px;
}

.why-box h3 {
  color: #4e3cc9;
  margin-bottom: 8px;
  font-weight: 600;
}

.why-box p {
  color: #555;
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 90px 10%;
  background: #fffafc;
  text-align: center;
}

.testimonials h2 {
  color: #3e2f80;
  font-size: 2rem;
  margin-bottom: 40px;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial {
  background: white;
  border-radius: 14px;
  padding: 25px 20px;
  width: 320px;
  box-shadow: 0 8px 22px rgba(20, 30, 60, 0.06);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(124, 92, 255, 0.2);
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(120, 90, 255, 0.15);
  margin-bottom: 15px;
}

.testimonial p {
  color: #444;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  color: #4e3cc9;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #d5cef17f);
  color: rgb(55, 51, 51);
  text-align: center;
  padding: 80px 10%;
  border-radius: 20px;
  margin: 90px 10px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta p {
  color: rgba(66, 62, 62, 0.9);
  margin-bottom: 25px;
}

.btn.glow-btn {
  display: inline-block;
  background: white;
  color: #5d4fc2;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.btn.glow-btn:hover {
  background: #5d4fc2;
  color: white;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px;
  background: #5d4fc2;
  color: white;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffd6ff;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-icons {
  margin-bottom: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  margin: 0 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffd6ff;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .modern-card, .why-box, .testimonial {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .cta {
    margin: 60px 20px;
    padding: 60px 8%;
  }
  .hero img{
    max-width:90%;
  }
}











/* ===== ANIMATION EFFECTS ===== */

/* Hidden by default */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When visible */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variants for diversity */
.reveal.fade-left {
  transform: translateX(-40px);
}
.reveal.fade-left.active {
  transform: translateX(0);
  opacity: 1;
}

.reveal.fade-right {
  transform: translateX(40px);
}
.reveal.fade-right.active {
  transform: translateX(0);
  opacity: 1;
}

.reveal.zoom {
  transform: scale(0.85);
}
.reveal.zoom.active {
  transform: scale(1);
  opacity: 1;
}

/* subtle hover transitions on service cards */
.modern-card,
.why-box,
.testimonial {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.our{
  text-align: center;
  background: #b6b0e9;
  height: 40vh;
  padding-top: 6%;
}
