* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    height: 100%;
    font-family: 'Cormorant Garamond', serif;
    scroll-behavior: smooth;
  }
  
/* Navbar Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.45); /* dark, semi-transparent */
  backdrop-filter: blur(8px);         /* blurred background effect */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  padding: 0 30px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* deeper shadow */
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar .logo {
  display: flex;
  align-items: center;
  flex: 0;
  margin-left: 60px;
}

.navbar .logo img {
  height: 260px;
  margin-top: 10px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 60px;
}

.nav-buttons .nav-item {
  display: flex;
  align-items: center;      /* vertically centers icon & text */
  justify-content: center;
  flex-direction: row;      /* icon and text side-by-side */
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: none;
}

.nav-buttons .nav-item:hover {
  color: #98C78A;
}

.nav-buttons .nav-icon {
  width: 60px;               /* or keep 60px if you prefer big icons */
  height: 60px;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInSlideLeft 0.6s forwards;
  margin-right: -4px;        /* brings icon and text closer */
  position: relative;
  top: 1px;                  /* adjust to vertically center icon if needed */
}


/* Fade-in from left */
@keyframes fadeInSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


.nav-buttons .nav-text {
  opacity: 0;
  transform: translateX(-20px);
  white-space: nowrap;
  transition: all 0.3s ease;
  margin-left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, margin-left 0.3s ease, color 0s ease;
}

/* When .show-text is triggered after 1.5s */
.nav-buttons .nav-item.show-text .nav-text {
  opacity: 1;
  transform: translateX(0);
  margin-left: 12px;
}


  
  /* Hero Section */

  .parallax-hero {
    height: 95vh;
    background-image: url('herobg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
  }
  
  
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 12rem 2rem 6rem 2rem; /* increased top padding */
    color: #fff;
    animation: modernFadeIn 0.5s ease-out forwards;
    opacity: 0; /* Starts hidden until animation kicks in */
    animation-delay: 0.3s;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  
  .hero-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 3rem;          /* more vertical + horizontal space */
    background-color: #2F6C3F;
    color: #fff;
    font-size: 1.25rem;          /* increase text size */
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
  }
  
  
  .hero-btn:hover {
    background-color: #0A481E;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  }
  
  @keyframes modernFadeIn {
    0% {
      opacity: 0;
      transform: scale(0.98);
      filter: blur(2px);
    }
    100% {
      opacity: 1;
      transform: scale(1);
      filter: blur(0);
    }
  }
  @keyframes slideFadeIn {
    0% {
      opacity: 0;
      transform: translateX(-30px);
      filter: blur(5px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
      filter: blur(0);
    }
  }
  
  
  .hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color:#2F6C3F;
  }
  
  .hero-content p {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;  /* Top margin pushes it down, auto centers it */
    color:#2F6C3F;
    font-weight:600;
  }
  
  .section h2 {
    font-size: 2.5rem;
  }
  .section-divider {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #0A481E,#2F6C3F,#4F8A60);
    opacity: 0;
    transform: translateX(-50%);
    border-radius: 2px;
    margin-bottom: 0; /* ensure no gap between divider and section */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .section-divider.animate {
    animation: fadeInLeftToRight 1.5s ease-out forwards;
  }
  
  @keyframes fadeInLeftToRight {
    0% {
      opacity: 0;
      transform: translateX(-50%);
      width: 0;
    }
    100% {
      opacity: 1;
      transform: translateX(0);
      width: 100%;
    }
  }
   
  .info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 80px 40px;
    background: #f9f9f9;
  }
  
  .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    width: 360px;
    min-height: 500px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.8s ease-out;
    opacity: 0;
    transform: translateY(40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pushes content apart */
  }
  
  
  /* When visible on scroll */
  .card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: #2F6C3F;
  }
  
  .card p {
    font-size: 1rem;
    color: #2f2f2f;
    padding: 0 1.5rem 1rem;
  }
  
  .card-btn {
    display: inline-block;
    margin: 1rem auto 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #2F6C3F;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
  
    margin-top: auto; /* pushes button to bottom of card */
  }
  
  
  .card-btn:hover {
    background-color: #0A481E;
  }
