/*============google fonts=====================*/
/* its either import or link ,link in html .import in css*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap');

/*==============CSS VARIABLES==================*/

:root{
    --header-hight:3rem;
    /*====================colors==================*/
    --hue-color: 190;
    /*hsl color mode*/
    --first-color: hsl(var(--hue-color),64%,22%);
    --first-color-second: hsl(var(--hue-color),64%,22%);
    --first-color-alt: hsl(var(--hue-color),64%,15%);
    --title-color:hsl(var(--hue-color),64%,18%);
    --text-color:hsl(var(--hue-color),24%,35%);
    --text-color-light:hsl(var(--hue-color),24%,60%);
    --input-color:hsl(var(--hue-color),24%,97%);
    --body-color:hsl(var(--hue-color),100%,99%);
    --white-color:#fff;
    --scroll-bar-color:hsl(var(--hue-color),12%,90%);
    --scroll-thumb-color:hsl(var(--hue-color),12%,75%);



/*=====================fonts and typography=====================*/
--body-font:'Open Sans', sans-serif;
--title-font: 'Raleway', sans-serif;
--biggest-font-size:2.5rem;
--h1-font-size:1.5rem;
--h2-font-size:1.25rem;
--h3-font-size:1rem;
--normal-font-size:.935rem;
--small-font-size:.813rem;
--smaller-font-size:.75rem;


/*=====================fonts wight==================================*/
--font-medium:500;
--font-semi-bold:600;

/*======================margins bottom========================*/
--mb-0-25: .25rem;
--mb-0-5: .5rem;
--mb-0-75: .75rem;
--mb-1: 1rem;
--mb-1-25: 1.25rem;
--mb-1-5: 1.5rem;
--mb-0-25: .25rem;
--mb-2: 2rem;
--mb-2-5: 2.5rem;

/*=================z-index===========================*/
--z-tooltip:10;
--z-fixed:100;

/*=====================hover overlay====================*/
--img-transition:.3s;
--img-hidden:hidden;
--img-scale: scale(1.1);

}



@media screen and (min-width:968px){
:root{

--biggest-font-size:4rem;
--h1-font-size:2.5rem;
--h2-font-size:1.75rem;
--h3-font-size:1.25rem;
--normal-font-size:1rem;
--small-font-size:.875rem;
--smaller-font-size:.813rem;
}

}
/*======================dark theme======================*/
body.dark-theme{
--first-color: hsl(var(--hue-color),54%,12%);
--title-color:hsl(var(--hue-color),24%,95%);
--text-color:hsl(var(--hue-color),8%,75%);
--input-color:hsl(var(--hue-color),29%,16%);
--body-color:hsl(var(--hue-color),29%,12%);
--scroll-bar-color:hsl(var(--hue-color),12%,48%);
--scroll-thumb-color:hsl(var(--hue-color),12%,36%);
}

