:root {
  --primary: #198754;
  --light: #f5f5f5;
  --dark: #353535;
}

.fw-medium {
  font-weight: 500 !important;
}

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

.fw-black {
  font-weight: 900 !important;
}

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

/*** 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 {
  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 ***/
/* Navbar styles */
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
  transform: translateY(-2px);
}

.navbar-light .navbar-brand {
  height: 75px;
  transition: transform 0.3s ease;
}

.navbar-light .navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-light.sticky-top {
  top: 0;
  transition: top 0.5s ease;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 10px;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 30px;
  height: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-toggler-icon::before {
  top: 0;
}

.navbar-toggler-icon span {
  top: 8.5px;
}

.navbar-toggler-icon::after {
  bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Dropdown styles */
.custom-dropdown-menu {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light black border */
  border-radius: 8px; /* Rounded corners */
  min-width: 280px;
  padding: 10px 0;
}

.custom-dropdown-menu .dropdown-item {
  padding: 10px 30px;
  text-align: left;
  color: #000048;
  transition: all 0.3s ease;
}

.custom-dropdown-menu .dropdown-item:hover {
  background: #f0f0f0;
  color: var(--primary);
}

/* Desktop: Show dropdown on hover */
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light black border */
    border-radius: 8px; /* Rounded corners */
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  }

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

  .navbar-brand-mobile {
    display: none;
  }
}

