/* ==================== RESET ==================== */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(43, 152, 165, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(80, 67, 137, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(43, 152, 165, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(43, 152, 165, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(80, 67, 137, 0.06) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(43, 152, 165, 0.08) 2px, transparent 2px),
        radial-gradient(circle, rgba(80, 67, 137, 0.08) 2px, transparent 2px);
    background-size: 150px 150px, 200px 200px;
    background-position: 0 0, 75px 100px;
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    --x-1: rgba(255, 255, 255, 0.12);
    --x-131313: rgba(19, 19, 19, 1);
    --x-828282: rgba(130, 130, 130, 1);
}

/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Rosatom';
    src: url('../fonts/Rosatom-Regular_W.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Rosatom';
    src: url('../fonts/Rosatom-Bold_W.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* ==================== FIRST BLOCK ==================== */
.element-block {
    position: relative;
    width: 1920px;
    height: 979px;
    margin: 50px auto 0;
}

.element-block .element {
    position: absolute;
    top: 50px;
    left: -302px;
    width: 2414px;
    height: 1179px;
}

.element-block .atom {
    position: absolute;
    top: 0;
    left: 1219px;
    width: 1195px;
    height: 658px;
    border-radius: 70px;
    border: 3px solid;
    border-color: var(--x-1);
    backdrop-filter: blur(20px) brightness(100%);
    -webkit-backdrop-filter: blur(20px) brightness(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.element-block .decorative-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 1195px;
    height: 658px;
    border-radius: 70px;
    border: 3px solid;
    border-color: var(--x-1);
    backdrop-filter: blur(20px) brightness(100%);
    -webkit-backdrop-filter: blur(20px) brightness(100%);
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.5) 100%
    );
    opacity: 0.1;
}

.element-block .group {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: 0;
}

.element-block .logo {
    position: absolute;
    top: 271px;
    left: 1440px;
    width: 208px;
    height: 77px;
    z-index: 2;
}

.element-block .decorative-element {
    position: absolute;
    width: 1px;
    height: 1px;
    top: 500px;
    left: 6364px;
}

.element-block .image {
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    top: 50px;
    left: -200px;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.element-block .decorative-line {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
}

.element-block .online-format {
    display: flex;
    width: 410px;
    height: 108px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 41px 58px;
    position: absolute;
    top: 546px;
    left: 1225px;
    background-color: #c4c4c41a;
    border-radius: 0px 10px 10px 65px;
    border: 1px solid;
    border-color: #ffffff26;
    backdrop-filter: blur(20px) brightness(100%);
    -webkit-backdrop-filter: blur(20px) brightness(100%);
    z-index: 3;
}

.element-block .text-wrapper {
    position: relative;
    width: fit-content;
    margin-top: -5.50px;
    margin-bottom: -3.50px;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 35.2px;
    white-space: nowrap;
}

.element-block .frame {
    position: absolute;
    width: 29.58%;
    height: 9.75%;
    top: 6.19%;
    left: 17.39%;
}

.element-block .div {
    width: 84.45%;
    top: 0;
    left: 15.55%;
    position: absolute;
    height: 43.48%;
    background-color: #2a9aa629;
    border: 1px solid;
    border-color: #49538e;
}

.element-block .decorative-rectangle-2 {
    width: 36.27%;
    top: 56.52%;
    left: 0;
    position: absolute;
    height: 43.48%;
    background-color: #2a9aa629;
    border: 1px solid;
    border-color: #49538e;
}

.element-block .event-info {
    display: flex;
    flex-direction: column;
    width: 780px;
    align-items: flex-start;
    gap: 50px;
    position: absolute;
    top: 115px;
    left: 50px;
}

.element-block .div-2 {
    display: flex;
    flex-direction: column;
    width: 639px;
    align-items: flex-start;
    gap: 50px;
    position: relative;
    flex: 0 0 auto;
}

.element-block .title {
    position: relative;
    width: 786px;
    margin-top: -1.00px;
    margin-right: -147.00px;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: var(--x-131313);
    font-size: 48px;
    letter-spacing: 0;
    line-height: normal;
}

.element-block .subtitle {
    position: relative;
    align-self: stretch;
    height: 83px;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: var(--x-828282);
    font-size: 24px;
    letter-spacing: 0;
    line-height: 36px;
}

.element-block .view {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    position: relative;
    flex: 0 0 auto;
}

.element-block .date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
}

.element-block .img {
    position: relative;
    width: 63px;
    height: 70.5px;
    margin-top: -1.50px;
    margin-bottom: -1.50px;
    margin-left: -1.50px;
    margin-right: -1.50px;
}

.element-block .date-and-time {
    display: inline-flex;
    align-items: center;
    gap: 21px;
    position: relative;
    flex: 0 0 auto;
}

.element-block .date-and-time-2 {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    position: relative;
    flex: 0 0 auto;
}

.element-block .date-2 {
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: var(--x-131313);
    font-size: 24px;
    letter-spacing: 0;
    line-height: normal;
}

.element-block .time {
    position: relative;
    width: fit-content;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: var(--x-131313);
    font-size: 24px;
    letter-spacing: 0;
    line-height: normal;
}

.element-block .registration-button-wrapper {
    all: unset;
    box-sizing: border-box;
    display: flex;
    width: 400px;
    height: 80px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 23px 41px;
    position: relative;
    border-radius: 5px;
    background: linear-gradient(
        97deg,
        rgba(43, 152, 165, 1) 21%,
        rgba(80, 67, 137, 1) 100%
    );
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    z-index: 9999;
}

.element-block .registration-button-wrapper:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(43, 152, 165, 0.4);
    filter: brightness(1.1);
}

.element-block .registration-button {
    position: relative;
    width: fit-content;
    margin-top: -0.50px;
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 1.10px;
    line-height: 33px;
    white-space: nowrap;
}

/* ==================== SECOND BLOCK ==================== */
.block-2 {
    position: relative;
    width: 1920px;
    height: 800px;
    margin: 180px auto 0;
    background: transparent;
}

.block-2 .decorative-line-2 {
    position: absolute;
    width: 2500px;
    top: 315px;
    left: -200px;
    pointer-events: none;
    z-index: 0;
}

.block-2 .decorative-line-2 img {
    width: 100%;
    height: auto;
}

.block-2 .atom-icon {
    position: absolute;
    width: 288px;
    height: 288px;
    top: 33px;
    right: 177px;
    opacity: 0;
    transform: translate(100px, -50px) rotate(21.313deg);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.block-2 .atom-icon.animate {
    opacity: 1;
    transform: translate(0, 0) rotate(21.313deg);
}

.block-2 .atom-icon img {
    width: 100%;
    height: 100%;
}

.block-2 .purple-badge {
    position: absolute;
    top: -70px;
    left: 603px;
    opacity: 0;
    transform: translate(-80px, 40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.block-2 .purple-badge.animate {
    opacity: 1;
    transform: translate(0, 0);
}

.block-2 .purple-glossy {
    position: absolute;
    width: 59px;
    height: 66px;
    top: -50px;
    left: 5px;
}

.block-2 .union-bg {
    position: absolute;
    width: 228px;
    height: 80px;
    top: -18px;
    left: -136px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.block-2 .badge-text {
    position: absolute;
    top: -13px;
    left: -136px;
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    color: var(--x-828282);
    text-align: center;
    margin: 0;
    z-index: 1;
    width: 228px;
    padding: 0 20px;
}

.block-2 .block-2-header {
    position: absolute;
    top: 0;
    left: 239px;
    width: 1116px;
    display: flex;
    align-items: flex-start;
    gap: 170px;
}

.block-2 .block-2-title {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 36px;
    line-height: normal;
    color: var(--x-131313);
    margin: 0;
    flex-shrink: 0;
}

.block-2 .block-2-description {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: var(--x-828282);
    margin: 0;
    max-width: 500px;
}

.block-2 .webinar-card {
    position: absolute;
    width: 847px;
    height: 400px;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0px 18px 45px -10px rgba(0, 0, 0, 0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 30px;
    z-index: 2;
}

.block-2 .webinar-title {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
    color: var(--x-131313);
    text-align: center;
    margin: 0;
}

.block-2 .webinar-subtitle {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 32.4px;
    color: var(--x-131313);
    text-align: center;
    margin: 0;
}

.block-2 .soon-button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #377e9d;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}

.block-2 .soon-button img {
    width: 22px;
    height: 14px;
    transition: filter 0.3s ease;
}

.block-2 .soon-button span {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 16px;
    line-height: 28.8px;
    color: #377e9d;
}

.block-2 .soon-button:hover {
    background-color: #377e9d;
}

.block-2 .soon-button:hover span {
    color: white;
}

.block-2 .soon-button:hover img {
    filter: brightness(0) invert(1);
}

.block-2 .calendar-card {
    position: absolute;
    width: 450px;
    height: 500px;
    top: 650px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #377e9d;
    border-radius: 10px;
    box-shadow: 0px 18px 45px -10px rgba(0, 0, 0, 0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    z-index: 2;
}

.block-2 .qr-code {
    width: 200px;
    height: 200px;
    border: 2px solid #f5f3f7;
    border-radius: 10px;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.block-2 .qr-code p {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 18px;
    line-height: 32.4px;
    color: black;
    margin: 0;
}

.block-2 .calendar-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-align: center;
}

.block-2 .calendar-title {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 22px;
    line-height: normal;
    color: var(--x-131313);
    margin: 0;
}

.block-2 .calendar-subtitle {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--x-828282);
    margin: 0;
}

.block-2 .calendar-button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #377e9d;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}

.block-2 .calendar-button img {
    width: 22px;
    height: 23px;
    transition: filter 0.3s ease;
}

.block-2 .calendar-button span {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 18px;
    line-height: 32.4px;
    color: #377e9d;
}

.block-2 .calendar-button:hover {
    background-color: #377e9d;
}

.block-2 .calendar-button:hover span {
    color: white;
}

.block-2 .calendar-button:hover img {
    filter: brightness(0) invert(1);
}

/* ==================== THIRD BLOCK ==================== */
.block-3 {
    position: relative;
    width: 1920px;
    height: 600px;
    margin: 100px auto 0;
    background: transparent;
}

.block-3 .decorative-line-3 {
    position: absolute;
    width: 2500px;
    top: 240px;
    left: -200px;
    pointer-events: none;
    z-index: 0;
    transform: rotate(0deg);
}

.block-3 .decorative-line-3 img {
    width: 100%;
    height: auto;
    display: block;
}

.block-3 .decorative-bg-3 {
    position: absolute;
    width: 648px;
    height: 291px;
    top: 20px;
    left: 302px;
    background-color: rgba(2, 195, 218, 0.05);
    border-radius: 10px;
}

.block-3 .circle-icon-3 {
    position: absolute;
    width: 302px;
    height: 302px;
    top: -186px;
    left: 90px;
    opacity: 0;
    transform: translate(-80px, -60px) rotate(341.678deg);
    transition: all 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.block-3 .circle-icon-3.animate {
    opacity: 1;
    transform: translate(0, 0) rotate(341.678deg);
}

.block-3 .circle-icon-3 img {
    width: 100%;
    height: 100%;
}

.block-3 .block-3-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.block-3 .block-3-header {
    position: absolute;
    top: -59px;
    left: 1205px;
    width: 550px;
}

.block-3 .block-3-title {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 36px;
    line-height: normal;
    color: var(--x-131313);
    margin: 0 0 30px 0;
}

.block-3 .block-3-description {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: var(--x-828282);
    margin: 0 0 30px 0;
}

.block-3 .block-3-description a {
    color: #377e9d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.block-3 .block-3-description a:hover {
    color: #2b98a5;
    text-decoration: underline;
}

.block-3 .lesson-card {
    position: absolute;
    width: 650px;
    height: 250px;
    top: 91px;
    left: 353px;
    background: white;
    border: 2px solid transparent;
    border-radius: 10px;
    background-image:
        linear-gradient(white, white),
        linear-gradient(97deg, #2B98A5 21%, #504389 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0px 18px 45px 0px rgba(0, 0, 0, 0.13);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-3 .lesson-card img {
    max-width: 100%;
    max-height: 190px;
}

.block-3 .lesson-button {
    all: unset;
    box-sizing: border-box;
    position: absolute;
    width: 330px;
    height: 70px;
    top: 390px;
    left: 1205px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 5px;
    background: linear-gradient(
        97deg,
        rgba(43, 152, 165, 1) 21%,
        rgba(80, 67, 137, 1) 100%
    );
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    z-index: 9999;
}

.block-3 .lesson-button span {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 30px;
    color: white;
    text-align: center;
}

.block-3 .lesson-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(43, 152, 165, 0.4);
    filter: brightness(1.1);
}

/* ==================== FOURTH BLOCK ==================== */
.block-4 {
    position: relative;
    width: 1920px;
    height: 629px;
    margin: 0px auto 0 auto;
    background: transparent;
}

.block-4 .decorative-line-4 {
    position: absolute;
    width: 2500px;
    top: 220px;
    left: -200px;
    pointer-events: none;
    z-index: 0;
    transform: rotate(180deg);
}

.block-4 .decorative-line-4 img {
    width: 100%;
    height: auto;
}

.block-4 .circle-icon-4 {
    position: absolute;
    width: 180px;
    height: 184px;
    top: 53px;
    left: 390px;
    opacity: 0;
    transform: translate(-100px, -50px) rotate(-22.813deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.block-4 .circle-icon-4.animate {
    opacity: 1;
    transform: translate(0, 0) rotate(-22.813deg);
}

.block-4 .circle-icon-4 img {
    width: 100%;
    height: 100%;
}

.block-4 .transparent-card {
    position: absolute;
    width: 1025px;
    height: 210px;
    top: 182px;
    left: -100px;
    background: linear-gradient(90deg, rgba(194, 166, 241, 0.05) 0%, rgba(194, 166, 241, 0.05) 100%);
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.block-4 .card-title {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 3.6px;
    margin: 0;
    text-align: center;
    background: linear-gradient(97deg, rgba(43, 152, 165, 1) 21%, rgba(80, 67, 137, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.block-4 .block-4-content {
    position: absolute;
    top: 191px;
    left: 1025px;
    width: 700px;
    z-index: 2;
}

.block-4 .block-4-text {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: var(--x-828282);
    margin: 0 0 30px 0;
}

.block-4 .program-button {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    width: auto;
    height: 70px;
    background: linear-gradient(97deg, rgba(43, 152, 165, 1) 21%, rgba(80, 67, 137, 1) 100%);
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    white-space: nowrap;
    z-index: 9999;
}

.block-4 .program-button span {
    font-family: "Rosatom", Helvetica;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1.1px;
    line-height: 1.5;
    color: white;
    text-align: center;
}

.block-4 .program-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(43, 152, 165, 0.4);
    filter: brightness(1.1);
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 100px 0 0 0;
    padding-bottom: 0;
    background: linear-gradient(97deg, rgba(43, 152, 165, 0.08) 21%, rgba(80, 67, 137, 0.08) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-sizing: border-box;
}

.footer-content {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-copyright {
    flex: 1;
    text-align: center;
}

.footer-copyright p {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--x-828282);
    margin: 0;
}

.footer-policy {
    flex: 0 0 auto;
}

.footer-links {
    flex: 0 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-policy a,
.footer-links a {
    font-family: "Rosatom", Helvetica;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--x-828282);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policy a:hover,
.footer-links a:hover {
    color: #2b98a5;
    text-decoration: underline;
}

/* ==================== MOBILE ADAPTATION ==================== */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    body {
        zoom: 1 !important;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .element-block {
        width: 100%;
        height: auto;
        padding: 0;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-x: hidden;
    }

    /* Блок с атомом сверху */
    .element-block .element {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    /* Текстовый блок снизу */
    .element-block .event-info {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        order: 2;
    }

    .element-block .div-2 {
        width: 100%;
        gap: 30px;
    }

    .element-block .title {
        width: 100%;
        font-size: 32px;
        margin: 0;
    }

    .element-block .subtitle {
        width: 100%;
        height: auto;
        font-size: 18px;
        line-height: 28px;
    }

    .element-block .view {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .element-block .img {
        width: 50px;
        height: 56px;
    }

    .element-block .date-2,
    .element-block .time {
        font-size: 18px;
    }

    .element-block .registration-button-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .element-block .atom {
        display: none;
    }

    .element-block .group {
        display: none;
    }

    .element-block .decorative-rectangle {
        display: none;
    }

    .element-block .logo {
        position: relative;
        top: 0;
        left: 0;
        width: 208px;
        height: 77px;
        margin: 40px 0 20px 0;
        display: block;
        z-index: 2;
        content: url('../images/Logo.svg');
    }

    .element-block .online-format {
        display: none;
    }

    .element-block .text-wrapper {
        font-size: 18px;
        line-height: 28px;
    }

    /* Скрываем декоративные элементы */
    .element-block .frame,
    .element-block .div,
    .element-block .decorative-rectangle-2,
    .element-block .decorative-element,
    .element-block .image {
        display: none;
    }

    /* Block 2 Mobile */
    .block-2 {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        margin-top: -50px;
    }

    .block-2 .decorative-line-2 {
        display: none;
    }

    .block-2 .atom-icon {
        position: absolute;
        width: 80px;
        height: 80px;
        top: 300px;
        right: 15px;
        transform: rotate(15deg);
        z-index: 1;
    }

    .block-2 .purple-badge {
        position: relative;
        width: 180px;
        height: 64px;
        top: 30px;
        left: 0;
        margin: 0 auto 30px;
        margin-left: calc(50%);
        transform: translateX(-50%);
    }

    .block-2 .purple-glossy {
        width: 40px;
        height: 44px;
        top: -15px;
        left: 70px;
    }

    .block-2 .union-bg {
        width: 180px;
        height: 64px;
        top: 0;
        left: 0;
    }

    .block-2 .badge-text {
        top: -5px;
        left: 0;
        font-size: 14px;
        line-height: 20px;
        width: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 64px;
    }

    .block-2 .block-2-header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .block-2 .block-2-title {
        font-size: 28px;
        margin: 0;
    }

    .block-2 .block-2-description {
        font-size: 16px;
        line-height: 28px;
        max-width: 100%;
    }

    .block-2 .webinar-card {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 40px;
        gap: 30px;
    }

    .block-2 .webinar-title {
        font-size: 20px;
    }

    .block-2 .webinar-subtitle {
        font-size: 16px;
    }

    .block-2 .calendar-card {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        top: 0;
        left: 0;
        transform: none;
    }

    /* Block 3 Mobile */
    .block-3 {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        margin: 0 auto;
    }

    .block-3 .decorative-line-3,
    .block-3 .decorative-bg-3,
    .block-3 .circle-icon-3 {
        display: none;
    }

    .block-3 .block-3-header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .block-3 .block-3-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .block-3 .block-3-description {
        font-size: 16px;
        line-height: 28px;
    }

    .block-3 .lesson-card {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        padding: 30px;
        margin-bottom: 30px;
    }

    .block-3 .lesson-card img {
        max-height: 150px;
    }

    .block-3 .lesson-button {
        position: relative;
        width: 100%;
        max-width: 100%;
        top: 0;
        left: 0;
    }

    .block-3 .lesson-button span {
        font-size: 18px;
    }

    /* Block 4 Mobile */
    .block-4 {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        margin-top: 0;
    }

    .block-4 .decorative-line-4,
    .block-4 .circle-icon-4 {
        display: none;
    }

    .block-4 .transparent-card {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .block-4 .card-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .block-4 .block-4-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .block-4 .block-4-text {
        font-size: 20px;
        line-height: 1.4;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .block-4 .program-button {
        width: 100%;
        max-width: 100%;
    }

    .block-4 .program-button span {
        font-size: 18px;
    }

    /* Footer Mobile */
    .footer {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-copyright p {
        font-size: 14px;
    }

    .footer-policy a,
    .footer-links a {
        font-size: 14px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        zoom: 1 !important;
        overflow-x: hidden;
    }

    .element-block {
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .element-block .element {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 40px;
    }

    .element-block .event-info {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 40px;
        order: 2;
    }

    .element-block .div-2 {
        width: 100%;
        gap: 30px;
    }

    .element-block .title {
        width: 100%;
        font-size: 36px;
        margin: 0;
    }

    .element-block .subtitle {
        width: 100%;
        height: auto;
        font-size: 20px;
        line-height: 32px;
    }

    .element-block .view {
        flex-direction: row;
        align-items: center;
        gap: 18px;
    }

    .element-block .img {
        width: 60px;
        height: 67px;
    }

    .element-block .date-2,
    .element-block .time {
        font-size: 20px;
    }

    .element-block .registration-button-wrapper {
        width: 100%;
        max-width: 400px;
    }

    .element-block .atom {
        display: none;
    }

    .element-block .group {
        display: none;
    }

    .element-block .decorative-rectangle {
        display: none;
    }

    .element-block .logo {
        position: relative;
        top: 0;
        left: 0;
        width: 208px;
        height: 77px;
        margin: 60px 0 0 0;
        display: block;
        z-index: 2;
        content: url('../images/Logo.svg');
    }

    .element-block .online-format {
        display: none;
    }

    .element-block .text-wrapper {
        font-size: 20px;
        line-height: 30px;
    }

    .element-block .frame,
    .element-block .div,
    .element-block .decorative-rectangle-2,
    .element-block .decorative-element,
    .element-block .image {
        display: none;
    }

    /* Block 2 Tablet */
    .block-2 {
        width: 100%;
        height: auto;
        padding: 60px 40px;
        margin-top: -70px;
    }

    .block-2 .decorative-line-2 {
        display: none;
    }

    .block-2 .atom-icon {
        position: absolute;
        width: 120px;
        height: 120px;
        top: 330px;
        right: 110px;
        transform: rotate(15deg);
        z-index: 1;
    }

    .block-2 .purple-badge {
        position: relative;
        width: 200px;
        height: 72px;
        top: 80px;
        left: 150px;
        margin: 0 auto 40px;
        transform: none;
    }

    .block-2 .purple-glossy {
        width: 50px;
        height: 55px;
        top: 20px;
        left: 280px;
    }

    .block-2 .union-bg {
        width: 200px;
        height: 72px;
        top: 40px;
        left: 150px;
    }

    .block-2 .badge-text {
        top: 35px;
        left: 150px;
        font-size: 15px;
        line-height: 22px;
        width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 72px;
    }

    .block-2 .block-2-header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        margin-bottom: 40px;
    }

    .block-2 .block-2-title {
        font-size: 32px;
        margin: 0;
    }

    .block-2 .block-2-description {
        font-size: 18px;
        line-height: 32px;
        max-width: 100%;
    }

    .block-2 .webinar-card {
        position: relative;
        width: 90%;
        max-width: 700px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 0 40px 0;
    }

    .block-2 .calendar-card {
        position: relative;
        width: 90%;
        max-width: 450px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 0 40px 0;
    }

    /* Block 3 Tablet */
    .block-3 {
        width: 100%;
        height: auto;
        padding: 60px 40px;
        margin: 100px auto 0;
    }

    .block-3 .decorative-line-3 {
        display: none;
    }

    .block-3 .decorative-bg-3 {
        width: 560px;
        height: 220px;
        top: 290px;
        left: 140px;
    }

    .block-3 .circle-icon-3 {
        width: 120px;
        height: 120px;
        top: -10px;
        right: 40px;
        left: auto;
        transform: rotate(360deg);
    }

    .block-3 .block-3-header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }

    .block-3 .block-3-title {
        font-size: 32px;
    }

    .block-3 .block-3-description {
        font-size: 18px;
    }

    .block-3 .lesson-card {
        position: relative;
        width: 90%;
        max-width: 600px;
        height: auto;
        top: 0;
        left: 0;
        margin: 0 auto 40px;
        padding: 40px;
    }

    .block-3 .lesson-card img {
        max-height: 170px;
    }

    .block-3 .lesson-button {
        position: relative;
        width: 100%;
        max-width: 100%;
        top: 0;
        left: 0;
        margin: 0 auto;
    }

    .element-block .registration-button-wrapper {
        width: 100%;
        max-width: 100%;
    }

    /* Block 4 Tablet */
    .block-4 {
        width: 100%;
        height: auto;
        padding: 60px 40px;
        margin-top: 50px;
    }

    .block-4 .decorative-line-4 {
        display: none;
    }

    .block-4 .circle-icon-4 {
        width: 150px;
        height: 154px;
        top: -20px;
        left: 40px;
    }

    .block-4 .transparent-card {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        padding: 40px;
        margin-bottom: 40px;
    }

    .block-4 .card-title {
        font-size: 28px;
        letter-spacing: 2.8px;
    }

    .block-4 .block-4-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .block-4 .block-4-text {
        font-size: 28px;
        line-height: 1.4;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .block-4 .program-button {
        width: 100%;
        max-width: 100%;
    }

    .block-4 .program-button span {
        font-size: 20px;
    }

    /* Footer Tablet */
    .footer {
        width: 100%;
        height: auto;
        padding: 60px 40px;
        margin-top: 50px;
    }

    .footer-content {
        padding: 0;
    }

    .footer-logo img {
        width: 130px;
    }

    .footer-copyright p {
        font-size: 15px;
    }

    .footer-policy a,
    .footer-links a {
        font-size: 15px;
    }

    .footer-links {
        gap: 20px;
    }
}

