/* ============================================
   BioNexus BD - Clean Design System v3.0
   Professional | Organized | Responsive
   ============================================ */

/* ==========================================
   1. CSS VARIABLES
   ========================================== */
:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #FAFCFB;
  --soft-mint: #F0FAF7;
  --light-sage: #E4F3ED;
  --pale-cyan: #E8F5F3;
  --light-gray: #F5F7F6;

  --deep-ocean: #0A1F2C;
  --ocean-dark: #0F2C3E;
  --ocean-mid: #1A3F54;
  --ocean-light: #2D5A73;
  --ocean-muted: #5A8A9F;

  --cyan-primary: #00BFA5;
  --cyan-dark: #009E88;
  --cyan-light: #4DD0B8;
  --green-bright: #76FF03;
  --green-lime: #A8FF78;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00BFA5 0%, #76FF03 100%);
  --gradient-dark: linear-gradient(135deg, #0A1F2C 0%, #1A3F54 100%);
  --gradient-section: linear-gradient(180deg, #F0FAF7 0%, #E8F5F3 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 31, 44, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 31, 44, 0.08);
  --shadow-lg: 0 8px 32px rgba(10, 31, 44, 0.1);
  --shadow-xl: 0 16px 48px rgba(10, 31, 44, 0.12);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 500;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ocean-dark);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ==========================================
   3. TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-ocean);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--text-lg);
  color: var(--ocean-mid);
  line-height: 1.8;
}

/* ==========================================
   4. LAYOUT - CONTAINER
   ========================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

/* Main content wrapper */
main,
#main-content {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-lg); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-xl); }
}

/* ==========================================
   5. SECTIONS
   ========================================== */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.section-alt {
  background: var(--soft-mint);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  padding: 0 var(--space-md);
  word-wrap: break-word;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header .lead {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* ==========================================
   6. GRID SYSTEM
   ========================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

@media (min-width: 480px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: var(--space-xl); }
}

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

/* ==========================================
   7. SPLIT LAYOUT (Two Column)
   ========================================== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

  .split-reverse {
    direction: rtl;
  }

  .split-reverse > * {
    direction: ltr;
  }
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

.split-content h2 {
  margin-bottom: var(--space-md);
}

.split-content .lead {
  margin-bottom: var(--space-lg);
}

/* ==========================================
   8. HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-md) 0;
  background: transparent;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--deep-ocean);
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

/* Desktop Nav */
.nav {
  display: none;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ocean-mid);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--deep-ocean);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--deep-ocean);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--light-sage);
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--soft-mint);
  color: var(--ocean-mid);
}

.mobile-nav-links {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ocean-mid);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--gradient-primary);
  color: var(--deep-ocean);
}

.mobile-nav-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--light-sage);
}

.mobile-nav-contact {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ocean-muted);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 44, 0.5);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

/* ==========================================
   9. BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--deep-ocean);
  box-shadow: 0 4px 20px rgba(0, 191, 165, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 191, 165, 0.4);
}

.btn-secondary {
  background: var(--deep-ocean);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--ocean-mid);
}

.btn-outline {
  background: transparent;
  color: var(--deep-ocean);
  border: 2px solid var(--deep-ocean);
}

.btn-outline:hover {
  background: var(--deep-ocean);
  color: var(--white);
}

/* Outline button on dark backgrounds */
.section-dark .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--deep-ocean);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

.btn-block {
  width: 100%;
}

/* ==========================================
   10. CARDS
   ========================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 191, 165, 0.1);
}

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

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-body {
  padding: var(--space-lg);
}

.card-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: var(--deep-ocean);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--ocean-muted);
  margin-bottom: var(--space-md);
}

/* ==========================================
   11. HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 250, 247, 0.9) 50%,
    rgba(232, 245, 243, 0.85) 100%
  );
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ocean-mid);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-primary);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-lg);
}

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

.hero-text {
  font-size: var(--text-lg);
  color: var(--ocean-mid);
  margin-bottom: var(--space-xl);
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Page Hero (Sub-pages) */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 250, 247, 0.92) 100%
  );
}

.page-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-title {
  margin-bottom: var(--space-md);
}

.page-hero-text {
  font-size: var(--text-lg);
  color: var(--ocean-mid);
}

/* ==========================================
   11b. HERO EXTRAS
   ========================================== */
.hero-description {
  font-size: var(--text-lg);
  color: var(--ocean-mid);
  margin-bottom: var(--space-xl);
  max-width: 550px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 10%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 5%;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--ocean-muted);
  animation: bounce 2s infinite;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,250,247,0.85) 100%);
  z-index: -1;
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   11c. STATS SECTION (Full Width)
   ========================================== */
