/*start global styles*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    width: 100%;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

button {
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/*end global styles*/


/*start header section*/

header {
    width: 100%;
    min-height: 85px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 600;
}

.logo img {
    width: 50px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav ul li a {
    color: #050505;
    font-size: 1rem;
}

nav ul li a:hover {
    opacity: 0.6;
}

nav ul li a .btn-nav {
    padding: 10px 15px;
    border: 2px solid #000000;
    border-radius: 5px;
    background-color: #ffffff;
}

nav ul li a .btn-nav:hover {
    background-color: #000000;
    color: #ffffff;
}

/*end header section*/


/*start hero section*/

.hero {
    width: 100%;
    min-height: 550px;
    padding: 60px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    background-color: #ffffff;
}

.hero-text {
    width: 50%;
}

.hero-text h1 {
    margin-bottom: 30px;

    font-size: 3.25rem;
    line-height: 1.1;
    font-weight: 500;

    color: #000000;
}

.hero-text p {
    max-width: 520px;
    margin-bottom: 35px;

    font-size: 1.125rem;
    line-height: 1.6;

    color: #222222;
}

.hero-btn {
    padding: 17px 32px;

    border: none;
    border-radius: 8px;

    background-color: #191a23;
    color: #ffffff;

    font-size: 1rem;
}

.hero-btn:hover {
    background-color: #000000;
}

.hero-img {
    width: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img img {
    width: 100%;
    max-width: 600px;
}

/*end hero section*/


/*start brands section*/

.brands {
    width: 100%;
    min-height: 90px;

    padding: 20px 5%;

    display: flex;
    align-items: center;
    justify-content: space-evenly;

    gap: 30px;

    background-color: #7a7979;
}

.brands .brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands .brand img {
    width: 150px;
}

/*end brands section*/


/*start services section*/

.services {
    width: 100%;
    padding: 70px 6%;

    display: flex;
    flex-direction: column;

    background-color: aqua;
}

/*start section heading*/

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;

    color: #000000;
}

.section-heading h2 {
    padding: 5px 10px;

    border-radius: 5px;

    background-color: greenyellow;

    white-space: nowrap;

    font-size: 1.5rem;
}

.section-heading p {
    max-width: 500px;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/*end section heading*/


/*start services grid*/

.services-grid {
    width: 100%;
    margin-top: 40px;

    display: flex;
    flex-direction: column;

    gap: 30px;
}

.service-card-1,
.service-card-2,
.service-card-3 {
    width: 100%;

    display: flex;

    gap: 30px;
}

/*end services grid*/


/*start service card*/

.service-card {
    position: relative;

    width: 50%;
    min-height: 280px;

    padding: 30px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    border: 3px solid #000000;
    border-radius: 20px;

    box-shadow: 0 5px 0 #000000;

    color: #000000;

    overflow: hidden;
}

.service-card h3 {
    width: 55%;
    padding-top: 10px;

    font-size: 2.2rem;
    line-height: 1.1;
}

.service-card a {
    position: absolute;

    left: 30px;
    bottom: 20px;

    display: flex;
    align-items: center;

    gap: 8px;

    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

.service-arrow img {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background-color: beige;
}

.service-img {
    width: 40%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img img {
    width: 250px;
}

/*end service card*/


/*start service colors*/

.light {
    background-color: #f3f3f3;
}

.light .light-1 {
    background-color: #b9ff66;
}

.green {
    background-color: #b9ff66;
}

.green .green-1 {
    background-color: #fcfcfc;
}

.dark {
    background-color: #000000;
}

.dark a {
    color: #ffffff;
}

/*end service colors*/


/*start cta section*/

.cta {
    width: 90%;
    max-width: 1300px;

    margin: 60px auto 100px;
    padding: 50px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background-color: #f3f3f3;

    border-radius: 25px;

    color: #000000;
}

/*start cta content*/

.cta-content {
    width: 55%;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.cta-content h2 {
    font-size: 2.6rem;
}

.cta-content a button {
    padding: 18px 25px;

    border: 2px solid #000000;
    border-radius: 10px;

    background-color: #000000;
    color: #ffffff;

    font-size: 1rem;
    font-weight: bold;
}

.cta-content a button:hover {
    background-color: #ffffff;
    color: #000000;
}

.cta p {
    max-width: 550px;

    font-size: 1rem;
    line-height: 1.6;
}

/*end cta content*/


/*start cta image*/

.cta-img {
    width: 40%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-img img {
    width: 350px;
}

/*end cta image*/

/*end cta section*/


/*start case studies section*/

.case-studies {
    width: 100%;

    padding: 40px 6%;
    margin: 50px 0;

    display: flex;
    flex-direction: column;
}

.case-studies .section-heading {
    font-size: 1.25rem;
}

/*start case studies container*/

.case-studies-container {
    width: 100%;
    max-width: 1300px;

    margin: 70px auto 0;
    padding: 40px;

    display: flex;
    gap: 30px;

    background-color: #000000;

    border-radius: 20px;
}

/*end case studies container*/


/*start case study*/

.case-study {
    position: relative;

    width: 33.33%;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study p {
    width: 80%;

    color: #d1d0d0;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.case-study:not(:first-child) {
    border-left: 3px solid #d1d0d0;
}

.case-study a {
    position: absolute;

    left: 10%;
    bottom: -10px;

    display: flex;
    align-items: center;

    gap: 5px;

    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.case-study a img {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background-color: beige;
}

/*end case study*/

/*end case studies section*/


/*start tablet responsive*/

@media (max-width: 768px) {

    /*start header*/

    header {
        min-height: 75px;
    }

    nav {
        padding: 0 5%;
    }

    .logo span {
        font-size: 1.55rem;
    }

    .logo img {
        width: 42px;
    }

    nav ul {
        gap: 12px;
    }

    nav ul li a {
        font-size: 0.875rem;
    }

    /*end header*/


    /*start hero*/

    .hero {
        flex-direction: column;
        text-align: center;

        padding: 60px 6%;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .hero-img {
        width: 80%;
    }

    /*end hero*/


    /*start brands*/

    .brands {
        flex-wrap: wrap;
        gap: 25px;
    }

    .brands .brand img {
        width: 120px;
    }

    /*end brands*/


    /*start services*/

    .services {
        padding: 60px 6%;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card-1,
    .service-card-2,
    .service-card-3 {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }

    /*end services*/


    /*start cta*/

    .cta {
        flex-direction: column;
        text-align: center;

        padding: 45px 7%;
    }

    .cta-content {
        width: 100%;
        align-items: center;
    }

    .cta-img {
        width: 70%;
    }

    /*end cta*/


    /*start case studies*/

    .case-studies {
        padding: 40px 6%;
    }

    .case-studies-container {
        flex-direction: column;
        padding: 35px 30px;
    }

    .case-study {
        width: 100%;
        min-height: 180px;
        padding: 25px 10px;
    }

    .case-study:not(:first-child) {
        border-left: none;
        border-top: 3px solid #d1d0d0;
    }

    .case-study p {
        width: 90%;
    }

    .case-study a {
        left: 5%;
        bottom: 5px;
    }

    /*end case studies*/

}

/*end tablet responsive*/


/*start mobile responsive*/

@media (max-width: 576px) {

    /*start header*/

    header {
        min-height: 70px;
    }

    nav {
        padding: 0 5%;
    }

    .logo {
        gap: 5px;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .logo img {
        width: 35px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li a {
        font-size: 0.75rem;
    }

    nav ul li a .btn-nav {
        padding: 8px 10px;
        border-width: 1px;
    }

    /*end header*/


    /*start hero*/

    .hero {
        padding: 45px 5%;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.35rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-btn {
        padding: 14px 25px;
        font-size: 0.875rem;
    }

    .hero-img {
        width: 100%;
    }

    /*end hero*/


    /*start brands*/

    .brands {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
        padding: 25px 6%;
    }

    .brands .brand img {
        width: 100px;
    }

    /*end brands*/


    /*start services*/

    .services {
        padding: 50px 5%;
    }

    .section-heading {
        gap: 12px;
    }

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

    .section-heading p {
        font-size: 0.875rem;
    }

    .services-grid {
        margin-top: 30px;
        gap: 25px;
    }

    .service-card {
        min-height: 300px;
        padding: 22px;

        flex-direction: column;
    }

    .service-card h3 {
        width: 100%;
        padding-top: 0;

        font-size: 1.75rem;
    }

    .service-img {
        width: 100%;
        margin-top: 20px;

        justify-content: flex-end;
    }

    .service-img img {
        width: 160px;
    }

    .service-card a {
        left: 22px;
        bottom: 18px;

        font-size: 0.875rem;
    }

    .service-arrow img {
        width: 30px;
        height: 30px;
    }

    /*end services*/


    /*start cta*/

    .cta {
        width: 90%;

        margin-top: 45px;
        margin-bottom: 80px;

        padding: 35px 6%;

        border-radius: 20px;
    }

    .cta-content {
        gap: 15px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta p {
        font-size: 0.875rem;
    }

    .cta-content a button {
        padding: 14px 20px;
        font-size: 0.875rem;
    }

    .cta-img {
        width: 85%;
    }

    .cta-img img {
        width: 250px;
    }

    /*end cta*/


    /*start case studies*/

    .case-studies {
        padding: 30px 5%;
        margin-top: 30px;
    }

    .case-studies .section-heading {
        font-size: 1rem;
    }

    .case-studies-container {
        margin-top: 45px;
        padding: 25px 20px;

        border-radius: 18px;
    }

    .case-study {
        min-height: 190px;
        padding: 25px 5px;
    }

    .case-study p {
        width: 100%;
        font-size: 0.875rem;
    }

    .case-study:not(:first-child) {
        border-top-width: 2px;
    }

    .case-study a {
        left: 5%;
        font-size: 0.8125rem;
    }

    .case-study a img {
        width: 30px;
        height: 30px;
    }

    /*end case studies*/

}

/*end mobile responsive*/


/*start very small mobile*/

@media (max-width: 380px) {

    .logo span {
        font-size: 1.125rem;
    }

    .logo img {
        width: 30px;
    }

    nav ul {
        gap: 5px;
    }

    nav ul li a {
        font-size: 0.6875rem;
    }

    nav ul li a .btn-nav {
        padding: 7px 8px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.875rem;
    }

    .brands {
        gap: 15px;
    }

    .brands .brand img {
        width: 85px;
    }

    .service-card h3 {
        font-size: 1.5625rem;
    }

    .service-img img {
        width: 140px;
    }

    .case-study p {
        font-size: 0.8125rem;
    }

}

/*end very small mobile*/
