/* ==========================================================================
   FOCUS AREAS PAGE STYLES
   ========================================================================== */

/* Hero Section */
.focus-areas-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.focus-areas-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.focus-areas-hero p {
  font-size: 17px;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Section */
.focus-areas-grid-section {
  padding: 80px 0;
  background: #ffffff;
}

.focus-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Premium Card Design (Matching Services Page Style) */
.focus-area-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

/* Top Red Accent Border on Hover */
.focus-area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: #df2a19;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.focus-area-card:hover::before {
  opacity: 1;
}

.focus-area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(223, 42, 25, 0.25);
}

/* Light Red Icon Box */
.focus-area-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fee2e2;
  color: #df2a19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.focus-area-card:hover .focus-area-icon {
  background: #df2a19;
  color: #ffffff;
  transform: scale(1.06);
}

/* Card Typography */
.focus-area-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.focus-area-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .focus-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .focus-areas-hero {
    padding: 60px 0 40px;
  }
  .focus-areas-hero h1 {
    font-size: 32px;
  }
  .focus-areas-grid-section {
    padding: 50px 0;
  }
  .focus-areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .focus-area-card {
    padding: 26px 20px;
  }
}

/* Dark Theme Support */
html[data-theme="dark"] .focus-areas-hero,
body.dark-theme .focus-areas-hero {
  background: #0f172a;
  border-bottom-color: #1e293b;
}

html[data-theme="dark"] .focus-areas-hero h1,
body.dark-theme .focus-areas-hero h1 {
  color: #f8fafc;
}

html[data-theme="dark"] .focus-areas-hero p,
body.dark-theme .focus-areas-hero p {
  color: #94a3b8;
}

html[data-theme="dark"] .focus-areas-grid-section,
body.dark-theme .focus-areas-grid-section {
  background: #0b1120;
}

html[data-theme="dark"] .focus-area-card,
body.dark-theme .focus-area-card {
  background: #1e293b;
  border-color: #334155;
}

html[data-theme="dark"] .focus-area-card:hover,
body.dark-theme .focus-area-card:hover {
  border-color: rgba(223, 42, 25, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .focus-area-title,
body.dark-theme .focus-area-title {
  color: #f8fafc;
}

html[data-theme="dark"] .focus-area-desc,
body.dark-theme .focus-area-desc {
  color: #94a3b8;
}

html[data-theme="dark"] .focus-area-icon,
body.dark-theme .focus-area-icon {
  background: rgba(223, 42, 25, 0.15);
  color: #ff4530;
}

html[data-theme="dark"] .focus-area-card:hover .focus-area-icon,
body.dark-theme .focus-area-card:hover .focus-area-icon {
  background: #df2a19;
  color: #ffffff;
}