/* === CSS RESET & BASE === */
@import url('https://fonts.googleapis.com/css?family=Raleway:300');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}
body {
  background: #fff;
  color: #222;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #00796b;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  font-size: 0.9rem;
  transition: top 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  top: 6px;
  opacity: 1;
  pointer-events: auto;
}

/* Focus indicators for all interactive elements */
.nav-links a:focus,
.expertise-item:focus,
.service-card:focus,
button:focus,
.back-btn:focus,
a:focus {
  outline: 2px solid #00796b;
  outline-offset: 2px;
}

/* Remove default focus outline and add custom one */
*:focus {
  outline: none;
}

/* Custom focus for buttons and interactive elements */
button:focus,
.expertise-item:focus,
.service-card:focus {
  outline: 2px solid #00796b;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 121, 107, 0.2);
}

/* Calendar booking specific styles */
a[href*="calendar"] {
  position: relative;
  transition: all 0.2s ease;
}

a[href*="calendar"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 121, 107, 0.2);
}

/* === TYPOGRAPHY === */
h1 {
  margin: 0 0 16px 0;
  padding: 0 0 16px 0;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -2px;
}
.subtitle {
  margin-top: -30px;
}
.intro-copy {
  margin-bottom: 2.2em;
}
.borderBottom {
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
}

/* === LAYOUT === */
#wrapper {
  width: 90%;
  max-width: 900px;
  margin: 24px auto;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 24px 16px;
}
header {
  text-align: center;
  margin-bottom: 24px;
}
main {
  margin-bottom: 32px;
}

/* === NAVIGATION === */
.site-title-link {
  text-decoration: none;
  color: inherit;
}
.back-nav {
  margin: 24px 0 0 0;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  color: #222;
  font-size: 1.08em;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: background 0.2s, box-shadow 0.2s;
}
.back-btn:hover, .back-btn:focus {
  background: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === HOMEPAGE GRID === */
#tiles {
  margin: 0 auto 32px auto;
}
.mui-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.mui-tile {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
  min-height: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 24px 0;
  box-sizing: border-box;
  text-align: center;
  background: var(--md-sys-color-surface, #fff);
  box-shadow: var(--md-elevation-level3, 0 1px 8px rgba(0,0,0,0.06));
  border-radius: 12px;
  transition: box-shadow 0.2s;
}
.mui-tile img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 24px auto 8px auto;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.mui-tile h2 {
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-family: 'Roboto', 'Raleway', sans-serif;
  font-weight: 500;
  color: #222;
}
.mui-tile a {
  color: #222;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  transition: color 0.2s;
}
.mui-tile a:hover, .mui-tile a:focus {
  color: #00796b;
}

/* === ART PORTFOLIO GRID === */
.portfolio-section {
  margin: 32px 0;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 32px 0;
}
.mui-art-card {
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--md-sys-color-surface, #fff);
  border-radius: 12px;
  box-shadow: var(--md-elevation-level3, 0 1px 8px rgba(0,0,0,0.06));
  transition: box-shadow 0.2s;
  text-align: center;
  padding-bottom: 16px;
}
.mui-art-card img {
  width: 100%;
  max-width: 280px;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 24px auto 12px auto;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  background: #eee;
}
.mui-art-card h3 {
  font-size: 1.1rem;
  margin: 0 0 4px 0;
  font-weight: 500;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}
.mui-art-card p {
  font-size: 0.97rem;
  color: #444;
  margin: 0 0 8px 0;
  font-family: 'Roboto', 'Raleway', sans-serif;
}
.mui-art-card p span {
  font-size: 0.95em;
  color: #888;
}
.portfolio-caption {
  text-align: center;
  color: #888;
  font-size: 0.95em;
  margin-bottom: 24px;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 24px 0 0 0;
  margin-top: 32px;
  border-top: 1px solid #eee;
  background: none;
}
.social {
  margin: 12px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.social a {
  color: #222;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.social a:hover, .social a:focus {
  color: #00796b;
}

/* === VISUAL SEPARATORS & GRAPHICS === */

/* Section dividers */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00796b 20%, #00796b 80%, transparent 100%);
  margin: 48px auto;
  max-width: 200px;
  border-radius: 2px;
}

/* Subtle background patterns for key sections */
.expertise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 121, 107, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 121, 107, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 30% 70%, rgba(0, 121, 107, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(0, 121, 107, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

/* Make sections with backgrounds have relative positioning */
.expertise-section,
.cta-section {
  position: relative;
}

/* Visual accent for approach sections */
.approach-section {
  position: relative;
}

.approach-section::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00796b, #4db6ac);
  border-radius: 2px;
}

/* Enhanced examples section visual treatment */
.examples-section {
  position: relative;
  overflow: hidden;
}

.examples-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50px;
  width: 100px;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 121, 107, 0.05) 50%, transparent 70%);
  transform: skewX(-15deg);
  pointer-events: none;
}

