@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --main-color: rgb(51, 83, 54);
    --secondary-color: rgb(129, 195, 77);
    --ash-color: rgb(127,127,127);
    --black-color: rgb(0,0,0);
}
.div-black{
    background-color: rgb(0,0,0);
    color: #fff;
}
.div-ash{
    background-color: rgb(200,200,200);
}
.hide{
    display: none;
}
.animated-element {
    opacity: 0;
    position: relative;
    top: 5rem;
    transition: all .8s ease;
    transition-delay: 2.7;
}
.animated-element.visible {
    opacity: 1;
    position: relative;
    top: 0rem;
    transition: all .9s ease;
}

.hide-menu{
    transform: scale(0,0);
    transform-origin: right;
    transition: transform .5s ease-in-out;
}
.show-menu{
    transform: scale(1, 1);
    transform-origin: right;
    transition: transform .5s ease-in-out;
}

div#mobile-nav{
    z-index: 9999;
    width: 100%;
    height: 100vh;
    background-color: rgba(70, 70, 70, 1);
    position: fixed;
    display: flex;
    justify-content: center;
    padding-block: 1.2rem;
    overflow: scroll;
    z-index: 9999999;
}
#mobile-nav-div{
    width: 65%;
}
#mobile-nav ul{
    list-style: none;
    margin-block-start: 1.5rem;
}
div#mobile-nav i{
    color: #fff;
}
#mobile-nav-div > ul >li > a{
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: .5rem;
    font-weight: 500;
    font-size: 1rem;
}
.mobile-menu p{
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: .5rem;
    font-weight: 500;
    font-size: 1rem;
}
#mobile-menu{
    display: none;
}
#mobile-submenu-ul{
    margin: 0;
    padding: 0;
    display: none;
    background-color: rgb(100, 100, 100);
}
#mobile-menu-up{
    display: none;
}
#mobile-submenu-ul a{
    color: #fff;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: .95rem;
}
#mobile-submenu-ul li{
    padding: 1rem;
    border-block-end: 1px solid #c4c4c4;
}
#close-menu{
    font-size: 1.5rem;
    text-align: right;
    display: inline-block;
    width: 100%;
    color: #ffffff;
}

nav{
    position: fixed;
    z-index: 9999;
    width: 100%;
    background-color: rgba(0,0,0,.3);
}
nav > div{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 9rem;

}
.menu-icon{
    display: none;
    color: #fff;
    font-size: 1.3rem;
    padding-inline-end: .5rem;
}
nav img{
    width: 200px;
}
.navmenu ul{
    display: flex;
    gap: 3.5rem;
    list-style: none;
}
.navmenu ul a{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding-block: .75rem;
}
.nav-scrolled{
    background-color: whitesmoke;
    box-shadow: 0px 0px 20px rgba(51, 83, 54, .2);
}
.nav-scrolled ul a{
    color: rgb(51, 83, 54);
}
.nav-scrolled .menu-icon{
    color: #000;
}
.home-intro{
    position: relative;
    top: 30%;
}
.submenu{
    position: relative;
}
.submenu  #submenu-ul{
    margin: 0;
    padding: 0;
    background-color: rgb(70, 70, 70);
    position: absolute;
    width: 250px;
    display: block;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform .4s;
}
.submenu #submenu-ul li a{
    display: inline-block;
    padding: 1rem ;
    color: #fff;
}
.submenu:hover > #submenu-ul{
    display: block;
    transform-origin: top;
    transform: scaleY(1);
    transition: transform .4s;
}
.show-moble-submenu{
    display: block;
    transform-origin: top;
    transform: scaleY(1);
    transition: transform .4s;
}
.close-moble-submenu{
    transform-origin: top;
    transform: scaleY(0);
    transition: transform .4s;
}

