/********** Template CSS **********/
:root {
  /* --primary: #3cb815; */
  --primary: #276b2b;
  --secondary: #f65005;
  --light: #f7f8fc;
  --dark: #111111;
  --third: #3cb815;
}

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

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.py-2 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.bg-icon {
  background: url(../res/icons/bg-icon.png) center center repeat;
  background-size: contain;
}

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

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

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

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
  color: #ffffff;
}

.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 ***/
.fixed-top {
  transition: 0.5s;
}

.top-bar {
  height: 45px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  color: #f4f4f4;
}
.navbar {
  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;
}

.navbar .navbar-nav .nav-link {
  padding: 25px 15px;
  color: #3f3f3f;
  font-weight: 900;
  outline: none;
}

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

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: #276b2b;
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
  /* Custom Navbar css */
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  z-index: 1;
}

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

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

@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 {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: url(../res/icons/carousel-1.jpg) top right no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/*** Section Header ***/
.section-header {
  position: relative;
  padding-top: 25px;
}

.section-header::before {
  position: absolute;
  content: "";
  width: 60px;
  height: 2px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
}

.section-header::after {
  position: absolute;
  content: "";
  width: 90px;
  height: 2px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
  left: 0;
  transform: translateX(0);
}

/*** About ***/
.about-img img {
  position: relative;
  z-index: 2;
}

.about-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background-image: -webkit-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -moz-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -ms-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -o-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-size: 20px 20px;
  transform: skew(20deg);
  z-index: 1;
}

/* About Watermark image
.about-container {
  background-image: url("../res/images/logo-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  background-attachment: fixed;
  position: relative;
} */

/*** Product ***/
.nav-pills .nav-item .btn {
  color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
  color: #ffffff;
}

.product-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.product-item img {
  transition: 0.5s;
}

.product-item:hover img {
  transform: scale(1.1);
}

.product-item small a:hover {
  color: var(--primary) !important;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
  width: 60px;
  height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
  color: var(--secondary) !important;
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 18px;
  transition: 0.5s;
}

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

/*** Footer ***/
.footer {
  color: #999999;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #999999;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

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

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

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

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

/* Custom */
.card {
  position: relative;
  width: 100%;
  /* height: 400px; */
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  padding: 1px;
  box-sizing: border-box;
}
/* Large screen card responsivenes */
@media (min-width: 770px) {
  .card {
    /* uniform height for large screens */
    height: 400px;
  }
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  transition: all 0.5s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
  height: 10px;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  width: 10px;
  background: linear-gradient(to bottom, #27ae60, #2ecc71);
}

/* Add this to your stylesheet */
.bg-icon {
  /* background-image: url("res/images/logo-bg.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
}

/* Optional overlay to improve text readability */
.bg-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* white overlay with 70% opacity */
  z-index: 0;
}

/* Ensure content stays above the overlay */
.bg-icon > * {
  position: relative;
  z-index: 1;
}

/* Base circle styles */
.tcircle-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tcircle {
  position: relative;
  aspect-ratio: 1/1; /* Maintain perfect circle */
  width: 100%;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: all 0.5s ease;
  overflow: hidden;
}

/* Responsive sizing */
.tcircle {
  max-width: 250px; /* Default size */
}

.tcircle-icon {
  font-size: 2rem;
}

.circle-title {
  font-size: 0.8rem;
  text-align: center;
  padding: 0 5px;
}
.circle-text {
  font-size: 0.8rem;
  text-align: center;
  padding: 0 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .tcircle {
    max-width: 120px; /* Smaller circle on mobile */
  }

  .tcircle-icon {
    /* font-size: 1.4rem; */
    display: none;
  }

  .circle-title {
    margin-top: 10px;
    font-size: 0.4rem;
    line-height: 1.2;
  }
  .circle-text {
    font-size: 0.6rem;
    padding: 0 2px;
    line-height: 1.2;
  }

  .tcircle-content {
    padding: 5px;
  }
}

/* Optional: Add these if you want the green edge animation */
@keyframes drawBorder {
  0% {
    border: 4px dashed transparent;
  }
  50% {
    border: 4px dashed green;
    transform: rotate(15deg);
  }
  100% {
    border: 4px dashed transparent;
    transform: rotate(0deg);
  }
}

.tcircle:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: drawBorder 1s ease-in-out;
}
.h-line {
  width: 100%;
  height: 9px;
  margin-top: 20px;
  background-color: var(--secondary);
  border: none;
  margin: 20px auto;
  opacity: 0.8;
}
.intro-text {
  font-size: 18px;
  font-weight: 500em;
  text-align: center;
  letter-spacing: 1.5px;
  padding: 10px;
  border-radius: 2px;
}
/* Tablet Responsiveness */
@media (max-width: 768px) {
  .intro-text {
    font-size: 16px;
    font-weight: 200em;
    text-align: center;
    letter-spacing: 1.1px;
    padding: 10px;
  }
}
/* Mobile Responsiveness */
@media (max-width: 480px) {
  .intro-text {
    font-size: 16px;
    font-weight: 200em;
    text-align: center;
    letter-spacing: 1.1px;
    padding: 10px;
  }
}
.result-card-text {
  font-size: 18px;
  font-style: normal;
  text-align: left;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}
.counter-section {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}
.decorated-image {
  width: 100%;
  height: auto;
  /* max-width: 400px; */
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.decorated-image:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.spacer-40 {
  margin: 40px;
}

.spinner {
  display: none;
  text-align: center;
  margin-top: 10px;
}
.cards-image {
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.image-container {
  display: none;
  text-align: center;
  margin-top: 10px;
}

/* Processes */
.fade-background {
  background-color: #f4f4f4;
}
.process-body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 10px;
}

.process-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap; /* Prevents wrapping on larger screens */
  justify-content: center;
}

/* Process card styles */
.process-card {
  padding: 40px;
  background: var(--secondary);
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  min-width: 150px;
}

/* Arrow styles */
.arrow {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  .process-card {
    padding: 15px;
    font-size: 14px;
    min-width: 120px;
  }
  .arrow {
    font-size: 1.5rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .process-container {
    flex-direction: column; /* Stack processes vertically */
    align-items: center;
  }

  .arrow {
    transform: rotate(90deg); /* Rotates arrow to point downward */
  }

  .process-card {
    padding: 10px;
    font-size: 12px;
    min-width: 90px;
  }
}
.color-third {
  background-color: var(--third);
}
.nav-text {
  color: var(--dark);
  background-color: #ffffff;
}

/* Default state (top of page) - transparent bg with dark text */
/*Navbar  Initial state - transparent with white text */
/* ===============================navbar scroll behaviour start================ */
.navbar {
  transition: all 0.3s ease;
  background-color: transparent !important;
}

.navbar .nav-link,
.navbar .top-bar small,
.navbar .top-bar .text-body,
.navbar .btn-sm-square {
  color: white !important;
  transition: all 0.3s ease;
}

/* Scrolled state - white bg with dark text */
.navbar-scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link,
.navbar-scrolled .top-bar small,
.navbar-scrolled .top-bar .text-body {
  color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-scrolled .btn-sm-square {
  background-color: white !important;
}

.navbar-scrolled .btn-sm-square .fa {
  color: rgba(0, 0, 0, 0.9) !important;
}
/* ===============================navbar scroll behaviour ends================ */
.full-width-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5%;
}
