* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    margin-top: 1px;
   
  }
  
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Change background color as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure preloader is on top of other content */
  }
  
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light grey border */
    border-top: 4px solid #333333; /* Dark border color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.5s linear infinite; /* Spin animation */
  }
  
  ::-webkit-scrollbar{
    display: none;
  }

  /* Hide content when preloader is shown */
  #content1 {
    display: none;
  }
  
  /* Spin animation keyframes */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* nav styles */
  
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    background: linear-gradient(90deg, #211387, #0D4B8E);

    /*background-color:#211387;*/
    position: fixed;
    /* Set the position to fixed */
    top: 0;
    /* Stick it to the top of the viewport */
    width: 100%;
    /* Occupy full width */
    z-index: 1000;
    /* Ensure it stays on top of other elements */
  }

  .logo {
    text-decoration: none;
    font-size: 2rem;
    color: rgb(254, 254, 255);
    padding-left: 12px;
    margin-bottom: 8px;
    letter-spacing: 2px;
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 2px 6px 9px rgba(0, 0, 0, 1);
  }
  
 
  .logo:hover {
    text-shadow: none;
  }
  
  .hamburger {
    padding-right: 15px;
    cursor: pointer;
  }
  
  .ham2{
   margin: 1px;
  }
  .ham2:hover{
   background-color: #1f1973;
  }
  /* Add transition property to the .line class */
  .hamburger .line {
    display: block;
    width: 37px;
    height: 4px;
    margin-bottom: 8px;
    background-color: rgb(255, 255, 255);
    transition: transform 0.3s ease; /* Add transition property */
  }
  
  /* Rotate and hide middle line when hamburger is clicked */
  .ham2.clicked .line:nth-child(2) {
    transform: scaleX(0); /* Hide the middle line */
  }
  
  /* Rotate top line */
  .ham2.clicked .line:nth-child(1) {
    transform: translateY(12px) rotate(45deg); /* Rotate and move top line */
  }
  
  /* Rotate bottom line */
  .ham2.clicked .line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg); /* Rotate and move bottom line */
  }
  
  .nav__link {
    position: fixed;
    margin-left: 10%;
    margin-right: 10%;
    width:80%;
    border-radius: 5%;
    top: 4.5rem;
    background: linear-gradient(90deg, rgb(62, 107, 153), rgba(134, 138, 179, 0.995));
    z-index: 999;
    max-height: calc(100vh - 5rem); /* Set the maximum height to the viewport height minus the top position */
    overflow-y: auto; /* Add vertical scrollbar when content overflows */
  }
  
  .nav__link a {
    display: block;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }
  
  .nav__link a:hover {
    background-color: rgb(122, 140, 187);
    border-radius: 4%;
  }

  /*see hover*/

  .hide {
    display: none;
  }
  
  main {
   margin-top: 60px;
    z-index: 1;
    font-family: sans-serif;
  }
  
  /* footer */
  footer{
    background: #030016;
    width: 100%;
    bottom: 0;
    left: 0;
    
  }
  footer::before{
    
    position: absolute;
    top: 100px;
    height: 1px;
    width: 100%;
    background: #AFAFB6;
  }
  footer .content{
    max-width: 1250px;
    margin: auto;
    padding: 15px 40px 5px 20px;
  }
  footer .content .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
  }
  .content .top .logo-details{
    color: #fff;
    font-size: 35px;
    font-family: 'Times New Roman', Times, serif;
  }
  .content .top .media-icons{
    display: flex;
  }
  .content .top .media-icons a{
    height: 40px;
    width: 40px;
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
  }
  .top .media-icons a:nth-child(1){
    background: #4267B2;
  }
  .top .media-icons a:nth-child(1):hover{
    color: #4267B2;
    background: #fff;
  }
  .top .media-icons a:nth-child(2){
    background: #1DA1F2;
  }
  .top .media-icons a:nth-child(2):hover{
    color: #1DA1F2;
    background: #fff;
  }
  .top .media-icons a:nth-child(3){
    background: #E1306C;
  }
  .top .media-icons a:nth-child(3):hover{
    color: #E1306C;
    background: #fff;
  }
  .top .media-icons a:nth-child(4){
    background: #0077B5;
  }
  .top .media-icons a:nth-child(4):hover{
    color: #0077B5;
    background: #fff;
  }
  .top .media-icons a:nth-child(5){
    background: #FF0000;
  }
  .top .media-icons a:nth-child(5):hover{
    color: #FF0000;
    background: #fff;
  }
  footer .content .link-boxes{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 5 - 10px);
  }
  .content .link-boxes .box .link_name{
    font-family: sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
  }
  .link-boxes .box .link_name::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
  }
  .content .link-boxes .box li{
    margin: 6px 0;
    list-style: none;
  }
  .content .link-boxes .box li a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease
  }
  .content .link-boxes .box li a:hover{
    opacity: 1;
    text-decoration: underline;
  }
  .content .link-boxes .input-box{
    margin-right: 55px;
  }
  .link-boxes .input-box input{
    height: 40px;
    width: calc(100% + 55px);
    outline: none;
    border: 2px solid #AFAFB6;
    background: #140B5C;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: #fff;
    margin-top: 5px;
  }
  .link-boxes .input-box input::placeholder{
    color: #AFAFB6;
    font-size: 16px;
  }
  .link-boxes .input-box input[type="button"]{
    background: #fff;
    color: #140B5C;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
  }
  .input-box input[type="button"]:hover{
    opacity: 1;
  }
  footer .bottom-details{
    width: 100%;
    background: #000000;
  }
  footer .bottom-details .bottom_text{
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a{
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
  }
  .bottom-details .bottom_text a:hover{
    opacity: 1;
    text-decoration: underline;
  }
  .bottom-details .bottom_text a{
    margin-right: 10px;
  }
  @media (max-width: 900px) {
    footer .content .link-boxes{
      flex-wrap: wrap;
    }
    footer .content .link-boxes .input-box{
      width: 40%;
      margin-top: 10px;
    }
  }
  @media (max-width: 700px){
    footer{
      position: relative;
    }
    .content .top .logo-details{
      font-size: 26px;
    }
    .content .top .media-icons a{
      height: 35px;
      width: 35px;
      font-size: 14px;
      line-height: 35px;
    }
    footer .content .link-boxes .box{
      width: calc(100% / 3 - 10px);
    }
    footer .content .link-boxes .input-box{
      width: 60%;
    }
    .bottom-details .bottom_text span,
    .bottom-details .bottom_text a{
      font-size: 12px;
    }
  }
  @media (max-width: 520px){
    footer::before{
      top: 145px;
    }
    footer .content .top{
      flex-direction: column;
    }
    .content .top .media-icons{
      margin-top: 16px;
    }
    footer .content .link-boxes .box{
      width: calc(100% / 2 - 10px);
    }
    footer .content .link-boxes .input-box{
      width: 100%;
    }
  }
  
  @media screen and (min-width: 999px) {
    .nav__link {
      display: block;
      position: static;
      width: auto;
      margin-right: 20px;
      background: none;
    }
  
    .nav__link a {
      display: inline-block;
      
      padding: 15px 20px;
    }
   
    .hamburger {
      display: none;
    }
  }
  

