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

:root {
    --primary-color: #FEAA01;
    --dark-bg: rgba(23, 23, 23, 1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
}

body,
html {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: clip;
    height: 100%;
    /* overflow: visible !important; */

}
body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto; 
}

.footer {
    flex: 0 0 auto; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(23, 23, 23, 0.95);
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
}

.events {
    position: relative;
}

.bg-decor {
    position: absolute;
    width: 400px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.bg-left {
    top: 0px;
    left: -150px;
    transform: rotate(-6deg);
    width: 389px;
    height: 389px;
}

.bg-right {
    bottom: -300px;
    right: -300px;
    transform: rotate(323deg);
    height: 1251px;
    width: 1250px;
}

.events h2,
.events-container {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.contact h2 {
    margin-bottom: 30px;

}

.stats {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 71vh;
}

.stats-grid {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-top: 70px;

}

.section-title {
    text-align: center;
    font-size: 28px;
    position: relative;
    z-index: 3;
}

.stats p {
    text-align: center;
    font-size: 18px;
    /* margin-bottom: 40px; */
    position: relative;
    z-index: 3;
}

.percentage {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
    font-size: 20px;
}

#p1 {
    color: rgba(243, 146, 0, 0.25);
}

#p2 {
    color: rgba(254, 170, 1, 0.5);
}

#p3 {
    color: rgba(243, 146, 0, 0.75);
}

#p4 {
    color: rgba(243, 146, 0, 1);
}

.ball {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.ball2 {
    width: 222px;
    height: 222px;
    bottom: 395px;
    left: -70px;
    z-index: 0;
}

.ball1 {
    width: 142px;
    height: 142px;
    top: 40%;
    /* left: 23%; */
    z-index: 0;
    right: 50%;
    margin-right: 12%;
}

.ball4 {
    width: 138px;
    height: 138px;
    top: 83%;
    right: 0;
    z-index: 4;
    left: 50%;
    margin-left: 20%;
}

.ball3_1 {
    width: 189px;
    height: 189px;
    top: 32%;
    left: 50%;
    margin-left: 34%;
    transform: rotate(-12.43deg);
    z-index: 1;
}

.offers {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.offers-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;

}

.offer-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: rgba(23, 23, 23, 0.9);
    overflow: visible;
    z-index: 3;
}

.offer-img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.shape {
    position: absolute;
    display: block;
    pointer-events: none;
}

.shape-1 {
    top: 100px;
    right: 50%;
    margin-right: 37%;
    width: 220px;
    transform: rotate(28deg);
    z-index: 0;
    width: 215px;
    height: 215px;
    opacity: 1;

}

.shape-2 {
    top: -50px;
    left: 50%;
    margin-left: 37%;

    transform: rotate(0deg);
    z-index: 4;
    width: 318px;
    height: 318px;
    opacity: 1;

}

