
:root {
  --clr-bg-header: #3D8361;
  --clr-btn: #3D8361;
  --clr-dropdown: #1C6758;
  --clr-nav-hover: #1E6F5C;
  --clr-dropdown-hov: #289672;
  --clr-dropdown-link-hov: #29BB89;
  --clr-light: #FAFAFA;
}

body {
    /*font-family: 'Poppins', sans-serif;*/
    color: #000;
    padding: 0px;
    margin: 0px;
    background-color: #f8f9fa!important;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
p{
    font-weight: 400;
}

.dropdown-toggle::after {
    display: none;
  }
.text-decoration-none{
  text-decoration: none!important;
}
/* Font Awesome Icons have variable width. Added fixed width to fix that.*/
.icon-width { width: 2rem;}

.custom-nav{
    background-color: #3D8361 !important;
    color: white !important;
    font-weight: bolder !important;
}
.custom-nav li a{
    color: white !important;
}

.bolder{
    font-weight: bolder;
}
.bold{
    font-weight: bold;
}

.search-container {
    position: relative;
    width: 100%; /* Adjust width as needed */
    margin: 2px auto; /* Center horizontally */
    border: 1px solid #3D8361;
       border-radius:.75rem;

       }



ol{
    color: #3D8361;
    line-height: 2rem;
    font-size: 0.9rem;
}

    .main-area{
        padding-left:10rem;
        padding-right:10rem;
    }

      /* end footer section*/

      .accordion .accordion-item {
        border-bottom: 1px solid #e5e5e5;
      }
      
      .accordion .accordion-item button[aria-expanded='true'] {
        border-bottom: 1px solid #3D8361;
      }
      
      .accordion button {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding: 1em 0;
        color: #0c0c0c;
        font-size: 1.15rem;
        font-weight: 400;
        border: none;
        background: none;
        outline: none;
      }
      
      .accordion button:hover,
      .accordion button:focus {
        cursor: pointer;
        color: #3D8361;
      }
      
      .accordion button:hover::after,
      .accordion button:focus::after {
        cursor: pointer;
        color: #3D8361;
        border: 1px solid #3D8361;
      }
      
      .accordion button .accordion-title {
        padding: 1em 1.5em 1em 0;
      }
      
      .accordion button .icon {
        display: inline-block;
        position: absolute;
        top: 18px;
        right: 0;
        width: 22px;
        height: 22px;
        border: 1px solid;
        border-radius: 22px;
      }
      
      .accordion button .icon::before {
        display: block;
        position: absolute;
        content: '';
        top: 9px;
        left: 5px;
        width: 10px;
        height: 2px;
        background: currentColor;
      }
      .accordion button .icon::after {
        display: block;
        position: absolute;
        content: '';
        top: 5px;
        left: 9px;
        width: 2px;
        height: 10px;
        background: currentColor;
      }
      
      .accordion button[aria-expanded='true'] {
        color: #3D8361;
      }
      .accordion button[aria-expanded='true'] .icon::after {
        width: 0;
      }
      .accordion button[aria-expanded='true'] + .accordion-content {
        opacity: 1;
        max-height: 9em;
        transition: all 200ms linear;
        will-change: opacity, max-height;
      }
      .accordion .accordion-content {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 200ms linear, max-height 200ms linear;
        will-change: opacity, max-height;
      }
      .accordion .accordion-content p {
        font-size: 1rem;
        font-weight: 300;
        margin: 2em 0;
      }

    /* responsive start */

  @media (max-width: 768px) {
       
        .main-area{
            padding-left:0.5rem;
            padding-right:0.5rem;
        }
        .pic_sec{
           
            height:12rem;
           
        }
}  

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  position: sticky;
  top: 0px;
  background-color: var(--clr-bg-header);
  width: 100%;
  z-index: 1000;
}

