:root {
  --primary: #176b45;
  --primary-dark: #104d32;
  --primary-light: #eaf4ee;
  --dark: #202b25;
  --text: #5f6b63;
  --white: #ffffff;
  --light: #f7faf8;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--dark);
  background: var(--white);
  margin: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e9eee9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}

.site-header .navbar {
  padding: 13px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  text-decoration: none;
}

.brand-icon {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 25px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-text small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar-nav {
  gap: 5px;
}

.navbar .nav-link {
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 13px !important;
  transition: 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

.btn-contact {
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

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

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

/* Footer */

.site-footer {
  background: #17251d;
  color: #c4d0c8;
  padding: 65px 0 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-brand i {
  color: #68c28e;
  font-size: 30px;
}

.footer-description {
  max-width: 350px;
  color: #aab9af;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer h6 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 13px;
  color: #aab9af;
}

.footer-links a {
  color: #aab9af;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #72d69b;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.13);
  margin: 40px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  color: #91a197;
  font-size: 12px;
}

/* Responsive */

@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 15px;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar .nav-link {
    padding: 10px 5px !important;
  }

  .btn-contact {
    display: inline-block;
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .site-footer {
    padding-top: 45px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================
   HOMEPAGE
========================================= */

.section-padding {
  padding: 100px 0;
}

.section-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-heading span {
  color: var(--primary);
  display: block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
}

.text-link:hover {
  color: var(--primary-dark);
}

/* HERO */

.hero-section {
  position: relative;
  min-height: 690px;
  height: min(780px, calc(100vh - 75px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 75% 40%,
      rgba(34, 116, 77, 0.35),
      transparent 45%
    ),
    linear-gradient(115deg, #10251b 0%, #142e23 55%, #203d2c 100%);
  color: white;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 24, 16, 0.96) 0%,
    rgba(8, 24, 16, 0.78) 48%,
    rgba(8, 24, 16, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 70px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #b8d8c4;
  margin-bottom: 30px;
}

.hero-label span {
  width: 25px;
  height: 2px;
  background: #55c58a;
}

.hero-section h1 {
  max-width: 850px;
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -3px;
  margin-bottom: 25px;
}

.hero-section h1 span {
  color: #65d69a;
}

.hero-description {
  max-width: 590px;
  color: #d2dfd7;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.btn-hero-primary,
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 22px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-hero-primary {
  background: #248b5b;
  color: white;
}

.btn-hero-primary:hover {
  background: #35a66f;
  color: white;
  transform: translateY(-2px);
}

.btn-hero-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

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

.hero-bottom-text {
  margin-top: 85px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #c0d7ca;
}

.hero-bottom-text span {
  color: #65d69a;
  padding: 0 8px;
}

.hero-scroll {
  position: absolute;
  right: 5%;
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #d0e2d7;
  font-size: 10px;
  letter-spacing: 2px;
}

/* INTRODUCTION */

.home-intro {
  background: white;
}

.intro-text {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--dark);
}

/* PLATFORMS */

.platform-section {
  background: #f5f8f6;
}

.platform-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 280px;
  padding: 32px;
  background: white;
  border: 1px solid #e9eee9;
  border-radius: 8px;
  text-decoration: none;
  color: var(--dark);
  transition: 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: #9ccbb0;
  box-shadow: 0 15px 35px rgba(20, 70, 43, 0.08);
  color: var(--dark);
}

.platform-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #a8b7ad;
  font-size: 12px;
  font-weight: 700;
}

.platform-card > i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 25px;
}

.platform-card h4 {
  font-size: 19px;
  font-weight: 700;
}

.platform-card p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}

.platform-card > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 15px;
}

.platform-card-dark {
  background: #18372a;
  color: white;
  border-color: #18372a;
}

.platform-card-dark h4,
.platform-card-dark:hover {
  color: white;
}

.platform-card-dark p {
  color: #c3d2c9;
}

.platform-card-dark .platform-number {
  color: #8ba999;
}

.platform-card-dark > i,
.platform-card-dark > span {
  color: #70d79f;
}

/* TECHNOLOGY */

.technology-section {
  background: white;
}

.technology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.technology-tags span {
  background: #edf5ef;
  color: #315f43;
  border-radius: 4px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
}

.btn-dark-custom {
  background: #19372a;
  color: white;
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

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

.technology-visual {
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 40px;
  color: white;
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(85, 197, 138, 0.28),
      transparent 40%
    ),
    linear-gradient(140deg, #163d2a, #0e2018);
}

.technology-visual-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.technology-visual-content > i {
  font-size: 65px;
  color: #70d79f;
}

.technology-visual-content span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #b4d7c2;
}

.technology-visual-content strong {
  font-size: 28px;
}

/* SUSTAINABILITY */

.sustainability-section {
  background: #f5f8f6;
}

.impact-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 25px;
  text-align: center;
  background: white;
  border: 1px solid #e9eee9;
  border-radius: 7px;
}

.impact-card i {
  font-size: 32px;
  color: var(--primary);
}

.impact-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

/* CALL TO ACTION */

.home-cta {
  padding: 75px 0;
  background: #19372a;
  color: white;
}

.home-cta .section-label {
  color: #70d79f;
}

.home-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
}

.home-cta p {
  color: #c4d5ca;
  font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .section-padding {
    padding: 65px 0;
  }

  .hero-section {
    min-height: 650px;
    height: auto;
  }

  .hero-section h1 {
    letter-spacing: -1.5px;
  }

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

  .hero-bottom-text {
    margin-top: 65px;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-scroll {
    display: none;
  }

  .technology-visual {
    min-height: 300px;
  }

  .home-cta {
    padding: 60px 0;
  }
}

/* ========================================
   SCENE PAGE
======================================== */

.scene-page {
  overflow: hidden;
}

.scene-hero {
  background: linear-gradient(120deg, #092d45, #087c63);
  color: #fff;
  padding: 110px 0;
}

.scene-hero-content {
  max-width: 850px;
}

.scene-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.scene-hero h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.scene-hero p {
  max-width: 750px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.scene-eyebrow {
  display: inline-block;
  color: #0c956f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.scene-hero .scene-eyebrow {
  color: #8de5c5;
}

.scene-section {
  padding: 75px 0;
}

.scene-text-block {
  max-width: 850px;
}

.scene-text-block h2,
.scene-feature-card h2,
.scene-cta-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  color: #12354a;
  margin-bottom: 20px;
}

.scene-text-block h3,
.scene-feature-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: #466273;
  margin-bottom: 18px;
}

.scene-description {
  font-size: 16px;
  line-height: 1.9;
  color: #586b77;
}

.scene-subheading {
  font-size: 17px;
  line-height: 1.8;
  color: #586b77;
}

/* List */

.scene-list-section {
  background: #f5f8f7;
}

.scene-list-item {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e8efec;
  border-radius: 12px;
  color: #344f5d;
  line-height: 1.6;
}

.scene-list-item i {
  color: #0c956f;
  font-size: 19px;
  flex-shrink: 0;
}

/* Feature */

.scene-feature-section {
  padding-top: 35px;
}

.scene-feature-card {
  padding: 45px;
  border-radius: 18px;
  background: #f2f7f5;
  border-left: 5px solid #0c956f;
}

.scene-feature-content {
  max-width: 850px;
}

/* CTA */

.scene-cta-section {
  padding: 75px 0;
  background: #0b3449;
  color: #fff;
  text-align: center;
}

.scene-cta-content {
  max-width: 800px;
  margin: auto;
}

.scene-cta-content h2 {
  color: #fff;
}

.scene-cta-content h3,
.scene-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.scene-cta-content .scene-eyebrow {
  color: #8de5c5;
}

/* Media */

.scene-media-section {
  padding: 60px 0;
}

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

.scene-image-card,
.scene-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8efec;
  border-radius: 14px;
}

.scene-image-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.scene-image-caption {
  padding: 18px;
}

.scene-image-caption h5,
.scene-video-card h5 {
  font-weight: 700;
  color: #12354a;
}

.scene-image-caption p,
.scene-video-card p {
  color: #687b85;
  line-height: 1.7;
}

.scene-video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* Responsive */

@media (max-width: 767px) {
  .scene-hero {
    padding: 75px 0;
  }

  .scene-section {
    padding: 50px 0;
  }

  .scene-feature-card {
    padding: 28px 22px;
  }

  .scene-cta-section {
    padding: 55px 0;
  }

  .scene-image-card img {
    height: 230px;
  }
}

/* ========================================
   SCENE ANIMATIONS
======================================== */

.scene-reveal {
  opacity: 1;
  transform: none;
}

.scene-reveal.js-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scene-reveal.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */

.scene-hero-content > * {
  animation: heroEntrance 0.9s ease both;
}

.scene-hero-content > *:nth-child(2) {
  animation-delay: 0.15s;
}

.scene-hero-content > *:nth-child(3) {
  animation-delay: 0.3s;
}

.scene-hero-content > *:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

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

/* Card hover */

.scene-list-item,
.scene-feature-card,
.scene-image-card,
.scene-video-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.scene-list-item:hover,
.scene-feature-card:hover,
.scene-image-card:hover,
.scene-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(10, 45, 60, 0.1);
}

