/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

/* Hero Section */
.services-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.services-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}
.services-hero p {
  font-size: 17px;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Section */
.services-grid-section {
  padding: 80px 0;
  background: #ffffff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Premium Card Design (Screenshot 3 Style) */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

/* Light Red Icon Box */
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fee2e2; /* Light pastel red */
  color: #dc2626; /* Deep red */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.05);
}

/* Card Typography */
.service-title {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.service-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0 40px;
  }
  .services-hero h1 {
    font-size: 32px;
  }
  .services-grid-section {
    padding: 50px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 24px 20px;
  }
}

/* Dark Theme Support */
html[data-theme="dark"] .services-hero,
body.dark-theme .services-hero {
  background: #0f172a;
  border-bottom-color: #1e293b;
}
html[data-theme="dark"] .services-hero h1,
body.dark-theme .services-hero h1 {
  color: #f8fafc;
}
html[data-theme="dark"] .services-hero p,
body.dark-theme .services-hero p {
  color: #94a3b8;
}
html[data-theme="dark"] .services-grid-section,
body.dark-theme .services-grid-section {
  background: #0b1120;
}
html[data-theme="dark"] .service-card,
body.dark-theme .service-card {
  background: #1e293b;
  border-color: #334155;
}
html[data-theme="dark"] .service-card:hover,
body.dark-theme .service-card:hover {
  border-color: #475569;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .service-title,
body.dark-theme .service-title {
  color: #f8fafc;
}
html[data-theme="dark"] .service-desc,
body.dark-theme .service-desc {
  color: #94a3b8;
}
html[data-theme="dark"] .service-icon,
body.dark-theme .service-icon {
  background: rgba(220, 38, 38, 0.15); /* Translucent red */
  color: #ef4444; /* Bright red */
}
html[data-theme="dark"] .service-card:hover .service-icon,
body.dark-theme .service-card:hover .service-icon {
  background: #ef4444;
  color: #0f172a;
}


/* ==========================================================================
   FOCUS AREAS DROPDOWN LIGHT RED HIGHLIGHT EFFECT (Matching Services Menu Style)
   ========================================================================== */
.focus-sidebar .focus-btn:hover,
.focus-sidebar .focus-btn.active {
  background: #fff8f6 !important;
  border: 1px solid rgba(223, 42, 25, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(223, 42, 25, 0.06) !important;
}

.focus-sidebar .focus-btn.active .icon-box,
.focus-sidebar .focus-btn:hover .icon-box {
  background: rgba(223, 42, 25, 0.12) !important;
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  border-radius: 8px !important;
}

.focus-sidebar .focus-btn.active span,
.focus-sidebar .focus-btn:hover span {
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  font-weight: 700 !important;
}

.focus-sidebar .focus-btn.active .arrow-icon,
.focus-sidebar .focus-btn:hover .arrow-icon {
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}

/* Overview Learn More Button */
.overview-card-btn,
.focus-overview-card .overview-card-btn {
  background: #fff8f6 !important;
  border: 1px solid rgba(223, 42, 25, 0.3) !important;
  color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  transition: all 0.2s ease !important;
}

.overview-card-btn:hover,
.focus-overview-card .overview-card-btn:hover {
  --tw-bg-opacity: 1;
  background: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
  color: #ffffff !important;
  border-color: rgb(223 42 25 / var(--tw-bg-opacity, 1)) !important;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .focus-sidebar .focus-btn:hover,
[data-theme="dark"] .focus-sidebar .focus-btn.active,
body.dark-theme .focus-sidebar .focus-btn:hover,
body.dark-theme .focus-sidebar .focus-btn.active {
  background: rgba(223, 42, 25, 0.15) !important;
  border-color: rgba(223, 42, 25, 0.35) !important;
}

[data-theme="dark"] .focus-sidebar .focus-btn.active .icon-box,
[data-theme="dark"] .focus-sidebar .focus-btn:hover .icon-box,
body.dark-theme .focus-sidebar .focus-btn.active .icon-box,
body.dark-theme .focus-sidebar .focus-btn:hover .icon-box {
  background: rgba(223, 42, 25, 0.25) !important;
  color: #ff6b5b !important;
}

[data-theme="dark"] .focus-sidebar .focus-btn.active span,
[data-theme="dark"] .focus-sidebar .focus-btn:hover span,
body.dark-theme .focus-sidebar .focus-btn.active span,
body.dark-theme .focus-sidebar .focus-btn:hover span,
[data-theme="dark"] .focus-sidebar .focus-btn.active .arrow-icon,
[data-theme="dark"] .focus-sidebar .focus-btn:hover .arrow-icon,
body.dark-theme .focus-sidebar .focus-btn.active .arrow-icon,
body.dark-theme .focus-sidebar .focus-btn:hover .arrow-icon {
  color: #ff6b5b !important;
}


/* ==========================================================================
   COMPACT & PROFESSIONAL HEADER LAYOUT (Reduced Top Spacing & Clean Height)
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
}

.nav-wrap,
.site-header .nav-wrap {
  height: 58px !important;
  min-height: 58px !important;
  gap: 16px !important;
}

.logo-img,
.site-logo .logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
}

.nav-list a,
.site-header nav .nav-list > li > a {
  padding: 6px 12px !important;
  font-size: 13.5px !important;
}