/* FILE: assets/css/services.css */
/* Sectors & Services Page - Premium Legal Design */
:root {
  --primary-dark: #0a2342;      /* deep navy */
  --primary-blue: #1e3a8a;
  --accent-gold: #9e7e4b;        /* subdued gold */
  --accent-blue: #3b82f6;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --gradient-gold: linear-gradient(135deg, var(--accent-gold), #b68b40);
  --gradient-navy: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
}

/* Hero Section */
.services-hero {
  background: var(--gradient-navy);
  padding: 160px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(158, 126, 75, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  background: linear-gradient(90deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
  min-width: 120px;
}

.hero-stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Page Header */
.page-header {
  background: white;
  padding: 40px 0 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  color: var(--primary-dark);
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
  border-radius: 2px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-blue);
}

.breadcrumb-item.active {
  color: var(--accent-gold);
  font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: var(--text-light);
}

/* Services Navigation - Sticky */
.services-nav-container {
  position: sticky;
  top: 80px;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-light);
}

.services-nav {
  padding: 1.2rem 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.services-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  padding: 0.8rem 1.5rem;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-link:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-link.active {
  background: var(--gradient-navy);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

.nav-link i {
  font-size: 1rem;
}

/* Main Content */
.services-content {
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.service-section {
  margin-bottom: 100px;
  scroll-margin-top: 140px;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.section-title i {
  color: var(--accent-gold);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #b68b40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Service Cards */
.service-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .service-cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

.service-card-header {
  padding: 2rem 2rem 1rem;
  position: relative;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--light-bg), #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
  background: var(--gradient-gold);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.service-card-category {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.service-card-body {
  padding: 0 2rem 1rem;
  flex: 1;
}

.service-card-body p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-features li {
  padding: 0.4rem 0;
  color: var(--text-medium);
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.1rem;
}

.service-card-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-navy);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.service-contact-btn:hover {
  background: var(--gradient-gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(158, 126, 75, 0.3);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(158, 126, 75, 0.1);
  color: var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Accordion - Premium */
.service-detail-accordion {
  margin-top: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.5rem 2rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: #f8fafc;
}

.accordion-header.active {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.05), rgba(158, 126, 75, 0.05));
}

.accordion-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.accordion-header h4 i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--text-light);
  font-size: 1rem;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.accordion-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion-header.active + .accordion-content {
  padding: 0 2rem 2rem;
  max-height: 800px;
}

.accordion-content p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-content ul li {
  padding: 0.5rem 0;
  color: var(--text-medium);
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
}

.accordion-content ul li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

/* Alert */
.alert {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left-width: 4px;
}

/* Coverage Section */
.coverage-section {
  background: var(--gradient-navy);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.coverage-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(158, 126, 75, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.coverage-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.coverage-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.coverage-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

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

.coverage-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.coverage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
  border-color: rgba(158, 126, 75, 0.3);
}

.coverage-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.coverage-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.coverage-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(158, 126, 75, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gradient-gold);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(158, 126, 75, 0.3);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(158, 126, 75, 0.4);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  color: var(--primary-dark);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--border-light);
  font-size: 1rem;
}

.cta-btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero {
    padding: 140px 0 60px;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .hero-stat {
    min-width: 100px;
  }
  
  .services-nav {
    padding: 1rem 0;
  }
  
  .nav-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .service-section {
    margin-bottom: 60px;
  }
  
  .service-card-header,
  .service-card-body,
  .service-card-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .accordion-header {
    padding: 1.2rem 1.5rem;
  }
  
  .accordion-header h4 {
    font-size: 1rem;
  }
  
  .accordion-header.active + .accordion-content {
    padding: 0 1.5rem 1.5rem;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .service-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .service-badge {
    align-self: flex-start;
  }
  
  .coverage-card {
    padding: 1.5rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b68b40;
}