/* Core Responsive Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}

.service-layout {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.services-sidebar {
  position: sticky;
  top: 100px;
  min-width: 260px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(43, 48, 140, 0.08);
  background: #fff;
  padding: 32px 24px;
  height: fit-content;
  margin-bottom: 20px;
}

.services-sidebar h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2B308C;
  margin-bottom: 28px;
}

/* Sidebar List Styling */
.services-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
}

.service-tab {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, box-shadow 0.3s, color 0.2s;
  outline: none;
  border: none;
}
.service-tab.active,
.service-tab:focus,
.service-tab:hover {
  background: linear-gradient(90deg, #e8f4fd 0%, #fff3e6 100%);
  color: #F6821F;
  box-shadow: 0 2px 12px rgba(43, 48, 140, 0.15);
}
.service-tab span {
  margin-right: 14px;
}

/* Service Card Styles */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: linear-gradient(92deg, #2B308C 0%, #F6821F 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(43, 48, 140, 0.06);
  padding: 38px 26px 30px 26px;
  position: relative;
  opacity: 0.97;
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 30px rgba(43, 48, 140, 0.22);
}
.service-card img {
  width: 85%;
  margin: 0 auto 16px auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.service-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.service-card ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.cta-button {
  background: #fff;
  color: #F6821F;
  border: none;
  border-radius: 50px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 1px 8px rgba(43, 48, 140, 0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-button:hover,
.cta-button:focus {
  background: #F6821F;
  color: #fff;
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  position: relative;
  background: linear-gradient(rgba(43,48,140,0.8), rgba(246,130,31,0.7)), url('/assets/img/services/hero-img.webp') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive CSS */
@media (max-width: 991px) {
  .service-layout {
    flex-direction: column;
    gap: 16px;
  }
  .services-sidebar {
    position: static;
    min-width: 100%;
    margin-bottom: 10px;
  }
  .card-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 40vh;
    padding: 40px 0 24px 0;
  }
  .services-sidebar {
    padding: 22px 8px;
  }
}

/* Accessibility and Smooth Animation */
.service-tab:focus-visible,
.cta-button:focus-visible {
  outline: 2px solid #F6821F;
  outline-offset: 2px;
}

