@media (min-width: 993px) and (max-width: 1200px) {
    .navbar__link {
        font-size: 0.85rem;
    }

    .navbar__list {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {

    .about__content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .about__text-content {
        max-width: 100%;
        text-align: center;
    }

    .offerings__card {
        width: 280px;
        height: 325px;
    }

    .about__title,
    .about__subtitle {
        text-align: center;
        display: block;
    }

    .about__title {
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 10px;
        margin-bottom: 20px;
        display: inline-block;
        width: auto;
    }

    .about__paragraph,
    .about__list-item {
        text-align: center;
    }

    .about__list-item--justified {
        text-align: justify;
    }

    .about__list-item {
        padding-left: 25px;
    }

    .about__list-item--description,
    .about__list-item--justified {
        padding-left: 0;
    }

    .about__image-gallery {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
    }

    .about__image {
        width: calc(50% - 20px);
        max-width: 280px;
    }

}

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .container p {
        font-size: 0.9rem;
    }

    .navbar {
        font-size: 0.80rem;
    }

    .navbar ul {
        justify-content: center;
    }

    .navbar__link {
        font-size: 0.8rem;
    }

    .navbar li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.125rem;
        padding: 0 0 1rem 0;
    }

    .hero__tagline-text {
        font-size: 1.1rem !important;
    }

    .benefits__item img {
        width: 50px;
        height: 50px;
    }

    .benefits__item h3 {
        font-size: 1.2rem;
    }

    .about {
        padding: 40px 0;
    }

    .about__container {
        padding: 0 15px;
    }

    .about__title {
        font-size: 2.2rem;
    }

    .about__subtitle {
        font-size: 26px;
    }

    .about__paragraph {
        font-size: 15px;
    }

    .about__image-gallery {
        flex-direction: column;
        align-items: center;
    }

    .about__image {
        width: 80%;
        max-width: 300px;
    }

    .benefits__wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .projects {
        padding: 40px 0;
    }

    .projects__title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .projects__gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .projects__item {
        max-width: 400px;
        margin: 0 auto;
    }

    .projects__overlay-text {
        font-size: 14px;
    }

    .invite__text {
        font-size: 1.1rem;
    }

    .cert {
        width: 90%;
        margin: 0 auto;
    }

    .cert__text {
        font-size: 0.90rem;
    }

    .cert__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cert__images {
        flex-direction: column;
        gap: 10px;
    }

    .offerings__title {
        font-size: 2rem;
    }

    .offerings__content {
        display: flex;
        flex-direction: column;
    }

    .offerings__card {
        padding: 20px;
        text-align: center;
        justify-content: space-evenly;
    }

    .offerings__card-name {
        font-size: 1.3rem;
    }

    .offerings__card-title {
        font-size: 1rem;
    }

    .offerings__card-description,
    .offerings__card-contact {
        font-size: 0.9rem;
    }

    .footer__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__section {
        width: 100%;
        text-align: center;
    }

    .footer__section:last-child {
        padding: 0 0 25px;
    }

    .footer__text,
    .footer__link {
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .image-container {
        width: 90%;
        margin: 3vh auto;
    }

    .text {
        text-align: center;
    }

    .navbar-logo img {
        left: 5px;
        height: 20%;
        margin-top: 100px;
        margin-left: 2px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .image__overlay p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    :root {
        --navbar-height: 65px;
    }

    html {
        scroll-padding-top: var(--navbar-height);
    }

    .navbar__item {
        margin: 0 0.5rem;
    }

    .navbar__link {
        font-size: 0.9rem;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }


}

@media (max-width: 480px) {

    .container {
        width: 95%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about__image {
        width: 90%;
    }

    .projects__item {
        max-width: 90%;
    }

    .opinion-box {
        padding: 15px;
    }

}

@media (max-width: 992px) {

    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-background-light);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 1.5rem 2rem;
        transition: right var(--transition-speed) ease;
        overflow-y: auto;
        display: block;
    }

    .navbar__container {
        justify-content: space-between;
    }

    .navbar__menu.active {
        right: 0;
    }

    .navbar__brand {
        display: flex;
        align-items: center;
        padding: 10px 0;
    }

    .navbar__list {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar__link {
        display: block;
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    .navbar__toggle {
        display: block;
    }

    .navbar__contacts {
        display: none;
    }

    .navbar__language-switcher {
        margin: 1.5rem 0;
        justify-content: flex-start;
    }

    .navbar__contacts-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar__item--separator {
        width: 100%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.1);
        margin: 1rem 0;
    }

    .opinion-box {
        flex-basis: 100%;
    }
}