/* -----------------------------------------------------
   GLOBAL RESET & BASE
----------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Titillium Web";
  line-height: 1.6;
  background: #eaeaea;
  color: #000000;
}

/* Fluid container */
.container {
  width: min(90%, 70rem);
  margin-inline: auto;
  padding-block: 1.5rem;
  height: fit-content;
  position: relative;
  margin-bottom: 30px;
}

/* -----------------------------------------------------
   FLUID TYPOGRAPHY
----------------------------------------------------- */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 60ch;
}

/* -----------------------------------------------------
   HEADER SECTION
----------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  background: #eaeaea;
  z-index: 100;
  width: 100%;
}

/* Two rows: 1) Logo, 2) Menu + Toggle */
.header-inner {
  display: grid;
  grid-template-rows: auto auto;
  width: min(90%, 130rem);
  margin-inline: auto;
  padding-block: 0.5rem 1rem;
  /* row-gap: 0.8rem; */
}

/* Row 1 → Logo */
.logo {
  display: flex;
  justify-content: left;
  height: auto;
}

.logo img {
  width: clamp(300px, 20vw, 350px);
  /* height: auto; */
  display: block;
  margin-right: 10px;
}

/* Row 2 → Menu + Toggle + Hamburger in one line */
.menu-row {
  display: flex;
  justify-content: space-between; /* menu left, toggle right */
  align-items: center;
  width: 100%;
}