/* Hero background section */
.hero-background {
  background-image: url('svbg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: visible; /* Allow shadow to appear outside */
  z-index: 10; /* Bring section above everything */
}

/* Dark overlay gradient */
.hero-background::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

/* Bottom 3D shadow below the hero section */
.hero-background::after {
  content: "";
  position: absolute;
  bottom: 0px; /* ⬅️ was -30px, now snug to the image */
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  z-index: 9;
  pointer-events: none;
}

.hero-background h1 {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem 2rem;
  border-radius: 10px;

  /* Inner fill color */
  color: #ffffff;

  /* Outline using text-shadow */
  text-shadow:
    -2px -2px 0 #2f2f2f,
     2px -2px 0 #2f2f2f,
    -2px  2px 0 #2f2f2f,
     2px  2px 0 #2f2f2f;
}


/* Polished Section Layout */

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.defined-section {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 2.5rem 1.8rem;
  background: rgba(255, 255, 255, 0.2); /* semi-transparent white */
  backdrop-filter: blur(4px); /* optional blur behind text */
  -webkit-backdrop-filter: blur(4px); /* for Safari support */
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

/* Light background variation */
.defined-section.motto {
  background: rgba(255, 255, 255, 0.2); /* make sure it's also transparent */
  border: 1px solid #dcdcdc;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #174c2b;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background-color: #2f6c3f;
  margin: 16px auto 0 auto;
  border-radius: 2px;
}

/* Paragraph and list */
.defined-section p {
  font-size: 1.8rem;
  line-height: 1.9;
  color: #222;
  margin-bottom: 1.5rem;
  text-align: center;
}

.defined-section ul {
  padding-left: 1.8rem;
  margin-top: 1.5rem;
}

.defined-section li {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 0.6rem;
}

/* Blockquote for the Motto */
.defined-section blockquote {
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.9;
  color: #2f2f2f;
  border-left: 5px solid #2f6c3f;
  padding-left: 1.5rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-left: 5px solid #2f6c3f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}
.shared-background-wrapper {
  background-image: url('homepagesec2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  position: relative; /* Required for pseudo-element positioning */
  z-index: 1;
  overflow: hidden; /* Prevents overlay from spilling out */
}

.shared-background-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8));
  z-index: 0;
}

/* Ensure content stays above overlay */
.shared-background-wrapper > * {
  position: relative;
  z-index: 1;
}
  
  .refined-footer {
    background-color: #fdfdfd;
    color: #2f2f2f;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    padding: 60px 40px 30px;
  }
  
  .footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .footer-col {
    flex: 1;
    min-width: 220px;
  }
  
  .footer-col.wide {
    flex: 2;
  }
  .footer-col strong {
    display: inline-block;
    margin-top: 16px;
  }
  
  
  .footer-col h4 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 600;
  }
  
  .footer-col p,
  .footer-col a {
    color: #2f2f2f;
    line-height: 1.6;
    text-decoration: none;
  }
  .footer-col p + h4 {
    margin-top: 24px; /* or whatever value feels right */
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col a:hover {
    text-decoration: underline;
  }
  
  .footer-bar {
    border-top: 1px solid #ddd;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 15px;
    color: #555;
  }
  
  /* === Mobile Responsiveness Enhancements === */

@media (max-width: 768px) {

  /* Navbar stacking */
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px;
    align-items: flex-start;
  }

  .navbar .logo {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .navbar .logo img {
    height: 160px;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 16px;
    margin-right: 0;
    width: 100%;
  }

  .nav-buttons .nav-item {
    justify-content: flex-start;
    font-size: 16px;
  }

  .nav-buttons .nav-icon {
    width: 40px;
    height: 40px;
  }

  /* Hero section spacing */
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .hero-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  /* Info cards stacked */
  .info-cards {
    flex-direction: column;
    padding: 40px 20px;
  }

  .card {
    width: 100%;
    min-height: auto;
  }

  /* Hero background shrink */
  .hero-background h1 {
    font-size: 2rem;
    padding: 1rem;
  }

  /* Defined Section */
  .defined-section {
    padding: 2rem 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .defined-section p,
  .defined-section li,
  .defined-section blockquote {
    font-size: 1.1rem;
    text-align: justify;
  }

  .defined-section blockquote {
    padding: 1rem;
  }

  /* Footer layout stacked */
  .footer-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-col h4 {
    font-size: 18px;
  }

  .footer-bar {
    font-size: 14px;
  }
}

/* Optional small screens under 480px */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 0.95rem;
  }

  .card-btn {
    font-size: 0.95rem;
  }
}

/* Done! This will make the site mobile-friendly */
/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px;
  gap: 6px;
  z-index: 2000;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-buttons {
    position: absolute;
    top: 80px; /* Below the smaller navbar */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95); /* strong dark background */
    padding: 1rem 2rem;
    border-radius: 0 0 12px 12px;
    display: none;
    flex-direction: column;
    z-index: 999;
  }

  .nav-buttons.active {
    display: flex;
  }

  .nav-buttons .nav-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: white;
  }

  .nav-buttons .nav-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    opacity: 1; /* Make sure they show */
  }
}
/* === PHONE-LIKE DEVICES (portrait orientation, small screens) === */
@media screen and (orientation: portrait) and (max-width: 767px) {

  /* Navbar */
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px;
    align-items: flex-start;
  }

  .navbar .logo {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .navbar .logo img {
    height: 140px;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 16px;
    margin-right: 0;
    width: 100%;
  }

  .nav-buttons .nav-item {
    justify-content: flex-start;
    font-size: 16px;
  }

  .nav-buttons .nav-icon {
    width: 36px;
    height: 36px;
  }

  /* Hero */
  .hero-content {
    padding-top: 8rem;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-content p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    padding: 0 1rem;
  }

  .hero-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .hero-background h1 {
    font-size: 2rem;
    padding: 1rem;
  }

  /* Cards */
  .info-cards {
    flex-direction: column;
    padding: 40px 20px;
  }

  .card {
    width: 100%;
    min-height: auto;
  }

  .card h3 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .card p {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }

  .card-btn {
    font-size: 1rem;
  }

  /* Section Text */
  .defined-section {
    padding: 2rem 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .defined-section p,
  .defined-section li,
  .defined-section blockquote {
    font-size: 1.1rem;
    text-align: justify;
  }

  .defined-section blockquote {
    padding: 1rem;
  }

  /* Footer */
  .footer-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-col h4 {
    font-size: 18px;
  }

  .footer-bar {
    font-size: 14px;
  }
}


/* === LAPTOP + TABLET DEVICES (landscape orientation OR min-width: 768px) === */
@media screen and (orientation: landscape), screen and (min-width: 768px) {

  .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero-content p {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
  }

  .defined-section p,
  .defined-section li,
  .defined-section blockquote {
    font-size: clamp(1rem, 1.2vw, 1.8rem);
  }

  .card h3 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
  }

  .card-btn {
    font-size: 1rem;
  }

  .hero-background h1 {
    font-size: 4rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}




  
  
