:root {
  --green: #157347;
  --green-soft: #1c8a57;
  --gold: #c9a13f;
  --gold-soft: #e0be5c;
  --white: #ffffff;
  --bg: #f4f6f7;
  --bg-alt: #ffffff;
  --text: #222831;
  --muted: #6c757d;
  --border: #e0e4e7;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition-fast: 0.2s ease;
}

body.dark-mode {
  --bg: #050910;
  --bg-alt: #0f1722;
  --text: #f5f5f5;
  --muted: #c7ccd4;
  --border: #1f2933;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 115, 71, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------- NAVBAR ---------------- */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}


body.dark-mode header {
  background: #0f172a; /* clean dark navbar background */
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.9rem; /* slightly bigger gap for larger logo */
}


/* .logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, #e4ffe6, #157347);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(21, 115, 71, 0.6);
} */

.logo-wrap img {
  height: 84px;        /* bigger logo */
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .logo-wrap img {
    height: 42px;
  }
}



.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text span:first-child {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav-brand-text span:last-child {
  font-weight: 600;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-soft));
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(21, 115, 71, 0.5);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: 0.5rem;
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* ---------- HERO / BANNER CAROUSEL (INDEX) ---------- */
/* ======================= */
/* HERO WITH ZOOM + SLIDER */
/* ======================= */

/* ======================= */
/* HERO WITH AUTO SCROLLER */
/* ======================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

/* Auto-scrolling background */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroSlider 18s infinite ease-in-out;
}

/* Background Images Slider (Edit images here) */
@keyframes heroSlider {
  0%   { background-image: url('images/renewable_energy.jpg'); }
  33%  { background-image: url('https://images.pexels.com/photos/5029865/pexels-photo-5029865.jpeg?auto=compress&cs=tinysrgb&w=1800'); }
  66%  { background-image: url('images/group_image1.jpg'); }
  100% { background-image: url('images/sustainable_dev.jpg'); }
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(1px);
  z-index: 1;
}

body.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.75);
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 750px;
  padding: 0 1rem;
}

.hero-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-btn:hover {
  background: #ffffff;
  color: #0b3a1f;
  transform: translateY(-2px);
}





/* INTRO SECTION */
/* ========== INTRO SECTION BELOW HERO ========== */
.intro-section {
  padding: 5rem 0;
  background: #ffffff;
}

body.dark-mode .intro-section {
  background: #050910;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
}

.intro-badge {
  display: inline-block;
  background: rgba(21, 115, 71, 0.08);
  color: #157347;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  border-radius: 30px;
  font-weight: 600;
}

body.dark-mode .intro-badge {
  background: rgba(201, 161, 63, 0.14);
  color: var(--gold-soft);
}

.intro-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #0e2a18;
  margin: 1rem 0 1.2rem;
  line-height: 1.2;
}

body.dark-mode .intro-title {
  color: #f9fafb;
}

.intro-desc {
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 2rem;
}

body.dark-mode .intro-desc {
  color: #cfd6dd;
}

.intro-btn {
  background: #157347;
  color: white;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.intro-btn:hover {
  background: #0f5b35;
}

.intro-image-box {
  background: #9aa89f;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.dark-mode .intro-image-box {
  background: #082316;
}

.intro-image {
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .intro-image-box {
    padding: 2rem;
  }
  .intro-image {
    max-width: 250px;
  }
}


/* ------------- GENERIC SECTION ------------- */

section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 600px;
}

/* ------------- INDEX FEATURE STRIP ------------- */

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-image {
  height: 170px;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.8s ease;
}

.feature-card-content {
  padding: 1rem 1.1rem 1.2rem;
}

.feature-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-card-text {
  font-size: 0.85rem;
  color: var(--muted);
}

.feature-card a.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--green-soft);
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.07);
}

/* ------------- SIMPLE GALLERY STRIP (INDEX + GALLERY PAGE) ------------- */

/* ========= GALLERY PAGE ========= */

.gallery-page {
  padding: 5rem 0 4rem;
}

body.dark-mode .gallery-page {
  background: #020617;
}

.gallery-header {
  margin-bottom: 1.8rem;
}

.gallery-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #157347;  /* Nova Crest green */
}

body.dark-mode .gallery-title {
  color: #c9a13f;  /* gold in dark mode */
}

