* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* ============================================ */
/* HEADER STYLES */
/* ============================================ */
.main-header {
  background: #f7f9f8;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 0;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none; /* Allows clicks to pass through to buttons */
}

.hero-container {
  width: 95%;
  max-width: 1230px;
  margin: auto;
	position: relative;
    z-index: 2;
}

.hero-content {
  max-width: 600px;
position: relative;
   z-index: 3;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(to bottom, #009e4d, #007634);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 118, 51, 0.178);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #f2f2f2, #eeeeee);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
  color: #444;
}

.btn-secondary {
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(to bottom, #f2f2f2, #eeeeee);
  color: #444;
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: linear-gradient(to bottom, #009e4d, #007634);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
  color: #ffffff;
}

.btn-icon {
  display: flex;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
/* Hero Section - Mobile Height Adjustment */
@media (max-width: 768px) {
    .hero {
		padding-top:15px !important;
        min-height: 60vh !important; /* Smaller height on mobile */
		padding-bottom: 15px !important;
    }
    
    .hero-content h1 {
        font-size: 32px;  /* Smaller heading */
    }
    
    .hero-content p {
        font-size: 16px;  /* Smaller text */
    }
}

@media (max-width: 480px) {
    .hero {
       padding-top:15px !important;
        min-height: 70vh !important; /* Smaller height on mobile */
		padding-bottom: 15px !important;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
}
/* ============================================ */
/* FOOTER STYLES */
/* ============================================ */
.footer {
  background: #0f2f22;
  color: #ffffff;
  padding-top: 70px;
}

.footer-container {
  width: 90%;
  max-width: 1230px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo a {
  text-decoration: none;
  color: #ffffff;
}

.footer-logo a:hover {
  color: #00c96b;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-logo .custom-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo .custom-logo {
  max-height: 50px;
  width: auto;
  height: auto;
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #cfd8d3;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #cfd8d3;
}

.footer-col ul li a {
  text-decoration: none;
  color: #cfd8d3;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00c96b;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #a8b3ad;
}

/* Footer Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer {
    padding-top: 50px;
  }
}

/* ============================================ */
/* STATS SECTION */
/* ============================================ */
.stats {
  background: #f7f9f8;
  padding: 60px 0;
}

.stats-container {
  width: 95%;
  max-width: 1230px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: #e5e5e5;
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
  flex-shrink: 0;
  object-fit: cover;
}

.stat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-text h3 {
  font-size: 45px;
  font-weight: 700;
  color: #003617;
  margin: 0;
  line-height: 1.2;
}

.stat-text p {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin: 5px 0 0 0;
}

/* Stats Responsive */
@media (max-width: 992px) {
  .stats-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .stat-item {
    width: calc(50% - 15px);
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats {
    padding: 40px 0;
  }
  
  .stat-item {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }
  
  .stat-text h3 {
    font-size: 36px;
  }
}

/* ============================================ */
/* SERVICES SECTION */
/* ============================================ */
.service-banner {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  color: #003617;
  text-align: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-banner h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.services-header {
  text-align: center;
  margin: 60px 0 40px;
}

.services-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #003617;
}

.services {
  padding: 80px 0;
}

.services.with-banner {
  margin-top: -9%;
  position: relative;
  z-index: 10;
}

.services.no-banner {
  margin-top: 0;
  padding-top: 0;
}

.services-container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background: #f7f9f8;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  flex: 0 1 calc(33.333% - 20px);
  min-width: 280px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.service-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
  margin-bottom: 20px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 20px;
  color: #003617;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.service-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Services Responsive */
@media (max-width: 1200px) {
  .service-card {
    flex: 0 1 calc(50% - 15px);
  }
  
  .services.with-banner {
    margin-top: -12%;
  }
}

@media (max-width: 768px) {
  .service-banner {
    height: 300px;
  }
  
  .service-banner h2,
  .services-header h2 {
    font-size: 36px;
  }
  
  .services.with-banner {
    margin-top: 0;
  }
  
  .services {
    padding: 60px 0;
  }
  
  .service-card {
    flex: 0 1 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .service-banner h2,
  .services-header h2 {
    font-size: 28px;
  }
}
.section-header .section-subtext {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 10px auto 0;
    line-height: 1.6;
}
.view-all-container{
	display: flex;
  margin-top: 60px;
  justify-content: center;
}

/* ============================================ */
/* CLIENTS CAROUSEL/GRID SECTION */
/* ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #003617;
}

.section-header p {
  margin-top:15px;
margin-bottom:15px;
}

.carousel-container {
  max-width: 1230px;
  margin: 0 auto 50px;
  background: #f7f9f8;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  padding: 30px 20px;
}

.carousel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.carousel-item {
  flex: 0 1 auto;
  width: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Clients Responsive */
@media (max-width: 992px) {
  .carousel {
    justify-content: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 140px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 120px;
  }
}

/* ============================================ */
/* CLIENTS SLIDER SECTION (Slick Version) */
/* ============================================ */
.client-slider-container {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 40px 40px 60px;
  background: #f7f9f8;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  position: relative;
}

.slider-item {
  display: flex !important;
  justify-content: center;
  align-items: center;
  outline: none;
  padding: 20px 10px;
}

.slider-item img {
  max-width: 170px;
  max-height: 70px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.slider-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Slick Arrow Styling */
.client-slider .slick-prev,
.client-slider .slick-next,
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
  width: 40px;
  height: 40px;
  background: #007634 !important;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
}

.client-slider .slick-prev:hover,
.client-slider .slick-next:hover,
.testimonial-slider .slick-prev:hover,
.testimonial-slider .slick-next:hover {
  background: #009e4d !important;
  transform: scale(1.1);
}

.client-slider .slick-prev,
.testimonial-slider .slick-prev {
  left: -20px;
}

.client-slider .slick-next,
.testimonial-slider .slick-next {
  right: -20px;
}

.client-slider .slick-prev:before,
.client-slider .slick-next:before,
.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
  font-size: 20px;
  color: white;
  opacity: 1;
}

/* Dots Styling */
.client-slider .slick-dots,
.testimonial-slider .slick-dots {
  bottom: -40px;
}

.client-slider .slick-dots li button:before,
.testimonial-slider .slick-dots li button:before {
  color: #007634;
  font-size: 12px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.client-slider .slick-dots li.slick-active button:before,
.testimonial-slider .slick-dots li.slick-active button:before {
  color: #007634;
  opacity: 1;
  transform: scale(1.2);
}

/* ============================================ */
/* TESTIMONIALS SECTION */
/* ============================================ */
.testimonials {
  padding: 80px 0;
  background: #f7f9f8;
}

.testimonials-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-slider-container {
  margin: 0 -15px;
  padding: 20px 0 60px;
}

.testimonial-slide {
  padding: 0 15px;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: #003617;
}

.client-info span {
  font-size: 13px;
  color: #007634;
}

/* Testimonials Responsive */
@media (max-width: 992px) {
  .testimonial-slider .slick-prev {
    left: -15px;
  }
  
  .testimonial-slider .slick-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-slider .slick-prev {
    left: -10px;
  }
  
  .testimonial-slider .slick-next {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 20px;
  }
  
  .client-info {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-text {
    text-align: center;
  }
}

/* ============================================ */
/* FAQ SECTION */
/* ============================================ */
.faq {
  padding: 80px 0;
  background: #ffffff;
}

.faq-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  color: #003617;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #007634;
}

.faq-question span {
  color: #007634;
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.3s ease;
  margin-left: 20px;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 20px 0;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }
  
  .faq-question {
    font-size: 16px;
  }
}

/* ============================================ */
/* BLOG SECTION */
/* ============================================ */
.blog-section {
  padding: 80px 0;
  background: #ffffff;
}

.blog-container {
  width: 90%;
  max-width: 1230px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(to bottom, #009e4d, #007634);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  color: #003617;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
  color: #007634;
}

.blog-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  font-weight: 600;
  text-decoration: none;
  color: #007634;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.read-more .arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.blog-card:hover .read-more {
  color: #009e4d;
}

.blog-card:hover .read-more .arrow {
  transform: translateX(4px);
}

.blog-footer {
  text-align: center;
  margin-top: 20px;
}

.view-all-btn {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid #007634;
  color: #007634;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.view-all-btn:hover {
  background: #007634;
  color: #fff;
	transform: translateY(-2px);
}

.view-all-btn .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover .arrow {
  transform: translateX(4px);
}

.no-posts {
  text-align: center;
  color: #666;
  padding: 40px;
  font-size: 16px;
}

/* Blog Responsive */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 60px 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header p {
    font-size: 15px;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 40px 0;
  }
  
  .view-all-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button.btn-primary {
  padding: 16px 30px;
  font-size: 16px;
}

.cta-button .btn-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover .btn-icon {
  transform: translateX(4px);
}

/* CTA Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 80px 0;
  }
  
  .cta-content h2 {
    font-size: 32px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-button.btn-primary {
    padding: 14px 30px;
    font-size: 15px;
  }
}

/* ============================================ */
/* SLIDER CONTROLS (Legacy - kept for compatibility) */
/* ============================================ */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #007634;
  color: white;
  border-color: #007634;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #007634;
  transform: scale(1.2);
}
/* ============================================ */
/* BLOG ARCHIVE PAGE */
/* ============================================ */

.blog-archive {
    padding: 80px 0;
    background: #ffffff;
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-archive-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.blog-archive-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-archive-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-archive-card:hover .blog-archive-image img {
    transform: scale(1.05);
}

.blog-archive-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-archive-content {
    padding: 25px;
}

.blog-archive-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #003617;
    transition: color 0.3s ease;
}

.blog-archive-card:hover .blog-archive-content h3 {
    color: #007634;
}

.blog-archive-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.blog-pagination li {
    display: inline-block;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: #f7f9f8;
    border-color: #007634;
    color: #007634;
}

.blog-pagination .current {
    background: linear-gradient(to bottom, #009e4d, #007634);
    border-color: #007634;
    color: #ffffff;
}

.blog-pagination .prev,
.blog-pagination .next {
    font-size: 18px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-archive {
        padding: 60px 0;
    }
    
    .blog-archive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-archive-content {
        padding: 20px;
    }
    
    .blog-archive-content h3 {
        font-size: 18px;
    }
}
/* Hero Content Alignment */
.hero-content-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.hero-content-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-content-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

/* Button alignment */
.hero-buttons-left {
    justify-content: flex-start;
}

.hero-buttons-center {
    justify-content: center;
}

.hero-buttons-right {
    justify-content: flex-end;
}

/* Update hero-content class */
.hero-content {
    max-width: 600px;
}
/* ============================================ */
/* CONTENT & IMAGE SECTION */
/* ============================================ */

.content-image-section {
    padding: 80px 0;
    background: #ffffff;
}

.content-image-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image position controls */
.content-image-grid.image-right {
    flex-direction: row; /* Image on right, content on left */
}

.content-image-grid.image-left {
    flex-direction: row-reverse; /* Image on left, content on right */
}

.content-col {
    flex: 1;
}

.content-col h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 25px;
    line-height: 1.2;
}

.content-col .content-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-col .content-text p:last-child {
    margin-bottom: 0;
}

.content-col .btn-primary {
    margin-top: 30px;
    display: inline-flex;
}

.image-col {
    flex: 1;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Content Section Button */
.content-col .content-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 118, 51, 0.178);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.content-col .content-btn:hover {
    background: linear-gradient(to bottom, #f2f2f2, #eeeeee);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(58, 58, 58, 0.178);
    color: #444;
}

.content-col .content-btn .btn-icon {
    transition: transform 0.3s ease;
}

.content-col .content-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .content-image-grid {
        gap: 40px;
    }
    
    .content-col h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .content-image-section {
        padding: 60px 0;
    }
    
    .content-image-grid {
        flex-direction: column !important;
        gap: 30px;
    }
    
    .content-col h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .content-col .content-text {
        text-align: center;
    }
    
    .content-col .btn-primary,
    .content-col .content-btn {
        display: block;
        text-align: center;
        max-width: 300px;
        margin: 30px auto 0;
    }
    
    .image-col {
        width: 100%;
    }
}
/* ============================================ */
/* FEATURES SECTION */
/* ============================================ */

.features-section {
    padding: 80px 0;
}

/* Main container - column direction to stack header above grid */
.features-section .container {
    display: flex;
    flex-direction: column;
    gap: 50px; /* Space between header and grid */
}

/* Section Header */
.features-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto; /* Center the header */
    width: 100%;
}

.features-section .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 15px;
}

.features-section .section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid - Cards Container */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

/* Column Classes */
.features-grid.cols-2 .feature-card {
    flex: 0 1 calc(50% - 15px);
    min-width: 300px;
}

.features-grid.cols-3 .feature-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
}

.features-grid.cols-4 .feature-card {
    flex: 0 1 calc(25% - 23px);
    min-width: 250px;
}

/* Feature Cards */
.feature-card {
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.feature-image {
    margin-bottom: 25px;
}

.feature-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid.cols-2 .feature-card,
    .features-grid.cols-3 .feature-card,
    .features-grid.cols-4 .feature-card {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    
    .features-section .section-header h2 {
        font-size: 28px;
    }
    
    .features-section .section-header p {
        font-size: 16px;
    }
    
    .features-grid.cols-2 .feature-card,
    .features-grid.cols-3 .feature-card,
    .features-grid.cols-4 .feature-card {
        flex: 0 1 100%;
    }
}

/* ============================================ */
/* SINGLE BLOG PAGE */
/* ============================================ */

/* Blog Post Hero */
.blog-post-hero {
    background: linear-gradient(135deg, #f7f9f8 0%, #ffffff 100%);
    padding: 80px 0 40px;
    border-bottom: 1px solid #e5e5e5;
}

.post-categories {
    margin-bottom: 20px;
}

.blog-post-hero .container {
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column !important;
    align-items: baseline !important;
}

.post-category {
    display: inline-block;
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-right: 10px;
}

.post-category:hover {
    opacity: 0.9;
    color: #ffffff;
}

.blog-post-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #003617;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    font-size: 14px;
}

.author-name {
    font-weight: 600;
    color: #003617;
    text-decoration: none;
}

.author-name:hover {
    color: #007634;
}

.post-date {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date i {
    color: #007634;
}

.post-reading-time {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-reading-time i {
    color: #007634;
}

.post-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    color: #666;
    font-size: 14px;
}

.share-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.share-link:hover {
    color: #007634;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

/* Blog Content Layout */
.blog-content-wrapper {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.blog-main {
    flex: 0 1 70%;
}

.blog-sidebar {
    flex: 0 1 30%;
}

/* Blog Post Content - Renamed from blog-content to avoid conflicts */
.blog-post-content {
    color: #444;
}

.blog-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #003617;
    margin: 40px 0 20px;
}

.blog-post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #003617;
    margin: 30px 0 15px;
}

.blog-post-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #003617;
    margin: 25px 0 10px;
}

.blog-post-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.blog-post-content strong {
    color: #003617;
    font-weight: 600;
}

.blog-post-content a {
    color: #007634;
    text-decoration: underline;
    font-weight: 500;
}

.blog-post-content a:hover {
    color: #009e4d;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin: 20px 0 20px 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-post-content li strong {
    color: #003617;
}

.blog-post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f7f9f8;
    border-left: 4px solid #007634;
    font-style: italic;
    font-size: 18px;
    color: #444;
    border-radius: 0 8px 8px 0;
}

.blog-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-post-content .wp-caption {
    max-width: 100%;
    margin: 30px 0;
}

.blog-post-content .wp-caption img {
    margin: 0;
}

.blog-post-content .wp-caption-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.blog-post-content hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid #e5e5e5;
}

.blog-post-content .btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
}

.blog-post-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,118,52,0.2);
    color: #ffffff;
}

