body{   
    margin:0px;
    font-family: "Quicksand", sans-serif;
    overflow-x: hidden;
}
.card-1
{
    width:100vw;
    padding-bottom: 1vw;
    /* border-bottom: 1px solid #170f5f; */
}
.content
{
    display: flex;
    flex-direction: column;
    margin-left:13vw;
    margin-top: -2vh;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo_img {
    width: 7vw;
    height: 7vw;
    margin-left: -1.5vw;
}

.logo h5 {
    color: #170f5f;
    font-size: 1.5vw;
    margin-left: -62vw;
    text-align: center; 
    flex-grow: 1; 
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2.5vw;
    color:  #170f5f;
    font-size: 1vw;
    border-bottom: 1px solid  #170f5f56;
    border-top: 1px solid  #170f5f56;
    margin-top: -0.8vw;
    height: 6vh;
    width: 75vw;
    position: relative; 
}

.nav a {
    text-decoration: none;
    color: #170f5f;
    position: relative; 
    font-weight: normal;
    transition: all 0.3s ease;
    font-weight: 480;
    cursor:pointer;
}

.nav a:hover, .nav a.active {
    font-weight: bold; 
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -1.8vh; 
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #170f5f;
    transform: scaleX(0); 
    transform-origin: bottom right;
    transition: transform 0.3s ease; 
}

.nav a:hover::after, .nav a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-links {
    display: flex;
    flex-direction: row;
    color:  #170f5f;
    gap: 3vw;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #170f5f;
    font-size: 0.8vw;
    cursor: pointer;
}

.foot-quick ul li{
    padding:0.3vw;
}
/* Media query for mobile view */
@media (max-width: 768px) {
    .logo {
        justify-content: center; /* Center the logo text in mobile view */
        width: 100%;
        /*margin-bottom:3vw;*/
    }

    .logo_img {
        width: 25vw; 
        height: 25vw;/* Increase size for mobile view */
        margin-left: -15vw;
    }

    .logo h5 {
        font-size: 4.4vw;
        flex-grow: 1;
        margin-left: -15vw;
        margin-top:8vw;
        text-align:center;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        border-bottom: none;
        border-top: none;
        width: 100%;
        height: 0%;
    }

    .nav-links {
        position: fixed; 
        top: 60px;
        right: 10px; /* Align it to the right */
        background-color:#170f5f; /* Add background color for visibility */
        color: white;
        padding: 1rem;
        width: 40vw; /* Set a smaller width */
        flex-direction: column;
        gap: 1rem;
        z-index: 999; /* Ensure it floats above other content */
        display: none;
        border-radius: 8px; /* Round the corners */
    }
    .nav a::after{
        background-color:#fff;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 1px; /* Keep it aligned to the right */
        z-index: 1000; /* Ensure it stays on top of the floating menu */
        font-size: 3vh;
        margin-top:4.8vw;
    }

    .nav-links.show {
        display: flex;
    }

    .nav a {
        font-size: 4vw;
        color: white;
        
    }
}

.card-2 {
    position: relative;
    background-image: url("https://ik.imagekit.io/d9wt8plt0/ter.jpg?updatedAt=1727512949780");
    width: 100vw;
    height: 30vh;
    margin-top: -1.9vh;
    background-repeat: no-repeat;
    background-size: 100% 150%; /* Adjust the percentage to control the background image height */
    background-position: center -5vh; /* Adjusted position for better control */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}



.card-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.281); 
    z-index: 1; 
}

.card-2 > * {
    position: relative;
    z-index: 2;
}

.card-2 h4{
    font-size: 2.8vw;
    font-weight: 480;
    color: #170f5f;
}

