/* font */

@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Marcellus&display=swap");
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}
/* variable */
:root {
  --alt-font: "Marcellus", serif;
  --primary-font: "Lato", sans-serif;
  --base-color: #3F5536;
  --green: #3a954f;
  --dark-gray: #1f2220;
  --medium-gray: #828282;
  --very-light-gray: #f7f7f7;
  --nero-gray: #1f1f1f;
}
body {
  font-size: 16px;
  line-height: 28px;
}
/* header */
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
  width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
  font-size: 16px;
  color: var(--dark-gray);
  font-weight: 600;
}
.navbar
  .navbar-nav
  .dropdown.dropdown-with-icon-style02
  .dropdown-menu
  li
  a:hover,
.navbar
  .navbar-nav
  .dropdown.dropdown-with-icon-style02
  .dropdown-menu
  li.active:hover
  > a {
  background-color: var(--base-color);
  color: var(--white);
}
.navbar .navbar-nav .dropdown .dropdown-menu a i,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
  font-size: 40px;
  margin-right: 10px;
  width: 40px;
}
.navbar
  .navbar-nav
  .dropdown.dropdown-with-icon-style02
  .dropdown-menu
  li
  a:hover
  i {
  color: var(--dark-gray);
}
header .navbar-brand img {
  max-height: 65px;
}
.navbar .navbar-nav .nav-link {
  font-weight: 600;
  font-size: 18px;
}
/* button */
.btn {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0px;
}
.btn.btn-switch-text.btn-extra-large > span {
  padding: 17px 38px;
  font-size: 17px;
}
.btn.btn-switch-text.btn-large > span {
  padding: 13px 32px;
  font-size: 15px;
}
.btn.btn-switch-text.btn-medium > span {
  padding: 12px 26px;
  font-size: 14px;
}
/* heading */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 25px;
}
/* Text gradient color */
.text-gradient-light-green-white {
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #ebf6ee 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Background color */
.bg-light-green {
  background-color: #c4e7cc;
}
.bg-very-light-green {
  background-color: #ebf3ed;
}
/* Transparent background color */
.bg-gradient-green-transparent {
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #ebf3ed 100%);
}

.right-210px {
  right: 210px;
}

/* page title */
.page-title-large h1 {
  font-size: 4.2rem;
  line-height: 4rem;
}
.page-title-large h2 {
  font-size: 18px;
}

/* Border color */
.border-color-dark-green {
  border-color: var(--green);
}
/* Subcribe style 02 */
.newsletter-style-02 .btn:hover {
  background-color: var(--green);
}
.newsletter-style-02 .btn {
  height: 85%;
  margin: 4px;
  padding: 5px 20px 5px;
}
.newsletter-style-02 input {
  padding-right: 75px !important;
}

/* Will change */
.animation-rotation {
  -webkit-animation: rotation 2.5s infinite linear;
}
/* footer */
footer .footer-logo img {
  max-height: 92px;
  width: auto;
}
footer a:hover {
  color: var(--white);
}
footer ul li {
  margin-bottom: 2px;
}
@media (min-width: 1400px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1320px;
  }
}
@media (max-width: 1600px) {
  /* Font size */
  .fs-80 {
    font-size: 4rem;
    line-height: 4rem;
  }
}
@media (max-width: 1199px) {
  .navbar .navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 10px;
  }
}
@media (max-width: 991px) {
  /* Background image */
  .md-background-position-top-center {
    background-position: top center !important;
  }
  .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    padding-bottom: 15px;
  }
}
@media (max-width: 767px) {
  /* Background image */
  .sm-background-position-top-center {
    background-position: top center !important;
  }
}
/* ============================= Custom CSS =========================== */
/* Header adjustments */

/* Basic reset for the menu list */
.menu-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* SITE DROPDOWN (accordion style for hamburger) */
.site-dropdown {
  width: 100%;
}

.site-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 10px 0;
  text-align: left;
}

.site-caret {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.1s ease;
  font-size: 0.9em;
  line-height: 1;
}

.site-dropdown.open .site-caret {
  transform: rotate(180deg);
  transition: ease-in-out 0.15s;
  transition: transform 0.3s ease;
}

/* Dropdown menu inside overlay: make it flow (not absolute) so z-index/pointer issues avoided */
.site-dropdown-menu {
  display: none;
  margin: 6px 0 14px 0;
  padding-left: 12px;
  /* indent nested items */
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.site-dropdown.open .site-dropdown-menu {
  display: block;
}

.site-dropdown-item {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  /* assuming dark hamburger overlay */
  opacity: 0.95;
  border-radius: 8px;
}

.site-dropdown-item:hover,
.site-dropdown-item:focus {
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  outline: none;
}

/* small visual adjustments so items match original menu spacing */
.menu-item-list .menu-item {
  margin: 0 0 8px 0;
}

.glassmorphism {
  background: rgba(0, 0, 0, 0.55);
  /* semi-transparent white */
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* CSS to force the accordion arrow to be white */
/* Accordian card styling */
.accordion-button::after {
  filter: invert(1) grayscale(1) brightness(200%) !important;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1) grayscale(1) brightness(200%) !important;
}
/* Accordian card styling */
.project-card {
  background-color: #1c1c1c;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.project-card .card-body {
  padding: 22px;
  background-color: #1e1e1e;
  flex-grow: 1;
}

.project-card .title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 20px;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Accordion styling */
.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #121212;
  color: #ffffff;
}
/* about us timline */
.timeline-wrapper {
  position: relative;
  padding: 30px 0;
}

