@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #b50000;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 2px rgba(0, 0, 0, 0.053);
    --background_color: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}
header {
    width: 100%;
    height: 80px;
    padding: 0px 8.50%;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    background-color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .logo a img {
    width: 61px;
    height: 61px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 15px;
    text-decoration: none;
    color: #000;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);

}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #454545;
}

.logo.mobile {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .logo.mobile {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 30%;
        box-shadow: var(--box-shadow);

        background: #f2f2f2;
        flex-direction: column;
        gap: .75rem;
        padding: 10px 40px;

        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 12px;
        text-transform: uppercase;
    }
}

@media (max-width: 535px) {
    .nav-links {
        width: 40%;
    }

    nav .logo a img {
        width: 50px;
        height: 50px;
    }

    header {
        height: 60px;
        padding: 0px 8.50%;
    }

    .menu-toggle {
        font-size: 23px;
    }
}

@media (max-width: 376px) {
    .nav-links {
        width: 50%;
    }

    nav .logo a img {
        width: 45px;
        height: 45px;
    }
}
/* Hero Section */
.hero-section {
    height: 600px;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-left: 2rem;
    gap: 2rem;
}

.hero-image {
    width: 55%;
    height: 100%;
    background-image: url('../img/hero_section_image.png');
    background-repeat: no-repeat;
    background-size: cover;
}


