.services-section {
    min-height: 80lvh;
  padding: 60px 20px;
  background-color: #f2f6ff;
  text-align: center;
}

.services-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #1a1a3d;
}

.services-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.hem_ser_ {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
}

.hem_ser_ img {
  width: 100%;
  height: auto;
  display: block;
}

.hem_ser_ h3 {
  font-size: 1.2rem;
  margin: 15px;
  color: #1a1a3d;
}

.hem_ser_ p {
  margin: 0 15px 20px;
  color: #666;
}

/* Popup Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  position: relative;
}

.modal-box h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #1a1a3d;
}

.modal-box p {
  color: #333;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}

@media (max-width: 600px) {
  .modal-box {
    padding: 20px;
  }

  .modal-box h2 {
    font-size: 1.3rem;
  }
}


.serv_edu_section {
  background: #f9fbff;
  padding: 60px 20px;
  text-align: center;
}

.serv_edu_header h2 {
  font-size: 2rem;
  color: #1a1a3d;
  margin-bottom: 10px;
}

.serv_edu_header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.serv_edu_grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.serv_edu_card {
  display: flex;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: left;
  flex-wrap: wrap;
}

.serv_edu_card:hover {
  transform: translateY(-5px);
}

.serv_edu_content {
  flex: 1 1 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.serv_edu_content h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #1a1a3d;
}

.serv_edu_content p {
  color: #444;
  margin-top: 10px;
  font-size: 1rem;
}

.serv_edu_img {
  flex: 1 1 40%;
  max-height: 200px;
  overflow: hidden;
}

.serv_edu_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .serv_edu_card {
    flex-direction: column;
  }

  .serv_edu_img {
    max-height: none;
  }
}

