/* ============================================================
   ICT POLYMERS - PROFESSIONAL CORPORATE STYLESHEET
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
  /* Brand Colors */
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --secondary: #7c3aed;
  --secondary-light: #a78bfa;
  --accent: #06b6d4;
  --accent-warm: #f59e0b;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --dark: #020617;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0ea5e9, #7c3aed);
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 40%, #1e293b 100%);
  --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(124, 58, 237, 0.05));
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.15);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

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


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

::selection {
  background: var(--primary);
  color: var(--white);
}


/* ======================== SCROLL PROGRESS BAR ======================== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 10000;
  transition: width 0.1s linear;
}


/* ======================== NAVIGATION ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.2));
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(14, 165, 233, 0.35));
}

.navbar.scrolled .logo-img {
  height: 40px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link.nav-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 8px 22px;
}

.nav-link.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: all 0.3s var(--ease);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

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


/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(3px);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ======================== SECTION HEADERS ======================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin: 16px auto 20px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.7;
}


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

#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-left {
  max-width: 620px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1.2;
}

.hero-stat span {
  font-size: 13px;
  color: var(--gray-400);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Molecule Visual */
.hero-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.molecule-visual {
  position: relative;
  width: 380px;
  height: 380px;
  animation: rotateSlow 40s linear infinite;
}

.mol-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.mol-ring-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: pulse-ring 4s ease-in-out infinite;
}

.mol-ring-2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-color: rgba(124, 58, 237, 0.15);
  animation: pulse-ring 4s ease-in-out infinite 1s;
}

.mol-ring-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-color: rgba(6, 182, 212, 0.2);
  animation: pulse-ring 4s ease-in-out infinite 2s;
}

.mol-atom {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 20px currentColor;
}

.mol-atom-1 {
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  color: var(--primary-light);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mol-atom-2 {
  width: 16px;
  height: 16px;
  background: var(--secondary-light);
  color: var(--secondary-light);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mol-atom-3 {
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--accent);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.mol-atom-4 {
  width: 14px;
  height: 14px;
  background: var(--accent-warm);
  color: var(--accent-warm);
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.mol-atom-5 {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px var(--primary);
}

.mol-bond {
  position: absolute;
  background: rgba(14, 165, 233, 0.1);
  height: 1px;
}

.mol-bond-1 {
  width: 50%;
  top: 50%;
  left: 0;
}

.mol-bond-2 {
  width: 50%;
  top: 50%;
  right: 0;
}

.mol-bond-3 {
  width: 1px;
  height: 50%;
  top: 0;
  left: 50%;
}

.mol-bond-4 {
  width: 1px;
  height: 50%;
  bottom: 0;
  left: 50%;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.03); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s 2s both;
}

.hero-scroll-indicator span {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}


/* ======================== ABOUT SECTION ======================== */
.about {
  padding: var(--section-padding) 0;
}

.about-content {
  display: grid;
  gap: 60px;
}

.about-text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-size: 19px;
  color: var(--gray-800);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text-block p {
  color: var(--gray-600);
  margin-bottom: 12px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.about-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.about-feature-card:hover::before {
  transform: scaleX(1);
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.about-feature-card:hover .feature-icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.about-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.about-feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}


/* ======================== PILLARS SECTION ======================== */
.pillars {
  padding: var(--section-padding) 0;
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  pointer-events: none;
}

.pillars .section-title {
  color: var(--white);
}

.pillars .section-desc {
  color: var(--gray-400);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.pillar-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-6px);
}

.pillar-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.pillar-card:hover .pillar-accent {
  opacity: 1;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  font-size: 26px;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 24px;
  right: 32px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.7;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.5;
}

.pillar-list li i {
  color: var(--primary-light);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}


/* ======================== SUSTAINABILITY SECTION ======================== */
.sustainability {
  padding: var(--section-padding) 0;
}

.sustain-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.sustain-timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.sustain-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.sustain-item:last-child {
  margin-bottom: 0;
}

.sustain-icon-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  font-size: 26px;
  color: var(--primary);
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.sustain-item:hover .sustain-icon-wrap {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1);
}

.sustain-content {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  flex: 1;
  transition: all 0.4s var(--ease);
}

.sustain-item:hover .sustain-content {
  border-color: rgba(14, 165, 233, 0.15);
  box-shadow: var(--shadow-md);
}

.sustain-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.sustain-content p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sustain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.06);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.12);
}


/* ======================== STATS SECTION ======================== */
.stats {
  position: relative;
  padding: 80px 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(14, 165, 233, 0.1), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.08), transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  color: var(--white);
}

.stat-icon {
  font-size: 28px;
  color: var(--primary-light);
  margin-bottom: 12px;
  opacity: 0.7;
}

.stat-box h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box p {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}


