/* ============================================
   INSULA BIOMEDICAL — Main Stylesheet
   White Theme with Parallax Backdrop
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);

  /* Text */
  --text-primary: #1a1a2e;
  --text-secondary: #555770;
  --text-muted: #8b8da3;

  /* Accents */
  --accent-primary: #0e5a82;
  --accent-secondary: #1a8bb3;
  --accent-gradient: linear-gradient(135deg, #0a3d5c, #1a8bb3);

  /* Borders & Glows */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(14, 90, 130, 0.3);
  --glow-accent: rgba(14, 90, 130, 0.12);
  --glow-strong: rgba(14, 90, 130, 0.2);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --section-padding: 140px;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: url('../images/backdrop.jpeg') center top / cover no-repeat fixed;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  max-width: 65ch;
  line-height: 1.7;
}

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

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.section-alt {
  background: rgba(245, 247, 250, 0.92);
}

.section-pretitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-3xl);
}

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

.section-header-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-default);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border: none;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--glow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(14, 90, 130, 0.05);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-arrow::after {
  content: '→';
  margin-left: 4px;
  transition: var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: none;
  box-shadow: 0 0 10px rgba(14, 90, 130, 0.4);
}

/* ---------- SCROLL-TRIGGERED REVEALS ---------- */
.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-clip.revealed {
  clip-path: inset(0 0% 0 0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px) rotateY(5deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-left.revealed {
  opacity: 1;
  transform: translateX(0) rotateY(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px) rotateY(-5deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-right.revealed {
  opacity: 1;
  transform: translateX(0) rotateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8) rotateX(10deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) rotateX(0);
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-5deg) translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-rotate.revealed {
  opacity: 1;
  transform: rotate(0) translateY(0);
}

/* Text highlight scroll animation */
.highlight-scroll {
  background-size: 0% 100%;
  background-image: linear-gradient(135deg, rgba(14, 90, 130, 0.12), rgba(26, 139, 179, 0.12));
  background-repeat: no-repeat;
  transition: background-size 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 4px;
  margin: 0 -4px;
}

.highlight-scroll.revealed {
  background-size: 100% 100%;
}

/* Icon spin-in */
.icon-spin-in {
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-spin-in.revealed {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-default);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

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

.navbar-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.navbar-logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
}

.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-default);
}

.navbar-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px var(--glow-accent);
}

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-default);
  border-radius: 1px;
}

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

.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Nav */
.navbar-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
}

.navbar-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.navbar-mobile a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-default);
}

.navbar-mobile a:hover {
  color: var(--accent-primary);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: #1a8bb3;
  top: -10%;
  right: -5%;
  opacity: 0.15;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #0a3d5c;
  bottom: -10%;
  left: -5%;
  opacity: 0.1;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #4dc0e8;
  top: 40%;
  left: 30%;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) 0;
  text-align: center;
}

.hero-content .btn-group {
  justify-content: center;
}

.hero-pretitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-pretitle::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-primary);
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 580px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(245, 247, 250, 0.92);
  overflow: hidden;
}

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

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

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number .suffix {
  font-size: 0.6em;
  color: var(--accent-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- FEATURE CARDS (Activities) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  perspective: 1000px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.feature-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(14, 90, 130, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
}

.feature-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.feature-card-icon svg,
.feature-card-icon i {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- ABOUT / MISSION SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  perspective: 800px;
}

.value-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.value-badge:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 12px 30px rgba(14, 90, 130, 0.08);
}

.value-badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.value-badge-icon svg {
  width: 20px;
  height: 20px;
}

.value-badge h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- TABS SECTION ---------- */
.tabs-nav {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-subtle);
}

.tab-btn {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-default);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.tab-list-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-default);
}

.tab-list-item:hover {
  border-color: var(--border-hover);
}

.tab-list-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  flex-shrink: 0;
}

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

.tab-list-content h4 {
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.tab-list-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- MARQUEE / TICKER ---------- */
.marquee-section {
  padding: var(--space-3xl) 0;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  padding: var(--space-md) 0;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-default);
}

.marquee-item:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.marquee-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
}

/* ---------- PARTNERS / CTA SECTION ---------- */
.partners-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partners-constellation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.partner-badge:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px var(--glow-accent);
  transform: translateY(-6px) rotateX(5deg) scale(1.05);
}

.partner-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

/* ---------- FINAL CTA ---------- */
.cta-hero {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/pattern-bg.svg') center/cover no-repeat;
  opacity: 0.04;
}

.cta-hero .section-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.cta-hero .btn-group {
  justify-content: center;
}