/* Menu left side */
.menu {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.menu a {
  text-decoration: none;
  color: #000000;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  transition: 0.25s ease;
}

.menu a:hover {
  color: #0075ff;
}

/* ---------------------------
   DARK MODE TOGGLE (Right)
----------------------------*/
.theme-toggle {
  /* display: flex; */
  display: none;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.theme-toggle span {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: #222;
  transition: color 0.25s ease;
}

.toggle-switch {
  width: 55px;
  height: 28px;
  background: #ddd;
  border-radius: 50px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transition: background 0.25s ease;
}

.toggle-circle {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  transition:
    left 0.25s ease,
    background 0.25s ease;
}

/* Dark mode active states */
.dark-mode .toggle-switch {
  background: #4caf50;
}

.dark-mode .toggle-circle {
  left: 30px;
}

/* Page-level dark styling */
body.dark-mode {
  background: #0d0d0d;
  color: #cfcfcf !important;
}

.dark-mode .site-header {
  background: #111;
  border-bottom: 1px solid #222;
}

.dark-mode .menu a {
  color: #eee;
}

.dark-mode .theme-toggle span {
  color: #f5f5f5;
}

.dark-mode .card,
.dark-mode .feature,
.dark-mode .metric-box {
  background: #1a1a1a;
  box-shadow: none;
}

.dark-mode .btn:hover {
  background: #fff;
  color: #000;
}

/* ---------------------------
   HAMBURGER MENU
-----------------------------*/
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #222;
  transition: 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

.mobile-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #0075ff;
}

/* ===============================
   HEADER SCROLL TRANSFORMATION
================================ */

/* Smooth animation */
.site-header,
.header-inner,
.logo img,
.menu-row {
  transition: all 0.3s ease;
}

/* SCROLLED STATE */
.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Convert 2-row layout → single row */
.site-header.scrolled .header-inner {
  grid-template-rows: auto;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding-block: 0.5rem;
}

/* Move menu-row next to logo */
.site-header.scrolled .menu-row {
  justify-content: flex-start;
  /* gap: 17rem;
  padding-left: 180px; */
  margin-left: clamp(3rem, 12vw, 28rem);
  gap: clamp(2rem, 17vw, 45rem);
}

/* Slightly smaller logo on scroll */
.site-header.scrolled .logo img {
  width: clamp(250px, 20vw, 200px);
}

/* Optional: tighten menu spacing */
.site-header.scrolled .menu {
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

/* -----------------------------------------------------
   HERO SECTION
----------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  align-items: center;
  padding: 250px 50px 30px;
  overflow: hidden;
  gap: 2rem;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 80vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

/* Common ellipse styles */
.ellipse {
  position: absolute;
  max-width: none;
}

/* Individual placement */
.ellipse-top {
  top: -15%;
  left: 50%;
  width: 120%;
  transform: translateX(-50%);
}

.ellipse-bottom {
  bottom: -20%;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
}

.hero-content h2 {
  font-size: 28px;
  font-weight: 600;
  max-width: 480px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.hero-buttons {
  padding: 12px 24px;
  font-size: 13px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  border: 2px solid #000000;
}

.hero-buttons.primary:hover {
  background: #050505;
  color: #fff;
}
.hero-buttons.outline:hover {
  background: #050505;
  color: #fff;
}

.hero-buttons.primary,
.hero-buttons.outline {
  background: transparent;
}

/* ================= TAG CLOUD ================= */
.hero-side {
  position: relative;
  height: 360px;
  width: 100%;
  /* overflow: hidden; */
}

/* =========================
   BACKGROUND IMAGES
========================= */
.hero-side::before,
.hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: contain; /* change to cover if needed */
  background-position: center;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* default background */
.hero-side::before {
  background-image: url("/assets/images/bulb.png");
  opacity: 1;
  background-position: 55% center;
}

/* hover background */
.hero-side::after {
  background-image: url("/assets/images/bulb1.png");
  opacity: 0;
  background-position: 55% center;
  .bulb-image {
    width: 293.015px;
    height: 524.879px;
    transform: rotate(7.33deg);
    object-fit: contain;

    filter: drop-shadow(0 0 40px rgba(255, 220, 120, 0.6))
      drop-shadow(0 0 80px rgba(255, 220, 120, 0.35));
  }
}

/* hover switch */
.hero-side:hover::before {
  opacity: 0;
}

.hero-side:hover::after {
  opacity: 1;
}

/* =========================
   TAG STYLES
========================= */
.tag {
  position: absolute;
  font-size: 16px;
  padding: 10px 18px;
  color: #fff;
  white-space: nowrap;
  border-radius: 10px;
  border: 1px solid #fff;

  background:
    linear-gradient(
      143deg,
      rgba(255, 255, 255, 0.3) -3.54%,
      rgba(163, 163, 163, 0.34) 95.15%
    ),
    rgba(3, 76, 46, 0.4);

  display: flex;
  align-items: center;
  gap: 8px;

  z-index: 1; /* keep tags above background */
}

/* icon inside tag */
.tag img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =========================
   TAG POSITIONS
========================= */
.tag:nth-child(1) {
  top: 60px;
  left: 10%;
}
.tag:nth-child(2) {
  top: 55px;
  right: 3%;
}
.tag:nth-child(3) {
  top: 47%;
  right: 3%;
}
.tag:nth-child(4) {
  bottom: 40%;
  left: 7%;
}
.tag:nth-child(5) {
  bottom: 10%;
  right: 3%;
}
.tag:nth-child(6) {
  bottom: 10%;
  left: 13%;
}
.tag:nth-child(7) {
  bottom: 360px;
  right: 32%;
}

/* ================= METRICS ================= */
.metrics {
  padding: 60px 0 10px;
}

.metric-box.single {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 40px 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.left-side {
  border-right: 1px solid #e5e5e5;
  padding-right: 40px;
}

.left-side h2 {
  font-size: 80px;
  color: #2ea44f;
  margin-bottom: 6px;
  font-weight: 600;
}

.left-side p {
  font-size: 20px;
  color: #000000;
  font-weight: 400;
  padding-left: 30px;
}

.right-side {
  max-width: 100%;
}
.right-side p {
  font-size: 20px;
  color: #000000;
  line-height: 1.2;
  padding-left: 40px;
  max-width: 100%;
}

/* -----------------------------------------------------
   CARDS – AUTO-FLOW GRID
----------------------------------------------------- */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.card {
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* -----------------------------------------------------
   FEATURES – RESPONSIVE GRID
----------------------------------------------------- */
.features {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
}

.feature {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
.site-footer {
  text-align: center;
  padding-block: 3rem;
  color: #666;
}

/* -----------------------------------------------------
   NEW SECTIONS FOR MERGED CONTENT
----------------------------------------------------- */
.news-highlights h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
  font-weight: 700;
  color: #111;
  text-align: left; /* left align section title */
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left align content */
  text-align: left; /* left align text */
  padding: 20px; /* padding on all sides */
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: flex-start; /* align header items left */
}

.avatar {
  width: 42px;
  height: 42px;
  background: black;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-info {
  flex-grow: 1;
}

.username {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
}

.handle {
  font-size: 0.9rem;
  color: #555;
}

.more-dots {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.4rem;
  color: #888;
  user-select: none;
}

.card-text {
  padding: 16px 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
}

.card-image img {
  width: 250px; /* image size */
  height: 250px;
  object-fit: contain;
  margin: -25px 0;
}

.card-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-start; /* align buttons left */
  padding: 10px 0;
}

.card-actions button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.2s ease;
}

.card-actions button img {
  width: 24px; /* button image size */
  height: 24px;
}

.card-actions button:hover {
  transform: scale(1.2); /* subtle hover effect */
}

/* WHAT MAKES US DIFFERENT */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  margin-top: 50px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 49px 60px 60px 60px;
  height: 359px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 -2px 10px 0 rgba(255, 255, 255, 0.3),
    0 0.5px 0 0 rgba(255, 255, 255, 0.5) inset;
  flex-shrink: 0;
  align-self: stretch;
  background-color: #ffffff;
}

.feature-card img {
  width: 60px; /* adjust as needed */
  height: 60px;
  object-fit: contain;
}

.feature-card h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
  color: #111;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: #0075ff;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.25s ease;
}

.read-more:hover {
  color: #37ad41;
}

/* ================================
   MARQUEE INVESTMENTS - LOGO ROW
================================ */

.logo-marquee {
  overflow: hidden;
  margin-top: 2rem;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; /* IMPORTANT */
  will-change: transform;
  gap: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-shrink: 0;
  width: 400px;
  height: 283px;
  padding: 12px;
  margin-right: 2rem; /* gap moved here */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  perspective: 1000px;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  /* margin-bottom: 8px; */
}

.logo-header .icon {
  width: 24px;
  height: 24px;
}

.logo-header .logo-title {
  font-weight: 600;
  font-size: 1.5rem;
}

.logo-box .main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ================================
   FLIP WITHOUT CHANGING BOX DESIGN
================================ */

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.logo-box:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 12px; /* same as logo-box */
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: transparent;
}

.flip-back {
  transform: rotateY(180deg);
  background: #fff; /* SAME as box */
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ===== MARQUEE INVESTMENT ARROWS ===== */
.section {
  position: relative;
}

.investment-controls {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.investment-arrow {
  pointer-events: all;
  background: #000;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s ease;
}

.investment-arrow:hover {
  background: #444;
}

/* ====== BUZZING BRANDS ========= */

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

.brand-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  position: relative;
}

.brand-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

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

.brand-set {
  display: flex;
  width: 50%;
  flex-shrink: 0;
}

/* @keyframes scroll-brands {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
} */

.brand-box {
  width: 20rem;
  height: 26rem; /* 🔑 prevents collapse */
  margin: 0 0.5rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.brad-flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.brand-box:hover .brad-flip-inner {
  transform: rotateY(180deg);
}

.brad-flip-front,
.brad-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  /* background: #fff; */
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}

.brad-flip-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brad-flip-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}

.brand-box img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 0.8rem;
}

