/********** Root Colors **********/
:root {
  --primary: #fff;         /* Tea Green */
  --secondary: #1b5e20;       /* Deeper Tea Green */
  --light: #eef9f1;
  --dark: #121212;
  --accent: #2ecc71;
  --accent-hover: #388e3c;
  --brand-green: #006400;     /*ok*/
  --brand-dark: #006400;      /*ok*/
  --muted: #666;
  --border: #ddd;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --card-bg: #fff;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/********** Global Styles **********/
body {
  font-family: 'Nunito', sans-serif;
  background-color: #f9fafb;
  color: var(--dark);
  line-height: 1.7;
  margin: 0;
  padding-top: 75px;

  
}

h1, h2, .fw-bold {
  color: var(--brand-dark);
  font-weight: 800 !important;
}
h3, h4, .fw-semi-bold {
  font-weight: 700 !important;
  
}
h5, h6, .fw-medium {
  font-weight: 600 !important;
  color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) {
  h5, h2, h3 {
    color: var(--light); /* Dark mode override */
  }
}
p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark); /* Light mode default */
}

@media (prefers-color-scheme: dark) {
  p {
    color: var(--light); /* Dark mode override */
  }
}

.text-white {
  color: #ffffff !important;
}

/********** Dark Mode **********/
@media (prefers-color-scheme: dark) {
  :root {
    --card-bg: #1c1c1c;
    --border: #333;
    --muted: #aaa;
    --shadow: 0 2px 8px rgba(0,0,0,0.4);
  }

  body {
    background-color: #121212;
    color: #f1f1f1;
  }

  .navbar {
    background-color: var(--brand-dark) !important;
  }

  .navbar-nav .nav-link {
    color: #fff;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--accent);
  }

  footer {
    background-color: var(--brand-dark) !important;
  }

  .service-box,
  .sidebar,
  .key-card,
  .contact-info,
  .contact-form,
  .news-articles .post {
    background: var(--card-bg);
    color: #fff;
  }

  .service-icon {
  font-size: 40px;
  color: var(--brand-dark); /* dark green in light mode */
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .service-icon {
    color: var(--accent); /* green in dark mode */
  }
}


  .sidebar h3,
  .key-card h4,
  .contact-info h3,
  .contact-form h3 {
    color: var(--accent);
  }

  a {
    color: var(--accent);
  }

  a:hover {
    text-decoration: underline;
  }
}




/********** Accordion Styling **********/
.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-button {
  background: var(--card-bg);
  color: var(--dark);
  font-weight: 600;
  padding: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.accordion-button.collapsed {
  border-bottom: none;
}

.accordion-button i {
  font-size: 1.1rem;
  color: var(--accent);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 187, 106, 0.25);
  outline: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(102, 187, 106, 0.1);
  color: var(--brand-dark);
}

.accordion-body {
  background: var(--card-bg);
  color: var(--dark);
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

/********** Accordion Styling: Dark Mode **********/
@media (prefers-color-scheme: dark) {
  .accordion-button {
    background: var(--card-bg);
    color: var(--light);
    border-bottom: 1px solid var(--border);
  }

  .accordion-button:not(.collapsed) {
    background: rgba(102, 187, 106, 0.15);
    color: var(--accent);
  }

  .accordion-body {
    color: var(--light);
    background: var(--card-bg);
    border-color: var(--border);
  }

  .accordion-button i {
    color: var(--accent);
  }
}







/********** Booking Form Inputs **********/
form input,
form textarea {
  background: var(--card-bg);
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

form input::placeholder,
form textarea::placeholder {
  color: var(--muted);
}

form input:focus,
form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(102, 187, 106, 0.25);
}

/* Dark mode override */
@media (prefers-color-scheme: dark) {
  form input,
  form textarea {
    background: var(--card-bg);
    color: var(--light);
    border-color: var(--border);
  }

  form input::placeholder,
  form textarea::placeholder {
    color: var(--muted);
  }
}


/* Root color variables for easy theming */

/* Reset topbar styling */
.topbar {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  background-color: #fff;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0.4rem 0;
    
}

/* Topbar container: Center & responsive */
.topbar .container {
  max-width: 1200px;
  padding:0 50px;
}

/* Topbar navigation links */
.topbar-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  
  
}

