* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    
    background-color: #f3f7ff!important;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar > .container, 
.navbar > .container-fluid {
    max-width: 1200px;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    gap: 0;
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    width: auto;
    object-fit: contain;
}


.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 0;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #000 !important;
    text-decoration: none;
    padding: 0.5rem 1rem !important;
    transition: background-color 0.3s;
    display: block;
    border-radius: 10px;
}



.create-site-btn {
    background-color: #008dd2 !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
    transition: background-color 0.3s !important;
}


.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
@media (hover: hover) and (pointer: fine){
.create-site-btn:hover {
    filter: brightness(0.9);
}
.nav-link:hover {
    background-color: #d8e3f1;
}
}
@media (max-width: 1100px) {
    .navbar {
        padding: 0.5rem 0;
        position: relative; 
    }
    
    .navbar-toggler {
        display: block;
        order: 1; 
    }
    
    .navbar-collapse {
        display: none !important; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .navbar-collapse.collapsing {
        height: auto;
        overflow: hidden;
        transition: height 0.35s ease;
    }
    
    .navbar-collapse.show {
        display: flex !important; 
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .create-site-btn {
        margin: 0.5rem auto !important;
        display: inline-block;
        width: auto;
    }
    
    .navbar-brand {
        order: 0; 
        margin-right: auto;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    .navbar-text {
        display: none;
    }
    
}    

/* 1 секция */
.hero-main {
    width: 100%;
}

.hero-section {
    margin-top: 2.5rem;
    background-color: #f3f7ff;
    box-shadow: 0 0 0 100vmax #f3f7ff;
    clip-path: inset(0 -100vmax);
    margin-bottom: -1rem;
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5rem;
}
.hero-text-content {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 3rem 0;
}

.hero-main-title {
    font-weight: 1000;
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-description {
    margin: 1rem 0;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.hero-typing-container {
    position: relative;
    min-height: 4em;
    margin: 0.5em 0;
    line-height: 2em;
}

.hero-typing-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 2rem;
    font-weight: 1000;
}
.hero-mobile-text {
    display: none;
}
.text-primary {
    color: #008dd2 !important;
}

.text-warning {
    color: #f95b0d !important;
}

.hero-buttons-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 0rem;
}

.hero-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 10px;    
    font-size: 1.1rem;
}

.btn_create_site {
    background: #f95b0d;
    color: white;
    margin-bottom: 4rem;
}

.btn_download_KP {
    background: #008dd2;
    color: white;
    margin-bottom: 4rem;
}

.hero-image-container {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    position: relative;
    width: 700px;
    height: 500px;
    overflow: visible;
    margin-left: -100px;
}

.hero-image-main,
.hero-image-overlay {
    position: absolute;
    border-radius: 10px;
    object-fit: contain;
}

.hero-image-main {
    width: 444.35px;
    height: 241.98px;
    left: 137.22px; 
    top: 110.07px;
    z-index: 1;
}

#anim1.hero-image-overlay {
    width: 157.14px;
    height: 241.98px;
    left: 455.86px;
    top: 96.97px;
    z-index: 5;
}

#anim2.hero-image-overlay {
    width: 304.68px;
    height: 165.1px;
    left: 257.69px; 
    top: 0;
    z-index: 4;
}

#anim3.hero-image-overlay {
    width: 264.52px;
    height: 144.14px;
    left: 304.83px; 
    top: 300px;
    z-index: 3;
}

#anim4.hero-image-overlay {
    width: 304.68px;
    height: 165.1px;
    left: -40px; 
    top: 250px;
    z-index: 2;
}

#anim1 { z-index: 5; }
#anim2 { z-index: 4; }
#anim5 { z-index: 1; }
#anim3 { z-index: 3; }
#anim4 { z-index: 2; }

.hero-image-container {
    --hover-shift: 60px; 
}

#anim1.hero-image-overlay,
#anim2.hero-image-overlay,
#anim3.hero-image-overlay,
#anim4.hero-image-overlay {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), z-index 0s;
}

.hero-image-container:hover #anim2.hero-image-overlay {
    transform: translateY(calc(var(--hover-shift) * -0.9)) 
               translateX(calc(var(--hover-shift) * -0.7)); 
    z-index: 10;
}

.hero-image-container:hover #anim1.hero-image-overlay {
    transform: translateX(var(--hover-shift)) 
               translateY(calc(var(--hover-shift) * -0.7)); 
    z-index: 10;
}

.hero-image-container:hover #anim3.hero-image-overlay {
    transform: translateY(calc(var(--hover-shift) * 0.4)) 
               translateX(calc(var(--hover-shift) * 0.7)); 
    z-index: 10;
}

.hero-image-container:hover #anim4.hero-image-overlay {
    transform: translateX(calc(var(--hover-shift) * -1)) 
               translateY(calc(var(--hover-shift) * 0.9)); 
    z-index: 10;
}

.hero-button:hover {
    filter: brightness(0.9);
}