/* === NEW HOMEPAGE STYLES === */

/* Main Navigation */
.main-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 224, 224, 0.3);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.2s;
}

/* Make Contact nav item bold for prominence */
.nav-links a[href*="contact"] {
  background: transparent;
  color: #00796b;
  border: 1px solid #00796b;
  padding: 7px 15px; /* 1px less to account for border */
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-links a[href*="contact"]:hover {
  background: #00796b;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 121, 107, 0.3);
}

.nav-links a:hover {
  color: #00796b;
}

.nav-mobile {
  display: none;
  cursor: pointer;
  padding: 12px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  padding: 48px 0;
  text-align: left;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Top section: text + image side by side */
.hero-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-text {
  /* Main content area */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -1px;
  border: none;
  padding: 0;
}

/* Personal background now spans full width */
.personal-background {
  width: 100%;
  margin-top: 0; /* Reset the previous margin */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

/* Value proposition highlight */
.value-prop-highlight {
  color: #00796b !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  margin-bottom: 24px !important;
  line-height: 1.4 !important;
}

/* Key points with icons */
.key-points {
  margin: 24px 0;
}

.key-point {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.key-point .material-symbols-rounded {
  color: #00796b;
  font-size: 22px;
  flex-shrink: 0;
}

.key-point:last-child {
  margin-bottom: 0;
}

/* Progressive disclosure for personal background */
.personal-background summary {
  padding: 16px 20px;
  background: #f8f9fa;
  cursor: pointer;
  font-weight: 500;
  color: #00796b;
  border: none;
  outline: none;
  transition: background-color 0.2s;
  user-select: none;
}

.personal-background summary:hover {
  background: #f0f0f0;
}

.personal-background summary::-webkit-details-marker {
  display: none;
}

/* Hide the default marker in Firefox */
.personal-background summary {
  list-style: none;
}

.personal-background summary::-moz-list-bullet {
  list-style-type: none;
}

.personal-background summary::before {
  content: '▶';
  margin-right: 8px;
  transition: transform 0.2s;
  display: inline-block;
}

.personal-background[open] summary::before {
  transform: rotate(90deg);
}

.background-content {
  padding: 20px;
  border-top: 1px solid #e8e8e8;
}

.background-content p {
  margin-bottom: 16px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.background-content p:last-child {
  margin-bottom: 0;
}

.hero-image {
  text-align: center;
  margin-top: 0; /* Reset margin since it's now in the grid */
}

.hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Expertise Section */
.expertise-section {
  padding: 64px 0;
  background: #f8f9fa;
  margin: 0 -16px;
}

.expertise-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Better layout for 6 cards on desktop - 2 rows of 3 */
@media (min-width: 1000px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}

.expertise-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.expertise-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.expertise-item:focus {
  outline: 2px solid #00796b;
  outline-offset: 2px;
}

.expertise-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expertise-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
  opacity: 0;
  margin-top: 0;
}

.expertise-item[aria-expanded="true"] .expertise-content {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.expertise-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.expertise-content p a {
  color: #00796b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.expertise-content p a:hover {
  color: #005a52;
  text-decoration: underline;
}

/* Special styling for CTA card - blend in with subtle green text link */
.expertise-item.cta-card {
  background: white;
  color: inherit;
}

.expertise-item.cta-card h3 {
  color: #222;
}

.expertise-item.cta-card p {
  color: #555;
}

.expertise-item.cta-card .material-symbols-rounded {
  color: #00796b;
}

.expertise-item.cta-card .card-link {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
}

/* Target the Material Design button with multiple approaches */
.expertise-item.cta-card .card-link md-text-button {
  --md-text-button-label-text-color: #00796b !important;
  --md-text-button-with-icon-icon-color: #00796b !important;
  --md-text-button-hover-state-layer-color: rgba(0, 121, 107, 0.1) !important;
  --md-text-button-pressed-state-layer-color: rgba(0, 121, 107, 0.2) !important;
  --md-text-button-focus-state-layer-color: rgba(0, 121, 107, 0.1) !important;
  color: #00796b !important;
}

/* Fallback direct targeting */
.expertise-item.cta-card md-text-button,
.expertise-item.cta-card md-text-button .label,
.expertise-item.cta-card md-text-button::part(label) {
  color: #00796b !important;
}

/* Target the icon specifically */
.expertise-item.cta-card md-text-button .material-symbols-rounded,
.expertise-item.cta-card md-text-button [slot="icon"] {
  color: #00796b !important;
}

.expertise-item .material-symbols-rounded {
  font-size: 48px;
  color: #00796b;
  margin-bottom: 16px;
  display: block;
}

.expertise-item h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}



/* Services Section */
.services-section {
  padding: 64px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

/* Better layout for exactly 3 cards */
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}

/* For medium screens, use 2 columns and center the third card */
@media (min-width: 768px) and (max-width: 999px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  
  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
  }
}

.service-card {
  background: var(--md-sys-color-surface, #fff);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
}

.card-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #00796b;
  margin-bottom: 8px;
  font-family: 'Roboto', 'Raleway', sans-serif;
  letter-spacing: -0.5px;
}

.card-content h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: #444;
  line-height: 1.3;
}

.card-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.card-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

/* CTA Section */
.cta-section {
  padding: 64px 0;
  background: #f8f9fa;
  margin: 0 -16px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content md-filled-button {
  --md-filled-button-container-color: #00796b;
  --md-filled-button-label-text-color: white;
  --md-filled-button-container-height: 48px;
  font-size: 1.1rem;
}

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

.cta-buttons a {
  text-decoration: none;
  display: inline-block;
}

.cta-content md-outlined-button,
.page-cta-section md-outlined-button {
  --md-outlined-button-outline-color: #00796b;
  --md-outlined-button-label-text-color: #00796b;
  --md-outlined-button-container-height: 48px;
  font-size: 1.1rem;
}

.page-cta-section md-filled-button {
  --md-filled-button-container-color: #00796b;
  --md-filled-button-label-text-color: white;
  --md-filled-button-container-height: 48px;
  font-size: 1.1rem;
}

/* More specific targeting to ensure MUI buttons get green styling */
md-filled-button {
  --md-filled-button-container-color: #00796b !important;
  --md-filled-button-label-text-color: white !important;
}

md-outlined-button {
  --md-outlined-button-outline-color: #00796b !important;
  --md-outlined-button-label-text-color: #00796b !important;
  --md-outlined-button-hover-label-text-color: white !important;
  --md-outlined-button-hover-state-layer-color: #00796b !important;
}

/* Custom green buttons that look like Material Design */
.green-filled-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 24px;
  font-family: 'Roboto', 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 121, 107, 0.3);
  min-height: 48px;
  text-decoration: none;
}

.green-filled-button:hover {
  background-color: #004d40;
  box-shadow: 0 4px 8px rgba(0, 121, 107, 0.4);
  transform: translateY(-1px);
}

.green-filled-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 121, 107, 0.3);
}