/* Mobile: Adjust navbar collapse */
@media (max-width: 991.98px) {
  .navbar-light .navbar-nav {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar-light .navbar-nav .nav-link {
    margin: 0;
    padding: 15px 0;
    font-size: 18px;
    color: var(--dark);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }

  .navbar-light .navbar-nav .nav-link:hover {
    background: #6b69690d;
    color: var(--primary);
    transform: translateY(-2px);
  }

  .navbar-light .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-collapse {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    transition: top 0.4s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    max-height: 100vh;
  }

  .navbar-collapse.show {
    top: 0;
  }

  .navbar-brand-mobile {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-brand-mobile img {
    height: 60px;
    transition: transform 0.3s ease;
  }

  .navbar-brand-mobile img:hover {
    transform: scale(1.05);
  }

  .navbar {
    padding: 10px 15px;
  }

  /* Ensure dropdown menu aligns properly on mobile */
  .custom-dropdown-menu {
    position: static;
    width: 100%;
    color: black;
    box-shadow: none; /* Remove shadow on mobile for cleaner look */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Remove border on mobile */
    background: white;
  }

  .custom-dropdown-menu .dropdown-item {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}
/* navbar end */

/* page header start */
.page-header {
  background: linear-gradient(rgba(206, 206, 206, 0), rgba(253, 250, 250, 0.158)),
    url(../img/carousel-1.png) center center no-repeat;
  background-size: cover;
}

/* page header end */

/* header */
@media (max-width: 576px) {
  .header-carousel p {
    display: none !important; /* hide all paragraphs */
  }
  .header-carousel img {
    height: 300px !important; /* increase image height on mobile */
  }
}

.owl-nav {
  display: none;
}

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

/* Features Start */
:root {
  --secondary-color: white;
  --accent-color: #198754;
  --light-blue: #e6f0ff;
  --gradient-primary: linear-gradient(135deg, #198754, #0056d3);
}

.features-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8faff 0%, #e6f0ff 100%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23003d94" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 61, 148, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.7s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 61, 148, 0.2);
  /* border-color:  #198754; */
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.icon-container {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.icon-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.feature-card:hover .icon-container::before {
  left: 100%;
}

.feature-card:hover .icon-container {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 61, 148, 0.3);
}

.icon-container i {
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-container i {
  transform: scale(1.2);
}

.feature-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 61, 148, 0.1);
  line-height: 1;
  transition: all 0.4s ease;
  position: relative;
}

.feature-card:hover .feature-number {
  color: rgba(0, 61, 148, 0.2);
  transform: scale(1.1);
}

.feature-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.feature-card:hover .feature-title {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Floating Animation */
.feature-card {
  animation: slideInUp 0.8s ease forwards, float 6s ease-in-out infinite;
}

.feature-card:nth-child(2) {
  animation-delay: 0.3s, 1s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.5s, 2s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.7s, 3s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse Effect on Hover */
.feature-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 61, 148, 0.1);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.feature-card:hover::after {
  width: 200px;
  height: 200px;
}

/* Progress Bar Animation */
.progress-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  border-radius: 0 0 20px 20px;
}

.feature-card:hover .progress-indicator {
  width: 100%;
}

/* Breathing Animation for Icons */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.icon-container {
  animation: breathe 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .icon-container {
  animation-delay: 0.5s;
}
.feature-card:nth-child(3) .icon-container {
  animation-delay: 1s;
}
.feature-card:nth-child(4) .icon-container {
  animation-delay: 1.5s;
}

/* Glowing Effect */
.glow-effect {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(10px);
}

.feature-card:hover .glow-effect {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-section {
    padding: 60px 0;
  }

  .feature-card {
    margin-bottom: 30px;
  }

  .icon-container {
    width: 60px;
    height: 60px;
  }

  .icon-container i {
    font-size: 1.5rem;
  }

  .feature-number {
    font-size: 3rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }
}

/* Counter Animation */
.animated-counter {
  display: inline-block;
  animation: counterPop 0.6s ease;
}

@keyframes counterPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Stagger the counter animations */
.feature-card:nth-child(1) .animated-counter {
  animation-delay: 0.2s;
}
.feature-card:nth-child(2) .animated-counter {
  animation-delay: 0.4s;
}
.feature-card:nth-child(3) .animated-counter {
  animation-delay: 0.6s;
}
.feature-card:nth-child(4) .animated-counter {
  animation-delay: 0.8s;
}

/* Particle Effects */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #198754;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 8s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  left: 70%;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  left: 90%;
  animation-delay: 6s;
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translateY(100px);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 0.3;
  }
  50% {
    transform: translateY(-50px);
    opacity: 0.6;
  }
}
/* Features end */

/*** Section Title ***/
.section-title h1 {
  position: relative;
  display: inline-block;
  padding: 0 60px;
}

.section-title.text-start h1 {
  padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 5px;
  bottom: 0;
  background: var(--dark);
}

.section-title h1::before {
  left: 0;
}

.section-title h1::after {
  right: 0;
}

.section-title.text-start h1::before {
  display: none;
}

/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Service ***/
.services-container {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.services-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23003d94" opacity="0.1"/><circle cx="80" cy="40" r="2" fill="%23003d94" opacity="0.1"/><circle cx="40" cy="80" r="2" fill="%23003d94" opacity="0.1"/></svg>');
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #198754;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #198754, #0056d3);
  border-radius: 2px;
}

.section-subtitle {
  color: #198754;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.8;
}

.service-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 61, 148, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  margin-bottom: 30px;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #198754 0%, #0056d3 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 61, 148, 0.2);
  border-color: #198754;
}

.service-item:hover::before {
  opacity: 0.03;
}

.service-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover img {
  transform: scale(1.1) rotate(2deg);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #198754 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-item:hover .service-overlay {
  opacity: 0.1;
}

.service-content {
  padding: 30px 25px;
  text-align: center;
  position: relative;
  z-index: 2;
  background: white;
}

.service-content h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-item:hover .service-content h4 {
  color: #198754;
}

.service-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #198754;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.read-more-btn::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #198754;
  transition: width 0.3s ease;
}

.read-more-btn:hover {
  color: #198754;
  transform: translateX(5px);
}

.read-more-btn:hover::before {
  width: 100%;
}

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

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

/* Staggered Animation */
.service-item {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease forwards;
}

.service-item:nth-child(1) {
  animation-delay: 0.1s;
}
.service-item:nth-child(2) {
  animation-delay: 0.3s;
}
.service-item:nth-child(3) {
  animation-delay: 0.5s;
}
.service-item:nth-child(4) {
  animation-delay: 0.7s;
}
.service-item:nth-child(5) {
  animation-delay: 0.9s;
}
.service-item:nth-child(6) {
  animation-delay: 1.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Number Badge */
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #198754, #0056d3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 3;
  transition: transform 0.3s ease;
}