.blog-post-content .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(to bottom, #f2f2f2, #eeeeee);
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.blog-post-content .btn-secondary:hover {
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
}

/* Table of Contents */
.table-of-contents {
    background: #f7f9f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.table-of-contents ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.table-of-contents a:hover {
    color: #007634;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #f7f9f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #007634;
}

/* About Author Widget */
.author-widget {
    text-align: center;
}

.author-widget-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.author-widget-name {
    font-size: 18px;
    font-weight: 600;
    color: #003617;
    margin-bottom: 10px;
}

.author-widget-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-widget-link {
    color: #007634;
    text-decoration: none;
    font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts-widget ul {
    list-style: none;
    padding: 0;
}

.recent-posts-widget li {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
}

.recent-posts-widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
}

.recent-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #003617;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-post-link:hover h4 {
    color: #007634;
}

.recent-post-date {
    color: #666;
    font-size: 12px;
}

/* Categories Widget */
.categories-widget ul {
    list-style: none;
}

.categories-widget li {
    margin-bottom: 10px;
}

.categories-widget a {
    color: #444;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.categories-widget a:hover {
    color: #007634;
}

.categories-widget span {
    color: #666;
    font-size: 14px;
}

/* Tags Widget */
.tags-widget .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: #ffffff;
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
}

