@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
:root{
    --yellow-color: #d6ad18;
    --blue-color: #035493;
    --white-color: #fff;
    --light-color: #eeeeee;
    --black-color: #222;
    --dark-color: #484848;
}

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body{
    overflow-x: hidden !important;
}
/* 

.pointer{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: linear-gradient(to right, var(--yellow-color), var(--blue-color));
    border-radius: 50%;
    transition: 0.2s linear;
    z-index: 99;
} */

.overlay{
    background: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 40;
    transition: 0.1s linear;
}

.active.overlay{
    width: 100%;
    height: 100%;
}
#popup{
    background: #f8f8f8;
    width: 360px;
    padding: 50px 30px;
    /* height: 400px; */
    border: 5px dashed var(--yellow-color);
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translate(-50%,-50%) scaleX(0);
    transform-origin: center;
    z-index: 99;
    transition: 0.2s linear;
    /* overflow-y: scroll; */
}

.active#popup{
    top: 50%;
    transform: translate(-50%, -50%) scaleX(1);
}

#popup h2{
    font-size: 20px;
}

#popup p{
    line-height: 1px;
}

#popup .close{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    background: var(--blue-color);
    width: 40px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;;
}


#topbar{
    background: var(--yellow-color);
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
}

#topbar .left{
    display: flex;
    gap: 10px;
}

#topbar .icon-box{
    display: flex;
    gap: 10px;
    align-items: center;
}

#topbar .border-right{
    border-right: 3px solid var(--white-color);
    padding-right: 10px;
}

#topbar .icon-box .icon{
    background: var(--white-color);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px 0 15px 0;
    filter: drop-shadow(5px 5px 8px rgba(0,0,0,0.1));
    font-size: 18px;
}

#topbar .icon-box .icon-content{
    font-size: 16px;
    font-weight: 500;
    color: var(--white-color);
}

#navbar{
    background: var(--black-color);
    margin-bottom: -16px;
}

#navbar .desktop-main-menu{
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
}

#navbar .logo img{
    height: 80px;
}

.menu-link{
    color: var(--white-color);
    text-decoration: none;
    transition: 0.3s ease;
}

.menu-link:hover{
    color: var(--yellow-color);
}

.mobile-nav{
    display: none;
}

#hero-bg{
    background-image: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('./../bangalore-kerala/images/kerala-tour-banner.webp');
    color: var(--white-color);
    padding: 50px 0;
    background-size: cover;
    position: relative;
    background-position: center;
}

#hero-bg img{
    display: none;
}

.check-box{
    display: flex;
    align-items: center;
}

#hero-bg .divider{
    background: var(--yellow-color);
    height: 2px;
    width: 70%;
    margin-top: -5px;
    margin-bottom: 5px;
}

/* #hero-bg .ri-check-line{
    background: var(--yellow-color);
    padding: 10px;
    font-size: 12px;
} */

#hero-bg h4{
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
}

#hero-bg h2{
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    /*-webkit-text-stroke: 1px var(--white-color);*/
}

#hero-bg h6{
    color: var(--yellow-color);
}

#hero-bg form{
    width: 300px;
    margin: 0 auto;
    background: rgba(0,0,0,0.8);
}

#hero-bg .form-title{
    background: var(--yellow-color);
    width: 100%;
    padding: 5px 0;
    position: relative;
    z-index: 2;
}

#hero-bg .form-title::before{
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    background: var(--yellow-color);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    width: 50px;
    height: 50px;
    z-index: -1;
    transform: translateX(-50%)
}
#hero-bg .form-inputs{
    padding: 0 20px 20px;
    margin-top: 20px;
}

.btn-primary{
    border: none;
    padding: 8px 35px;
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.btn-primary:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    z-index: -1;
    transform: scaleX(0);
    transition: 0.3s ease;
    transform-origin: left;
}

.btn-primary:hover{
    color: var(--dark-color);
}

.btn-primary:hover:before{
    transform: scaleX(1);
}


.btn-primary-dark{
    border: none;
    padding: 8px 35px;
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.btn-primary-dark:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: -1;
    transform: scaleX(0);
    transition: 0.3s ease;
    transform-origin: left;
}

