.container {
    padding-left: 50px !important;
    padding-right: 50px !important;
    max-width: 100% !important;
}

.hero__block{
    padding-top: 26px;
}
.nav-pills{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.nav-link{
    color: black !important;
    font-size: 16px !important;
}
.hero__text{
    font-size: 64px;
    text-align: center;
    line-height: 61px;
    font-weight: 500;
}
.hero__text__block{
    margin-top: 107px !important
}
.hero__text svg{
    position: relative;
    bottom: 8px;
}
.hero__block .row:nth-child(3){
    margin-top: 69px;
    align-items: stretch;
}
.hero__card{
    border: 1px solid #D2D2D2;
    border-radius: 40px;
    padding: 38px 22px;
    height: 100%;
    position: relative;
}
.hero__card__title p{
    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    margin-bottom: 61px;
}
.hero__card__item{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}
.hero__card__item .circle{
    width: 13px;
    height: 13px;
    min-width: 13px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #4947A7;
    margin-right: 20px;
}
.hero__card__item p{
    margin-bottom: 0rem !important;
    font-size: 16px;
}
.hero__card__list{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.hero__card svg{
    position: absolute;
    top: 20px;
    right: 20px;
}
.hero__card__item:nth-child(4){
    margin-bottom: 0px;
}
.services__block{
    margin-top: 83px;
    padding-bottom: 80px;
}
.services__block__heading{
    font-size: 30px;
    margin-bottom: 37px;
}
.services__block__tab {
    padding-bottom: 20px;
    border-bottom: 8px solid black;
    text-align: center;
    font-size: 20px;
}
.services__block .row:nth-child(2){
    margin-bottom: 24px;
}
.services__block .row:nth-child(3){
    align-items: stretch;
}
.service__card, .service__card__wide{
    border: 1px solid #4947A7;
    border-radius: 40px;
    padding-left: 30px;
    padding-top: 38px;
    padding-right: 34px;
    padding-bottom: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service__card__title p{
    font-size: 24px;
    margin-top: 40px;
    padding-bottom: 22px;
    line-height: 28px;
    border-bottom: 2px solid #C5C5C5;
    min-height: 78px;
    margin-bottom: 0rem !important;
}
.bottom__card{
    margin-top: 31px;
    margin-bottom: 46px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
}
.service__card_description{
    font-size: 16px;
    min-height: 68px;
}
.service__card_price{
    margin-top: 29px;
    font-size: 16px;
    margin-bottom: auto;
}
.service__card button{
    width: 100%;
    border-radius: 96px;
    background: black;
    color: white;
    padding: 16px;
    font-size: 20px;
    margin-top: auto;
}
.service__svg{
    min-height: 181px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service__card__wide .service__card__title p{
    font-size: 34px;
}
.service__card__wide{
    padding-right: 175px;
    position: relative;
}
.service__card__wide .service__card__title p{
    border-bottom: none;
    margin-top: 0px;
    line-height: 34px;
}
.service__card__wide .bottom__card {
    margin-top: 50px;
}
.service__card__wide .service__card_description{
    margin-bottom: 0rem;
    min-height: 0px;
}
.service__card__wide .service__card_price {
    margin-top: 40px;
}
.service__card__wide svg{
    position: absolute;
    top: 231px;
    right: -49px;
}
.service__card__wide button{
    width: 56%;
    border-radius: 96px;
    background: black;
    color: white;
    padding: 16px;
    font-size: 20px;
    margin-top: auto;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: flex;
}
.services__block__tab {
    cursor: pointer;
    border-bottom: 8px solid #D2D2D2;
    color: #999;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.services__block__tab.active {
    border-bottom: 8px solid black;
    color: #1A1A1A;
}
.services__block__tab[data-tab="consulting"].active {
    border-bottom-color: #4947A7;
    color: #4947A7;
}
.services__block__tab[data-tab="creative"].active {
    border-bottom-color: #57CAA2;
    color: #57CAA2;
}
.services__block__tab[data-tab="apps"].active {
    border-bottom-color: #FFC627;
    color: #FFC627;
}
.services__block__tab[data-tab="utils"].active {
    border-bottom-color: #FF8D7D;
    color: #FF8D7D;
}
.tab-content[data-content="creative"] .service__card__wide svg {
    right: 5px;
}
.tab-content[data-content="creative"] .service__card{
    border: 1px solid #57CAA2;
}
.tab-content[data-content="creative"] .service__card__wide{
    border: 1px solid #57CAA2;
}
.tab-content[data-content="creative"] > :last-child .service__card {
    background: #E5E5E5;
    border: none;
}
.subscribe__card {
    display: flex;
    flex-direction: column;
}
.subscribe__input {
    width: 100%;
    padding: 20px 28px;
    border-radius: 96px;
    border: 1px solid #D2D2D2;
    background: white;
    font-size: 18px;
    color: gray;
    outline: none;
    margin-bottom: 16px;
}
.subscribe__input::placeholder {
    color: gray;
}
.subscribe__btn {
    width: 100%;
    padding: 20px;
    border-radius: 96px;
    background: #1A1A1A;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
    margin-top: auto;
}
.tab-content[data-content="creative"] .service__card__wide .service__card__title p {
    border-bottom: none;
    margin-top: 0px;
    line-height: 39px;
    font-size: 40px;
}
.full__block{
    height: 100%;
    background: #E5E5E5;
    border-radius: 40px;
    padding-top: 45px;
    padding-left: 33px;
    padding-bottom: 62px;
    display: flex;
    flex-direction: column;
}
.full__block__title{
    margin-top: 68px;
    font-size: 40px;
    line-height: 40px;
}
.tab-content[data-content="apps"] .subscribe__card, .tab-content[data-content="utils"] .subscribe__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 50%;
    margin-top: auto;
}
.tab-content[data-content="apps"] .subscribe__input, .tab-content[data-content="utils"] .subscribe__input{
    width: 60%;
    padding: 16px;
    border-radius: 96px;
    border: 1px solid #D2D2D2;
    background: white;
    font-size: 18px;
    color: gray;
    outline: none;
    margin-bottom: 0px !important;
}
.tab-content[data-content="apps"] .subscribe__btn, .tab-content[data-content="utils"] .subscribe__btn{
    width: 40%;
    padding: 16px;
    border-radius: 96px;
    background: #1A1A1A;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    margin-top: auto;
}
.tab-content[data-content="apps"], .tab-content[data-content="utils"] {
    position: relative;
    overflow: hidden;
}
.tab-content[data-content="apps"] > img,
.tab-content[data-content="utils"] > img {
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
.full__block {
    position: relative;
    overflow: hidden;
}
.full__block__img {
    position: absolute;
    right: 0;
    bottom: 0;
}
.tab-content[data-content="utils"] .full__block__img {
    position: absolute;
    right: 50px;
    bottom: 50px;
}

/* ============================================
   BURGER BUTTON
   ============================================ */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1A1A1A;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   MOBILE STYLES
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .burger {
        display: flex;
    }
    .hero__block .row:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .hero__block .row:first-child .col-3 {
        width: auto;
        flex: none;
    }
    .hero__block .row:first-child .col-9 {
        width: auto;
        flex: none;
        display: flex;
        justify-content: flex-end;
    }
    .hero__block .nav-pills {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1000;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 0;
    }
    .hero__block .nav-pills.open {
        display: flex;
    }
    .hero__block .nav-pills .nav-item {
        list-style: none;
    }
    .hero__block .nav-pills .nav-link {
        font-size: 24px;
        color: #1A1A1A;
        text-decoration: none;
    }
    .logo2 svg {
        width: 160px;
        height: auto;
    }
    .hero__text {
        font-size: 32px;
        line-height: 36px;
    }
    .hero__text br {
        display: none;
    }
    .hero__text__block {
        margin-top: 50px !important;
    }
    .hero__text svg {
        width: 30px;
        height: 26px;
    }
    .hero__block .row:nth-child(3) {
        margin-top: 40px;
        flex-direction: column;
        gap: 0;
    }
    .hero__block .row:nth-child(3) .col-4 {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }
    .hero__block .row:nth-child(3) .col-4:last-child .hero__card {
        border-radius: 24px;
        border-bottom: 1px solid #D2D2D2;
    }
    .hero__card > svg {
        position: absolute !important;
        display: block;
        top: 18px;
        left: 20px;
        width: 20px;
        height: 20px;
    }
    .hero__card {
        border-radius: 24px 24px 0 0;
        padding: 0;
        height: auto;
        overflow: hidden;
        position: relative;
        border-bottom: none;
        border-left: 1px solid #D2D2D2;
        border-right: 1px solid #D2D2D2;
        border-top: 1px solid #D2D2D2;
        display: flex;
        flex-direction: column;
    }
    .hero__card__title {
        padding: 18px 20px 18px 50px;
        cursor: pointer;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
    }
    .hero__card__title p {
        font-size: 18px;
        line-height: 22px;
        font-weight: 500;
        margin-bottom: 0 !important;
        flex-grow: 1;
    }
    .hero__card__title::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 12px;
    }
    .hero__card.card-open .hero__card__title::after {
        transform: rotate(-135deg);
    }
    .hero__card__list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0 20px;
    }
    .hero__card.card-open .hero__card__list {
        max-height: 400px;
        padding: 10px 20px 24px;
        border-top: 1px solid #EBEBEB;
    }
    .hero__card__item {
        margin-bottom: 14px;
    }
    .hero__card__item .circle {
        width: 10px;
        height: 10px;
        min-width: 10px;
        margin-right: 14px;
    }
    .hero__card__item p {
        font-size: 14px;
        line-height: 20px;
    }
    .hero__card__item:nth-child(4) {
        margin-bottom: 0;
    }
    .hero__card__item p br {
        display: none;
    }
    .services__block {
        margin-top: 50px;
    }
    .services__block__heading {
        font-size: 24px;
    }
    .services__block .row:nth-child(2) {
        display: none !important;
    }
    .tab-content,
    .tab-content.active,
    .row.tab-content {
        display: flex !important;
        margin-bottom: 24px;
    }
    .tab-content[data-content="consulting"],
    .tab-content[data-content="creative"] {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tab-content[data-content="consulting"]::-webkit-scrollbar,
    .tab-content[data-content="creative"]::-webkit-scrollbar {
        display: none;
    }
    .tab-content[data-content="consulting"] .col-3,
    .tab-content[data-content="consulting"] .col-6,
    .tab-content[data-content="creative"] .col-3,
    .tab-content[data-content="creative"] .col-6 {
        flex: 0 0 80%;
        max-width: 80%;
        scroll-snap-align: start;
    }
    .service__card, .service__card__wide {
        border-radius: 24px;
        padding: 24px 20px;
        height: 100%;
    }
    .service__card__wide {
        padding-right: 20px;
    }
    .service__card__wide svg {
        display: none;
    }
    .service__card__wide button {
        width: 100%;
    }
    .service__svg {
        min-height: 120px;
    }
    .service__svg svg {
        max-width: 160px;
        height: auto;
    }
    .service__card__title p {
        font-size: 20px;
        min-height: auto;
        margin-top: 20px;
    }
    .bottom__card {
        min-height: auto;
        margin-bottom: 24px;
    }
    .service__card_description {
        min-height: auto;
    }
    .tab-content[data-content="apps"],
    .tab-content[data-content="utils"] {
        flex-direction: column;
    }
    .tab-content[data-content="apps"] .col-12,
    .tab-content[data-content="utils"] .col-12 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .full__block {
        border-radius: 24px;
        padding: 30px 20px 40px;
    }
    .full__block__title {
        font-size: 24px;
        line-height: 28px;
        margin-top: 30px;
    }
    .full__block__title br {
        display: none;
    }
    .full__block svg:first-child {
        max-width: 100%;
        height: auto;
    }
    .full__block__img {
        display: none;
    }
    .tab-content[data-content="apps"] .subscribe__card,
    .tab-content[data-content="utils"] .subscribe__card {
        width: 100%;
        flex-direction: column;
        margin-top: 30px;
    }
    .tab-content[data-content="apps"] .subscribe__input,
    .tab-content[data-content="utils"] .subscribe__input {
        width: 100%;
        margin-bottom: 12px !important;
    }
    .tab-content[data-content="apps"] .subscribe__btn,
    .tab-content[data-content="utils"] .subscribe__btn {
        width: 100%;
        margin-left: 0;
    }
    .tab-content[data-content="creative"] .service__card__wide svg {
        display: none;
    }
    .tab-content[data-content="creative"] .service__card__wide .service__card__title p {
        font-size: 24px;
        line-height: 28px;
    }
}