.service-item:hover .service-badge {
  transform: rotate(360deg) scale(1.1);
}

/* Floating elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.floating-element-1 {
  top: 10%;
  left: 5%;
  color: #198754;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
  top: 20%;
  right: 8%;
  color: #0056d3;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite reverse;
}

.floating-element-3 {
  bottom: 15%;
  left: 10%;
  color: #198754;
  opacity: 0.1;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title h1 {
    font-size: 2.5rem;
  }

  .service-item {
    margin-bottom: 20px;
  }

  .service-content {
    padding: 20px 15px;
  }
}

@media (max-width: 576px) {
  .section-title h1 {
    font-size: 2rem;
  }

  .services-container {
    padding: 60px 0;
  }
}
/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

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

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

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

.portfolio-item .portfolio-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0;
  bottom: 0;
  left: 50%;
  background: rgba(53, 53, 53, 0.7);
  transition: 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
  width: 100%;
  height: 100%;
  left: 0;
}

.portfolio-item .portfolio-overlay .btn {
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
  opacity: 1;
}

/*** Quote ***/
@media (min-width: 992px) {
  .container.quote {
    max-width: 100% !important;
  }

  .quote-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .quote-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .quote-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
  width: 90%;
  height: 300px;
}

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

.team-item .team-social {
  position: absolute;
  width: 38px;
  top: 50%;
  left: -38px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: 0.5s;
}

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

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

.team-item:hover .team-social {
  left: 0;
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  border: 5px solid var(--light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  transform: scale(1);
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}

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

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Footer ***/
.footer {
  background: #faf8f8dc;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url(../img/footer.jpg) center center no-repeat; */
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.footer .btn.btn-social {
  margin-right: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #198754;
  border: 1px solid #198754;
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: scale(1);
}

.footer .btn.btn-social:hover {
  color: #ffffff;
  background-color: #198754;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 61, 148, 0.3);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: #198754;
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: all 0.3s ease;
  position: relative;
  left: 0;
}

.footer .btn.btn-link::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 12px;
  color: #198754;
  transition: all 0.3s ease;
}

.footer .btn.btn-link:hover {
  color: #198754;
  left: 5px;
  letter-spacing: 1.2px;
  opacity: 0.7;
}

.footer .copyright {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  font-size: 14px;
  border-top: 1px solid rgba(0, 61, 148, 0.2);
  background: #eeededdc;
}

.footer .copyright a {
  color: #198754;
  transition: color 0.3s ease;
  font-size: 20px;
  font-weight: 500;
}

.footer .copyright a:hover {
  color: #002a66;
}

.animate-slide-in {
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 0.6s forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer h4 {
  position: relative;
  padding-bottom: 10px;
  color: var(--accent-color);
}

.footer .paragraph {
  color: var(--accent-color);
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #198754;
  transition: width 0.3s ease;
}

.footer h4:hover::after {
  width: 100px;
}

.footer .btn.btn-primary {
  background-color: #198754;
  border-color: #198754;
  color: #ffffff;
}

.footer .btn.btn-primary:hover {
  background-color: #002a66;
  border-color: #002a66;
}

.footer input.form-control {
  border: 1px solid #198754 !important;
  color: #198754;
}

.footer input.form-control::placeholder {
  color: #198754;
  opacity: 0.6;
}

.trust-feature {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  min-width: 250px;
}

.trust-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  background: var(--bs-light);
}

.trust-feature i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.trust-feature span {
  font-weight: 600;
  color: #333;
}

.custom-card {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.custom-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* image card section */
.plant-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.plant-card-img {
  max-height: 160px;
  object-fit: contain;
}

.plant-card-body {
  padding: 10px;
}

.plant-card-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin: 0;
  transition: color 0.3s ease;
}

.plant-card:hover .plant-card-text {
  color: #0077b6; /* blue accent on hover */
}
/* image card section end */

/* product card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }

  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  /* Larger images */
  .product-img {
    padding: 20px;
    max-height: 220px;
    object-fit: contain;
  }

  /* Title styling */
  .product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000048;
  }

  /* product end */