/* ==========================================================================
   CHEMITEC INTERNATIONAL - DESIGN SYSTEM & STYLESHEET
   Emulating high-end Awwwards design (SeaSats & Era Residence)
   ========================================================================== */

/* --- CSS Variables & Tokens --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette */
  --color-navy-dark: #060d1a;
  --color-navy-card: #0a1628;
  --color-light-bg: #f4f3ef;
  --color-light-card: #eef0eb;
  /* User Specified Brand Colors */
  --brand-blue: #1e4da4;
  --brand-blue-deep: #081329;
  --brand-blue-card: #0d1e42;
  --brand-green: #79b900;
  --brand-amber: #ffb600;
  --brand-amber-hover: #e5a400;

  /* Color System Tokens */
  --color-navy-dark: var(--brand-blue-deep);
  --color-navy-card: var(--brand-blue-card);
  --color-light-bg: #f4f6fa;
  --color-light-card: #eef2f8;
  --color-white: #ffffff;
  --color-gold: #d4af37;
  --color-gold-hover: #e5bf45;
  --color-gold: var(--brand-amber);
  --color-gold-hover: var(--brand-amber-hover);
  --color-accent-green: var(--brand-green);
  --color-brand-blue: var(--brand-blue);
  
  --color-text-main: #0b1326;
  --color-text-muted: #5a6578;
  --color-text-light: #9eaabf;
  --color-text-light: #a6b7d0;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-subtle-dark: rgba(11, 19, 38, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-subtle-dark: rgba(30, 77, 164, 0.1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Handled by Lenis */
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Lenis Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* --- Custom Cursor --- */
@media (pointer: fine) {
  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
  }

  .cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  }
}

/* --- Text Masking Classes --- */
.mask-line {
  overflow: hidden;
  display: block;
  line-height: 1.05;
}

.mask-target {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* --- Image Reveal Classes --- */
.reveal-img-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  will-change: transform;
  display: block;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 4vw;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
  background-color: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 4vw;
}

.header-container {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform 0.3s var(--transition-smooth);
}

.brand-logo:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Default (Dark Mode): Crisp white logo mark on dark backdrop */
.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-logo-img {
  height: 52px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  text-decoration: none;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-navy-dark);
  border-color: var(--color-white);
}

/* --- 1. HERO SECTION --- */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 6vw 6vh 6vw;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 26, 0.4) 0%,
    rgba(6, 13, 26, 0.75) 70%,
    rgba(6, 13, 26, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8.5vw, 9.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.highlight-text {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 400;
}

.hero-footer-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.hero-description {
  max-width: 480px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--color-text-light);
  line-height: 1.6;
  font-weight: 300;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
}

.scroll-line {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- 2. HORIZONTAL SCROLL SECTION --- */
.horizontal-scroll-container {
  position: relative;
  background-color: var(--color-navy-dark);
}

.horizontal-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.h-slide {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  position: relative;
}

/* Slide 1 Intro */
.slide-intro {
  background-color: var(--color-navy-card);
}

.slide-content-wrapper {
  max-width: 750px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.dark-text {
  color: var(--color-text-main);
}

.slide-body {
  font-size: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 3rem;
}

.specs-grid {
  display: flex;
  gap: 4rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Slide Media */
.slide-media, .slide-media-detail {
  padding: 8vh 6vw;
}

.h-img-box {
  width: 80vw;
  max-width: 1200px;
  height: 75vh;
  border-radius: 12px;
}

.img-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 5;
  background: rgba(6, 13, 26, 0.8);
  backdrop-filter: blur(12px);
  padding: 1.25rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  max-width: 420px;
}

.img-caption span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.3rem;
}

.img-caption p {
  font-size: 0.95rem;
  color: var(--color-white);
  line-height: 1.4;
}

/* --- 3. ASYMMETRICAL GRID SECTION (ERA RESIDENCE STYLE) --- */
.science-section {
  background-color: var(--color-light-bg);
  color: var(--color-text-main);
  padding: 12rem 6vw;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.section-header-block {
  max-width: 800px;
  margin-bottom: 8rem;
}

.section-subtext {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 400;
  margin-top: 1.5rem;
}

/* Grid Layout */
.asymmetrical-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5rem 3rem;
  align-items: start;
}

.grid-item {
  display: flex;
  flex-direction: column;
}

/* Grid Item Placement */
.grid-item-1 {
  grid-column: 1 / 7;
}

.grid-item-2 {
  grid-column: 7 / 13;
  margin-top: 8rem; /* Staggered effect */
}

.grid-item-3 {
  grid-column: 3 / 11;
  margin-top: 4rem;
}

.grid-img-container {
  height: 550px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.grid-item-2 .grid-img-container {
  height: 480px;
}

.grid-item-3 .grid-img-container {
  height: 600px;
}

.grid-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-no {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.grid-card-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.grid-card-meta p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- 3.5. CERTIFICATIONS & PARTNERS MARQUEE SECTION --- */
.certifications-marquee-section {
  background-color: #040812;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.certifications-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: continuousScroll 30s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes continuousScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 5.5rem;
  padding-right: 5.5rem;
  flex-shrink: 0;
}

.cert-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 150px;
}

.cert-logo-item img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: all 0.4s ease;
}

.cert-logo-item:hover img {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.1);
}