.nav-dark{
    position: absolute;
    bottom: 4rem;
    left: 3rem;
    display: flex;
    column-gap: 1rem;
    align-items: center;
    font-size: var(--small-font-size);
    font-weight: var(--normal-font-size);
}
.theme-icon{
    font-size: 1.25rem;
    cursor: pointer;

}
.change-theme-name ,.theme-icon{
    color: var(--text-color);
}
/*===============================base========================*/
*{
    box-sizing: border-box;
    padding: 0%;
    margin: 0%;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: var(--header-hight) 0 0 0 ;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color:  var(--body-color);
    color:  var(--text-color);

}
h1,h2,h3{
   color:  var(--title-color); 
   font-weight:  var(--font-semi-bold);
   font-family:  var(--title-font);
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img,
video{
max-width: 100%;
height: auto;
}
button,input{
    border: none;
    font-family:  var(--body-font);
    font-size:  var(--normal-font-size);
}
button{
    cursor: pointer;
}
input{
    outline: none;
}
/*================reuasable classes===================*/
.section{
    padding: 4.5rem 0 2.5rem;
}
.section-title{
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: var(--mb-2);
}
.container{
    max-width: 968px;
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
}
.grid{
    display: grid;
    gap: 1.5rem;
}
/*=================HEADER====================*/
.header{
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: var(--z-fixed);
    background-color: transparent;
}
.nav{
    height: var(--header-hight);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.nav__logo,
.nav__toggle{
color: var(--white-color);
}
.nav__logo{
    font-weight: var(--font-semi-bold);
}
.nav__toggle{
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    
}

.nav__menu{
    position: relative;
}
@media only screen and (max-width:768px) {
   .nav__menu{
       position: fixed;
       top: 0px;
       right: -100%;
       height: 100%;
       width: 70%;
       background-color: var(--body-color);
       padding: 3rem;
       box-shadow: -1px 0 4px hsl(var(--hue-color),64%,15%,0.5);
       transition: 0.5s;


   } 
   .nav__toggle{
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-block;
    
}
}
.nav__list{
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}
.nav__link{
    color: var(--text-color-light);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
}
.nav__link:hover{
    color: var(--text-color);
    
}
.nav__close{
    position: absolute;
    color:var(--title-color);
    top:.75rem;
    right:1rem;
    font-size: 1.5rem;
    cursor: pointer;

}
/*========================home====================*/

.home-image{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 85%;
}
.home__container{
    position: relative;
    height: calc(100vh - var(--header-hight));
    row-gap: 3rem;
    align-items: center;
}
.home__data-title,
.home__data-subtitle,
.home__social i,
.home__info-title,
.button,
.home__info-button{
    color: var(--white-color);
}
.home__data-title{
    font-size: var(--biggest-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-2-5);
   
}
.home__data-subtitle{
    display: block;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}
.home__social{
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}
.home__social-link{
font-size: 1.32rem;
width: max-content;
}

.home__info{
    display: flex;
    align-items: center;
    background-color: var(--first-color);
    padding: 1.5rem 1rem;
    position: absolute;
    right: 0;
    bottom: 1rem;
    width: 228px;
    column-gap: .5rem;
    
}
.home__info-title{
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}


.home__info-img{
    width: 145px;
    transition: var(--img-transition);
    
   
}
.home__info-img:hover{
    transform: var(--img-scale);

}
.home__info-overlay{
    overflow: hidden;
}

.home__info-button{
    font-size: var(--smaller-font-size);
    display: flex;
    column-gap: 0.25rem;
    align-items: center;
    font-weight: var(--font-semi-bold);
   
}
.button{
    padding: 1rem 2rem;
    background-color: var(--first-color);
    transition: .3s;
    font-weight: var(--font-semi-bold);

}
.button:hover{
    background-color: var(--first-color-alt);
}
/*=================scroll header===========================*/
.scroll-header{
    background-color: var(--body-color);
    box-shadow: -1px 0 4px hsl(var(--hue-color),64%,30%,0.5);
    
}
.scroll-header .nav__toggle,
.scroll-header .nav__logo{
   color: var(--title-color);

}
/*=========================about============================*/
.about-container{
    text-align: center;
    gap: 3rem;
}
.about-description{
    margin-bottom: var(--mb-2-5);
}

.about-img{
    display: flex;
    column-gap: 1rem;
    align-items: center;
    justify-content: center;
    transition: var(--img-transition);
    
}
.about-img1{
    width:150px
    
}
.about-img2{
    width: 180px;
    
}
.about-overlay{
    overflow: var(--img-hidden);
}
.about-img1,
.about-img2{
    transition: var(--img-transition);
    
}
.about-img1:hover,
.about-img2:hover{
    transform: var(--img-scale);
}
/*==================discover==========================*/
.discover__card{
    position: relative;
    width: 200px ;
   overflow: hidden;
}

.discover-data{
    position:absolute;
    bottom:1.5rem;
    left: 1rem;
}
.discover-title,
.discover-discription{
    color: var(--white-color);
}
.discover-discription{
    font-weight:var(--smaller-font-size);
}

.discover-title{
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);

}
.discover-image{
    transition: var(--img-transition);
}
.discover-image:hover{
    transform: var(--img-scale);
}


/*.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right{
    background-image: none;
}*/
/*================experience===================*/
.experience__container{
   row-gap:3rem;
   justify-content: center;/*regardng the grid it self*/
   justify-items: center;

}
.experience-content{
    grid-template-columns: repeat(3, 1fr); 
    column-gap: 1rem;
    
}
.experience-number{
    margin-bottom: var(--mb-0-5);
    font-weight: var(--font-semi-bold);
    font-size: var(--h2-font-size);
}
.experience-description{
    font-size: var(--small-font-size);
}
.experience-img{
    position: relative;
    padding-bottom:2rem ;
}
.experience-img1:hover,
.experience-img2:hover{
transform: var(--img-scale);
}
.experience-overlay{
    overflow: var(--img-hidden);

}


.experience-img1,
.experience-img2{
transition: var(--img-transition);
}
.experience-overlay:nth-child(1){
    width: 267px;
    margin-right: 2rem;
    overflow: var(--img-hidden);
    
    }
    .experience-overlay:nth-child(2){
    width: 120px;
    position:absolute;
    top: 2rem;
    right: 0rem;
    overflow: var(--img-hidden);
    }
    
    
/*=================video==================*/
.video-container{
    padding-bottom: 1rem;
}
.video-description{
    text-align: center;
    margin-bottom: var(--mb-2-5);
}
.video-content{
    position: relative;
}
#video-button{
    position: absolute;
    right: 1rem;
    bottom: -1rem;
    padding: 1rem 1.5rem;
}
#video-icon{
    font-size: 1.2rem;
}
/*=================================place===========================*/
.place-card,
.place-img{
    height: 230px;
}
.place-container{
    grid-template-columns: repeat(2,max-content);
    justify-content: center;
}
.place-card{
    position: relative;
    overflow:var(--img-hidden);
}
.place-content{
    position: absolute;
    top: 0rem;
    left: 0rem;
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: .75rem .75rem 1rem;
    
}
.place-rating,
.place-data,
.place-title{
    color: var(--white-color);
}
.place-title{
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}
.place-subtitle{
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-1-25);
}
.place-subtitle,
.place-price{
    display: block;
}
.place-button{
    position: absolute;
    padding: 0.75rem 1rem;
    bottom: 0rem;
    right: 0rem;
}
.place-rating{

    align-self: flex-end;
    display: flex;
    align-items: center;
    
}
.place-card:hover .place-img{
    transform: var(--img-scale);
}
.place-img{
    transition: var(--img-transition);
}
.place-number{
    font-size: var(--small-font-size);
}
.place-icon{
    font-size: 0.75rem;
    margin-right: var(--mb-0-25);
}
/*====================subscribe=========================*/
.subscribe-bg{
    background-color: var(--first-color);
    padding: 2.5rem 0rem;
}

