﻿/* ============================================================
   ZYRON AI — Inspired by humain.com/ar
   Theme: Light White/Grey + Lime Green (#D0F94A) + Teal Gradient Hero
   RTL Arabic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Accent — Lime Green (matches Humain's oasis color) */
  --lime: #D0F94A;
  --lime-dark: #b8e030;
  --lime-glow: rgba(208, 249, 74, 0.30);

  /* Backgrounds — Light like Humain */
  --bg-body: #F0F0F0;
  /* Light grey page background */
  --bg-white: #FFFFFF;
  /* Pure white sections */
  --bg-light: #F5F5F5;
  /* Slightly off-white sections */
  --bg-lighter: #EBEBEB;
  /* Even lighter grey for cards */

  /* Hero gradient — teal like Humain's hero */
  --hero-grad-start: #1a2e2a;
  --hero-grad-mid: #00473a;
  --hero-grad-end: #003a50;

  /* Text */
  --text-dark: #1a1a1a;
  /* Main dark text */
  --text-body: #414141;
  /* Body text matching Humain */
  --text-muted: #6B7280;
  /* Muted grey text */
  --text-light: #9CA3AF;
  /* Lighter grey text */

  /* Teal accent shades */
  --teal: #00D49C;
  --teal-dark: #00879F;

  /* Navbar */
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: rgba(0, 0, 0, 0.07);

  /* Other */
  --white: #FFFFFF;
  --black: #000000;
  --gray: #888;
  --font: 'Cairo', 'Tajawal', sans-serif;
  --tr: all 0.3s ease;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-body);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--tr);
}

ul {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--lime-dark);
  border-radius: 3px;
}

/* ===================== SECTION TAG ===================== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 212, 156, 0.08);
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid rgba(0, 212, 156, 0.2);
  margin-bottom: 16px;
}

/* On dark hero backgrounds, make tag readable */
.page-hero .section-tag {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===================== UTILITY ===================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 110px 0;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--teal);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.9;
  max-width: 680px;
}

/* Lime button — matches Humain's pill buttons */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: #000;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  letter-spacing: -0.01em;
}

.btn-lime:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(208, 249, 74, 0.35);
}

/* Outline button — white style for hero */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--tr);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(208, 249, 74, 0.08);
}

/* Dark outline button for light sections */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-dark);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--tr);
}

.btn-outline-dark:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d2920 0%, #00473a 50%, #003a50 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease;
}

.loader-logo {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: 2px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 10px;
  animation: loadBar 1.6s ease forwards;
}

@keyframes loadBar {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

/* ===================== NAVBAR ===================== */
/* Humain has a transparent white top nav */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Initially hero is dark so nav text is white; scrolled = dark */
#header .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

#header.scrolled .nav-link {
  color: rgba(0, 0, 0, 0.7);
}

#header .nav-logo-text {
  color: var(--white);
}

#header.scrolled .nav-logo-text {
  color: var(--text-dark);
}

#header .hamburger span {
  background: white;
}

#header.scrolled .hamburger span {
  background: var(--text-dark);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-logo img {
  height: 36px;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
  transition: var(--tr);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: var(--tr);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
  color: var(--teal);
}

#header .nav-link:hover {
  color: var(--lime);
}

.nav-link .arrow {
  font-size: 0.62rem;
  transition: transform 0.3s;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Mega Menu — white card */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 680px;
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  animation: menuIn 0.22s ease;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.nav-item:hover .mega-menu {
  display: grid;
}

.mega-menu-group h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: var(--tr);
}

.mega-menu-link:hover {
  background: rgba(0, 212, 156, 0.07);
}

.mega-menu-link .icon {
  width: 38px;
  height: 38px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mega-menu-link .text strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mega-menu-link .text span {
  color: var(--text-muted);
  font-size: 0.77rem;
}

.new-badge {
  display: inline-block;
  background: var(--lime);
  color: #000;
  font-size: 0.6rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 800;
  margin-right: 5px;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr);
}

#header.scrolled .nav-btn-ghost {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-body);
}