/* The central vertical line of the timeline */
.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  /* Thinner line for a slicker look */
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  /* Increased spacing between items */
}

/* The circle on the timeline line for each event */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 8px;
  /* Aligns circle with the year text */
  left: 50%;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 2px solid #000;
  transform: translateX(-50%);
  z-index: 1;
  transition: transform 0.2s ease-out;
}

/* Enlarge the circle on hover of the parent item */
.timeline-item:hover::after {
  transform: translateX(-50%) scale(1.25);
}

.timeline-content {
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  /* Subtle lift effect on hover */
}

.timeline-content img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Positioning the connecting line for RIGHT side items --- */
.timeline-item.right .timeline-content {
  margin-left: 40px;
}

.timeline-item.right .timeline-content::before {
  left: -40px;
}

/* --- Positioning the connecting line for LEFT side items --- */
.timeline-item.left .timeline-content {
  margin-right: 40px;
  text-align: right;
}

.timeline-item.left .timeline-content::before {
  right: -40px;
}

/* --- NEW Minimal Styling for the Year --- */
.timeline-year {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 10px;
}

/* --- Responsive Design --- */
@media (max-width: 767.98px) {
  .timeline-wrapper::before {
    left: 8px;
  }

  .timeline-item::after {
    left: 8px;
  }

  .timeline-item-col {
    padding-left: 40px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    margin: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-content::before,
  .timeline-item.right .timeline-content::before {
    left: -30px;
    /* Reposition for mobile */
    width: 30px;
    right: auto;
  }
}
/* css for sustainability carbon credit  */

.dark-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.dark-card:hover {
  background: rgba(30, 30, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.icon-glow {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 153, 255, 0.5),
    rgba(0, 90, 180, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 153, 255, 0.5);
  transition: all 0.3s ease;
}

.icon-glow i {
  font-size: 28px;
  color: #00aaff;
  transition: transform 0.3s ease;
}

.dark-card:hover .icon-glow {
  box-shadow: 0 0 18px rgba(0, 153, 255, 0.7);
  transform: scale(1.05);
}

.dark-card:hover .icon-glow i {
  transform: scale(1.15);
}
/* Globe map + counter styles */
/* --- OVERLAY STYLES --- */
section.one-fourth-screen::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.one-fourth-screen .container {
  position: relative;
  z-index: 1;
}

/* --- GLASSMORPHISM STYLES --- */
.glassmorphic-card {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.glassmorphic-card h6,
.glassmorphic-card span {
  color: #ffffff !important;
}

.glassmorphic-card .rounded-circle {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.counter-wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.counter-tight-spacing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-tight-spacing h6,
.counter-tight-spacing span {
  margin: 0;
  line-height: 1.5;
}

.counter-tight-spacing h6 {
  margin-bottom: -3px;
}

/* Flex Container for Counters */
.counters-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 5%;
  margin-top: 50px;
}

/* Staggered (up/down) effect - Desktop/Large Tablet */
.counters-flex-container .counter-wrapper:nth-child(even) {
  margin-top: 90px;
}

/* --- RESPONSIVE STYLES FOR TABLET (between 768px and 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
  section.one-fourth-screen {
    height: auto !important;
    padding: 80px 0;
  }

  .counters-flex-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
  }

  .counter-wrapper {
    width: 45%;
    margin-bottom: 20px;
    min-width: unset;
  }

  .glassmorphic-card {
    padding: 15px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .counter-wrapper div.rounded-circle {
    width: 60px !important;
    height: 60px !important;
  }

  .counter-wrapper h6.vertical-counter {
    font-size: 1.1rem !important;
  }

  .counter-wrapper span {
    font-size: 0.8rem !important;
  }

  /* Remove large stagger effect for tablet */
  .counters-flex-container .counter-wrapper:nth-child(even) {
    margin-top: 0;
  }
}

/* --- RESPONSIVE STYLES FOR TABLET/MOBILE (768px and below) --- */
@media (max-width: 768px) {
  section.one-fourth-screen {
    height: auto !important;
    padding: 60px 0;
  }

  .counters-flex-container {
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 0 10px;
  }

  .counter-wrapper {
    width: 45%;
    margin-bottom: 20px;
    min-width: unset;
  }

  .glassmorphic-card {
    padding: 15px;
    border-radius: 6px;
  }
}

@media (max-width: 576px) {
  .counter-wrapper {
    width: 47%;
    /* slightly wider */
    margin: 10px 1%;
    /* even spacing */
  }

  /* Ensure row spacing is consistent */
  .counters-flex-container .counter-wrapper:nth-child(even) {
    margin-top: 10px;
  }

  .counter-wrapper div.rounded-circle {
    width: 50px !important;
    height: 50px !important;
  }

  .counter-wrapper h6.vertical-counter {
    font-size: 1rem !important;
  }

  .counter-wrapper span {
    font-size: 0.7rem !important;
  }
}