.green-outlined-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 23px; /* 1px less to account for border */
  background-color: transparent;
  color: #00796b;
  border: 1px solid #00796b;
  border-radius: 24px;
  font-family: 'Roboto', 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  text-decoration: none;
}

.green-outlined-button:hover {
  background-color: #00796b;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 121, 107, 0.3);
  transform: translateY(-1px);
}

.green-outlined-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 121, 107, 0.2);
}

/* Ensure icons in custom buttons are properly aligned */
.green-filled-button .material-symbols-rounded,
.green-outlined-button .material-symbols-rounded {
  font-size: 20px;
  line-height: 1;
}

/* Connect Section */
.connect-section {
  padding: 64px 0;
}

.connect-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.connect-category h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.connect-category ul {
  list-style: none;
  padding: 0;
}

.connect-category li {
  margin-bottom: 12px;
}

.connect-category a {
  color: #00796b;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.connect-category a:hover {
  color: #004d40;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #f8f9fa;
  margin: 0 -16px;
  padding: 48px 24px 24px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-content h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.footer .social {
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.footer .social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
}

.footer .social svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
    gap: 16px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-mobile {
    display: flex;
  }
  
  .hero-main {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .value-prop-highlight {
    font-size: 1.2rem !important;
  }
  
  .key-point {
    font-size: 1rem;
  }
  
  .key-point .material-symbols-rounded {
    font-size: 20px;
  }
  
  .personal-background {
    margin-top: 24px;
  }
  
  .personal-background summary {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .background-content {
    padding: 16px;
  }
  
  .expertise-section,
  .cta-section,
  .footer {
    margin: 0 -10px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Hide CTA card on mobile - uncomment if desired */
  /* .expertise-item.cta-card {
    display: none;
  } */
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  body {
    font-size: 1.2rem;
  }
  
  .nav-container {
    padding: 12px 16px;
  }
  
  .expertise-grid,
  .services-grid {
    padding: 0 16px;
  }
  
  /* Ensure minimum touch targets on mobile */
  .green-filled-button,
  .green-outlined-button {
    min-height: 48px;
    padding: 16px 24px;
  }
  
  /* Increase touch targets for Material Design buttons */
  md-filled-button,
  md-outlined-button {
    --md-filled-button-container-height: 48px;
    --md-outlined-button-container-height: 48px;
  }
}

/* === AUDIENCE LANDING PAGE STYLES === */

/* Landing page header */
.landing-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 0;
}

.landing-hero h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: #222;
  border: none;
  padding: 0;
}

.landing-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.landing-intro {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Challenge Grid Layout */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.challenge-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #00796b;
  transition: all 0.3s ease;
  cursor: pointer;
}

.challenge-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.challenge-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.challenge-preview {
  margin-bottom: 16px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.challenge-preview span {
  color: #00796b;
  font-weight: 500;
  font-size: 0.95rem;
}

.perfect-for {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  line-height: 1.4;
}

.challenge-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Challenge card behavior - click to toggle for all devices */
.challenge-card.expanded .challenge-preview {
  opacity: 0;
}

.challenge-card.expanded .challenge-details {
  opacity: 1;
  max-height: 200px;
}

/* Add a subtle indicator that cards are clickable */
.challenge-preview span::after {
  content: ' ▼';
  color: #00796b;
  font-size: 0.8rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.challenge-card.expanded .challenge-preview span::after {
  transform: rotate(180deg);
}

.challenge-details ul {
  margin: 0;
  padding-left: 20px;
}

.challenge-details li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.6;
}

/* Challenge Items */
.challenges-section {
  margin: 48px 0;
}

.challenges-section h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -1px;
  text-align: center;
}

.challenge-item {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #00796b;
}

.challenge-item h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

/* Challenge details accordion */
.challenge-details {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.challenge-details summary {
  padding: 12px 16px;
  background: #fdfdfd;
  cursor: pointer;
  font-weight: 500;
  color: #00796b;
  border: none;
  outline: none;
  transition: background-color 0.2s;
  user-select: none;
  font-size: 0.95rem;
}

.challenge-details summary:hover {
  background: #f8f8f8;
}

.challenge-details summary::-webkit-details-marker {
  display: none;
}

.challenge-details summary {
  list-style: none;
}

.challenge-details summary::-moz-list-bullet {
  list-style-type: none;
}

.challenge-details summary::before {
  content: '▶';
  margin-right: 8px;
  transition: transform 0.2s;
  display: inline-block;
  font-size: 0.8rem;
}

.challenge-details[open] summary::before {
  transform: rotate(90deg);
}

.challenge-details ul {
  margin: 0;
  padding: 16px 16px 16px 36px;
  background: white;
  border-top: 1px solid #f0f0f0;
}

.challenge-item li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 48px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 16px;
  border-radius: 12px;
}

.timeline-step:hover {
  background: rgba(0, 121, 107, 0.05);
  transform: translateY(-2px);
}

.timeline-step.active {
  background: rgba(0, 121, 107, 0.1);
}

.step-indicator {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.timeline-step.active .step-indicator {
  border-color: #00796b;
  background: #00796b;
  color: white;
}

.step-indicator .material-symbols-rounded {
  font-size: 32px;
  color: #00796b;
  transition: color 0.3s ease;
}

.timeline-step.active .step-indicator .material-symbols-rounded {
  color: white;
}

.step-number {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #00796b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

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

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: #222;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.step-duration {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.timeline-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #e0e0e0 0%, #00796b 50%, #e0e0e0 100%);
  margin: 0 16px;
  max-width: 100px;
}

/* Step Details */
.step-details {
  margin-top: 32px;
  /* Remove fixed min-height - let it be dynamic */
}

.step-detail {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #00796b;
  margin-bottom: 0; /* Ensure no extra space when hidden */
}

.step-detail.active {
  display: block;
  animation: fadeInUp 0.3s ease;
  margin-bottom: 32px; /* Only add margin when visible */
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(20px);
    max-height: 0;
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
    max-height: 500px;
  }
}

.step-detail h4 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.option-group {
  margin-bottom: 24px;
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-group p {
  margin-bottom: 12px;
  color: #333;
  font-weight: 500;
}

.step-detail ul {
  margin: 0;
  padding-left: 20px;
}

.step-detail li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.6;
}

/* Examples Section */
.examples-section {
  margin: 48px 0;
  background: #f8f9fa;
  padding: 32px 24px;
  border-radius: 12px;
}

.examples-section h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -1px;
  text-align: center;
}