.brand-controls {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.brand-arrow {
  pointer-events: all;
  background: #000;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s ease;
}

.brand-arrow:hover {
  background: #444;
}

/* ================================
   ACCESSIBILITY
================================ */

@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }
}

/* OUR EXPERTISE */
.expertise-card-box {
  display: flex;
  padding: 3rem;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 1px 10px 0 rgba(113, 191, 68, 0.4),
    0 -2px 40px 0 rgba(63, 127, 82, 0.3),
    0 0.5px 0 0 rgba(255, 255, 255, 0.5) inset;
  margin-top: 50px;
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* text left, image right */
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.expertise-text h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.expertise-text p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

/* .expertise-image {
  display: flex;
  justify-content: center;
  align-items: center;
} */

.expertise-image img {
  width: 100%; /* smaller width */
  height: 100%; /* maintain aspect ratio */
  object-fit: contain;
  border-radius: 12px;
  padding-left: 70px;
}
.expertise-image:hover {
  cursor: pointer;
}

/* FOUNDER QUOTE */
/* ==========================
   CAROUSEL WRAPPER
========================== */
.founder-quote-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5rem;
  padding-block: 2rem;
  padding-inline: 1rem;
  flex-wrap: wrap;
}

/* LEFT SECTION */
.founder-left {
  text-align: left;
  flex: 1.3;
}

.quote-author {
  font-style: normal;
  font-weight: 600;
  color: #000000;
  font-size: 3rem;
  line-height: normal;
  letter-spacing: -2px;
}

/* RIGHT SECTION CAROUSEL */
.founder-carousel {
  position: relative;
  flex: 3;
  overflow: hidden;
}

.founder-carousel-track {
  position: relative;
  width: 100%;
}

/* SLIDES */
.founder-right {
  position: relative;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 2rem;
  box-sizing: border-box;
  transition: opacity 0.5s ease;
}

.founder-right.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* TEXT QUOTES */
.founder-quote {
  font-size: clamp(1rem, 1.5rem, 1.9rem);
  text-align: left;
  color: #000;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -1px;
}