/* ---------- FAQ / ACCORDION ---------- */
.faq-section .section-header {
  text-align: center;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
  padding: var(--space-lg) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-default);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}

.accordion-header:hover {
  color: var(--accent-primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-content p {
  padding-bottom: var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(245, 247, 250, 0.95);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo img {
  height: 32px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.footer-logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

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

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: var(--transition-default);
}

.footer-social a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(14, 90, 130, 0.05);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ---------- PAGE HEADER (Inner pages) ---------- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: rgba(245, 247, 250, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--text-secondary);
}

.page-header .breadcrumb a:hover {
  color: var(--accent-primary);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-item a {
  color: var(--text-secondary);
}

.contact-item a:hover {
  color: var(--accent-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-default);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--glow-accent);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option {
  background: #ffffff;
  color: var(--text-primary);
}

.form-submit {
  margin-top: var(--space-lg);
}

/* ---------- PRODUCTS PAGE ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-default);
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: var(--text-primary);
  border-color: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  perspective: 1200px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-2deg) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px rgba(14, 90, 130, 0.1), 0 10px 20px rgba(0, 0, 0, 0.06);
}

.product-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14, 90, 130, 0.08);
  color: var(--accent-primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.product-card-badge.new {
  background: rgba(26, 139, 179, 0.1);
  color: var(--accent-secondary);
}

.product-card-badge.popular {
  background: rgba(200, 130, 0, 0.1);
  color: #b07800;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.product-card-icon svg {
  width: 24px;
  height: 24px;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.product-card-sku {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.product-card .btn-sm {
  width: 100%;
  justify-content: center;
}

/* ---------- SERVICES PAGE ---------- */
.services-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-4xl);
  perspective: 1000px;
}

.service-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.service-overview-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px) rotateX(4deg) scale(1.03);
  box-shadow: 0 18px 40px rgba(14, 90, 130, 0.1);
}

.service-overview-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  margin: 0 auto var(--space-md);
}

.service-overview-card h4 {
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  margin-bottom: var(--space-lg);
}

.service-products-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-products-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-products-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-default);
}

.process-step:hover {
  border-color: var(--border-hover);
}

.process-step-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

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

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 auto;
}

/* ---------- ABOUT PAGE ---------- */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-logo {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  padding: var(--space-xl);
}

.story-logo img {
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-default);
}

.timeline-item:hover {
  border-color: var(--border-hover);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  white-space: nowrap;
  min-width: 60px;
}

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

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  perspective: 1000px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.mission-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 18px 40px rgba(14, 90, 130, 0.1);
}

.mission-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 90, 130, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  margin: 0 auto var(--space-md);
}

.mission-card-icon svg {
  width: 28px;
  height: 28px;
}

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

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 auto;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  perspective: 1000px;
}

.core-value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.core-value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px) rotateX(3deg) rotateY(-1deg);
  box-shadow: 0 15px 35px rgba(14, 90, 130, 0.08);
}

.core-value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: var(--space-md);
}

.core-value-icon svg {
  width: 24px;
  height: 24px;
}

.core-value-card h4 {
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

.core-value-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- MAP PLACEHOLDER ---------- */
.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.map-placeholder-inner {
  text-align: center;
  color: var(--text-muted);
}

.map-placeholder-inner svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.map-placeholder-inner p {
  font-size: 0.9rem;
  margin: 0 auto;
}

.map-placeholder-inner .sub {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: var(--space-xs);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .navbar-links {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

  .hero-content {
    padding: var(--space-3xl) 0;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero-scroll {
    display: none;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

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

  .services-overview {
    grid-template-columns: 1fr;
  }

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

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

  .core-values-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    justify-content: center;
  }

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

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

  .stat-item::after {
    display: none !important;
  }

  .filter-tabs {
    justify-content: center;
  }
}

/* ---------- 3D EFFECTS ---------- */

/* Glossy shine overlay on card hover */
.feature-card::after,
.product-card::after,
.mission-card::after,
.service-overview-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.feature-card:hover::after,
.product-card:hover::after,
.mission-card:hover::after,
.service-overview-card:hover::after {
  left: 100%;
}

/* 3D stat numbers */
.stat-number {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(14, 90, 130, 0.06);
}

/* 3D button depth */
.btn-primary {
  box-shadow: 0 4px 15px rgba(14, 90, 130, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(14, 90, 130, 0.3), 0 4px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(14, 90, 130, 0.2);
}

/* 3D section headings */
.section-heading {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent-primary); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.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); }

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(14, 90, 130, 0.2);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}