.stats-section {
  position: relative;
  padding: var(--space-3xl) 0;
}

.stats-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,44,0.85) 0%, rgba(26,63,84,0.9) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stats-section .stat-number {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: var(--white);
}

.stats-section .stat-label {
  color: rgba(255,255,255,0.8);
}

/* ==========================================
   11d. PRODUCTS CAROUSEL
   ========================================== */
.products-carousel {
  position: relative;
}

.products-carousel .swiper {
  padding: var(--space-sm);
}

.products-carousel .swiper-slide {
  width: 320px;
  height: auto;
}

/* ==========================================
   11e. SECTION FOOTER
   ========================================== */
.section-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ==========================================
   11f. BENEFITS LIST
   ========================================== */
.benefits-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.benefits-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
}

.benefits-icon svg {
  fill: var(--deep-ocean);
}

/* ==========================================
   11g. SUSTAINABILITY STATS
   ========================================== */
.sustainability-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

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

.sustainability-stat .stat-number {
  font-size: var(--text-3xl);
}

/* ==========================================
   11h. APPLICATION PREVIEW CARDS
   ========================================== */
.application-preview-card {
  display: block;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4/3;
}

.application-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.application-preview-card:hover img {
  transform: scale(1.05);
}

.application-preview-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(10,31,44,0.8) 100%);
}

.application-preview-content h4 {
  color: var(--white);
  margin: 0;
}

/* ==========================================
   12. BENTO GRID
   ========================================== */
.bento-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
  }

  .bento-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.bento-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 200px;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-content {
  position: absolute;
  inset: 0;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 31, 44, 0.9) 100%
  );
  color: var(--white);
}

.bento-title {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.bento-text {
  font-size: var(--text-sm);
  opacity: 0.9;
}

/* ==========================================
   13. STATS
   ========================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--ocean-muted);
  font-weight: 500;
}

/* ==========================================
   13b. PRODUCTS GRID
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--space-xl);
}

/* ==========================================
   14. FILTER TABS
   ========================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ocean-mid);
  background: var(--white);
  border: 2px solid var(--light-sage);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--deep-ocean);
}

/* ==========================================
   15. TIMELINE
   ========================================== */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-sage);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) + 1px);
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: var(--deep-ocean);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.timeline-content h4 {
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  color: var(--ocean-muted);
}

/* ==========================================
   16. APPLICATION CARDS
   ========================================== */
.application-card {
  position: relative;
  min-height: 350px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.application-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.application-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

@media (min-width: 768px) {
  .application-card-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.85) 50%,
      transparent 100%
    );
  }
}

.application-card-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  max-width: 100%;
}

@media (min-width: 768px) {
  .application-card-content {
    max-width: 500px;
  }
}

.application-card-content h3 {
  margin-bottom: var(--space-md);
}

.application-card-content p {
  color: var(--ocean-muted);
  margin-bottom: var(--space-lg);
}

/* Feature List */
.feature-list {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--ocean-mid);
}

.feature-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature List Light (for dark backgrounds) */
.feature-list-light li {
  color: var(--ocean-light);
}

.feature-list-light .icon-check {
  fill: var(--cyan-light);
}

/* Feature Heading */
.feature-heading {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* ==========================================
   17. CONTACT LAYOUT
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 191, 165, 0.1);
}

.contact-form-card h3 {
  margin-bottom: var(--space-xl);
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-sage);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--deep-ocean);
}

.contact-info-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.contact-info-text {
  font-size: var(--text-sm);
  color: var(--ocean-muted);
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--cyan-primary);
}

.contact-info-text a:hover {
  text-decoration: underline;
}

/* ==========================================
   18. FORMS
   ========================================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ocean-mid);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--deep-ocean);
  background: var(--soft-mint);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan-primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ocean-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%231A3F54'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-2xl);
}

/* Floating Labels */
.form-floating {
  position: relative;
}

.form-floating .form-input,
.form-floating .form-textarea {
  padding-top: var(--space-lg);
}

.form-floating .form-label {
  position: absolute;
  top: 50%;
  left: var(--space-md);
  transform: translateY(-50%);
  margin: 0;
  transition: all var(--transition-fast);
  pointer-events: none;
  color: var(--ocean-muted);
}

.form-floating .form-textarea ~ .form-label {
  top: var(--space-lg);
  transform: none;
}

.form-floating .form-input:focus ~ .form-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-label,
.form-floating .form-textarea:focus ~ .form-label,
.form-floating .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: var(--space-sm);
  transform: none;
  font-size: var(--text-xs);
  color: var(--cyan-primary);
}

