@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*{
  box-sizing: border-box;
}
body{
  background-color: #F5F5F5 !important;
  font-family: 'Inter', sans-serif !important;
  margin: 0;
  padding: 0;
}
.sidebar-open {
    overflow: hidden;
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
  }
  .sidebar-open .overlay {
    opacity: 1;
    visibility: visible;
  }
  .header{
    padding:4px 0;
    background-color: #fff;
    box-shadow:0 1px 21px 0 rgba(135, 140, 157, .2);
    z-index: 99;
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #e4e5e7;
    /* margin-bottom: 2rem; */
  }
 
  .logo {
    color: #000;
    font-size: 36px;
    font-weight: 700;
  }
  .logo img{
    width:50px;
  }
  .container {
    padding: 0 15px;
  width: 95%;
  margin: 0 auto;
  }
  .row-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .nav-list {
    display: flex;
    align-items: center;
  }
  .nav-list li {
    padding: 0 10px;
    list-style: none !important;
  }
  .nav-list li a {
    color: #000;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    display: block;
  }
  .nav-list li a::after {
    content: "";
    background-color: #000;
    width: 0;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s linear;
  }
  .nav-list li a:hover::after {
    width: 100%;
  }
  .nav-list li.active a::after {
    width: 100%;
  }
  .nav-list li.with-submenu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 20px;
  }
  .nav-list li.with-submenu > a {
    margin-right: 10px;
  }
  .nav-list li.with-submenu::after {
    content: "";
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    position: absolute;
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
    right: 0;
    margin-bottom: 5px;
    transition: all 0.3s;
  }
  .nav-list li.with-submenu:hover::after {
    transform: rotate(225deg);
    margin-top: 10px;
  }
  .nav-list li.with-submenu .submenu {
    position: absolute;
    left: 50%;
    top: 100%;
    background: #ffffff;
    border-radius: 10px;
    transform: translateX(-50%);
    box-shadow: 2px 2px 1px 2px #ccc;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    width: max-content;
  }
  .nav-list li.with-submenu .submenu ul{
    padding: 0 !important;
  }
  .nav-list li.with-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
  }
  .nav-list li.with-submenu .submenu li {
    padding: 0;
  }
  .nav-list li.with-submenu .submenu a {
    color: #000000;
    display: block;
    padding: 10px 30px;
    transition: all 0.3s;
  }
  
  .nav-list li.with-submenu .submenu a:hover {
    background-color: #000;
  color: #fff !important;
  }
  /* .nav-list li.with-submenu .submenu a::after {
    display: none;
  } */
  .nav-list li.with-submenu > a {
    position: relative;
    z-index: 1;
  }
  .hamburger {
    display: none;
    z-index: 99;
  }
  .hamburger .line {
    width: 25px;
    height: 1.5px;
    background-color: #ffffff;
    display: block;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .hamburger .line:nth-child(2) {
    width: 15px;
  }
  .hamburger:hover {
    cursor: pointer;
  }
  .hamburger.is-active .line {
    background-color: #311432;
  }
  .hamburger.is-active .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active .line:nth-child(1) {
    -webkit-transform: translateY(6.5px) rotate(45deg);
    -ms-transform: translateY(6.5px) rotate(45deg);
    -o-transform: translateY(6.5px) rotate(45deg);
    transform: translateY(6.5px) rotate(45deg);
  }
  .hamburger.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-6.5px) rotate(-45deg);
    -ms-transform: translateY(-6.5px) rotate(-45deg);
    -o-transform: translateY(-6.5px) rotate(-45deg);
    transform: translateY(-6.5px) rotate(-45deg);
  }
  @media (max-width: 767px) {
    .header {
      padding: 10px 0;
    }
    .hamburger {
      display: block;
    }
    .nav-wrap {
      position: fixed;
      top: 0;
      right: -100%;
      transform: translateX(100%);
      background-color: #ffffff;
      transition: all 0.5s linear;
      max-width: 300px;
      width: 100%;
      height: 100%;
      box-shadow: 2px -5px 5px 3px #ccc;
      opacity: 0;
      visibility: hidden;
      z-index: 0;
    }
    .nav-wrap.is-open {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
      right: 0;
      z-index: 9;
    }
    .nav-list {
      flex-direction: column;
      align-items: unset;
      opacity: 0;
      visibility: hidden;
      transition-delay: 0.5s;
      transition-duration: 1s;
      transition-property: all;
      padding: 10px;
    }
    .nav-wrap.is-open .nav-list {
      opacity: 1;
      visibility: visible;
    }
    .nav-list li {
      padding: 7px 10px;
    }
    .nav-list li a {
      color: #311432;
      text-align: left;
      display: inline-block;
      padding: 2px 0;
    }
    .nav-list li a::after {
      background-color: #311432;
    }
    .nav-list li.with-submenu {
      display: block;
    }
    .nav-list li.with-submenu::after {
      border-color: #311432;
      right: 10px;
      top: 12px;
    }
    .nav-list li.with-submenu:hover::after {
      transform: rotate(45deg);
      margin-top: 0;
    }
    .nav-list li.with-submenu.is-open::after {
      transform: rotate(225deg);
      margin-top: 5px;
    }
    .nav-list li.with-submenu .submenu {
      position: static;
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
      box-shadow: none;
      border-radius: 0;
      border-top: 1px solid #ccc;
      display: none;
      transition: auto;
      margin: 10px 0;
    }
    .nav-list li.with-submenu .submenu li {
      padding: 7px 10px;
    }
    .nav-list li.with-submenu .submenu li:hover a {
      background-color: transparent;
    }
    .nav-list li.with-submenu .submenu li a {
      display: inline-block;
      padding: 2px 0;
    }
    .nav-list li.with-submenu .submenu li a::after {
      display: block;
    }
  }
  
  .sec-1{
    /* margin-top: 2rem; */
  }

  .footer{
    width: 100%;
    float: left;
    padding: 20px;
    /* margin-top: 2rem; */
  border-top: 1px solid #e4e5e7;
  background: #fff !important;
  box-shadow: 0 1px 21px 0 rgba(135, 140, 157, .2);
  }
  .footer p{
    text-align: center;
  }
  .header {
    position: relative;
}