/* ======================== INDUSTRIES SECTION ======================== */
.industries {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.industry-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s var(--ease);
  cursor: default;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.industry-card:hover .industry-icon {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.08) rotate(5deg);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  font-size: 28px;
  color: var(--primary);
  transition: all 0.4s var(--ease);
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ======================== SERVICE MATRIX SECTION ======================== */
.matrix {
  padding: var(--section-padding) 0;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.matrix-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 20px;
  transition: all 0.4s var(--ease);
}

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

.matrix-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  font-size: 22px;
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.matrix-card:hover .matrix-icon {
  background: var(--primary);
  color: var(--white);
}

.matrix-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.matrix-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}


/* ======================== WHY PARTNER SECTION ======================== */
.why {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
  text-align: center;
}

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

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 50%;
  font-size: 22px;
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.why-card:hover .why-icon {
  background: var(--gradient-brand);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}


/* ======================== CTA SECTION ======================== */
.cta {
  padding: 100px 0;
  background: var(--gradient-brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05), transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


/* ======================== CONTACT SECTION ======================== */
.contact {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(14, 165, 233, 0.15);
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 18px;
}

.contact-info-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--primary-dark);
}

.contact-map {
  margin-top: 4px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background-color: var(--gray-50);
  transition: all 0.3s var(--ease);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background-color: var(--white);
  transform: translateY(-1px);
}

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

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--gray-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}


/* ======================== FOOTER ======================== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(14, 165, 233, 0.15));
  transition: all 0.4s var(--ease);
}

.footer-logo:hover .footer-logo-img {
  filter: brightness(1.2) drop-shadow(0 4px 16px rgba(14, 165, 233, 0.3));
  transform: scale(1.03);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-size: 15px;
  transition: all 0.3s var(--ease);
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 14px;
  color: var(--gray-400);
  transition: all 0.3s var(--ease);
}

.footer-column a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

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

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

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

.footer-bottom-links a {
  color: var(--gray-500);
}

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


/* ======================== BACK TO TOP ======================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}


/* ======================== REVEAL ANIMATIONS ======================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ======================== ENHANCED ANIMATIONS ======================== */

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(4px) rotate(-1deg); }
}

/* Gradient shimmer for headings */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.title-accent {
  background: linear-gradient(135deg, #0ea5e9, #7c3aed, #06b6d4, #0ea5e9);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

/* Section label subtle pulse */
.section-label {
  animation: labelPulse 3s ease-in-out infinite;
}

@keyframes labelPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.06); }
}

/* Section divider grow animation */
.section-divider {
  transition: width 0.6s var(--ease);
}

.revealed .section-divider,
[data-reveal].revealed .section-divider {
  animation: dividerGrow 0.8s var(--ease) forwards;
}

@keyframes dividerGrow {
  from { width: 0; }
  to { width: 60px; }
}

/* Card hover glow effect */
.about-feature-card:hover,
.industry-card:hover,
.matrix-card:hover,
.why-card:hover {
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1), 0 0 0 1px rgba(14, 165, 233, 0.08);
}

/* Icon bounce on card hover */
.about-feature-card:hover .feature-icon-wrap,
.industry-card:hover .industry-icon,
.why-card:hover .why-icon {
  animation: iconBounce 0.5s var(--ease-bounce);
}

@keyframes iconBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1.05); }
}

/* Pillar card shimmer on hover */
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: left 0.6s var(--ease);
}

.pillar-card:hover::before {
  left: 100%;
}

/* Stats counter pop */
.stat-box h2 {
  transition: transform 0.3s var(--ease-bounce);
}

.stat-box:hover h2 {
  transform: scale(1.08);
}

/* Sustainability icon ring pulse on hover */
.sustain-item:hover .sustain-icon-wrap {
  animation: ringPulse 0.6s var(--ease);
}

@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.3); }
  100% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
}

/* CTA section floating shapes */
.cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -60px;
  right: -60px;
  animation: float 8s ease-in-out infinite;
}

/* Contact form input focus animation is in the form section above */

/* Back to top pulse */
.back-to-top.visible {
  animation: backToTopPulse 2s ease-in-out infinite;
}

@keyframes backToTopPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(14, 165, 233, 0.5); }
}

/* Hero badge entrance */
.hero-badge {
  animation: badgeSlide 0.8s var(--ease) 0.3s both;
}

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

/* Hero title words stagger */
.hero-title {
  animation: heroTitleIn 1s var(--ease) 0.5s both;
}

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

.hero-subtitle {
  animation: heroTitleIn 1s var(--ease) 0.7s both;
}

.hero-actions {
  animation: heroTitleIn 1s var(--ease) 0.9s both;
}

.hero-stats-row {
  animation: heroTitleIn 1s var(--ease) 1.1s both;
}

