﻿/* ==========================================================================
   SahayConsulting â€” Converted from Tailwind to plain CSS
   All colors, spacing, type sizes are 1:1 with the original Tailwind config.
   ========================================================================== */

:root {
  /* Colors â€” copied directly from tailwind.config colors */
  --outline: #727784;
  --error: #ba1a1a;
  --on-surface-variant: #424752;
  --surface: #f8f9fa;
  --surface-container-highest: #e1e3e4;
  --outline-variant: #c2c6d4;
  --on-secondary-fixed: #002204;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #e7e8e9;
  --inverse-on-surface: #f0f1f2;
  --surface-dim: #d9dadb;
  --surface-container-low: #f3f4f5;
  --inverse-primary: #acc7ff;
  --primary-container: #0056b3;
  --on-primary: #ffffff;
  --surface-container: #edeeef;
  --surface-bright: #f8f9fa;
  --background: #f8f9fa;
  --on-secondary-container: #00731e;
  --tertiary: #414141;
  --primary: #003f87;
  --on-error-container: #93000a;
  --surface-tint: #115cb9;
  --on-tertiary-container: #d1cece;
  --on-tertiary-fixed: #1c1b1b;
  --secondary: #006e1c;
  --tertiary-fixed-dim: #c8c6c5;
  --on-tertiary-fixed-variant: #474746;
  --secondary-fixed-dim: #78dc77;
  --on-secondary-fixed-variant: #005313;
  --on-primary-fixed: #001a40;
  --primary-fixed: #d7e2ff;
  --on-secondary: #ffffff;
  --surface-variant: #e1e3e4;
  --on-error: #ffffff;
  --secondary-fixed: #94f990;
  --on-primary-container: #bbd0ff;
  --primary-fixed-dim: #acc7ff;
  --on-surface: #191c1d;
  --secondary-container: #91f78e;
  --on-background: #191c1d;
  --on-tertiary: #ffffff;
  --tertiary-fixed: #e5e2e1;
  --tertiary-container: #595858;
  --on-primary-fixed-variant: #004491;
  --inverse-surface: #2e3132;
  --error-container: #ffdad6;

  /* The literal green accent used inline throughout the original file */
  --accent-green: #4caf50;
  --accent-green-soft: rgba(76, 175, 80, 0.1);

  /* Border radius */
  --radius-default: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Spacing */
  --margin-mobile: 20px;
  --section-gap: 120px;
  --margin-desktop: 80px;
  --container-max: 1280px;
  --unit: 8px;
  --gutter: 24px;

  /* Fonts */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Hanken Grotesk', sans-serif;

  /* Font sizes (size / line-height / weight as in the config) */
  --fs-body-md: 16px;
  --lh-body-md: 1.5;
  --fw-body-md: 400;

  --fs-body-lg: 18px;
  --lh-body-lg: 1.6;
  --fw-body-lg: 400;

  --fs-label-caps: 12px;
  --lh-label-caps: 1;
  --ls-label-caps: 0.1em;
  --fw-label-caps: 700;

  --fs-headline-xl: 56px;
  --lh-headline-xl: 1.1;
  --fw-headline-xl: 700;

  --fs-headline-lg: 40px;
  --lh-headline-lg: 1.2;
  --fw-headline-lg: 600;

  --fs-headline-md: 28px;
  --lh-headline-md: 1.3;
  --fw-headline-md: 600;

  --fs-headline-xl-mobile: 36px;
  --lh-headline-xl-mobile: 1.2;
  --fw-headline-xl-mobile: 700;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--background);
  color: var(--on-background);
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: var(--lh-body-md);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
hr { border: none; border-top: 1px solid var(--outline-variant); }

::selection {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--margin-desktop); }
}

/* Typography utility classes */
.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  line-height: var(--lh-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.headline-xl {
  font-family: var(--font-heading);
  font-size: var(--fs-headline-xl-mobile);
  line-height: var(--lh-headline-xl-mobile);
  font-weight: var(--fw-headline-xl-mobile);
  color: var(--on-surface);
}
@media (min-width: 768px) {
  .headline-xl {
    font-size: var(--fs-headline-xl);
    line-height: var(--lh-headline-xl);
    font-weight: var(--fw-headline-xl);
  }
}
.headline-xl .accent { font-style: italic; color: var(--primary); }

.headline-lg {
  font-family: var(--font-heading);
  font-size: var(--fs-headline-lg);
  line-height: var(--lh-headline-lg);
  font-weight: var(--fw-headline-lg);
  color: var(--on-surface);
}

.headline-md {
  font-family: var(--font-heading);
  font-size: var(--fs-headline-md);
  line-height: var(--lh-headline-md);
  font-weight: var(--fw-headline-md);
  color: var(--on-surface);
}

.body-lg {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--on-surface-variant);
}