@media (max-width: 1100px) {
    .hero-section {
        margin: 0;
    }
    
    .hero-text-content,
    .hero-image-container {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .hero-main-title {
        text-align: center;
    }
    
    .hero-typing-animation {
        display: none;
    }
    
    .hero-mobile-text {
        display: block;
        text-align: center;
        font-size: 2rem;
        font-weight: 1000;
    }
    
    .hero-buttons-container {
        justify-content: center;
    }
    
    .hero-typing-container {
        min-height: auto;
        margin: 0;
    }
    
    .hero-image-container {
        width: 100%;
        height: 400px;
        margin-left: 25%;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .hero-image-main {
        width: calc(444.35px * 0.8);
        height: calc(241.98px * 0.8);
        left: calc(137.22px * 0.8); 
        top: calc(110.07px * 0.8); 
    }
    
    #anim1.hero-image-overlay {
        width: calc(157.14px * 0.8); 
        height: calc(241.98px * 0.8);
        left: calc(455.86px * 0.8); 
        top: calc(96.97px * 0.8); 
    }
    
    #anim2.hero-image-overlay {
        width: calc(304.68px * 0.8);
        height: calc(165.1px * 0.8);
        left: calc(257.69px * 0.8); 
        top: calc(0 * 0.8); 
    }
    
    #anim3.hero-image-overlay {
        width: calc(264.52px * 0.8); 
        height: calc(144.14px * 0.8); 
        left: calc(304.83px * 0.8); 
        top: calc(300px * 0.8); 
    }
    
    #anim4.hero-image-overlay {
        width: calc(304.68px * 0.8); 
        height: calc(165.1px * 0.8); 
        left: calc(-40px * 0.8);
        top: calc(250px * 0.8); 
    }
    
    #anim1.hero-image-overlay,
    #anim2.hero-image-overlay,
    #anim3.hero-image-overlay,
    #anim4.hero-image-overlay {
        transition: none;
    }
    
    .hero-image-container:hover .hero-image-overlay {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-mobile-text {
        font-size: 1.5rem;
    }
    
    .hero-buttons-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-button {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .hero-image-container {
        height: 300px; 
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        margin-left: 20%;
    }
    
    .hero-image-main {
        width: calc(444.35px * 0.6); 
        height: calc(241.98px * 0.6); 
        left: calc(137.22px * 0.6);
        top: calc(110.07px * 0.6); 
    }
    
    #anim1.hero-image-overlay {
        width: calc(157.14px * 0.6);
        height: calc(241.98px * 0.6); 
        left: calc(455.86px * 0.6); 
        top: calc(96.97px * 0.6);
    }
    
    #anim2.hero-image-overlay {
        width: calc(304.68px * 0.6);
        height: calc(165.1px * 0.6); 
        left: calc(257.69px * 0.6);
        top: calc(0 * 0.6); 
    }
    
    #anim3.hero-image-overlay {
        width: calc(264.52px * 0.6);
        height: calc(144.14px * 0.6); 
        left: calc(304.83px * 0.6); 
        top: calc(300px * 0.6); 
    }
    
    #anim4.hero-image-overlay {
        width: calc(304.68px * 0.6); 
        height: calc(165.1px * 0.6); 
        left: calc(-40px * 0.6); 
        top: calc(250px * 0.6);
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 250px;
        margin-left: 15%;
    }
    
    .hero-image-main {
        width: calc(444.35px * 0.5);
        height: calc(241.98px * 0.5);
        left: calc(137.22px * 0.5); 
        top: calc(110.07px * 0.5); 
    }
    
    #anim1.hero-image-overlay {
        width: calc(157.14px * 0.5);
        height: calc(241.98px * 0.5);
        left: calc(455.86px * 0.5); 
        top: calc(96.97px * 0.5); 
    }
    
    #anim2.hero-image-overlay {
        width: calc(304.68px * 0.5); 
        height: calc(165.1px * 0.5); 
        left: calc(257.69px * 0.5); 
        top: calc(0 * 0.5); 
    }
    
    #anim3.hero-image-overlay {
        width: calc(264.52px * 0.5); 
        height: calc(144.14px * 0.5); 
        left: calc(304.83px * 0.5); 
        top: calc(300px * 0.5); 
    }
    
    #anim4.hero-image-overlay {
        width: calc(304.68px * 0.5); 
        height: calc(165.1px * 0.5); 
        left: calc(-40px * 0.5); 
        top: calc(250px * 0.5);
    }
}

@media (max-width: 380px) {
    .hero-image-container {
        height: 220px;
        margin-left: 10%;
    }
    
    .hero-image-main {
        width: calc(444.35px * 0.44); 
        height: calc(241.98px * 0.44); 
        left: calc(137.22px * 0.44); 
        top: calc(110.07px * 0.44); 
    }
    
    #anim1.hero-image-overlay {
        width: calc(157.14px * 0.44); 
        height: calc(241.98px * 0.44); 
        left: calc(455.86px * 0.44); 
        top: calc(96.97px * 0.44); 
    }
    
    #anim2.hero-image-overlay {
        width: calc(304.68px * 0.44); 
        height: calc(165.1px * 0.44); 
        left: calc(257.69px * 0.44); 
        top: 0;
    }
    
    #anim3.hero-image-overlay {
        width: calc(264.52px * 0.44); 
        height: calc(144.14px * 0.44); 
        left: calc(304.83px * 0.44); 
        top: calc(300px * 0.44); 
    }
    
    #anim4.hero-image-overlay {
        width: calc(304.68px * 0.44); 
        height: calc(165.1px * 0.44); 
        left: calc(-40px * 0.44); 
        top: calc(250px * 0.44); 
    }
}


/*поисковая строка */
#poisk_place {
    max-height: 75px;
    overflow: visible;
    z-index: 555;
    position: relative;
}

#poisk {
    background: #e3eeff;
    overflow: visible;
    display: block;
    z-index: 555;
    padding: 15px;
    border-radius: 10px !important;
}

#poisk_results {
    display: block;
    background: #e3eeff;
    z-index: 555;
    margin: 0;
}

#poisk_results li {
    padding: 5px 0px;
}

.spec #poisk {
    background: linear-gradient(90deg, rgba(0, 141, 210, 0.287) 50%, rgba(0, 141, 210, 0.287) 90%);
}

.lead {
    font-size: 125%;
}

.btn-primary {
    background-color: #008DD2 !important; 
    border-color: #008DD2 !important;
    border-radius: 5px !important;
}

.btn-primary:hover {
    filter: brightness(0.9); 
}

.input-group {
    margin: 0 !important;
}

.form-control {
    border-right: none;
    border-radius: 5px!important;
}

.input-group-append {
    margin-left: 0;
}

.input-group {
    margin: 0 !important;
}

.btn {
    min-width: 120px;
    height: 100%;
}

.form-control {
    
    border-right: none;
}

.input-group-append {
    margin-left: 0;
}


