/* ============================================================
   TRUECOS PHARMACEUTICALS — Global Stylesheet
   Brand Colors: #06ADA1 (teal) | #00A3E1 (blue) | #2B2B2A (dark)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --teal: #06ADA1;
  --blue: #00A3E1;
  --dark: #0f172a;
  --teal-dark: #059990;
  --blue-dark: #0087bc;
  --teal-light: #f0fbfb;
  --blue-light: #f0f9ff;
  --white: #ffffff;
  --off-white: #fafbfc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-400: #94a3b8;
  --grey-600: #475569;
  --gradient: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  --gradient-deep: linear-gradient(135deg, #059990 0%, #0087bc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(6, 173, 161, 0.05) 0%, rgba(0, 163, 225, 0.05) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
  --shadow-pill: 0 8px 24px rgba(0, 163, 225, 0.12);
  --radius: 20px;
  --radius-sm: 10px;
  --radius-lg: 32px;
  --radius-pill: 100px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.realistic-icon {
  width: 48px;
  height: 48px;
  transition: var(--transition);
  display: block;
}

.realistic-icon:hover {
  transform: scale(1.1) rotate(2deg);
}

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

html {
  font-size: 16px;
}

/* LENIS COMPATIBILITY */
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;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}


html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 200px;
  filter: brightness(0) invert(1);
  animation: logoPulse 1.5s ease infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 99px;
  animation: loadFill 2s ease forwards;
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 0.7
  }

  50% {
    opacity: 1
  }
}

@keyframes loadFill {
  0% {
    width: 0%
  }

  100% {
    width: 100%
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: transparent;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), border 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.navbar.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 173, 161, 0.1);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 36px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  transition: var(--transition);
  white-space: nowrap;
  backface-visibility: hidden;
}

.nav-link:not(.nav-cta):hover,
.nav-link:not(.nav-cta).active {
  color: var(--teal);
  background: var(--teal-light);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(6, 173, 161, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--gradient-deep) !important;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 8px 24px rgba(6, 173, 161, 0.4);
  color: var(--white) !important;
}

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

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

/* ============================================================
   HERO SECTION (Updated to Wellness Modern)
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  background: var(--white);
  text-align: center;
}

.hero-3d-wrap {
  position: absolute;
  inset: -50px;
  perspective: 1000px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-3d-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: blobFloating 15s infinite alternate-reverse ease-in-out;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--teal);
  top: -100px;
  left: -100px;
  transform: translateZ(-200px);
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -100px;
  right: -100px;
  transform: translateZ(-150px);
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px);
  opacity: 0.1;
}

.hero-3d-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(6, 173, 161, 0.08) 1px, transparent 0);
  background-size: 50px 50px;
  transform: rotateX(60deg) translateY(-200px) translateZ(-500px);
  opacity: 0.4;
}

@keyframes blobFloating {
  0% {
    transform: translateY(0) scale(1) translateZ(-100px) rotate(0deg);
  }

  33% {
    transform: translateY(-30px) scale(1.1) translateZ(-150px) rotate(10deg);
  }

  66% {
    transform: translateX(30px) translateY(20px) scale(0.9) translateZ(-200px) rotate(-10deg);
  }

  100% {
    transform: translateY(0) scale(1) translateZ(-100px) rotate(0deg);
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-product-teaser {
  position: absolute;
  z-index: 4;
  width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  animation: floatProduct 6s ease-in-out infinite;
}

.hero-product-teaser.left {
  left: -230px;
  top: 10%;
}

.hero-product-teaser.right {
  right: -230px;
  top: 15%;
  animation-delay: -3s;
}

@keyframes floatProduct {

  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-20px) rotate(-2deg);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--teal-light);
  border: 1px solid rgba(6, 173, 161, 0.2);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title span {
  color: var(--blue);
}

.hero-subtitle {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--grey-600);
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.pill-segments {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.8s both;
  width: 100%;
  max-width: 1000px;
}

.pill-button {
  flex: 1;
  background: var(--white);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-pill);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  min-width: 200px;
}

.pill-button:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 163, 225, 0.15);
  border-color: var(--blue);
}

.pill-btn-label {
  background: var(--dark);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.pill-btn-desc {
  font-size: 12px;
  color: var(--grey-400);
  line-height: 1.4;
  height: 34px;
}

.hero-stats {
  display: none;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  transition: var(--transition);
}

.hero-stat-card:hover {
  background: rgba(6, 173, 161, 0.15);
  border-color: rgba(6, 173, 161, 0.4);
  transform: translateX(-4px);
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-num span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(6px)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section {
  padding: 50px 24px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--grey-600);
  max-width: 600px;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.text-center .section-tag {
  justify-content: center;
}

/* WAVY BACKGROUND UTILITY */
.wave-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='1440' height='600' viewBox='0 0 1440 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 300C240 200 480 400 720 300C960 200 1200 400 1440 300V600H0V300Z' fill='%2306ADA1' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0d2240, #0a3350);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-overlay {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-img-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.about-img-text strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
}