.body-md { color: var(--on-surface-variant); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-container-lowest);
  border-bottom: 1px solid rgba(194, 198, 212, 0.3); /* outline-variant/30 */
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  width: 100%;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .material-symbols-outlined {
  color: var(--primary);
  font-size: 30px;
  font-variation-settings: 'FILL' 1;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-headline-md);
  font-weight: 700;
  color: var(--primary);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--on-surface-variant);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active {
  color: var(--primary);
  position: relative;
  padding-bottom: 8px;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .header-actions { display: flex; }
}

.mobile-toggle {
  display: block;
  color: var(--on-surface);
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}
.mobile-toggle .material-symbols-outlined { font-size: 30px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-primary:hover { background: var(--primary-container); }

.btn-outline {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--outline);
}
.btn-outline:hover { background: var(--surface-variant); }

.btn-text {
  color: var(--primary);
  background: none;
  padding: 10px 0;
}
.btn-text:hover { color: var(--primary-container); }

.btn-lg { padding: 14px 32px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: var(--section-gap) 0;
  background: var(--surface-container-lowest);
  overflow: hidden;
}
.hero .container {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 1fr 1fr; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(145, 247, 142, 0.3); /* secondary-container/30 */
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}
.hero-badge span.label {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--accent-green);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.hero-media {
  position: relative;
  height: 600px;
  width: 100%;
  display: none;
}
@media (min-width: 1024px) {
  .hero-media { display: block; }
}
.hero-media-bg {
  position: absolute;
  inset: 0 0 0 auto;
  right: 0;
  width: 120%;
  background: var(--primary);
  border-radius: 100px 0 0 100px;
  transform: translateX(48px);
  z-index: 0;
}
.hero-media-img-1 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-48px, -50%);
  width: 320px;
  height: 384px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--surface-container-lowest);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  z-index: 20;
}
.hero-media-img-2 {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 288px;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--surface-container-lowest);
  box-shadow: 0 20px 25px rgba(0,0,0,0.15);
  z-index: 10;
  opacity: 0.9;
}
.hero-media-img-1 img,
.hero-media-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Who We Are
   ========================================================================== */
.section { padding: var(--section-gap) 0; }
.section.bg-lowest { background: var(--surface-container-lowest); }
.section.bg-surface { background: var(--surface); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .headline-lg,
.section-header .headline-xl { max-width: 720px; margin: 0 auto; }
.section-header p {
  max-width: 720px;
  margin: 24px auto 0;
}

.value-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline-variant);
  transition: box-shadow 0.3s;
}
.value-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(0, 86, 179, 0.1); /* primary-container/10 */
}
.value-icon.green { background: var(--accent-green-soft); }
.value-icon .material-symbols-outlined { font-size: 24px; color: var(--primary); }
.value-icon.green .material-symbols-outlined { color: var(--accent-green); }

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 12px;
}

/* ==========================================================================
   Capabilities / Services tabs + grid
   ========================================================================== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 48px;
  background: var(--surface-container-highest);
  padding: 4px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.tab {
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--on-surface-variant);
  transition: background-color 0.2s;
}
.tab:hover { background: var(--surface-variant); }
.tab.active {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.service-card {
  background: var(--surface-container-lowest);
  padding: 32px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.08); }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-default);
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon .material-symbols-outlined { color: var(--primary); }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--on-surface-variant);
  margin-bottom: 24px;
  min-height: 80px;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--primary);
}
.service-card .learn-more:hover { color: var(--primary-container); }
.service-card .learn-more .material-symbols-outlined { font-size: 16px; }

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats-bar {
  padding: 64px 0;
  background: var(--primary);
  color: var(--on-primary);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-bar .container { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat .number {
  font-family: var(--font-heading);
  font-size: var(--fs-headline-xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.stat .label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: var(--ls-label-caps);
  text-transform: uppercase;
  opacity: 0.8;
}

/* ==========================================================================
   Success Story
   ========================================================================== */
.success-story .container {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) {
  .success-story .container { grid-template-columns: 1fr 1fr; }
}
.success-story-media { position: relative; }
.success-story-media::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: rgba(0, 63, 135, 0.05);
  border-radius: var(--radius-xl);
  transform: rotate(-3deg);
  z-index: 0;
}
.success-story-media img {
  position: relative;
  z-index: 10;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  object-fit: cover;
}
.success-story-copy .eyebrow { color: var(--accent-green); }
.success-story-copy h2 { margin-bottom: 24px; }
.success-story-copy > p { margin-bottom: 32px; }

