/********** 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: 600 !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);
    font-weight: 600;
}

.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-left: auto;
        padding: 10px 0;
    }

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

    /* Hamburger on left */
    .navbar .navbar-toggler {
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .logo {
        padding-left: 5px !important;
        padding-right: 15px !important;
        max-height: 1px;
    }

    .logo img {
        width: 70px !important;
        height: auto;
    }
}

@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;
    }   
}

.logo {
        position: absolute;
        left: 30px;
        top: 30px;
        z-index: 10;
        display: block;
    }  

    .logo img {
        width: 120px;
        height: 120px;
        object-fit: contain;
        display: block;
    }

/*** 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/pageheaderbg.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;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.portfolio-inner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 991.98px) {
    .portfolio-inner img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .portfolio-inner img {
        height: 260px;
    }
}

.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);
}


/*** 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: #07341b;
    font-family: "Poppins-Regular", sans-serif;
    font-size: small;
}

.copyright a {
    color: #FFFFFF;
}

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

.custom-bullets {
  list-style: none;
  padding: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #333;
}

.custom-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  font-size: 13px;
  text-align: center;
  line-height: 20px;
}

custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.custom-list img {
  width: 24px;
  height: 24px;
}

.responsive-img {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      display: block; /* Removes unwanted bottom whitespace */
    }

/*table */
.grade-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
        border-radius: 12px;
    }

    .grade-table {
        width: 100%;
        min-width: 650px;
        border-collapse: collapse;
        font-family: Arial, Helvetica, sans-serif;
        background: #ffffff;
        border: 1px solid #d9e2d5;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .grade-table th,
    .grade-table td {
        border: 1px solid #d9e2d5;
        padding: 16px 18px;
        text-align: left;
        vertical-align: middle;
    }

    .grade-table thead th {
        background: #1f5c3a;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        text-align: center;
    }

    .grade-table tbody tr {
        transition: background-color 0.2s ease;
    }

    .grade-table tbody tr:nth-child(even) {
        background: #f7faf6;
    }

    .grade-table tbody tr:hover {
        background: #edf6ec;
    }

    .grade-code {
        font-weight: 800;
        color: #1f5c3a;
        white-space: nowrap;
    }

    .grade-name {
        font-weight: 700;
        color: #26382c;
    }

    .grade-profile {
        color: #526057;
        line-height: 1.6;
    }

    @media (max-width: 768px) {
        .grade-table-wrapper {
            margin: 15px 0;
        }

        .grade-table {
            min-width: 600px;
        }

        .grade-table th,
        .grade-table td {
            padding: 13px 14px;
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .grade-table {
            min-width: 560px;
        }

        .grade-table th,
        .grade-table td {
            padding: 11px 12px;
            font-size: 13px;
        }
    }

.btn-quote {
    display: flex;
    width: fit-content;
    margin: 30px auto 0;
    align-items: center;
    padding: 14px 30px;
    background: #124d35;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background: #c49a52;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(18, 77, 53, 0.25);
}

.btn-quote i {
    transition: transform 0.3s ease;
}

.btn-quote:hover i {
    transform: translateX(5px);
}

/* ================================
   BENEFITS SECTION
================================ */

.benefits-section {
    background: whitesmoke;
    position: relative;
    overflow: hidden;
}

.section-heading {
    max-width: 750px;
    margin: auto;
}

.section-tag {
    display: inline-block;
    color: #9a7624;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 44px;
    font-weight: 700;
    color: #183d2b;
    margin-bottom: 15px;
}

.section-heading h2 span {
    color: #b28a32;
}

.section-heading p {
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}


/* CATEGORY */

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #183d2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.category-title small {
    color: #ad852d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.category-title h3 {
    margin: 3px 0 0;
    color: #183d2b;
    font-size: 27px;
    font-weight: 700;
}


/* CARD */

.benefit-card {
    position: relative;
    height: 100%;
    padding: 32px 28px;
    background: #f8f6ef;
    border: 1px solid rgba(183, 145, 57, 0.15);
    border-radius: 18px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(183, 145, 57, 0.5);

    box-shadow:
        0 18px 45px rgba(24, 61, 43, 0.12);
}


/* GOLD TOP LINE */

.benefit-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 3px;
    background: #b28a32;

    transition: width 0.35s ease;
}

.benefit-card:hover::before {
    width: 100%;
}


/* NUMBER */

.card-number {
    position: absolute;
    right: 20px;
    top: 18px;

    font-size: 42px;
    font-weight: 800;
    color: rgba(24, 61, 43, 0.05);
}


/* ICON */

.benefit-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3efe3;
    border-radius: 14px;

    font-size: 23px;
    margin-bottom: 22px;

    transition: 0.35s ease;
}

.benefit-card:hover .benefit-icon {
    background: #183d2b;
    transform: rotate(-5deg) scale(1.08);
}


/* TEXT */

.benefit-card h4 {
    color: #183d2b;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-right: 25px;
}

.benefit-card p {
    color: #777;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}


/* LARGE CARDS */

.large-card {
    padding: 35px;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .section-heading h2 {
        font-size: 36px;
    }

}

@media (max-width: 767px) {

    .benefits-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .category-title h3 {
        font-size: 23px;
    }

    .benefit-card {
        padding: 27px 23px;
    }

}

  .location-section {
    padding: 100px 20px;
    font-family: Inter, Arial, sans-serif;
  }

  .location-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
  }

  .location-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #eaf4ff;
    color: #1769aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .location-content h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
  }

  .location-content > p {
    max-width: 500px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .location-details {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
  }

  .detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    font-size: 21px;
  }

  .detail-item strong,
  .detail-item span {
    display: block;
  }

  .detail-item strong {
    color: #111827;
    font-size: 15px;
    margin-bottom: 4px;
  }

  .detail-item span {
    color: #6b7280;
    font-size: 14px;
  }

  .directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 23px;
    border-radius: 12px;
    background: #111827;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: .25s ease;
  }

  .directions-btn:hover {
    background: Green;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px Green;
    color: black;
  }

  .directions-btn span {
    font-size: 19px;
  }

  .map-card {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(9, 14, 23, 0.12);
  }

  .map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }

  .map-overlay {
    position: absolute;
    left: 60px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
  }

  .map-pin {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    border-radius: 10px;
  }

  .map-overlay strong,
  .map-overlay small {
    display: block;
  }

  .map-overlay strong {
    color: #111827;
    font-size: 14px;
  }

  .map-overlay small {
    color: #6b7280;
    margin-top: 2px;
  }

  @media (max-width: 800px) {
    .location-section {
      padding: 70px 18px;
    }

    .location-container {
      grid-template-columns: 1fr;
      gap: 35px;
    }

    .map-card {
      height: 400px;
      border-radius: 20px;
    }
  }

  @media (max-width: 480px) {
    .map-card {
      height: 350px;
    }

    .location-content h2 {
      font-size: 36px;
    }
  }

  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 60px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 180px;
        left: 12px;
        font-size: 27px;
        line-height: 52px;
    }
}

.quote-btn {
    background: #2f8f3a;
    color: #ffffff !important;
    padding: 22px 22px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-left: 12px;
}
