*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;   /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;  /* always on top */
}

.loader-logo {
  width: 150px;
  animation: fadeInOut 2s infinite;
  border-radius: 150px;
}

/* Logo animation */
@keyframes fadeInOut {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
body {
    background-color: #f5f5f5;
    font-family: 'Poppins', sans-serif;

}

a{
    color: #fff;
    text-decoration: none;
}

p{
    text-align: justify;
}
img{
    box-shadow: 5px 4px 5px 4px rgba(0, 0, 0, 0.5);
}
header{
    position: sticky;
    top: 0px;
}
nav{ /* this is the my header */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 5rem;
   background-color: #131219;
box-shadow: 5px 2px 4px 2px rgba(0, 0, 0, 0.1);


}
@media only screen and (max-width:768px){
    
   .heading{
    position: relative;
    top: 3.5rem;
   }
}

.logo{
    height: 10vh;
    border-radius: 150px;
}
@media only screen and (max-width:768px){
    .logo{
        height: 9vh
    }
}
@media only screen and (max-width:768px){
    header{
        height: 5vh;
    }
    span{
      font-size: 1.5rem;
    }
}
ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}
i{
    display: none;
}
.menu-btn {
    display: none;
    
    border: none;
    background:none;
    color: white;
    cursor: pointer;
    font-size: 22px;
    transition: all 1s ease-in 0s;
}

@media only screen and (max-width:768px){
    .navbar{
        display: flex;
        justify-content: space-between;
        padding: 10px 20px;
    }
    i{
        display: block;
        color: white;
    }
    
   .menu-btn{
    display: block;
   }
   .nav-links{
    display: none;
    flex-direction: column;
    background:#131219;
    border-radius: 10px;
    position: absolute;
  top: 4.3rem;
    right: 0px;
    width: 150px;
    padding: 10px;
   }
   .nav-links.show{
    display: flex;
   }
}
li{
    list-style: none;
    color: #fff;
}
.heading {

    display: flex;
    justify-content: center;
    text-decoration: underline;
    text-decoration-style: double;
}
.main_content{
    width: 80vw;
    margin: 0 auto;

}