.nav-wrap {
    display: flex;
    flex-direction: row;
}



@media (max-width: 768px) {
    .nav-wrap {
        display: none;
        position: absolute;
        top: 100%;
        right: 2%;
        width: 100%;
        background: #333; 
        padding: 1rem;
        z-index: 1000;
        flex-direction: column;
    }
    .header ul li a{
    width: 100%;
  float: left;
}

.header ul li a:hover,
.nav-list li.with-submenu .submenu a:hover{
 color: #000 !important;
}
    .nav-list li.with-submenu .submenu a{
        padding: 10px 3px !important;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-wrap.is-open {
        display: block;
        background: #fff !important;
    height: fit-content;
    }

    .hamburger {
        cursor: pointer;
        display: block; 
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}



.with-submenu:hover .submenu {
    display: block !important;
}
/* Modal Background */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal Content */
.custom-modal-content {
    background-color: #fff;
    width: 90%;
    max-width:600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
    height:280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Modal Header */
.custom-modal-header {
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.custom-modal-title {
    margin: 0;
    font-size: 18px;
}

.custom-modal-close {
    font-size: 24px;
    cursor: pointer;
}

/* Modal Body */
.custom-modal-body {
    padding: 1em;
    font-size: 16px;
    text-align: center;
}

/* Modal Footer */
.custom-modal-footer {
    display: flex;
    justify-content:end;
    padding: 0.5em 1em 1em;
    gap: 10px;
}

/* Button Styles */
.btn-secondary, .btn-danger {
    padding:13px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    font-size: 16px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