/* ==========================================
   19. FAQ
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-sage);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.faq-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--deep-ocean);
  flex-shrink: 0;
}

.faq-question h4 {
  flex: 1;
  margin: 0;
}

.faq-answer {
  padding-left: calc(28px + var(--space-md));
  margin-top: var(--space-sm);
  color: var(--ocean-muted);
}

/* ==========================================
   20. FOOTER
   ========================================== */
.footer {
  background: var(--deep-ocean);
  color: var(--white);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  margin-top: var(--space-md);
}

.footer-title {
  color: var(--white);
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--deep-ocean);
}

/* ==========================================
   21. ANIMATIONS (GSAP Ready)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

/* Animated state (GSAP adds this) */
.revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================
   22. UTILITIES
   ========================================== */
/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

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

/* Display */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Width */
.w-full { width: 100%; }

/* Visibility */
.hidden { display: none; }

@media (min-width: 768px) {
  .md-hidden { display: none; }
  .md-block { display: block; }
  .md-flex { display: flex; }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-md);
  background: var(--deep-ocean);
  color: var(--white);
  border-radius: var(--radius-md);
  z-index: 9999;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Icon Check */
.icon-check {
  width: 20px;
  height: 20px;
  fill: var(--cyan-primary);
}

/* Map Placeholder */
.map-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  color: var(--ocean-muted);
}

/* Office Card */
.office-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.office-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.office-card h4 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-lg);
}

.office-card p {
  color: var(--ocean-muted);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.office-card .card-badge {
  font-size: 0.65rem;
  padding: var(--space-xs) var(--space-sm);
}

/* Process Steps */
.process-step {
  text-align: center;
}

.process-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.process-step-number span {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step h4 {
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--ocean-muted);
  margin: 0;
}

/* Industry Card */
.industry-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-sage);
  transition: all var(--transition-base);
}

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

.industry-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-mint);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  color: var(--cyan-primary);
}

.industry-card svg {
  margin-bottom: var(--space-md);
  color: var(--cyan-primary);
}

.industry-card h4 {
  margin-bottom: var(--space-sm);
}

.industry-card p {
  color: var(--ocean-muted);
  margin-bottom: var(--space-md);
}

/* Mission/Vision Cards */
.mission-card {
  padding: var(--space-xl);
}

.mission-card h3 {
  margin-bottom: var(--space-md);
}

.mission-card p {
  color: var(--ocean-muted);
}

/* CTA Section */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-lg);
}

.cta-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ==========================================
   23. RESPONSIVE FIXES
   ========================================== */
@media (max-width: 767px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    min-height: auto;
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  }

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

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

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
  }
}

/* ==========================================
   24. FLOATING ACTION BUTTON (FAB)
   ========================================== */
.fab-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-lg);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.fab-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-base);
}

.fab-container.active .fab-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--deep-ocean);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.fab-option:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-xl);
}

.fab-option-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.fab-option-whatsapp .fab-option-icon {
  background: #25D366;
  color: var(--white);
}

.fab-option-phone .fab-option-icon {
  background: var(--cyan-primary);
  color: var(--white);
}

.fab-option-email .fab-option-icon {
  background: var(--ocean-mid);
  color: var(--white);
}

.fab-main {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 191, 165, 0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
}

.fab-main:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 191, 165, 0.5);
}

.fab-main svg {
  width: 28px;
  height: 28px;
  color: var(--deep-ocean);
  transition: transform var(--transition-base);
}

.fab-container.active .fab-main svg {
  transform: rotate(45deg);
}

/* FAB Pulse Animation */
.fab-main::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  opacity: 0.3;
  animation: fab-pulse 2s ease-in-out infinite;
}

@keyframes fab-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}

.fab-container.active .fab-main::before {
  animation: none;
  opacity: 0;
}

/* FAB Label Tooltip */
.fab-option span {
  display: none;
}

@media (min-width: 768px) {
  .fab-option span {
    display: inline;
  }
}

/* Mobile FAB adjustments */
@media (max-width: 767px) {
  .fab-container {
    bottom: var(--space-lg);
    right: var(--space-md);
  }

  .fab-main {
    width: 56px;
    height: 56px;
  }

  .fab-main svg {
    width: 24px;
    height: 24px;
  }

  .fab-option {
    padding: var(--space-sm);
  }

  .fab-option-icon {
    width: 44px;
    height: 44px;
  }
}

/* ==========================================
   25. PRINT STYLES
   ========================================== */
@media print {
  .header,
  .footer,
  .mobile-nav,
  .fab-container,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
