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

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-section {
    min-height: 594px;
    background-image: url("https://assets.nicepagecdn.com/63d85749/6556710/images/rm380-12.jpg"),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 1)
        );
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    flex: 1;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    height: 55px;
    margin: 13px auto 23px;
    display: block;
}

.main-title {
    font-size: 3rem;
    letter-spacing: -4px;
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    color: #6f66ee;
    margin-bottom: 8px;
}

.title-highlight {
    font-weight: 700;
}

.subtitle {
    font-size: 1.25rem;
    font-family: "Questrial", sans-serif;
    font-weight: 900;
    color: #333;
    margin: 0 88px 76px;
    line-height: 1.4;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    width: 444px;
    background-color: #d9d9d9;
    border-radius: 50px 0 50px 0;
    box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
    padding: 26px 29px;
    text-align: center;
    min-height: 199px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 2.25rem;
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.card-description {
    font-size: 1.125rem;
    font-family: "Questrial", sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.45;
    margin-bottom: 22px;
}

.card-button {
    display: inline-block;
    background-color: white;
    color: #666;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    padding: 10px 57px;
    border-radius: 20px;
    box-shadow: 2px 5px 0px 0 rgba(41, 46, 51, 0.4);
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: #6f66ee;
    color: white;
}

.footer {
    background-color: #d9d9d9;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-title {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.footer-stats {
    font-family: "Roboto", sans-serif;
    color: #333;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    fill: #333;
    width: 40px;
    height: 40px;
}

.social-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

@media (max-width: 1199px) {
    .main-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .main-title {
        font-size: 4.5rem;
    }

    .subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .main-title {
        font-size: 3rem;
        margin-left: 0;
        margin-right: 0;
    }

    .subtitle {
        margin-bottom: 30px;
    }

    .card {
        min-height: 201px;
    }
}

@media (max-width: 767px) {
    .logo {
        margin-top: 69px;
    }

    .card {
        min-height: 205px;
        padding: 26px 10px;
    }

    .card-description {
        font-size: 1rem;
    }

    .footer-container {
        text-align: left;
        justify-content: center;
    }

    .footer-stats {
        display: none;
    }
}

@media (max-width: 575px) {
    .main-section {
        min-height: 585px;
        padding: 20px 10px;
    }

    .logo {
        margin-top: 11px;
    }

    .main-title {
        font-size: 1.875rem;
        letter-spacing: -2px;
        margin-top: 11px;
    }

    .subtitle {
        font-size: 1rem;
        margin: 8px 0 23px;
    }

    .card {
        width: 80%;
        min-height: 165px;
        padding: 17px 10px 25px;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-button {
        margin-top: 18px;
        padding: 10px 32px;
    }

    .cards-container {
        gap: 22px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon,
    .social-icon-img {
        width: 35px;
        height: 35px;
    }
}