.gallery-divider {
  margin-top: 0.6rem;
  width: 100%;
  max-width: 1040px;
  border-bottom: 2px solid rgba(15, 118, 67, 0.25);
}

body.dark-mode .gallery-divider {
  border-bottom-color: rgba(201, 161, 63, 0.3);
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.gallery-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  background: #0f3c22;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

body.light-mode .gallery-card {
  background: #1a4f2c;
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;          /* similar to reference layout */
  overflow: hidden;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* subtle zoom on hover */
.gallery-card:hover .gallery-image-wrap img {
  transform: scale(1.06);
}

/* caption bar (green strip at bottom) */
.gallery-caption {
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #ffffff;
  background: #157347;
}

body.dark-mode .gallery-caption {
  background: #0f3c22;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-page {
    padding-top: 4rem;
  }
}

/* ========= LIGHTBOX ========= */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: #020617;
  border-radius: 16px;
  padding: 1rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

body.light-mode .lightbox-inner {
  background: #ffffff;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  display: block;
}

.lightbox-text {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-align: center;
}

body.light-mode .lightbox-text {
  color: #111827;
}

.lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1.5rem;
  cursor: pointer;
}

body.light-mode .lightbox-close {
  color: #111827;
}

.lightbox-close:hover {
  transform: scale(1.1);
}


/* WHAT WE DO (EXPLORE NOVA CREST) */
/* ========== WHAT WE DO ========== */
.what-we-do {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: #15502c;
  color: #ffffff;
  overflow: hidden;
}

/* slightly deeper green in dark mode (still works in light) */
body.dark-mode .what-we-do {
  background: #0c3a21;
}

/* big logo on the right */
.what-we-do::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  background-image: url("assets/img/logo-novacrest.png"); /* your logo path */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.what-we-do .container {
  position: relative;
  z-index: 5;
}

.what-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.what-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.what-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* 3x2 grid */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 3.5rem;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.what-item {
  position: relative;
  padding-right: 2rem;
}

.what-item:not(:nth-child(3n)) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.what-item:nth-child(n + 4) {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.what-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  opacity: 0.9;
}

.what-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.what-item-text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .what-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .what-item {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .what-we-do {
    padding: 4rem 0 3.5rem;
  }
  .what-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    border-top: none;
    border-bottom: none;
  }
  .what-item {
    border: none;
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


/* ------------- ABOUT / SERVICES / FAQ PAGE-SPECIFIC ------------- */

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* About layout */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}


/* ===== ABOUT: HOW WE WORK IMAGE (PORTRAIT) ===== */

.about-photo {
  margin-top: 1rem;
  width: 100%;
  max-width: 360px;           /* keep it neat inside the card */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.about-photo img {
  width: 100%;
  height: auto;               /* no squashing */
  display: block;
  object-fit: cover;          /* fills frame nicely */
  object-position: top center;/* keeps heads in frame */
}

/* center the image on narrow screens */
@media (max-width: 920px) {
  .about-photo {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===== ABOUT: TEAM SECTION (PORTRAIT-FRIENDLY) ===== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.team-card {
  text-align: center;
}

/* Make room for tall portraits instead of short 180px crops */
.team-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;          /* portrait ratio */
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.6rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  background: #111827;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* fill the frame nicely */
  object-position: top center;   /* keep heads in frame */
}

.team-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Responsive: avoid squeezing portraits too much on smaller screens */
@media (max-width: 920px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


.team-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  margin-bottom: 0.5rem;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.service-text {
  font-size: 0.86rem;
  color: var(--muted);
}

.service-tag {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--green-soft);
  font-weight: 500;
}

/* FAQ */

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--gold-soft);
  background: radial-gradient(circle at top left, rgba(201, 161, 63, 0.08), transparent 65%);
}

.faq-question {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.faq-answer {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle-icon {
  font-size: 1.1rem;
  color: var(--gold-soft);
}




/* ========================================= */
/* CALL-TO-ACTION BANNER (AFTER WHAT WE DO)  */
/* ========================================= */

.cta-banner {
  position: relative;
  width: 100%;
  min-height: 65vh;
  background: url("images/sustainable_dev2.jpg")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  color: #fff;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 9, 16, 0.6),
    rgba(5, 9, 16, 0.7),
    rgba(5, 9, 16, 0.9)
  );
  backdrop-filter: blur(2px);
}

body.dark-mode .cta-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5, 9, 16, 0.75),
    rgba(5, 9, 16, 0.85),
    rgba(5, 9, 16, 0.95)
  );
}