.container {
  max-width: 65rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.logo-container {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-btn {
  flex: 3;
  display: flex;
}

.nav-links {
  flex: 2;
}

.log-sign {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.logo {
  color: var(--clr-light);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 3rem;
}

.logo span {
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: .5rem 1.3rem;
  font-size: .8rem;
  border: 2px solid var(--clr-light);
  border-radius: 2rem;
  line-height: 1;
  margin: 0 .2rem;
  transition: .3s;
  text-transform: uppercase;
}

.btn.solid,
.btn.transparent:hover {
  background-color: var(--clr-light);
  color: var(--clr-btn);
}

.btn.transparent,
.btn.solid:hover {
  background-color: transparent;
  color: var(--clr-light);
}

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 0 0;
}

.nav-link > a {
  line-height: 3rem;
  color: var(--clr-light);
  padding: 0 .8rem ;
  letter-spacing: 1px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .5s;
}

.nav-link > a > i {
  margin-left: .2rem;
}

.nav-link:hover > a {
  transform: scale(1.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 10rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: .5s;
}

.dropdown ul {
  position: relative;
}

.dropdown-link > a {
  display: flex;
  background-color: var(--clr-light);
  color: var(--clr-dropdown);
  padding: .5rem 1rem;
  font-size: .9rem;
  align-items: center;
  justify-content: space-between;
  transition: .3s;
}

.dropdown-link:hover > a {
  background-color: var(--clr-dropdown);
  color: var(--clr-light);
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid var(--clr-light);
}

.dropdown-link i {
  transform: rotate(-90deg);
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: var(--clr-light);
  transform: rotate(45deg);
  cursor: pointer;
  transition: .3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: var(--clr-dropdown);
}

.dropdown-link {
  position: relative;
}

.dropdown.second {
  top: 0;
  left: 100%;
  padding-left: .8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover>.dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--clr-light);
  position: relative;
  z-index: 1001;
  transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: var(--clr-light);
  border-radius: 3px;
  transition: .5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}

#check {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 920px) {
  .hamburger-menu-container {
    display: flex;
  }

  #check {
    display: block;
  }

  .nav-btn {
    position: fixed;
    height: calc(100vh - 3rem);
    top: 3rem;
    left: 0;
    width: 100%;
    background-color: var(--clr-btn);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: .65s;
  }

  #check:checked ~ .nav-btn {
    transform: translateX(0);
  }

  #check:checked ~ .nav-btn .nav-link,
  #check:checked ~ .nav-btn .log-sign {
    animation: animation .5s ease forwards var(--i);
  }

  .nav-links {
    flex: initial;
    width: 100%;
  }

  .nav-links > ul {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .nav-link:hover > a {
    transform: scale(1);
    background-color: var(--clr-nav-hover);
  }

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: var(--clr-dropdown-hov);
    display: none;
  }

  .nav-link:hover > .dropdown,
  .dropdown-link:hover>.dropdown {
    display: block;
  }

  .nav-link:hover > a > i,
  .dropdown-link:hover>a>i {
    transform: rotate(360deg);
  }

  .dropdown-link > a {
    background-color: transparent;
    color: var(--clr-light);
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;
  }

  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;
  }

  .dropdown-link:not(:nth-last-child(2)) {
    border-bottom: none;
  }

  .arrow {
    z-index: 1;
    background-color: var(--clr-btn);
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: .5s;
  }

  .nav-link:hover .arrow {
    background-color: var(--clr-nav-hover);
  }

  .dropdown .dropdown .arrow {
    display: none;
  }

  .dropdown-link:hover > a {
    background-color: var(--clr-dropdown-link-hov);
  }

  .dropdown-link:first-child:hover ~ .arrow {
    background-color: var(--clr-nav-hover);
  }

  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: .7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: .7s;
  }

  .log-sign {
    flex: initial;
    width: 100%;
    padding: 1.5rem 1.9rem;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(15px);
  }
}

.content-area{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.footer-section {
    padding-top: 5rem;
    background-color: var(--clr-bg-header);
    min-height: 20vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: white;
    max-width: 100vw;
    padding: 3rem;
    gap: 2rem; /* Add spacing between sections */
    text-align: center;
}

.footer-secs {
    display: flex;
    flex: 1; /* Allow sections to grow */
    min-width: 200px; /* Prevent sections from becoming too small */
    max-width: 25%; /* Prevent sections from taking too much space */
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.footer-secs ul {
    list-style: disc;
    padding-left: 1rem;
}

.footer-secs ul li a {
    color: white;
    text-decoration: none; /* Improve readability */
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .footer-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-secs {
        max-width: 45%; /* Two columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-secs {
        max-width: 100%;
        align-items: center;
        margin-left: 0;
    }
}

.card-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(25% - 3rem); /* 3 cards per row */
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #1C6758;
}

.card img {
    width: 80%;
    height: auto;
    object-fit: cover;
}

.card button {
    padding: 0.5rem 2rem;
    background-color: #1C6758;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.card button:hover {
    background-color: #145A32;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .card {
        width: calc(50% - 3rem); /* 2 cards per row */
    }
}

 .layout-padding{
    padding-top: 3rem;
    padding-bottom: 3rem;
 }

 .text-center{
    text-align: center;
 }

 .search-home{
    padding: 0.5rem 2rem;
    background-color: #fdfdfd;
    color: #000;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    max-width: 100%;
    display: flex;
    flex-direction: column;
 }

 .search-home .search-header{
    background-color:#3D8361;
    color: white;
    text-align: center;
 }
.search-form-home form{
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.button-group-home{
  width: 100%;
}
.input-bill-home{
    padding: 10px;
}
.input-bill-home1{
    padding: 10px;
    width: 68%;
}
.select-bill-home{
  padding: 10px;
  width: 28%;
}
.button-bill-home{
    padding: 10px;
    background-color: #3D8361;
    color: #fdfdfd;
    font-weight:normal;
    border: none;
    font-size: larger;
    border-radius: 10px;
}

.loader {
  width: 100%;
  height: 22px;
  border-radius: 20px;
  color: #13482f;
  border: 2px solid;
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  margin: 2px;
  inset: 0 100% 0 0;
  border-radius: inherit;
  background: currentColor;
  animation: l6 9s infinite;
}

@keyframes l6 {
  100% {
    inset: 0
  }
}