.nav-btn-ghost:hover {
  border-color: var(--lime);
  color: var(--text-dark);
  background: var(--lime);
}

.nav-btn-lime {
  background: var(--lime);
  color: #000;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--tr);
  border: none;
}

.nav-btn-lime:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--tr);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-body);
}

.mobile-nav-link:hover {
  color: var(--teal);
}

.close-btn {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ===================== HERO ===================== */
/* Matches Humain's deep dark teal gradient hero with lime + teal content */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(165deg, #0e2b22 0%, #00503e 35%, #005f50 60%, #004060 100%);
}

/* Subtle layered mesh/glow overlays */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(0, 212, 156, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(0, 135, 159, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(208, 249, 74, 0.08) 0%, transparent 60%);
}

/* Animated geometric shapes like Humain's layered rectangles */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(208, 249, 74, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 249, 74, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 30s linear infinite;
}

@keyframes gridShift {
  from {
    background-position: 0 0
  }

  to {
    background-position: 80px 80px
  }
}

/* Large abstract panels — Humain's stacked rectangle left-side art */
.hero-shapes {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 60px 0 60px 40px;
}

.hero-shape-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-shape-stack .shape {
  position: absolute;
  border-radius: 20px;
  opacity: 0;
  animation: shapeReveal 1s ease forwards;
}

/* Stacked panels in lime/teal like Humain's left abstract art */
.shape-1 {
  width: 55%;
  height: 80%;
  top: 10%;
  left: 5%;
  background: linear-gradient(160deg, rgba(208, 249, 74, 0.25), rgba(0, 212, 156, 0.15));
  border: 1px solid rgba(208, 249, 74, 0.2);
  animation-delay: 0.1s;
}

.shape-2 {
  width: 50%;
  height: 75%;
  top: 12%;
  left: 18%;
  background: linear-gradient(160deg, rgba(0, 212, 156, 0.20), rgba(0, 135, 159, 0.15));
  border: 1px solid rgba(0, 212, 156, 0.15);
  animation-delay: 0.25s;
}

.shape-3 {
  width: 45%;
  height: 70%;
  top: 15%;
  left: 32%;
  background: linear-gradient(160deg, rgba(0, 135, 159, 0.18), rgba(0, 60, 80, 0.2));
  border: 1px solid rgba(0, 135, 159, 0.12);
  animation-delay: 0.4s;
}

.shape-4 {
  width: 40%;
  height: 65%;
  top: 18%;
  left: 46%;
  background: linear-gradient(160deg, rgba(0, 80, 100, 0.25), rgba(10, 40, 60, 0.3));
  border: 1px solid rgba(0, 100, 130, 0.1);
  animation-delay: 0.55s;
}

.shape-5 {
  width: 35%;
  height: 60%;
  top: 20%;
  left: 58%;
  background: linear-gradient(160deg, rgba(20, 50, 70, 0.3), rgba(5, 30, 50, 0.4));
  border: 1px solid rgba(0, 80, 110, 0.1);
  animation-delay: 0.7s;
}

@keyframes shapeReveal {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp var(--dur, 8s) var(--del, 0s) ease-in-out infinite;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0)
  }

  20% {
    opacity: 0.6
  }

  80% {
    opacity: 0.6
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1)
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 90px;
}

.hero-inner {
  max-width: 700px;
  margin-right: 0;
  margin-left: auto;
  padding-left: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: blinkDot 1.5s ease-in-out infinite;
}

@keyframes blinkDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.4;
    transform: scale(0.5)
  }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease 0.35s both;
}

