*{
    padding: 0;
    margin: 0;
    font-family: "Poppins", serif;
}
body{
    background-image: url(../../Images/bg.avif);
    background-position: center;
    background-size: cover;
    position: relative;
}

.header1{
    /* min-height: 100vh;
    width: 100%; */
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    height: 20px;
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    /* backdrop-filter: blur(10px); */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav img{
    width: 300px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: black;
    text-decoration: none;
    color: #5E45A4;
    font-weight: 600;
    /* font-size: 13px; */
}

.nav-links ul li ::after {
    content: " ";
    width: 0;
    height: 4px;
    border-radius: 5%;
    background : #5E45A4; 
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover ::after {
    width: 100%;
}

nav .fa-solid{
    display: none;
}

/* ------------------------------------content---------------------------------- */
.title{
    text-align: center;
    font-weight: 600;
    font-size: 25px;
    margin-bottom: 20px;
}

.content{
    margin-top: 50px ;
    text-align: center;

}

/*Giribabu Image*/

.giribabu-img{
  width: 90%;
  margin: auto;
  margin-top: 30px;
  
}

.giribabu-img img{
  width: 100%;
  border-radius: 20px;
}

/* ----------------------------------photo Wheel---------------------------------- */

.photo-wheel{
    margin-top: 60px;
    /* height: 600px; */
    margin-bottom: 20px;
}

.photo-wheel::after {
    content: "";
    display: block;
    clear: both;
    height: 350px;   /* Adjust based on carousel height */
  }

.container {
    position: relative;
    width: 320px;
    margin: 100px auto 150px auto;
    perspective: 1000px;
  }
  
  .carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; 
    animation: rotate360 60s infinite forwards linear;
    top: -100px; /* Adjust to move carousel up if needed */
  }
  .carousel__face { 
    position: absolute;
    width: 300px;
    height: 200px;
    top: 33px;
    left: 10px;
    right: 10px;
    background-size: cover;
    /* box-shadow:inset 0 0 0 2000px rgba(0,0,0,0.5); */
    display: flex;
  }
  
  /* span {
    margin: auto;
    font-size: 2rem;
  } */


  
  .carousel__face:nth-child(1) {
    background-image: url("/Images/photos/photo1.png");
    transform: rotateY(  0deg) translateZ(430px); }
  .carousel__face:nth-child(2) { 
    background-image: url("/Images/photos/photo2.png");
      transform: rotateY( 40deg) translateZ(430px); }
  .carousel__face:nth-child(3) {
    background-image: url("/Images/photos/photo3.png");
    transform: rotateY( 80deg) translateZ(430px); }
  .carousel__face:nth-child(4) {
    background-image: url("/Images/photos/photo4.png");
    transform: rotateY(120deg) translateZ(430px); }
  .carousel__face:nth-child(5) { 
    background-image: url("/Images/photos/photo5.png");
   transform: rotateY(160deg) translateZ(430px); }
  .carousel__face:nth-child(6) { 
    background-image: url("/Images/photos/photo6.png");
   transform: rotateY(200deg) translateZ(430px); }
  .carousel__face:nth-child(7) { 
    background-image: url("/Images/photos/photo7.png");
   transform: rotateY(240deg) translateZ(430px); }
  .carousel__face:nth-child(8) {
    background-image: url("/Images/photos/photo8.png");
    transform: rotateY(280deg) translateZ(430px); }
  .carousel__face:nth-child(9) {
    background-image: url("/Images/photos/photo9.png");
    transform: rotateY(320deg) translateZ(430px); }
  
  
  
  @keyframes rotate360 {
    from {
      transform: rotateY(0deg);
    }
    to {
      transform: rotateY(-360deg);
    }
  }
  


/*-------------contact us page------------------*/

.location{
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.location iframe{
  width: 100%;
}


/*contactus section*/
.contact-us{
  width: 80%;
  margin: auto;
  display: flex;
}

.contact-col{
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col .col1{
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .ico{
  font-size: 28px;
  margin: 10px;
  margin-right: 30px;
}

.contact-col .col1 p{
  padding: 0;
}

.contact-col .col1 h5{
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: 500;
}

/*---------------------Button-----------------*/
.btn{
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #5E45A4;
  border: 2px solid #5E45A4;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.btn:hover{
 color: white;
  background-color: #5E45A4;
  transition: 0.5s;
}


/*---------------------Contact form-----------------*/

.contact-col input, .contact-col textarea{
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
}



body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content, .contact-info {
    flex: 1;
}

/* footer */
.footer{
    position: relative;
    background-color:  rgba(255, 255, 255, 0.8); 
    /* position: sticky;
    bottom: 0; */
    text-align: center;
    padding-top: 30px;
    /* margin-top: 400px; */
   /* position: fixed;
   bottom: 0;
    left: 0; */
    margin-top: auto;
  width: 100%;
  z-index: 10;
}

.footer h4{
    margin-bottom: 20px;
    margin-top: 20px;
}

.icons .ico{
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}


/*------------------Responsive---------------------------*/

@media (max-width: 480px){
      /*-------------------------Navabr--------------------------------*/
  
      nav{
        height: 50px;
    }
    
    nav img {
        width: 200px;
      }
    
    .nav-links ul li{
        display: block;
    }
    .nav-links ul li a{
        color: #f9fafb;
    }
    .nav-links{
        position: fixed;
        background-color: blueviolet;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa-solid{
        display: block;
        color: black;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    nav .fa-xmark{
        color:#f9fafb;
    }

   /*----------------------Contact us details*/ 
   .contact-us{
    flex-direction: column;
  }
  .contact-col .col1 h5{
    font-size: 15px;
  }
    .contact-col input, .contact-col textarea{
    padding: 5px;
  }

  /* ----------------------------------photo Wheel---------------------------------- */

.photo-wheel{
  margin-top: 60px;
  height: 300px;
  margin-bottom: 20px;
}

.photo-wheel::after {
  content: "";
  display: block;
  clear: both;
  height: 200px;   /* Adjust based on carousel height */
}

.container {
  position: relative;
  width: 100vw;
  margin: 100px auto 150px auto;
  perspective: 1000px;
}

.carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; 
  animation: rotate360 60s infinite forwards linear;
  top: -100px; /* Adjust to move carousel up if needed */
}
.carousel__face { 
  position: absolute;
  width: 200px;
  height: 150px;
  top: 33px;
  left: 10px;
  right: 10px;
  background-size: cover;
  /* box-shadow:inset 0 0 0 2000px rgba(0,0,0,0.5); */
  display: flex;
}

/* span {
  margin: auto;
  font-size: 2rem;
} */

.carousel-slide, .review-card, .carousel__face {
  width: 80%;
  max-width: 190px;
}

.carousel__face:nth-child(1) {
  background-image: url("/Images/photos/photo1.png");
  transform: rotateY(  0deg) translateZ(280px); }
.carousel__face:nth-child(2) { 
  background-image: url("/Images/photos/photo2.png");
    transform: rotateY( 40deg) translateZ(280px); }
.carousel__face:nth-child(3) {
  background-image: url("/Images/photos/photo3.png");
  transform: rotateY( 80deg) translateZ(280px); }
.carousel__face:nth-child(4) {
  background-image: url("/Images/photos/photo4.png");
  transform: rotateY(120deg) translateZ(280px); }
.carousel__face:nth-child(5) { 
  background-image: url("/Images/photos/photo5.png");
 transform: rotateY(160deg) translateZ(280px); }
.carousel__face:nth-child(6) { 
  background-image: url("/Images/photos/photo6.png");
 transform: rotateY(200deg) translateZ(280px); }
.carousel__face:nth-child(7) { 
  background-image: url("/Images/photos/photo7.png");
 transform: rotateY(240deg) translateZ(280px); }
.carousel__face:nth-child(8) {
  background-image: url("/Images/photos/photo8.png");
  transform: rotateY(280deg) translateZ(280px); }
.carousel__face:nth-child(9) {
  background-image: url("/Images/photos/photo9.png");
  transform: rotateY(320deg) translateZ(280px); }



@keyframes rotate360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}

      
    
}


/*--------------------------------Tab--------------------------*/

@media (min-width: 481px) and (max-width: 768px) {

    /*----------------------------Navbar-----------------------------------*/
    nav{
      height: 50px;
  }
  
  nav img {
      width: 250px;
    }
  
  .nav-links ul li{
      display: block;
  }
  .nav-links ul li a{
      color: #f9fafb;
  }
  .nav-links{
      position: fixed;
      background-color: blueviolet;
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
  }
  nav .fa-solid{
      display: block;
      color: black;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
  }
  nav .fa-xmark{
      color:#f9fafb;
  } 
   /*----------------------Contact us details*/ 
   .contact-us{
    flex-direction: column;
  }
    

}

