.module{
    background: #0854A6;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #95bc2b;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
  }
  
  #myBtn:hover {
    background-color: #a6d428;
  }
.module-list{
       color: rgb(0, 0, 0);
    justify-content: center;
    top: 58px !important;
    margin-bottom: 8vh;
    height: 10vh;
    background-color: #FFFFFF;

}
.module-list.fixed-top {
    z-index: 1030; 
}
.module-elements{
    cursor: pointer;
}

.title::after {
    content: "";
    background-color: #B1B3BE;
    width: 8%;
    height: 0.5px;
    
    position: absolute;
    top: 3.5vh;
    left: 46%;
}

.title{
    position: relative;
    text-align: center;
   color: #FFFFFF;
   font-size: 40px;
   font-weight: 700;
   margin-top: 10vh ;
   padding: 10px;
   padding-top: 32px;
}
@media (max-width: 575px) {
    .title{
        margin-top: 14vh !important;
    }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .title{
    margin-top: 20vh !important;
  }
   
    
  }
  
.title-content{
    text-align: center;
    color:  #F6F6F6;
    font-size: 18px;
    font-weight: 400;
    font-family:  'Open Sans';
    padding: 20px;
    padding-top: 0px;
    padding-bottom: 20px;
    width: 90%;
    margin: 0 auto;
}
.modules-container{
    background-color: #FFFFFF;
    border-radius: 10px;
}
.module-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    padding-bottom: 20px;
}
.module-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;

}

.module-img{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    margin-top: 10px;
  
}
.element-img{
    width: 84px;
    height: 84px;
}
.module-card h3 {
    font-size: 1.25rem;
    color: #333; /* Adjust color as needed */
    margin-bottom: 10px;
    margin-top: 10px;
    min-height: 8vh;
    display: flex;
  
}
  

.module-card p {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;

    min-height: 20vh;
}
.footer-container{
    padding: 10px;
}
@media (max-width: 768px) {

    .module-container {
        
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
       
    }
}
@media (max-width: 320px) {
    .module-container {
        grid-template-columns: repeat(1, 1fr); /* 1 cards per row */ 
    }
    .module{
        width: fit-content;
    }
    .footer{
        width: fit-content;
    }
    .title::after {
        content: "";
        background-color: #B1B3BE;
        width: 14%;
        height: 0.5px;
        position: absolute;
        top: 34.5vh;
        left: 44%;
    
    }
   
    .module-elements{
        padding: 10px;
    }
}

@media screen and (min-width: 820px) and (min-height: 1180px) {
  
    .title {
        position: relative;
        text-align: center;
        color: #FFFFFF;
        font-size: 40px;
        font-weight: 700;
        margin-top: 0 vh !important;
    }
    .module-list ul::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: transparent;
    }
    
    .module-list ul::-webkit-scrollbar {
        width: 1px;
        height: 3px;
        background-color: transparent;
    }
    
    .module-list ul::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color:#B1B3BE;
        width: 3px;
    }
    .module-list{
        position: relative;
        top: 7vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }
    .module-list ul {
        display: flex;
          padding: 0;
          width: 87vw;
          overflow: auto;
        }
    .module-elements{
        padding: 10px;
    }
}
@media screen and (min-width: 540px) and (max-width: 540px) and (min-height: 720px) and (max-height: 720px) {
    .module-list {
        position: relative;
        top: 13vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }

    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
}
@media screen and (min-width: 1280px) and (max-width: 1280px) and (min-height: 800px) and (max-height: 800px) {
    .module-list {
        position: relative;
        top: 8vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }

    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
}