/* 2 секция - кнопки создания разных сайтов */
.create_site {
    text-align: center;
    position: relative;
    padding: 1rem 0;
    margin-top: 3rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.site-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0rem 0rem;
    height: 3rem;
    min-width: 100px;
    color: #008dd2;
    background-color: transparent;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 100;  
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: all 0s ease;
    white-space: nowrap;
    margin-right: 0rem;
    margin-bottom: 0.5rem; 
    box-shadow: 0 0 8px rgba(123, 159, 205, 0.31);
    margin: 4px;
}

.button-text {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 1rem;
    transition: all 0s ease;
}

.button-text.original {
    opacity: 1;
}


@media (hover: hover) and (pointer: fine){
.button-text.hover {
    opacity: 0;
}

.site-button:hover {
    background-color: #008dd2;
    color: white;
}

.site-button:hover .button-text.original {
    opacity: 0;
}

.site-button:hover .button-text.hover {
    opacity: 1;
}
}

@media (max-width: 768px) {
    .create_site {
        margin-top: 1rem;
        padding: 2rem 0;
    }
    
    .site-button {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem 0;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
/*3 секция - тарифы*/
.tariffs{
    margin-top: 3rem;
}
.tarifs {
    color: #f95b0d;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.tarifs h1 {
    font-weight: 1000;
}

.features {
    background-color: #f3f7ff;
    line-height: 1.2;
}

.features h2 {
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: bold;
}

.tarif-card {
    background-color: #f3f7ff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tarif-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.tarif-titles {
    flex: 1;
}

.tarif-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.tarif-subtitle {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
    line-height: 1.2;
    display: block;
}

.tarif-code {
    font-size: 2rem !important;
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
    line-height: 1;
}

.tarif-description {
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.tarif-price-container {
    display: flex;
    align-items: baseline;
    min-height: 50px;
    margin-bottom: 0.5rem;
}

.tarif-price {
    font-size: 2.4rem;
    font-weight: 1000;
    color: #000;
    margin-right: 5px;
}

.tarif-period {
    font-size: 2rem;
    font-weight: normal;
    color: #000;
}

.tarif-discount {
    font-size: 0.8rem;
    font-weight: 1000;
    color: #000000;
    margin-bottom: 1rem;
}

.tarif-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.tarif-feature-item {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tarif-button-container {
    margin-top: auto;
    padding-top: 1rem;
}

.tarif-button {
    display: block;
    padding: 0.3rem 1rem;
    background-color: white;
    color: #f95b0d;
    border: 2px solid #f95b0d;
    border-radius: 10px;
    text-align: center;
    font-weight: 100;
    text-decoration: none;
    transition: all 0s ease;
    font-size: 1.2rem;
}

@media (hover: hover) and (pointer: fine) {
    .tarif-card:hover,
    .tarif-card:hover .tarif-title,
    .tarif-card:hover .tarif-subtitle,
    .tarif-card:hover .tarif-code,
    .tarif-card:hover .tarif-price,
    .tarif-card:hover .tarif-period,
    .tarif-card:hover .tarif-discount,
    .tarif-card:hover .tarif-description,
    .tarif-card:hover .tarif-feature-item {
        color: white !important;
        background-color: #f95b0d;
    }

    .tarif-card:hover .tarif-button {
        color: #f95b0d !important;
    }
    .tarif-card:hover .tarif-code {
        color: white !important;
    }
    .tarif-button:hover {
        background-color: #fae9e1;
    }
    .tarif-card:hover .tarif-discount {
        color: white;
    }
}

@media (max-width: 768px) {
    .features .col-md-5:not(:first-child) {
        margin-top: 1.5rem;
    }
    
    .tarif-card {
        margin-bottom: 2rem;
    }
    
    .tarif-code {
        font-size: 1.5rem !important;
    }
    
    .tariffs{
        margin-top: 1rem;
    }
    
    .col-lg-3 {
        margin-bottom: 1rem;
    }
}
/* 5 секция - Перенесем сайт для Вас за 5 дней */
.website-transfer {
    position: relative;
    overflow: visible;
    line-height: 1.3;
    padding: 0.25rem 0;
    margin: 1.5rem 0;
}

.website-transfer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 10px;
    padding: 0;
    overflow: visible;
}

@media (min-width: 992px) {
    .website-transfer-container {
        padding: 0;
    }
}

.website-transfer-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -12px;
}

.website-transfer-content {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 12px;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .website-transfer-content {
        margin-bottom: 0;
        padding: 3rem !important;
    }
}

.website-transfer-title {
    font-size: 1.9rem;
    font-weight: 1000;
    margin-bottom: 1rem;
}

.website-transfer-description {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.website-transfer-image-container {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 12px;
    overflow: visible;
}

.website-transfer-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.website-transfer .btn-transfer {
    background-color: white;
    color: #008dd2;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0s;
    white-space: nowrap;
    box-shadow: 0 0 8px rgba(123, 159, 205, 0.31);
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.5rem 1.5rem;
}

.website-transfer .btn-transfer:hover {
    filter: brightness(0.95);
}

.manager-static-container {
    position: relative;
    width: 500px;
    height: 315px;
    margin: 0 auto;
    clip-path: polygon(-100% 0%, 100% 0%, 100% 100%, -100% 100%);
    -webkit-clip-path: polygon(-100% 0%, 100% 0%, 100% 100%, -100% 100%);
}

.manager-static-image {
    position: absolute;
    opacity: 1;
    pointer-events: auto;
    user-select: none;
    transform-origin: center center;
    image-rendering: crisp-edges;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.manager-image-11 {
    transition: none !important;
    pointer-events: none;
}

.manager-static-container:hover .manager-static-image:not(.manager-image-11) {
    transform: scale(1.2) translate(var(--hover-translate-x, 0), var(--hover-translate-y, 0));
}

.manager-image-1 {
    left: 134px;
    top: 228px;
    width: 76.5px;
    height: 72.89px;
    z-index: 12;
    --hover-translate-x: 0;
    --hover-translate-y: 0;
}

.manager-image-2 {
    left: 181.59px;
    top: 0px;
    width: 48.59px;
    height: 48.59px;
    z-index: 11;
    --hover-translate-x: 15px;
    --hover-translate-y: 0;
}

.manager-image-3 {
    left: 0px;
    top: 205px;
    width: 111.19px;
    height: 65.12px;
    z-index: 10;
    --hover-translate-x: -15px;
    --hover-translate-y: -8px;
}

.manager-image-4 {
    left: 10.01px;
    top: 34px;
    width: 286.86px;
    height: 260px;
    z-index: 9;
    --hover-translate-x: -10px;
    --hover-translate-y: 10px;
}

.manager-image-5 {
    left: 316.85px;
    top: 180.52px;
    width: 100.35px;
    height: 76.19px;
    z-index: 8;
    --hover-translate-x: 12px;
    --hover-translate-y: 0;
}

.manager-image-6 {
    left: 325.58px;
    top: 70.06px;
    width: 136.81px;
    height: 85.67px;
    z-index: 7;
    --hover-translate-x: 0px;
    --hover-translate-y: 0px;
}

.manager-image-7 {
    left: 325.58px;
    top: 24.33px;
    width: 138.37px;
    height: 39.44px;
    z-index: 6;
    --hover-translate-x: 0px;
    --hover-translate-y: -10px;
}

.manager-image-8 {
    left: 76.77px;
    top: 115.44px;
    width: 114.96px;
    height: 50.54px;
    z-index: 5;
    --hover-translate-x: -12px;
    --hover-translate-y: 0;
}

.manager-image-9 {
    left: 405.07px;
    top: 235.48px;
    width: 54.12px;
    height: 79.5px;
    z-index: 4;
    --hover-translate-x: 10px;
    --hover-translate-y: 0;
}

.manager-image-10 {
    left: 218px;
    top: 141px;
    width: 93px;
    height: 93px;
    z-index: 3;
    --hover-translate-x: 0;
    --hover-translate-y: 0;
}

.manager-image-11 {
    left: 151.98px;
    top: 89.41px;
    width: 226.89px;
    height: 196.33px;
    z-index: 2;
}

.manager-image-12 {
    left: 105.7px;
    top: 53.25px;
    width: 61.08px;
    height: 49.62px;
    z-index: 1;
    --hover-translate-x: 0;
    --hover-translate-y: 0;
}

.manager-rotated {
    transform: rotate(-5deg);
}

.manager-static-container:hover .manager-rotated:not(.manager-image-11) {
    transform: rotate(-5deg) scale(1.2) translate(var(--hover-translate-x, 0), var(--hover-translate-y, 0));
}

@media (max-width: 992px) {
    .website-transfer-container {
        text-align: center;
        overflow: visible;
    }
    
    .website-transfer-wrapper {
        flex-direction: column;
    }
    
    .website-transfer-content,
    .website-transfer-image-container {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin: 0;
        
    }
    
    .website-transfer-content {
        padding: 3rem 1.5rem !important;
    }
    
    .website-transfer .btn-transfer {
        display: inline-block;
        margin: 0;
    }
    
    .manager-static-container {
        width: 350px;
        height: 221px;
        margin-top: 0rem;
        margin-bottom: 0;
        transform: none;
    }
    
    .manager-static-image {
        pointer-events: none;
        transition: none !important;
    }
    
    .manager-rotated {
        transform: rotate(-5deg);
    }
    
    .manager-image-1 {
        left: calc(134px * 0.7);
        top: calc(228px * 0.7);
        width: calc(76.5px * 0.7);
        height: calc(72.89px * 0.7);
    }
    
    .manager-image-2 {
        left: calc(181.59px * 0.7);
        top: calc(0px * 0.7);
        width: calc(48.59px * 0.7);
        height: calc(48.59px * 0.7);
    }
    
    .manager-image-3 {
        left: calc(0px * 0.7);
        top: calc(205px * 0.7);
        width: calc(111.19px * 0.7);
        height: calc(65.12px * 0.7);
    }
    
    .manager-image-4 {
        left: calc(10.01px * 0.7);
        top: calc(34px * 0.7);
        width: calc(286.86px * 0.7);
        height: calc(260px * 0.7);
    }
    
    .manager-image-5 {
        left: calc(316.85px * 0.7);
        top: calc(180.52px * 0.7);
        width: calc(100.35px * 0.7);
        height: calc(76.19px * 0.7);
    }
    
    .manager-image-6 {
        left: calc(325.58px * 0.7);
        top: calc(70.06px * 0.7);
        width: calc(136.81px * 0.7);
        height: calc(85.67px * 0.7);
    }
    
    .manager-image-7 {
        left: calc(325.58px * 0.7);
        top: calc(24.33px * 0.7);
        width: calc(138.37px * 0.7);
        height: calc(39.44px * 0.7);
    }
    
    .manager-image-8 {
        left: calc(76.77px * 0.7);
        top: calc(115.44px * 0.7);
        width: calc(114.96px * 0.7);
        height: calc(50.54px * 0.7);
    }
    
    .manager-image-9 {
        left: calc(405.07px * 0.7);
        top: calc(235.48px * 0.7);
        width: calc(54.12px * 0.7);
        height: calc(79.5px * 0.7);
    }
    
    .manager-image-10 {
        left: calc(218px * 0.7);
        top: calc(141px * 0.7);
        width: calc(93px * 0.7);
        height: calc(93px * 0.7);
    }
    
    .manager-image-11 {
        left: calc(151.98px * 0.7);
        top: calc(89.41px * 0.7);
        width: calc(226.89px * 0.7);
        height: calc(196.33px * 0.7);
    }
    
    .manager-image-12 {
        left: calc(105.7px * 0.7);
        top: calc(53.25px * 0.7);
        width: calc(61.08px * 0.7);
        height: calc(49.62px * 0.7);
    }
    
    .manager-static-container:hover .manager-static-image:not(.manager-image-11) {
        transform: none;
    }
    
    .manager-static-container:hover .manager-rotated:not(.manager-image-11) {
        transform: rotate(-5deg);
    }
    
    .website-transfer-title {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .manager-static-container {
        width: 280px;
        height: 176px;
    }
    
    .manager-image-1 {
        left: calc(134px * 0.56);
        top: calc(228px * 0.56);
        width: calc(76.5px * 0.56);
        height: calc(72.89px * 0.56);
    }
    
    .manager-image-2 {
        left: calc(181.59px * 0.56);
        top: calc(0px * 0.56);
        width: calc(48.59px * 0.56);
        height: calc(48.59px * 0.56);
    }
    
    .manager-image-3 {
        left: calc(0px * 0.56);
        top: calc(205px * 0.56);
        width: calc(111.19px * 0.56);
        height: calc(65.12px * 0.56);
    }
    
    .manager-image-4 {
        left: calc(10.01px * 0.56);
        top: calc(34px * 0.56);
        width: calc(286.86px * 0.56);
        height: calc(260px * 0.56);
    }
    
    .manager-image-5 {
        left: calc(316.85px * 0.56);
        top: calc(180.52px * 0.56);
        width: calc(100.35px * 0.56);
        height: calc(76.19px * 0.56);
    }
    
    .manager-image-6 {
        left: calc(325.58px * 0.56);
        top: calc(70.06px * 0.56);
        width: calc(136.81px * 0.56);
        height: calc(85.67px * 0.56);
    }
    
    .manager-image-7 {
        left: calc(325.58px * 0.56);
        top: calc(24.33px * 0.56);
        width: calc(138.37px * 0.56);
        height: calc(39.44px * 0.56);
    }
    
    .manager-image-8 {
        left: calc(76.77px * 0.56);
        top: calc(115.44px * 0.56);
        width: calc(114.96px * 0.56);
        height: calc(50.54px * 0.56);
    }
    
    .manager-image-9 {
        left: calc(405.07px * 0.56);
        top: calc(235.48px * 0.56);
        width: calc(54.12px * 0.56);
        height: calc(79.5px * 0.56);
    }
    
    .manager-image-10 {
        left: calc(218px * 0.56);
        top: calc(141px * 0.56);
        width: calc(93px * 0.56);
        height: calc(93px * 0.56);
    }
    
    .manager-image-11 {
        left: calc(151.98px * 0.56);
        top: calc(89.41px * 0.56);
        width: calc(226.89px * 0.56);
        height: calc(196.33px * 0.56);
    }
    
    .manager-image-12 {
        left: calc(105.7px * 0.56);
        top: calc(53.25px * 0.56);
        width: calc(61.08px * 0.56);
        height: calc(49.62px * 0.56);
    }
}

/* 4 секция - отзывы */
.reviews-section {
    margin-top: 3rem;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #008dd2;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 1000;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.review {
    background-color: #f3f7ff;
    border-radius: 10px;
    padding: 70px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.review-avatar {
    position: absolute;
    top: -80px;
    left: 30%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 9px solid #f3f7ff;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
}

.review-text-container {
    position: relative;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.review-text {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 1rem;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-container {
    text-align: center;
    margin-top: 1rem;
}

.read-more-btn {
    background: none;
    border: none;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}
.read-more-btn:hover {
    color: #008dd2;
    text-decoration: underline;
}

.review-author {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.review-position {
    font-size: 14px;
    line-height: 1.2;
}



@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .review-avatar img {
        margin: 0 0 0 0;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review {
        margin-top: 80px;
    }
    .review-avatar img {
        margin: 0 0 0 0;
    }
}

/*6 секция - Зачем нужен оф сайт и тд*/
.why-website-section {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative; 
}

.why-website-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, white 50%, #d8e3f1 50%);
    z-index: -1; 
}

.tabs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    overflow: hidden;
    position: relative; 
}

.tab-btn {
    padding: 12px 10px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1.2;
    transition: all 0s ease;
    text-align: left;
    border-right: 1px solid #fff;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #7FB3D5;
    border-top-left-radius: 20px; 
    border-top-right-radius: 20px; 
    position: relative; 
}

.tab-btn:nth-child(1) {
    background-color: #fff;
}

.tab-btn:nth-child(2) {
    background-color: #e5ecf5;
}

.tab-btn:nth-child(3) {
    background-color: #d8e3f1;
}

.tab-btn.active {
    font-weight: lighter !important;
    position: relative;
    color: #008dd2;
    z-index: 1; 
     box-shadow: 0 0 15px rgba(128, 131, 133, 0.2);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: white;
    z-index: 2; 
}

        .tab-content {
            display: none;
            padding: 30px;
            border-radius: 15px;
            animation: fadeIn 0s;
        }
        
        .tab-content.active {
            display: block;
        }
        
        
        .tab-content p {
            line-height: 1.7;
            font-size: 1.5rem;
        }
        .header-with-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-with-button h2 {
        color: #f95b0d ;
            font-size: 1.5rem;
            margin-top: 1rem;
            margin-bottom: 1rem;
            font-weight: bold;
    }
    
    .create-btn {
        background-color: white;
        color: #6e9bba;
        border: none;
        padding: 8px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 1.5rem;
        transition: background-color 0s;
        white-space: nowrap;
        box-shadow: 0 0 8px rgba(123, 159, 205, 0.31);
    }
    
 @media (hover: hover) and (pointer: fine) {
    .create-btn:hover {
        background-color: #008dd2;
        color: #fff;
    }
}
    
    @media (max-width: 600px) {
        .header-with-button {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .create-btn {
            margin-top: 10px;
            align-self: flex-end;
        }
    }
        
        @keyframes fadeIn {
            from {opacity: 0;}
            to {opacity: 1;}
        }
        
        @media (max-width: 768px) {
    .tabs-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        background: #f5f5f5;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        padding: 12px 15px;
        white-space: normal;
    }
}
@media (max-width: 900px) {
    .tabs-container {
        flex-direction: row;
    }
    
    .tab-btn {
        font-size: 16px;
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        padding: 8px 5px;
    }
    .create-btn {
        margin-bottom: 1rem;
    }
}
@media (max-width: 480px) {
    .tabs-container {
        flex-direction: row;
    }
    
    .tab-btn {
        font-size: 16px;
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        padding: 8px 5px;
        
    }
}

/* лучшие сайты образ. учреждений */

.best-grid-org {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, auto);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .best-cell-org {
            background-color: #f8f9fa;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            min-height: 12.8rem;
        }
        
        .best-container-org {
            display: flex;
            height: 100%;
        }
          .best-cell-org {
            position: relative;
            height: 100%;
            transition: all 0s ease;
            box-sizing: border-box;
        }
        
        .best-container-org {
            position: relative;
            height: 100%;
            overflow: hidden; 
        }
        
        .best-container-org a {
            color: #008dd2;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
            margin: 1rem 15rem 1rem 1rem;
            max-width: calc(100% - 15rem); 
            position: relative;
            z-index: 2;
            font-size: 1.5rem;
            line-height: 1.2;
        }
        
        .best-container-org img {
            position: absolute;
            bottom: -4rem;
            right: -4rem;
            max-width: 16rem; 
            height: auto;
            border: none;
            filter: grayscale(100%);
            transition: filter 0.5s ease;
            z-index: 1;
            object-fit: contain;
        }
  
        @media (hover: hover) and (pointer: fine){
       .best-cell-org:hover a {
            color: #f95b0d; 
        }
        
        .best-cell-org:hover img {
            filter: grayscale(0%); 
        }
        }
             @media (max-width: 768px) {
            .best-grid-org {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .best-cell-org {
                height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .best-grid-org {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .best-cell-org {
                height: 250px;
            }
        }
        
         @media (max-width: 900px) {
            .best-grid-org {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }
            
            .best-cell-org {
                min-height: 15rem;
            }
            
            .best-container-org {
                padding: 0.1rem;
            }
            
            .best-container-org a {
                margin: 1rem 8rem 1rem 1rem;
                max-width: calc(100% - 9rem);
                font-size: 0.9rem;
            }
            
            .best-container-org img {
                max-width: 15rem;
                bottom: -3rem;
                right: -3rem;
            filter: none;
            }
        }

        @media (max-width: 480px) {
            .best-container-org a {
                margin: 1rem 6rem 1rem 1rem;
                max-width: calc(100% - 7rem);
                font-size: 0.8rem;
            }
            
            .best-container-org img {
                max-width: 12rem;
                bottom: -2rem;
                right: -2rem;
            }
        }
        /* лучшие сайты учителей */
.best-grid-teacher {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
     .best-cell-teacher {
    position: relative;
    min-height: 12.8rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0s ease;
}

.best-container-teacher, 
.wbest-container-teacher {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: rgb(255, 255, 255);
    transition: all 0s ease;
}

        
        .teacher-label {
            position: absolute;
            top: 0.5rem;
            left: 0.5rem;
            background: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 1rem;
            z-index: 1;
            color: #008dd2  ;
        }
        
        .teacher-name {
            position: absolute;
            bottom: 0.5rem;
            left: 0.5rem;
            background: white;
            padding: 8px 12px;
            border-radius: 10px;
            font-size: 1.5rem;
            line-height: 1.3;
            z-index: 1;
        }
        
        .last-name {
            font-weight: 100;
            font-size: 1.5rem;
            text-transform: uppercase;
            display: block;
            color: #f95b0d ;
        }
        
        .full-name {
            display: block;
            color: #f95b0d ;
        }
        
        .teacher-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
        }
    @media (hover: hover) and (pointer: fine){
        .best-cell-teacher:hover .best-container-teacher::before,
.best-cell-teacher:hover .wbest-container-teacher::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--teacher-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}
    }
        @media (max-width: 768px) {
            .best-grid-teacher {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .best-cell-teacher {
                height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .best-grid-teacher {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .best-cell-teacher {
                height: 250px;
            }
        }
        
         @media (max-width: 900px) {
            .best-grid-teacher {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }
            
            .best-cell-teacher {
                min-height: 15rem;
            }
            
            .best-container-teacher {
                padding: 1.5rem;
            }
            
            .best-container-teacher a {
                margin: 1rem 8rem 1rem 1rem;
                max-width: calc(100% - 9rem);
                font-size: 0.9rem;
            }
            
            .best-container-teacher img {
                max-width: 15rem;
                bottom: -3rem;
                right: -3rem;
            }
        }

        @media (max-width: 480px) {
            .best-container-teacher a {
                margin: 1rem 6rem 1rem 1rem;
                max-width: calc(100% - 7rem);
                font-size: 0.8rem;
            }
            
            .best-container-teacher img {
                max-width: 12rem;
                bottom: -2rem;
                right: -2rem;
            }
        }



/* 7 секция - СМОТРЕТЬ О КОНСТРУКТОРЕ САЙТОВ */
.videos-section {
    clip-path: inset(0 -100vmax);
    padding: 3rem 0;
    margin: 1rem 0;
    background-color: #f3f7ff;
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.videos-title-cm {
    text-align: center;
    color: #008dd2;
    margin-bottom: 2rem;
    font-weight: 1000;
    font-size: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-card {
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-preview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-container:hover .video-play-button {
    filter: brightness(0.8);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.video-play-button svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 0rem;
    border-radius: 0 0 8px 8px;
    margin-left: 0;
    margin-right: 0;
}

.video-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    font-weight: 100;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 1.4em; 
    
    display: -moz-box;
    -moz-box-orient: vertical;
    -moz-line-clamp: 1;
}

.video-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.video-title {
    position: relative;
    cursor: pointer;
}

.video-title:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.667rem; 
    white-space: normal;
    width: 250px;
    max-width: 90vw;
    z-index: 1000;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-weight: 100;
}

.video-title:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    margin-bottom: -5px;
    z-index: 1001;
}

@media (max-width: 900px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .video-play-button svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 600px) {
    .videos-section {
        padding: 0.5rem 0;
    }
    
    .videos-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-info {
        padding: 0.75rem;
    }
    
    .video-title {
        font-size: 0.9rem;
    }
    
    .video-title:hover::after {
        font-size: 0.6rem;
        width: 200px;
    }
    
    .video-play-button svg {
        width: 50px;
        height: 50px;
    }
}

/* 8 секция - полезные статьи и лайфхаки */
.lifehacks-section {
    max-width: 1200px;
    margin: 2rem auto 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.lifehacks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: -1;
}

.lifehacks-tabs {
    display: flex;
    background: #fff;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.lifehacks-tab-btn {
    padding: 30px 20px;
    background: #fff;
    filter: brightness(0.95);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 100;
    transition: all 0.3s ease;
    flex: 1;
    text-align: left;
    position: relative;
    color: #7FB3D5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0;
}

.lifehacks-tab-btn h2 {
    font-weight: 1000;
    margin: 0;
    margin-bottom: 5px;
}

.lifehacks-tab-btn p {
    margin: 0;
}

.lifehacks-tab-btn.active {
    color: #008dd2;
    filter: none;
    z-index: 3;
}

.lifehacks-tab-btn:nth-child(2).active {
    color: #f95b0d;
    filter: none;
}

.lifehacks-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    background: #fff;
    transition: width 0.3s ease;
}

.lifehacks-tab-btn.active::after {
    width: 100%;
}

.lifehacks-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 20px 20px 0 0;
}

.lifehacks-content.active {
    display: block;
}

.lifehacks-new-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Общие стили для карточек */
.lifehack-new-card {
    border-radius: 10px;
    padding: 10px;
    position: relative;
    height: 264px;
}

.lifehack-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.lifehack-new-title {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: justify;
    flex: 1;
    margin: 0;
}

.lifehack-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.lifehack-new-description {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 40px;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    text-overflow: ellipsis;
}

.lifehack-new-link {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #8b8b8b;
    text-decoration: underline;
    font-weight: 100;
    font-size: 0.9rem;
}

.lifehack-new-link:hover {
    filter: brightness(50%);
}

#lifehacks-tab1 .lifehack-new-card {
    background: #e6f3fd;
}

#lifehacks-tab1 .lifehack-new-title {
    color: #008dd2;
}

#lifehacks-tab2 .lifehack-new-card {
    background: #fde9df;
}

#lifehacks-tab2 .lifehack-new-title {
    color: #f95b0d;
}

@media (max-width: 900px) {
    .lifehacks-new-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lifehack-new-card {
        min-height: 160px;
        padding: 15px;
    }
    
    .lifehack-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .lifehacks-new-grid {
        grid-template-columns: 1fr;
    }
    
    .lifehack-new-card {
        min-height: 150px;
        padding: 15px;
    }
    
    .lifehack-new-title {
        font-size: 0.85rem;
    }
    
    .lifehack-new-description {
        font-size: 0.85rem;
    }
    
    .lifehack-image {
        width: 45px;
        height: 45px;
    }
}


/* 9 секция - Обучение "Я автор сайта" */

.learning-section {
    position: relative;
    margin: 2rem auto;
    padding: 30px;
    background-color: white;
    border: 3px solid #008dd2;
    border-radius: 10px;
    transition: all 0s ease;
    overflow: hidden;
    min-height: 350px;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.learning-section h2 {
    color: #008dd2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 1000;
    font-size: 2rem;
    transition: color 0s ease;
}

.learning-orange {
    color: #f95b0d;
}

.learning-section.active .learning-orange {
    color: #008dd2;
}

.learning-section p {
    color: #f95b0d;
    transition: color 0s ease;
    font-size: 1.2rem;
    line-height: 0.5;
    margin: 0.5rem 0;
}

.learn-more-btn {
    position: static;
    padding: 0.5rem 1rem;
    background-color: #f95b0d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0s ease;
    margin-top: 2rem;
}

.hidden-content {
    position: absolute;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.top-right-label {
    top: -10rem;
    right: 4rem;
    margin-top: 2rem;
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0s ease; 
}

.bottom-center-label {
    bottom: 3rem;
    left: 55%; 
    transform: translateX(-50%) translateY(100px);
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0s ease;
}

.learning-section.active {
    background-color: #c5e5ff;
    border-color: #c5e5ff;
    text-align: left;
    display: block;
}

.learning-section.active h2 {
    color: #008dd2;
    line-height: 1;
    font-weight: 1000;
    margin-bottom: 2rem;
}
.learning-section.active p {
    color: #008dd2;
    line-height: 1;
    font-weight: bold;
}

.learning-section.active .learn-more-btn {
    background-color: white;
    color: #008dd2;
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    margin-top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.learning-section.active .learn-more-btn:hover {
    background-color: #eff8ff;
    filter: none;
}

.learning-section.active .hidden-content {
    opacity: 1;
    pointer-events: auto;
}

.learning-section.active .top-right-label {
    top: 20px;
    transform: translateY(0);
}

.learning-section.active .bottom-center-label {
    transform: translateX(-50%) translateY(0);
}

.learning-section.active .hidden-content span {
    color: #f95b0d !important;
}

.icon {
    width: 4rem;
    height: 4rem;
    margin-left: 1rem;
    vertical-align: middle;
}

.learning-img {
    position: absolute;
    transition: all 0.5s ease;
}

.learning-img-3 {
    top: 0;
    right: 0;
    max-height: 150px;
}

.learning-img-4 {
    right: 20%;
    top: 10%;
    max-height: 7rem;
    transition: all 0.5s ease;
}

.learning-img-5 {
    bottom: 0;
    left: 0;
    max-height: 100%;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.5s ease;
}

.learning-img-6 {
    bottom: 0;
    right: 0;
    max-height: 90%;
}

.learning-section.active .learning-img-4 {
    position: absolute;
    right: 52%;
    top: 40%;
    transform: translateY(-50%);
    max-height: 7rem;
}

.learning-section.active .learning-img-5 {
    opacity: 0;
    transform: translateX(-100%);
}

.learning-section:not(.active) .learning-img-5 {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1000px) {
    .learning-section {
        min-height: 25rem;
        padding: 15px;
    }

    .learning-section.active {
        min-height: 25rem;
    }

    .learning-section h2 {
        font-size: 1.2rem;
    }

    .learning-section p {
        font-size: 0.9rem;
    }

    .learn-more-btn {
        font-size: 1rem;
    }

    .learning-img-3 {
        max-height: 30%;
    }

    .learning-img-4 {
        max-height: 2.5rem;
        right: 1%;
        top: 30%;
    }

    .learning-img-5 {
        max-height: 40%;
}

    .learning-img-6 {
        max-height: 50%;
    }

    .learning-section.active .learning-img-4 {
        max-height: 2.5rem;
        right: 1%;
        top: 23%;
    }
     .learning-section.active .learning-img-6 {
        max-height: 40%;
        right: 0%;
        bottom: 0%;
    }
     .learning-section.active .learning-img-3 {
        max-height: 20%;
        right: 0%;
        top: 0%;
    }

    .top-right-label {
        margin-top: 7rem;
        right: 0.2rem;
        padding: 4px 8px;
    }

    .top-right-label span {
        font-size: 0.9rem !important;
    }

    .bottom-center-label {
        margin-bottom: 20%;
        padding: 4px 8px;
    }

    .bottom-center-label span {
        font-size: 0.9rem !important;
    }

    .hidden-content img {
        width: 2.5rem !important;
        height: 2.5rem !important;
        margin-left: 0.5rem !important;
    }
    .learn-more-btn:hover {
        filter: none;
    }
    .learning-section.active .learn-more-btn:hover {
        background-color: #fff;
        filter: none;
    }
}
/* 10 секцяи - попробуй сейчас */
.try-now-section {
    text-align: center;
    padding-bottom: 100px; 
    background-color: white; 
}

.gradient-bg {
    height: 150px; 
    background: linear-gradient(to top, #e3f2fd, white);
    border-bottom: 4px solid #e3f2fd;
    z-index: 0;
}

.try-now-title {
    font-weight: 1000;
}

.try-now-description {
    line-height: 1;
}

.try-now-button {
    text-decoration: none;
    border: none;
    cursor: pointer;
    background-color: #008dd2 !important; 
    color: white !important; 
    border-radius: 10px !important;
    height: auto;
}


@media (hover: hover) and (pointer: fine){
.try-now-button:hover {
    filter: brightness(0.9);
}
}

@media (max-width: 768px) {
    .try-now-title {
        font-size: 2rem !important;
    }
    
    .try-now-description {
        font-size: 1rem !important;
        margin-bottom: 0.2rem;
    }
    .try-now-button {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* Подвал */
.footer {
    background-color: #ffffff;
    color: #008dd2;
    margin-top: 3rem;
    padding: 0 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-top: 3rem;
}

.footer-logo-col,
.footer-links-col,
.footer-social-col {
    padding: 0 15px;
    margin-bottom: 2rem;
}

.footer-logo-col {
    flex: 0 0 auto;
    padding-right: 2rem;
}

.footer-links-col {
    flex: 1 0 0;
    min-width: 200px;
}

.footer-social-col {
    flex: 1 0 0;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-img {
    width: auto;
    height: 2rem;
    object-fit: contain;
}

.footer-logo-label {
    width: auto;
    height: 1rem;
    object-fit: contain;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-link-item {
    margin-bottom: 0.5rem;
}

.footer-link-item a,
.footer-test-link a {
    color: #7FB3D5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social-icons a {
    color: #7FB3D5;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: #7FB3D5;
    font-size: 0.8rem;
}
@media (hover: hover) and (pointer: fine){
.footer-social-icons a:hover {
    color: #608299;
}
.footer-link-item a:hover,
.footer-test-link a:hover {
    color: #608299;
    text-decoration: underline;
}

}
@media (max-width: 768px) {
    .footer-logo-col {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-right: 15px;
        margin-bottom: 0rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links-col,
    .footer-social-col {
        flex: 0 0 50%;
        margin-bottom: 0rem;
    }
    
    .footer-section,
    .footer-social-icons {
        align-items: center;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-links-col,
    .footer-social-col {
        flex: 0 0 100%;
    }
    
    .footer-social-wrapper {
        align-items: center;
        text-align: center;
    }
}


#modal_reg {
        background: #fff;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: none;
        overflow: hidden;
        outline: 0;
        overflow-x: hidden;
        overflow-y: auto;
        margin: 30px 10px;
        border-radius: 20px;
        box-shadow: 0px 0px 15px rgba(69, 69, 69, 0.5);
    }

    .block_labels label div,
    .block_label_div {
        border: 3px solid #F95B0C;
        cursor: pointer;
        padding: 20px;
        font-size: 110%;
        border-radius: 15px;
    }

    .block_labels label div:hover,
    .block_label_div:hover {
        background: rgba(248, 244, 236, 1);
    }



    .btn-warning {
        background-color: #f77331;
        border-color: #f06520;
        color: #fff;
    }

    .btn-warning:hover {
        background-color: #ec601a;
        border-color: #f06520;
        color: #ffe1d2;
    }

    .text-warning {
        color: #e89221 !important;
        color: #F95B0C !important;

    }


    .block_label_div {
        cursor: default;
        height: auto;
    }

    ul.wide li {
        margin-bottom: 0.5rem;
    }

    .block_labels input {
        display: none;
    }

    .block_labels input[type="radio"]:checked+label div {
        background: #64b7ff;
    }

    .publications {
        border-radius: 15px;
        padding: 15px 20px;
        background: rgba(248, 244, 236, 1);
    }