@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize;
  box-sizing:border-box;
  transition: all .3s ease;
  scroll-behavior: smooth;
  text-decoration: none;
}

:root {
  --dark-green: #112a34;
  --green-color: #004047;
  --white-color: #fff;
}

::selection {
  background: var(--green-color);
  color: var(--white-color);
}

html,
body{
  width: 100%;
  height: 100%;
}

html{
   font-size: 90%
} 

section {
  padding: 0 8rem;
  width: 100%;
}
.label {
  font-size: 1.1rem;
  color: #666;
  text-transform: uppercase;
  font-weight: 500;
}

.heading {
  font-size: 3rem;
  margin-top: 1rem;
}
section.home{
    padding: 1rem;
   width: 100%; 
   height: 100vh;
}

.home .home-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1));
  background-image: url("../assets/home-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: .5rem;
  border-radius: .5rem;
}

.home .home-box nav{
  width: 100%;
  height: 65px;
  background: linear-gradient( rgb(255,255,255,.2), rgb(255,255,255,.2));
  backdrop-filter: blur(1px);
  border-radius: .7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  z-index: 10;
  position: relative;

}

.home .home-box nav .logo{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home .home-box nav .logo .bar{
  font-size: 1.35rem;
  color: var(--white-color);
  cursor: pointer;
  display: none;
}

.home .home-box nav .logo .bar:hover {
 color: var(--green-color);
}

.home .home-box nav .logo h3 {
  color: var(--white-color);
  font-weight: 400;
}

.home .home-box nav .menu .close {
  display: none;
}

.home .home-box nav .menu ul{
  display: flex;
  gap: 3rem;
  list-style: none;
}

.home .home-box nav .menu ul li a {
  color: var(--white-color);
  font-weight: 400;
}

.home .home-box nav .menu ul li a:hover {
  color: rgb( 255, 255, 225/70%);
}

.home .home-box nav .signup-login{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home .home-box nav .signup-login a {
  color: var(--white-color);
  padding: .3rem 1rem;
  border-radius: 2rem;
}

.home .home-box nav .signup-login a:last-child {
  background: var(--green-color);
  padding: .3rem 1rem ;
  border-radius: 2rem;
}

.home .home-box nav .signup-login a:hover{
  color: rgb( 255, 255, 225/70%);
}

.home .home-box nav .signup-login a:last-child:hover {
  color: var(--white-color);
  background: #02636e;
}

.home .home-box .content {
  width: 100%;
  height: calc(100% - 65px) ;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translate(0, -65px);
}
 
.home .home-box .content h5{
  text-transform: uppercase;
  color: var(--white-color);
  font-size: .9rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.home .home-box .content h1 {
  font-size: 4rem;
  max-width: 50rem;
  color: var(--white-color);
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.home .home-box .content p{
  color: #eee;
  font-weight: 300;
  max-width: 40rem;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
}


 
.home .home-box .content .search {
  width: 100%;
  max-width: 38rem;
  height: 45px;
  background: var(--white-color);
  border-radius: 3rem;
  display: flex;
  align-items: center;
  padding: .3rem;
}

.home .home-box .content .search i {
   color: rgba(0, 0, 0, .5);
   margin: 0 .6rem ;
}

.home .home-box .content .search input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 400;
}
 

.home .home-box .content .search button{
  height: 100%;
  padding: 0 1rem;
  border-radius: inherit;
  background: var(--green-color);
  border: none;
  outline: none;
  color: white;
  font-weight: 400;
  cursor: pointer;
}  

.home .home-box .content .search button:hover{
  background: #02636e;
} 

.home .home-box .content h5, .home .home-box .content h1, .home .home-box .content p, .home
.home-box .content .search {
  transform: translate(0, 100px);
  opacity: 0;
}

/* travel section starts here */
.travel .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0 ;

 
}

.travel .container .box{
    padding: 0 1rem;
    text-align: center;
    max-width: 30rem;
    transform: translate(0, 100px);
    opacity: 0;
    
}

.travel .container .box img{
  height: 10rem;
}
.travel .container .box h4{
  font-size: 1.2rem;
  margin: 1rem 0;
  margin-top: 2rem;
  font-weight: 600;
}

.travel .container .box p{
  color: #666; 
}


/* travel section ends here */

/* destination section starts here */
.destinations {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.destinations .container{
    width: 100%;
}
.destinations .container .container-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.destinations .container .container-box .heading {
  max-width: 30rem;
}
.destinations .container .container-box .content{
  max-width: 35rem;
}
.destinations .container .container-box .content p {
  line-height: 1.7;
  color: #666;
  margin-bottom: 1rem;
}
.destinations .container .container-box .content a {
  color: var(--green-color);
  font-weight: 600;
}

.destinations .container .container-box .content a i {
  margin-left: .5rem;
}
.destinations .container .container-box .content a:hover i {
  margin-left: .1rem;
}

.gallery {
  margin-top: 4rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.gallery .box{
  height: 23rem;
  flex-grow: 1;
  overflow: hidden;
  border-radius: .8rem;
  position: relative;
}
.gallery .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery .box .text{
  position: absolute;
  bottom: 0;
  padding: 1.5rem 2rem;
  left: 0;
  z-index: 1;
}

.gallery .box .text h2 {
  font-size: 1.4rem;
  color: var(--white-color);
  font-weight: 500;
}

.destinations .container .container-box .heading,
.destinations .container .container-box .content {
  transform: translate( -200px);
  opacity: 0;
}

.destinations .gallery .box {
  transform: translate(0, 100px);
  opacity: 0;
}
/* destination section ends here */

/* featured section starts here */
.featured {
  padding-top: 2rem;
  padding-bottom: 2rem;
}


.featured .gallery .box:first-child {
  border: 1px solid rgba(0,0,0,.3 );
  padding: 2rem 1.5rem;
}
.featured .gallery .box:first-child h2{
  margin-bottom: .5rem;
}
.featured .gallery .box:first-child p{
  margin-bottom: .5rem;
  color: #666;
}
.featured .gallery .box:first-child a{
  position: absolute;
  bottom: 2rem;
  padding: .4rem 1rem;
  color: var(--white-color);
  background: var(--green-color);
  border-radius: 3rem;
  font-size: .9rem;
  font-weight: 400;
}
.featured .gallery .box:first-child a:hover{
  background: #02636e;
}
.featured .gallery .box:first-child .image{
  width: 40%;
  position: absolute;
  bottom: -1rem;
  right: 2rem;
}
.featured .gallery .box:first-child img{
  width: 300px;
}
.featured .gallery .box .content{
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem 2rem;
}

.featured .gallery .box .content h2{
  font-weight: 500;
  color: var(--white-color);
}

.featured .gallery .box .content p {
  font-size: .9rem;
  color: #eee;
}

.featured .gallery .box .content .review-and-idr {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.featured .gallery .box .content .review-and-idr .review {
  font-size: .9rem;
  color: #eee;
}
.featured .gallery .box .content .review-and-idr .review i {
   color: #ffa600;
}
.featured .gallery .box .content .review-and-idr p {
   font-size: 1.1rem;
   text-transform: uppercase;
   font-weight: 500;
   color: var(--white-color);
}


.feedback .container h4{
  color: rgb(255 255 255/90%);
}

.feedback .container h2 {
  max-width: 40rem; 
  color: var(--white-color);
  text-align: center;

}

.feedback .container p {
  color: #eee;
  font-size: 1.2rem;
} 


.feedback {

  background-image: url("../assets/section-background.jpg");
  background-position: center;
  background-size: cover;
  margin-top: 6rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.feedback .container{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.feedback .voices {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.feedback .voices .voice {
  flex: 1 0 320px;
  background: var(--white-color);
  padding: 2rem;
  border-radius: .7rem;
}

.feedback .voices .voice .profile{
  display: flex;
  align-items: center;
}
.feedback .voices .voice .profile img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
}

.feedback .voices .voice .profile .detail {
  margin-left: 1rem;
}

.feedback .voices .voice .profile .detail li {
  list-style: none;
}
.feedback .voices .voice .profile .detail li:first-child{
  font-size: 1.1rem;
  color: #000;
  font-weight: 600;
}
 .voice  p {
  margin-top: 1rem;
}

.featured .gallery .box {
  transform: translate(0,100px);
  opacity: 0;
}

.feedback .container .label,
.feedback .container .heading,
.feedback .container .paragraph {
    transform: translate(0,10px);
    opacity: 0;
}

.feedback .voices .voice {
   transform: translate(0,100px);
   opacity: 0;;
}
/* feedback section ends here */

/* article section starts here */
.article{
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 5rem;
}
.article .container{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.article .container .latest-article,
.article .container .more-article {
  width: 100%;
  flex: 1 0 350px;
}

.article .container .latest-article img{
  width: 100%;
  height: 28rem;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
}

.article .container .latest-article p{
  margin: .8rem 0;
  color: #666;
}
.article .container .latest-article h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
.article .container .latest-article .author {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.article .container .latest-article .author img {
  width: 30px;
  height: 30px;
  border-radius: 3rem;
}

.article .container .latest-article .author p{
  font-size: .9rem;
}

.article .container .more-article {
  display: grid;
  gap: 1rem;
  overflow: hidden;
}

.article .container .more-article .box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.article .container .more-article .box img {
width: 135px;
height: 120px;
object-fit: cover;
object-position: center;
border-radius: .5rem;
}

.article .container .more-article .text h3{
  font-size: 1.2rem;
  font-weight: 600;
}
.article .container .more-article .text li {
  margin-top: .3rem;
  list-style: none;
  color: #666;
}

.article .label, .article .heading{
  opacity: 0;
}

.article .latest-article, .article .more-article .box {
  transform: translate(-200px,0);
  opacity: 0;
}


/* article section ends here */


 /* footer section starts here  */
 footer{
  padding: 1rem;
  width: 100%;
}

footer .footer {
  background: var(--green-color);
  border-radius: .7rem;
  padding: 6rem 7rem;
  padding-bottom: 1rem;
} 

footer .footer .container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--green-color);
  gap: 2rem;
  
}
 
footer .footer .container .detail {
  max-width: 32rem;
}

footer .footer .container .detail h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--white-color);
}

footer .footer .container .detail p{
  line-height: 1.6;
  color: rgb(255 255 255/80%);
  margin-bottom: 1.5rem;
}

footer .footer .container .detail h5{
  font-size: 1rem;
  font-weight: 400;
  color: var(--white-color);
}

footer .footer .container .detail a {
  color: rgb(255 255 255/80%); 
  font-size: .9rem;
  border-bottom: 2px solid #00cee4;
  padding: 1px 0;
  display: inline-block;
}

footer .footer .container .detail .social {
  display: flex;
  gap: .8rem;
  margin-top: 1rem ;
}

footer .footer .container .detail .social a{
  border: none;
  font-size: 1.3rem;
  color: var(--white-color);
}

footer .footer .container h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--white-color);
}

footer .footer .container li {
  list-style: none;
  margin-top: 1rem;
}

footer .footer .container a {
  color: rgb(255 255 255/80%);
}
footer .footer .container a:hover {
  color: var(--white-color);
}

footer .footer .container span {
  color: #000;
  background: #00cee4;
  font-size: .9rem;
  padding: .1rem .5rem;
  border-radius:  .3rem;
  font-weight: 500;
}

footer .footer .copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: .9rem;
  color: rgb(255 255 255/80%);
  text-align: center;
}
footer .footer .copyright a {
  color: rgb(255 255 255/80%);
  margin-left: 1rem;
  text-align: center;
}
 /* footer section ends here  */







/*  media section starts here */
@media (max-width: 1020px){
  html {
    font-size: 85%;
  }
  section{
    padding: 0 2rem;
  }
  footer .footer {
    padding: 2rem;
  }
}
@media (max-width: 910px){
      .home .home-box nav {
        padding: 0 1rem;
      }
      .home .home-box nav .menu ul{
        gap: 2rem
      }
      .destinations .container .container-box{
        flex-direction: column;
        align-items: flex-start;
      }
    footer .footer .container {
      flex-direction: column;
    }
}
@media (max-width: 767px){
  .heading{
    font-size: 2rem ;
  }
      .home .home-box nav .menu {
        display: none ;
      }
       .home .home-box nav .logo .bar {
        display: block;
       } 
       .home .home-box nav .menu.active {
        display: block;
        position: absolute;
        left: -1.5rem;
        top: -1.5rem;
        width: 100vw;
        height: 100vh;
        background: rgb(0 0 0/90%);
        display: flex;
        align-items: center;
        padding: 0 3rem;
       }
     .home .home-box nav .menu .close {
      display: block;
      position: absolute;
      left: 3rem;
      top: 3rem;
      cursor: pointer;
      color: var(--white-color);
      font-size: 2rem;
     }   
     .home .home-box nav .menu .close:hover{
      color: rgb(255 255 255/40%);
     }

     .home .home-box nav .menu ul {
      flex-direction: column;
      font-size: 1.3rem;
      gap: 1rem;
     }
     .home .home-box nav .menu ul:hover li a{
      color: rgb(255 255 255/40%);
     }
    .home .home-box nav .menu ul li a:hover {
      color: var(--white-color);
    }
    .home .home-box .content {
      padding: 2rem; 
    }
    .travel .container {
      flex-direction: column;
      padding: 4rem 0;
      gap: 4rem;
     } 
     .travel .container .box img{
      height: 6rem;
     }
     .destination .container .container-box .content {
      font-size: .8rem;
     }
     .featured .gallery .box:first-child .image{
      width: 50%;
      position: absolute;
      bottom: 0rem;
      right: 2rem;
    }
     .featured .gallery .box:first-child img{
      width: 250px;
    }
    .feedback .container p{
      font-size: .9rem ;
    }
}
@media (max-width: 607px){
     .home .home-box .content h1 {
      font-size: 2rem
     }
     .home .home-box .content p {
      font-size: .8rem;
     }
     .featured .gallery .box:first-child .image{
      width: 60%;
      position: absolute;
      bottom: 0rem;
      right: -2rem;
    }
     .featured .gallery .box:first-child img{
      width: 200px;
    }

}

@media (max-width: 457px){
   .article .container .latest-article,
   .article .container .more-article {
    width: 100%;
    flex: 1 0 250px;
   }

   .article .container .more-article .box img{
    width: 100px;
    height: 85px;
   }

   .article .container .more-article .text h3{
    font-size: 1.1rem;
   }

   .searchInput::placeholder{
    display: none;
    font-size: 0;
   }

}

/* media section ends here */