.about-img-text span {
  font-size: 13px;
  color: var(--grey-600);
}

.about-content .section-subtitle {
  margin-bottom: 40px;
}

.about-mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.mv-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid rgba(6, 173, 161, 0.1);
}

.mv-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.mv-card p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--grey-600);
  font-weight: 500;
}

/* Decorative SVG/visual placeholder */
.visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-dna {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(6, 173, 161, 0.3);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-dna::before,
.visual-dna::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(0, 163, 225, 0.3);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
}

.visual-dna::before {
  width: 140px;
  height: 140px;
  animation-direction: reverse;
}

.visual-dna::after {
  width: 80px;
  height: 80px;
}

.dna-core {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 30px rgba(6, 173, 161, 0.6);
  animation: corePulse 2s ease infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

@keyframes corePulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 173, 161, 0.4)
  }

  50% {
    box-shadow: 0 0 50px rgba(6, 173, 161, 0.8)
  }
}

/* ============================================================
   STANDARDS SECTION (Flyby Style)
   ============================================================ */
.standards {
  background: var(--white);
  padding: 10px 24px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  margin-top: 80px;
}

.standard-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.standard-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  color: var(--dark);
}

.standard-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.2px;
}

/* ============================================================
   PRODUCTS SECTION — Premium 3D Blue Card Design
   ============================================================ */
.products {
  background: var(--white);
}