.hero-content {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.hero-content h3 {
    font-size: .875rem;
    font-weight: 700;
    color: #595959;
    max-width: 430px;
}

.hero-content h1 {
    font-size: 1.7rem;
    color: var(--primary-color);
    font-weight: 700;
    max-width: 430px;
}

.hero-content p {
    font-size: .875rem;
    color: #595959;
    line-height: 1.5;
    max-width: 460px;
}

.CTA {
    display: flex;
    gap: 1rem;
}

.CTA .btn-primary {
    padding: .75rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 400;
    border: none;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.CTA .btn-primary:hover {
    background-color: #a10000;
}

.CTA .btn-secondary {
    padding: .75rem 1.5rem;
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 400;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.CTA .btn-secondary:hover {
    background-color: #f0f0f0;
}

/* @media (max-width: 1280px) {
    .hero-content h3 {
        font-size: .875rem;
        font-weight: 600;
    }

    .hero-content p {
        font-size: .875rem;
    }
}
 */
/* @media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 1.7rem;
    }

    .CTA .btn-primary,
    .CTA .btn-secondary {
        padding: .5rem 1rem;
        font-size: .875rem;
    }
}
*/
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        background-image: url('../img/hero_background.png');
        background-size: cover auto;
        background-repeat: no-repeat;
        background-position: center left;
        height: fit-content;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        width: 100%;
        height: 450px;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.7rem;
        width: 100%;
        max-width: none;
    }

    .hero-content p {
        font-size: .875rem;
        width: 100%;
        max-width: none;
        color: #000000;
    }

    .CTA .btn-primary {
        padding: .75rem 1.5rem;
        font-size: 1rem;
    }

    .CTA .btn-secondary {
        display: none;
    }
}

@media (max-width: 426px) {
    .hero-section {
        padding: 1.2rem;
        background-position: top left;
    }

    .hero-content {
        height: 80vh;
        gap: 1.5rem;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: .825rem;
    }

    .hero-content h3 {
        font-size: .75rem;
    }

    .CTA .btn-primary {
        padding: .65rem 1rem;
        font-size: .825rem;
    }
}

/* End of Hero Section CSS */
/* ----------------------------- wcu section ------------------------------*/
.wcu-section {
    padding: 6rem 2rem;
    background-color: var(--background_color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.wcu-section h3 {
    font-size: 1rem;
    color: #595959;
    font-weight: 600;
    text-align: center;
}

.wcu-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.wcu-section p {
    font-size: .875rem;
    color: #595959;
    line-height: 1.5;
    max-width: 600px;
    text-align: center;
}

.wcu-section .title {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.wcu-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.wcu-card {
    background-color: #fff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.wcu-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wcu-card img {
    height: 80px;
}

.wcu-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.wcu-card p {
    font-size: .875rem;
    color: #595959;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .wcu-cards {
        flex-direction: column;
        align-items: center;
    }

    .wcu-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 426px) {
    .wcu-section {
        padding: 3rem 2rem;
    }

    .wcu-section h2 {
        font-size: 1.2rem;
    }

    .wcu-section h3 {
        font-size: .825rem;
    }

    .wcu-card {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem 1rem;
    }

    .wcu-card p {
        font-size: .825rem;
    }
}

/* End of WCU Section CSS */
/* ----------------------------- about section ------------------------------*/
.about-section {
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.about-section h3 {
    font-size: .875rem;
    color: #000;
    font-weight: 600;
}

.about-section-image {
    width: 45%;
    border-radius: 8px;
}

.about-section-image img {
    width: 100%;
    border-radius: 8px;
}

.about-section-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 50%;
}

.about-section-content p {
    font-size: .875rem;
    color: #595959;
    line-height: 1.5;
    max-width: 460px;
}

.about-section .btn {
    padding: .75rem 1.5rem;
    background-color: #595959;
    color: #fff;
    font-weight: 400;
    border: none;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: .875rem;
}

.about-section .btn:hover {
    background-color: #444444;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 1rem 3rem;
    }

    .about-section-image {
        width: 100%;
        height: 390px;
    }

    .about-section-image img {
        height: 100%;
        object-fit: contain;
    }

    .about-section-content {
        max-width: 100%;
        gap: 1rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 426px) {
    .about-section {
        padding: 2rem 1.2rem;
    }

    .about-section h3 {
        font-size: .8rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-section-content p {
        font-size: .825rem;
    }

    .about-section .btn {
        padding: .65rem 1rem;
        font-size: .825rem;
    }
}

/* End of About Section CSS */
/* -------------------------------- services section ------------------------------*/
.services-section {
    padding: 6rem 2rem;
    background-color: var(--background_color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.services-section h3 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.services-section h2 {
    font-size: 2.2rem;
    color: #000;
    font-weight: 700;
    text-align: center;
}

.services-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
}

.service-card {
    background-color: #fff;
    padding: 2rem 1.5rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    width: 270px;
    height: 195px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}

.service-card p {
    font-size: .8rem;
    color: #595959;
    line-height: 1.5;
}
.services-section .CTA{
    background-color: #595959;
    color: #fff;
    border-radius: 5px;
    padding: .75rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}
.services-section .CTA:hover{
    background-color: #444444;
}

/* End of Services Section CSS */
/*-------------------------- testimonial section --------------------------*/
.testimonial-section {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.testimonial-section h3 {
    font-size: 1rem;
    color: #b50000;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}
.testimonial-section h2 {
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
    text-align: center;
}
.testimonial-section p{
    font-size: .875rem;
    color: #595959;
    line-height: 1.5;
    max-width: 600px;
    text-align: center;
}
.clients-cards{
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
}
.client-card{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 12px 16px;
    border-radius: 5px;
    transition: all ease-in-out .5s ;
}
.client-card:hover {
    box-shadow: 0 4px 8px rgba(134, 134, 134, 0.1);
}
.client-card img {
    height: 50px;
    border-radius: 50%;
}
.client-card  div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.client-card h4 {
    font-size: .875rem;
    color: #00000022;
    font-weight: 700;
    transition: all ease-in-out .5s ;
}
.client-card p {
    font-size: .8rem;
    color: #00000022;
    line-height: 1.5;
    transition: all ease-in-out .5s ;
}
.client-card.active h4 {
    color: #000;
}
.client-card.active p {
    color: #000;
}
.client-card:hover h4,
.client-card:hover p {
    color: #595959;
}
/* End of Testimonial Section CSS */
/*-------------------------- footer section --------------------------*/
footer {
    background-color: #f5f5f5;
    font-size: .875rem;
    
}
footer .footer-content{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}
.footer-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 310px;
    gap: 1rem;
}
.footer-section.about{
    max-width: 270px;
}
.footer-section h3{
    font-size: 1rem;
    color:var(--primary-color);
    font-weight: 700;
}
.footer-section.links{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section ul{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

footer a, footer p{
    color: #595959;
    text-decoration: none;
    line-height: 1.5;
}
footer a:hover{
    text-decoration: underline;
}
footer li{
    list-style: none;
}
footer .socials{
    width: 100%;
    display: flex;
    gap: 1rem;
    background-color: #595959;
    padding: 1rem 1rem;
    color: #fff;
    justify-content: center;
}
footer .socials a{
    color: #fff;
    font-size: 1rem;
}

@media (max-width: 768px) {
    footer .footer-content{
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1.5rem 2rem;
    }
    .footer-section{
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .footer-section.links{
        align-items: center;
    }
}