body {
    font-family: "f1";
    background: #fff;
    color: #222;
}


@font-face {
    font-family: "f1";
    src: url("../fonts/Poppins-Regular.otf");
}

@font-face {
    font-family: "f2";
    src: url("../fonts/Poppins-Medium.otf");
}

@font-face {
    font-family: "f3";
    src: url("../fonts/Poppins-Bold.otf");
}

@font-face {
    font-family: "f4";
    src: url("../fonts/GeorgiaPro-Regular.ttf");
}

@font-face {
    font-family: "f5";
    src: url("../fonts/GeorgiaPro-SemiBold.ttf");
}

@font-face {
    font-family: "f6";
    src: url("../fonts/GeorgiaPro-Bold.ttf");
}

/* blog */

.blog-title {
    font-family: "f3";
    color: #3aa845;
    font-size: 28px;
}

.featured-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
}

.featured-content small {
    font-family: "f2";
    font-size: 13px;
}

.featured-content h3 {
    font-family: "f6";
    font-size: 30px;
    margin: 10px 0 15px;
}

.featured-content p {
    color: #555;
}

.read-more-link {
    display: inline-block;
    padding: 8px 22px;
    border: 1.5px solid #3aa845;
    border-radius: 20px;
    font-family: "f2";
    font-size: 14px;
    color: #3aa845;
    text-decoration: none;
    transition: 0.3s;
}

.read-more-link:hover {
    background: #3aa845;
    color: #fff;
}

.blog-card {
    background: #f6efe8;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-body h6 {
    font-family: "f2";
    font-size: 15px;
}

.blog-body p {
    font-size: 13.5px;
    color: #666;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "f2";
    font-size: 12.5px;
    color: #777;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #DCD6D5;
    padding: 6px;
    border-radius: 10px;
}

.arrow-link {
    font-size: 16px;
    color: #222;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.arrow-link:hover {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .featured-img img {
        height: 260px;
    }
}


/* blog detail */

.blog-detail-card {
    background: #ffffff;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.blog-detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.blog-detail-content {
    padding: 40px;
}

.blog-detail-content h2 {
    font-family: "f6";
    font-size: 28px;
    color: #3aa845;
    margin-bottom: 25px;
}

.blog-detail-content h5 {
    font-family: "f3";
    font-size: 18px;
    margin-top: 26px;
}

.blog-detail-content h3 {
    font-family: "f3";
    font-size: 20px;
    margin-top: 26px;
}

.blog-detail-content p {
    font-family: "f1";
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-top: 10px;
}


.view-more-link {
    display: inline-block;
    font-family: "f3";
    font-size: 22px;
    color: #3aa845;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s ease;
}

.view-more-link:hover {
    border-color: #3aa845;
}

.blog-more {
    display: inline-block;
    padding: 8px 22px;
    border: 1.5px solid #3aa845;
    border-radius: 20px;
    font-family: "f2";
    font-size: 14px;
    color: #3aa845;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 20px;
}

.blog-more:hover {
    background: #3aa845;
    color: #fff;
}

.view-hd {
    font-family: "f3";
    font-size: 28px;
    margin-top: 26px;
}


@media (max-width: 768px) {
    .blog-detail-content {
        padding: 24px;
    }

    .blog-detail-img {
        height: 260px;
    }
}

/* gallery */

.gallery-title {
  font-size: 32px;
  font-weight: 700;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 8px 18px;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-tab.active,
.gallery-tab:hover {
  background: #3b9932;
  color: #fff;
}

.gallery-col{
    padding: 18px 18px;
}

.gallery-card {
  height: 300px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.gallery-card h4 {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #fff;
  z-index: 2;
}

.gallery-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
}

@media(max-width:768px){
  .gallery-card {
    height: 240px;
  }
}


.success-icon i {
  font-size: 70px;
  color: #28a745;
}



/* servicedetail */
.product-gallery {
    width: 100%;
}

.main-carousel .item img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #f5f5f7;
    border-radius: 16px;
    padding: 20px;
}

.thumb-carousel {
    margin-top: 16px;
}

.thumb-item {
    cursor: pointer;
}

.thumb-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: #f5f5f7;
    border-radius: 10px;
    padding: 10px;
    border: 2px solid transparent;
}

.thumb-item.active img {
    border-color: #3B9C35;
}

@media (max-width: 768px) {
    .main-carousel .item img {
        height: 260px;
    }

    .thumb-item img {
        height: 70px;
    }
}

.thumb-wrapper {
    position: relative;
    margin-top: 16px;
}

.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 10;

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

.thumb-prev {
    left: -18px;
}

.thumb-next {
    right: -18px;
}

.thumb-nav i {
    font-size: 14px;
    color: #000;
}

.thumb-nav:hover {
    background: #3B9C35;
}

.thumb-nav:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .thumb-prev { left: -10px; }
    .thumb-next { right: -10px; }
}


/* service tab */
.product-tabs {
    border-bottom: 1px solid #e5e5e5;
}

.product-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: #555;
    padding: 12px 12px;
}

.product-tabs .nav-link.active {
    color: #3B9C35;
    border-bottom: 3px solid #3B9C35;
    background: transparent;
}

.spec-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.spec-table td {
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

.spec-table td:first-child {
    width: 40%;
    font-weight: 600;
    background: #f9fafb;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.desc-box {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
}


/* nav */


/* .nav-link.active {
  background-color: #3B9C35 !important;
  color: #fff !important;
  border-radius: 40px;
} */

.drop-head > .nav-link.active {
  background-color: #3B9C35;
  color: #fff;
}

@media (max-width: 991px) {
  .drop-head:hover .dropdown {
    opacity: 0;
    visibility: hidden;
  }

  .drop-head.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


.modal-open {
  overflow: auto !important;
}