/* ===================================================
   RESET & BASE
   =================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Greens */
  --green-900: #0d2b0d;
  --green-800: #14541a;
  --green-700: #1a6b22;
  --green-600: #22862b;
  --green-500: #2a9d34;
  --green-400: #48b854;
  --green-100: #e0f5e0;
  --green-50:  #f4faf4;

  /* Oranges */
  --orange-700: #b85a00;
  --orange-600: #d16a00;
  --orange-500: #e87a0e;
  --orange-400: #f59e2e;
  --orange-300: #fbbf5e;
  --orange-100: #fff4e8;
  --orange-50:  #fffaf3;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --black:     #0a0a0a;

  /* Layout */
  --topbar-height: 40px;
  --header-height: 80px;
  --total-header: calc(var(--topbar-height) + var(--header-height));
  --transition: 0.25s;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--gray-800);
  padding-top: var(--topbar-height);
}

/* ===================================================
   TOP BAR — dark utility strip
   =================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-height);
  background: var(--black);
  z-index: 1001;
}

.topbar__container {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar__brand {
  color: var(--orange-400);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.topbar__separator {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.topbar__tagline {
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topbar__link {
  color: var(--gray-200);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color var(--transition) ease;
}

.topbar__link:hover {
  color: var(--orange-400);
}

.topbar__divider {
  color: var(--gray-600);
  font-size: 0.85rem;
  user-select: none;
}

.topbar__search {
  background: none;
  border: none;
  color: var(--gray-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color var(--transition) ease;
}

.topbar__search:hover {
  color: var(--orange-400);
}

/* ===================================================
   MAIN HEADER — transparent by default, white on hover
   =================================================== */
.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

/* White on hover */
.header:hover {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* White when scrolled past hero */
.header--scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.header__container {
  max-width: 1320px;
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Gradient accent line at bottom ---- */
.header__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--orange-500) 0%, var(--orange-400) 35%, var(--green-500) 65%, var(--green-700) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header:hover .header__accent,
.header--scrolled .header__accent {
  opacity: 1;
}

/* ---- Logo ---- */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ---- Navigation ---- */
.header__menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  height: var(--header-height);
  gap: 0;
}

.header__menu li {
  display: flex;
  align-items: stretch;
}

.header__link {
  display: flex;
  align-items: center;
  padding: 0 1.35rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.15px;
  position: relative;
  transition:
    color 0.4s ease,
    background 0.4s ease;
}

/* Hover: subtle warm tint — fills full height */
.header__link:hover {
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.85);
}

/* Active state (transparent mode) */
.header__link.active {
  color: var(--white);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
}

/* --- When header is hovered or scrolled: dark text --- */
.header:hover .header__link,
.header--scrolled .header__link {
  color: var(--gray-800);
}

.header:hover .header__link:hover,
.header--scrolled .header__link:hover {
  color: var(--gray-900);
  background: var(--orange-50);
}

.header:hover .header__link.active,
.header--scrolled .header__link.active {
  color: var(--gray-900);
  font-weight: 500;
  background: var(--orange-100);
}

/* Bottom indicator on active */
.header__link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--orange-500);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header:hover .header__link.active::after,
.header--scrolled .header__link.active::after {
  opacity: 1;
}

/* ---- Hamburger Toggle ---- */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition) ease;
}

.header__toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header:hover .header__toggle:hover,
.header--scrolled .header__toggle:hover {
  background: var(--gray-100);
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition) ease,
    opacity var(--transition) ease,
    background 0.4s ease;
}

.header:hover .header__toggle span,
.header--scrolled .header__toggle span {
  background: var(--gray-800);
}

/* Hamburger → X */
.header__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.open span:nth-child(2) {
  opacity: 0;
}

.header__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   RESPONSIVE — Tablet & Mobile (≤ 900px)
   =================================================== */