.card-6
  {
      background-color: #140f4b;
      display: flex;
      flex-direction: column;
      justify-self: center;
      color:white;
      padding: 1vw;
      padding-top: 3vw;
      padding-bottom: 1vw;
      padding-left:0.7vw;
      width:100vw;
  }
  .foot-logo
  {
      display: flex;
      flex-direction: row;
      gap:1vw;
  }
  .foot-logo img{
      width:13.5vw;
      height:12vw;
      margin-top:-3vw;
      filter: brightness(0) invert(1);
  }
  .foot-cont
  {
      display: flex;
      flex-direction: column;
      /* gap:0.1vw; */
      margin-top:-0.7vw;
  }
  .foot-quick
  {
      display: flex;
      flex-direction: column;
      gap:1vw;
      font-size: 1vw;
  }
  .foot-quick ul{
     list-style-type: circle;
    width: 10vw;
    font-size: 0.8vw;
    margin-left: 1vw;
    margin-top: -0.5vw;
    margin-bottom: -0.5vw;
  }
  .foot-quick a{
    font-weight: 600;
         text-decoration: none;
         color:white;
  }
  
.foot-quick a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px; 
  text-underline-offset: 2px; 
}
  .foot-contact 
  {
      display: flex;
      flex-direction: column;
      width:30vw;
  }
  .addre
  {
      display: flex;
      flex-direction: row;
      gap:2.7vw;
      font-size: 0.8vw ;
  }
  .addr-1,.addr-2,.addr-3
  {
      font-size:1vw;
  }
  .foot-contact h3{
      margin-left:8vw;
      font-size:1.2vw;
  }
  .top
  {
      display: flex;
      flex-direction: row;
      justify-self: center;
      gap:7vw;
      color:white;
      padding: 2vw;
      padding-top: 2vw;
      padding-bottom: 2vw;
      border-bottom: 1px solid rgba(245,245,245,0.25);
      border-top: 1px solid rgba(245,245,245,0.25);
  }
  .middle
  {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      border-bottom: 1px solid rgba(245,245,245,0.25);
      padding-left: 3vw;
      height: 5vh;
      padding-right: 3vw;
  }
  .mid-content {
    margin-top:-1.6vw;
      display:flex;
      flex-direction: row;
      justify-content: space-around;
      width:25vw;
      font-size: 1.5vw;
  }
  .mid-content h5{
    font-weight: 300;
  }
  
  .icons
  {
      display: flex;
      flex-direction: row;
      gap:2vw;
      margin-top:2.5vw;
      font-size:1.4vw;
  
  }
  .middle p{
      margin-top:0.7vw;
      font-size: 0.8vw;
  }
  .foot-cont p{
      font-size:0.8vw;
      /* text-align: center; */
      margin-top: -20px;
      white-space: nowrap;
  }
  .foot-cont h4{
      font-size: 1.3vw;
  }


hr{
    display:none;
}


  @media (max-width: 768px) {

    /*.card-2{*/
    /*    border-top: 1px solid #170f5f45 !important;*/
    /*}*/
    .foot-quick ul{
        margin-left: 40.9vw !important;
        line-height:2 !important;
    }
    .icons a
    {
        margin-right:20px !important;
    }
    .icons a:last-child{
        margin-right:0;
    }
    .foot-quick ul li{
        font-size: 2vw;
        width: 25vw;
        text-align: start;
    }
    
    
    
    hr{
        color: #170F5F;
        margin-left: -8vw;
        width: 97vw;
        margin-top:-2vw;
        display: block;
        margin-bottom:5vw;
    }

    .navbar{
        display: none !important;
    }

    .top {
        flex-direction: column;
        gap: 2vw;
    }

    .foot-contact {
        width: 100%;
    }

    .addr-1, .addr-2, .addr-3 {
        font-size: 3vw;
        width: 100%;
    }

    .foot-cont p, .foot-cont h4 {
        font-size: 3vw;
    }

    .mid-content {
        width: 36vw !important;
        font-size:2.7vw !important;
    }
    .card-6{
        width: 103.1vw ;
    }
    .top {
        flex-direction: column;
        gap: 2vw;
    }

    .foot-contact {
        width: 100%;
    }

    .addr-1, .addr-2, .addr-3 {
        font-size: 3vw;
        width: 100%;
    }

    .foot-cont p, .foot-cont h4 {
        font-size: 3vw;
    }

    .mid-content {
        width: 30vw;
        font-size: 2vw;
    }
    .foot-logo img{
        width:25vw;
        height:25vw;
        margin-left: 36vw;
        margin-bottom: -4vw;
    }
    .icons{
        font-size:4vw;
        margin-left: 32vw;
    }
    .foot-quick
    {
        text-align: center;
    }
    .foot-contact{
        text-align: center;
    }
    .addre{
        justify-content: center;
        font-size:2.4vw;
    }
    .middle p{
        font-size:2.2vw;
    }

    .middle{
        height:7vw !important;
        align-items: center;
    }
    .content-3  h4
    {
        font-size:4vw;
    }
    .add h4{
        font-size: 3vw;
    }
    .content-4 h2{
        font-size:4vw;
    }
    .content-4 p{
        font-size: 3vw;
    }
    .foot-quick{
        font-size: 3vw;
        border-bottom: 1px solid white;
        padding-bottom: 4vw;
    }
    .foot-contact h3
    {
        font-size: 3.5vw;
        margin-left:-1vw;
    }
    .add-3 img{
        width:50vw;
        height:20vh;
    }
    .foot-logo{
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* margin-left: 2vw; */
        text-align: center;
        border-bottom: 1px solid white;
        padding-bottom: 4vw;
    }  
    .addre p{
        text-align: center;
    }
    .addre-2 p
    {
        padding-left: 6vw;
    }
    .card-2{
        /* margin-top: -100vh; */
        width: 105vw;
        height: 40vw;
    }
    .card-2 h4{
        font-size: 7vw;
    }
    .card-2 a ,.card-2 span{
        font-size: 3vw;
    }
    
    
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    color: #170F5F;
    border: 1px solid #170F5F;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
  }

  #back-to-top:hover {
    background-color: #170F5F;
    color: white;
    border: 1px solid white;
  }

  #back-to-top.show {
    opacity: 1;
    visibility: visible;
  }

