/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/cabbages.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

 /* ---- Only the styles this section needs ---- */
    .cert-hero {
      background-color: #f6f7f3;           /* soft paper tone */
      color: #1f2a22;                       /* ink */
      padding: 4rem 1rem;                   /* "small" hero: compact band, not full-screen */
    }
 
    /* Fine double-rule frame — a quiet nod to a printed certificate */
    .cert-frame {
      border: 1px solid #d7ddcf;
      outline: 1px solid #d7ddcf;
      outline-offset: 6px;
      background: #ffffff;
      padding: 3rem 2rem;
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }
 
    .cert-eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-size: 0.78rem;
      font-weight: 600;
      color: #2c5f2d;                       /* forest green accent */
      margin-bottom: 1rem;
    }
 
    .cert-seal {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #eef2e6;
      color: #2c5f2d;
      font-size: 1.4rem;
      margin-bottom: 1.25rem;
    }
 
    .cert-title {
      font-weight: 700;
      letter-spacing: 0.01em;
      margin-bottom: 0.75rem;
    }
 
    .cert-subtitle {
      color: #5a6157;
      max-width: 46ch;
      margin: 0 auto 2rem;
    }
 
    /* Buttons use your green accent; square corners to match rounded-0 style on your site */
    .btn-cert {
      background-color: #2c5f2d;
      border-color: #2c5f2d;
      color: #fff;
      border-radius: 0;
      padding: 0.75rem 1.75rem;
      font-weight: 600;
    }
    .btn-cert:hover,
    .btn-cert:focus-visible {
      background-color: #234b24;
      border-color: #234b24;
      color: #fff;
    }
    .btn-cert-outline {
      background-color: transparent;
      border: 1px solid #2c5f2d;
      color: #2c5f2d;
      border-radius: 0;
      padding: 0.75rem 1.75rem;
      font-weight: 600;
    }
    .btn-cert-outline:hover,
    .btn-cert-outline:focus-visible {
      background-color: #2c5f2d;
      color: #fff;
    }
 
    /* Clear keyboard focus for accessibility */
    .btn-cert:focus-visible,
    .btn-cert-outline:focus-visible {
      outline: 2px solid #234b24;
      outline-offset: 2px;
    }

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}


/* ===================== HISTORY ===================== */
#history {
  background: var(--cream);
}
.timeline {
  position: relative;
  padding: 18px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  top: 0;
  bottom: 0;
}
/* Grid: left-col | dot-col | right-col */
.tli {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  margin-bottom: 50px;
  align-items: start;
}
.tl-left {
  padding-right: 32px;
  text-align: right;
}
.tl-center {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.tl-right {
  padding-left: 32px;
  text-align: left;
}
/* ODD â†’ show LEFT text, hide RIGHT */
.tli:nth-child(odd) .tl-right {
  visibility: hidden;
}
/* EVEN â†’ hide LEFT, show RIGHT */
.tli:nth-child(even) .tl-left {
  visibility: hidden;
}
.tldot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(232, 40, 26, 0.3);
  flex-shrink: 0;
}
.tlyear {
  font-family: "Dancing Script", cursive;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.tl-left h5,
.tl-right h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 7px;
  font-family: "Playfair Display", serif;
  color: var(--dark);
}
.tl-left p,
.tl-right p {
  font-size: 0.83rem;
  color: #888;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .timeline::before {
    left: 16px;
  }
  .tli {
    grid-template-columns: 32px 1fr;
    gap: 0;
  }
  .tl-left {
    display: none;
  }
  .tl-right {
    display: block !important;
    visibility: visible !important;
    padding-left: 18px;
    text-align: left;
  }
  .tl-center {
    padding-top: 5px;
  }
  .tli:nth-child(even) .tl-left {
    display: none;
  }
  .tli:nth-child(odd) .tl-right {
    visibility: visible !important;
  }
}


/* ===================== ABOUT US ===================== */
 /* WOW.js hides these until they scroll into view */
    .wow { visibility: hidden; }
 
    /* Gallery styling — minimal, with a soft hover zoom */
    .gallery-item {
      position: relative;
      overflow: hidden;          /* keeps the zoomed image inside its frame */
      border-radius: 0.5rem;
    }
    .gallery-item img {
      width: 100%;
      height: 260px;
      object-fit: cover;          /* every tile stays the same size, no stretching */
      display: block;
      transition: transform 0.5s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.08);
    }
 
    /* Subtle caption that fades in on hover */
    .gallery-item .caption {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding: 1rem;
      color: #fff;
      font-weight: 600;
      background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 55%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .gallery-item:hover .caption { opacity: 1; }
 
    /* Respect users who prefer no motion */
    @media (prefers-reduced-motion: reduce) {
      .gallery-item img { transition: none; }
      .gallery-item:hover img { transform: none; }
    }


/* ================= SERVICE 6 (image left) ================= */
 .wow { visibility: hidden; }
 
    .services-wrap { padding: 5rem 0; }
 
    /* ---- Section intro ---- */
    .section-eyebrow {
      color: var(--teal);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 700;
      font-size: 0.8rem;
    }
    .section-title { color: var(--ink); font-weight: 800; }
 
    /* ---- One service block ---- */
    .service {
      padding: 3rem 0;
    }
    .service + .service {
      border-top: 1px solid #eef0f2;   /* subtle divider between services */
    }
 
    /* Badge pill */
    .svc-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--teal-soft);
      color: var(--teal);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 700;
      font-size: 0.72rem;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      margin-bottom: 1.25rem;
    }
 
    .svc-heading {
      color: var(--ink);
      font-weight: 800;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      line-height: 1.15;
      margin-bottom: 1rem;
    }
 
    .svc-lead {
      font-size: 1.05rem;
      max-width: 34rem;
      margin-bottom: 1.75rem;
    }
 
    /* Feature checklist (two columns) */
    .svc-features {
      list-style: none;
      padding: 0;
      margin: 0 0 1.75rem;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.65rem 1.5rem;
    }
    .svc-features li {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: var(--ink);
      font-size: 0.95rem;
    }
    .svc-features i { color: var(--teal); font-size: 0.9rem; }
 
    /* Stats row */
    .svc-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      margin-bottom: 1.75rem;
    }
    .svc-stat-label {
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 0.7rem;
      color: var(--label);
      margin-bottom: 0.25rem;
    }
    .svc-stat-value { color: var(--ink); font-weight: 700; }
 
    /* CTA button */
    .btn-svc {
      background: var(--teal);
      color: #fff;
      border: none;
      border-radius: 999px;
      padding: 0.85rem 2rem;
      font-weight: 600;
      transition: background 0.25s ease;
    }
    .btn-svc:hover, .btn-svc:focus-visible {
      background: var(--teal-dark);
      color: #fff;
    }
 
    /* Image */
    .svc-img {
      width: 100%;
      height: 100%;
      min-height: 320px;
      object-fit: cover;
      border-radius: 1.25rem;
    }
 
    @media (max-width: 575.98px) {
      .svc-features { grid-template-columns: 1fr; }
    }

    