.cta-content {
  position: relative;
  z-index: 5;
  max-width: 850px;
}

.cta-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-text {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.2rem;
  color: #f2f2f2;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #fff;
  color: #0b301a;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
  .cta-banner {
    min-height: 50vh;
    padding: 3rem 1.2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}



/* ========== SUSTAINABILITY AT A GLANCE (INDEX) ========== */

.glance-section {
  padding: 4.5rem 0;
}

body.dark-mode .glance-section {
  background: #020617;
}

.glance-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.glance-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #157347; /* Nova Crest green */
}

body.dark-mode .glance-title {
  color: #c9a13f; /* gold in dark mode */
}

.glance-view-all {
  font-size: 0.95rem;
  font-weight: 600;
  color: #157347;
  text-decoration: none;
}

body.dark-mode .glance-view-all {
  color: #c9a13f;
}

.glance-view-all:hover {
  text-decoration: underline;
}

/* cards row */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

/* card */
.glance-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
  padding-bottom: 1.1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

body.dark-mode .glance-card {
  background: #020617;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* image */
.glance-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.glance-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glance-card:hover .glance-image-wrap img {
  transform: scale(1.05);
}

/* text pieces */
.glance-meta {
  padding: 0.75rem 1.1rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
}

body.dark-mode .glance-meta {
  color: #9ca3af;
}

.glance-card-title {
  padding: 0 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.4rem;
  color: #111827;
}

body.dark-mode .glance-card-title {
  color: #e5e7eb;
}

.glance-read-more {
  padding: 0.3rem 1.1rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c9a13f;
  text-decoration: none;
}

.glance-read-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .glance-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .glance-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}





/* LEADER CARDS */
.leader-card {
  padding-bottom: 1rem;
  text-align: center;
  position: relative;
}

.profile-toggle {
  margin-top: 0.6rem;
  background: #157347;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.35rem 1.2rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.profile-toggle:hover {
  background: #0f4f2c;
}

body.dark-mode .profile-toggle {
  background: #c9a13f;
  color: #111;
}

.profile-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  padding: 0 0.6rem;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: 0.4rem;
  color: #444;
}

body.dark-mode .profile-description {
  color: #d0d0d0;
}

.profile-description.open {
  max-height: 300px;
  opacity: 1;
}





/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 1.6rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.2rem;
}

.contact-list li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.contact-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(21, 115, 71, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green-soft);
  flex-shrink: 0;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}

body.dark-mode .social-pill {
  background: rgba(15, 23, 42, 0.7);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  grid-column: span 1;
}

.form-field label {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

body.dark-mode .form-field input,
body.dark-mode .form-field textarea,
body.dark-mode .form-field select {
  background: #111827;
  border-color: #1f2933;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-soft);
  box-shadow: 0 0 0 1px rgba(21, 115, 71, 0.3);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  grid-column: span 2;
}

.form-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
}

/* FOOTER */

/* ========== FOOTER (GoldBod style) ========== */
.site-footer {
  background: #062814;
  color: #f9fafb;
  padding: 3.5rem 0 2.5rem;
  margin-top: 0;
  font-size: 0.9rem;
}

body.dark-mode .site-footer {
  background: #03140b;
}

.site-footer a {
  color: inherit;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  max-width: 460px;
}

.footer-logo-row {
  margin-bottom: 0.9rem;
}

.footer-logo-img {
  max-width: 220px;
  height: auto;
}

.footer-brand-text {
  line-height: 1.7;
  opacity: 0.9;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.footer-list a:hover {
  text-decoration: underline;
}

/* bottom row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  opacity: 0.85;
}

/* social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0.9;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.social-icon:hover {
  background: #f9fafb;
  color: #062814;
  border-color: #f9fafb;
  transform: translateY(-1px);
}

/* responsive footer */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ------------- RESPONSIVE ------------- */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-carousel {
    height: 300px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    gap: 0.7rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field textarea,
  .form-actions {
    grid-column: span 1;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hamburger {
    display: flex;
  }
}
