* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins';
}


:root {
    ---image: url(...assets/img/bg.jpg)
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #000000;
    transition: margin-right .5s;
    overflow-x: hidden;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    line-height: 38px;
}

h5 {
    font-size: 18px;
    font-weight: 600;
    color: #01460c;
}

p {
    line-height: 24px;
    color: #b4b0b0;
    font-size: 14px;
}

a {
    text-decoration: none;
}


#scroll-up {
    position: fixed;
    right: 15px;
    bottom: 35px;
    z-index: 99;
    background: #047031;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s;
    text-align: center;
    padding-top: 10px;
}

#scroll-up i {
    text-align: center;
    font-size: 30px;
    color: #ffffff;
    line-height: 0;
}

#scroll-up:hover {
    background-color: gray;
    color: #fff;
}


#preload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 50px;
    height: 50px;
    background: none;
    border:4px solid #dcdcdc;
    border-radius: 50%;
    border-right: 4px dotted #01460c;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
    
}


#small-preload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000b6;
    z-index: 9999999999;
    display: none;
    justify-content: center;
    align-items: center;
}

.small-circle {
    width: 50px;
    height: 50px;
    background: none;
    border:4px solid #dcdcdc;
    border-radius: 50%;
    border-right: 4px dotted #01460c;
    animation: rotate 1s linear infinite;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
    
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 90px;
    padding: 20px 10%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

header.sticked {
    background: #f3f3f3c6;
    backdrop-filter: blur(10px);
    box-shadow: 0px 2px 20px rgba(177, 177, 177, 0.631);
}

.logo {
    font-size: 18px;
    font-weight: bold;
    background: none;
    color: #424242;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    padding: 0px 10px;
}

nav ul li a {
    font-size: 14px;
    color: #858484;
    font-weight: 600;
}

li a:hover {
    color: darkgreen;
}

.active-color {
    color: darkgreen;
}

.menu {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    border-radius: 10px;
}

.menu:hover {
    background-color: #858484;
}



.menu i {
    color: #707d72;
    font-size: 14px;
}

#closed {
padding: 8px 8px 3px;
color: #ffffff;
background-color: #b4b0b0;
border-radius: 50%;
position: absolute;
right: 10px;
top: 10px;
}

#closed:hover {
    background-color: #424242;
}

#slide-navbar {
    position: fixed;
    right: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffffc7;
    backdrop-filter: blur(10px);
    transition: .5s;
    z-index: 9999;
    overflow-x: hidden;
}

#slide-navbar {
    list-style: none;
}

#slide-navbar li .active-color {
    color: #047031;
}

#slide-navbar .logo {
    padding: 20px 20px 20px 20px;
}

#slide-navbar li a {
    padding: 8px 8px 8px 32px;
    color: #000;
    display: block;
    font-size: 14px;
    transition: .3s;
    text-decoration: none;
}

#slide-navbar li a:hover {
    color: #047031;
}

#themeToggleBtn {
    cursor: pointer;
    padding: 8px 10px 5px;
    transition: .5s;
    border-radius: 50px;
    background-color: rgb(169, 168, 168);
}

#themeToggleBtn:hover {
    
    background-color: rgb(119, 119, 119);
}



.dark-mode {
    background-color: #000;
    color: #fff;
    transition: .5s;
}



.sun-icon {
width: 30px;
height: 30px;
}

.header-btn {
    color: #000000;
    padding: 10px 20px;
    border-radius: 14px;
    background-color: darkgreen;
    color: #fff;
    font-size: 14px;
    transition: .5s;
}

.header-btn:hover {
    background-color: gray;
}


.wrapper {
    padding: 0 10%;
}





#home {
    margin-top: 100px;
}

.hero-container {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 90vh;
    border-radius: 0px;
    display: flex;
    padding: 10%;
}

.hero-content h1 {
    font-size: 50px;
    color: #fff;
    margin: 20px 0px 30px;
    line-height: 55px;
}

.hero-wrapper {
    padding: 0 20%;
}




.hero-items-container {
    background-color: #bfbfbf80;
    border-radius: 50px;
    padding: 5% 5%;
    width: 100%;
    margin: -110px 0 0 0;
    backdrop-filter: blur(10px);
}

