@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins, sans-serif" ;
}

:root{
    --bg-color:#000000;
    --snd-bg-color: #e9db21;
    --text-color: #fff;
    --main-color:#cfc107;
}

html{
    font-family: 62.5%;
    overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

/*Header Section Code*/

.header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    background: var(--bg-color);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span{
    font-weight: 700;
   color: var(--snd-bg-color);
   text-shadow: var(--main-color);
}

.navbar a{
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 3rem;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    transition: 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--snd-bg-color);
    text-shadow: var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none; 
}

/*Home Section Code*/
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-rows: 6rem;
}

.home-img img{
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    animation: floatImage 4s ease-in-out infinite;
    transition: 0.4s ease;
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color)
                0 0 35px var(--main-color)
                0 0 45px var(--main-color);    
}

@keyframes floatImage {
    0% {
      transform: translateY(0);
    }
    50%{
        transform: translateY(-2.4rem);
    }
}


.home-content {
    margin-left:5rem ;
}

.home-content h1{
    font-size: 1.7rem;
    font-weight: 300;
}

.home-content h1 span{
    font-size: 1.7rem;
    font-weight: 300;
    color: var(--snd-bg-color);
    text-shadow: var(--main-color);
}

.home-content h1:nth-of-type(2){
    margin-bottom: 2rem;
}

span{
    color: var(--main-color);
}

.home-content h3{
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
}

.home-content h2{
    font-size: 1rem;
    color: var(--bg-color);
}

.home-content p {
    font-size: 1.2rem;
}

.social-media a{
    font-size: 25px;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
}

.social-media a:hover{
    transform: scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--main-color);
    border: none;
    border-radius: 5px ;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--text-color);
    letter-spacing: 0.1rem;
    font-weight: 200;
    transition: 0.2s linear;
}

.btn:hover{
    scale: 1.1;
    border: 2px solid var(--main-color);
    background: transparent;
    font-weight: 200;
    box-shadow: 0 0 1.6rem var(--main-color);
}

/*About Section Code*/

.about{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
}
 

.about-img img{
    width: 25vw;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease;
}

.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 35px var(--main-color),
                0 0 45px var(--main-color);

}

.heading {
    font-size: 2rem;
    text-align: center;
}

.about-content{
    padding: 0 4rem;
}

.about-content h2{
    text-align: left;
    line-height: 1;
}

.about-content h3{
    font-size: 1.9rem;
}

.about-content p{
    font-size: 1.2rem;
    margin: 2rem 0 3rem;
}

.about-content p span{
    color: red;
}

/*Gallery Section Code*/
.gallery-section{
    color: var(--text-color);
    background: var(--bg-color);
    padding: 50px 0 100px;
}

.gallery-section h2{
   text-align: center;
   font-size: xx-large;
}


.gallery-section .gallery-list{
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    justify-content: space-between;
}

.gallery-section .gallery-list .gallery-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% / 3 - 110px);
}

.gallery-section .gallery-list .gallery-item .btn{
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--main-color);
    border: none;
    border-radius: 5px ;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--text-color);
    letter-spacing: 0.1rem;
    font-weight: 200;
    transition: 0.2s linear;
}

.gallery-section .gallery-list .gallery-item .btn:hover{
    scale: 1.1;
    border: 2px solid var(--main-color);
    background: transparent;
    font-weight: 200;
    box-shadow: 0 0 1.6rem var(--main-color);    
}

.gallery-section .gallery-list .gallery-item .text{
    font-size: medium;
}

.gallery-section h4{
    color: var(--bg-color);
}

.gallery-section .gallery-list .gallery-item .gallery-image{
    max-width: 83%;
    aspect-ratio: 1;
    width: 25vw;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease;
} 

/*Testimonials Section Code*/

.testimonials{
    background: var(--bg-color);
}

.testimonial-box{
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.testimonial-box img{
    width: 15rem;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}

.wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem;
}

.testimonial-items{
    min-height: 450px;
    max-width: 450px;
    background: var(--snd-bg-color);
    border: 0.3rem solid var(--main-color);
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 20px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.testimonial-items:hover{
    border-color: var(--main-color);
    transform: scale(1.2);
}



.testimonial-items p{
    font-size: 0.98rem;
    text-align: center
}

#star {
    color: var(--text-color);
    font-size: 0.8rem;
}


/*Contact Section Code*/
.contact{
    background-color: var(--bg-color);
}

.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact h2 span{
    margin-bottom: 3rem;
    color: var(--snd-bg-color);
}

.contact form {
    max-width: 80rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    flex-direction: flex;
    justify-content: center;
    align-items: wrap;
    
}

.contact form .input-box input,
.contact form textarea{
    width: 99%;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius:0.7rem ;
    border: 0.25rem solid var(--main-color);
    margin: 0.7rem 0;
    resize: none;
}

.contact form .input-box input{
    width: 48%;
    margin: 0.7rem 0.35rem;
}

.contact form .btn{
 margin-top: 2rem;
}

.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--bg-color);
}

.footer .social{
    text-align: center;
    padding-bottom:25px ;
    color: var(--main-color);
}

.footer .social a{
    font-size: 25px;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
}

.footer .social a:hover{
    transform: scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
}

.footer .copyright{
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
}

/*Responsive Design Code*/
@media (max-width: 1200px) {
    html{
        font-size: 55%;
    }  
}

@media (max-width: 991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% ;
    }
    .testimonials .wrapper{
        grid-template-columns: repeat(1,1fr);
    }
    .contact form .input-box input{
        width: 100%;
    }
    .footer{
        padding: 2rem 3%;
    }

}

@media (max-width: 991px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 225px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--main-color);
        transition: all 0.5s ease;
        backdrop-filter:blur(10px) ;
    }

    .navbar a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }

    .navbar.active{
        right: 0;
    }

    .home{
        flex-direction: column;
    }

    .home-content h3{
        font-size: 2.6rem
    }        
    .home-content h1{
        font-size: 5rem;
    }

    .home-content{
        order: 2;
        margin-left: 1rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }

    .about{
        flex-direction: column-reverse;
    }

    .about-img img{
        width: 70vw;
        margin-top: 4rem;
    }
    
}

@media (max-width: 617px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 225px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--main-color);
        transition: all 0.5s ease;
        backdrop-filter:blur(10px) ;
    }

    .navbar a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }

    .navbar.active{
        right: 0;
    }

    .home{
        flex-direction: column;
    }

    .home-content h3{
        font-size: 2.6rem
    }        
    .home-content h1{
        font-size: 5rem;
    }

    .home-content{
        order: 2;
        margin-left: 1rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 8rem;
    }

    .about{
        flex-direction: column-reverse;
    }

    .about-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

@media (max-width: 617px){
    html{
        font-size:50%;
    }    
}