.badge-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.65;
  transition: all 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.badge-item:hover {
  opacity: 1;
  border-color: var(--brand-green);
  background: rgba(121, 185, 0, 0.1);
  transform: scale(1.06);
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.1em;
  display: block;
  line-height: 1.1;
}

.badge-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.15em;
  margin-top: 3px;
  display: block;
}

/* --- 4. CTA & MASSIVE FOOTER SECTION --- */
.cta-footer-section {
  background-color: var(--color-navy-dark);
  position: relative;
}

.cta-hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-img-container {
  position: absolute;
  inset: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 13, 26, 0.6) 0%, rgba(6, 13, 26, 0.95) 100%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.light-tag {
  color: var(--color-gold);
}

.massive-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.highlight-cta {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 400;
}

.btn-large-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.75rem;
  background-color: var(--color-gold);
  color: var(--color-navy-dark);
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-large-cta:hover {
  background-color: var(--color-white);
  color: var(--color-navy-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.btn-large-cta svg {
  transition: transform 0.3s ease;
}

.btn-large-cta:hover svg {
  transform: translate(4px, -4px);
}

/* Minimalist Dark Footer */
.footer-bottom {
  background-color: #040810;
  border-top: 1px solid var(--border-subtle);
  padding: 8rem 6vw 4rem 6vw;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1.5fr 1.5fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 1.8rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--color-white);
}

.footer-cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.6);
  transition: all 0.3s ease;
}