/* Post Tags & Share */
.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-tags span {
    color: #003617;
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #f7f9f8;
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.post-tags a:hover {
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
}

.post-footer-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-footer-share span {
    color: #003617;
    font-weight: 600;
}

.post-footer-share a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.post-footer-share a:hover {
    color: #007634;
}

/* Author Box */
.author-box {
    background: #f7f9f8;
    padding: 40px;
    border-radius: 8px;
    margin: 50px 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-box-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 10px;
}

.author-box-title {
    color: #007634;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.author-box-bio {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-box-social {
    display: flex;
    gap: 15px;
}

.author-box-social a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.author-box-social a:hover {
    color: #007634;
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}



.related-posts .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.related-post-h{
	font-size: 30px;
  padding-bottom: 30px;
  font-weight: 800;
}

/* Comments Section */
.comments-section {
    margin: 60px 0;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 30px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: #003617;
    margin-bottom: 5px;
}

.comment-date {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.comment-text {
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}

.comment-reply {
    color: #007634;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.comment-reply:hover {
    text-decoration: underline;
}

.children {
    margin-left: 80px;
    margin-top: 30px;
}

.comment-respond {
    background: #f7f9f8;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 20px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: #003617;
    font-weight: 500;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #007634;
}

.comment-form .btn-primary {
    border: none;
    cursor: pointer;
    padding: 14px 30px;
}

/* ============================================ */
/* SINGLE BLOG PAGE - ENHANCEMENTS */
/* ============================================ */

/* Featured Image as Hero Background - FIXED */
.blog-post-hero.with-bg-image {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    margin-bottom: 40px;
    border-bottom: none;
}

.blog-post-hero.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 54, 23, 0.75);
    z-index: 1;
    pointer-events: none;
}

