/* ============================================================
   CYRAXO — Liquid Glass / Claymorphism Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #FBF9F6;
  --bg-surface: #FAFAF8;
  --bg-elevated: #FFFFFF;
  --navy: #1a2744; /* keeping for compatibility if needed */
  --navy-light: #223060;
  --primary: #7BC1B7; /* Calming Teal */
  --primary-dim: #5A9D93; /* dark teal */
  --primary-glow: rgba(123, 193, 183, 0.18);
  --primary-glow-sm: rgba(123, 193, 183, 0.08);
  --white: #ffffff;
  --text-primary: #334155;
  --text-muted: #64748B;
  --text-faint: #94a3b8;
  --border: rgba(0, 0, 0, 0.05);
  --border-primary: rgba(123, 193, 183, 0.3);
  --radius: 12px;
  --radius-lg: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 8px 8px 20px rgba(214, 210, 204, 0.6), -8px -8px 20px rgba(255, 255, 255, 1);
  --shadow-glow: 0 0 40px rgba(123, 193, 183, 0.3);
  --accent: #E2CDC4;
  
  --clay-bg: #FAFAF8;
  --clay-shadow: 8px 8px 20px rgba(214, 210, 204, 0.6), 
                 -8px -8px 20px rgba(255, 255, 255, 1),
                 inset 2px 2px 6px rgba(255, 255, 255, 0.8),
                 inset -2px -2px 6px rgba(0, 0, 0, 0.02);
                 
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: 1px solid rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px 0 rgba(100, 116, 139, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  box-shadow: var(--shadow-glow);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-word span { color: var(--primary); }

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.8);
  box-shadow: inset 2px 2px 5px rgba(255,255,255,0.8), inset -2px -2px 5px rgba(0,0,0,0.02);
}

.nav-links a.active {
  color: var(--primary-dim);
  font-weight: 800;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-bottom: var(--glass-border);
  z-index: 999;
}

.nav-mobile a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.nav-mobile a:hover {
  background: rgba(255,255,255,0.6);
  color: var(--text-primary);
}
.nav-mobile.open { display: flex; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 4px 4px 10px rgba(123, 193, 183, 0.3),
              inset 2px 2px 4px rgba(255,255,255,0.3);
}

.btn-primary:hover {
  background: var(--primary-dim);
  transform: translateY(-2px);
  box-shadow: 6px 6px 14px rgba(123, 193, 183, 0.4),
              inset 2px 2px 4px rgba(255,255,255,0.4);
}

.btn-secondary {
  background: var(--clay-bg);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-glow);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ── FAQAccordion ────────────────────────────────────────── */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--clay-bg); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.faq-trigger { width: 100%; padding: 24px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; color: var(--text-primary); font-family: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; text-align: left; }
.faq-trigger::after { content: '+'; font-size: 1.6rem; color: var(--primary); transition: transform var(--transition); font-weight: 800; }
.faq-item.open .faq-trigger::after { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: all 0.4s ease-out; padding: 0 24px; }
.faq-item.open .faq-body { max-height: 500px; padding: 0 24px 24px; }

/* ── Global Sector Switcher ────────────────────────────────── */
.sector-switcher {
  padding: 80px 0;
  background: var(--bg-surface);
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.switcher-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.switcher-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 24px;
}

.switcher-tabs {
  display: inline-flex;
  background: var(--clay-bg);
  border-radius: 100px;
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.switcher-tabs a {
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.switcher-tabs a:hover {
  color: var(--text-primary);
  background: rgba(0,0,0,0.02);
}

.switcher-tabs a.active {
  background: var(--bg-elevated);
  color: var(--primary-dim);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .switcher-tabs {
    flex-direction: column;
    border-radius: 24px;
    padding: 12px;
    width: 100%;
    max-width: 320px;
  }
  .switcher-tabs a {
    width: 100%;
    text-align: center;
    padding: 16px;
  }
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--clay-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 12px 12px 24px rgba(214, 210, 204, 0.8), -12px -12px 24px rgba(255, 255, 255, 1);
}

/* ── Badges / Labels ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary-glow);
  color: var(--primary-dim);
}

/* ── Section Headers ───────────────────────────────────────── */
.section-header { margin-bottom: 64px; }
.section-header h2 { margin: 12px 0 16px; font-size: 2.8rem; }
.section-header p { max-width: 560px; font-size: 1.15rem; color: var(--text-muted); }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 16px 0;
}
.divider.center { margin: 16px auto; }

/* ── Grid helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Icon circles ──────────────────────────────────────────── */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clay-bg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--primary);
}

/* ── Primary gradient text ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-dim), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-elevated);
  padding: 80px 24px 40px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}

.footer-inner { max-width: 1180px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--text-primary); }
.footer-logo span { color: var(--primary); }

.footer-desc { font-size: 1rem; max-width: 320px; color: var(--text-muted); }

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clay-bg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── Noise overlay ─────────────────────────────────────────── */
.noise-overlay { display: none; } /* Disabled for modern soft look */

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-up { animation: fadeUp 0.7s ease both; }
.animate-in { animation: fadeIn 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── Stat numbers ──────────────────────────────────────────── */
.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-dim);
}
.stat-num span { color: var(--primary); }
.stat-label { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-top: 8px; }

/* ── Input / Form ──────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--clay-bg);
  box-shadow: inset 4px 4px 8px rgba(214, 210, 204, 0.6), inset -4px -4px 8px rgba(255, 255, 255, 1);
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  box-shadow: inset 4px 4px 8px rgba(123, 193, 183, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 1);
}

.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  
  /* Mobile padding reductions */
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .card { padding: 24px; }
  .mission-statement, .cta-banner { padding: 40px 24px !important; }
  .sector-switcher { padding: 48px 0; }
  
  /* Mobile typography */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .section-header h2 { font-size: 2rem; }
  .hero-title { font-size: 2.4rem !important; }
  .stat-num { font-size: 2.8rem; }
}
.nav-logo img, .footer-logo img { filter: invert(0.8) hue-rotate(180deg) brightness(0.5); }