/* Image hover */

.scene-image-card img {
  transition: transform 0.6s ease;
}

.scene-image-card:hover img {
  transform: scale(1.045);
}

/* Button hover */

.btn-contact {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Browser history navigation transition */

#page-transition {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#page-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Prevent animation when reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
  #page-transition {
    transition: none;
  }
}

/* ========================================
   THEME VARIABLES
   Default: Light
======================================== */

:root {
  color-scheme: light;
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --surface-muted: #edf5ef;
  --heading: #202b25;
  --body-text: #5f6b63;
  --border: #e8efec;
  --shadow: 0 12px 30px rgba(20, 45, 32, 0.07);
}

/* Dark theme is activated with data-theme="dark" on <html>. */
html[data-theme="dark"] {
  color-scheme: dark;
  --primary: #63c995;
  --primary-dark: #3aa875;
  --primary-light: #19392b;
  --dark: #edf4ef;
  --text: #b4c2b9;
  --light: #17231b;

  --page-bg: #111a15;
  --surface: #18241c;
  --surface-soft: #1d2b22;
  --surface-muted: #24372b;
  --heading: #edf4ef;
  --body-text: #b4c2b9;
  --border: #304438;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] body {
  color: var(--dark);
  background: var(--page-bg);
}

html[data-theme="dark"] .site-header {
  background: #152119;
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .navbar-brand,
html[data-theme="dark"] .navbar .nav-link {
  color: var(--dark);
}

html[data-theme="dark"] .navbar .nav-link:hover,
html[data-theme="dark"] .navbar .nav-link.active {
  color: var(--primary);
}

html[data-theme="dark"] .navbar-toggler {
  color: var(--dark);
}

html[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

html[data-theme="dark"] .home-intro,
html[data-theme="dark"] .technology-section,
html[data-theme="dark"] .scene-section:not(.scene-list-section),
html[data-theme="dark"] .scene-media-section {
  background: var(--page-bg);
}

html[data-theme="dark"] .platform-section,
html[data-theme="dark"] .sustainability-section,
html[data-theme="dark"] .scene-list-section {
  background: #151f18;
}

html[data-theme="dark"] .section-heading,
html[data-theme="dark"] .intro-text,
html[data-theme="dark"] .scene-text-block h2,
html[data-theme="dark"] .scene-feature-card h2,
html[data-theme="dark"] .scene-text-block h3,
html[data-theme="dark"] .scene-feature-card h3,
html[data-theme="dark"] .scene-image-caption h5,
html[data-theme="dark"] .scene-video-card h5,
html[data-theme="dark"] .impact-card h5 {
  color: var(--heading);
}

html[data-theme="dark"] .text-secondary,
html[data-theme="dark"] .scene-description,
html[data-theme="dark"] .scene-subheading,
html[data-theme="dark"] .scene-image-caption p,
html[data-theme="dark"] .scene-video-card p {
  color: var(--body-text) !important;
}

html[data-theme="dark"] .platform-card,
html[data-theme="dark"] .impact-card,
html[data-theme="dark"] .scene-list-item,
html[data-theme="dark"] .scene-image-card,
html[data-theme="dark"] .scene-video-card {
  background: var(--surface);
  border-color: var(--border);
  color: var(--dark);
}

html[data-theme="dark"] .platform-card h4,
html[data-theme="dark"] .platform-card:hover {
  color: var(--heading);
}

html[data-theme="dark"] .platform-card p {
  color: var(--body-text);
}

html[data-theme="dark"] .platform-card-dark {
  background: #203d2d;
  border-color: #294b37;
}

html[data-theme="dark"] .technology-tags span {
  background: var(--surface-muted);
  color: #a8e4c2;
}

html[data-theme="dark"] .btn-dark-custom {
  background: #2d7652;
  color: #ffffff;
}

html[data-theme="dark"] .scene-feature-card {
  background: var(--surface-soft);
  border-color: #3a9c6a;
}

html[data-theme="dark"] .scene-hero {
  background: linear-gradient(120deg, #102c22, #075a45);
}

html[data-theme="dark"] .scene-cta-section,
html[data-theme="dark"] .home-cta {
  background: #0d2118;
}

html[data-theme="dark"] .scene-image-card,
html[data-theme="dark"] .scene-video-card {
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .scene-list-item {
  color: var(--body-text);
}

html[data-theme="dark"] .footer-divider {
  border-color: rgba(255, 255, 255, 0.13);
}

/* Theme-aware smooth color changes */
body,
.site-header,
.home-intro,
.platform-section,
.technology-section,
.sustainability-section,
.scene-section,
.scene-media-section,
.platform-card,
.impact-card,
.scene-list-item,
.scene-feature-card,
.scene-image-card,
.scene-video-card {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* Page transition overlay */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #10251b;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#page-transition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

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

  .scene-reveal,
  .scene-reveal.js-reveal,
  .scene-reveal.js-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

.top-utility-bar {
  background: var(--primary-dark);
  padding: 5px 0;
}

.theme-toggle {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  width: 30px;
  height: 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--accent);
}

/* ========================================
   TOP UTILITY BAR
======================================== */

.top-utility-bar {
  background: var(--primary-dark);
  color: #ffffff;
  min-height: 36px;
  padding: 5px 0;
  font-size: 11px;
}

.top-utility-bar .container {
  gap: 15px;
}

.utility-contact,
.utility-actions,
.utility-social {
  gap: 18px;
}

.utility-contact a,
.utility-social a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.utility-contact a:hover,
.utility-social a:hover {
  color: var(--accent);
}

.utility-contact i {
  margin-right: 5px;
}

.utility-address {
  display: inline-flex;
  align-items: center;
}

.utility-address i {
  margin-right: 5px;
}

.utility-social a {
  font-size: 13px;
}

.utility-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
}

.theme-toggle {
  width: 25px;
  height: 25px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}

.theme-toggle:hover {
  color: var(--accent);
}

@media (max-width: 767.98px) {
  .top-utility-bar .container {
    justify-content: flex-end !important;
    gap: 12px;
  }

  .utility-contact,
  .utility-actions {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }

  /* Hide contact text, keep icons */
  .utility-contact a span,
  .utility-address span {
    display: none;
  }

  .utility-contact a,
  .utility-address {
    color: #ffffff;
    font-size: 14px;
  }

  .utility-social {
    gap: 14px;
  }

  .utility-social a {
    font-size: 14px;
  }

  .utility-divider {
    height: 16px;
  }
}

/* ========================================
   PAGE CONTENT ENTRANCE ANIMATION
======================================== */

@keyframes contentEntrance {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

main.site-main.page-enter {
  animation: contentEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  main.site-main.page-enter {
    animation: none;
  }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
======================================== */

.scroll-reveal {
  opacity: 1;
  transform: none;
}

.scroll-reveal.js-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scroll-reveal.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional stagger effect */
.scroll-reveal.delay-1 {
  transition-delay: 0.1s;
}

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.js-reveal,
  .scroll-reveal.js-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Automatic scroll reveal */

.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========================================
   404 ERROR PAGE
======================================== */

.error-page {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--page-bg);
  text-align: center;
}

.error-content {
  max-width: 620px;
  margin: auto;
}

.error-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 38px;
}

.error-label {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.error-content h1 {
  color: var(--heading);
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.error-content h1 span {
  color: var(--primary);
}

.error-content > p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-error-primary,
.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-error-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-error-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-error-secondary {
  border: 1px solid var(--border);
  color: var(--heading);
}

.btn-error-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.error-footer-text {
  margin-top: 55px;
  color: var(--body-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.error-footer-text i {
  color: var(--primary);
}

@media (max-width: 576px) {
  .error-page {
    min-height: 60vh;
    padding: 60px 20px;
  }

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

  .btn-error-primary,
  .btn-error-secondary {
    width: 100%;
  }
}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-hero {
  padding: 95px 0;
  background: linear-gradient(120deg, #102e20, #176b45);
  color: #ffffff;
}

.contact-hero-content {
  max-width: 800px;
}

.contact-eyebrow {
  display: block;
  color: #8de5b1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.contact-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.contact-hero h1 span {
  color: #72d69b;
}

.contact-hero p {
  max-width: 620px;
  color: #d0e3d7;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.contact-section {
  padding: 90px 0;
  background: var(--page-bg);
}

.contact-info h2,
.contact-enquiry h2 {
  color: var(--heading);
  font-size: 32px;
  font-weight: 800;
  margin: 12px 0 15px;
}

.contact-info-description,
.contact-enquiry > p {
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-bottom: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  text-decoration: none;
  color: var(--heading);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--heading);
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--primary);
  font-size: 20px;
}

.contact-info-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-info-card small {
  color: var(--body-text);
  font-size: 11px;
  margin-bottom: 4px;
}

.contact-info-card strong {
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-arrow {
  margin-left: auto;
  color: var(--primary);
}

.contact-social {
  margin-top: 35px;
}

.contact-social > span {
  color: var(--heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--heading);
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-social a:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.contact-enquiry {
  height: 100%;
  padding: 40px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-email-panel {
  display: flex;
  gap: 20px;
  padding: 25px;
  margin-top: 35px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
}

.contact-email-panel > i {
  font-size: 28px;
  color: var(--primary);
}

.contact-email-panel strong {
  color: var(--heading);
  font-size: 16px;
}

.contact-email-panel p {
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0 15px;
}

.contact-email-panel a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.contact-message {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.contact-message > i {
  color: var(--primary);
  font-size: 30px;
}

.contact-message h3 {
  color: var(--heading);
  font-size: 19px;
  font-weight: 700;
  margin: 12px 0;
}

.contact-message p {
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* Responsive */

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 70px 0;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-info h2,
  .contact-enquiry h2 {
    font-size: 27px;
  }

  .contact-enquiry {
    padding: 25px 20px;
  }

  .contact-email-panel {
    padding: 20px;
  }
}

/* Contact enquiry form */

.contact-enquiry .form-label {
  color: var(--heading);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.contact-enquiry .form-control {
  min-height: 43px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
}

.contact-enquiry textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-enquiry .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 107, 69, 0.1);
}

.btn-contact-submit {
  border: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-contact-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ========================================
   CONTACT PAGE - LAYOUT REFINEMENTS
======================================== */

.contact-info {
  height: 100%;
  padding: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-info h2 {
  margin-top: 12px;
}

.contact-info-card {
  min-height: 76px;
}

.contact-message {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.contact-enquiry {
  height: 100%;
  padding: 35px;
}

.contact-email-panel {
  margin-top: 25px;
}

.contact-form-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 28px 0 22px;
  color: var(--body-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.contact-form-divider::before,
.contact-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact-map-section {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.contact-map-heading {
  padding: 25px 30px;
}

.contact-map-heading h2 {
  color: var(--heading);
  font-size: 24px;
  font-weight: 800;
  margin: 8px 0 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Responsive */

@media (max-width: 991.98px) {
  .contact-info {
    padding: 25px;
  }

  .contact-enquiry {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .contact-info,
  .contact-enquiry {
    padding: 22px 18px;
  }

  .contact-map iframe {
    height: 300px;
  }

  .contact-map-heading {
    padding: 20px;
  }
}