.products-intro {
  margin-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Card shell ───────────────────────────────── */
.product-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 48px rgba(6, 173, 161, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Per-card colour variants using Truecos palette */
.product-card:nth-child(1) {
  background: linear-gradient(145deg, #0287b8 0%, #06ADA1 100%);
}

.product-card:nth-child(2) {
  background: linear-gradient(145deg, #0571a0 0%, #00A3E1 100%);
}

.product-card:nth-child(3) {
  background: linear-gradient(145deg, #059990 0%, #10b981 100%);
}

.product-card:nth-child(4) {
  background: linear-gradient(145deg, #0460a0 0%, #06ADA1 100%);
}

.product-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 32px 72px rgba(6, 173, 161, 0.30), 0 8px 24px rgba(0, 0, 0, 0.10);
}

/* ── Radial glow blob in background ──────────── */
.product-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  bottom: -40px;
  right: -40px;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.product-card:hover::before {
  transform: scale(1.4);
}

/* ── Top text area ────────────────────────────── */
.product-card-top {
  padding: 32px 28px 0;
  flex: 1;
  position: relative;
  z-index: 2;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Floating icon zone ───────────────────────── */
.product-icon {
  width: 100%;
  flex-shrink: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.product-icon .realistic-icon {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-icon .realistic-icon {
  transform: translateY(-8px) scale(1.12) rotate(3deg);
}

/* ── Glassmorphism bottom bar ─────────────────── */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 2;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.product-card-badge .badge-count {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.product-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
  text-decoration: none;
}

.product-card-arrow:hover,
.product-card:hover .product-card-arrow {
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(3px);
}

/* Keep old selectors harmless (not used in new HTML) */
.product-count {
  display: none;
}

.product-count-label {
  display: none;
}

.product-link {
  display: none;
}

/* ── Responsive product grid ──────────────────── */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .product-card {
    min-height: 280px;
  }
}


/* ============================================================
   RESEARCH SECTION (Light Version)
   ============================================================ */
.research {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.research .section-tag {
  color: var(--teal);
}

.research .section-title {
  color: #0a3350;
}

.research .section-subtitle {
  color: var(--grey-600);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 64px;
}

.research-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.research-highlight {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.research-highlight:hover {
  background: var(--white);
  border-color: var(--teal);
  transform: translateX(8px);
}

.rh-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--teal);
}

.rh-content h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.rh-content p {
  font-size: 14px;
  color: rgb(14 0 0 / 72%);
  line-height: 1.6;
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.research-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.research-highlight {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}

.research-highlight:hover {
  background: rgba(6, 173, 161, 0.1);
  border-color: rgba(6, 173, 161, 0.3);
}

.rh-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.rh-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 6px;
}

.rh-content p {
  font-size: 14px;
  color: #0d2240;
  line-height: 1.6;
}

/* ── Research Visual v2 ── */
.research-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv2-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}

.rv2-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.rv2-card--accent-teal::before {
  background: var(--teal);
}

.rv2-card--accent-blue::before {
  background: var(--blue);
}

.rv2-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 6px;
}

.rv2-card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.rv2-card-desc {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.5;
}

.rv2-bar {
  margin-top: 12px;
  height: 4px;
  background: var(--grey-100);
  border-radius: 99px;
  overflow: hidden;
}

.rv2-bar-fill {
  height: 100%;
  border-radius: 99px;
}

.rv2-bar-fill--teal {
  background: var(--teal);
}

.rv2-bar-fill--blue {
  background: var(--blue);
}

.rv2-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rv2-mini {
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.rv2-mini-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey-400);
  margin-bottom: 4px;
}

.rv2-mini-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.rv2-mini-sub {
  font-size: 12px;
  color: var(--grey-600);
  margin-top: 4px;
}

.rv2-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv2-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
}

.rv2-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rv2-row-info {
  flex: 1;
}

.rv2-row-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.rv2-row-sub {
  font-size: 12px;
  color: var(--grey-600);
}

.rv2-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.rv2-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rv2-cert-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.rv2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rv2-dot--teal {
  background: var(--teal);
}

.rv2-dot--blue {
  background: var(--blue);
}

.rv2-dot--green {
  background: #10b981;
}

.rv2-dot--amber {
  background: #f59e0b;
}

/* ============================================================
   GLOBAL PRESENCE (Light Version)
   ============================================================ */
.global {
  background: var(--white);
}

.global-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.world-map-container {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  filter: saturate(0.8);
}

.global-regions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.region-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.region-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.region-flag {
  font-size: 28px;
}

.region-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.region-info p {
  font-size: 13px;
  color: var(--grey-600);
}

.region-count {
  margin-left: auto;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--teal);
}

/* ============================================================
   BUSINESS SEGMENTS
   ============================================================ */
.segments {
  background: var(--white);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.segment-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--transition);
}

.segment-card:hover {
  transform: translateY(-8px);
}

.segment-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.segment-card:nth-child(1) .segment-bg {
  background: linear-gradient(135deg, #0a1628, #0d3a5c);
}

.segment-card:nth-child(2) .segment-bg {
  background: linear-gradient(135deg, #063028, #06ADA1);
}

.segment-card:nth-child(3) .segment-bg {
  background: linear-gradient(135deg, #0a2040, #00A3E1);
}

.segment-card:nth-child(4) .segment-bg {
  background: linear-gradient(135deg, #1a0a28, #4a1a8c);
}

.segment-card:hover .segment-bg {
  filter: brightness(1.15);
}

.segment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}

.segment-content {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}

.segment-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.segment-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.segment-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.segment-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  margin-top: 16px;
  font-size: 16px;
  transition: var(--transition);
}

.segment-card:hover .segment-arrow {
  background: var(--teal);
  transform: translateX(4px);
}

/* ============================================================
   CAREERS (Light Version)
   ============================================================ */
.careers {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.careers::before {
  display: none;
}

.careers .container {
  position: relative;
  z-index: 1;
}

.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.careers .section-tag {
  color: var(--teal);
}

.careers .section-title {
  color: var(--dark);
}

.careers .section-subtitle {
  color: var(--grey-600);
}

.careers-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.perk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
}

.perk-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.perk-text strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 2px;
}

.perk-text span {
  font-size: 12px;
  color: var(--grey-600);
}

.careers-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.btn-white {
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.open-positions {
  font-size: 14px;
  color: var(--grey-600);
}

.open-positions strong {
  color: var(--teal);
  font-size: 24px;
  font-weight: 800;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news {
  background: var(--off-white);
}

.news-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.news-card:first-child .news-card-img {
  aspect-ratio: 16/10;
  font-size: 64px;
}

.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.news-card-body {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--dark);
}

.news-card:first-child h3 {
  font-size: 20px;
}

.news-card p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--grey-400);
}

.news-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--grey-200);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gradient);
  color: rgba(255, 255, 255, 0.9);
}