.blog-post-hero.with-bg-image .container {
    position: relative;
    z-index: 2;
}

.blog-post-hero.with-bg-image .hero-content {
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto;
    z-index: 3;
}

.blog-post-hero.with-bg-image h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-post-hero.with-bg-image .post-category {
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

.blog-post-hero.with-bg-image .post-meta,
.blog-post-hero.with-bg-image .post-date,
.blog-post-hero.with-bg-image .post-reading-time,
.blog-post-hero.with-bg-image .post-share span,
.blog-post-hero.with-bg-image .share-link {
    color: rgba(255,255,255,0.9);
}

.blog-post-hero.with-bg-image .share-link:hover {
    color: #ffffff;
}

/* Remove the old overlay style if it exists */
.blog-post-hero.with-bg-image .hero-overlay {
    display: none;
}

/* Enhanced Table of Contents */
.table-of-contents.enhanced {
    background: #f7f9f8;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #007634;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-of-contents.enhanced h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents.enhanced h3:before {
    font-size: 20px;
}

.table-of-contents.enhanced ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.table-of-contents.enhanced li {
    margin: 0;
}

.table-of-contents.enhanced a {
    color: #444;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 10px 15px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    font-weight: 500;
}

.table-of-contents.enhanced a:hover {
    color: #007634;
    border-color: #007634;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,118,52,0.1);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Blog content headings with anchor offset - Updated to use blog-post-content */
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    scroll-margin-top: 100px;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-content-wrapper {
        flex-direction: column;
    }
    
    .blog-main,
    .blog-sidebar {
        flex: 0 1 100%;
    }
    
    .blog-post-hero h1 {
        font-size: 38px;
    }
    
    .related-posts .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-post-hero {
        padding: 60px 0 30px;
    }
    
    .blog-post-hero.with-bg-image {
        padding: 80px 0;
    }
    
    .blog-post-hero h1 {
        font-size: 32px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-share {
        margin-left: 0;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .children {
        margin-left: 40px;
    }
    
    .table-of-contents.enhanced ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-post-hero {
        padding: 40px 0 20px;
    }
    
    .blog-post-hero.with-bg-image {
        padding: 60px 0;
    }
    
    .blog-post-content h2 {
        font-size: 26px;
    }
    
    .blog-post-content h3 {
        font-size: 22px;
    }
    
    .comment {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-avatar {
        width: 50px;
        height: 50px;
    }
}

/* Demo spacer */
.spacer {
    height: 60px;
}

/* ============================================ */
/* CONTACT SECTION */
/* ============================================ */

.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
}

.contact-info,
.contact-form-col {
    flex: 1;
}

.contact-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 30px;
}

.contact-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #003617;
    margin-bottom: 15px;
    margin-top: 25px;
}

.contact-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-section p strong {
    color: #003617;
    min-width: 70px;
    display: inline-block;
}

.contact-section a {
    color: #007634;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-section a:hover {
    color: #009e4d;
}

.business-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.business-hours p {
    margin-bottom: 5px;
}

/* Contact Form 7 Styling */
.contact-form-wrapper {
    width: 100%;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    border-color: #007634;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,118,52,0.15);
}

.contact-form-wrapper input[type="submit"] {
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 14px 40px;
    transition: all 0.3s;
}

.contact-form-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,118,52,0.2);
}

