/*
Theme Name: Trust Habbit Custom Theme
Description: Custom theme for Trust Habbits
Author: Antigravity
Version: 3.0.1
*/

@font-face {
  font-family: 'General Sans';
  src: url('./assets/fonts/General%20Sans%20Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #26529B;
  --color-primary-hover: #1e427d;
  --color-text-dark: #334155;
  --color-text-muted: #64748b;
  --color-nav-bg: #f5f7fa;
  --color-nav-border: #e1e7ef;
  --transition-fast: 0.2s ease;
  --radius-pill: 9999px;
  --radius-sm: 8px;
  --font-heading: 'General Sans', sans-serif;
  --font-body: 'Satoshi', sans-serif;
}

/* Reset & Base UI Elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
}

p,
.font-body {
  font-family: var(--font-body);
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =========================================================================
   GLOBAL UTILITY CLASSES 
   ========================================================================= */

/* Typography */
.text-xs {
  font-size: clamp(0.65rem, 0.8vw, 0.75rem);
}

.text-sm {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
}

.text-base {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
}

.text-lg {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.text-xl {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.text-2xl {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.text-3xl {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.text-4xl {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-primary {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-dark {
  color: var(--color-text-dark);
}

.text-white {
  color: #ffffff;
}

.text-gray-light {
  color: #e2e8f0;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-tight {
  letter-spacing: -0.03em;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.1;
}

.leading-relaxed {
  line-height: 1.6;
}

/* Flexbox */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Gaps */
.gap-xs {
  gap: clamp(0.2rem, 0.4vw, 0.35rem);
}

.gap-sm {
  gap: clamp(0.4rem, 0.8vw, 0.75rem);
}

.gap-md {
  gap: clamp(0.6rem, 1vw, 1rem);
}

.gap-lg {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.gap-xl {
  gap: clamp(2rem, 3.5vw, 5rem);
}

/* Spacing (Padding/Margin) */
.m-0 {
  margin: 0;
}

.relative {
  position: relative;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.mt-xs {
  margin-top: clamp(0.4rem, 0.6vw, 0.5rem);
}

.mb-xs {
  margin-bottom: clamp(0.4rem, 0.6vw, 0.5rem);
}

.mb-sm {
  margin-bottom: clamp(0.8rem, 1.5vw, 1.25rem);
}

.mt-sm {
  margin-top: clamp(0.8rem, 1.5vw, 1.25rem);
}

.mb-md {
  margin-bottom: clamp(2.5rem, 2vw, 1.5rem);
}

.mb-lg {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.pt-sm {
  padding-top: clamp(0.6rem, 1vw, 1rem);
}

.pt-32 {
  padding-top: clamp(4rem, 10vw, 8rem);
}

.pb-24 {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.px-container {
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* Border / Radius */
.border-primary {
  border: 1px solid var(--color-primary);
}

.border-white {
  border: 1px solid #ffffff;

}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-pill {
  border-radius: var(--radius-pill);
}

.rounded-circle,
.icon-circle {
  border-radius: 50%;
}

/* Components: Icons & Elements */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

.icon-md {
  width: 18px;
  height: 18px;
}


.icon-lg {
  width: clamp(24px, 3vw, 32px);
  height: clamp(24px, 3vw, 32px);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-white {
  background-color: #ffffff;
}

.bg-blue-light {
  background-color: #3b82f6;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  background-color: var(--color-primary);
  z-index: 0;
}

/* Reusable Cards & Buttons */
.card-base {
  position: absolute;
  border-radius: 16px;
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.card-light {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(38, 82, 155, 0.08);
  /* slight blue tint to shadow */
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-dark {
  background: #6c7582;
  color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: none;
}

.btn {
  transition: var(--transition-fast);
  padding: clamp(0.3rem, 0.5vw, 0.4rem) clamp(0.3rem, 0.5vw, 0.4rem) clamp(0.3rem, 0.5vw, 0.4rem) clamp(0.8rem, 1.5vw, 1.25rem);
}

.btn-primary {
  box-shadow: 0 4px 10px rgba(38, 82, 155, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(38, 82, 155, 0.3);
}

.btn-outline {
  background-color: #ffffff;
}

.btn-outline:hover {
  box-shadow: 0 4px 12px rgba(38, 82, 155, 0.15);
  transform: translateY(-1px);
}

.btn:hover .btn-icon {
  transform: scale(1.05);
}

.btn-icon {
  transition: var(--transition-fast);
}

/* =========================================================================
   STRUCTURAL & SPECIFIC STYLES
   ========================================================================= */

/* Header */
.custom-logo {
  transition: filter 0.3s ease;
}

.site-header:not(.header-scrolled) .logo-white {
  filter: brightness(0) invert(1);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: clamp(0.75rem, 1.5vw, 1.5rem) 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-scrolled {
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  /* -webkit-backdrop-filter: blur(10px); */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: -1;

  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.container {
  max-width: 1366px;
  margin: 0 auto;
  width: 100%;
}

.custom-logo {
  height: clamp(28px, 3.5vw, 38px);
  width: auto;
  display: block;
}

.header-nav {
  background-color: var(--color-nav-bg);
  border: 1px solid var(--color-nav-border);
  padding: clamp(0.25rem, 0.4vw, 0.35rem);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nav-item-link {
  padding: clamp(0.4rem, 0.8vw, 0.5rem) clamp(0.8rem, 1.5vw, 1.25rem);
}

.nav-item-link:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.hero-section {
  position: relative;
  height: 100svh;
}

@media (max-width: 900px) {

  .site-header:not(.header-scrolled) .logo-white {
    filter: invert(0) !important;
  }


  .about-hero-bg {
    margin-top: 4rem !important;
  }

  .hero-section {
    height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 1100px) {

  .header-nav {
    display: none;
  }
}

/* Hero Section */
.custom-hero-bg {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  background: linear-gradient(135deg, #26529b 50%, #92b7f4 100%);
  position: relative;
  overflow: hidden;
  margin: 10px;
  border-radius: var(--radius-sm);
}

/* About Page Hero Components */
.about-hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;

}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.about-eyebrow {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-flex;
}

.about-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  display: inline-block;
  background-color: #3b82f6;
}

.about-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-top: 1.5rem;
}

.about-subtitle {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

.about-partners {
  margin-top: 3rem;
}

.partner-title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.partner-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);

  line-height: 1.6;
}

.partner-block-spaced {
  margin-top: 1.5rem;
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   TEAM CAROUSEL SECTION
   ========================================================================= */

.team-section {
  position: relative;
  background-color: #ffffff;
}

.team-card {
  transition: transform 0.3s ease;
}


.team-card:hover .team-img {
  filter: grayscale(0%) !important;
}

.team-card-linkedin:hover {
  opacity: 0.8;
}

/* Swiper overrides */
.team-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.team-swiper-prev:hover,
.team-swiper-next:hover {
  background-color: #1e4b9b !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .team-header-area {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .team-nav {
    margin-top: 1rem;
  }
}

/* =========================================================================
   ROOTS SECTION (ABOUT PAGE)
   ========================================================================= */

.roots-section-wrapper {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}

.roots-section-wrapper.bg-primary-container {
  background: linear-gradient(180deg, var(--color-primary) 77%, #e0eeff 100%);
}

.roots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .roots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .roots-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   PRINCIPLES SECTION (ABOUT PAGE)
   ========================================================================= */

.principles-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .principles-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .principle-item {
    padding: 1.5rem 0 !important;
  }
}

.principle-item {
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.principle-item:hover {
  background-color: #f8fafc;
  padding-left: 1rem;
}

.root-card {
  transition: transform 0.3s ease;
}

.root-card:hover {
  transform: translateY(-5px);
}

.gradient {
  margin: 10px;
  height: 97svh;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 90% 10%, rgb(38 82 155 / 0%) 0%, transparent 50%), radial-gradient(circle at 10% 90%, rgb(38 82 155 / 27%) 0%, #00000000 60%), radial-gradient(circle at 80% 90%, rgb(38 82 155 / 81%) 0%, transparent 45%);
  background-size: 150% 150%;
  animation: mesh-pan 10s ease-in-out infinite alternate;
}

@keyframes mesh-pan {
  0% {
    background-position: 0% 0%;
  }

  33% {
    background-position: 100% 0%;
  }

  66% {
    background-position: 100% 100%;
  }

  100% {
    background-position: 0% 100%;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  min-height: 100svh;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  max-width: 90%;
}

.hero-visuals {
  position: relative;
  height: clamp(400px, 45vw, 600px);
  width: 100%;
}

/* Card Positions & Specifics */
.card-cost {
  top: 10%;
  left: 10%;
  width: clamp(200px, 22vw, 260px);
  z-index: 2;
}

.card-stat {
  top: 35%;
  right: 0;
  z-index: 3;
  padding: clamp(0.6rem, 1vw, 1rem) clamp(1rem, 1.75vw, 1.75rem);
  border-radius: 999px;
}

.card-engagement {
  bottom: 25%;
  left: 0;
  width: clamp(220px, 26vw, 290px);
  z-index: 4;
}

.card-threat {
  bottom: 10%;
  right: 0%;
  width: clamp(170px, 20vw, 240px);
  z-index: 5;
}

.progress-bar-bg {
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 89%;
  height: 100%;
  background: var(--color-primary);
}

.threat-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Problem Section */
.problem-section {
  background-color: #ffffff;
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 10;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.problem-content {
  max-width: 600px;
}

.problem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e2e8f0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.problem-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.problem-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.problem-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.problem-stat {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-with-icon:hover {
  color: var(--color-primary-hover);
}

@media (max-width: 900px) {

  .ff-title,
  .ff-subtitle {
    text-align: left;
  }


  .gradient {
    height: 110svh;
  }



  .card-cost {
    top: 5%;
  }

  .card-engagement {
    bottom: 15%;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-grid {
    padding-top: 25px;
    height: auto;
    grid-template-columns: 1fr;
  }
}

/* Mission Section */
.mission-section {
  padding: clamp(6rem, 10vw, 8rem) 0;
}

.mission-badge {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mission-badge-dot {
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.mission-statement {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.3;
  font-weight: 500;
  color: #cbd5e1;
  /* Initially light grey */
  max-width: 95%;
}

/* =========================================================================
   FEATURES FLOW — SECTION 5  (ff-*)
   ========================================================================= */

/* Section wrapper */
.ff-section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 12vw, 10rem);
  overflow: hidden;
}

/* White → blue gradient that deepens toward the bottom */
.ff-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f6fcff 0%, #c5d5f9 20%, var(--color-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Centered header */
.ff-header {
  text-align: center;
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.ff-title {
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.ff-subtitle {
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Rows container — the SVG is inside here, position:relative */
.ff-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 9vw, 8rem);
}

/* SVG canvas spanning the full rows container */
.ff-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

/* Ghost (background) path — very faint */
.ff-path-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 5;
  stroke-linecap: round;
}

/* Animated draw path — white with glow */
.ff-path-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
}

/* Individual row */
.ff-row {
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}

/* Row 2 flips the order: text left, image right */
.ff-row-2 {
  grid-template-columns: 1fr 55%;
}


.ff-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Text column */
.ff-text-col {
  display: flex;
  flex-direction: column;
}

/* Numbered badge (circle with border) */
.ff-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Feature heading */
.ff-step-title {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

/* Feature description */
.ff-step-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* Hidden initially for fade-in animation - Removed as per request */
.ff-row {}

/* ── Responsive ── */
@media (max-width: 900px) {

  .ff-row,
  .ff-row-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* On mobile Row 2 restore natural order: image above text */
  .ff-row-2 .ff-img-col {
    order: -1;
  }

  /* Hide SVG lines on mobile */
  .ff-svg {
    display: none;
  }

}

/* Problem Component Classes */
.problem-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.badge-translucent {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.badge-dot-white {
  background-color: #ffffff;
}

.title-white {
  color: #ffffff;
}

/* Bento Content Component Classes */
.bento-header-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 0;
}

.bento-header-desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-col-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-col-end {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.bento-max-65 {
  max-width: 65%;
}

.bento-max-70 {
  max-width: 70%;
}

.bento-number-lg {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
}

.bento-number-md {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.bento-label {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.bento-label-sm {
  font-size: 1.1rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.bento-label-alt {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 500;
}

.bento-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.bento-text-sm {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.bento-text-md {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.bento-alert-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* Bento Grid Section */
.bg-primary-container {
  background: linear-gradient(180deg, var(--color-primary) 60%, #ffffff 100%);
  border-radius: 24px;

  color: #ffffff;
  padding-bottom: 150px;
}

.third-section,
.audience-section,
.ff-section,
.roots-section-wrapper {
  margin: 10px;
  border-radius: 16px;
}

.bento-header-grid {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  column-gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}



.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.bento-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: clamp(1.25rem, 1.5vw, 1.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.bento-1 {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  justify-content: flex-end;
}

.bento-2 {
  grid-column: 4 / 8;
  grid-row: 1 / 2;
  justify-content: space-between;
}

.bento-3 {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
  justify-content: space-between;
}

.bento-4 {
  grid-column: 4 / 10;
  grid-row: 2 / 3;
  justify-content: center;
  align-items: center;
}

.bento-5 {
  grid-column: 1 / 10;
  grid-row: 3 / 4;
  justify-content: flex-end;
}

.bento-6 {
  grid-column: 10 / 13;
  grid-row: 2 / 4;
  justify-content: space-between;
  text-align: right;
  align-items: flex-end;
}

.exclamation-glow {
  position: absolute;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, rgb(255 255 255) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 0px rgba(239, 68, 68, 0));
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-heading);
  line-height: 1;
  transition: filter 1.5s ease-in-out;
}

.exclamation-glow.glow-active {
  filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.961));
  animation: pulse-glow 1s ease-in-out 1.5s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.961));
  }

  100% {
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.1));
  }
}

.card-1-glow {
  font-size: clamp(150px, 15vw, 220px);
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.card-3-glow {
  font-size: clamp(120px, 12vw, 180px);
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.card-5-glow {
  font-size: clamp(140px, 14vw, 200px);
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

/* Footer Component Classes */
.site-footer {
  background-color: #fafafa;
  border-top: 1px solid #e2e8f0;
  margin-top: clamp(4rem, 8vw, 6rem);
}

.footer-top-banner {
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background-image: linear-gradient(to right, #f1f5f9 1px, transparent 1px), linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center top;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.footer-heading {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 2.5rem;

}

.footer-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: clamp(3rem, 8vw, 8rem);
}

.footer-nav-title {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-list a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.footer-nav-list .active-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-list .active-nav a {
  color: var(--color-primary);
}

.footer-nav-list .active-nav .nav-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid #e2e8f0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
}

.footer-bottom a:first-child {
  margin-left: 0;
}

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

.footer-logo {
  height: 32px;
  width: auto;
}

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

@media (max-width: 1024px) {
  .bento-header-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bento-header-grid .right-col {
    grid-column: 1 / -1;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4,
  .bento-5,
  .bento-6 {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-right {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom-right {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom a {
    margin-left: 0;
  }
}

/* Logo Animation Section */
.logo-animation-section {
  height: 500px;
  width: 100%;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

.animated-logo-content {
  /* Initial grey state */
  color: #e2e8f0;
}

.animated-logo-icon {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  border-radius: 20px;
  background-color: #f1f5f9;
  color: #e2e8f0;
}

.animated-svg {
  width: 50%;
  height: auto;
}

.animated-logo-text {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Audience Section */
.aud-sec {
  overflow: hidden;
  height: 100svh;
  width: calc(100% - 10px) !important;
  box-sizing: border-box;
}

.m-10px {
  margin: 10px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 6vw, 6rem);
}

.audience-left {
  max-width: 550px;
}

.badge-dot-blue {
  background-color: #60a5fa;
}

.audience-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.audience-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.audience-item {
  padding: 2rem 0;
}

.audience-item:first-child {
  padding-top: 0;
}

.audience-icon {
  margin-bottom: 1rem;
  color: white;
}

.audience-item-title {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.audience-item-desc {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.audience-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  width: 100%;
}

.faded-item {
  opacity: 0.3;
}

.audience-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(200px, 20vw, 300px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Infrastructure Section */
.infrastructure-section {
  background-color: #ffffff;
  padding: clamp(6rem, 10vw, 8rem) 0;
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.infra-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.infra-cards-row {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

.infra-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(1.5rem, 2vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infra-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.infra-card-icon {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  margin-bottom: 2rem;
  display: block;
}

.infra-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.infra-card-desc {
  font-size: 0.95rem;
  line-height: 1.5;
}

.infra-desc {
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

/* CTA Section */
.cta-container {
  background: var(--color-primary);
  border-radius: 24px;
  overflow: hidden;
}

.cta-grid {
  display: block;
}

.cta-content {
  padding: clamp(4rem, 6vw, 6rem);
  text-align: center;
}

.cta-content>div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-actions {
  justify-content: center;
}

.cta-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 450px;
}

.cta-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

@media (max-width: 900px) {

  .footer-heading {
    margin-top: 2.5rem;
  }

  .footer-top-banner {
    display: none;
  }

  .ff-bg,
  .roots-section-wrapper.bg-primary-container,
  .aud-sec.bg-primary-container {

    background: var(--color-primary) !important;

  }

  .ff-section * {
    color: white;
  }

  .audience-grid,
  .infrastructure-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .infra-title-block,
  .audience-left {
    margin-bottom: 3rem;
  }

  .infra-text-block {
    margin-top: 3rem;
  }

  .infra-cards-row {
    flex-direction: column;
  }



  .aud-sec {
    height: auto;
    overflow: visible;
    padding-bottom: clamp(4rem, 8vw, 6rem);
    width: inherit !important;
  }

  .audience-fade-bottom {
    display: none;
  }

  .cta-content {
    padding: clamp(2rem, 6vw, 4rem);
  }

  .cta-image {
    border-radius: 0;
  }
}

/* =========================================================================
   MOBILE MENU
   ========================================================================= */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 20px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Make hamburger white on pages where logo is white (before scroll) */
.site-header:not(.scrolled) .header-logo .logo-white~* .mobile-menu-toggle span,
.site-header:not(.scrolled) .logo-white~.mobile-menu-toggle span {
  background: #ffffff;
}

.site-header.scrolled .mobile-menu-toggle span {
  background: var(--color-text-dark) !important;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav-menu li {
  margin-bottom: 2rem;
}

.mobile-nav-menu a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-menu a:hover {
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  .header-nav {
    display: none !important;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Animate hamburger to X */
  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */

.contact-hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, #a4c2f4 100%);
  border-radius: 12px;
  height: clamp(150px, 20vw, 250px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: flex;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

.form-group {
  flex: 1;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: transparent;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.file-upload-group {
  border: 1px solid #cbd5e1;
  padding: 0.85rem 1rem;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

.contact-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.contact-subtitle {
  color: var(--color-text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 0;
}

.contact-email-icon {
  background: #f1f5f9;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.contact-email-title {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.contact-email-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

.msg-success {
  background: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.msg-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.file-label-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.file-upload-btn {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.file-upload-hint {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.file-name-display {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: -0.5rem;
  display: none;
}

.btn-submit {
  padding: 0.75rem 2.5rem;
  width: auto;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.wp-block-separator {
  margin: 30px 0;
}

.faq-answer-inner p {
  margin-bottom: 1rem;
}

/* FAQ Accordion CSS Toggle */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-accordion-item.active .faq-answer-wrapper {
  max-height: 1500px;
}