.img59{
    height: 38vh;
    object-fit: cover;
    border-radius: 25px;


}
.box1{
    display: flex;
    justify-content: center;
    align-items: center;
 gap: 15px;
   
}
.box2{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.img84{
height: 45vh;
width: 22vw;

   object-fit: cover;
    border-radius: 25px;
}
.img16{
    height: 33vh;
    object-fit: cover;
    border-radius: 25px;

}
@media only screen and (max-width:752px){
  .img16{
    height: 22vh;
    width:100%;
  }
}
.box3{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.img13{
height: 51.2vh;
width: 24vw;
    object-fit: cover;
    border-radius: 25px;
}
@media only screen and (max-width:756px) {
  .box4{
    display: flex;
    flex-direction: column;
  }
  .img13{
    order:1;
    height: 100%;
    width: 23vw;
  }
  .img13_write{
    order: 2;
  }
}
.box4{
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.img21{
    height: 50vh;
    width: 25vw;
     object-fit: cover;
    border-radius: 25px;

}

.box5{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.img74{
    height: 33vh;
    width: 20vw;
    object-fit: cover;
    border-radius: 25px;
}
.box6{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.img11{
    height: 33vh;
border-radius: 25px;
    object-fit: cover;
}
.box7{
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.img5{
    height: 100%;
    width:15vw;
border-radius: 25px;
    object-fit: cover;
}
.box8{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* ================= Footer Styles ================= */
footer {
  background-color: #333;
  color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;   /* sab text center */
  border-top: 2px solid gold;
  margin-top: 40px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center; /* center me */
  gap: 20px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-links li a:hover {
  color: gold;
  transform: scale(1.05);
}

.footer-links img {
  height: 22px;
  width: 22px;
  filter: drop-shadow(1px 1px 2px black);
}

/* Copyright Section */
footer .copyright {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
  text-align: center;  /* extra ensure */
}

footer .copyright a {
  color: #fff;
  text-decoration: none;
}

footer .copyright a:hover {
  text-decoration: underline;
}
li:hover{
    border: 2px solid #333;
}

@media only screen and (max-width:768px){
    body{
        width: 100vw;
    }
    .main_content{
        width: 90vw;
    }
    

    .reveal{
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
        flex-wrap: wrap;
    }
    .img59{
        margin-top: 4rem;
        
    }
    .box2{
        .img84_write{
order: 2;
        }
        .img84_content{
            order:1;
        }
        .img84{
        width: 65vw;
        height: 33vh;
        }
    }
    .img13{
        width: 33vw;
        height: 15vh;
    }
    .img21{
        width: 80vw;
        object-fit: cover;
        flex-shrink:cover;
    }
    .box6{
        .img74_write{
            order: 2;
        }
        .img74_content{
            order: 1;
        }
        .img74{
            width: 70vw;
            object-fit: cover;
        }
    }
    .box8{
        .img5_write{
            order: 2;
        }
        .img5_content{
            order: 1;
        }
        .img5{
            width: 85%;
            height: 33vh;
            object-fit: cover;
        }
    }
   



    /*footer media*/
    footer{
        width: 100vw;
        
    }

}  /*media query end's here*/ 

.slider {
    width: 80vw;
    height: 80vh;
    position: relative;
    overflow: hidden;
    margin: auto;
    border-radius: 75px;
  }
.slider1{
  height: -1000vh;
  width: 80vw;
  object-fit: cover;
}
  .slider img {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: slide 12s infinite;
    opacity: 0;
    object-fit: cover;
    
    /* display: flex; */
    
    
  }

  .slider img:nth-child(1) { animation-delay: 0s; }
  .slider img:nth-child(2) { animation-delay: 4s; }
  .slider img:nth-child(3) { animation-delay: 8s; }

  @keyframes slide {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
  }

  @media only screen and (max-width:752px){
    .slider  {
      margin-top: 4.8rem;
      border-radius: 2rem;
      height: 70vh;
      width: 96vw;
    }
    .logo_class{
      display: flex;
      justify-content: flex-end;
     align-items: end;
      flex-direction:row;

    }
    i{
      font-size: 2.6rem;
    }
  }
/* Parent stays stable */
.reveal {
  opacity: 1;          
  overflow: hidden;      /* prevent transformed child from adding space */
  position: relative;
}

/* Animate the first child inside reveal */
.reveal > * {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: blur(8px);
  will-change: transform, opacity;
}

.reveal.active > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Fade from Left */
.reveal.fade-left > * {
  transform: translateX(-100px) rotate(-3deg);
}
.reveal.fade-left.active > * {
  transform: translateX(0) rotate(0);
}

/* Fade from Right */
.reveal.fade-right > * {
  transform: translateX(100px) rotate(3deg);
}
.reveal.fade-right.active > * {
  transform: translateX(0) rotate(0);
}

/* Zoom In POP */
.reveal.zoom-in > * {
  transform: scale(0.5) rotate(-10deg);
}
.reveal.zoom-in.active > * {
  transform: scale(1) rotate(0);
}

/* Special Flip Effect */
.reveal.flip-up > * {
  transform: rotateX(90deg);
  opacity: 0;
}
.reveal.flip-up.active > * {
  transform: rotateX(0);
  opacity: 1;
  transition: transform 1s ease, opacity 1s ease;
}

/* Glow on Image Hover */
img {
  transition: transform 0.8s ease, filter
}
header {
  position: sticky; /* ya fixed */
  top: 0;
  z-index: 1000;   /* header ko sabse upar laa dega */
}

.navbar {
  position: relative;
  z-index: 1000;   /* navbar content bhi safe rahega */
}

.main_content img {
  position: relative;
  z-index: 1;      /* images header se neeche rahenge */
}








/* 
@media (max-width: 768px) {
  .box2 {
    flex-direction: column; /* vertical stack */
  
  /* .inmg84_write {
    order: 2; 
  }
  .img84_content {
    order: 1; 
  } */