#main-banner{
    position: relative;
    top: 0;
    width: 100%;
    height: 95vh;
    overflow: hidden;
}
#main-banner video{
    width: 100%;
}
#mobile-video{
    display: none
}
#main-banner > div{
    position: relative;
}
.main-banner-writ{
    position: absolute;
    top: 0;
    width: 100%;
    height: 95vh;
    color: #fff;
    background-color: rgba(5,5,5, .3);
    display: flex;
    align-items: center;
    padding: 4rem 9rem;
}
.main-banner-writ h1{
    font-size: 5rem;
}
.main-banner-writ p{
    font-size: 1.3rem;
}
#aboutus{
    height: 50vh;
    background-color: rgb(245,245,245);
    text-align: center;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}
.aboutus-div h1{
    color: var(--main-color);
    margin-bottom: 2rem;
}
.aboutus-div p{
    width: 60%;
    padding: 1rem;
    margin: auto;
    box-shadow: 0px 0px 20px rgb(129, 195, 77, .1);
    border-radius: 30px;
}
#rich-history{
    height: 80vh;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 3rem 9rem;
}
.rich-history-div{
    position: relative;
    width: 40%;
    height:65vh;
    overflow: hidden;
    border-radius: 10px;
}
.rich-history-writ{
    width: 50%;
}
.rich-history-writ p{
    margin: 3rem 0;
    font-size: 1.2rem;
}
.rich-history-writ a{
    text-decoration: none;
    color: #fff;
    padding: .75rem 1.2rem;
    font-size: 1.3rem;
    border-radius: 10px;
    background-image: linear-gradient(90deg, rgb(20, 20, 20), rgb(121, 121, 121))
}
.rich-history-writ a:hover{
    color: #fff;
}
.rich-history-writ h1{
    font-size: 3.5rem;
}
.rich-history-div:hover img{
    filter: brightness(.5);
}
.rich-history-div > div{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.rich-history-div > div a{
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    padding: 2rem 3rem;
    font-size: 1.5rem;
}
#rich-history img{
    max-width: 100%;
}
#services{
    display: flex;
    justify-content: center;
}
.each-service{
    position: relative;
    width: 20%;
    height: 300px;
    overflow: hidden;
}
.each-service > div{
    position: absolute;
    top: 85%;
    color: #fff;
    padding: 0 2rem;
    font-size: 1.5rem;
}
.each-service:hover > img{
    transform: scale(1.3);
    transition-duration: .5s;
}
#services img{
    transition-duration: .5s;
    max-width: 100%;
}

#black-section{
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
}
#black-section h1{
    width: 70%;
    font-size: 5rem;
    font-family: "DM Sans", sans-serif;
    text-align: center;
}


#news{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    text-align: center;
}
.news-div{
    width: 22%;
}
.news-div img{
    max-width: 100%;
    border-radius: 5px;
}
.news-div a{
    color: var(--main-color);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
}
.news-div i{
    margin-top: 5px;
    margin-right: 5px;
}
#journey{
    height: 45vh;
    padding: 0 10rem;
    display: flex;
    gap: 6rem;
    align-items: center;
    background-image: linear-gradient(90deg, rgb(15, 15, 15) 1%, rgb(40, 41, 40) 70%)
}
.journey-left{
    width: 40%;
    color: rgb(240,240,240);
}
.journey-left h1{
    font-size: 4.2rem;
}
.journey-left p{
    margin: 2rem 0;
    font-family: "Roboto", sans-serif;
}
.socials{
    display: flex;
    gap: 1.5rem;
}
.socials i{
    font-size: 1.5rem;
}

#timeline > h1, #mobile-timeline > h1{
    text-align: center;
    margin-block: 2rem;
}
#mobile-timeline{
    display: none;
}
.timeline-div{
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}
.center-line{
    width: 2px;
    height: 1800px;
    background-color: rgb(127,127,127);
}

.timeline-box-next{
    height: 2px;
    width: 300px;
    background-color: rgb(127,127,127);
}
.timeline-slide{
    display: flex;
    align-items: center;
    width: 400px;
    height: 150px;
}
.timeline-header{
    font-size: 2rem;
    color: #ffffff;
    background-color: rgb(100, 100, 100);
}
.timeline-box{
    max-width: 300px;
    padding: .5rem;
    box-shadow: 0px 0px 4px rgb(240,240,240);
}


