/* ===== Variables ===== */
:root {
  --primary: #0056b3;
  --primary-dark: #003d7a;
  --primary-light: #e6f0ff;
  --accent: #106fe1;
  --text: #333;
  --text-light: #666;
  --gray-light: #f8f9fa;
  --border: #e0e3e7;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== Base Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Breadcrumb ===== */
.service-breadcrumb {
  background: var(--gray-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.service-breadcrumb ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.service-breadcrumb li {
  display: flex;
  align-items: center;
}

.service-breadcrumb li:not(:first-child)::before {
  content: '/';
  margin: 0 10px;
  color: var(--text-light);
}

.service-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.service-breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== Hero Section ===== */
.service-hero {
  background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), 
              url('../assets/img/services-hero.jpg') center/cover no-repeat;
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}

.service-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== Services Navigation ===== */
.service-categories {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.service-categories ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-categories li {
  margin: 0 15px;
}

.service-categories a {
  display: block;
  padding: 20px 0;
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.service-categories li.active a,
.service-categories a:hover {
  color: var(--primary);
}

.service-categories li.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

/* ===== Service Sections ===== */
.service-section {
  padding: 80px 0;
}

.service-section:nth-child(even) {
  background: var(--gray-light);
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header h2 i {
  margin-right: 15px;
  font-size: 1.8rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 30px;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  padding: 8px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 25px;
}

.service-card li:last-child {
  border-bottom: none;
}

.service-card li::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

/* ===== CTA Section ===== */
.service-cta {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.service-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary i {
  margin-right: 10px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .service-hero {
    padding: 80px 0;
  }
  
  .service-hero h1 {
    font-size: 2.2rem;
  }
  
  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .service-categories ul {
    flex-wrap: wrap;
  }
  
  .service-categories li {
    margin: 0 10px;
  }
  
  .service-categories a {
    padding: 15px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .service-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .service-hero h1 {
    font-size: 2rem;
  }
  
  .service-hero p,
  .service-cta p {
    font-size: 1rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 25px;
  }
}