@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #007f24;
  --body-color: #434343;
  --bg-color: #e8ebeb;
  --white-color: #fff;
  --black-color: #000;
  --gray-color: #333333;
  --link-color: #0056c7;
  --primary-font: "Open Sans", sans-serif;
  --body-font-size: 16px;
  --line-height: 1.3;
  --btn-font-size: 14px;
  --border-radius: 16px;
  --transition: all 0.3s ease-in-out;
  --fs-display-1: clamp(40px, 4vw, 80px);
  --fs-display-2: clamp(32px, 4vw, 48px);
  --fs-display-3: clamp(24px, 4vw, 32px);
  --fs-display-4: clamp(24px, 4vw, 24px);
  --fs-display-5: clamp(20px, 5vw, 20px);
  --fs-display-6: clamp(16px, 4vw, 16px);
  --fs-display-7: 14px;
}
body {
  font-family: var(--primary-font);
  font-size: var(--body-font-size);
  color: var(--body-color);
  line-height: var(--line-height);
  background-color: var(--white-color);
  font-weight: 400;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--secondary-color);
  font-family: var(--primary-font);
  font-weight: 500;
  line-height: 1.2;
}
h1,
.h1 {
  color: var(--white-color);
  font-size: var(--fs-display-1);
  font-weight: 700;
}
h2,
.h2 {
  font-size: var(--fs-display-2);
}
h3,
.h3 {
  font-size: var(--fs-display-3);
}
h4,
.h4 {
  font-size: var(--fs-display-4);
}
h5,
.h5 {
  font-size: var(--fs-display-5);
}
h6,
.h6 {
  font-size: var(--fs-display-6);
}
img {
  max-width: 100%;
  height: auto;
}
p {
  margin-bottom: 24px;
}
a {
  color: var(--link-color);
  text-decoration: none;
  transition: var(--transition);
}
ul,
ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.page {
  margin-bottom: 0;
}
/* global utilities */