.shape-3 {
    bottom: -60px;
    transform: rotate(0deg);
    z-index: 4;
    width: 327px;
    height: 327px;
    opacity: 1;
    top: 77%;
    right: 50%;
    margin-right: 5%;
    /* left: 50%;
    margin-left: 25px; */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

.feature-card h3,
.feature-card h2,
.feature-card p {
    margin: 0;
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo img {
    width: 180px;
    height: 66px;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 9999;
}

.nav-register {
    color: white;
    text-decoration: none;
    padding: 6px 25px;
    border-radius: 40px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #F39200;
    ;
}

.nav-register:hover {
    background: linear-gradient(0deg, #F39301 0%, #FEAA01 100%);
}

.nav-login {
    color: white;
    text-decoration: none;
    padding: 6px 25px;
    border-radius: 40px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(180deg, #FEAA01 0%, #F39201 100%);
}

.nav-login:hover {
    opacity: 0.9;
}

.language-selector {
    position: relative;
}

.language-current {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(23, 23, 23, 1);
    position: relative;
    border-radius: 10px;
    text-align: center;

    &::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: linear-gradient(108.02deg, #fff 0, rgba(255, 255, 255, 0) 100%);
        border-radius: 10px;
        z-index: -1;
    }
}

.language-current::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(23, 23, 23, 0.95);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1001;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

main {
    margin-top: 70px;
}

section {
    padding: 60px 10%;
}

.section-title {
    font-size: 48px;
    text-align: center;
    /* margin-bottom: 70px; */
    position: relative;
    padding: 5px 10%;
}

.t4 {
    margin-bottom: 70px;
}

.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 100vh;
    background-color: var(--dark-bg);
    overflow: visible;
}

.hero-left {
    position: absolute;
    height: auto;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.9;
    transform: rotate(-74deg);
    width: 1079px;
    height: 1079px;
    opacity: 1;
    top: 100px;
    left: -610px;
}

.hero-right {
    position: absolute;
    height: auto;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.9;
    transform: rotate(137deg);
    width: 1079px;
    height: 1079px;
    opacity: 1;
    top: -550px;
    left: 50%;
    margin-left: 15%;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: linear-gradient(0deg, #F39301 0%, #FEAA01 100%);
    color: white;
    padding: 6px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 40px;
}

.btn1 {
    display: none;
}

.hero-image {
    flex: 1;
    justify-content: flex-end;
}

.features {
    line-height: 1.2;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    align-items: flex-start;
    border-radius: 30px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s;
    height: 219px;
    background-color: rgba(23, 23, 23, 1);
    position: relative;
    border-radius: 30px;
    /* text-align: center; */

    &::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(108.02deg, #Fff 0, rgba(255, 255, 255, 0) 100%);
        /* border-image-source: linear-gradient(109.8deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%); */
        border-radius: 30px;
        z-index: -1;
    }

}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 2.3rem;
}

.feature-card p {
    font-size: 25px;
}

.stats p {
    font-size: 24px;
    text-align: center;
    /* margin-bottom: 40px; */
    /* margin-top: 20px; */
    position: relative;
    padding: 0 30%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    border-radius: 40px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    max-width: 282px;
    height: 267px;
    position: relative;
    background-color: rgba(23, 23, 23, 0.90);

    text-align: center;

    &::before {
        content: "";
        position: absolute;
        inset: -0.5px;
        background: linear-gradient(108.02deg, #FEAA01 0, rgba(255, 255, 255, 0) 100%);
        border-radius: 40px;
        z-index: -1;
    }

}

.stat-card .emoji {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-card .number {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-card .percentage {
    font-size: 70px;
    color: var(--primary-color);
    font-weight: bold;
}

.offers {
    background: linear-gradient(180deg, #FEAA01 0%, #F39200 100%);
    text-align: center;
    padding: 60px 5%;
}

.offers .section-title {
    color: var(--dark-bg);
}

.offers .section-title::after {
    background: var(--dark-bg);
}

.offers-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    border-radius: 40px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    height: auto;
    width: 384px;
    /* height: 494px; */

}

.offer-card img {
    width: 100%;
    max-width: 302px;
    /* height: 302px; */
    min-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.offer-details p {
    margin-bottom: 10px;
    padding: 8px 0;
}

.feature-card #chip {
    width: 198px;
    align-items: center;
    text-align: center;
    margin-left: 100px;
}

.feature-card #globe {
    width: 163px;
    margin-left: 100px;

}

.feature-card #parcent {
    width: 182px;
    margin-left: 160px;

}

.feature-card #gear {
    width: 178px;
    margin-left: 100px;

}

.feature-card #chat {
    width: 132px;
    margin-left: 159px;
    margin-bottom: 100px;

}

.events-container {
    position: relative;
    margin: 0 auto;
}

.events-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    /* -webkit-overflow-scrolling: touch; */
    scrollbar-width: none;
}

.event-card {
    border: 0.1px solid #FFF;
    background:
        linear-gradient(0deg, rgba(23, 23, 23, 0.3), rgba(23, 23, 23, 0.3)),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 41px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    width: 384px;
    height: 466px;
}

.event-card img {
    max-width: 302px;
    height: 302px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-details {
    text-align: left;
}

.event-details p {
    margin-bottom: 10px;
    padding: 8px 0;
}

.scroll-indicator {
    display: none;
    text-align: center;
    margin-top: 15px;
    color: var(--primary-color);
    font-size: 14px;
}

.scroll-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    margin: 5px auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 269px;
    border-radius: 40px;
    border-image-slice: 1;
    /* background: rgba(23, 23, 23, 1); */
    background: linear-gradient(193deg, rgb(23 23 23 / 92%), rgb(23 23 23 / 93%)), linear-gradient(0deg, rgb(255 255 255), rgb(255 255 255));
    position: relative;
    text-align: center;

    &::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(108.02deg, #FEAA01 0, rgba(255, 255, 255, 0) 100%);
        border-radius: 40px;
        z-index: -1;
    }
}

.contact-content {
    flex: 1;
    z-index: 2;
}

.contact-card h3 {
    font-size: 36px;
    color: var(--Main-orange, rgba(243, 146, 0, 1));
}

.contact-card p {
    margin-bottom: 20px;
}

.contact-card .tg {
    font-size: 28px;
}

.contact-content img {
    width: 24px;
    height: 24px;
}

.contact-image {
    width: 230px;
    height: 230px;
    flex-shrink: 0;
    margin-left: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 10%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.1) 90%,
            transparent 100%);
}