.example-item {
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #00796b;
}

.example-item:last-child {
  margin-bottom: 0;
}

.example-item p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

/* Perfect For Section */
.perfect-for-section {
  margin: 48px 0;
}

.perfect-for-section h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -1px;
  text-align: center;
}

.perfect-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.perfect-for-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.perfect-for-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.perfect-for-item p {
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Accessibility Section */
.accessibility-section {
  margin: 48px 0;
  padding: 32px 24px;
  background: #e8f5e8;
  border-radius: 12px;
  border-left: 4px solid #00796b;
}

.accessibility-section h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.accessibility-section p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Social Impact Section */
.social-impact-section {
  margin: 48px 0;
  padding: 32px 24px;
  background: #e8f5e8;
  border-radius: 12px;
}

.social-impact-section h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
  text-align: center;
}

.social-impact-section > p {
  text-align: center;
  margin-bottom: 32px;
  color: #555;
  line-height: 1.7;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.impact-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.impact-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #00796b;
  font-family: 'Roboto', 'Raleway', sans-serif;
}

.impact-item p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.impact-note {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin: 24px 0 0 0;
}

/* Page CTA Section */
.page-cta-section {
  margin: 48px 0;
  padding: 48px 32px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
}

.page-cta-section h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-cta-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-cta-section .cta-buttons {
  margin-bottom: 24px;
}