.hero-items-icon {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}

.hero-items {
    width: 30%;
}

.hero-items img {
    float: left;
    padding-right: 10px;
}

.hero-items h4 {
    font-size: 18px;
    font-weight: bold;
}

.hero-items p {
    color: #f3f3f3;
    line-height: 25px;
}

.contents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 0 0;
}

.contents h5 {
    font-size: 18px;
    font-weight: 600;
}

span {
    color: brown;
}

.content-btn {
    padding: 10px 20px;
    background-color: #01460c;
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: .5s;
}

.content-btn:hover {
    background-color: gray;
}

.contents a img {
    width: 20px;
    object-fit: contain;
    object-position: center;
    margin-bottom: -5px;
    margin-left: 20px;
}

.content-text p {
    color: #fff;
}






.service-container {
    padding: 10% 0;
}

.service-content {
    display: block;
}

.service-text {
    text-align: center;
    margin: 0 10%;
}

.service-text h5{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-text h2 {
    margin-bottom: 20px;
}

.service-text p {
    margin: 20px 0 50px;
}

.box-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

}

.box-content {
    background-color: #000;
    padding: 33px;
    border-radius: 24px;
    width: 100%;
    cursor: pointer;
}

.box-content:hover {
    transform: scale(1.1);
    transition: all .5s;
}

.box-content h3 {
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
    font-size: 18px;
}






.video-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.video-content {
    text-align: center;
    padding-top: 10%;
}

.video-content img {
    margin-bottom: 20px;
    
}

.play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(#0d42ff 50%, rgba(13, 66, 255, 0.4) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
    position: relative;
    overflow: hidden;
}


.play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(13, 66, 255, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
  }
  
  .play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  
   .play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
  }

  .play-btn:hover:after {
    border-left: 15px solid #0d42ff;
    transform: scale(20);
  }

  @keyframes pulsate-btn {
    0% {
      transform: scale(0.6, 0.6);
      opacity: 1;
    }
  
    100% {
      transform: scale(1, 1);
      opacity: 0;
    }
  }


.video-content h4 {
    color: #01460c;
    font-size: 18px;
    margin: 20px 0;
}

.video-content h2 {
    font-weight: bold;
    margin-bottom: 30px;
}


.work-items-container {
    padding: 10% 0 0 0;
}

.work-items-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.work-items-text  h5 {
 font-size: 18px;
 font-weight: 600;
 margin-bottom: 20px;
}

.work-items-text  h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

.work-items-text  p {
    margin-bottom: 20px;
}

.work-items-comment {
    background-color: #f0efefd9;
    border-radius: 24px;
    padding: 30px;
    z-index: 2;
    width: 120%;
    position: relative;
    margin-right: -50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.work-items-comment p {
    margin-bottom: 10px;
}

.work-items-comment .person {
    float: left;
    margin-right: 10px;
}





.work-items-image {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.second-image img {
    margin-bottom: 20px;
}

.work-container {
    padding: 10% 0;
}

.work-text {
    text-align: center;
}




.work-text h2 {
    font-weight: bold;
    margin: 20px 0 50px;
}

.work-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.work-content img {
    margin-bottom: 20px;
}

.work-content h4 {
    font-size: 22px;
    font-weight: 600;
}

.work-content h4, .work-content p {
    margin-bottom: 20px;
}






.project-content {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
    padding: 10% 0;
}

.project-text {
    padding-top: 5%;
}

.project-text h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-text h2 {
    font-weight: bold;
    margin-bottom: 20px;
}



.project-text p {
    margin-bottom: 15px;
}

.project-text p img {
    margin-bottom: -5px;
}






.comment-container {
    background-color: #f3f3f3;
    width: 100%;
    position: relative;
}

.comment-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 0 15%;
}

.comment-content::before {
    content: '';
    width: 50%;
    height: 100%;
    background-color: rgba(165, 42, 42, 0.631);
    position: absolute;
    right: -35%;
    border-radius: 50%;
}

.box-comment {
    background-color: #fff;
    padding: 50px 30px 30px;
    border-radius: 24px;
    margin-right: -90px;
    z-index: 1;
    position: relative;
}

.box-comment h2 {
    color: #000;
}

.box-comment h2::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgb(255, 0, 0);
    top: 20px;
    right: 30px;
    border-radius: 50%;
}