/* FOUNDER INFO */
.founder-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.founder-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
}

.founder-info p {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0;
}

/* ==========================
   FOUNDER VIDEO WRAPPER
========================== */
.founder-video-wrapper {
  width: 100%;
  height: 0; /* create aspect-ratio box */
  padding-top: 56.25%; /* 16:9 ratio -> 9/16 = 56.25% */
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

/* Video inside wrapper */
.founder-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill container, maintain ratio */
  border-radius: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.founder-video-wrapper video:hover {
  transform: scale(1.02);
  cursor: pointer;
}

/* ==========================
   CAROUSEL CONTROLS
========================== */
.founder-controls {
  display: flex;
  justify-content: start;
  gap: 1rem;
  margin-top: 1rem;
}

.founder-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.founder-arrow:hover {
  background: #444;
}

/* ==========================
   VIDEO MODAL
========================== */
.founder-video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.founder-video-modal.active {
  display: block;
}

.founder-video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.founder-video-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 5% auto;
  z-index: 2;
}

.founder-video-modal video {
  width: 100%;
  border-radius: 10px;
  background: #000;
}

.founder-video-close {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* --------------------------
   FOOTER MAIN
   ------------------------*/
.nv-footer {
  background: #000;
  color: white;
  padding-top: 3.8rem;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  flex-wrap: wrap;
  width: min(95%, 97rem);
  margin-inline: auto;
}

/* Common section style */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 150px;
}