/* Molecule float animation */
.molecule-visual {
  animation: rotateSlow 40s linear infinite, floatSlow 6s ease-in-out infinite;
}

/* Social icons hover animation */
.social-icons a:hover {
  animation: socialPop 0.4s var(--ease-bounce);
}

@keyframes socialPop {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
  100% { transform: translateY(-2px) scale(1); }
}

/* Tag hover effect */
.tag {
  transition: all 0.3s var(--ease);
  cursor: default;
}

.tag:hover {
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

/* Progress bar glow */
#progress-bar {
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


/* ======================== RESPONSIVE DESIGN ======================== */

/* Large Tablet / Small Desktop */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats-row {
    justify-content: center;
  }

  .hero-right {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

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

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

/* Tablet */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: block;
    order: 3;
  }

  .dark-mode-toggle {
    order: 2;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    padding: 100px 28px 40px;
    transition: right 0.4s var(--ease);
    z-index: 5;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: var(--radius-md);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,255,255,0.06);
  }

  .nav-link.nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 16px;
  }

  /* Hero */
  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Grids */
  .about-features {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .contact-form-wrap {
    padding: 28px 20px;
  }

  /* Sustainability Timeline */
  .sustain-timeline::before {
    display: none;
  }

  .sustain-item {
    flex-direction: column;
    gap: 16px;
  }

  .sustain-icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 22px;
  }

  /* Cards - ensure proper padding */
  .about-feature-card {
    padding: 28px 24px;
  }

  .industry-card {
    padding: 24px 20px;
  }

  .industry-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .industry-card h3 {
    font-size: 15px;
  }

  .industry-card p {
    font-size: 13px;
  }

  .matrix-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .matrix-icon {
    margin: 0 auto 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }

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

  /* CTA */
  .cta {
    padding: 70px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta .btn-lg {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Buttons - larger touch targets */
  .btn {
    min-height: 48px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --section-padding: 52px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 12px 16px;
  }

  .logo-img {
    height: 40px;
  }

  /* Hero */
  .hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-stat strong {
    font-size: 20px;
  }

  .hero-stat span {
    font-size: 12px;
  }

  /* Sections */
  .section-header {
    margin-bottom: 40px;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 5px 12px;
  }

  .section-desc {
    font-size: 14px;
  }

  /* Stats */
  .stat-box h2 {
    font-size: 32px;
  }

  .stat-box p {
    font-size: 12px;
  }

  .stats {
    padding: 56px 0;
  }

  /* Industry grid - single column on very small screens */
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 14px 26px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Pillar cards */
  .pillars-grid {
    max-width: 100%;
  }

  .pillar-card {
    padding: 28px 24px;
  }

  .pillar-number {
    font-size: 36px;
    top: 20px;
    right: 24px;
  }

  /* Why cards */
  .why-card {
    padding: 28px 24px;
  }

  /* Contact */
  .contact-form-wrap {
    padding: 24px 16px;
  }

  .contact-info-card {
    padding: 16px;
  }

  /* Sustainability */
  .sustain-content {
    padding: 24px 20px;
  }

  /* Footer */
  .footer {
    padding-top: 56px;
  }

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

  .footer-desc {
    font-size: 13px;
  }

  /* Back to top - ensure visible on small screens */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}

/* Ultra-small screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .nav-menu {
    width: 85%;
  }

  .stat-box h2 {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* Safe area padding for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .back-to-top {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .nav-menu {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-stats-row {
    flex-direction: row;
    gap: 20px;
  }

  .hero-stat-divider {
    width: 1px;
    height: 30px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}


/* ======================== ACCESSIBILITY ======================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ======================== DARK MODE TOGGLE ======================== */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s var(--ease);
  color: var(--gray-300);
  font-size: 16px;
  position: relative;
}

.dark-mode-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: rotate(20deg);
}

.dark-mode-toggle .fa-sun {
  display: none;
}

.dark-mode-toggle .fa-moon {
  display: block;
}

body.dark-mode .dark-mode-toggle .fa-sun {
  display: block;
}

body.dark-mode .dark-mode-toggle .fa-moon {
  display: none;
}


/* ======================== DARK MODE ======================== */
/* html.dark-mode covers the instant before body loads (anti-FOUC) */
html.dark-mode {
  background: var(--gray-900);
}

body.dark-mode {
  background: var(--gray-900);
  color: var(--gray-300);
}

/* About Section */
body.dark-mode .about {
  background: var(--gray-900);
}

body.dark-mode .about-lead {
  color: var(--gray-200);
}

body.dark-mode .about-text-block p {
  color: var(--gray-400);
}

body.dark-mode .about-feature-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .about-feature-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

body.dark-mode .about-feature-card h3 {
  color: var(--white);
}