.subscribe-description{
    text-align: center;
    margin-bottom: var(--mb-2-5);
}
.subscribe-description,
.subscribe-title{
    color: var(--white-color);
}
.subscribe-form{
    background-color: var(--input-color);
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}
.subscribe-form::placeholder{
    color: var(--text-color);
}
.subscribe-input{
    background-color: var(--input-color);
    width: 70%;
    margin-right: 0.5rem;
    color: var(--text-color);
}
/*=====================sponsors=====================*/
.sponsors-container{
    row-gap: 2.5rem;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(auto-fit,minmax(110px,1fr));
    row-gap: 3.5rem;
}
.sponsors-img{
    width: 90px;
    transition: var(--img-transition);
    filter:invert(0.7);
}
.sponsors-img:hover {
    filter:invert(0.5);
}

/*=================================footer=============================*/
.footer-container{
    row-gap: 5rem;
}
.footer-content{
    row-gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.footer-title{
    margin-bottom: var(--mb-0-5);
}
.footer-subtitle{
    margin-bottom: var(--mb-1);
}
.footer-description{
    margin-bottom: var(--mb-1-5);
}
.footer-social-link{
    color:var(--text-color);
    margin-right: 1.25rem;
    font-size: 1.2rem;

}
.footer-social-link:hover{
    color:var(--title-color);

}
.footer-social-link{
    color:var(--text-color);
    margin-right: 1.25rem;
    font-size: 1.2rem;

}
.footer-item{
    margin-bottom: var(--mb-1);
    cursor: pointer;
}
.footer-rights{
    display: flex;
    flex-direction: column;
    row-gap:1rem;
    text-align: center;

}
.footer-rights,
.footer-terms-link{
  font-size: var(--small-font-size);
  color: var(--text-color-light);

}
.footer-terms{
    display: flex;
    column-gap: 1.5rem;
    justify-content: center;
}
.footer-terms-link:hover{
    color: var(--text-color);
    cursor: pointer;
}
/*=======================scroll up===================*/
.scrollup{
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color:var(--first-color);
    z-index: var(--z-tooltip);
    color:var(--white-color);
    padding:0.5rem 0.75rem ;
    transition: 0.5s;
    opacity: 0.9;

}
.scrollup i{
   font-size: 1.2rem;

}
.scrollup:hover{
    background-color: var(--first-color-alt);
    opacity: 1;
}
.active-link{
    position: relative;
    color:var(--title-color);
}
.active-link::after{
    content: '';
    position: absolute;
    height: 2px;
    background-color:var(--title-color);
left:0px;
bottom:-.75rem;
width: 100%;/*very important as well as hight*/


}
/*=================scroll bar=======================*/
::-webkit-scrollbar{
    width: .60rem;
    background-color: var(--scroll-bar-color);
}
::-webkit-scrollbar-thumb{
    
    background-color: var(--scroll-thumb-color);
}
::-webkit-scrollbar-thumb:hover{
    
    background-color: var(--text-color-light);
}
main{
    overflow-x: hidden;
}