.box-comment p {
    margin-bottom: 30px;
}

.box-comment p::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: yellow;
    top: 8px;
    border-radius: 50%;
}


.team-container {
    margin-top: 5% 0;
}

.team-text {
    text-align: center;
    padding: 5% 0;
}

.team-text h5 {
    font-size: 18px;
    margin-bottom: 20px;
}


.team-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 50px;
}

.team-member {
    text-align: center;
}

.team-member > .member-text {
padding: 40px 20px 20px;
margin-top: -30px;
background-color: #f4f2f2;
border-radius: 24px;
color: #000;
}

.member-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 5px;
}

.member-text p {
    margin-bottom: 10px;
}

.team-member > .member-text > .socail-media .bi {
    cursor: pointer;
    font-size: 20px;
    color: #047031;
}



.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    height: auto;
    padding: 80px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
}

.contact-text h5 {
    margin-bottom: 20px;
}

.contact-form h4 {
    font-size: 18px;
}

.contact-content .contact-form i{
    font-size: 20px;
    color: #fff;
    background-color: #01460c;
    border-radius: 10px;
    padding: 15px;
    margin-right: 20px;
    float: left;
}



form .label-name {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
}

.label-name input {
    width: 350px;
    height: 50px;
    color: rgb(61, 61, 61);
    border: 1px solid #e0e0e0;
    outline: none;
    font-size: 14px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 20px;

}


form input {
    width: 100%;
    height: 50px;
    color: rgb(61, 61, 61);
    border: 1px solid #e0e0e0;
    outline: none;
    font-size: 14px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
}

form textarea {
    width: 100%;
    margin: 20px 0;
    height: 150px;
    color: rgb(61, 61, 61);
    border: 1px solid #e0e0e0;
    outline: none;
    font-size: 14px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
}

form button {
    padding: 10px 30px;
    background-color: #01460c;
    border-radius: 10px;
    text-align: center;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: .5s;
}

form button:hover {
    background-color: gray;
    
}



.statement-text {
    text-align: left;
    padding: 5%  0;
}

.statement-text h5 {
    margin-bottom: 20px;
}


.statement-content {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3 ) - 12px);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    overflow: hidden;
}

.statement-content::-webkit-scrollbar {
    display: none;
}

.statement-box {
    display: none;
}

.statement {
    border-radius: 24px;
    background-color: rgb(26, 120, 51);
    padding: 25px;
    margin: 0 0 20px;
}

.statement-middle {
    border-radius: 24px;
    background-color: rgb(0, 0, 0);
    padding: 25px;
    margin: 0 0 20px;
}