::selection {
  color: var(--white-color);
  background: var(--primary-color);
}
.btn {
  padding: 15px 35px;
  font-weight: 600;
  font-size: var(--fs-display-6);
  line-height: var(--line-height);
  border-radius: 30px;
  border: 2px solid var(--white-color);
  transition: var(--transition);
}
.btn-sm {
  font-size: 14px;
  padding: 8px 20px;
}
.btn:focus {
  outline: none;
}
.btn-primary {
  --bs-btn-color: var(--white-color);
  --bs-btn-hover-color: var(--white-color);
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-color: var(--white-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-disabled-color: var(--white-color);
  --bs-btn-disabled-bg: unset;
}

.btn-secondary {
  --bs-btn-color: var(--white-color);
  --bs-btn-hover-color: var(--primary-color);
  --bs-btn-bg: var(--primary-color);
  --bs-btn-hover-bg: var(--white-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-color: var(--white-color);
  --bs-btn-active-bg: var(--white-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-disabled-color: var(--white-color);
  --bs-btn-disabled-bg: rgba(240, 240, 240, 1);
}

.mb-40 {
  margin-bottom: 40px;
}
.mb-80 {
  margin-bottom: 80px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-40 {
  margin-top: 40px;
}
.block {
  padding: 100px 0;
}
.card {
  border: none;
  background-color: transparent;
  border-radius: var(--border-radius);
}
.card-body {
  padding: 0;
}
.card-img {
  margin-bottom: 0;
  border-radius: var(--border-radius);
}
.card-img img {
  width: 100%;
}
.meta span i {
  color: var(--primary-color);
}
.meta-category {
  padding: 5px 10px;
  background-color: rgba(0, 127, 36, 1);
  color: var(--white-color);
  border-radius: 30px;
}

.goTop {
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: var(--transition);
  border: 2px solid var(--white-color);
}
.goTop:hover {
  background-color: #007f24b2;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}
.pagination .page-numbers {
  margin: 0 5px;
  padding: 8px 12px;
  text-decoration: none;
  color: rgba(140, 140, 140, 1);
}
.pagination a:hover,
.pagination .current {
  color: var(--black-color);
  font-weight: 600;
}
.pagination .page-numbers.current {
  color: var(--black-color);
  font-weight: 600;
}

/* loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-text span {
  display: inline-block;
  font-size: 80px;
  font-weight: bold;
  color: var(--primary-color);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Add a delay for each letter */
.loader-text span:nth-child(1) {
  animation-delay: 0s;
}
.loader-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.loader-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.loader-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.loader-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.loader-text span:nth-child(6) {
  animation-delay: 0.5s;
}
.loader-text span:nth-child(7) {
  animation-delay: 0.6s;
}
.loader-text span:nth-child(8) {
  animation-delay: 0.7s;
}
.loader-text span:nth-child(9) {
  animation-delay: 0.8s;
}
.loader-text span:nth-child(10) {
  animation-delay: 0.9s;
}
.loader-text span:nth-child(11) {
  animation-delay: 1s;
}
.breadcrumb {
  margin-left: 0;
  padding-left: 20px;
  border-left: 3px solid var(--white-color);
}
ul.breadcrumb {
  margin: 0;
}
.breadcrumb a {
  color: var(--white-color);
}
.breadcrumb a:hover {
  color: var(--primary-color);
}
.breadcrumb li:not(:last-child)::after {
  content: "|";
  display: inline-block;
  margin: 0 10px;
}
.page-main-header {
  padding: 50px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  isolation: isolate;
  color: var(--white-color);
}
.page-main-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 34%, #90274100 100%);
  z-index: -1;
}
/* header */
.site-branding img {
  width: 100px;
  height: auto;
  transition: var(--transition);
}
.site-header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  transition: var(--transition);
  padding: 10px;
}
.site-header.sticky-header {
  position: fixed;
  top: 0;
  background-color: var(--gray-color);
  transition: var(--transition);
  padding: 0;
}
.site-header.sticky-header .site-branding img {
  width: 70px;
  height: auto;
}
.site-header.sticky-header .main-navigation .menu li a {
  padding: 25px 0;
}
.main-navigation .menu {
  gap: 30px;
  justify-content: center;
}
.main-navigation .menu li a {
  position: relative;
  font-weight: 500;
  color: var(--white-color);
  padding: 30px 0;
}
.main-navigation .menu li a:hover {
  color: var(--primary-color);
}
.main-navigation .menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: #02ad33;
  transition: var(--transition);
}
.main-navigation .menu li a:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}
.main-navigation .menu .current_page_parent a {
  color: var(--primary-color);
}
.main-navigation .menu .current_page_parent a::after {
  width: 100%;
}
.main-navigation .menu li a.active {
  color: var(--primary-color);
}
.main-navigation .menu li a.active::after {
  width: 100%;
}
.headerphone a {
  font-weight: 500;
  color: var(--white-color);
}
.headerphone a:hover {
  color: var(--primary-color);
}
/* banner */
.banner {
  position: relative;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  z-index: 1;
}
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.banner-content {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.banner-content span {
  font-weight: 600;
  font-size: var(--fs-display-3);
  color: var(--white-color);
  text-transform: capitalize;
}
.banner-content h1 {
  text-transform: capitalize;
}

.sscrollDownBtn {
  position: absolute;
  bottom: 50px;
  left: 50%;
  color: var(--white-color);
  transform: translate(-50%, -50%);
  border: 1px solid var(--white-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.sscrollDownBtn::after {
  content: "";
  position: absolute;
  top: -2;
  left: -2;
  width: 35px;
  height: 35px;
  border: 1px solid var(--white-color);
  border-radius: 50%;
  animation: growUp 2s infinite;
  transition: var(--transition);
}

@keyframes growUp {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(2);
  }
}
.sscrollDownBtn i {
  transition: var(--transition);
}
.sscrollDownBtn:hover i {
  color: var(--primary-color);
}

/* info card css */
.section-title h2 {
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  background-color: var(--primary-color);
  transform: translate(-50%, -50%);
  animation: withGrow 3s infinite ease-in-out;
}
@keyframes withGrow {
  0% {
    width: 100px;
  }
  50% {
    width: 150px;
  }
  100% {
    width: 100px;
  }
}

.section-title span {
  color: var(--primary-color);
}

.hovicon i {
  color: var(--white-color);
}
.info-card {
  height: 100%;
  padding-top: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: var(--transition);
}
.info-card span {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}
.info-card .card-body {
  padding: 0 30px 30px;
}
.hovicon {
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  margin: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.hovicon:after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
  box-sizing: content-box;
  top: -10px;
  left: -10px;
  padding: 10px;
  box-shadow: 0 0 0 2px var(--primary-color);
  transform: scale(1.4);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.info-card:hover .hovicon:after {
  transform: scale(1);
  opacity: 1;
}
.info-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* about us css */
.about-us .card-img img {
  border-radius: 10px;
}

.features .content p {
  margin-bottom: 0;
}
.features .card-img img {
  border-radius: 10px;
}

.feature-box span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  margin-bottom: 10px;
}
.feature-box .content p {
  max-width: 400px;
}
.blog-swiper {
  padding: 0 20px 50px 20px;
  padding-bottom: 50px;
}
.blog-card .card-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.blog-card .card-img .meta-category {
  position: absolute;
  top: 20px;
  left: 20px;
}
.blog-card .card-img img {
  border-radius: 10px 10px 0 0;
  transition: var(--transition);
}
.blog-card .card-body {
  padding: 30px;
}
.blog-card .card-body h3 a {
  color: var(--black-color);
}
.blog-card .card-body h3 a:hover {
  color: var(--primary-color);
}

.blog-card {
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.blog-card:hover .card-img img {
  transform: scale(1.1);
}
.blog-swiper .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
}
.blog-swiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* project */
.filter-button-group {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 30px;
  row-gap: 10px;
  flex-wrap: wrap;
}

.filter-button-group button {
  padding: 10px 0;
  border: none;
  cursor: pointer;
  position: relative;
  font-weight: normal;
  transition: font-weight 0.3s ease;
  background-color: transparent;
  text-transform: capitalize;
}

.filter-button-group button::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.filter-button-group button:hover::before {
  right: auto;
  left: 0;
  width: 100%;
}

.filter-button-group button.active {
  font-weight: bold;
  color: var(--primary-color);
}

.filter-button-group button.active::before {
  width: 100%;
}

.project .card-body {
  text-align: center;
}
.project-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.project-icon a span {
  background-color: var(--primary-color);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon i {
  color: var(--white-color);
}

.project-icon span:hover {
  background-color: var(--white-color);
}
.project-icon a span {
  transition: var(--transition);
}
.project-icon a span:hover i {
  color: var(--primary-color);
}

.project-icon i:hover {
  color: var(--primary-color);
}

.project-card {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.project-card .card-body {
  position: absolute;
  top: 50%;
  left: 50%;
  right: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}
.project-card .card-body h4 {
  color: var(--white-color);
}
.project-card:hover .card-body {
  opacity: 1;
}
.project-card .card-img {
  position: relative;
  overflow: hidden;
}
.project-card .card-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}
.project-card:hover .card-img::after {
  opacity: 1;
}
.project-card .card-img img {
  transition: var(--transition);
}
.project-card:hover .card-img img {
  transform: scale(1.4) rotate(10deg);
}

.achievement {
  padding: 70px 0;
  background-color: var(--primary-color);
}
.achievement-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  margin: 0 auto;
  border-radius: 50%;
  color: var(--primary-color);
}
.counter-group {
  color: var(--white-color);
  margin: 10px 0;
}
.counter-suffix {
  font-size: 30px;
}
.achievement .counter {
  font-size: 30px;
  font-weight: bold;
}
.achievement-card h3 {
  color: var(--white-color);
}
.testimonial-swiper {
  padding: 40px 20px 80px 20px;
}
.testimonial-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  transform: scale(1);
}
/* .testimonial-card:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
} */
.testimonial-card .content p {
  margin-bottom: 0;
}
.testimonial-card .card-header {
  background-color: transparent;
  border: none;
  margin-bottom: 20px;
}
.testimonial-card .card-header .card-img {
  width: 90px;
  height: auto;
  border-radius: 50%;
}
.testimonial-card .card-header .card-img img {
  border-radius: 50%;
}

.testimonial-swiper .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
}
.testimonial-swiper .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}
.testimonial-swiper .swiper-slide-active .testimonial-card {
  transform: scale(1.19);
}
.partner-swiper {
  padding: 20px;
}
.partner-card {
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
}

