/* ============================================
   SERVICES PAGE - MODERN PROFESSIONAL DESIGN
   ============================================ */

/* ============================================
   PAGE HERO SECTION
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1e3a8a 0%, #991b1b 100%);
  overflow: hidden;
}

.page-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.02) 60px,
      rgba(255, 255, 255, 0.02) 61px
    );
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeIn 0.6s ease-out;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Page Title */
.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */
.intro-section {
  padding: 100px 0 60px;
  background: white;
}

.intro-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.2;
}

.intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(30, 58, 138, 0.1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: currentColor;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Service Icons with Different Colors */
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s;
  color: currentColor;
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.1;
  border-radius: 16px;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Color Variants */
.service-icon-blue {
  color: #1e3a8a;
}

.service-card:has(.service-icon-blue) {
  color: #1e3a8a;
}

.service-icon-green {
  color: #0f766e;
}

.service-card:has(.service-icon-green) {
  color: #0f766e;
}

.service-icon-red {
  color: #991b1b;
}

.service-card:has(.service-icon-red) {
  color: #991b1b;
}

.service-icon-purple {
  color: #6b21a8;
}

.service-card:has(.service-icon-purple) {
  color: #6b21a8;
}

.service-icon-teal {
  color: #0d9488;
}

.service-card:has(.service-icon-teal) {
  color: #0d9488;
}

.service-icon-orange {
  color: #c2410c;
}

.service-card:has(.service-icon-orange) {
  color: #c2410c;
}

.service-icon-indigo {
  color: #4338ca;
}

.service-card:has(.service-icon-indigo) {
  color: #4338ca;
}

.service-icon-pink {
  color: #be185d;
}

.service-card:has(.service-icon-pink) {
  color: #be185d;
}

.service-icon-cyan {
  color: #0891b2;
}

.service-card:has(.service-icon-cyan) {
  color: #0891b2;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ============================================
   PROFICIENCY SECTION
   ============================================ */
.proficiency-section {
  padding: 100px 0;
  background: white;
}

.proficiency-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 48px;
  background: linear-gradient(135deg, #f8fafc, white);
  border-radius: 24px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.proficiency-content {
  text-align: center;
}

.proficiency-content .section-badge {
  margin-bottom: 20px;
}

.proficiency-content .section-title {
  margin-bottom: 48px;
}

.proficiency-grid {
  display: grid;
  gap: 32px;
  text-align: left;
}

.proficiency-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
}

.proficiency-item:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #1e3a8a;
}

.proficiency-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.proficiency-item:hover .proficiency-icon {
  transform: scale(1.1) rotate(-5deg);
}

.proficiency-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.proficiency-item p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #991b1b 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-content {
  margin-bottom: 40px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-white:hover {
  background: white;
  color: #1e3a8a;
}

/* ============================================
   FOOTER (from index)
   ============================================ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

.footer-links a:hover {
  color: white;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #3b82f6;
}

.contact-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: white;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

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

.hours-item span:first-child {
  font-weight: 600;
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 968px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .proficiency-card {
    padding: 48px 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .proficiency-grid {
    grid-template-columns: 1fr;
  }
  
  .proficiency-item {
    flex-direction: column;
    text-align: center;
  }
  
  .proficiency-icon {
    margin: 0 auto;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 100px 0 50px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .intro-section {
    padding: 60px 0 40px;
  }
  
  .service-card {
    padding: 28px 24px;
  }
  
  .proficiency-card {
    padding: 32px 24px;
  }
  
  .footer {
    padding: 60px 0 0;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}
.service-icon-amber {
  color: #d97706;
}

.service-card:has(.service-icon-amber) {
  color: #d97706;
}
/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .page-hero,
  .cta-section,
  .footer {
    display: none;
  }
  
  .service-card {
    page-break-inside: avoid;
  }
  
  body {
    background: white;
  }
}