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

:root {
    --primary-color: #e85891;
    --light-color: #fae6f4;
    --dark-color: #792a6c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #353535;
    line-height: 1.6;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

p, a, div {
    font-size: 18px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0;
    color: var(--primary-color);
}

img {
    width: 100%;
}

/* HEADER */
header {
    background-image: linear-gradient(to right, #fff3fc, #ffdaf1);
    margin: 20px 20px 0;
    border-radius: 40px 40px 0 0;
    padding-top: 40px;
    position: relative;
}

header .flex {
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.socials--mobile {
    display: none;
}

header .logo {
    width: 20%;
}

header ul {
    display: flex;
}

.header-navigation a {
    padding: 10px;
    margin: 0 25px;
    line-height: 1.3;
    transition: border 0.1s linear;
    border-bottom: 2px solid transparent;
}

.header-navigation a:hover {
    border-color: #FFF;
}

.header-navigation--mobile {
    display: none;
}

.navigation-mobile-content nav a {
    display: block;
    border: none;
    padding: 10px 0;
    margin: 0;
}

/* MENU MOBILE */

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.navigation-mobile-content {
    position: absolute;
    border-radius: 20px 0 20px 20px;
    top: 100%;
    right: 5%;
    width: 90%;
    background-color: #f3dfea;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.navigation-mobile-content nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.navigation-mobile-content nav li {
    width: 100%;
}

.navigation-mobile-content nav a {
    display: block;
    padding: 12px 14px;
    margin: 0;
    border-radius: 14px;
    color: var(--dark-color);
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navigation-mobile-content nav a:hover {
    background-color: rgba(255, 255, 255, 0.55);
    color: var(--primary-color);
    transform: translateX(4px);
}

.navigation-mobile-content .socials--mobile {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(121, 42, 108, 0.15);
}

.mobile-socials-title {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}

input[type="checkbox"]:checked ~ .navigation-mobile-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 10;
}

.navigation-mobile-content ul {
    display: flex;
    flex-direction: column;
}

.navigation-mobile-content nav a {
    display: block;
    padding: 14px 16px;
    margin: 0;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.22);
    color: var(--dark-color);
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

/* SHOWCASE */
.showcase {
    background-image: linear-gradient(to right, #fff3fc, #ffdaf1);
    margin: 0 20px;
    border-radius: 0 0 40px 40px;
}

.showcase h1 {
    font-size: 48px;
    margin-top: 40px;
}

.showcase p {
    margin: 40px 0;
}

.showcase .grid {
    grid-template-columns: 45% 55%;
    gap: 30px
}

.showcase-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
}

.showcase-links a {
    margin-right: 0;
}

.showcase-text {
    animation: slideFromLeft 0.5s ease-in;
}

.showcase img {
    animation: slideFromRight 0.5s ease-in;
}

/* CLIENTS */

.clients {
    padding: 100px 0;
}

.clients .flex {
    justify-content: space-around;
    margin: 80px 0;
}

.clients .grid {
    padding: 0 60px;
    gap: 0px;
}

#specializations h2 {
    margin-bottom: 50px;
}

#specializations .grid {
    margin-top: 10px;
}

#specializations .card {
    padding: 36px 34px;
}

#specializations .card h3 {
    margin-bottom: 18px;
    line-height: 1.2;
}

.specializations-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.specializations-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.specializations-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* OFFER */
.offer {
    background-color: #fff7fd;
    padding: 100px 0;
}

.offer .grid {
    gap: 50px;
    align-items: stretch;
}

.offer-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-item img {
    margin-top: auto;
}

.offer p {
    margin: 30px 0 50px;
}

/* PURPOSES */
.purposes {
    padding: 100px 0;
}

.purposes img {
    width: 80%;
    justify-self: flex-end;
}

.purposes a {
    margin: 60px 0 0;
}

/* JOIN */

.join {
    background-color: var(--light-color);
    padding: 100px 0;
}