.cta-note {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* More Info Section */
.more-info-section {
  margin: 48px 0;
  text-align: center;
}

.more-info-section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.more-info-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.more-info-links a {
  color: #00796b;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.more-info-links a:hover {
  color: #004d40;
  text-decoration: underline;
}

/* Responsive for Landing Pages */
@media (max-width: 768px) {
  .landing-hero h1 {
    font-size: 2rem;
  }
  
  .landing-subtitle {
    font-size: 1.2rem;
  }
  
  .landing-intro {
    font-size: 1.1rem;
  }
  
  .challenge-card {
    padding: 20px;
  }
  
  .challenge-card h3 {
    font-size: 1.2rem;
  }
  .approach-grid,
  .perfect-for-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .more-info-links {
    flex-direction: column;
    gap: 16px;
  }
  
  .page-cta-section {
    padding: 32px 24px;
  }
  
  .social-impact-section,
  .accessibility-section,
  .examples-section {
    padding: 24px 16px;
  }
  
  .footer .social {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .challenges-section h2,
  .approach-section h2,
  .examples-section h2,
  .perfect-for-section h2 {
    font-size: 1.6rem;
  }
  
  .page-cta-section h2 {
    font-size: 1.6rem;
  }
  
  .challenge-item,
  .approach-phase {
    padding: 16px;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  #wrapper {
    padding: 10px 2vw;
  }
  .mui-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .mui-tile {
    min-height: 220px;
    max-width: 95vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
}