.service-section {
  background: linear-gradient(161deg, #020405, #30709b, #020405);
  margin-top: 100px;
  height: 260px;
  /* padding: 50px 20px; */
  font-family: 'Poppins', sans-serif;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
  flex-wrap: wrap;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #eeeeee;
  margin-bottom: 20px;
  position: relative;
}

.service-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #eeeeee;
  margin-top: 10px;
}

.service-text p {
  font-size: 1.2rem;
  color: #eeeeee;
  line-height: 1.6;
}

.service-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.service-photo img {
  width: 100%;
  max-width: 450px;
  border-radius: 50px 50px 200px 200px;
  transition: transform 0.4s ease;
  border: 5px solid #eeeeee;
  /* First border */
  outline-offset: 5px;

}

.service-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
/* ------title responsive------------ */
@media (max-width: 768px) {
  .service-section {
    height: auto;
    margin-top: 60px;
    padding: 14px 20px;
  }

  .service-container {
    flex-direction: column;
    gap: 30px;
  }

  .service-text h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .service-text h2::after {
    margin: 10px auto 0;

  }

  .service-text p {
    font-size: 1.1rem;
    text-align: center;
  }

  .service-photo img {
    max-width: 350px;
    border-radius: 40px 40px 150px 150px;
  }
}

@media (max-width: 480px) {
  .service-section {
    margin-top: 60px;
    padding: 14px 15px;
  }

  .service-text h2 {
    font-size: 2rem;
  }

  .service-text p {
    font-size: 1rem;
  }

  .service-photo img {
    max-width: 325px;
    border-radius: 30px 30px 100px 100px;
  }
}

/* --------------our service--------------- */
.services h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f1a36;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.services h2::after {
  content: '';
  display: block;
  width: 100px;
  margin: 12px auto 0;
  height: 6px;
  margin-top: 12px;
  border-radius: 3px;
  background-color: #30709b;
}

.services h2 span {
  color: #30709b;
}

/* -------------taglien--------------- */

.services-tagline {
  position: relative;
  background: linear-gradient(135deg, #c4c4c7, #eef4fb);
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.services-tagline p {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f1a36;
  max-width: 1000px;
  margin: 20px auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.services-tagline p span {
  background: linear-gradient(90deg, #30709b, #56cfe1, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  animation: gradientFlow 4s linear infinite;
  background-size: 200% auto;
}

@keyframes gradientFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.tagline-decor {
  width: 120px;
  height: 4px;
  margin: 15px auto;
  border-radius: 2px;
  background: #30709b;
}

/* ----TAGLINE RESPONSIVE-------- */
/* Tablet */
@media (max-width: 768px) {
  .services-tagline {
    padding: 50px 15px;
  }

  .services-tagline p {
    font-size: 1.7rem;
    line-height: 1.5;
    margin: 15px auto;
  }

  .tagline-decor {
    width: 100px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .services-tagline {
    padding: 40px 10px;
  }

  .services-tagline p {
    font-size: 1.6rem;
    line-height: 1.4;
    margin: 10px auto;
  }

  .tagline-decor {
    width: 80px;
  }
}


/* ------card-------------------- */
/* Container for all cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 70px 20px;
  background-color: #f9f9f9;
}

/* Individual card styling */
.card {
  background: #fbffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Card title */
.card h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Card description */
.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ----TAGLINE RESPONSIVE-------- */
/* Tablet */
@media (max-width: 768px) {
.cards-container {
  display: grid;
  grid-template-columns: repeat(1, minmax(250px, 1fr));   
}
}