@media (max-width: 900px) {

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--total-header);
    right: 0;
    width: 300px;
    height: calc(100vh - var(--total-header));
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform var(--transition) cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .header__nav.open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 0.5rem 0;
  }

  .header__menu li {
    display: block;
  }

  .header__link {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .header__link:hover {
    background: var(--orange-50);
  }

  .header__link.active {
    background: var(--orange-100);
    border-left: 3px solid var(--orange-500);
  }

  .header__link.active::after {
    display: none;
  }

  /* Hide topbar tagline on mobile */
  .topbar__tagline,
  .topbar__separator {
    display: none;
  }
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--total-header);
  background: rgba(0, 0, 0, 0.25);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition) ease;
}

.nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* ===================================================
   SMALL MOBILE (≤ 480px)
   =================================================== */
@media (max-width: 480px) {

  .topbar__container {
    padding: 0 1rem;
  }

  .header__container {
    padding: 0 1rem;
  }

  .header__nav {
    width: 100%;
    border-left: none;
  }

  .header__logo img {
    height: 38px;
  }
}

/* ===================================================
   HERO BANNER
   =================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: url('assets/4646.jpg') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Dark gradient overlay for readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.10) 40%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* Title */
.hero__title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 1.8rem;
}

.hero__title--bold {
  font-weight: 700;
  display: block;
}

/* CTA Button */
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem 0.75rem 1.8rem;
  background: var(--white);
  color: var(--gray-900);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  margin-bottom: 2.5rem;
  transition:
    background var(--transition) ease,
    transform var(--transition) ease,
    box-shadow var(--transition) ease;
}

.hero__btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--orange-500);
  color: var(--white);
  border-radius: 50%;
  transition: background var(--transition) ease;
}

.hero__btn:hover {
  background: var(--orange-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero__btn:hover .hero__btn-arrow {
  background: var(--white);
  color: var(--orange-500);
}

/* Description */
.hero__desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ---- Hero responsive ---- */
@media (max-width: 768px) {

  .hero {
    min-height: 500px;
    height: 85vh;
  }

  .hero__content {
    padding: 0 1.5rem 3.5rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__desc {
    font-size: 1rem;
  }

  .hero__br {
    display: none;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {

  .hero__content {
    padding: 0 1rem 3rem;
  }

  .hero__btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem 0.6rem 1.4rem;
  }
}

/* ===================================================
   WHAT WE DO — Scroll-synced section
   =================================================== */
.wwd {
  position: relative;
  background: var(--gray-50);
}

/* Scroll progress bar at top of section */
.wwd__progress {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gray-200);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.wwd__progress.visible {
  opacity: 1;
}

.wwd__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--orange-500), var(--green-500));
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* Sticky viewport */
.wwd__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wwd__container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  height: 100%;
}

/* Spacer = 4 sections of scrollable area */
.wwd__spacer {
  height: 300vh;
}

/* ---- Left: Text ---- */
.wwd__text {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 3rem 4rem 4rem;
}

.wwd__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange-400);
}

/* Each text slide */
.wwd__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.wwd__slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wwd__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.wwd__subheading {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--orange-500);
  margin-bottom: 1.4rem;
}

.wwd__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 1.8rem;
}

/* Learn more button — pill outline style */
.wwd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  border: 2px solid var(--gray-800);
  border-radius: 50px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.wwd__btn:hover {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
  transform: translateY(-1px);
}

/* Dot indicators */
.wwd__dots {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
}

.wwd__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.wwd__dot.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: scale(1.25);
}

.wwd__dot:hover:not(.active) {
  border-color: var(--orange-400);
  background: var(--orange-100);
}