body.dark-mode .about-feature-card p {
  color: var(--gray-400);
}

/* Section Headers */
body.dark-mode .section-title {
  color: var(--white);
}

body.dark-mode .section-desc {
  color: var(--gray-400);
}

/* Sustainability */
body.dark-mode .sustainability {
  background: var(--gray-900);
}

body.dark-mode .sustain-timeline::before {
  background: rgba(255,255,255,0.08);
}

body.dark-mode .sustain-icon-wrap {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

body.dark-mode .sustain-item:hover .sustain-icon-wrap {
  border-color: var(--primary);
}

body.dark-mode .sustain-content {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .sustain-item:hover .sustain-content {
  border-color: rgba(14, 165, 233, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark-mode .sustain-content h3 {
  color: var(--white);
}

body.dark-mode .sustain-content p {
  color: var(--gray-400);
}

body.dark-mode .tag {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-light);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Industries */
body.dark-mode .industries {
  background: var(--dark);
}

body.dark-mode .industry-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .industry-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

body.dark-mode .industry-card h3 {
  color: var(--white);
}

body.dark-mode .industry-card p {
  color: var(--gray-400);
}

/* Service Matrix */
body.dark-mode .matrix {
  background: var(--gray-900);
}

body.dark-mode .matrix-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .matrix-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

body.dark-mode .matrix-card h3 {
  color: var(--white);
}

body.dark-mode .matrix-card p {
  color: var(--gray-400);
}

/* Why Partner */
body.dark-mode .why {
  background: var(--dark);
}

body.dark-mode .why-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .why-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

body.dark-mode .why-card h3 {
  color: var(--white);
}

body.dark-mode .why-card p {
  color: var(--gray-400);
}

/* Contact */
body.dark-mode .contact {
  background: var(--gray-900);
}

body.dark-mode .contact-info-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .contact-info-card:hover {
  border-color: rgba(14, 165, 233, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

body.dark-mode .contact-info-card h4 {
  color: var(--white);
}

body.dark-mode .contact-info-card p {
  color: var(--gray-400);
}

body.dark-mode .contact-map {
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

body.dark-mode .contact-form h3 {
  color: var(--white);
}

body.dark-mode .contact-form > p {
  color: var(--gray-400);
}

body.dark-mode .form-group label {
  color: var(--gray-300);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--gray-200);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: var(--gray-500);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  border-color: var(--primary);
  background-color: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

body.dark-mode .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

body.dark-mode .form-group select option {
  background: var(--gray-800);
  color: var(--gray-200);
}

/* Scrolled nav in dark mode */
body.dark-mode .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(255,255,255,0.06);
}

/* Dark mode toggle style when scrolled (light bg) */
body.dark-mode .dark-mode-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--accent-warm);
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: #fbbf24;
}

/* Footer dark mode */
body.dark-mode .footer {
  background: var(--dark);
}

body.dark-mode .footer-desc {
  color: var(--gray-400);
}

body.dark-mode .footer-column a {
  color: var(--gray-400);
}

body.dark-mode .footer-column a:hover {
  color: var(--primary-light);
}

body.dark-mode .footer-bottom {
  border-top-color: rgba(255,255,255,0.06);
}

/* Contact icon dark mode */
body.dark-mode .contact-icon {
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary-light);
}

/* Contact link color in dark mode */
body.dark-mode .contact-info-card a {
  color: var(--primary-light);
}

body.dark-mode .contact-info-card a:hover {
  color: var(--primary);
}

/* Feature icon dark mode */
body.dark-mode .feature-icon-wrap {
  background: rgba(14, 165, 233, 0.12);
}

/* Industry icon dark mode */
body.dark-mode .industry-icon {
  background: rgba(14, 165, 233, 0.12);
}

/* Matrix icon dark mode */
body.dark-mode .matrix-icon {
  background: rgba(14, 165, 233, 0.12);
}

/* Why icon dark mode */
body.dark-mode .why-icon {
  background: rgba(14, 165, 233, 0.12);
}

/* Pillar icon dark mode */
body.dark-mode .pillar-icon {
  background: rgba(14, 165, 233, 0.12);
}

/* Section label dark mode */
body.dark-mode .section-label {
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary-light);
}

/* Map iframe dark mode */
body.dark-mode .contact-map iframe {
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

/* Form status dark mode */
body.dark-mode .form-status.success {
  background: rgba(6, 95, 70, 0.15);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.2);
}

body.dark-mode .form-status.error {
  background: rgba(153, 27, 27, 0.15);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.2);
}

/* Back to top dark mode */
body.dark-mode .back-to-top {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

body.dark-mode .back-to-top:hover {
  background: var(--primary-dark);
}

/* Selection in dark mode */
body.dark-mode ::selection {
  background: var(--primary);
  color: var(--white);
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