.topbar-nav .topbar-link {
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  position: relative;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  border-radius: 4px;
}

.topbar-nav .topbar-link:hover,
.topbar-nav .topbar-link:focus-visible {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
  outline-offset: 3px;
  outline: 2px solid var(--brand-green);
}

.topbar-nav .topbar-link.active {
  color: var(--brand-green);
  font-weight: 700;
  border-bottom-color: var(--brand-green);
  pointer-events: none;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .topbar {
    background-color: var(--dark);
    box-shadow: 0 2px 6px rgba(255 255 255 / 0.05);
    border-bottom: 1px solid var(--border);
  }
  .topbar-nav .topbar-link {
    color: var(--muted);
  }
  .topbar-nav .topbar-link:hover,
  .topbar-nav .topbar-link:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
    outline-color: var(--accent);
  }
  .topbar-nav .topbar-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
}

/********** Navbar **********/

.navbar {
  background: linear-gradient(90deg, #238636, #2ecc71);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0.8rem;
  z-index: 1050;
}

/* Center container with responsive max width */
.navbar .container {
  max-width: 1200px;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar brand */
.navbar-brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.navbar-brand img {
  height: 32px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover,
.navbar-brand:focus-visible {
  color: #c7f5d9;
}

.navbar-brand:hover img,
.navbar-brand:focus-visible img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 2px rgba(255 255 255 0.7));
}

/* Navbar toggler */
.navbar-dark .navbar-toggler {
  border: 1.5px solid #c7f5d9;
  color: #c7f5d9;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.navbar-dark .navbar-toggler:hover,
.navbar-dark .navbar-toggler:focus-visible {
  background-color: rgba(199, 245, 217, 0.1);
  color: #fff;
  outline-offset: 3px;
  outline: 2px solid #c7f5d9;
}

/* Navbar nav */
.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-left: 2rem;
}

.navbar-nav .nav-link {
  color: #e6ffe8;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
  color: #fff;
  background-color: rgba(255 255 255 / 0.15);
  text-decoration: none;
  outline-offset: 3px;
  outline: 2px solid #c7f5d9;
}

.navbar-nav .nav-link.active {
  color: #d4f4dd;
  font-weight: 700;
  text-decoration: underline;
  cursor: default;
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .navbar .container {
    justify-content: space-between;
  }
  .navbar-nav {
    margin-left: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  .navbar-nav .nav-link {
    font-size: 1.15rem;
  }
}

/* 🌿 Side Panel (Slide-In Drawer) */
.side-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: clamp(260px, 80vw, 320px); /* Responsive width */
  height: 100dvh; /* Use dynamic viewport height for better mobile behavior */
  background-color: var(--brand-green, #28a745);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease-in-out;
  z-index: 1200;
  overflow-y: auto;
  overflow-x: hidden;
  color: #e6ffe8;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

/* Show panel */
.side-panel.show {
  right: 0;
}

/* ✖ Close Button */
.side-panel-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.25rem;
  color: #ffffffcc;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.side-panel-close:hover,
.side-panel-close:focus-visible {
  color: #fff;
  outline: none;
}

/* 🧭 Nav Links */
.side-panel .navbar-nav {
  padding-left: 0;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-panel .nav-item {
  margin: 0;
}

.side-panel .nav-link {
  display: block;
  color: #ffffffcc;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.1rem);
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  background-color: transparent;
  text-decoration: none;
}

.side-panel .nav-link:hover,
.side-panel .nav-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  outline: none;
}

.side-panel .nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 🕶️ Backdrop */
.side-panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 1100;
}

.side-panel-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ─ Divider */
.side-panel hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 2rem 0 1rem;
  opacity: 0.6;
}

/* 🧭 Responsive Topbar Behavior */
@media (max-width: 767.98px) {
  .topbar-nav .topbar-link:not(.active) {
    display: none !important;
  }

  .topbar-nav {
    justify-content: center !important;
  }
}

/* 📱 Small screen full panel */
@media (max-width: 480px) {
  .side-panel {
    width: 100vw;
    border-radius: 0;
    padding: 1.25rem 0.75rem;
  }
}






/********** Cards **********/
.card {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 12px;
}
.card img {
  height: 200px;
  object-fit: cover;
}
.card-body h5 {
  color: var(--primary);
  font-weight: 600;
}




/********** Carousel **********/
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%; /* ✅ allow height to be controlled by container */
  filter: brightness(85%);
  transition: transform 0.8s ease;
}


