:root {
  --gold: #d8c529;
  --green: #36aa77;
  --dark: #454545;
  --cream: #f7f4df;
  --ink: #20251f;
}

/* ==========================================================
   Global Styles
========================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #fbfaef);
}

a {
  text-decoration: none;
}

/* ==========================================================
   Top Bar
========================================================== */

.topbar {
  background: var(--dark);
  color: #fff;
}

.topbar a {
  color: #fff;
}

/* ==========================================================
   Branding
========================================================== */

.brand-logo {
  width: 245px;
  max-height: 64px;
  object-fit: contain;
}

/* ==========================================================
   Navigation
========================================================== */

.navbar .nav-link {
  color: #333;
  font-weight: 200;
}

.navbar .nav-link:hover {
  color: var(--green);
}

.navbar .nav-link i {
  width: 1.2rem;
  text-align: center;
  color: var(--green);
}

.navbar .nav-link:hover i {
  color: var(--gold);
}

/* ==========================================================
   Buttons
========================================================== */

.btn-gold {
  background: var(--gold);
  color: #000;
  border: 2px solid #bba900;
  font-weight: 700;
}

.btn-gold:hover {
  background: #f0db2a;
  color: #000;
}

.btn-green {
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.hero-content .btn i,
.btn i {
  vertical-align: middle;
}

/* ==========================================================
   Hero Section
========================================================== */

.hero-slide {
  min-height: 650px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding-top: 150px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
}

.page-hero {
  padding: 100px 0;
  background: linear-gradient(120deg, var(--dark), #234b3a);
  color: #fff;
}

.page-hero h1 i {
  font-size: 0.75em;
  color: var(--gold);
}

/* Page-specific hero backgrounds */

.page-hero {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(20, 30, 27, 0.86),
    rgba(35, 75, 58, 0.62)
  );
}

.page-hero-about {
  background-image: url("../img/mission-background.jpg");
  background-position: center 42%;
}

.page-hero-events {
  background-image: url("../img/community-team.jpg");
}

.page-hero-intouch {
  background-image: url("../img/hero-2.jpg");
}

.page-hero-volunteer {
  background-image: url("../img/helping-hands.jpg");
}

/* Go to top */

.go-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid #bba900;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

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

.go-to-top:hover,
.go-to-top:focus {
  background: #f0db2a;
  color: #000;
}

/* ==========================================================
   Layout
========================================================== */

.section-pad {
  padding: 85px 0;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 800;
}

/* ==========================================================
   Cards
========================================================== */

.service-card,
.market-card,
.stat-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: 0 14px 40px rgba(44, 60, 44, 0.12);
}

.market-card img {
  height: 235px;
  object-fit: cover;
}

.dashboard-card {
  border-left: 5px solid var(--green);
}

/* ==========================================================
   Icons
========================================================== */

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--green);
  font-size: 1.4rem;
}

/* ==========================================================
   Parallax Section
========================================================== */

.parallax {
  background: url("../img/helping-hands.jpg") center / cover fixed;
  position: relative;
  color: #fff;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 35, 0.78);
}

.parallax .container {
  position: relative;
}

/* ==========================================================
   Video
========================================================== */

.video-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ==========================================================
   Testimonials (Original)
========================================================== */

.testimonial {
  max-width: 850px;
  margin: auto;
  padding: 50px;
  text-align: center;
}

.testimonial .quote {
  font-size: 1.25rem;
}

/* ==========================================================
   Forms
========================================================== */

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.75rem;
}

.form-label i,
label i {
  width: 1.1rem;
  text-align: center;
}

/* ==========================================================
   Footer
========================================================== */

.site-footer {
  background: #303633;
  color: #eee;
  margin-top: 0 !important;
}

.site-footer a {
  display: block;
  color: #eee;
  margin: 0.35rem 0;
}

.site-footer .legal-links {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}

.site-footer .legal-links a {
  display: inline;
  margin: 0;
}

.footer-logo {
  width: 230px;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.15));
}

.footer-bottom > a {
  margin: 0;
}

/* ==========================================================
   Mission Section
========================================================== */

.mission-parallax {
  background: url("../img/mission-background.jpg") center / cover fixed;
  position: relative;
  overflow: hidden;
}

.mission-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 25, 61, 0.95),
    rgba(4, 25, 61, 0.85)
  );
}

.mission-parallax .container {
  z-index: 1;
}

.mission-heading .lead {
  max-width: 760px;
  font-size: 1rem;
}

.mission-card {
  height: 100%;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.mission-card h3 {
  margin-top: 14px;
}

.mission-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e3f1ec;
  color: #d8a817;
  font-size: 1.15rem;
}

/* ==========================================================
   Testimonials (Updated)
========================================================== */

.testimonials-section {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

.testimonials-watermark {
  position: absolute;
  top: 5px;
  left: 6%;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  font-weight: 700;
  color: rgba(8, 29, 62, 0.055);
  pointer-events: none;
}

.testimonial-nav {
  gap: 18px;
  margin-top: 24px;
}

.testimonial-nav button {
  border: 0;
  background: transparent;
  font-size: 1.2rem;
}

.testimonial-card {
  height: 100%;
  padding: 26px 0 12px;
  border-top: 1px solid #d3d3d3;
}

.testimonial-card .stars {
  color: #e4a600;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.testimonial-card h3 {
  font-weight: 700;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.author-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d8a817;
  border-radius: 50%;
  color: #081d3e;
}

.testimonial-author strong {
  display: block;
  color: #c28c12;
}

.testimonial-author small {
  display: block;
  font-size: 0.72rem;
  color: #444;
}

/* ==========================================================
   Hear From You
========================================================== */

.hear-section {
  background: #fff;
}

.hear-section h2 {
  color: #071d3e;
}

.lead-small {
  max-width: 460px;
  color: #536174;
}

.contact-list {
  margin-top: 26px;
}

.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-list i {
  width: 18px;
  margin-top: 4px;
  color: #168a5b;
}

.contact-panel {
  padding: 34px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(13, 32, 58, 0.12);
}

.contact-panel .form-label {
  font-size: 0.9rem;
  color: #20251f;
}

.contact-panel .form-control {
  background: #fff;
  border-color: #cfd7df;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.topbar-social a:hover,
.topbar-social a:focus {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

/* ==========================================================
   Newsletter
========================================================== */

.newsletter-section {
  position: relative;
  padding: 55px 0;
  background:
    linear-gradient(120deg, rgba(7, 29, 62, 0.92), rgba(25, 79, 63, 0.86)),
    url("../img/helping-hands.jpg") center center / cover no-repeat;
  background-attachment: fixed;
}

.newsletter-section .container {
  position: relative;
  z-index: 1;
}

.newsletter-short-form .input-group .form-control {
  min-height: 54px;
}

/* ==========================================================
   Carousel
========================================================== */

.carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 4px;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 768px) {
  .newsletter-section {
    background-attachment: scroll;
  }

  .hero-slide {
    min-height: 560px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .brand-logo {
    width: 190px;
  }

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

@media (max-width: 767.98px) {
  .mission-parallax {
    background-attachment: scroll;
  }

  .contact-panel {
    padding: 24px;
  }

  .newsletter-short-form .input-group {
    display: block;
  }

  .newsletter-short-form .input-group > * {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px !important;
  }

  .testimonials-watermark {
    display: none;
  }
}