.statement-box img {
    float: left;
    margin-right: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.dot {
    width: 30px;
    height: 10px;
    border-radius: 24px;
    background-color: #b4b0b0;
    margin: 30px 5px;
    transition: background-color 0.6s ease;
}

.active {
    background-color: green;
}

.statement-content .fade {
    animation: fade 1.5s;
}

@keyframe fade {
    0% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

.subscribe-container {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
    display: flex;
    justify-content: center;
    padding: 5%;
    margin-bottom: 5%;
}

.subscribe-content {
    color: #fff;
    text-align: center;
}

.subscribe-content h5 {
    margin-bottom: 20px;

}

.subscribe-content h2 {
    margin-bottom: 20px;
    font-size: 25px;
}

.prompt input {
    width: 500px;
    height: 40px;
    background-color: #fff;
    outline: none;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    color: gray;
    font-size: 14px;
}

.prompt a {
    padding: 11px 20px;
    border-radius: 12px;
    background-color: #047031;
    color: #fff;
    margin-left: -110px;
    text-decoration: none;
    transition: .5s;
    font-size: 14px;
}

.prompt a:hover {
    background-color: gray;
}



.footer-container {
    padding: 5% 0 0 0;
    border-top: 1px solid rgb(132, 131, 131);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2%;
    width: 100%;
    gap: 35px;
}

.footer-items {
    width: 30%;
}

.footer-items:nth-of-type(1) {
    width: 50%;
}

.footer-items .logo {
    margin-bottom: 30px;
    
}

.footer-items .logo a h2 {
    color: gray;
}

.footer-items .logo a:hover {
    text-decoration: none;
}


.footer-items .social-m .bi {
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
    color: #858484;
    padding: 14px 10px;
    background-color: #f3f3f3;
    border-radius: 5px;
    transition: .5s;
}

.footer-items .social-m .bi:hover {
    background-color: #000;
    color: #fff;
}

.footer-items h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-items a {
    transition: .5s;
}

.footer-items a:hover {
    text-decoration: underline;
    color: #01460c;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.links a {
    color: #858484;
    font-size: 14px;
}

.footer-items .prompt {
    flex-direction: row;
    display: flex;
    margin-bottom: 20px;
}

.footer-items .prompt input {
    width: 300px;
    height: 40px;
    font-size: 14px;
    color: gray;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgb(236, 236, 236);
}

.footer-items .prompt a {
    padding: 11px 20px;
    transition: .5s;
    border-radius: 14px;
    background-color: #01460c;
    color: #fff;
    text-decoration: none;
    margin-left: -100px;
    font-size: 14px;
}

.footer-items .prompt a:hover {
    background-color: gray;
}

.footer-items h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-items p {
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
}




@media screen and (max-width: 1028px) {
    .wrapper {
        padding: 0 15%;
    }
}




@media screen  and (max-width: 600px), (max-width: 980px) {
    
    header {
        padding: 20px 30px;
    }
    nav ul li a {
        display: none;
    }

    .header-links {
        display: none;
    }

   .menu {
    display: flex;
   }

    #home .wrapper {
        padding: 0;
    }

    .wrapper {
        padding: 0px 30px;
    }

    .hero-container {
        border-radius: 0;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-wrapper {
        padding: 0% 30px;
    }

   

    .hero-items {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }


    .hero-items img {
        width: 50%;
    }

    

        .project-content {
            display: block;
        }

        .project-image img {
            width: 100%;
        }






        .service-content {
            display: block;
        }

        .service-text {
            text-align: center;
            margin: 0 5%;
        }

        .box-wrapper {
            grid-template-columns: repeat(1, 1fr);
        }

        .box-content {
            width: 100%;
            
        }






        .comment-container {
            background-color: #f3f3f3;
            width: 100%;
            position: relative;
        }
        
        .comment-content {
            display: flex;
            justify-content: center;
            flex-direction: row;
            align-items: center;
            padding: 0 15%;
        }
        
        .comment-content::before {
            display: none;
        }
        
        .box-comment {
            background-color: #fff;
            padding: 50px 30px 30px;
            border-radius: 24px;
            width: 58%;
            margin-right: 0px;
            z-index: 1;
            position: absolute;
            
        }

        

        .team-content {
            grid-template-columns: repeat(2, 1fr);
        }


        .work-items-content {
            display: block;
        }

        .work-items-comment {
            width: 100%;
        }

        .first-image {
            display: none;
        }

        .second-image {
            display: flex;
            flex-direction: row;
            gap: 10px;
            width: 100%;
            margin-top: 30px;
            object-fit: contain;
            object-position: center;
        }

        .second-image img {
            width: 50%;
        }


        .work-wrapper {
            grid-template-columns: repeat(2, 1fr);
            
        }

        .work-content {
            width: 100%;
            margin-bottom: 50px;
        }

        .work-content img {
            width: 100%;
            object-fit: contain;
            object-position: center;
        }


        .statement-content {
            grid-auto-columns: calc((100% / 2 ) - 12px);

        }


        .contact-container {
            display: block;
        }

        .contact-content {
            margin-bottom: 30px;
        }

        form .label-name {
            display: block;
            margin-bottom: 0;
        }
        
        .label-name input {
            width: 100%;
            margin-bottom: 20px;
        }

        .label-name input #name {
            margin-bottom: 20px;
        }


        .subscribe-content h2 {
            font-size: 30px;
        }

        .prompt input {
            width: 333px;
        }


        .footer-content {
            display: flex;
            flex-direction: column;
            text-align: center;
            justify-content: center;
        }

        .footer-items {
            width: 100%;
            margin-bottom: 30px;
        }
        .footer-items:nth-of-type(1) {
            width: 100%;
        }

        .footer-items .prompt {
            display: block;
        }
    }