.check-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--accent-green);
}
.check-list .material-symbols-outlined { color: var(--accent-green); margin-top: 2px; }

/* ==========================================================================
   Management Team
   ========================================================================== */
.team-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-member { text-align: center; }
.team-photo {
  width: 192px;
  height: 192px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(to top right, var(--primary), var(--inverse-primary));
}
.team-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-container-lowest);
}
.team-member h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--on-surface);
}
.team-member .role {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  color: var(--primary);
  margin: 8px 0 16px;
}
.team-member .bio {
  font-size: 14px;
  color: var(--on-surface-variant);
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(194, 198, 212, 0.5);
  transition: border-color 0.2s;
}
.price-card:hover { border-color: rgba(0, 63, 135, 0.3); }
.price-card h3 { font-family: var(--font-heading); font-size: 24px; color: var(--on-surface); margin-bottom: 8px; }
.price-card .price-desc { font-size: 14px; color: var(--on-surface-variant); margin-bottom: 24px; min-height: 40px; }
.price-card .price {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}
.price-card .price .amount { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--on-surface); }
.price-card .price .period { color: var(--on-surface-variant); margin-left: 4px; }
.price-card ul { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.price-card ul li { display: flex; align-items: center; gap: 12px; font-size: 14px; }

.price-card.featured {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 20px 25px rgba(0,0,0,0.15);
  transform: scale(1.05);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .price-desc { color: var(--on-primary); }
.price-card.featured .badge {
  position: absolute;
  top: 0;
  right: 32px;
  transform: translateY(-50%);
  background: var(--accent-green);
  color: var(--on-secondary);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-label-caps);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.price-card.featured .amount,
.price-card.featured .period,
.price-card.featured li { color: var(--accent-green); }
.price-card.featured hr { border-color: rgba(255,255,255,0.2); }

.btn-select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  letter-spacing: var(--ls-label-caps);
  font-weight: var(--fw-label-caps);
  text-align: center;
}
.btn-select-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-select-outline:hover { background: rgba(0, 63, 135, 0.05); }
.btn-select-solid {
  background: var(--surface-container-lowest);
  color: var(--primary);
}
.btn-select-solid:hover { background: var(--surface-variant); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  padding: 96px 0;
  background: var(--surface);
  text-align: center;
}
.cta-section .container { max-width: 720px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 32px; }
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
@media (min-width: 640px) {
  .cta-row { flex-direction: row; }
}
.cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--on-surface-variant);
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface-container-low);
    padding-top: var(--section-gap);
  padding-bottom: 32px;
}
.footer-columns {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: 1fr;
  padding: 32px var(--margin-mobile);
  max-width: var(--container-max);
  margin: 0 auto;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer-columns { grid-template-columns: repeat(4, 1fr); padding: 32px var(--margin-desktop); }
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p.tagline { font-size: 14px; color: var(--on-surface-variant); margin-bottom: 24px; }
.footer-office { margin-bottom: 16px; }
.footer-office h4 {
  font-family: var(--font-heading);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--on-surface);
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-office p { font-size: 12px; color: var(--on-surface-variant); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-label-caps);
  color: var(--on-surface);
  font-weight: 700;
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col a { color: var(--on-surface-variant); transition: color 0.2s; }
.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
  padding: 0 var(--margin-mobile);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer-bottom { padding: 0 var(--margin-desktop); }
}
.footer-bottom p { font-size: 12px; color: var(--on-surface-variant); }

/* ==========================================================================
   Footer Overrides
   ========================================================================== */