.footer-partner-logo:hover {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.08);
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cert-pill {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.contact-col p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-phone {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-legal-bar {
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--color-white);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .nav-menu {
    display: none; /* Can be expanded for mobile menu if needed */
  }

  .hero-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .asymmetrical-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .grid-item-1, .grid-item-2, .grid-item-3 {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .grid-img-container {
    height: 400px !important;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 0 5vw 4vh 5vw;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .h-img-box {
    width: 90vw;
    height: 60vh;
  }

  .specs-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-legal-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* ==========================================================================
   THEME TOGGLE BUTTON & LIGHT MODE OVERRIDES
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}

.theme-toggle-btn svg {
  transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

/* --- LIGHT THEME (WHITE VERSION) OVERRIDES --- */
[data-theme="light"] {
  background-color: #ffffff;
  color: #0b1326;
}

[data-theme="light"] body {
  background-color: #ffffff;
  color: #0b1326;
}

[data-theme="light"] .header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(30, 77, 164, 0.12);
}

[data-theme="light"] .brand-logo-img {
  filter: none;
}

[data-theme="light"] .brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 4px 12px rgba(30, 77, 164, 0.25));
}

[data-theme="light"] .nav-link {
  color: #19191a;
}

[data-theme="light"] .nav-link:hover {
  color: var(--brand-green);
}

[data-theme="light"] .btn-primary {
  border-color: rgba(11, 19, 38, 0.2);
  color: #0b1326;
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover {
  background-color: #0b1326;
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  border-color: #0b1326;
}

[data-theme="light"] .theme-toggle-btn {
  background: #f0f2f5;
  border-color: rgba(11, 19, 38, 0.18);
  color: #0b1326;
  background: #f0f4fa;
  border-color: rgba(30, 77, 164, 0.2);
  color: var(--brand-blue);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #0b1326;
  background: var(--brand-blue);
  color: #ffffff;
  border-color: #0b1326;
  border-color: var(--brand-blue);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.75) 70%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

[data-theme="light"] .hero-badge {
  background: rgba(11, 19, 38, 0.06);
  border-color: rgba(11, 19, 38, 0.12);
  color: #b58d19;
  background: rgba(30, 77, 164, 0.08);
  border-color: rgba(30, 77, 164, 0.2);
  color: var(--brand-blue);
}

[data-theme="light"] .badge-dot {
  background-color: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
}

[data-theme="light"] .hero-title {
  color: #0b1326;
}

[data-theme="light"] .highlight-text {
  color: var(--brand-blue);
}

[data-theme="light"] .hero-description {
  color: #5a6578;
}

[data-theme="light"] .scroll-indicator {
  color: #5a6578;
}

[data-theme="light"] .scroll-line::after {
  background-color: #0b1326;
  background-color: var(--brand-blue);
}

[data-theme="light"] .horizontal-scroll-container,
[data-theme="light"] .slide-intro {
  background-color: #ffffff;
}

[data-theme="light"] .section-tag {
  color: var(--brand-green);
}

[data-theme="light"] .section-heading {
  color: #0b1326;
}

[data-theme="light"] .slide-body {
  color: #5a6578;
}

[data-theme="light"] .spec-num {
  color: var(--brand-blue);
}

[data-theme="light"] .spec-label {
  color: #5a6578;
}

[data-theme="light"] .img-caption {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(11, 19, 38, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(30, 77, 164, 0.15);
  box-shadow: 0 10px 30px rgba(30, 77, 164, 0.08);
}

[data-theme="light"] .img-caption span {
  color: var(--brand-green);
}

[data-theme="light"] .img-caption p {
  color: #0b1326;
}

[data-theme="light"] .science-section {
  background-color: #f8f9fa;
  background-color: #f4f7fc;
  color: #0b1326;
}

[data-theme="light"] .meta-no {
  color: var(--brand-green);
}

[data-theme="light"] .grid-card-meta h3 {
  color: #0b1326;
}

[data-theme="light"] .grid-card-meta p {
  color: #5a6578;
}

[data-theme="light"] .cta-footer-section {
  background-color: #ffffff;
}

[data-theme="light"] .cta-banner-overlay {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.96) 100%);
}

[data-theme="light"] .massive-cta-title {
  color: #0b1326;
}

[data-theme="light"] .highlight-cta {
  color: var(--brand-blue);
}

[data-theme="light"] .btn-large-cta {
  background-color: #0b1326;
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(11, 19, 38, 0.15);
  box-shadow: 0 10px 30px rgba(30, 77, 164, 0.25);
}

[data-theme="light"] .btn-large-cta:hover {
  background-color: var(--color-gold);
  color: #0b1326;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
  background-color: var(--brand-amber);
  color: #081329;
  box-shadow: 0 15px 35px rgba(255, 182, 0, 0.4);
}

[data-theme="light"] .footer-bottom {
  background-color: #f8f9fa;
  border-top: 1px solid rgba(11, 19, 38, 0.1);
  background-color: #f4f7fc;
  border-top: 1px solid rgba(30, 77, 164, 0.12);
  color: #0b1326;
}

[data-theme="light"] .footer-col h4 {
  color: var(--brand-blue);
}

[data-theme="light"] .footer-desc,
[data-theme="light"] .footer-col ul a,
[data-theme="light"] .contact-col p,
[data-theme="light"] .footer-legal-bar,
[data-theme="light"] .legal-links a {
  color: #5a6578;
}

[data-theme="light"] .footer-col ul a:hover,
[data-theme="light"] .legal-links a:hover {
  color: #0b1326;
  color: var(--brand-blue);
}

[data-theme="light"] .footer-phone {
  color: #0b1326;
  color: var(--brand-blue);
}

[data-theme="light"] .cert-pill {
  background: rgba(30, 77, 164, 0.06);
  border-color: rgba(30, 77, 164, 0.15);
  color: var(--brand-blue);
}

[data-theme="light"] .certifications-marquee-section {
  background-color: #f4f7fc;
  border-color: rgba(30, 77, 164, 0.12);
}

[data-theme="light"] .cert-logo-item img {
  filter: grayscale(100%) opacity(0.55);
}

[data-theme="light"] .cert-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

[data-theme="light"] .badge-item {
  background: #ffffff;
  border-color: rgba(30, 77, 164, 0.15);
  box-shadow: 0 4px 14px rgba(30, 77, 164, 0.06);
  opacity: 0.75;
}

[data-theme="light"] .badge-item:hover {
  opacity: 1;
  border-color: var(--brand-blue);
  background: rgba(30, 77, 164, 0.06);
}

[data-theme="light"] .badge-title {
  color: #0b1326;
}

[data-theme="light"] .footer-partner-logo {
  filter: grayscale(100%) opacity(0.6);
}

[data-theme="light"] .footer-partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}