#journey a{
    color: rgb(240,240,240);
    font-size: 1.2rem;
}
.journey-right{
    display: flex;
    gap: 5rem;
}
.journey-right > div{
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.journey-right i{
    display: inline-block;
    font-size: 2.5rem;
    color: rgb(240,240,240);
}
.journey-right-header{
    font-size: 1.25rem;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
}
.journey-right-info{
    font-size: .95rem;
    margin-top: -15px;
}
#footer{
    padding: 3rem;
    background-color: rgb(20, 20, 20);
    color:#ffffff
}
#footer-section{
    display: flex;
    gap: 6rem;
    justify-content: center;
    align-items: start; 
}
#footer-section > div{
    width: 25%;
}
#footer-section p{
    font-size: .99rem;
}
#footer-section ul{
    list-style: none;
    padding: 0;
    font-size: .95rem;
}
#footer-section li{
    margin-bottom: .5rem;
}
#footer-section li a{
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
}
#footer-section li a:hover{
    color: var(--ash-color);
}
#footer img{
    width: 220px
}
#footer p{
    margin: 0;
}
.footer-middle-writ{
    text-align: center; 
    background-color: rgb(100, 100, 100);
    color: #dad8d8;
    padding-block: .5rem;
}
@media screen and (max-width: 600px){
    nav > div{
        padding: .5rem;
    }
    nav img{
        width: 150px;
    }
    .navmenu ul{
        display: none;
    }
    .menu-icon{
        display: inline-block;
    }
    .submenu  #submenu-ul{
        position: relative;
        display: block;
    }
    #mobile-video{
        display: block
    }
    #desktop-video{
        display: none
    }
    #main-banner{
        position: relative;
        top: 0;
        width: 100%;
        height: 95vh;
        overflow: hidden;
    }
    .main-banner-writ{
        padding: 2rem
    }
    .main-banner-writ h1{
        font-size: 3.5rem;
    }
    .main-banner-writ p{
        font-size: 1rem;
    }
    #aboutus{
        height: auto;
        padding: 2rem 1rem;
    }
    .aboutus-div p{
        width: 100%;
        text-align: justify;
        text-justify: distribute;
    }
    #rich-history{
        height: auto;
        display: block;
        padding: 1rem;
    }
    .rich-history-div{
        width: 100%;
        height:auto;
    }
    .rich-history-writ{
        width: 100%;
    }
    .rich-history-writ p{
        margin: 2rem 0;
        font-size: 1rem;
        text-align: justify;
        text-justify: distribute;
    }
    #timeline{
        display: none;
    }
    #mobile-timeline{
        display: block;
    }

    .timeline-slide{
        display: flex;
        align-items: center;
        width: 400px;
        height: auto;
    }
    #services{
        display: block;
    }
    .each-service{
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
    #black-section{
        height: auto;
        padding-block: 4rem;
    }
    #black-section h1{
        width: 70%;
        font-size: 2.5rem;
    }
    #news{
        display: block;
        padding-block: 0 3rem;
    }
    .news-div{
        width: 100%;
        margin-block-end: 1rem;
    }
    .news-div h4{
        margin-block-start: .75rem;
    }
    #journey{
        height: auto;
        padding: 1rem;
        display: block;
    }
    .journey-left{
        width: 100%;
        color: rgb(240,240,240);
        margin-block-end: 1rem;
    }
    .journey-left p{
        text-align: justify;
        text-justify: distribute;
    }
    .journey-right{
        display: block;
    }
    .journey-right > div{
        padding: .5rem;
        margin-block-start: .5rem;
    }
    #footer{
        display: block;
        padding: 1rem;
        text-align: center;
    }
    #footer-section{
        display: block; 
    }
    #footer-section > div{
        width: 100%;
        margin-block-end: 2rem;
    }
    #footer p{
        margin-block-start: .75rem;
    }
    .footer-middle-writ{
        display: none;
    }
}
@media screen and (min-width: 1000px) and (max-width: 1500px){
    .journey-left h1{
        font-size: 2.5rem;
    }
    #journey{
        height: 75vh;
        padding: 0 3rem
    }
}