.join .flex {
    flex-direction: column;
    width: 60%;
}

.join a {
    margin: 60px 0 0;
}

/* FOOTER */

footer {
    background-color: var(--light-color);
    padding-bottom: 100px;
}

footer .container {
    border-top: 1px solid var(--primary-color);
}

footer .flex {
    justify-content: space-between;
}

.footer-logo, .footer-info {
    margin-top: 100px;
}

.footer-logo p, .footer-info p {
    font-size: 12px;
    margin-top: 10px;
}

.footer-info {
    text-align: right;
}

/* MEDIA QUERIES */

@media(max-width: 1280px) {
    .showcase .grid {
        grid-template-columns: 1fr;
    }

    .showcase img {
        width: 60%;
        justify-self: center;
    }

    .showcase-text {
        text-align: center;
        margin-top: 40px;
    }

    .clients .grid {
        padding: 0;
        gap: 15px;
    }
    .showcase-links {
    justify-content: center;
}
}

@media(max-width: 992px) {
    p, a, div {
        font-size: 16px;
    }

.header-navigation,
.socials--desktop {
    display: none;
}

.header-navigation--mobile {
    display: block;
}

.header-navigation--mobile label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
}

.header-navigation--mobile label svg {
    width: 32px;
    height: 32px;
}

.header-navigation--mobile .socials--mobile {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.header-navigation--mobile .btn--social {
    display: inline-flex;
}

.header-navigation--mobile {
    display: block;
}

.header-navigation--mobile .socials {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.header-navigation--mobile .btn--social {
    display: inline-flex;
}

    .showcase {
        position: relative;
        top: -1px;
    }

    .showcase h1 {
        font-size: 28px;
    }

    .clients .flex {
        justify-content: space-between;
    }

    .purposes img {
        width: 100%;
    }

    .join .flex {
        width: 100%;
    }
}

@media(max-width: 768px) {
    header {
        margin: 10px 10px 0;
        border-radius: 20px 20px 0 0;
    }

    header .logo {
        width: 50%;
    }

    .showcase {
        margin: 0 10px;
        border-radius: 0 0 20px 20px;
    }

    .grid, 
    .clients .grid, 
    .offer .grid, 
    .purposes .grid {
        grid-template-columns: 1fr;
    }

    .showcase img {
        width: 100%;
        justify-self: center;
    }

    .clients {
        padding: 40px 0;
    }

    .clients .flex {
        margin: 40px 0;
        align-items: center;
    }

    .clients img {
        width: 70%;
    }

    .purposes,
    .join,
    .offer {
        padding: 40px 0;
        text-align: center;
    }

    .offer-item p {
        margin: 0 0 30px;
    }

    .purposes a {
        margin: 25px 0 0;
    }

.purposes img,
.offer img {
    display: block;
    width: 75%;
    margin: 0 auto;
    justify-self: center;
}

    .join a {
        margin: 20px 0 0;
    }

    footer .flex {
        flex-direction: column;
    }

    .footer-logo, .footer-info {
        margin-top: 40px;
        text-align: center;
    }
}

@media(max-width: 576px) {
    p, a, div {
        font-size: 14px;
    }

.socials--mobile {
    gap: 8px;
}

.socials--mobile .btn--social {
    width: 44px;
    height: 44px;
    margin: 0;
}

.socials--mobile .btn--social i {
    font-size: 18px;
}

    .showcase-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .showcase-links a:first-child {
        margin-bottom: 0;
    }

    .showcase-links a:first-child {
    margin-bottom: 8px;
}
        .btn {
    gap: 8px;
    min-width: 230px;
}

.btn i {
    font-size: 16px;
}

}

.clients .grid.grid-3 {
    align-items: stretch;
}

.clients .card {
    height: 100%;
}

.showcase-name {
    color: #792a6c;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.showcase h1 {
    margin-top: 0;
}