/* ================= GLOBAL ================= */
body {
   padding-top: 70px;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fb;
  color: #1a1a1a;
}

.section {
  padding: 80px 0;
}

.hero {
background: linear-gradient(135deg,#0e675f,#28868e, #44b2bc);
  color: #fff;   
  border-bottom: 1px solid #eee;
}

.container {
  margin: auto;
  padding: 0 15px;
}

/* ================= TITLE ================= */
.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

/* ================= GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ================= CARD ================= */
.service-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Hover Gradient Border Effect */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(45deg, #3b82f6, #06b6d4);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

/* Hover Lift */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ================= ICON ================= */
.service-icon {
  font-size: 30px;
  color: #3b82f6;
  background: #eaf2ff;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */

  border-radius: 50%;
  margin: 0 auto 20px;     /* center horizontally */

  transition: 0.3s;
}

.service-card:hover .service-icon {
  background: #3b82f6;
  color: #fff;
}

/* ================= TEXT ================= */
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #666;
}

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

/* Tablet */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

/* Small Devices */
@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }
}