/* ==========================================================================
   GENADIJS ECOM HOLDINGS LIMITED - CORE DESIGN SYSTEM
   Exact 1:1 Match with AgenAI Framer Aesthetic:
   Light Ceramic Palette, Silk-Texture Background, 3D Pill Elements,
   Continuous Floating Physics, Card Shine Reflection, and Staggered Animations
   ========================================================================== */

:root {
  /* Colors from AgenAI Framer Tokens */
  --bg-page: #edecec;               /* rgb(237, 236, 236) - Soft Ceramic Gray */
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f5f5f5;
  --bg-pill-glass: rgba(255, 255, 255, 0.85);

  --accent-red: #fd3a25;            /* rgb(253, 58, 37) */
  --accent-red-dark: #ba1e0d;       /* rgb(186, 30, 13) */
  --accent-red-glow: rgba(255, 59, 0, 0.35);

  --text-dark: #18181b;             /* Deep Charcoal */
  --text-slate: #292c2e;            /* Slate Headline Base */
  --text-body: #474d52;             /* Clean readable body */
  --text-muted: #71717a;
  --text-light: #a1a1aa;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-card: rgba(0, 0, 0, 0.08);
  --border-card-hover: rgba(0, 0, 0, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Urbanist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-navbar: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 14px 34px -10px rgba(0, 0, 0, 0.06), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  --shadow-btn-dark: 0 16px 32px -8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.22);
  --shadow-btn-white: 0 8px 24px -4px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.35s var(--ease-spring);
}

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

html {
  background-color: var(--bg-page);
}

