/* Mind Studio – Base Styles */
/* Brand palette: slate, teal, off-white, warm gray */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&display=swap');

:root {
  --color-bg: #FFF8F3; /* warm cream background */
  --color-surface: #FFFFFF; /* clean white for cards */
  --color-text: #2D1B00; /* warm dark brown for readability */
  --color-muted: #8B6F47; /* warm brown for secondary text */
  --color-accent: #E67E22; /* warm orange accent */
  --color-accent-600: #D35400; /* deeper orange for buttons */
  --color-border: #F4E6D7; /* warm sand border */
  --color-highlight: #FEF9F5; /* very light cream tint */
    --color-card-bg: rgba(255,255,255,0.95); /* clean white card background */
    
    /* Section-specific colors */
  --color-hero: #FEF7F0; /* warm peach */
  --color-stats: #F5F1E8; /* warm beige */
  --color-services: #FAF4ED; /* warm sand */
  --color-approach: #F8F0E6; /* warm taupe */
  --color-testimonials: #FDF2E9; /* warm apricot */
  
  /* Individual page colors */
  --color-individual: #FAF4ED; /* warm sand - matches services */
  --color-organizations: #F8F0E6; /* warm taupe - matches approach */
  --color-about: #FDF2E9; /* warm apricot - matches testimonials */
  --color-contact: #F5F1E8; /* warm beige - matches stats */
  
  --max-w: 1200px;
}

/* Typography */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-muted); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 8px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  gap: 16px;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
  letter-spacing: 0.5px;
}
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img { height: 40px; display: block; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--color-muted); transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}
.mobile-menu {
  display: none;
  position: fixed; inset: 64px 20px auto 20px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.mobile-menu a { display: block; padding: 10px 6px; color: var(--color-muted); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-text); }
.mobile-menu.open { display: block; }

.lang-switch { display: flex; gap: 10px; align-items: center; color: var(--color-muted); }
.lang-switch a { color: var(--color-muted); }
.lang-switch a:hover { color: var(--color-text); }

/* Hero Slider */
.hero {
  padding: 160px 0 120px;
  text-align: center;
}
.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  margin: 0 0 10px;
  color: var(--color-text);
}
.hero-subtitle {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  margin: 0 0 60px;
  color: var(--color-text);
}
.hero-cta {
  margin-top: 60px;
}

/* Slider in hero section */
.hero .slider-container {
  max-width: 100%;
  margin: 0 auto;
}

.hero .slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.hero .slide-text {
  text-align: left;
}

.hero .slide-text .hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  margin: 0 0 10px;
}

.hero .slide-text .hero-subtitle {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  margin: 0 0 30px;
}

.hero .slide-text .lead {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 30px;
}
.hero .visual {
  position: relative;
  height: 260px;
}
.blob, .ring {
  position: absolute;
  filter: blur(20px);
  opacity: 0.9;
}
.blob {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 30%, rgba(27,182,167,0.35), rgba(16,27,42,0));
  top: 10%; left: 10%;
}
.ring {
  width: 260px; height: 260px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(27,182,167,0.15) inset, 0 0 80px rgba(27,182,167,0.2);
  top: 0; right: 8%;
}
.eyebrow { color: var(--color-accent); font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: 44px; line-height: 1.13; margin: 10px 0 18px; font-weight: 300; }
.hero p { color: var(--color-muted); font-size: 18px; }

.card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 18px 32px; 
  border-radius: 8px; 
  border: 2px solid transparent; 
  color: var(--color-bg); 
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all .2s ease; 
}
.btn-primary { 
  background: var(--color-text); 
  border-color: var(--color-text);
  color: var(--color-bg);
}
.btn-primary:hover { 
  background: var(--color-muted); 
  border-color: var(--color-muted);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-ghost { background: transparent; color: var(--color-muted); border-color: var(--color-border); }
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-text); }