.small-carousel {
  max-height: 400px;
  overflow: hidden;
}

.small-carousel .carousel-item {
  height: 400px; /* Or desired height */
}

.small-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.carousel-item img:hover {
  transform: scale(1.02);
}

/* Carousel Caption Styling */
.carousel-caption {
  background: rgba(0, 0, 0, 0.55);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  animation: fadeInUp 1.5s ease-out both;
  max-width: 90%;
  margin: auto;
}

.carousel-caption h1,
.carousel-caption p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Text Sizes */
@media (min-width: 768px) {
  .carousel-caption h1 {
    font-size: 4rem;
  }
  .carousel-caption p {
    font-size: 1.5rem;
  }
}



/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
}

/* News Ticker */
.news-ticker {
  background: #007f4f; /* Use your brand green if defined */
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.news-items {
  display: inline-flex;
  gap: 50px;
  animation: ticker 40s linear infinite;
  will-change: transform;
}

.news-items:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

@media (max-width: 600px) {
  .news-items {
    animation-duration: 80s;
    font-size: 0.9rem;
  }
}


/********** Services **********/
/********** Services **********/
.service-item,
.service-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover,
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(56, 142, 60, 0.2); /* Green tint from --accent-hover */
}

.service-icon {
  font-size: 40px;
  color: var(--dark);
  margin-bottom: 20px;
}

/********** Dark Mode (auto) **********/
@media (prefers-color-scheme: dark) {
  .service-item,
  .service-box {
    background: var(--card-bg);
    color: var(--light);
    box-shadow: var(--shadow);
  }

  .service-item:hover,
  .service-box:hover {
    box-shadow: 0 10px 25px rgba(102, 187, 106, 0.25); /* Brighter green tint in dark mode */
  }

  .service-icon {
    color: var(--accent); /* Override for better visibility in dark mode */
  }
}



/********** Section Titles **********/

.section-title h2 {
  font-weight: 700;
  color: var(--primary);
  border-left: 5px solid var(--secondary);
  padding-left: 15px;
}
.section-header {
  padding: 60px 0 30px;
  text-align: center;
}



.membership-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.membership-card h4 {
  color: var(--brand-green, #2d6a4f);
  margin-bottom: 15px;
}

.membership-card ul,
.membership-card ol {
  padding-left: 20px;
}

.download-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.download-card li {
  margin-bottom: 10px;
}

/* === Dark Mode Support === */
@media (prefers-color-scheme: dark) {
  .membership-card {
    background: #1e1e1e;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
  }

  .membership-card h4 {
    color: var(--brand-green-dark, #95d5b2);
  }

  .download-card {
    background: #2c2c2c;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.04);
  }

  .download-card li {
    color: #e9ecef;
  }

  .membership-card,
  .download-card {
    color: #e9ecef; /* General text color for dark background */
  }
}

    

/********** Page Header **********/


.page-header h1 {
  color: #fff;
  position: relative;
  z-index: 1;
  font-weight: 800;
  margin: 0;
  padding: 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem); /* responsive font size */
  line-height: 1.2;
}


.page-header {
  /* Background image with overlay */
  background:
    linear-gradient(rgba(0, 100, 0, 0.6), rgba(0, 100, 0, 0.3)),
     center/cover no-repeat;
  
  width: 100vw; /* Full viewport width */
  height: 400px;
  position: relative;

  /* Center content vertically & horizontally */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 1rem;
  margin-left: calc(-50vw + 50%); /*Break out of container to full width */

  overflow: hidden;
  color: #fff;
  box-sizing: border-box; /* to avoid unexpected width issues */
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    rgba(0, 100, 0, 0.15)
  ); /* gradient overlay for depth */
  z-index: 0;
  pointer-events: none; /* allows clicks through overlay */
}