/* ---- Right: Image — full bleed to right edge ---- */
.wwd__image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wwd__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.wwd__img.active {
  opacity: 1;
  transform: scale(1);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {

  .wwd__container {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }

  .wwd__text {
    padding: 3rem 1.5rem;
    max-width: 100%;
    order: 1;
  }

  .wwd__image {
    height: 50vh;
    min-height: 300px;
    order: 2;
  }

  .wwd__sticky {
    align-items: flex-start;
  }

  .wwd__spacer {
    height: 250vh;
  }
}

@media (max-width: 480px) {

  .wwd__text {
    padding: 2rem 1rem;
  }

  .wwd__image {
    height: 40vh;
  }

  .wwd__heading {
    font-size: 1.8rem;
  }
}

/* ===================================================
   SERVICE BLOCKS — 4-column hover reveal
   =================================================== */
.sblocks {
  width: 100%;
}

.sblocks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.sblocks__card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--green-700);
  cursor: pointer;
}

.sblocks__card--green {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
}

.sblocks__card--orange {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-400) 100%);
}

.sblocks__card--dark {
  background: var(--gray-900);
}

/* Background image — hidden by default */
.sblocks__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Dark overlay on hover for readability */
.sblocks__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

/* Content layer */
.sblocks__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.sblocks__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.8rem;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sblocks__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-height: 120px;
  opacity: 1;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease,
    margin 0.4s ease;
}

.sblocks__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--orange-400);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.sblocks__link span {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* ---- HOVER STATE ---- */
.sblocks__card:hover .sblocks__img {
  opacity: 1;
  transform: scale(1);
}

.sblocks__card:hover .sblocks__overlay {
  opacity: 1;
}

/* Description disappears */
.sblocks__card:hover .sblocks__desc {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
}

/* Title moves down slightly */
.sblocks__card:hover .sblocks__title {
  transform: translateY(4px);
}

/* Arrow nudge */
.sblocks__card:hover .sblocks__link {
  gap: 0.6rem;
}

.sblocks__card:hover .sblocks__link span {
  transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sblocks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sblocks__grid {
    grid-template-columns: 1fr;
  }

  .sblocks__card {
    min-height: 260px;
  }

  .sblocks__title {
    font-size: 1.4rem;
  }
}

/* ===================================================
   LATEST NEWS SECTION
   =================================================== */

.news {
  background: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.news__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Header */
.news__header {
  text-align: center;
  margin-bottom: 64px;
}

.news__label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 16px;
  position: relative;
}

.news__label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange-500);
  margin: 10px auto 0;
}

.news__title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 16px;
}

.news__subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #777;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid — featured card spans left column */
.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 28px;
}

.news__card--featured {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
}

.news__card--featured .news__card-img {
  flex: 1;
  min-height: 320px;
}

/* Card Base */
.news__card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.news__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.news__card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.news__card:hover .news__card-img img {
  transform: scale(1.06);
}

/* Badge */
.news__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange-500);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

/* Card Body */
.news__card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news__card--featured .news__card-body {
  padding: 30px 32px 34px;
}

/* Meta */
.news__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.news__date {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #999;
}

.news__category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 3px 10px;
  border-radius: 4px;
}

/* Card Title */
.news__card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.news__card--featured .news__card-title {
  font-size: 1.35rem;
}

.news__card:hover .news__card-title {
  color: var(--orange-600);
}

/* Excerpt */
.news__card-excerpt {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #777;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

/* Read More */
.news__read-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.news__read-more span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.news__read-more:hover {
  color: var(--orange-700);
  gap: 10px;
}

.news__read-more:hover span {
  transform: translateX(3px);
}

/* Footer — View All */
.news__footer {
  text-align: center;
  margin-top: 56px;
}

.news__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-800);
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.35s ease, gap 0.35s ease, transform 0.35s ease;
}

.news__view-all:hover {
  background: var(--orange-600);
  gap: 14px;
  transform: translateY(-2px);
}

.news__view-all svg {
  transition: transform 0.35s ease;
}

.news__view-all:hover svg {
  transform: translateX(4px);
}