.btn-primary-dark:hover{
    color: var(--white-color);
}

.btn-primary-dark:hover:before{
    transform: scaleX(1);
}

.section-title h2{
    font-size: 30px;
    color: var(--black-color);
    /*-webkit-text-stroke: 1px var(--black-color);*/
    text-transform: uppercase;
    text-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.section-title h6{
    font-size: 20px;
    color: var(--yellow-color);
    font-style: italic;
}

.tour-box{
    background: var(--light-color);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.tour-box .tour-img{
    /*filter: grayscale(1);*/
    transition: 0.3s ease;
    width: 100%;
}

.tour-box .tour-img img{
    width: 100%;
}

.tour-box:hover .tour-img{
    filter: grayscale(0);
}

.tour-box .icon-box{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    padding: 0 20px;
}

.tour-box .tour-title{
    color: var(--black-color);
    font-weight: 300;
    margin-top: 20px;
    padding: 0 20px;
}

.tour-box .tour-duration{
    background: linear-gradient(to right, #83a4d4, #b6fbff);
    color: var(--black-color);
    padding: 10px 0;
    font-weight: 600;
}

.tour-box .icon-box img{
    height: 30px;;
}
.tour-box .price{
    position: absolute;
    top: 100px;
    /* left: 10px; */
    background: var(--yellow-color);
    padding: 20px 20px 8px 20px;
    /*transform: translateX(-95%);*/
    transition: transform 0.3s ease-in;
}

.tour-box:hover .price{
    transform: translateX(0)
}

.tour-box .price h6{
    line-height: 1px;
}

.tour-box .price h5{
    line-height: 20px;
}

.tour-box button{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;
}

#why-us{
    background: linear-gradient(to right, #83a4d4, #b6fbff);
    clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
    padding: 80px 0;
}

.why-us-box{
    background: var(--white-color);
    padding: 40px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    /* filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.3)) */
}

.why-us-box:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #83a4d4, #b6fbff);
    z-index: -1;
    transform: translateY(98%);
    transition: 0.5s ease;
}

.why-us-box:hover:before{
    transform: translateY(0);
}


.why-us-box i{
    background: var(--yellow-color);
    padding: 20px;
    font-size: 20px;
    color: var(--white-color);
    border-radius: 50px;
}

.why-us-box p{
    font-size: 20px;
    line-height: 24px;
    margin-top: 20px;
}

#facts{
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('../images/slide-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 250px 0 100px 0;
    margin-top: -150px;
}



.fact-box{
    background: var(--white-color);
    height: 200px;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* padding: 0 80px; */
    cursor: pointer;
}

.fact-box .top, .fact-box .bottom{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 40px;
}
.fact-box .top{
    z-index: 1;
}
.fact-box .bottom{
    /* transform: scaleX(0); */
    clip-path: polygon(0 80%, 20% 100%, 49% 100%, 0 100%);
    z-index: 1;
    transition: all 0.3s ease;
    transform-origin: left;
    background: var(--yellow-color);
    color: var(--white-color);
}

.fact-box:hover .bottom{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.fact-box .icon{
    background: var(--yellow-color);
    width: 72px;
    height: 72px;
    font-size: 30px;
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

#faqs{
    background: var(--light-color);
}

.accordion-button:focus, .accordion-button:active{
    border: 0;
    outline: 0;
}

.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
  }

  .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 1;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }

  .testimonial{
    padding: 40px 40px;
    /* position: relative; */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .testimonial i{
    font-size: 30px;
    color: #ccc;
    line-height: 20px;
  }

 .testimonial img{
    width: 100px;
    height: 100px;
    border-radius: 100px;
 }

 .testimonial h6{
    font-size: 22px;
    margin-top: 10px;
    color: var(--blue-color);
 }

 #contact{
    background: url(../images/kerala-tour.jpg);
    padding: 80px 0;
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 9;
    margin: 0 50px;
    border-radius: 10px;
    overflow: hidden;
 }

 #contact .overlay{
    background: var(--yellow-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 55vw;
    height: 100%;
    z-index: -1;
 }

 .d-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
 }

 .form-control:focus{
    box-shadow: none !important;
 }

 #footer{
    background: var(--dark-color);
    position: relative;
    z-index: 1;
    margin-top: -250px;
    padding: 300px 0 50px 0;
    color: #fff;
 }

 .footer-title{
    font-size: 20px;
    color: var(--yellow-color);
    text-transform: uppercase;
 }

 #footer .icon-box{
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-gap: 10px;
    margin: 10px 0;
    /* align-items: center; */
    align-content: center;
 }

 #footer .icon-box .icon{
    background: var(--yellow-color);
    height: 48px;
    width: 48px;
    display: flex;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    justify-content: center;
    align-items: center;
 }

 #footer dl{
    list-style: none;
 }
