:root {
  --bg-color: #ffffff;
  --text-color: black;
  --nav-bg: #ffffff;
  --nav-text: black;
  --header-bg: rgb(32, 32, 32);
  --info-section-bg: #ffffff;
  --card-bg: linear-gradient(135deg, #2d5a27, #4a7c3f);
  --footer-bg: #000000;
  --accent-color: #196b2c;
  --shadow: rgba(0, 0, 0, 0.5);
}

.dark-mode {
  --bg-color: #333333;
  --text-color: #f0f0f0;
  --nav-bg: #444444;
  --nav-text: #f0f0f0;
  --header-bg: #111111;
  --info-section-bg: #444444;
  --footer-bg: #222222;
  --shadow: rgba(255, 255, 255, 0.1);
}

body {
  background-color: var(--bg-color);
  font-family: coolvetica;
  color: var(--text-color);
  background-image: url("../img/Background1.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-attachment: scroll;
}

h1 {
  font-size: 200px;
  text-align: center;
  margin-top: 200px;
  color: white;
}


/*---------------------------------------------*/
/*-----------Contact Button-----------*/


.btn-success {
  background-color: #196b2c;
  border: none;
  border-radius: 20px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  display: contents;
  text-decoration: none;
  font-size: 40px;
  cursor: pointer;
  display: block;
  margin: 80px auto;
  /* 80px top/bottom, auto left/right */
  width: fit-content;
}


/*---------------------------------------------*/
/*-----------Text1-----------*/


.text1 {
  font-size: 20px;
  text-align: center;
  margin: 50px;
  margin-left: 200px;
  margin-right: 200px;
  font-family: nexa;
  color: white;
}


/*---------------------------------------------*/
/*-----------Navigation-----------*/


.navbar-expand-sm {
  background-color: var(--nav-bg);
  border: solid 0.1px white;
  border-radius: 50px;
  margin-left: 300px;
  margin-right: 300px;
  box-shadow: 20px 20px 50px var(--shadow);
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: unset;
  /* make navigation bar fixed so it stays with the header and does not scroll */
  position: fixed;
  /* position just below the black info bar and overlap by a few pixels */
  top: 70px;
  left: 0;
  right: 0;
  z-index: 101;
  /* higher than .box so it overlaps */
  display: flex;
  justify-content: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--nav-text);
  font-size: 30px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--nav-text) !important;
}

.nav-link1 {
  color: rgb(255, 255, 255);
  font-size: 30px;
  text-decoration: none;
  background-color: var(--accent-color);
  border: solid 0px;
  padding: 20px;
  border-radius: 20px;
}

.hamburger {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--nav-text);
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--nav-bg);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 20px 50px var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.dropdown-menu-custom.active {
  max-height: 500px;
  /* adjust based on content */
}

.dropdown-menu-custom .dropdown-item {
  padding: 15px;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 20px;
  width: 100%;
  text-align: center;
}