@media only screen and (min-width: 1024px) {
    .title{
    position: relative;
        text-align: center;
        color: #FFFFFF;
        font-size: 40px;
        font-weight: 700;
        margin-top: 17vh !important;
    }
    .module-card h3{
        min-height: 4vh;
    }
    .module-card p{
        min-height: 10vh;
    }
    }
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .module-list ul::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: transparent;
    }
    
    .module-list ul::-webkit-scrollbar {
        width: 1px;
        height: 3px;
        background-color: transparent;
    }
    .title{
        margin-top: 18vh ;
        
    }
  
    .module-list ul::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color:#B1B3BE;
        width: 3px;
    }
    .module-list{
        position: relative;
        top: 8vh !important;
        margin-bottom: 15vh;
        padding-bottom: 0;
        overflow: hidden;
    }
    .module-list ul {
        display: flex;
          padding: 0;
          width: 87vw;
          overflow: auto;
        }
    .module-elements{
        padding: 10px;
    }

  }
  @media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5)
  and (max-width: 1025px) {
    .title{
        margin-top: 18vh !important;
    }
    .title::after{
        top:1.5vh !important;
    }
  }
  


  @media screen and (min-width: 912px) and (max-width: 912px) and (min-height: 1368px) and (max-height: 1368px) {
    .module-list {
        position: relative;
        top: 9vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
        overflow: hidden;
    }
    .module-card h3 {
        font-size: 1.25rem;
        color: #333;
        margin-bottom: 10px;
        margin-top: 10px;
        min-height: 4vh;
        display: flex;
    }
    .module-card p{
        min-height: 10vh;
    }
    
    
    .title {
        position: relative;
        text-align: center;
        color: #FFFFFF;
        font-size: 40px;
        font-weight: 700;
        margin-top: 8vh !important;
    }
    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
}

  @media (max-width:480px) {
    .title{
        text-align: center;
       color: #FFFFFF;
       font-size: 40px;
       font-weight: 700;
       margin-top: 8vh;
    }
    .title-content{
        text-align: center;
        color:  #F6F6F6;
        font-size: 18px;
        font-weight: 400;
        font-family:  'Open Sans';
        width: 100%;
        margin: 0 auto;
    }
    
    .title::after {
        content: "";
        background-color: #B1B3BE;
        width: 20%;
        height: 0.5px;
        position: absolute;
        top: 5vh !important;
        left: 40%;

    
    }
    .module-card h3 {
        font-size: 1.25rem;
        color: #333; /* Adjust color as needed */
        margin-bottom: 10px;
        margin-top: 10px;
        min-height: 0vh;
    }
    .module-card p {
        margin-top: 10px;
        margin-bottom: 15px;
        font-size: 16px;
        color: #555;
        min-height: 0vh;
    }
    .module-list ul {
    display: flex;
      padding: 0;
      width: 87vw;
      overflow: auto;
    }
  
    .module-list{
        position: relative;
        top: 8vh !important;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }
    .module-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .module-card {
      margin-bottom: 20px;

    }  
    .footer-header-text {
      margin-bottom: 10px;
    }
  
    .footer ul {
      list-style: none;
      padding-left: 0;
    }
  
    .footer ul li {
      margin-bottom: 10px;
    }
    
  }
  @media only screen and (min-device-width : 720px) {
    .title{
        margin-top: 8vh;
    }
    .title::after{
        top:2.5vh;
        width: 8%;
        margin-top: 5px;
        left: 46%;
    }
    .module-list{
        top:8vh;
    }
    }
   
  @media screen and (max-width: 575px) {
    .title{
        margin-top: 14vh !important;
        
    }
  
    .module-list {
        position: relative;
        top: 17vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }

    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
    .title::after{
        top: 2vh !important;
        width: 16% !important;
        left: 42% !important;
    }
}
@media only screen and (min-device-width: 1024) {
.title{
    margin-top: 20vh !important;
}
}
@media screen and (max-width: 581px) {
    module-list {
        position: relative;
        top: 13vh;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }

    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }

}
@media only screen and (min-device-width: 992px) and (max-device-width: 1023px)  {
    .title{
        margin-top: 18vh;
    }
}
@media (min-width: 1200px) {
    .title{
        margin-top: 18vh !important;
    }
    .module-list{
        top: 8vh !important;
    }
    }
    @media (min-width: 1025px) {   
    .module-list{
        top: 8vh !important;
    }
    }
@media screen and (min-width: 576px) and (max-width: 767px) {
    .module-list {
        position: relative;
        top: 10vh !important;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }
    .container{
        max-width: 100%;
    }
    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
}

@media screen and (min-width: 300px) and (max-width: 425px) {
    .module-list{
        top:15vh !important;
    }
}
@media (min-width:400px) and (max-width:575px){
    .module-list{
        top:13vh !important;
    }
}
@media  (max-width: 480px) {
    .module-list {
        position: relative;
        top: 8vh !important;
        margin-bottom: 20vh;
        padding-bottom: 0;
    }
    .title{
        margin-top: 8vh !important;
    }
    .title::after{
        top:2.5vh !important;
    }
    .module-list ul {
        display: flex;
        padding: 0;
        width: 87vw;
        overflow: auto;
    }

    .module-elements {
        padding: 10px;
    }
}
@media (width:412px )and (height:915px){
    .module-list{
        top:10vh !important;
    }
}
@media (min-width:390px) and (max-width:390px){
    .module-list{
        top:10vh !important;
    }
}
@media (min-width:300px) and (max-width:400px){
    .module-list{
        top:10vh !important;
    }
}
  @media (max-width:600px) {
    .module-list ul {
      justify-content: space-around;
    }
    .title::after {
        content: "";
        background-color: #B1B3BE;
        width: 20%;
        height: 0.5px;
        position: absolute;
        top: 4.5vh ;
        left: 40%;
    
    }
    .module-elements {
      padding: 5px 10px;
      text-align: center;
    }
  
    .module-container {
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .module-card {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .footer ul {
      /* display: flex; */
      /* justify-content: space-around; */
    }
  
    .footer ul li {
      margin-bottom: 0;
    }
  }
  
 

  
/* .module-elements.active::after {
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform: scaleX(1);
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}

.module-elements::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #000000;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.module-elements:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.module-elements {
    position: relative; 
    padding-bottom: 5px; 
} */

/* Remove the underline effect */
.module-elements.active::after,
.module-elements::after {
    display: none;
}

/* Change text color when active */
.module-elements.active {
    color: #0854A6; /* Change this to your desired active color */
}

/* Change text color on hover */
.module-elements:hover {
    /* color: #0854A6; Change this to your desired hover color */
}

/* Ensure proper spacing and positioning */
.module-elements {
    position: relative;
    padding-bottom: 5px; 
    color: #000000; /* Default color for non-active elements */
    transition: color 0.25s ease-out;
}


@media (min-width: 768px) and (max-width: 1025px) {
    .nav-item a   {
        font-size: 1.5vh;
    }
  }
  @media (min-width: 992px)  {
    .custom-lg-fixed-top {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1030; /* Bootstrap's default z-index for fixed-top */
    }
    .module-elements:hover{
        color: #0854A6;
    }
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    .footer-container {
        padding: 0%;
    }
}
@media (min-width: 1025px) and (min-height: 594px) {
    /* Your styles here */
    .title::after {
        top: 3.5vh;
    }
  }
.loader{
    
    width: 100%;
    height: 40vh;
    display: none;
    justify-content: center;
    align-items: center;
}
  .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  