/* _______/Reset Css\_______ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* _______/Header_Css\_______ */
#header {
    display: flex;
    height: 70px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

#header .menu {
    margin-left: 230px;
}

#header .desktop_menu a {
    padding: 0 35px;
    text-decoration: none;
    color: gray;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}


.desktop_menu {
    display: flex;
    gap: 20px;
}


.mobile_menu {
    display: none;
}


.menu_icon {
    display: none;
}

/* Responsive: small screens */
@media (max-width: 768px) {
    .desktop_menu {
        display: none;
    }

    .menu_icon {
        display: block;
    }

    .mobile_menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 12%;
        right: 0;
        background-color: gray;
        width: 200px;
        /* transform: translateX(100%); */
        visibility: hidden;
        opacity: 0;
        transition: 0.5s ease;
        z-index: 1000;
        color: #fff;
    }

    .mobile_menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .mobile_menu a {
        color: #fff;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-decoration: none;
        text-transform: capitalize;
    }
}


/* _______/Hero_Section_Css\_______ */
#hero {
    display: flex;
    background: #F9F8F9;
    align-items: flex-end;
}

#hero .hero_content {
    position: relative;
    opacity: 1;
    left: 55px;
    width: 685px;
    padding-bottom: 30px;
}

#hero .hero_content h2 {
    color: #094B72;
    font-size: 90px;
    font-weight: 700;
}

#hero .hero_content p {
    color: #4F4F4F;
    font-size: 24px;
    font-weight: 500;
    padding: 30px 0;
    width: 500px;
}

#hero .hero_content .hero_button {
    text-transform: uppercase;

}

.btn {
    width: 150px;
    height: 47px;
    border-radius: 8px;
    color: #fff;
    background: #094B72;

}

#hero .hero_content .h_span {
    padding: 50px 0 30px;
}

#hero .hero_content span {
    color: #8B8C8C;
    font-size: 22px;
    font-weight: 400;
    padding: 50px 0 30px;
}

#hero .hero_content .company_logo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 50px);
    width: 250px;
}

#hero .hero_image {
    width: 420px;
}

#hero .hero_image img {
    max-width: 100%;
}

/* _______/Why_Section_Css\_______ */

#why {
    background: #F2FCFF;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 100px 0;
}

#why .why_content {
    width: 450px;
}

#why .why_content h3 {
    font-size: 30px;
    padding-bottom: 17px;
}

#why .why_feature {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 500px;
    gap: 20px;
}

.why_feature .feature_box {
    height: 200px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}


/* _______/Achivment_Section_Css\_______ */
#achievment {
    height: 356px;
    background-color: #1282A6;
    background-image: url(./images/Patterns.png);
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: #fff;
}


#achievment h2 {
    font-size: 40px;
}

#achievment p {
    font-size: 18px;
}

#achievment .counts {
    display: flex;
    margin-top: 30px;
}

#achievment .counts .count {
    text-align: center;
}

#achievment .count:nth-child(2) {
    padding: 0 35px;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#achievment .count:nth-child(1) {
    padding-right: 35px;
}

#achievment .count:nth-child(3) {
    padding-left: 35px;
}

/* _______/Testimonials_Section_Css\_______ */
#testimonials {
    background: #F4FBFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 100px 0;
}

#testimonials h2 {
    margin-bottom: 50px;
    font-size: 50px;
}

.testimonials {
    display: flex;
    column-gap: 30px;
}