/* Left Section */
.footer-left img.footer-logo {
  width: 200px;
  height: auto;
  display: block;
  cursor: pointer;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-social a {
  display: inline-block;
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-social img:hover {
  transform: translateY(-4px);
}

/* Links */
.footer-links h4 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

/* Contact */
.footer-contact h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-contact p {
  line-height: 1.4;
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.8rem 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #f5f1f1;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.footer-section h4 {
  color: #469e79; /* your desired color */
}

/*RESPONSIVENESS*/
@media (min-width: 1624px) {
  .site-header.scrolled .menu-row {
    gap: clamp(2rem, 35vw, 45rem);
  }
}

@media (min-width: 1450px) and (max-width: 1600px) {
  .site-header.scrolled .menu-row {
    gap: clamp(2rem, 25vw, 45rem);
  }
}

@media (min-width: 1450px) {
  .container {
    width: min(95%, 97rem);
  }

  .header-inner {
    width: min(85%, 150rem);
  }
  .hero-bg {
    width: 65vw;
  }

  .hero {
    padding: 220px 35px 50px 35px;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-content h2 {
    font-size: 45px;
    max-width: 655px;
  }

  .hero-content p {
    font-size: 20px;
    max-width: 655px;
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-buttons {
    padding: 16px 32px;
    font-size: 18px;
  }

  .tag {
    font-size: 18px;
    padding: 12px 20px;
  }

  .tag.tag:nth-child(7){
    bottom: 445px;
  }

  .brand-controls{
    width: 95%;
  }

  .investment-controls{
    width:95%;
  }

  .hero-side {
    height: 450px;
  }

  .metric-box.single {
    padding: 50px 60px;
    grid-template-columns: 320px 1fr;
  }

  .left-side h2 {
    font-size: 80px;
  }

  .left-side p {
    font-size: 20px;
  }

  .right-side p {
    font-size: 25px;
    padding-left: 50px;
    line-height: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
  }

  .news-card {
    padding: 25px;
  }

  .card-image img {
    width: 280px;
    height: 280px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    padding: 60px 70px 70px 70px;
    height: 400px;
  }

  .logo-marquee {
    width: min(95%, 90rem);
  }

  .logo-box {
    width: 450px;
    height: 320px;
    padding: 15px;
  }

  .brand-marquee {
    width: min(95%, 90rem);
  }

  .brand-box {
    width: 25rem;
  }

  .expertise-card-box {
    padding: 4rem;
  }

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

  .expertise-image img {
    width: 100%;
    padding-right: 50px;
  }

  .footer-content {
    /* width: 85%; */
    gap: 3rem;
  }

  .footer-left img.footer-logo {
    width: 200px;
  }

  .footer-social img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 991px) {
  .left-side {
    border-right: none;
    padding-right: 0;
    margin-bottom: 15px;
  }

  .right-side p {
    padding-left: 0;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    height: 440px;
  }

  .logo-box {
    width: 350px;
    height: 250px;
  }

  .brand-box {
    width: 20rem;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  /* Tablet adjustments */
  .hero {
    padding: 160px 40px 20px 40px;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-side {
    height: 355px;
  }

  .metric-box.single {
    grid-template-columns: 1fr;
  }

  .left-side {
    border-right: none;
    padding-right: 100px0;
    display: contents;
  }

  .right-side p {
    padding-left: 0;
  }
  .hero-content p {
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .expertise-content {
    grid-template-columns: 1fr;
  }

  .expertise-image {
    margin-top: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
  }

  .menu {
    display: none;
  }

  .theme-toggle {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero adjustments */
  /* .hero {
    padding: 150px 20px 30px 20px;
    gap: 30px;
  } */

  .hero-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .tag {
    font-size: 14px;
    padding: 8px 14px;
  }

  /* Metrics adjustments */
  .metric-box.single {
    padding: 30px 20px;
  }

  .left-side h2 {
    font-size: 36px;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  /* Features */
  .feature {
    padding: 1rem;
  }

  /* News highlights */
  .news-highlights h3 {
    font-size: 1.8rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-card {
    padding: 15px;
  }

  .card-image img {
    width: 200px;
    height: 200px;
  }

  /* Feature grid */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 30px 30px 30px 30px;
    height: auto;
  }

  /* Marquee */
  .logo-marquee {
    margin: 1rem auto 0;
  }

  .logo-box {
    width: 300px;
    height: 200px;
    padding: 10px;
  }

  .brand-marquee {
    margin-top: 1rem;
  }

  .brand-box {
    width: 18rem;
  }

  /* Expertise */
  .expertise-card-box {
    padding: 2rem;
  }

  .expertise-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .expertise-image img {
    width: 70%;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
    align-items: center;
  }

  .footer-section {
    min-width: auto;
  }

  .footer-left img.footer-logo {
    width: 250px;
  }

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

  .footer-left,
  .footer-links,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .hero {
    background-position:
      top -40px right -60px,
      bottom -80px left -80px,
      center;
  }
}

@media (max-width: 500px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .menu {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .metrics {
    padding: 30px 0 10px;
  }
}

/* ===========================
   FOUNDER CAROUSEL RESPONSIVE UPDATES
=========================== */
@media (min-width: 1450px) {
  .founder-quote-wrapper {
    gap: 6rem;
    padding-inline: 2rem;
  }
  .quote-author {
    font-size: 3.5rem;
  }
  .founder-quote {
    font-size: 1.6rem;
  }
  .founder-info img {
    width: 80px;
    height: 80px;
  }
  .founder-video-wrapper {
    max-width: 900px;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 1024px) {
  .founder-quote-wrapper {
    gap: 2rem;
    height: auto;
  }

  .founder-carousel {
    max-height: 550px;
  }

  /* Show only active slide */
  .founder-carousel-track {
    display: block;
  }

  .founder-right {
    display: none; /* hide all slides */
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
  }

  .founder-right.active {
    display: flex; /* show only active slide */
    opacity: 1;
    visibility: visible;
  }

  .founder-video-wrapper {
    max-width: 400px;
    width: 100%;
    aspect-ratio: 16/9;
  }

  .video-click-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .founder-quote-wrapper {
    gap: 3rem;
    padding-inline: 1rem;
    text-align: center;
  }

  .founder-quote {
    font-size: 1.3rem;
  }

  .quote-author {
    font-size: 2.5rem;
  }

  .founder-info img {
    width: 70px;
    height: 70px;
  }

  .founder-carousel-track {
    display: block;
  }

  .founder-right {
    display: none;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
  }

  .founder-right.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .founder-video-wrapper {
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .video-click-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .founder-quote-wrapper {
    gap: 2rem;
    padding-inline: 1rem;
    text-align: center;
  }

  .quote-author {
    font-size: 2rem;
  }

  .founder-quote {
    font-size: 1.2rem;
  }

  .founder-info img {
    width: 60px;
    height: 60px;
  }

  .founder-carousel-track {
    display: block;
  }

  .founder-right {
    display: none;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
  }

  .founder-right.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .founder-video-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .video-click-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .founder-left,
  .founder-right {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .founder-quote-wrapper {
    gap: 1.5rem;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .quote-author {
    font-size: 1.8rem;
  }

  .founder-quote {
    font-size: 1rem;
  }

  .founder-info img {
    width: 50px;
    height: 50px;
  }

  .founder-carousel-track {
    display: block;
  }

  .founder-right {
    display: none;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
  }

  .founder-right.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .founder-video-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .video-click-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .founder-left,
  .founder-right {
    text-align: center;
  }
}