* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0f172a;
  color: #ffffff;
}

/* ================= HERO ================= */
.serviceHero {
  height: 60vh;
  background: url("./logoimg/serviceImage.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(51, 107, 104, 0.4), rgba(32, 91, 100, 0.40));
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 600;
}

.hero-content p {
  margin-top: 10px;
  opacity: 0.8;
}

/* ================= SERVICES ================= */
.services {
  padding: 120px 10%;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
}

/* Title */
.section-title {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 90px;
}

.section-title span {
  color: #38bdf8;
}

/* Layout */
.services-wrapper {
  display: flex;
  gap: 70px;
  align-items: center;
  flex-wrap: wrap;
}

/* Images */
.services-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.services-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  animation: float 6s ease-in-out infinite;
}

/* Floating */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

/* Content */
.services-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Service Card */
.service-item {
  position: relative;
  padding: 32px 34px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
}

/* Gradient Border */
.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(270deg, #38bdf8, #6366f1, #06b6d4, #38bdf8);
  background-size: 400% 400%;
  animation: borderMove 6s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* Hover */
.service-item:hover {
  transform: translateY(-10px);
}

/* Icon */
.service-item i {
  font-size: 34px;
  color: #38bdf8;
}

/* Number */
.service-count {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
}
.service-item {
  opacity: 0;
  transform: translateY(40px);
}

.service-item.active {
  opacity: 1;
  transform: translateY(0);
  transition: 0.6s ease;
}
/* -------------------------------- */
.services-cta {
  margin-top: 50px;
  text-align: left;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  border-radius: 50px;
  text-decoration: none;
  transition: 0.4s ease;
}

.cta-btn i {
  font-size: 18px;
}

.cta-btn:hover {
  transform: translateX(6px);
  box-shadow: 0 15px 35px rgba(56,189,248,0.4);
}
/* Text */
.service-item h3 {
  margin: 12px 0;
  font-size: 21px;
  font-weight: 600;
}

.service-item p {
  font-size: 14.5px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .services-wrapper {
    flex-direction: column;
  }
}
@media (max-width: 768px) {

  .section-title {
    font-size: 32px;
    margin-bottom: 60px;
  }

  .services-image {
    order: -1;
  }

  .services-image img {
    max-width: 90%;
  }

  .services-content {
    gap: 22px;
  }

  .service-item {
    padding: 26px;
  }

  .service-count {
    font-size: 34px;
  }

  .services-cta {
    text-align: center;
  }
}
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #111827;
  color: #38bdf8;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
}

/* Light Mode */
body.light {
  background: #f8fafc;
  color: #020617;
}

body.light .services {
  background: #f8fafc;
}

body.light .service-item {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}

body.light .service-count {
  color: rgba(0,0,0,0.08);
}
/* ================= CONTACT BAR ================= */
.contact-bar {
  background: #111827;
  padding: 40px 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.contact-item i {
  font-size: 22px;
  color: #38bdf8;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .services {
    padding: 80px 6%;
  }
}
/* =================================== */
/* ================= DEEP SERVICE DETAILS ================= */
.service-deep-details {
  background: #0b1220;
}

.service-text {
  max-width: 950px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.9;
}

.service-text p {
  margin-bottom: 18px;
}

.service-text strong {
  color: #38bdf8;
}

.section-subtitle {
  max-width: 750px;
  margin: 0 auto;
  font-size: 15px;
  opacity: 0.75;
}

/* ================= SERVICE PROCESS ================= */
.service-process {
  padding: 120px 10%;
  background: #ffffff;
  color: #0f172a;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.process-card {
  position: relative;
  padding: 60px 30px 40px;
  border-radius: 25px;
  background: #f8fafc;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  animation: floatCard 6s ease-in-out infinite;
}

.process-card span {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p1 span { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.p2 span { background: linear-gradient(135deg,#22c55e,#16a34a); }
.p3 span { background: linear-gradient(135deg,#fb923c,#f97316); }

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
/* ================= ILLUSTRATION ================= */
.service-illustration {
  padding: 120px 10%;
  background: #496a75;
}

.illustration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 60px;
}

.illustration-img img {
  width: 100%;
  border-radius: 30px;
  animation: floatImg 5s ease-in-out infinite;
}

@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.illustration-text h2 {
  margin-bottom: 20px;
}

.illustration-text p {
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 15px;
}
.service-card:hover i {
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
