
/* ==========================================================
   Delivery Kart — Services Page Styling (Polished Final)
========================================================== */

/* ===== HERO SECTION ===== */
.services-hero {
  background: linear-gradient(90deg, #f5f2ff, #ebe4ff);
  text-align: center;
  padding: 6rem 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.services-hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: 2.6rem;
  color: #432c85;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.services-hero p {
  color: #3a2d60;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.2rem 1.6rem;
  box-shadow: 0 6px 18px rgba(67, 44, 133, 0.08);
  text-align: center;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(90, 53, 255, 0.15);
}

.service-card i {
  font-size: 2.2rem;
  color: #5a35ff;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #432c85;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #3a2d60;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
/* ===== PRICING SECTION ===== */
.pricing-section {
  text-align: center;
  background: linear-gradient(160deg, #f3efff 0%, #ede7ff 60%, #e8e0ff 100%);
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 142, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7c5fe6;
  background: #ede8ff;
  border: 1px solid #d4c9f7;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pricing-section h2 {
  color: #16103a;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.pricing-section > p {
  color: #5a5380;
  max-width: 620px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
  font-size: 1rem;
}

/* --- Cards grid --- */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid #e0d9f7;
  border-radius: 20px;
  padding: 2.4rem 2rem 2rem;
  width: 290px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(90, 53, 255, 0.12);
  z-index: 1;
}

/* --- Featured (National) card --- */
.pricing-card--featured {
  background: linear-gradient(160deg, #6c47e8 0%, #9b79f5 100%);
  border: none;
  border-radius: 20px !important;
  padding: 2.8rem 2rem 2.2rem;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(108, 71, 232, 0.4);
  margin-top: -20px;
  margin-bottom: -20px;
}

.pricing-card--featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(108, 71, 232, 0.5);
}

/* --- Badge --- */
.pc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd77a, #ffb347);
  color: #5a3000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(255, 179, 71, 0.4);
}

.pc-badge i {
  font-size: 9px;
  margin-right: 3px;
}

/* --- Icon --- */
.pc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ede8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #7c5fe6;
  margin-bottom: 1.1rem;
}

.pricing-card--featured .pc-icon-wrap {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* --- Tier label --- */
.pc-tier {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9b8ec4;
  margin-bottom: 0.6rem;
  display: block;
}

.pricing-card--featured .pc-tier {
  color: rgba(255,255,255,0.7);
}

/* --- Price --- */
.pc-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.pc-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6c47e8;
  padding-top: 6px;
}

.pricing-card--featured .pc-currency {
  color: #fff;
}

.pc-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #16103a;
  letter-spacing: -2px;
}

.pricing-card--featured .pc-amount {
  color: #fff;
}

.pc-custom {
  font-size: 2rem;
  font-weight: 900;
  color: #6c47e8;
  letter-spacing: -1px;
}

/* --- Tagline --- */
.pc-tagline {
  font-size: 0.82rem;
  color: #8e8eaa;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.pricing-card--featured .pc-tagline {
  color: rgba(255,255,255,0.75);
}

/* --- Divider --- */
.pricing-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #9b8ec4, #d4c9f7);
  border-radius: 999px;
  margin: 0 auto 1.4rem;
}

.pricing-card--featured::before {
  background: rgba(255,255,255,0.35);
}

/* --- Feature list --- */
.pc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  width: 100%;
  text-align: left;
}

.pc-features li {
  font-size: 0.87rem;
  color: #3a2d60;
  padding: 7px 0;
  border-bottom: 1px solid #f0ecff;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pc-features li:last-child { border-bottom: none; }

.pc-features li i {
  color: #7c5fe6;
  font-size: 0.7rem;
  background: #ede8ff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card--featured .pc-features li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.12);
}

.pricing-card--featured .pc-features li i {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* --- CTA button --- */
.pc-btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
  background: #ede8ff;
  color: #6c47e8;
  border: 1.5px solid #d4c9f7;
}

.pc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(108, 71, 232, 0.18);
  background: #e2daff;
}