.faq-column {
    width: 100%;
}

.faq-item {
    margin-bottom: 0;
    background-color: transparent;
    position: relative;
}

.faq-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
}

.faq-column:last-child .faq-item:last-child::after,
.faq-column:first-child .faq-item:last-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    background-color: transparent;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: transparent;
    color: var(--text-color);
}

.faq-item.active .faq-answer {
    padding: 0 0 20px 0;
    max-height: 500px;
}

.faq-question::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s;
    color: var(--text-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.main-title {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    background-color: transparent;
}

.text-pages {
    line-height: 1.65;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
}

.text-pages p {
    margin: 0 0 10px;
}

.text-pages h2 {
    padding: 30px 0 15px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.45;
}

footer {
    background-color: rgba(18, 18, 18, 1);
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.offer-details p {
    display: table;
    /* justify-content: space-between; */
    align-items: center;
    margin: 0;
}

.offer-details strong {
    font-weight: bold;
}

.event-details p:first-child {
    font-family: Inter;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;


}

.event-details p:last-child {
    font-size: 20px;
    font-family: Inter;
    font-weight: 300;
    /* font-style: Light; */
    line-height: 100%;
    text-align: center;
    color: var(--Main-orange, rgba(243, 146, 0, 1));
}

.text-pages {
    padding: 60px 20%;
}

.tabs-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.con {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s;
}

.con:hover {
    color: #ff9900;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-links {
    margin: 0 auto;
}

.footer {
    color: white;
}

@media (max-width: 1325px) {

    .feature-card h3 {
        font-size: 1.8rem;
    }
}


@media (max-width: 1024px) {
    .hero {
        /* flex-direction: column; */
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        margin-top: 30px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq::before {
        display: none;
    }

    .shape-3 {
        bottom: -60px;
        transform: rotate(0deg);
        z-index: 4;
        width: 327px;
        height: 327px;
        opacity: 1;
        top: 571px;
        left: 50%;
        margin-left: 350px;
    }

    .hero {
        overflow: hidden;

    }
}

@media (max-width: 768px) {


    .ball2 {
        width: 84px;
        height: 84px;
        bottom: 183px;
        right: 50%;
        margin-right: 220px;
        left: auto;
        z-index: 4;
    }

    .ball1 {
        width: 57px;
        height: 57px;
        top: 40%;
        left: 50%;
        margin-left: 210px;
        z-index: 4;
    }

    .ball4 {
        display: none;
    }

    .ball3_1 {
        width: 189px;
        height: 189px;
        top: 75%;
        left: 50%;
        margin-left: 155px;
        transform: rotate(-12.43deg);
        z-index: 4;
    }

    .shape-1 {
        top: auto;
        bottom: 400px;
        right: 50%;
        margin-right: 80px;
        width: 220px;
        transform: rotate(350deg);
        z-index: 4;
        width: 170px;
        height: 170px;
        opacity: 1;

    }

    .shape-2 {
        top: -50px;
        right: 50%;
        margin-right: 40px;
        left: auto;

        transform: rotate(0deg);
        z-index: 4;
        width: 200px;
        height: 200px;
        opacity: 1;

    }

    .shape-3 {
        bottom: -60px;
        transform: rotate(-20deg);
        z-index: 4;
        width: 182px;
        height: 182px;
        opacity: 1;
        top: 550px;
        left: 50%;
        margin-left: 90px;
        z-index: 0;

    }

    .bg-left {
        display: none;
    }

    .bg-right {
        display: none;
    }

    .btn {
        display: none;
    }

    .btn1 {
        margin-bottom: 15%;
        display: inline-block;
        background: linear-gradient(0deg, #F39301 0%, #FEAA01 100%);
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-radius: 40px;
        border: none;
        padding: 14px 36px;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .stats p {
        padding: 0;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .feature-card img {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 45%;
        height: auto;
        object-fit: contain;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .feature-card:hover img {
        transform: scale(1.05);
    }

    .feature-card h3,
    .feature-card h2,
    .feature-card p {
        margin: 0;
        position: relative;
        z-index: 2;
    }

    .feature-card p {
        font-size: 18px;
    }

    .feature-card h3 {
        font-size: 1.8rem;
        font-weight: bold;
    }

    @media (max-width: 768px) {
        .feature-card {
            height: auto;
            padding: 16px;
        }

        .feature-card img {
            width: 50%;
            right: 0;
            bottom: 0;
        }

        .feature-card h3 {
            font-size: 1.5rem;
        }
    }

    .logo img {
        width: 138px;
        height: 51px;
    }

    .nav-register {
        display: none;
    }

    .nav-login {
        background: none;
        border: 1px solid #F39200;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero {
        /* flex-direction: column; */
        /* text-align: center; */
        min-height: 80vh;
    }

    .hero-left {
        position: absolute;
        height: auto;
        z-index: 9999;
        pointer-events: none;
        opacity: 0.9;
        transform: rotate(287deg);
        width: 543px;
        height: 543px;
        opacity: 1;
        top: 423px;
        left: -263px;
    }

    .hero-right {
        position: absolute;
        height: auto;
        z-index: 9998;
        pointer-events: none;
        opacity: 0.9;
        transform: rotate(103deg);
        width: 543px;
        height: 543px;
        opacity: 1;
        top: -102px;
        left: 50%;
        margin-left: 10px;
    }

    .hero-content {
        order: 3;
    }

    .hero-image {
        order: 2;
        justify-content: center;
        margin: 0;
    }

    .hero-image img {
        max-width: 369px;
        max-height: 369px;

    }

    .hero-image {
        flex: 10;
        display: flex;
        justify-content: flex-end;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        height: 195px;
        width: 175px;
        margin: 0 auto;
        padding: 13px;
    }

    .feature-card #chip {
        width: 146px;
    }

    .feature-card #globe {
        width: 118px;
    }

    .feature-card #parcent {
        width: 126px;
    }

    .feature-card #gear {
        width: 115px;
    }

    .feature-card #chat {
        display: none;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        height: 160px;
        width: 169px;
        margin: 0 auto;
        padding: 15px;
    }

    .stat-card .emoji {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .stat-card .number {
        font-size: 22px;
    }

    .stat-card .percentage {
        font-size: 48px;
        padding: 0;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-card {
        width: 100%;
        scroll-snap-align: center;
        /* height: 494px; */
    }

    .events-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .events-grid::-webkit-scrollbar {
        display: none;
    }

    .event-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        /* height: 397px; */
        width: 352px;
        min-height: auto;
        padding: 26px;
    }

    .event-card img {
        height: 272px;
    }

    .scroll-indicator {
        display: block;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-card {
        /*height: 266px;*/
        width: 169px;
        margin: 0 auto;
        padding-top: 0;
        /*padding: 15px;*/
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        order: 2;
        /* margin-top: 10px; */
    }

    .contact-image {
        width: 137px;
        height: 137px;
        margin-left: 0;
        order: 1;
    }

    .contact-card h3 {
        font-size: 18px;
        /*margin-bottom: 10px;*/
    }

    .contact-card p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .contact-card .tg {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .faq {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-column:last-child {
        margin-top: 0;
    }

    .faq::before {
        display: none;
    }

    .text-pages h2 {
        font-size: 22px;
        padding: 22px 0 12px;
    }

    .text-pages h1 {
        font-size: 28px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: relative;
        margin: 0;
    }

    .tabs-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: -250px;
        background-color: #444;
        flex-direction: column;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .tabs-nav.active {
        display: flex;
    }

    .tabs-nav a {
        padding: 0.8rem 0;
        border-bottom: 1px solid #555;
    }

    .tabs-nav a:last-child {
        border-bottom: none;
    }

    .con:hover {
        background-color: #555;
        padding-left: 0.5rem;
    }

    .text-pages {
        padding: 60px 10%;
    }

}

@media (max-width: 480px) {
    .contact-content img {
        width: 16px;
        height: 16px;
    }
    .hero-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 23px;
        padding: 4px;
        margin-bottom: 0px;
    }

    .t4 {
        margin-bottom: 40px;
    }

    .ball2 {
        width: 84px;
        height: 84px;
        bottom: 183px;
        right: 50%;
        margin-right: 150px;
        left: auto;
        z-index: 4;
    }

    .ball1 {
        width: 57px;
        height: 57px;
        top: 205px;
        left: 50%;
        margin-left: 140px;
        z-index: 4;
    }

    .ball4 {
        display: none;
    }

    .ball3_1 {
        width: 189px;
        height: 189px;
        top: 500px;
        left: 50%;
        margin-left: 120px;
        transform: rotate(-12.43deg);
        z-index: 4;
    }

    .shape-1 {
        display: none;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .event-card {
        flex: 0 0 90%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px 3%;
    }

    .feature-card {
        width: 95%;
        height: 200px;
        padding: 15px;
        min-width: 165px;
        max-width: 165px;
    }

    .feature-card h3 {
        font-size: 2.2rem;
    }

    .feature-card p {
        font-size: 16px;
    }

    #h3 {
        font-size: 27px;
    }

    .contact-grid {
        gap: 10px;
    }

    .contact-card {
        width: 160px;
        height: 260px;
        padding: 12px;
    }

    #work {
        min-width: 314px;
        height: 190px;
        padding: 12px;
    }

    .contact-image {
        width: 120px;
        height: 120px;
    }

    .hero-left {
        position: absolute;
        height: auto;
        z-index: 9999;
        pointer-events: none;
        opacity: 0.9;
        transform: rotate(287deg);
        width: 543px;
        height: 543px;
        opacity: 1;
        top: 423px;
        left: -263px;
    }

    .hero-right {
        position: absolute;
        height: auto;
        z-index: 9998;
        pointer-events: none;
        opacity: 0.9;
        transform: rotate(103deg);
        width: 543px;
        height: 543px;
        opacity: 1;
        top: -102px;
        left: 50%;
        margin-left: 10px;
    }

    .hero-content {
        order: 3;
    }

    .hero-image {
        order: 2;
        justify-content: center;
        margin: 0;
    }

    .hero-image img {
        max-width: 369px;
        max-height: 369px;

    }

    .hero-image {
        flex: 10;
        display: flex;
        justify-content: flex-end;
    }

    .nav-login {
        padding: 5px 15px;
    }

    body,
    html {
        overflow: visible;
    }

    .stats-grid {
        padding: 27px;
        margin-top: 70px;
    }

    .stats {
        padding: 0;
    }

    .stats p {
        font-size: 17px;
        padding: 0px 15px;
    }

    .blok3a {
        word-break: break-all;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        /* не ломать символы по одному */
        /* если внутри flex контейнера: */
        min-width: 0;
    }

    .tabs-nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .contact-content img {
        width: 16px;
        height: 16px;
    }
    .offers-grid {
        display: -webkit-box;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        scroll-snap-type: x mandatory;
        padding: 10px 0;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: repeat(5, 1fr);

    }

    .offers-grid::-webkit-scrollbar {
        height: 6px;
    }

    /* Скрыть скроллбар (если мешает) */
    .offers-grid::-webkit-scrollbar-thumb {
        /* display: none; */
        background: rgba(23, 23, 23, 0.9);
        border-radius: 3px;
    }

    #work {
        min-width: 314px;
        height: 190px;
        padding: 12px;
    }
}


@media (min-width: 1200px) {
    .offers-grid {
        flex-wrap: nowrap;
    }

    .events {
        display: flex;
        flex-direction: column;
        padding: 60px 0;
    }

    .feature-card {
        min-width: 350px;
    }
}

@media (min-width: 1450px) and (max-width: 1699px) {

    section {
        padding: 60px 15%;
    }
}

@media (min-width: 1700px) {
    section {
        padding: 60px 25%;
    }

    .stats {
        min-height: 60vh;
    }

    .hero-right {
        margin-left: 28%;
    }
}