/********** 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: 700 !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 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 {
  transition: 0.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: 0.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);
}

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

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

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

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

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
background: transparent; 
  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, 0.6), rgba(15, 66, 41, 0.6)),
    url(../img/carousel-1.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, 0.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: 0.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, 0.08);
  transition: 0.3s;
}

.service-item:hover .service-text {
  background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4,
.service-item .service-text p {
  transition: 0.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: 0.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: 0.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: 0.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;
}

.portfolio-inner::before,
.portfolio-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(15, 66, 41, 0.6);
  transition: 0.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: 0.5s;
  z-index: 3;
  opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
  transition-delay: 0.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: 0.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: 0.5s;
  z-index: 3;
  opacity: 0;
}

.team-item:hover .team-img .team-social {
  transition-delay: 0.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: 0.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: 0.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: #072a19;
}

.copyright a {
  color: #ffffff;
}

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

/* ========================= Language Selector CSS ========================= */

/* 1. COMPLETELY HIDE THE TOP "TRANSLATED TO" BANNER */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}

/* 2. HIDE THE "POWERED BY GOOGLE" LOGO */
.goog-te-gadget-icon {
  background-color: red !important; /* Temporary color to visualize the area */
  /* display: none !important; */
}

/* 3. STYLE THE WIDGET CONTAINER TO PREVENT OVERLAPPING */
.goog-te-gadget-simple {
  background-color: transparent !important; /* Make background see-through */
  border: none !important; /* Remove border */
  padding: 0 !important; /* Remove padding */
  margin: 0 !important; /* Remove margin */
  display: inline-block !important; /* Sit next to other links */
  vertical-align: middle; /* Align with text */
  cursor: pointer;
}

/* 4. HIDE THE TEXT ("Select Language" or "Marathi") */
/* This prevents it from being too wide and covering your links */
.goog-te-menu-value span:first-child {
  display: none !important;
}
.goog-te-menu-value span:nth-child(2) {
  display: none !important; /* Hides the separator bar */
}

/* 5. STYLE THE DROPDOWN ICON (OPTIONAL) */
/* This makes sure the arrow/icon is visible and white */
.goog-te-menu-value span {
  color: white !important;
}
.goog-te-menu-value {
  margin: 0 !important;
}

/* 6. FIX DROPDOWN MENU POSITION */
/* Ensures the actual list of languages doesn't get hidden behind other things */
.goog-te-menu-frame {
  z-index: 999999 !important;
  position: absolute !important;
}
/* hamberger */
/* FINAL POLISHED MOBILE NAVBAR */
@media (max-width: 480px) {

  .navbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 8px 12px;
  }

  .navbar-brand {
    display: flex;
    align-items: center;        /* CENTER logo with first line */
    gap: 8px;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    max-width: 100%;
  }

  .navbar-brand img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .navbar-toggler {
    align-self: start;
    margin-top: 4px;            /* KEY POLISH */
    padding: 4px 6px;
  }
}
@media (max-width: 480px) {

  .navbar-brand {
    margin-top: -9px;   /* 👈 move name slightly up */
  }

}
/* about hero */
/* Full height hero section */
.page-header {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.page-header {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Keep text above image */
.page-header .container {
  position: relative;
  z-index: 2;
}
/* products hero */
/* HERO WRAPPER */
.page-header {
  position: relative;
  width: 100%;
  min-height: 85vh;              /* ✅ Full hero on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* HERO BACKGROUND IMAGE */
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;             /* ✅ Like background-size: cover */
  object-position: center;
  z-index: -2;
}

/* DARK OVERLAY */
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
}

/* TEXT CENTERING */
.page-header .container {
  position: relative;
  z-index: 2;
}

/* ✅ MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .page-header {
    min-height: 45vh;            /* Short & clean on mobile */
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}

/* ✅ VERY LARGE DESKTOP (OPTIONAL) */
@media (min-width: 1400px) {
  .page-header {
    min-height: 90vh;
  }
}
.page-header {
  position: relative;
  width: 100%;
  min-height: 80vh;            /* Desktop full hero */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image behaves like CSS background */
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

/* Dark overlay for readability */
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
 background: none; 
  z-index: -1;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .page-header {
    min-height: 45vh;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}
.page-header {
  position: relative;
  width: 100%;
  min-height: 80vh;          /* Full hero desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .page-header {
    min-height: 45vh;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}
/* gallary */
/* Fix lazy loading + WOW animation issue */
.portfolio-inner {
  overflow: hidden;
}

/* Reserve space BEFORE image loads */
.portfolio-inner img {
  width: 100%;
  height: auto;
  min-height: 220px; /* adjust if needed */
  object-fit: cover;
  display: block;
}

/* Prevent WOW from hiding images permanently */
.wow {
  visibility: visible !important;
}
/* ===== Portfolio Section Spacing Fix ===== */

/* Overall section spacing */
.container-xxl.py-5 {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Space between title and gallery */
.container .text-center {
  margin-bottom: 30px;
}

/* Space between rows */
.portfolio-container {
  margin-bottom: 24px;
}

/* Portfolio item spacing */
.portfolio-item {
  margin-bottom: 24px;
}

/* Card styling */
.portfolio-inner {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover polish */
.portfolio-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Image consistency */
.portfolio-inner img {
  width: 100%;
  height: 260px;              /* KEY FIX */
  object-fit: cover;          /* prevents stretch */
  display: block;
}

/* Mobile optimization */
@media (max-width: 767px) {
  .portfolio-inner img {
    height: 220px;
  }
}
.banner-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  cursor: pointer;
}

/* Mobile fix */
@media (max-width: 768px) {
  .banner-img {
    max-width: 100%;
    height: auto;
  }
}
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}


/* overlay */
/* ===== REMOVE PAGE HEADER OVERLAY ===== */

/* Remove the ::after overlay */
.page-header::after {
  display: none;
}

/* Remove the background gradient overlay */
.page-header {
  background: none;
}

/* Optional: Add text shadow for readability without overlay */
.page-header h1 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
/* slogan */
/* 🔥 Make slogan box tighter */
@media (max-width: 768px) {
  [data-translate="slogan.moneyLife"] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.page-header h1 {
  color: #ffffff; /* keep text white */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 6px 12px rgba(0, 0, 0, 0.8);
}
.carousel-caption h1 {
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 6px 14px rgba(0, 0, 0, 0.8);
}