/* Error and success messages */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
}

.contact-form-wrapper .wpcf7-response-output {
    border: none;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0 0;
    font-size: 14px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
}

.contact-form-wrapper .wpcf7-validation-errors {
    background: #fff3cd;
    color: #856404;
}

.no-form {
    padding: 20px;
    background: #f7f9f8;
    border-radius: 4px;
    color: #666;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section h3 {
        font-size: 24px;
    }
}
/* ============================================ */
/* MAP SECTION */
/* ============================================ */

.map-section {
    padding: 0;
    background: #ffffff;
    width: 100%;
}

.map-container {
    width: 100% !important;
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}
/* ============================================ */
/* PROCESS SECTION */
/* ============================================ */

.service-approach {
    padding: 80px 0;
    background: #ffffff;
}
.service-approach .container{
	flex-direction:column !important;
}

.service-approach .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-approach .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 15px;
}

.service-approach .section-header p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.approach-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.step {
    flex: 0 1 calc(25% - 23px);
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: #f7f9f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,118,52,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom, #009e4d, #007634);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,118,52,0.2);
}

.step h4 {
    color: #003617;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .step {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .service-approach {
        padding: 60px 0;
    }
    
    .service-approach .section-header h2 {
        font-size: 28px;
    }
    
    .service-approach .section-header p {
        font-size: 16px;
    }
    
    .step {
        flex: 0 1 100%;
    }
}
/* ============================================ */
/* FILTERABLE GALLERY SECTION */
/* ============================================ */

.gallery-section {
    padding: 80px 0;
    background: #ffffff;
}
.gallery-section .container{
	flex-direction: column !important;
}

.gallery-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-section .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #003617;
    margin-bottom: 15px;
}

.gallery-section .section-header p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #007634;
    color: #007634;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007634;
    color: #ffffff;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,54,23,0.9), transparent);
    color: #ffffff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-category {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Results */
.gallery-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-section .section-header h2 {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-overlay h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}
/* Gallery Item Animations */
.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* No Results Animation */
.gallery-no-results {
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Lightbox Custom Styling (Optional) */
.glightbox-clean .gslide-description {
    background: linear-gradient(to top, rgba(0,54,23,0.95), transparent);
}

.glightbox-clean .gslide-title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.glightbox-clean .gslide-desc {
    color: rgba(255,255,255,0.8);
    font-family: 'Montserrat', sans-serif;
}