.footer-main {
  padding: 56px 48px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
}

.footer-brand .footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--teal);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  padding: 16px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 160px 48px 80px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2240 50%, #0a3350 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(6, 173, 161, 0.2) 0%, transparent 60%);
}

.product-header {
  padding: 200px 48px 120px;
  background: url('public/images/product_bg.png') center/cover no-repeat;
}

.product-header::before {
  background: rgba(10, 22, 40, 0.65);
}

.about-header {
  background: url('public/images/about_bg.png') center/cover no-repeat;
}

.about-header::before {
  background: rgba(255, 255, 255, 0.35);
}

.about-header .section-tag {
  color: var(--teal-dark);
}

.about-header h1 {
  color: var(--dark);
}

.about-header p {
  color: var(--grey-600);
}

.about-header .breadcrumb {
  color: #0a1628;
}

.about-header .breadcrumb a {
  color: var(--teal-dark);
}

.about-header .breadcrumb span {
  opacity: 0.7;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .section-tag {
  color: #7ee8e0;
}

.page-header h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: #0a3350b3;
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #0a1628;
  margin-top: 24px;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span {
  opacity: 0.4;
}

/* ============================================================
   REVEAL ANIMATIONS (Premium Scroll Effects)
   ============================================================ */
.reveal {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(10px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
  filter: blur(0);
}

/* Directional variants */
.reveal-up {
  transform: translateY(100px) scale(0.95);
}

.reveal-down {
  transform: translateY(-100px) scale(0.95);
}

.reveal-left {
  transform: translateX(100px) scale(0.95);
}

.reveal-right {
  transform: translateX(-100px) scale(0.95);
}

/* Default reveal is */
/* ============================================================
   MODERN PRODUCTS HERO (Redesigned)
   ============================================================ */
.hero {
  overflow: hidden;
}

.product-hero-modern {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 10% 20%, rgba(6, 173, 161, 0.08) 0%, rgba(255, 255, 255, 1) 90%);
  overflow: hidden;
  text-align: center;
}

.product-hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%2306ADA1' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.hero-asset {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
  animation: floatAsset 8s ease-in-out infinite;
}

.hero-asset-1 {
  width: 140px;
  left: 8%;
  top: 25%;
  animation-delay: 0s;
}

.hero-asset-2 {
  width: 180px;
  right: 10%;
  top: 40%;
  animation-delay: -3s;
}

.hero-asset-3 {
  width: 110px;
  right: 15%;
  top: 15%;
  animation-delay: -5s;
}

@keyframes floatAsset {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-search-container {
  max-width: 680px;
  margin: 30px auto;
  display: flex;
  background: var(--white);
  padding: 10px;
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(0, 163, 225, 0.08);
  border: 1px solid var(--grey-200);
  position: relative;
  z-index: 5;
}

.hero-search-category {
  padding: 0 24px;
  border-right: 1.5px solid var(--grey-200);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
}

.hero-search-input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: 15px;
  color: var(--grey-600);
  outline: none;
}

.hero-search-btn {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.hero-search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(6, 173, 161, 0.4);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}