/* Typography Scale */
h1 { font-size: 64px; font-weight: 700; line-height: 1.1; margin: 0 0 20px; }
h2 { font-size: 48px; font-weight: 600; line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
.eyebrow { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 12px; }
.lead { font-size: 24px; line-height: 1.6; color: var(--color-muted); margin: 0 0 32px; }

/* Sections */
section { 
  padding: 80px 0; 
  margin: 0;
  border: none;
}

/* Remove any default margins/padding that could create white breaks */
main {
  margin: 0;
  padding: 0;
}

section + section {
  margin-top: 0;
  padding-top: 80px;
}

/* Section-specific backgrounds */
.section-hero { background: transparent; } /* No background - slider has its own images */
.section-stats { background: var(--color-stats); }
.section-services { background: var(--color-services); }
.section-approach { background: var(--color-approach); }
.section-testimonials { background: var(--color-testimonials); }

/* Individual page backgrounds */
.page-individual { background: var(--color-individual); }
.page-organizations { background: var(--color-organizations); }
.page-about { background: var(--color-about); }
.page-contact { background: var(--color-contact); }

/* Statistics Section */
.stats-section {
  background: var(--color-stats);
  padding: 100px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-block {
  background: var(--color-bg);
  border: none;
  border-radius: 12px;
  padding: 40px 32px;
  margin: 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.stat-block p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--color-text);
}
.stat-block cite {
  font-size: 14px;
  color: var(--color-muted);
  font-style: normal;
  font-weight: 500;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card { padding: 20px; }
.service-card h3 { margin: 8px 0 8px; font-size: 18px; }
.service-card p { color: var(--color-muted); margin: 0; }

/* Feature list */
.feature-list { display: grid; gap: 10px; }
.feature-list li { color: var(--color-muted); }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  color: var(--color-muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 16px; }

/* Forms */
form .field { display: grid; gap: 6px; }
input, textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
label { color: var(--color-muted); font-size: 14px; }

/* Full-Width Hero Slider */
.hero {
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  max-width: none !important;
  position: relative !important;
}

/* Slider always visible - no opacity transitions */
.slider-container .slider {
  opacity: 1 !important;
}

/* Remove gap between header and slider */
main {
  margin: 0 !important;
  padding: 0 !important;
}

.hero.section-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding: 0 !important;
}

.slider-container {
  position: relative !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  background: transparent !important; /* No background - images show through */
  max-width: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

.slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-content {
  width: 100%;
  max-width: none; /* Full width for image */
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw; /* Full viewport width */
  height: 100vh;
  z-index: 1; /* Behind text */
}

.slide-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Responsive image handling - mobile/desktop classes */

.slide-image img {
  transition: opacity 0.3s ease;
}

.slide-image img.mobile-only {
  display: none;
}

.slide-image img.desktop-only {
  display: block;
}

/* Show mobile image on mobile devices */
@media (max-width: 768px) {
  .slide-image img.mobile-only {
    display: block;
  }
  
  .slide-image img.desktop-only {
    display: none;
  }
}

.slide-text {
  padding: 20px;
}

.slide-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--color-text);
}

.slide-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 20px;
}

.slide-text .slide-meta {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero slider specific text styling */
.hero .slide-text {
  position: relative;
  z-index: 10; /* On top of image */
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  margin: 0 40px; /* Add margin from edges */
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.hero .slide-text .hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--color-text);
}

.hero .slide-text .hero-subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.hero .slide-text .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.hero .slide-text .slide-meta {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.slider-controls {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 40px !important;
  right: 40px !important;
  display: flex !important;
  justify-content: space-between !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

.slider-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 24px;
  font-weight: bold;
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.slider-btn:hover {
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.slider-dots {
  position: absolute !important;
  bottom: 40px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 12px !important;
  z-index: 10 !important;
}

.slider-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

/* Utilities */
.muted { color: var(--color-muted); }
.spacer-sm { height: 10px; }
.spacer { height: 20px; }
.spacer-lg { height: 40px; }

/* Responsive */
@media (max-width: 900px) {
  /* Typography adjustments for mobile */
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  
  .hero { padding: 120px 0 80px; }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 48px; }
  
  /* Full-width slider mobile adjustments */
  .slider-container {
    height: 100vh !important;
    max-height: 100vh !important;
  }
  
  .slide-image {
    height: 100vh !important;
  }
  
  .slide-image img {
    height: 100vh !important;
  }
  
  .hero .slide-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
    text-align: center;
  }
  
  .hero .slide-text {
    max-width: 100%;
    padding: 30px 20px;
    margin: 0 auto;
    text-align: center;
  }
  
  .hero .slide-text .hero-title {
    font-size: 2.25rem;
  }
  
  .hero .slide-text .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero .slide-text .lead {
    font-size: 1.125rem;
  }
  
  .slider-controls {
    left: 20px;
    right: 20px;
  }
  
  .slider-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .slider-dots {
    bottom: 30px;
  }
  
  .slider-dot {
    width: 14px;
    height: 14px;
  }
  
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-section { padding: 80px 0; }
  
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .lang-switch { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  
  /* Mobile header layout: menu on left, logo centered */
  .nav {
    position: relative;
    justify-content: center;
    padding: 8px 20px;
  }
  .mobile-toggle {
    position: absolute;
    left: 20px;
  }
  .brand {
    /* Logo is centered by parent justify-content: center */
  }
  .brand-mark img {
    height: 36px; /* Smaller logo on mobile */
  }
  
  /* Add spacing on mobile for all content */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Mobile card adjustments */
  .card {
    padding: 24px;
  }
  
  /* Mobile slider adjustments */
  .slide {
    min-height: 300px;
    padding: 40px 20px;
  }
  
  .slide-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .slide-image img {
    height: 200px;
  }
  
  /* Ensure mobile images are shown on mobile */
  .slide-image img.mobile-only {
    display: block !important;
  }
  
  .slide-image img.desktop-only {
    display: none !important;
  }
  
  .slide-text h3 {
    font-size: 20px;
  }
  
  .slide-text p {
    font-size: 14px;
  }
}