/* second navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    border-bottom: 1px solid #170F5F;
    font-size: 1.2vw;
    height: 8vh;
    position: fixed;
    top: 0; 
    left: 0;
    z-index: 1000; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.635);
  }
  
  .logo-section {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5vw 2vw;
    width:50%;
    height: 6.5vh;
    white-space: nowrap;
  }
  
  .logo_img2 {
    width: 7vw;
    height: auto;
  }
  
  .logo-section h5 {
    margin: 0;
    color: #170f5f;
    font-size: 1.5vw;
  }
  
  .nav-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #170F5F;
    width: 120%;
    padding: 0.7vw 2vw;
    height: 6vh;
  }
  
  .nav-section p {
    margin: 0 1.5vw;
  }
  
  .nav-section a {
    color: white;
    text-decoration: none;
    position: relative; 
    padding-bottom: 5px; 
    transition: color 0.3s ease;
  }
  
  .nav-section a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0); 
    transform-origin: bottom right;
    transition: transform 0.3s ease; 
  }
  
  .nav-section a:hover::after, 
  .nav-section a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left; 
  }
  
  .nav-section a:hover, 
  .nav-section a.active {
    font-weight: bold; 
    color: white; 
  }
  /* second navbar(Initially hidden) */
  .second-navbar {
    display: flex;
  }
 
  
.second-navbar {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    pointer-events:none;
}
.second-navbar.visible{
    pointer-events: auto;
}

.first-navbar.visible, .second-navbar.visible {
    opacity: 1;
    visibility: visible;
}




::-webkit-scrollbar {
    width: 12px;
  }
  
  ::-webkit-scrollbar-track {
    background: #170F5F;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #fff;
  }
  
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #fff #170F5F;
  }
  
  /* For Internet Explorer and Edge */
  body {
    -ms-overflow-style: none;
  }
  
  
   #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .logo-spinner {
            width: 30vh;
            height: 30vh;
            animation: spinGlobe 4s linear infinite;
            transform-style: preserve-3d;
        }

        @keyframes spinGlobe {
            0% { transform: rotateY(0deg); }
            100% { transform: rotateY(360deg); }
        }

        body.loaded #preloader {
            opacity: 0;
            visibility: hidden;
        }
.transition-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #170f5f;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease-in-out;
    z-index: 1000;
}
.logo-transition {
  max-width: 30vh;
  max-height: 30vh;
}