.btn-hero {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-hero-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-hero-outline {
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--dark);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   CIRCULAR CATEGORIES (Modern Style)
   ============================================================ */
.popular-categories-label {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.popular-categories-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 48px;
}

.cat-circle-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cat-circle-item {
  text-align: center;
  transition: var(--transition);
}

.cat-circle-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.cat-circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.cat-circle-item:hover .cat-circle-img-wrap {
  border-color: var(--teal);
  box-shadow: 0 10px 25px rgba(6, 173, 161, 0.15);
  transform: translateY(-5px);
}

.cat-circle-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

@media (max-width: 1200px) {
  .cat-circle-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .cat-circle-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .cat-circle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   DAILY PRODUCTS GRID (Redesigned)
   ============================================================ */
.products-daily-header {
  margin-bottom: 60px;
}

.products-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.product-daily-card {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 48px 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 15px 35px -5px rgba(0, 0, 0, 0.04),
    0 5px 15px -2px rgba(0, 0, 0, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  /* To allow floating elements */
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-daily-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1), rgba(6, 173, 161, 0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.product-daily-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 30px 60px -15px rgba(6, 173, 161, 0.15),
    0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.product-daily-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 65% 35% 45% 55% / 60% 40% 60% 40%;
  background: var(--gradient-soft);
  margin-bottom: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.product-daily-card:hover .product-daily-img {
  border-radius: 35% 65% 55% 45% / 40% 60% 40% 60%;
  transform: rotate(3deg);
  background: var(--light-blue);
}

.product-daily-img img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.product-daily-card:hover .product-daily-img img {
  transform: scale(1.15) translateZ(20px);
  filter: drop-shadow(0 15px 30px rgba(6, 173, 161, 0.2));
}

.product-daily-tag {
  position: absolute;
  top: -12px;
  right: 32px;
  padding: 6px 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(6, 173, 161, 0.3);
  z-index: 5;
  transition: all 0.4s ease;
}

.product-daily-card:hover .product-daily-tag {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(6, 173, 161, 0.4);
}

.product-daily-name {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  transition: color 0.4s ease;
}

.product-daily-card:hover .product-daily-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-daily-card p {
  font-size: 14.5px;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 0px;
  transition: color 0.4s ease;
}

.product-daily-card:hover p {
  color: var(--dark);
}

/* No shop now buttons as requested */

.reveal:not(.reveal-down):not(.reveal-left):not(.reveal-right) {
  transform: translateY(100px) scale(0.95);
}

/* Staggered Delays (Premium) */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

.reveal-delay-7 {
  transition-delay: 0.7s;
}

.reveal-delay-8 {
  transition-delay: 0.8s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .products-daily-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .hero-stats {
    display: none;
  }

  @media (max-width: 768px) {
    .products-daily-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }

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

  .news-grid .news-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  section {
    padding: 48px 24px;
  }

  .navbar {
    padding: 0 24px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--grey-200);
    gap: 4px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .about-grid,
  .research-grid,
  .global-grid,
  .careers-inner,
  .ethics-grid,
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid,
  .products-daily-grid,
  .segments-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 48px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .about-mission-vision,
  .careers-perks {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {

  .products-grid,
  .products-daily-grid,
  .segments-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ============================================================ */
/* NEW SECTIONS: ETHICS & QUALITY (Added for Redesign)         */
/* ============================================================ */

.ethics-section,
.quality-section {
  padding: 50px 24px;
  overflow: hidden;
}

.ethics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.ethics-visual {
  padding-right: 60px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .ethics-visual {
    padding-right: 0;
    margin-top: 0;
  }
}

.ethics-content h2 {
  margin-bottom: 24px;
}

.ethics-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.ethics-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.ethics-item:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.ethics-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ethics-item h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
}

.ethics-item p {
  font-size: 14px;
  color: var(--grey-600);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.quality-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.quality-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.quality-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--dark);
}

.quality-card ul {
  list-style: none;
}

.quality-card ul li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 12px;
  line-height: 1.6;
}

.quality-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* ============================================================ */
/* PRODUCT CATEGORY GRID (Enhanced)                             */
/* ============================================================ */

.product-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.product-cat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.product-cat-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: scale(1.02);
  box-shadow: var(--shadow-sm);
}

.product-cat-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.product-cat-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.product-cat-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--grey-400);
  background: var(--grey-100);
  padding: 4px 8px;
  border-radius: 20px;
}

.product-cat-card:hover .product-cat-count {
  background: var(--teal);
  color: var(--white);
}

/* RESPONSIVE FIXES FOR NEW SECTIONS & GENERAL MOBILE COMPLETION */
@media (max-width: 1100px) {
  .hero-product-teaser {
    display: none;
  }

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

@media (max-width: 900px) {

  .ethics-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .ethics-visual {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .pill-segments {
    flex-direction: column;
    gap: 12px;
  }

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

  .products-intro,
  .news-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {

  .ethics-item,
  .perk-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .ethics-icon,
  .perk-icon {
    margin-bottom: 8px;
  }
}

/* ============================================================
   MEDICINE MODERN REDESIGN (Screenshot Matching)
   ============================================================ */

.product-hero-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 100px;
  background: var(--blue-light);
  background-image: url('public/images/products/hero_medicine_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.product-hero-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(240, 249, 255, 0.8), rgba(240, 249, 255, 0.4));
  z-index: 1;
}

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

.modern-hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
}

.search-container-modern {
  background: var(--white);
  border-radius: 100px;
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 650px;
  margin: 0 auto 32px;
  border: 1px solid var(--grey-200);
}

.category-select-modern {
  padding: 12px 24px;
  border-right: 1px solid var(--grey-200);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-modern {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  outline: none;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
}

.search-btn-modern {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--grey-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  border: none;
}

.hero-btns-modern {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-check-more {
  padding: 14px 32px;
  background: var(--dark);
  color: var(--white);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.btn-find-med {
  padding: 14px 32px;
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

/* Features Bar */
.features-bar-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--grey-200);
}

.feature-item-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.feature-icon-modern {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-text-modern h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text-modern p {
  font-size: 12px;
  color: var(--grey-400);
  line-height: 1.4;
}

/* Promo Banners */
.promo-section-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 48px 0;
}

.promo-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 24px;
}

.promo-content-modern {
  position: relative;
  z-index: 2;
  max-width: 140px;
}

.promo-content-modern h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--dark);
}

.promo-tag-modern {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

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

/* Popular Categories */
.popular-cats-modern {
  padding: 64px 0;
  background: var(--off-white);
}

.cat-scroll-modern {
  display: flex;
  gap: 32px;
  justify-content: center;
  padding-top: 40px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.cat-item-modern {
  text-align: center;
  min-width: 100px;
  cursor: pointer;
}

.cat-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
  margin: 0 auto 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cat-item-modern:hover .cat-img-wrap {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6, 173, 161, 0.15);
}

.cat-item-modern span {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-600);
}

/* Daily Products Grid */
.daily-products-modern {
  padding: 80px 0;
}

.product-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.modern-product-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.modern-product-card:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
}

.product-tag-modern {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #a3e635;
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

.product-img-modern {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: var(--transition);
}

.modern-product-card:hover .product-img-modern {
  transform: scale(1.05);
}

.product-info-modern h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-info-modern .price {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal);
}

@media(max-width: 1024px) {

  .features-bar-modern,
  .promo-section-modern,
  .product-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ── MOBILE RESPONSIVE FIXES ── */
@media (max-width: 768px) {

  .features-bar-modern,
  .promo-section-modern,
  .product-grid-modern {
    grid-template-columns: 1fr;
  }

  .modern-hero-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.2;
  }

  .hero-btns-modern,
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .btn-hero {
    width: 100% !important;
    text-align: center !important;
  }

  /* Search Bar Refinement */
  .hero-search-container {
    flex-direction: column !important;
    padding: 16px !important;
    border-radius: 24px !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 20px auto !important;
    height: auto !important;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .hero-search-category {
    border-right: none !important;
    border-bottom: 1.5px solid var(--grey-100);
    padding: 0 0 12px 0 !important;
    justify-content: center;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .hero-search-input {
    padding: 10px 0 !important;
    text-align: center;
    font-size: 14px;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
  }

  .hero-search-btn {
    width: 100% !important;
    border-radius: 14px !important;
    height: 48px !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
  }



}