.partner-card .card-img {
  width: 150px;
  height: 40px;
}
form span:not(:last-child) {
  margin-bottom: 20px;
  display: block;
}
form .form-control {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}
form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
  background-color: transparent;
}
.contact-item:not(:last-child) {
  margin-bottom: 10px;
}
.contact-item .contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
}
.contact-item span:last-child {
  color: var(--black-color);
}
.contact-item:hover span:last-child:hover {
  color: var(--primary-color);
}

.contact-info {
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.widget-area .widget_block {
  padding: 30px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.widget-area .widget_block a {
  color: var(--black-color);
}
.widget-area .widget_block a:hover {
  color: var(--primary-color);
}
.thumbnail img {
  border-radius: 10px;
}

.widget-area .widget_block ul li:not(:last-child) a {
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.social-icon-list li a {
  color: var(--black-color);
}
.social-icon-list li a:hover {
  color: var(--primary-color);
}

.site-footer {
  background-color: var(--gray-color);
}
.site-footer .custom-logo-link img {
  width: 200px;
  height: auto;
}
.site-footer .custom-logo-link {
  display: flex;
  justify-content: center;
}
.site-footer .primary-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.site-footer .primary-menu li:not(:last-child) {
  padding-bottom: 15px;
}
.site-footer .primary-menu li a {
  color: var(--white-color);
}
.site-footer .primary-menu li a:hover {
  color: var(--primary-color);
}
.site-footer .social-icon-list li a {
  color: var(--white-color);
}
.site-footer .social-icon-list li a:hover {
  color: var(--primary-color);
}
.site-footer .social-icon-list {
  justify-content: end;
}

.error-404 .card-img img {
  max-width: 400px;
  height: 200px;
}

/* responsive */

@media (max-width: 1399.98px) {
}
@media (max-width: 1199.98px) {
}
@media (max-width: 991.98px) {
  .site-header.sticky-header {
    padding: 10px 0;
  }
  .site-footer .social-icon-list {
    justify-content: flex-start;
  }
  .project-card .card-body {
    opacity: 1;
  }
  .project-card .card-img::after {
    opacity: 1;
  }
  .menu-btn {
    background-color: transparent;
    color: var(--white-color);
    border: none;
  }
  .main-navigation .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: start;
  }
  .main-navigation .menu li a::after {
    position: unset;
  }
  .main-navigation .menu li a {
    padding: 20px 0;
  }
  .main-navigation .menu li:not(:last-child) a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  .offcanvas-body .headerphone {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 20px;
  }
  .offcanvas {
    background-color: var(--gray-color);
  }
  .site-header .offcanvas .offcanvas-header .btn-close {
    color: var(--white-color);
    background-image: none;
  }
  .site-header .offcanvas .offcanvas-header .btn-close:hover {
    color: var(--primary-color);
  }
  .site-header .offcanvas .offcanvas-header .btn-close:focus {
    box-shadow: none;
  }
}
@media (max-width: 767.98px) {
  .banner {
    height: 100%;
    padding: 200px 0 250px 0;
  }
}
@media (max-width: 575.98px) {
  .offcanvas {
    --bs-offcanvas-width: 100%;
  }
}