.site-footer {
  padding-top: 60px !important;
  padding-bottom: 32px !important;
}
.footer-brand img {
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Mix Title Colors for Cards
   ========================================================================== */
.mix-title,
.mix-title:hover,
.service-card h3, .service-card h4,
.service-card:hover h3, .service-card:hover h4,
.bento-card h3, .bento-card h4,
.bento-card:hover h3, .bento-card:hover h4,
div[style*="border-radius: 12px"][style*="box-shadow"] h3,
div[style*="border-radius: 12px"][style*="box-shadow"] h4,
div[style*="border-radius: 12px"][style*="box-shadow"]:hover h3,
div[style*="border-radius: 12px"][style*="box-shadow"]:hover h4,
div[style*="border-radius: 16px"][style*="box-shadow"] h3,
div[style*="border-radius: 16px"][style*="box-shadow"] h4,
div[style*="border-radius: 16px"][style*="box-shadow"]:hover h3,
div[style*="border-radius: 16px"][style*="box-shadow"]:hover h4,
div[style*="rgba(255,255,255,0.95)"] > h3,
div[style*="rgba(255,255,255,0.95)"] > h4,
div[style*="rgba(255,255,255,0.95)"]:hover > h3,
div[style*="rgba(255,255,255,0.95)"]:hover > h4,
div[style*="background: rgba(255,255,255,0.03)"] h3,
div[style*="background: rgba(255,255,255,0.03)"] h4,
div[style*="background: rgba(255,255,255,0.03)"]:hover h3,
div[style*="background: rgba(255,255,255,0.03)"]:hover h4,
div[style*="background: #ffffff"][style*="box-shadow"] h3,
div[style*="background: #ffffff"][style*="box-shadow"] h4,
div[style*="background: #ffffff"][style*="box-shadow"]:hover h3,
div[style*="background: #ffffff"][style*="box-shadow"]:hover h4,
div[style*="background: #fff"][style*="box-shadow"] h3,
div[style*="background: #fff"][style*="box-shadow"] h4,
div[style*="background: #fff"][style*="box-shadow"]:hover h3,
div[style*="background: #fff"][style*="box-shadow"]:hover h4,
div.bento-card h3,
div.bento-card:hover h3 {
    background: linear-gradient(135deg, #003f87 0%, #4caf50 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: #003f87 !important;
}

/* ==========================================================================
   Services Page Fixes (Hero, Tabs, Bento Grid, CTA Ring)
   ========================================================================== */
.services-hero {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 992px) {
  .services-hero { grid-template-columns: 1fr 1fr; }
}
.services-hero-copy .eyebrow {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.services-hero-copy h1 { margin-bottom: 24px; font-family: var(--font-heading); font-size: 48px; line-height: 1.1; color: var(--on-surface); }
.services-hero-copy p { color: var(--on-surface-variant); margin-bottom: 32px; font-size: 18px; line-height: 1.6; }
.services-hero-media-frame { position: relative; }
.services-hero-media-frame img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: block;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}
.filter-tab {
  background: var(--surface-variant);
  border: none;
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover { background: var(--outline-variant); }
.filter-tab.active { background: var(--primary); color: var(--on-primary); }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.bento-card {
  background: var(--surface-container-lowest);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bento-card.featured {
  grid-column: span 1;
}
@media (min-width: 768px) {
  .bento-card.featured { grid-column: span 2; }
}
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.bento-icon .material-symbols-outlined { font-size: 24px; }
.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--on-surface);
}
.bento-card p {
  color: var(--on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--on-surface-variant);
}
.feature-list .material-symbols-outlined { font-size: 16px; color: var(--primary); }
.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  margin-top: 16px;
}
.explore-link:hover { color: var(--secondary); }

.cta-ring-section {
  position: relative;
  background: var(--primary);
  color: var(--on-primary);
  padding: 80px 24px;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
  margin-bottom: 64px;
}
.cta-ring-section .ring {
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-ring-section .ring-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}
.cta-ring-section .ring-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  border-width: 20px;
}
.cta-ring-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-ring-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ==========================================================================
   Hero Bento Collage (5-Image Grid)
   ========================================================================== */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 140px 140px 140px;
  gap: 12px;
}
.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.hero-collage img:hover {
  transform: scale(1.03);
}
.img-main { grid-column: 1 / 3; grid-row: 1 / 3; }
.img-tr { grid-column: 3 / 4; grid-row: 1 / 2; }
.img-mr { grid-column: 3 / 4; grid-row: 2 / 3; }
.img-bl { grid-column: 1 / 2; grid-row: 3 / 4; }
.img-br { grid-column: 2 / 4; grid-row: 3 / 4; }

/* Responsive tweaks for mobile */
@media (max-width: 768px) {
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px 120px;
  }
  .img-main { grid-column: 1 / 3; grid-row: 1 / 2; }
  .img-tr { grid-column: 1 / 2; grid-row: 2 / 3; }
  .img-mr { grid-column: 2 / 3; grid-row: 2 / 3; }
  .img-bl { grid-column: 1 / 2; grid-row: 3 / 4; }
  .img-br { grid-column: 2 / 3; grid-row: 3 / 4; }
}


/* ==========================================================================
   GLOBAL MOBILE GRID FIX (Overrides hardcoded inline grids)
   ========================================================================== */
@media (max-width: 768px) {
  [style*="display: grid"],
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero-collage {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}