/* Lenis Momentum Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 16px;
}

/* Outer Application Wrapper */
.page-canvas {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

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

.text-gradient-dark {
  background-image: linear-gradient(355deg, rgb(67, 72, 77) 0%, rgb(41, 44, 46) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tactile Click Feel (Exact AgenAI whileTap: scale(0.95)) */
button, .btn-pill-dark, .btn-hero-primary, .btn-hero-secondary, .portfolio-arrow-btn, .hero-scroll-pill {
  user-select: none;
  -webkit-user-select: none;
}

button:active, .btn-pill-dark:active, .btn-hero-primary:active, .btn-hero-secondary:active, .portfolio-arrow-btn:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s ease-out;
}

/* Staggered Scroll Entrance Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   1. FLOATING PILL NAVBAR
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
}

.navbar-pill {
  pointer-events: auto;
  background: var(--bg-pill-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-navbar);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: var(--transition);
}

.navbar-pill:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: #18181b;
  letter-spacing: -0.5px;
}

.navbar-logo-symbol {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.navbar-links a {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-slate);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.btn-pill-dark {
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-btn-dark);
  border: 1px solid #27272a;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-pill-dark:hover {
  transform: translateY(-1px);
  background: #000000;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #18181b;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-canvas-frame {
  position: relative;
  min-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 24px 60px;
  background: #f7f6f5;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-tagline-badge svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-red);
}

.hero-title-group {
  margin-bottom: 24px;
}

.hero-headline-1 {
  font-size: 86px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.05;
}

.hero-headline-2-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-headline-2 {
  font-size: 86px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.05;
}

/* Red Capsule with Floating Icon Tiles */
.hero-capsule-badge {
  position: relative;
  background: linear-gradient(180deg, var(--accent-red-dark) 0%, var(--accent-red) 100%);
  border-radius: 100px;
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0px 2px 4px 0px rgba(255, 59, 0, 0.4), 
    0px 14px 34px 0px rgba(255, 59, 0, 0.35), 
    0px 30px 60px 0px rgba(255, 59, 0, 0.2);
  min-width: 160px;
  height: 68px;
}

.floating-tiles {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-icon {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  position: absolute;
  transition: transform 0.3s var(--ease-spring);
}

.tile-icon:hover {
  transform: scale(1.22) !important;
  z-index: 10;
}

/* Continuous Idle Floating Animation (Exact Framer Motion Idle Loop) */
.tile-icon-1 {
  left: -12px;
  top: -12px;
  animation: floatIdle1 4.5s ease-in-out infinite alternate;
}

.tile-icon-2 {
  right: -14px;
  top: -6px;
  animation: floatIdle2 5.2s ease-in-out infinite alternate;
}

.tile-icon-3 {
  left: 24px;
  bottom: -14px;
  animation: floatIdle3 4.8s ease-in-out infinite alternate;
}

@keyframes floatIdle1 {
  0% { transform: translateY(0px) rotate(-14deg); }
  50% { transform: translateY(-6px) rotate(-11deg); }
  100% { transform: translateY(4px) rotate(-17deg); }
}

@keyframes floatIdle2 {
  0% { transform: translateY(0px) rotate(12deg); }
  50% { transform: translateY(6px) rotate(16deg); }
  100% { transform: translateY(-4px) rotate(9deg); }
}

@keyframes floatIdle3 {
  0% { transform: translateY(0px) rotate(-6deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
  100% { transform: translateY(5px) rotate(-9deg); }
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.hero-subtext {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.btn-hero-primary {
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-btn-dark);
  border: 1px solid #27272a;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: #000000;
  box-shadow: 0 22px 40px -10px rgba(0, 0, 0, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-btn-white);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.1);
}

/* Continuous Gentle Bounce for Scroll Pill */
.hero-scroll-pill {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  animation: scrollPillBounce 2.4s ease-in-out infinite;
}

@keyframes scrollPillBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll-pill:hover {
  color: #000;
  background: #fff;
}

.hero-scroll-pill span.arrow {
  color: var(--accent-red);
  font-size: 14px;
}

/* ==========================================================================
   3. LOGO MARQUEE SECTION
   ========================================================================== */
.marquee-strip {
  padding: 40px 0;
  background: transparent;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.marquee-track-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 55px;
  white-space: nowrap;
  animation: marqueeRun 28s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-slate);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo-item:hover {
  opacity: 1;
  color: #000;
}

.partner-logo-item svg {
  height: 22px;
  width: auto;
  fill: currentColor;
}

/* ==========================================================================
   4. STATEMENT / QUOTE SECTION
   ========================================================================== */
.section-wrapper {
  padding: 70px 0;
}

.quote-canvas-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 70px 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Card Light Sweep Sheen (Exact AgenAI "Top Shine" Effect) */
.shine-layer {
  position: absolute;
  top: -100px;
  left: -150px;
  width: 180px;
  height: 350px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(42deg);
  pointer-events: none;
  opacity: 0;
  filter: blur(20px);
  -webkit-filter: blur(20px);
  transition: opacity 0.4s var(--ease-spring), transform 0.8s var(--ease-spring);
}

.quote-canvas-card:hover .shine-layer,
.bento-card-light:hover .shine-layer,
.portfolio-card-light:hover .shine-layer,
.process-card-light:hover .shine-layer {
  opacity: 1;
  transform: rotate(42deg) translate(600px, 150px);
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.05), inset 0px -3px 0px 0px #e9e9e9;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.section-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-red);
}

.quote-big-text {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto 35px;
  letter-spacing: -1px;
}

.quote-author-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-pic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #edecec;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.author-info p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

/* ==========================================================================
   5. BENTO GRID CAPABILITIES
   ========================================================================== */
.section-header-center {
  text-align: center;
  margin-bottom: 55px;
}

.section-main-heading {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 16.5px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

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

.bento-card-light {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.bento-card-light:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-card-hover);
}

.bento-span-8 {
  grid-column: span 8;
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  margin-bottom: 22px;
  transition: var(--transition);
}

.bento-card-light:hover .bento-icon-box {
  transform: scale(1.08);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.bento-card-light h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.bento-card-light p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
}

.bento-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.bento-badge-item {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #f4f4f5;
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-image-frame {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #edecec;
}

.bento-image-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.bento-card-light:hover .bento-image-frame img {
  transform: scale(1.04);
}

/* ==========================================================================
   6. PROCESS ROADMAP ("From Idea to Production" 01 / 02 / 03)
   ========================================================================= */
.process-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card-light {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 44px 34px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.process-card-light:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  color: #18181b;
  line-height: 1;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.process-number span {
  font-size: 16px;
  color: var(--accent-red);
  font-weight: 700;
}

.process-card-light h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}

.process-card-light p {
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ==========================================================================
   7. FEATURED PORTFOLIO WITH SLIDER ARROWS
   ========================================================================== */
.portfolio-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.portfolio-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-arrow-btn:hover {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
  box-shadow: var(--shadow-card-hover);
}

.portfolio-arrow-btn svg {
  width: 20px;
  height: 20px;
}

.portfolio-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  transition: transform 0.5s var(--ease-spring);
}

.portfolio-card-light {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.portfolio-card-light:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #edecec;
}

.portfolio-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

.portfolio-card-light:hover .portfolio-image-wrap img {
  transform: scale(1.05);
}

.portfolio-category-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-red);
}

.portfolio-card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card-body h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.portfolio-card-body p {
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.portfolio-metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
}

.metric-number-big {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: #18181b;
}

.metric-text-small {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   8. IMPACT NUMBERS CARD (With Animated Counter)
   ========================================================================== */
.impact-card-light {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.impact-tile-item {
  padding: 10px 16px;
  position: relative;
}

.impact-tile-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #f0f0f0;
}

.impact-huge-num {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #18181b;
  line-height: 1;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.impact-title-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ==========================================================================
   9. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.faq-card.active {
  box-shadow: var(--shadow-card-hover);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}

.faq-toggle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  flex-shrink: 0;
  font-weight: 700;
  transition: var(--transition);
}

.faq-card.active .faq-toggle-btn {
  transform: rotate(45deg);
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-spring);
  padding: 0 28px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.faq-card.active .faq-content {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==========================================================================
   10. CTA BANNER CARD
   ========================================================================== */
.cta-rounded-banner {
  background: #18181b;
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 85px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.25);
}

.cta-rounded-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-red-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-rounded-banner h2 {
  font-size: 50px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.cta-rounded-banner p {
  color: #a1a1aa;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   11. COMPREHENSIVE FOOTER
   ========================================================================== */
.site-footer-light {
  padding: 70px 0 30px;
  font-size: 14px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand-box p {
  color: var(--text-body);
  line-height: 1.65;
  max-width: 320px;
}

.footer-col-nav h4 {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-weight: 600;
  color: var(--text-body);
}

.footer-nav-list a:hover {
  color: #000;
  padding-left: 4px;
}

.footer-hq-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.footer-hq-card .company-name {
  font-weight: 800;
  font-size: 14px;
  color: #18181b;
  margin-bottom: 8px;
}

.footer-hq-card .company-address {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-hq-card .company-email {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
}

.footer-legal-bar {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline-1, .hero-headline-2 {
    font-size: 60px;
    letter-spacing: -2px;
  }
  .bento-span-8, .bento-span-4 {
    grid-column: span 12;
  }
  .portfolio-grid-3, .process-grid-3 {
    grid-template-columns: 1fr;
  }
  .portfolio-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .impact-card-light {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .impact-tile-item:not(:last-child)::after {
    display: none;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding: 8px;
  }
  .navbar-pill {
    padding: 6px 16px;
    gap: 12px;
    width: 92%;
    justify-content: space-between;
  }
  .navbar-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-headline-1, .hero-headline-2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .hero-capsule-badge {
    height: 52px;
    min-width: 130px;
  }
  .tile-icon {
    width: 30px;
    height: 30px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .quote-big-text {
    font-size: 26px;
  }
  .quote-canvas-card {
    padding: 40px 20px;
  }
  .section-main-heading {
    font-size: 32px;
  }
  .impact-card-light {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .footer-legal-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(237, 236, 236, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #18181b;
}

.mobile-drawer-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: #18181b;
  cursor: pointer;
}