/* News Responsive */
@media (max-width: 900px) {
  .news {
    padding: 72px 0 80px;
  }

  .news__container {
    padding: 0 24px;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .news__card--featured {
    grid-row: auto;
  }

  .news__card-img {
    height: 180px;
  }

  .news__card--featured .news__card-img {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .news__card-body {
    padding: 20px 20px 22px;
  }

  .news__card--featured .news__card-body {
    padding: 22px 22px 26px;
  }

  .news__card--featured .news__card-title {
    font-size: 1.15rem;
  }
}

/* ===================================================
   FOOTER
   =================================================== */

.footer {
  background: #111111;
  color: #c0c0c0;
  position: relative;
}

.footer__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 48px 56px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

/* --- Left Column --- */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__newsletter-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: #a0a0a0;
}

/* Newsletter form */
.footer__form {
  display: flex;
  gap: 0;
}

.footer__input {
  flex: 1;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 50px 0 0 50px;
  background: transparent;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer__input::placeholder {
  color: #777;
}

.footer__input:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.footer__subscribe {
  padding: 12px 28px;
  background: var(--orange-600);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.footer__subscribe:hover {
  background: var(--orange-700);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer__social:hover {
  background: var(--orange-600);
  color: #fff;
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* Acknowledgment */
.footer__acknowledgment {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: #6a6a6a;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Right Columns: Links --- */
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__col-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  position: relative;
}

.footer__col-heading--accent {
  color: var(--orange-500);
}

.footer__link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: #999;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer__link:hover {
  color: #fff;
  padding-left: 4px;
}

/* --- Bottom Bar --- */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 48px;
}

.footer__copy {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: #555;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 32px 48px;
  }

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__bottom-inner {
    padding: 24px 32px;
  }
}

@media (max-width: 768px) {
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }
}

@media (max-width: 480px) {
  .footer__container {
    padding: 48px 20px 40px;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__form {
    flex-direction: column;
    gap: 10px;
  }

  .footer__input {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
  }

  .footer__subscribe {
    border-radius: 50px;
    text-align: center;
  }

  .footer__bottom-inner {
    padding: 20px;
  }
}

/* ===================================================
   ANIMATIONS — Load & Scroll
   =================================================== */

/* --- Keyframes --- */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Load: topbar & header slide in from top --- */
.anim-slidedown {
  animation: slideDown 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* --- Load: nav links fade down staggered --- */
.anim-fadedown {
  opacity: 0;
  animation: fadeDown 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* --- Load: hero elements fade up staggered --- */
.anim-hero {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* --- Scroll reveal for content below hero --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Respect reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
  .anim-slidedown,
  .anim-fadedown,
  .anim-hero {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================
   SEARCH POPUP
   =================================================== */
.search-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}

.search-popup.open {
  pointer-events: auto;
  visibility: visible;
}

/* Backdrop */
.search-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-popup.open .search-popup__backdrop {
  opacity: 1;
}

/* Panel */
.search-popup__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 100px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-30px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s ease;
}

.search-popup.open .search-popup__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.search-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.search-popup__label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.search-popup__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-50);
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray-600);
  transition:
    background var(--transition) ease,
    color var(--transition) ease;
}

.search-popup__close:hover {
  background: var(--orange-100);
  color: var(--orange-600);
}

/* Body */
.search-popup__body {
  padding: 1.5rem;
}

.search-popup__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  transition: border-color var(--transition) ease;
}

.search-popup__input-wrap:focus-within {
  border-color: var(--orange-400);
}

.search-popup__icon {
  flex-shrink: 0;
  color: var(--gray-400);
}

.search-popup__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray-800);
}

.search-popup__input::placeholder {
  color: var(--gray-400);
  font-weight: 300;
}

.search-popup__hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: right;
}

.search-popup__hint kbd {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: 'Source Sans 3', monospace;
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Responsive */
@media (max-width: 700px) {
  .search-popup__panel {
    max-width: calc(100% - 2rem);
    margin-top: 70px;
    border-radius: 12px;
  }
}