.search-input-mobile {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.contact-btn-mobile {
  background-color: #196b2c;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin: 10px 0;
  display: block;
  text-align: center;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .navbar-expand-sm {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 20px;
    top: 99px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .navbar-container {
    padding: 0 10px;
  }

  body {
    background-size: 170% auto;
    background-position: top center;
  }

  .hamburger {
    font-size: 24px;
  }
}

header {
  background-color: var(--header-bg);
  color: white;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.box .border {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.box .m-2 {
  border: none !important;
  background-color: transparent !important;
}

/*---------------------------------------------*/
/*-----------no idea-----------*/


.me-2 {
  height: 60px;
  width: 300px;
  border-radius: 30px;
  border: solid black 2px;
  background-color: #cacaca;
  padding-left: 30px;
}

.me-2:hover {
  background-color: #b0b0b0;
  transition: 0.5s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}


/*---------------------------------------------*/


.box .group {
  position: fixed;
  top: -810px;
  left: -802px;
  width: 1440px;
  height: 99px;
  display: flex;
  background-color: #222222;
}

.box .div {
  display: inline-flex;
  margin-top: 27px;
  width: 991px;
  height: 24px;
  margin-left: 92px;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 52px;
}

.box .frame {
  width: 318px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  margin-left: 460px;
}

.box .img {
  width: 20px;
  height: 20px;
  position: relative;
  aspect-ratio: 1;
}

.box .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Coolvetica-Regular", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.box .frame-2 {
  width: 439px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.box .frame-3 {
  width: 130px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.box .vector {
  width: 22px;
  height: 22px;
  margin-left: -1.00px;
  position: relative;
  aspect-ratio: 1;
}

.box {
  width: 100%;
  min-height: 99px;
  height: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

.box>.container-xxl,
.box>.d-flex {
  padding-top: 8px;
  padding-bottom: 8px;
}

.box .group {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 99px;
  display: flex;
  background-color: #222222;
  z-index: 100;
}

.box .div {
  display: inline-flex;
  margin-top: 27px;
  height: 24px;
  margin-left: 92px;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 52px;
}

.box .frame {
  width: 318px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.box .img {
  width: 20px;
  height: 20px;
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 17px;
}

.box .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: Coolvetica, regular;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  font-style: normal;
}

.box .frame-2 {
  width: 439px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.box .frame-3 {
  width: 130px;
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  font-style: normal;
}

.box .vector {
  width: 22px;
  height: 22px;
  margin-left: -1.00px;
  position: relative;
  aspect-ratio: 1;
}


/*---------------------------------------------*/
/*-----------Bottom Page-----------*/


.info-section {
  background-color: var(--info-section-bg);
  /* let content determine height; spacing handled by Bootstrap py-5 on the element */
  /* removed fixed height and flex to avoid content overflow/overlap */
  padding-top: 160px;
  /* header (99px) + nav (~60px) */
  padding-left: 2rem;
  padding-right: 2rem;
}

.info-card {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 1200px;
  /* increase this for wider card */
  padding: 10px;
  /* increase this for more inner space */
  color: white;
}

.info-icon {
  font-size: 60px;
  border-radius: 15px;
  padding: 20px;
  width: 100px;
  height: 100px;
  text-align: center;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 200px;
}

.info-title {
  font-size: 40px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.info-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.bi-box {
  font-size: 10rem;
  margin-right: 90px;
}

.title1 {
  font-size: 100px;
  font-style: italic;
  text-align: center;
  margin-top: 50px;
  color: #47873E;
}

.title2 {
  font-size: 100px;
  text-align: center;
  margin-top: 2px;
  color: var(--text-color);
}

.service1-title {
  font-size: 30px;
  text-align: left;
  margin-top: 20px;
}

.service1-text {
  font-size: 14px;
  text-align: left;
  margin-top: 10px;
  color: var(--text-color);
}

.btn4 {
  background-color: #196b2c;
  border: none;
  border-radius: 10px;
  color: white;
  padding-bottom: 13px;
  padding-top: 13px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;
  display: contents;
  text-decoration: none;
  font-size: 20px;
  cursor: pointer;
  display: block;
  margin-top: 20px;
  /* Add some space above the button */
}

.btn-service {
  color: rgb(255, 255, 255);
  font-size: 20px;
  text-decoration: none;
  background-color: #196b2c;
  border: solid 0px;
  padding: 10px;
  border-radius: 10px;
}

.btn-success-service {
  color: rgb(255, 255, 255);
  font-size: 20px;
  text-decoration: none;
  background-color: #196b2c;
  border: solid 0px;
  margin-top: 30px;
  padding: 14px;
  border-radius: 14px;
}

.col-md-4 {
  margin: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.service1-text {
  margin-right: 200px;
}

header,
.navbar-expand-sm {
  transition: transform 0.5s ease;
}

header.hidden,
.navbar-expand-sm.hidden {
  transform: translateY(-139%);
}

/* Footer */
.footer-logo {
  width: 300px;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {

  /* Navbar adjustments */
  .navbar-expand-sm {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 20px;
    top: 99px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .nav-link,
  .nav-link1 {
    font-size: 18px;
    padding: 10px;
  }

  .navbar-brand img {
    width: 60px;
    height: 60px;
  }

  .me-2 {
    width: 120px;
    height: 40px;
    font-size: 14px;
    padding-left: 15px;
  }

  /* Header (black box) adjustments */
  .box .div {
    flex-direction: column;
    gap: 5px;
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
  }

  .box .frame,
  .box .frame-2,
  .box .frame-3 {
    width: 100%;
    justify-content: center;
  }

  .box .text-wrapper {
    white-space: normal;
    text-align: center;
    font-size: 14px;
  }

  .box .img,
  .box .vector {
    width: 16px;
    height: 16px;
  }

  /* Adjust main title for mobile */
  h1 {
    font-size: 80px;
    margin-top: 150px;
  }

  .text1 {
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .btn-success {
    font-size: 20px;
    padding: 10px 20px;
    margin: 40px auto;
  }

  /* Mobile search button and contact link styles */
  .btn-outline-secondary {
    font-size: 14px;
    padding: 5px 10px;
    margin: 0 5px;
  }

  .nav-link1 {
    margin: 0 5px;
  }
}

/* Dark mode overrides for Bootstrap classes */
.bg-dark {
  background-color: var(--footer-bg) !important;
}

.text-light {
  color: var(--text-color) !important;
}

/* Theme toggle button */
#theme-toggle,
#theme-toggle-mobile {
  border: none;
  background: transparent;
  color: var(--nav-text);
  font-size: 24px;
}

#theme-toggle:hover,
#theme-toggle-mobile:hover {
  color: var(--accent-color);
}