/* "ONE" text in teal/lime gradient like HUMAIN ONE branding */
.hero-title .hl {
  background: linear-gradient(90deg, var(--lime), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-desc {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.75s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 64px;
  animation: fadeUp 0.8s ease 0.9s both;
}

.hero-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-n {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
}

.stat-l {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeUp 1s ease 1.2s both;
}

.scroll-hint span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-ball {
  width: 4px;
  height: 7px;
  background: var(--lime);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1
  }

  50% {
    transform: translateY(7px);
    opacity: 0.4
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===================== NEWS CAROUSEL ===================== */
/* Light background like Humain's news section */
#news-carousel {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.carousel-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--tr);
}

.carousel-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* News cards — light card with lime/teal accents */
.news-slide {
  min-width: 360px;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--tr);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.news-slide:hover {
  border-color: rgba(0, 212, 156, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-slide-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

/* Teal/lime branded overlay on news images — duotone effect */
.news-slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(0, 71, 58, 0.72) 0%,
      rgba(0, 180, 130, 0.45) 55%,
      rgba(158, 235, 50, 0.30) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.news-slide:hover .news-slide-img::after {
  opacity: 0.8;
}

.news-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: grayscale(1) brightness(0.80) contrast(1.1);
}

.news-slide:hover .news-slide-img img {
  transform: scale(1.05);
  filter: grayscale(1) brightness(0.88) contrast(1.05);
}

/* Card body — the green/teal gradient card body like Humain */
.news-slide-body {
  padding: 22px;
  background: linear-gradient(160deg, rgba(208, 249, 74, 0.08) 0%, rgba(0, 212, 156, 0.05) 100%);
}

.news-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 212, 156, 0.12);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.news-slide-body h3 {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.news-slide-body .read-more {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 700;
}

.carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 28px;
}

.dot-btn {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--tr);
}

.dot-btn.active {
  background: var(--lime-dark);
  width: 22px;
  border-radius: 4px;
}

/* ===================== VISION SECTION ===================== */
/* White/light grey center text section like Humain */
#vision {
  padding: 130px 0;
  background: var(--bg-light);
}

.vision-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.vision-inner .tag {
  display: block;
}

.vision-big {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.vision-big span {
  color: var(--teal);
}

.vision-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ===================== PARTNERS ===================== */
/* Lime-to-teal gradient strip matching Humain's partner section */
#partners {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #D0F94A 0%, #00D49C 55%, #00879F 100%);
}

.partners-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-top: 60px;
}

.partners-track-wrap {
  overflow: hidden;
  padding-bottom: 60px;
}

.partners-track {
  display: flex;
  gap: 0;
  animation: scrollLeft 25s linear infinite;
  width: max-content;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 50px;
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 1px;
  transition: var(--tr);
  white-space: nowrap;
}

.partner-item:hover {
  color: rgba(0, 0, 0, 0.75);
}

@keyframes scrollLeft {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ===================== PILLARS ===================== */
/* Clean white section with light pillar cards */
#pillars {
  padding: 110px 0;
  background: var(--bg-white);
}

.pillars-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.pillars-top .section-desc {
  max-width: 500px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.pillar-card {
  background: var(--bg-light);
  padding: 50px 42px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 156, 0.06), transparent);
  opacity: 0;
  transition: var(--tr);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover {
  border-color: rgba(0, 212, 156, 0.25);
  box-shadow: var(--shadow);
}

.pillar-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 22px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(208, 249, 74, 0.15), rgba(0, 212, 156, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.pillar-card p {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.93rem;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 20px;
  transition: var(--tr);
}

.pillar-link:hover {
  gap: 10px;
  color: var(--teal-dark);
}

/* ===================== CTA ===================== */
/* Light section matching Humain's CTA */
#cta {
  padding: 130px 0;
  background: var(--bg-light);
  text-align: center;
}

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cta-big {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 42px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.cta-big span {
  color: var(--teal);
}

/* CTA lime button override */
#cta .btn-lime {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

/* ===================== FOOTER ===================== */
/* Clean minimal white footer like Humain */
#footer {
  background: var(--bg-white);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-body);
}

.footer-col ul li a:hover {
  color: var(--teal);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--tr);
}

.social-icon:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom-links a:hover {
  color: var(--teal);
}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1024px) {
  #header .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }

  #header.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.7);
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-shapes {
    display: none;
  }

  .hero-inner {
    margin-right: auto;
    padding-left: 0;
    max-width: 100%;
  }
}

@media(max-width:768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-slide {
    min-width: 300px;
  }

  .pillars-top {
    flex-direction: column;
  }
}

@media(max-width:540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-big {
    font-size: 2rem;
  }
}