@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=Inter:wght@400;600;900&display=swap');

* {
    border: 0;
    padding: 0;
    margin: 0;
}

h2 {
    color: white;
    font-weight: bold;
    font-size: 200px;
}

/*first page*/

.intro {
    background: url(../Image/intro.jpg) center / cover;
    height: 100vh;
    scroll-snap-align: start;

    .nav_bar {

        padding: 3% 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: contrast(0.4) blur(10px);

        .logo {
            font-family: 'Inter', sans-serif;
            font-weight: 900;
            font-size: 40px;
            color: #fff;
            text-decoration: none;
        }



        .nav_menu {
            width: 30%;
            display: flex;
            justify-content: right;

        }


        .nav_menu a {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: 18px;
            color: #fff;
            text-decoration: none;
            margin-left: 10%;
            transition: transform 0.3s ease-out 0.1s, color 0.2s ease-out;


        }

        .nav_menu a:hover {
            transform: translateY(-5px);
            color: #ffb0c9;
        }


    }

    .title {
        padding-top: 5%;
        padding-left: 10%;

        .line {
            width: 10%;
            height: 3px;
            border-radius: 25px;
            background-color: #ffffff;
            margin-top: 3%;
        }



        .para {
            width: 40vw;
            padding-top: 3%;


            .para_1 {
                animation: para_animation 1.5s cubic-bezier(0.48, 1.06, 0.6, 0.92);
            }

            .para_2 {
                animation: para_animation 2s cubic-bezier(0.48, 1.06, 0.6, 0.92);
            }

            .para_3 {
                animation: para_animation 2.5s cubic-bezier(0.48, 1.06, 0.6, 0.92);
            }
        }

        .para p {
            font-family: 'Caveat', cursive;
            font-weight: 500;
            font-size: 30px;
            color: #ffffff;
        }


    }



    .title h1 {
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 90px;
        color: #ffb0c9;
    }


    .title h1:nth-child(2) {
        font-size: 60px;
        color: #9b7373;
    }


    .scrollup {
        display: flex;
        position: relative;
        justify-content: center;
        padding-top: 3%;
        padding-left: 70vw;
    }


    .scrollup h1 {
        font-family: 'Caveat', cursive;
        font-weight: 500;
        font-size: 40px;
        color: #ffffff;
        animation: scroll_animation 1.4s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;

    }

    .scrollup div {
        position: absolute;
        top: 13vh;
        width: 3px;
        height: 4vh;
        border-radius: 25px;
        background-color: #ffffff;
        animation: scroll_animation 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s infinite;
    }


}

/*Footer*/

.aboutus {
    scroll-snap-align: start;
    background-color: #031b2b9c;
    backdrop-filter: blur(60px);
    height: 60vh;
    text-align: center;

    .contact_row {
        display: flex;
        justify-content: center;
        gap: 3.5vw;
        padding: 10vh 0 2vh 0;

        .contact_heading_text {
            padding: 3vh 0 1vh 0;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 36px;
            color: #ffffff;
        }

        .social_media_col {
            padding-top: 4vh;

            .social_media_text p {
                padding: 1vh 0 2vh 0;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 18px;
                color: #ffffff;
            }

            .social_media {
                display: flex;
                flex-direction: row;
                justify-content: center;

                .instagram {
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/instagram.png) center / cover;
                    margin-right: 10px;
                }

                .youtube {
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/youtube.png) center / cover;
                    margin-left: 10px;
                }
            }
        }

        .information {
            display: flex;
            flex-direction: column;

            a {
                text-decoration: none;
                padding: 3vh 0 1vh 0;
                font-family: 'Inter', sans-serif;
                font-weight: 400;
                font-size: 18px;
                color: #ffffffc5;
            }
        }

        .contact_details {

            .contact_details_text {
                display: flex;
                align-items: center;

                a {
                    text-decoration: none;
                    font-family: 'Inter', sans-serif;
                    font-weight: 400;
                    font-size: 18px;
                    color: #ffffffc5;
                }
            }


            .whatsapp {
                padding: 3vh 0 1vh 0;
                display: flex;
                flex-direction: row;
                align-content: center;

                .whatsapp_icon {
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/whatsapp.png) center / cover;
                    margin-right: 10px;
                }
            }

            .phone {
                padding: 3vh 0 1vh 0;
                display: flex;
                flex-direction: row;
                align-content: center;

                .phone_icon {
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/phone.png) center / cover;
                    margin-right: 10px;
                }
            }

            .email {
                padding: 3vh 0 1vh 0;
                display: flex;
                flex-direction: row;
                align-content: center;

                .email_icon {
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/mail.png) center / cover;
                    margin-right: 10px;
                }
            }
        }

        .address {
            .address_row {
                display: flex;
                flex-direction: row;

                .address_icon {
                    margin-top: 4vh;
                    height: 3vh;
                    width: 3vh;
                    background: url(../Icons/location.png) center / cover;
                    margin-right: 10px;
                }

                p {
                    padding-top: 4vh;
                    font-family: 'Inter', sans-serif;
                    font-weight: 400;
                    font-size: 18px;
                    color: #ffffffc5;
                }
            }

        }


    }

}

.aboutus h2 {
    font-family: 'Caveat', cursive;
    font-weight: 500;
    font-size: 35px;
    padding-top: 9%;
    padding-block: 6%;
    animation: scroll_animation 1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.2s infinite;
}


/*scrolling effect model */

.wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 1px;

    scroll-snap-type: y mandatory;

    .parallex_grp {
        height: 100vh;
        position: relative;
        transform-style: preserve-3d;
        scroll-snap-align: start;



        .parallex_layer {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .base_layer {
            transform: translateZ(-1px) scale(2.1);
            height: 100vh;
            top: 5%;
            /* there is some constraint that coz base layer went slitly up so I make it slitly down */
        }

        .mid_layer {
            transform: translateZ(0);
        }

        .top_layer {
            transform: translateZ(0.5px) scale(0.5);
        }
    }

}


/*layer imagine */

.grp_1 .base_layer {
    background: url(../Image/dtm.jpg) center / cover;
}

.grp_2 .mid_layer {

    background: url(../Image/bm.jpg) center / cover;
}

.grp_3 .base_layer {
    background: url(../Image/sm.jpg) center / cover;
}

.grp_4 .mid_layer {

    background: url(../Image/am.jpg) center / cover;
}

.grp_5 .base_layer {
    background: url(../Image/tm.jpg) center / cover;
}

.grp_6 .mid_layer {

    background: url(../Image/pm.jpg) center / cover;
}

.grp_7 .base_layer {
    background: url(../Image/frm.jpg) center / cover;
}

.grp_8 .mid_layer {

    background: url(../Image/hsm.jpg) center / cover;
}

.grp_9 .base_layer {
    background: url(../Image/arm.jpg) center / cover;
}


/*layer order */

.intro {
    z-index: 0;
}

.grp_1,
.grp_3,
.grp_5,
.grp_7,
.grp_9 {
    z-index: -1;
}

.grp_2,
.grp_4,
.grp_6,
.grp_8 {
    z-index: 0;
}

/*  Content on every layer */

/*LEFT*/

.grp_1,
.grp_6,
.grp_8 {

    .content {
        width: 80%;
    }

    .content h2 {
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 150px;
        color: #ffffff;
    }

    .content p {
        margin-top: 1%;
        font-family: 'Caveat', cursive;
        font-weight: 500;
        font-size: 30px;
        color: #ffffff;

    }

    .content button {
        margin-top: 2%;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 15px;
        padding: 10px 20px;
        text-transform: uppercase;
        color: #ffffff;
        background-color: transparent;
        border-radius: 20px;
        border: 2px solid #ffffff;
        transition: all 0.3s ease-out 0.1s, color 0.2s ease-out;
    }

    .content button:hover {
        transform: translateY(-8px);
        background-color: #ffffff;
        color: #71311b;
    }
}

/*CENTER*/

.grp_2,
.grp_4,
.grp_5,
.grp_7,
.grp_9 {

    .content {
        width: 80%;
        position: relative;
    }

    .content h2 {
        text-align: center;
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 150px;
        color: #ffffff;
    }

    .content p {
        margin-top: 1%;
        text-align: center;
        font-family: 'Caveat', cursive;
        font-weight: 500;
        font-size: 30px;
        color: #ffffff;

    }

    .content button {
        position: absolute;
        right: 45%;
        margin-top: 2%;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 15px;
        padding: 10px 20px;
        text-transform: uppercase;
        color: #ffffff;
        background-color: transparent;
        border-radius: 20px;
        border: 2px solid #ffffff;
        transition: all 0.3s ease-out 0.1s, color 0.2s ease-out;
    }

    .content button:hover {
        transform: translateY(-8px);
        background-color: #ffffff;
        color: #71311b;
    }

}

/*RIGHT*/

.grp_3 {

    .content {
        position: relative;
        width: 80%;
    }

    .content h2 {
        text-align: right;
        font-family: 'Inter', sans-serif;
        font-weight: 900;
        font-size: 150px;
        color: #ffffff;
    }

    .content p {
        margin-top: 1%;
        text-align: right;
        font-family: 'Caveat', cursive;
        font-weight: 500;
        font-size: 30px;
        color: #ffffff;

    }

    .content button {
        position: absolute;
        right: 0%;
        margin-top: 2%;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 15px;
        padding: 10px 20px;
        text-transform: uppercase;
        color: #ffffff;
        background-color: transparent;
        border-radius: 20px;
        border: 2px solid #ffffff;
        transition: all 0.3s ease-out 0.1s, color 0.2s ease-out;
    }

    .content button:hover {
        transform: translateY(-8px);
        background-color: #ffffff;
        color: #71311b;
    }

}





/*scroll bar*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(#FCDAB7, #71311b);

}

::-webkit-scrollbar-thumb {
    background: #12424e;

}

::-webkit-scrollbar-thumb:hover {
    background: #0d3039;
}

/* animation */
@keyframes para_animation {
    from {
        transform: translateX(10vw);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 100;
    }
}

@keyframes scroll_animation {

    0%,
    20%,
    80%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }


}

/* media queries */

@media screen and (max-width:600px) {

    ::-webkit-scrollbar {
        display: none;
    }

    .wrapper {

        .intro {
            .title {
                .para p {
                    font-size: 25px;
                }
            }

            .title h1 {
                font-size: 60px;
            }
        }

        .parallex_grp {
            .parallex_layer {
                .content {
                    h2 {
                        font-size: 60px;
                    }

                }
            }
        }
    }

    .aboutus {
        height: auto;

        .contact_row {
            .social_media_col {
                .social_media {
                    justify-content: left;
                }
            }

            margin-left: 10vw;
            flex-direction: column;
            gap: 5vh;
        }
    }

}