.testimonial .msg_body {
    height: 200px;
    width: 469px;
    background: #fff;
    padding: 26px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.testimonial .msg_body h3 {
    padding-bottom: 15px;
}

.testimonial .msg_body span {
    position: absolute;
    top: 100%;
    font-size: 35px;
    left: 45%;
    color: #fff;
    filter:
        drop-shadow(-3px 1px 0px rgba(223, 223, 223, 0.3))
        /* left-bottom */
        drop-shadow(3px 1px 0px rgba(223, 223, 223, 0.3))
        /* right-bottom */
        drop-shadow(0px 1px 0px #8181814d);
    /* bottom */
}

.clip-shape {
    width: 45px;
    height: 35px;
    background: #fff;
    clip-path: polygon(49% 56%, 0 0, 100% 1%);

}

.testimonial .user_body {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* _______/CTA_Section_Css\_______ */
#cta {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 170px;
}

#cta .cta_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

#cta .cta_content h2 {
    font-size: 30px;
}

#cta .cta_content p {
    max-width: 533px;
    font-size: 20px;
    margin: 20px 0;
}

#cta .cta_content .cta_btn {
    font-size: 18px;
}

/* _______/Footer_Section_Css\_______ */
#footer {
    background: #0F6E8C;
}

#footer .footer_top {
    display: flex;
    padding: 100px;
    justify-content: space-between;
    color: #fff;
}

#footer .footer_top .footer_details {
    display: flex;
    width: 50%;
}

#footer .footer_top .footer_details .column a {
    display: inline-block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}

#footer .footer_top .footer_details .column a:first-child {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
}


.footer_bottom {
    height: 50px;
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #05546D;
    color: #d1d1d1;
}

.footer_bottom .social_link {
    width: 225px;
    display: flex;
    justify-content: space-between;
    margin-right: 80px;
}

.footer_bottom .social_link i {
    width: 30px;
    height: 30px;
    background: #24809c;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}



/* ________/Responsive\__________ */

/* Desktop: search icon দেখাবে */
.search {
    display: block;
}

/* Tablet & Mobile: hide */
@media (max-width: 768px) {
    #hero {
        padding-top: 50px;
    }
    .search {
        display: none;
    }
    #hero .hero_content h2 {
        font-size: 51px;
    }

    #hero .hero_content p {
        font-size: 19px;
        width: 406px;
    }



    #why {
        flex-direction: column;
        gap: 50px;
    }

    #why .why_content {
        text-align: center;
    }



    .testimonials {
        flex-direction: column;
        gap: 90px;
    }

    #cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 425px) {
    .menu_menu {
        width: 100px;
    }
    .menu_menu a{
        padding: 5px;
    }
    #hero {
        padding-top: 100px;
    }
    .hero_content p {
        display: none;
    }

    .hero_content span {
        display: none;
    }

    #hero .hero_content .company_logo {
        display: none;
    }

    #hero .hero_content {
        left: 60px;
        padding-bottom: 0px;
    }

    #hero .hero_content h2 {
        font-size: 22px;
    }

    .btn {
        width: 117px;
        height: 40px;
    }

    #why .why_feature {
        grid-template-columns: repeat(1, 1fr);
        width: 300px;
    }

    #why .why_content p {
        display: none;
    }

    #why .why_content h3 {
        font-size: 17px;
    }

    #achievment {
        height: 550px;
    }

    #achievment h2 {
        font-size: 36px;
        text-align: center;
    }

    #achievment p {
        display: none;
    }

    #achievment .counts {
        flex-direction: column;
        gap: 50px;
    }

    #achievment .count:nth-child(2) {
        padding: 0 35px;
        border-left: none;
        border-right: none;
    }

    #achievment .count:nth-child(3) {
        padding-left: 0px;
    }

    #achievment .count:nth-child(1) {
        padding-right: 0px;
    }


    #testimonials {
        text-align: center;
    }

    .testimonial .msg_body {
        height: 240px;
        width: 286px;
    }

    #footer .footer_top {
        flex-direction: column;
        gap: 50px;
    }

    #footer .footer_top .footer_details {
        flex-direction: column;
        gap: 50px;
    }

    #footer .footer_bottom p {
        display: none;
    }

    .footer_bottom {
        padding: 0 50px;
    }

    .footer_bottom .social_link {
        margin-right: 20px;
    }
}