/* ========================================================================== 
   Google Fonts + Base Reset for Services Section
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Font Style for Services Section */
body, h1, h2, h3, h4, h5, h6, p, a, li, input, textarea, button {
    font-family: 'Inter', sans-serif;
}

/* Services Section */
.services-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-subtitle {
  font-size: 3rem;
  font-weight: 600;
  color: #0073e6;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 auto 15px auto; /* centers horizontally with auto left/right margins */
  color: #222;
  text-align: center;       /* horizontal center */
  display: block;
  max-width: 100%;          /* ensure it doesn’t overflow */
  line-height: 1.2;
  background: linear-gradient(90deg, #0f3076);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.section-title span {
  color: #0073e6;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 100px;
  font-size: 1.5rem;
  color: #555;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ebae63;
  text-align: left;
  padding: 10px 20px;
}

.service-content {
  padding: 20px;
  text-align: left;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
  color: #0073e6;
}

.service-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Read More Button */
.btn-container {
  margin-top: 40px;
}

.btn-readmore {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, #0073e6, #00bfff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 115, 230, 0.3);
}

.btn-readmore:hover {
  background: linear-gradient(45deg, #005bb5, #0099cc);
  box-shadow: 0 6px 16px rgba(0, 115, 230, 0.4);
  transform: translateY(-3px);
}

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

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