#footer dl li{
    margin: 10px 0;
}
 .footer-link{
    color: var(--white-color);
    text-decoration: none;
    /* margin: 30px 0; */
    /* padding: 10px 0; */
 }

 .footer-link:hover{
    color: var(--yellow-color);
 }
 
 .btn-call{
     display: none;
 }
 
 @keyframes callAnim{
     0%{
         transform: scale(1);
     }
     
     50%{
         transform: scale(0.8);
     }
     
     100%{
         transform: scale(1);
     }
 }

 /* #footer .icon-box:nth-child(1){
    align-items: center;
 } */
@media screen and (max-width: 600px) {
    #topbar{
        display: none;
    }

    /* #navbar{
        background: var(--white-color);
    } */

    #hero-bg{
        padding: 100px 0 50px 0;
    }
    
    #hero-bg img{
        display: block;
        height: 65px !important;
        position: absolute;
        top: 22px;
    }
    
    .desktop-menu{
        display: none;
    }

    .mobile-nav{
        display: block;
        /* height: 100vh; */
    }

    .menu-icon{
        background: var(--yellow-color);
        position: fixed;
        top: 10px;
        right: 10px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 5px;
        z-index: 99;
    }

    .menu-icon .line{
        width: 100%;
        height: 3px;
        background: var(--black-color);
        border-radius: 5px;
    }

    .menu-icon .line-2{
        margin: 8px 0;
        width: 50%;
        transition: 0.3s ease;
    }

    
    .sidebar{
        width: 70%;
        height: 100vh;
        background-color: var(--dark-color);
        position: fixed;
        top: 0;
        left: 0;
        /*width: 90%;*/
        z-index: 99;
        transform:translateX(-100%);
        transition: 0.3s ease;
    }
    .active.sidebar{
        transform: translateX(0);
    }
    .sidebar dl{
        list-style: none;
        padding: 10px;
    }
    .sidebar img{
        height: 60px;
    }

    .close-menu{
        background: var(--yellow-color);
        padding: 15px 10px 0px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .close-menu p{
        font-size: 20px;
        font-weight: 500;
    }

    .close{
        font-size: 30px !important;
        cursor: pointer;
    }

    #topbar .icon-content{        
        font-size: 14px;
        font-weight: 200;
    }
    #hero-bg form{
        margin-top: 30px;
        width: 100%;
    }

    #hero-bg .divider{
        width: 100%;
    }

    #hero-bg h2{
        font-size: 30px;
    }

    #contact{
        background-position: center right;
        margin: 0 20px;
    }

    #contact .overlay{
        background: rgba(0,0,0,0.6) !important;
    }
    
    #contact h2{
        color: var(--white-color);
    }

    #contact form{
        padding: 40px 20px;
        border-radius: 10px;
    }

    #contact label{
        color: var(--white-color);
    }
    #contact .overlay{
        background: rgba(0,0,0,0.4);
        width: 100%;
    }

    .col-sm-4{
        margin: 20px 0;
    }

    #why-us{
    clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
    }
    .btn-call{
     width: 100%;
     height: 60px;
     position: fixed;
     display: block;
     bottom: 0px;
     left: 0px;
     background: #20bf6b;
     /*background: red;*/
     color: #fff;
     font-size: 30px;
     text-decoration: none;
     display: flex;
     justify-content: center;
     align-items: center;
     /*border-radius: 100px;*/
     box-shadow: 0 5px 5px 5px rgba(0,0,0,0.1);
     /*animation: callAnim 1s linear infinite;*/
     z-index: 10 !important;
 }
}