.page-header h1 {
  color: #fff;
  position: relative;
  z-index: 1;
  font-weight: 800;
  margin: 0;
  padding: 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem); /* responsive font size */
  line-height: 1.2;
}

/* Responsive height for smaller screens */
@media (max-width: 600px) {
  .page-header {
    height: 300px;
  }
  
  .header-image {
    max-width: 100px;
    margin-top: 0.75rem;
  }
}

.container {
  max-width: 100%;
  width: 100%;
  margin: 0 ;
  padding-left: 1%;
  padding-right: 1%;
}

.content-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.content-card h4 {
  color: var(--brand-green, #2d6a4f);
  margin-bottom: 15px;
}

.content-card ul,
.membership-card ol {
  padding-left: 20px;
}

/* === Dark Mode Support === */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e9ecef;
  }

  .content-card {
    background: #1e1e1e;
    color: #e9ecef;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
  }

  .content-card h4,
  .content-card h5,
  .content-card h6,
  .content-card p,
  .content-card ul,
  .content-card label {
    color: #e9ecef;
  }

  /* FORM ELEMENTS */
  .content-card input,
  .content-card select,
  .content-card textarea {
    background-color: #2a2a2a;
    color: #e9ecef;
    border: 1px solid #444;
  }

  .content-card input::placeholder,
  .content-card textarea::placeholder {
    color: #aaa;
  }

  .content-card input:focus,
  .content-card select:focus,
  .content-card textarea:focus {
    border-color: #95d5b2;
    box-shadow: 0 0 0 2px rgba(149, 213, 178, 0.3);
    outline: none;
  }

  /* File input */
  .content-card input[type="file"] {
    background-color: #2a2a2a;
    color: #e9ecef;
  }

  /* Checkbox & radio */
  .content-card input[type="checkbox"],
  .content-card input[type="radio"] {
    accent-color: #95d5b2;
  }

  /* Alerts & helpers */
  .content-card .alert {
    background-color: #2a2a2a;
    color: #e9ecef;
    border-color: #444;
  }

  .content-card .form-text {
    color: #ccc;
  }

  .content-card .form-check-label {
    color: #e9ecef;
  }

  .content-card .form-check-input {
    background-color: #2a2a2a;
    border: 1px solid #444;
  }

  .content-card .btn-soft {
    background-color: #444;
    color: #fff;
  }

  .content-card .btn-outline-success {
    border-color: #95d5b2;
    color: #95d5b2;
  }

  .content-card .btn-outline-success:hover {
    background-color: #95d5b2;
    color: #1e1e1e;
  }

  /* Border on divs (optional, for inputs like dynamic field containers) */
  .content-card .border {
    border-color: #444 !important;
  }
}



/********** Content Boxes **********/
.content-box,
.sidebar-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;

  /* Animation defaults */
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.8s ease-out,
    transform 0.8s ease-out,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* Scroll-into-view animation trigger */
.content-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect (optional on desktop) */
@media (hover: hover) {
  .content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
}


/********** News Posts **********/
.news-articles .post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.news-articles .post:hover {
  transform: translateY(-3px);
}
.news-articles h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.news-articles time,
.news-articles p {
  color: var(--muted);
}




/********** Sidebar **********/
.sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar h3 {
  font-size: 1.2rem;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar li {
  margin-bottom: 0.75rem;
}
.sidebar a {
  color: var(--accent);
  text-decoration: none;
}
.sidebar a:hover {
  text-decoration: underline;
}

/********** Hero **********/
.hero {
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}
.hero h2 {
  font-size: 2.25rem;
}
.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}





/********** Key Contacts **********/
.key-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.key-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.key-card h4 {
  color: var(--accent);
}
.key-card p {
  color: var(--muted);
}





/********** Partner Section **********/
.partner-section {
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
}
.partner-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.partner-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}