.pricing-card--featured .pc-btn {
  background: #fff;
  color: #6c47e8;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pricing-card--featured .pc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===== CTA SECTION ===== */
.services-cta {
  text-align: center;
  background: linear-gradient(135deg, #f3efff, #ebe3ff);
  padding: 5rem 2rem;
  border-radius: 18px;
  margin: 5rem auto;
  max-width: 950px;
  box-shadow: 0 10px 25px rgba(90, 53, 255, 0.15);
}

.services-cta h2 {
  color: #432c85;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-cta p {
  color: #3a2d60;
  margin-bottom: 1.8rem;
  font-size: 1rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #9d8eff, #a978ff);
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(75, 0, 130, 0.25);
}

/* ===== ANIMATIONS (optional but sleek) ===== */
.service-card,
.pricing-card,
.services-cta {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card:nth-child(4) {
  animation-delay: 0.3s;
}

.service-card:nth-child(5) {
  animation-delay: 0.4s;
}

.service-card:nth-child(6) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */

/* EXTRA SMALL MOBILE (250px - 399px) */
@media (max-width: 399px) {
  .services-hero {
    padding: 2rem 1rem 2.5rem;
  }

  .services-hero h1 {
    font-size: 1.7rem;
  }

  .services-hero p {
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0.5rem;
    padding: 0 0.5rem;
  }

  .service-card {
    padding: 1.2rem 1rem;
  }

  .service-card i {
    font-size: 1.8rem;
  }

  .service-card h3 {
    font-size: 0.95rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .pricing-section {
    padding:  2rem 1rem 2.5rem;
  }

  .pricing-section h2 {
    font-size: 1.6rem;
  }

  .pricing-section > p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .pricing-cards {
    gap: 1rem;
  }

  .pricing-card {
    width: 100%;
    padding: 1.5rem 1rem;
  }

  .pc-amount {
    font-size: 2rem;
  }

  .pc-features {
    margin: 1rem 0;
  }

  .pc-features li {
    font-size: 0.8rem;
  }

  .services-cta {
    padding: 2rem 1rem;
    margin: 2rem 0.5rem;
  }

  .services-cta h2 {
    font-size: 1.4rem;
  }

  .services-cta p {
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* SMALL MOBILE (400px - 599px) */
@media (min-width: 400px) and (max-width: 599px) {
  .services-hero {
    padding: 2.5rem 1.2rem 3rem;
  }

  .services-hero h1 {
    font-size: 1.9rem;
  }

  .services-hero p {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin: 2.5rem 0.5rem;
    padding: 0 0.5rem;
  }

  .service-card {
    padding: 1.4rem 1.2rem;
  }

  .service-card i {
    font-size: 2rem;
  }

  .pricing-section {
    padding: 2.5rem 1rem 3rem;
  }

  .pricing-section h2 {
    font-size: 1.8rem;
  }

  .pricing-cards {
    flex-direction: column;
    gap: 1.2rem;
  }

  .pricing-card,
  .pricing-card--featured {
    width: 100%;
  }

  .pricing-card--featured {
    margin: 0;
  }

  .services-cta {
    padding: 2.5rem 1.2rem;
    margin: 2.5rem 0.5rem;
  }

  .services-cta h2 {
    font-size: 1.5rem;
  }
}

/* MEDIUM MOBILE (600px - 799px) */
@media (min-width: 600px) and (max-width: 799px) {
  .services-hero {
    padding: 3.5rem 2rem 4rem;
  }

  .services-hero h1 {
    font-size: 2.1rem;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 1rem;
  }

  .service-card {
    padding: 1.6rem 1.4rem;
  }

  .pricing-section {
    padding: 3.5rem 2rem 4rem;
  }

  .pricing-section h2 {
    font-size: 2rem;
  }

  .pricing-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pricing-card,
  .pricing-card--featured {
    width: 85%;
  }

  .pricing-card--featured {
    margin: 0;
  }

  .services-cta {
    padding: 3rem 2rem;
    margin: 3rem 1.5rem;
  }

  .services-cta h2 {
    font-size: 1.7rem;
  }
}

/* TABLET (800px - 1023px) */
@media (min-width: 800px) and (max-width: 1023px) {
  .services-hero {
    padding: 4rem 2.5rem 4.5rem;
  }

  .services-hero h1 {
    font-size: 2.3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin: 4rem 1.5rem;
  }

  .service-card {
    padding: 2rem 1.6rem;
  }

  .pricing-section {
    padding: 4rem 2.5rem 5rem;
  }

  .pricing-cards {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .pricing-card {
    width: 45%;
  }

  .pricing-card--featured {
    width: 55%;
  }

  .services-cta {
    padding: 3.5rem 2.5rem;
  }

  .services-cta h2 {
    font-size: 1.8rem;
  }
}

/* DESKTOP (1024px and above) */
@media (min-width: 1024px) {
  .services-hero {
    padding: 6rem 2rem 5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 5rem auto;
  }

  .pricing-cards {
    flex-wrap: wrap;
    gap: 24px;
  }

  .pricing-card {
    width: 290px;
  }

  .pricing-card--featured {
    width: 290px;
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .services-cta {
    margin: 5rem auto;
  }
}

