:root {
  --bg: #f9f9f7;
  --accent: #65A321;
  --deep: #113223;
  --soft: #A2C955;
  --light-green: #DFF3CC;
  --light: #fff;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

/* BASIC RESET */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--deep);
}

strong {
  color: var(--accent);
}

/* ============================
      HEADER & NAVBAR
   ============================ */

.navbar {
  background: var(--light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 30px;
}

/* Only navbar container should be flex */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--deep);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

/* ============================
         HERO SECTION
   ============================ */

.hero {
  position: relative;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=2400&auto=format&fit=crop') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: brightness(0.8);
}

/* Animation */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--light);
  padding: 0 20px;
  max-width: 700px;
  opacity: 0;
  animation: fadeUp 1.8s ease-out forwards;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--light);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f1f1f1;
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: var(--accent);
  color: var(--light);
  transition: 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: var(--soft);
  color: var(--deep);
  transform: translateY(-3px);
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn.secondary:hover {
  background: var(--soft);
  color: var(--deep);
}


/* ============================
         PAGE HEADERS
   ============================ */

.page-header {
  text-align: center;
  padding: 80px 20px 40px;
}

.page-header h1 {
  color: var(--deep);
  font-size: 32px;
}

/* ============================
           ABOUT PAGE
   ============================ */

.about-page {
  background: url('/assets/aboutBG.jpg') center/cover no-repeat;
  min-height: 100vh;
  color: var(--deep);
}

.intro-container,
.about-container {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 50px auto;
}

.intro-section {
  padding: 80px 20px;
  text-align: center;
}

.intro-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--soft);
}

.about-container ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 15px;
  padding: 0;
}

.about-container li {
  background: #A2C955;
  border-radius: 20px;
  padding: 10px 20px;
  color: #113223;
  font-weight: 500;
}

/* ============================
           SERVICES
   ============================ */

.services-section {
  background: #113223;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  margin:10rem;
}

.services-section h2 {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp 1.8s ease-out forwards;
  animation-delay: 0.5s;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-card {
  background: #d0f0d0;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  max-width: 340px;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* ============================
       TESTIMONIAL GRID
   ============================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.testimonial-card {
  background: linear-gradient(135deg, #2b5317, #77b717);
  padding: 20px;
  height: 100%;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ============================
           BLOG SECTION
   ============================ */

.blog-heading {
  font-size: 4rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 5rem;
  opacity: 0;
  animation: fadeUp 1.8s ease-out forwards;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  margin: 30px;
}

.blog-card {
  background: #fff;
  padding: 3em;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.read-more {
  color:#65A321;
}
/* ============================
           CONTACT SECTION
   ============================ */

.contact-section {
  background: url("/assets/contact-bg.jpg") center/cover no-repeat;
  width: 100%;
  display: flex;
  padding-left: 5%;
}

.contact-wrapper {
  width: 100%;
  max-width: 450px;
  height:80%;
  margin: 2rem;
  margin-top: 5rem;
  background: #A2C955;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,1);
}

.contact-right {
  padding-left: 20px;
  max-width: 500px;
  margin: 10%;
  text-align: center;
}
.contact-form label {
  padding-bottom: 1rem;
}
.contact-form input,
  .contact-form textarea {
    width: 100%;
    border-radius: 0.6rem;
    background-color: #b5e94e;
    font-size: 0.9rem;
    border-color: #c2e4b0;
    padding: 0.5rem;
  }

.contact-btn {
  margin-top: 1rem;
  border-radius: 0.5rem;
  background: #276a06;
  color: white;
  padding: 4%;
}
.my-card {
  width: 100%;
  height:40%;
}

/* ============================
             FOOTER
   ============================ */

.footer {
  text-align: center;
  padding: 20px;
  background: #205b03;
  color: #f1f1f1;
  font-size: 14px;
}

.footer-social-icons a {
  color: #fff;
  margin: 0 12px;
  font-size: 22px;
}

/* ============================
        MOBILE NAVIGATION
   ============================ */

#menu-toggle { display: none; }

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background: var(--deep);
}

/* ============================
      RESPONSIVE FIXES
   ============================ */

@media (max-width: 1024px) {
  body { font-size: 15px; }
}

/* MOBILE — NAVBAR */
@media (max-width: 768px) {

  .menu-icon { display: flex; }

  nav {
    display: none;
    flex-direction: column;
    background: var(--light);
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 10px;
    width: 100%;
  }

  #menu-toggle:checked ~ nav { display: flex; }

  .container { flex-direction: column; }
  .logo img { height: 70px; }
}

/* MOBILE — HERO */
@media (max-width: 768px) {

  .hero { min-height: 70vh; }

  .hero-content h2 { font-size: 26px; }
  .hero-content p { font-size: 16px; }

  .buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn { width: 100%; }
}

/* MOBILE — ABOUT */
@media (max-width: 768px) {

  .about-page {
    background-attachment: scroll !important;
  }

  .intro-container,
  .about-container {
    padding: 25px;
    margin: 20px;
  }

  .intro-photo {
    width: 120px;
    height: 120px;
  }

  .about-container ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* MOBILE — SERVICES */
@media (max-width: 768px) {

  .services-section { background: #113223;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  margin: 0;
}
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { max-width: 100%; }
}

/* MOBILE — BLOG */
@media (max-width: 768px) {

  .blog-heading { font-size: 2.5rem; }
  .blog-grid { grid-template-columns: 1fr; margin: 10px; }
  .blog-card img { height: 180px; }
}

/* MOBILE — TESTIMONIALS */
@media (max-width: 768px) {

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
}

/* MOBILE — CONTACT */
@media (max-width: 768px) {

  .contact-section {
    flex-direction: column;
    padding: 20px;
  }

  .contact-wrapper {
    width: 100%;
    max-width: 420px;
    margin: auto;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    border-radius: 0.6rem;
    background-color: #b5e94e;
    font-size: 0.9rem;
    border-color: #c2e4b0;
    padding: 0.5rem;
  }
}
.contact-btn {
  border-radius: 0.5rem;
  background: #276a06;
  color: white;
  padding: 4%;
}

/* XS DEVICES */
@media (max-width: 480px) {

  .hero-content h2 { font-size: 22px; }
  .hero-content p { font-size: 14px; }
}
