:root {
  --primary: #0EA5E9;
  --secondary: #F8FAFC;
  --accent: #0F172A;
  --overlay: rgba(15,23,42,0.9);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--secondary);
  color: var(--accent);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HERO */
.services-hero {
  min-height: 100vh;
  background: url("services bg.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--overlay), rgba(15,23,42,0.5));
}

.hero-content {
  position: relative;
  max-width: 620px;
  color: #fff;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

/* SECTIONS */
.service-section {
  padding: 100px 0;
}

.service-section.dark {
  background: url("services bg.png") center/cover no-repeat;
  position: relative;
  color: #fff;
}

.service-section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.service-section .container {
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

/* TEXT */
.service-text h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-text p {
  margin-bottom: 18px;
  opacity: 0.9;
}

/* CARDS */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  transition: 0.35s;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

.card i {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(14,165,233,0.25);
}

/* DARK MODE CARDS */
.dark .card {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.dark .card i {
  color: #38BDF8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 40px;
  }
}


/* ================= LARGE SCREENS ================= */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero-content h1 {
    font-size: 58px;
  }
}

/* ================= LAPTOPS ================= */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

  .service-text h2 {
    font-size: 32px;
  }
}

/* ================= TABLETS ================= */
@media (max-width: 992px) {
  .services-hero {
    min-height: 80vh;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= LARGE PHONES ================= */
@media (max-width: 768px) {
  .services-hero {
    min-height: 70vh;
    padding: 80px 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .service-section {
    padding: 70px 0;
  }

  .service-text h2 {
    font-size: 28px;
    text-align: center;
  }

  .service-text p {
    text-align: center;
  }

  .service-cards {
    gap: 18px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 576px) {
  body {
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 15px;
  }

  .service-section {
    padding: 60px 0;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 26px 22px;
  }

  .card i {
    font-size: 30px;
  }
}




.testimonials-cta {
  padding: 80px 20px;
  text-align: center;
  background: url('services bg.png') center/cover no-repeat;
  color: #fff;
  position: relative;
}

.testimonials-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.8); /* overlay for readability */
  z-index: 1;
}

.testimonials-cta .container {
  position: relative;
  z-index: 2;
}

.section-header .small-title {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 36px;
  margin: 15px 0 20px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
  color: #f8fafc;
}
.testimonials-cta {
  padding: 80px 20px;
  text-align: center;
  background: url('services bg.png') center/cover no-repeat;
  color: #fff;
  position: relative;
}

.testimonials-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.8); /* overlay */
  z-index: 1;
}

.testimonials-cta .container {
  position: relative;
  z-index: 2;
}

.section-header .small-title {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 36px;
  margin: 15px 0 20px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.7;
  color: #f8fafc;
}

/* ===== Video Testimonial Row ===== */
.video-testimonials-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.video-testimonial {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 600px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* Video Wrapper ensures video stays in card and responsive */
.video-testimonial .video-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}

.video-testimonial video {
  width: 100%;
  height: auto; /* maintains aspect ratio */
  display: block;
}

/* Text under video */
.video-testimonial h4 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.video-testimonial span {
  font-size: 14px;
  color: #d1d5db;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .section-header h2 {
    font-size: 32px;
  }
  .section-header p {
    font-size: 15px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .video-testimonials-row {
    flex-direction: column;
    gap: 40px;
  }

  .video-testimonial h4 {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .section-header h2 {
    font-size: 24px;
  }
  .section-header p {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .video-testimonial {
    padding: 18px;
  }
  .video-testimonial h4 {
    font-size: 16px;
  }
}


/* ===== CTA ===== */
.services-cta {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background: #fff; /* plain white background */
  color: var(--accent); /* use primary text color */
  border-radius: 15px; /* optional rounded corners for modern look */
  box-shadow: 0 8px 25px rgba(0,0,0,0.05); /* subtle shadow */
}

/* CTA TEXT FIX */
.services-cta h2,
.services-cta p {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 700px; /* keeps text readable */
}

/* BUTTON */
.services-cta .cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-cta .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.45);
}