/********** Contact Info & Form **********/
.contact-info, .contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-info h3, .contact-form h3 {
  color: var(--accent);
}
.contact-info p {
  color: var(--muted);
}
.contact-info a {
  color: var(--accent);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
form label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}
form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}
form textarea {
  min-height: 120px;
}



/********** Buttons **********/
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  transition: all 0.2s ease;
}
.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}



/********** Footer **********/
footer {
  background: var(--brand-green);
  color: #fff;
  padding-left: 2%;
  padding-right: 2%;
  
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-about {
  background-color: var(--secondary);
  padding: 15px;
  border-radius: 4px;
  margin-top: 2%;
  padding-left: 5%;
}
.footer-bottom {
  background-color: var(--primary);
  font-size: 14px;
}


/********** Back to Top **********/
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1000;
}
.back-to-top.show {
  display: flex;
}


.gallery-card {
  position: relative;
  width: 100%; /* Take full width available (responsive) */
  height: 300px; /* Fixed height for each image container */
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card img {
  object-fit: cover; /* Make sure the image covers the area without stretching */
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.gallery-card:hover {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ------------------------------
  General Product Card Styles
-------------------------------*/
.product-card {
  max-width: 320px;             /* card width */
  margin: auto;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  color: #28a745;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}





/* ------------------------------
  Swiper Highlight
-------------------------------*/
.swiper-container-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.productSwiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.productSwiper .swiper-slide-active .product-card {
  transform: scale(1.05);
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #28a745;
}

/* ------------------------------
  Infinite Scroll (Optional Wrapper)
-------------------------------*/
.products-scroll-wrapper {
  display: flex;
  gap: 20px;
  padding: 0 15px;
  animation: infiniteScroll 30s linear infinite;
}

.products-scroll-wrapper:hover {
  animation-play-state: paused;
}

@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.product-item {
  flex: 0 0 280px;
  min-width: 280px;
}

/* ------------------------------
  Custom Scrollbar
-------------------------------*/
.products-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.products-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
  background: #28a745;
  border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #218838;
}

/* ------------------------------
  Responsive Adjustments
-------------------------------*/
@media (min-width: 1200px) {
  .product-item { flex: 0 0 260px; min-width: 260px; }
}

@media (max-width: 992px) {
  .product-item { flex: 0 0 240px; min-width: 240px; }
}

@media (max-width: 768px) {
  .product-item { flex: 0 0 200px; min-width: 200px; }
  .products-scroll-wrapper { gap: 15px; width: 100%; }
}

/* 🌙 Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  .product-card {
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  }

  .card-title {
    color: #4ade80; /* Softer green for dark bg */
  }

  .card-text {
    color: #b0b0b0;
  }

  .btn-success {
    background: linear-gradient(45deg, #3ddc84, #20c997);
    color: #fff;
  }

  .btn-success:hover {
    background: linear-gradient(45deg, #2bb673, #1ea080);
  }

  .section-title {
    color: #4ade80;
  }

  .section-subtitle {
    color: #aaa;
  }

  /* Swiper buttons */
  .swiper-button-next,
  .swiper-button-prev {
    color: #4ade80;
  }

  /* Scrollbar in dark mode */
  .products-scroll-container::-webkit-scrollbar-track {
    background: #1a1a1a;
  }

  .products-scroll-container::-webkit-scrollbar-thumb {
    background: #4ade80;
  }

  .products-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2bb673;
  }
}


.produce-contact-card {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.produce-contact-card:hover {
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.15);
}

.produce-contact-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.produce-info h6 {
  margin: 0;
  font-weight: 600;
  color: #198754; /* stays green for brand */
}

.produce-info button {
  margin-top: 5px;
}

/* 🌙 Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .produce-contact-card {
    background: #1e1e1e;              /* dark background */
    border: 1px solid #2c2c2c;        /* subtle border */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 255, 0, 0.05); /* soft green glow */
  }

  .produce-contact-card:hover {
    box-shadow: 0 0 12px rgba(25, 135, 84, 0.25);
  }

  .produce-info h6 {
    color: #fff; /* lighter green for readability */
  }
}
