@font-face {
    font-family: 'Desyatiy';
    src: url('fonts/Desyatiy-Light.woff2') format('woff2'),
         url('fonts/Desyatiy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Desyatiy';
    src: url('fonts/Desyatiy.woff2') format('woff2'),
         url('fonts/Desyatiy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Desyatiy';
    src: url('fonts/Desyatiy-Bold.woff2') format('woff2'),
         url('fonts/Desyatiy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

p {
    font-family: "Raleway", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    margin: 1em 0;
}

h2 {
    font-family: "Alumni Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}

h3 {
    font-family: "Play", sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 2px;
}

a {
    color: #9f5dcf;
}

.list li {
    padding: 31px 23px 0 19px;
}

.list li a {
    font-size: 17px;
    font-family: "Play", sans-serif;
}

.singal-text {
    font-family: 'Desyatiy', sans-serif;
    font-weight: normal;
    font-style: normal;
    padding-bottom: 0;
}

.logo {
    width: 80%;
}

.yellow-line {
    background-color: #e3bcffb8 !important;
}

.menu {
    padding: 6px 38px;
}

.sparkle-text {
    position: relative;
    display: inline-block;
    color: #fff;
    font-family: 'Desyatiy', sans-serif;
    overflow: visible;
    z-index: 1;
}

.sparkle {
    position: absolute;
    font-size: 12px;
    color: #fffbe6;
    pointer-events: none;
    opacity: 0;
    animation: sparkle-fly 1.2s ease-out forwards;
}

.social-icons {
    width: 60%;
}

.stars-m-img {
    display: none;
}

.follow-me-text {
    font-family: 'Desyatiy', sans-serif;
}

.email-section a {
    font-family: 'Desyatiy', sans-serif;
    font-weight: 300;
    color: #9f5dcf;
}

.email-section a:hover {
    color: #b785db;
    transition: all 0.5s ease-in-out;
}

.about-text {
    padding: 0;
    font-size: 55px;
    line-height: 52px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    color: var(--secondary-color);
    font-weight: 300;
}

.servies-spacer {
    padding: 40px;
}

.about_top-spacer {
    padding: 40px;
}

.spacer {
    padding: 50px 0;
}

.news-spacer {
    padding: 40px;
}

.email-spacer {
    padding: 40px 0;
}

.email-bg {
    height: auto;
}

.resume-bg {
    background-image: url(..//img/resume-bg.svg);
    background-position: 100%;
    background-size: 100% 100%;
    height: auto;
    animation: resume 10s linear infinite;
}

.portfolio-bg {
    position: relative;
    background-image: none;
    height: auto;
    min-height: 500px;
    overflow: hidden;
}

.portfolio-bg .spacer {
    position: relative;
    z-index: 2;
}

.star {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 1;
    top: -50px;
    will-change: transform, opacity;
    filter: grayscale(100%);
}

.star img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.star-1  { left: 15%; animation: smoothFall 25s linear infinite; }
.star-2  { left: 30%; animation: smoothFall 28s linear infinite; animation-delay: 3s; }
.star-3  { left: 45%; animation: smoothFall 26s linear infinite; animation-delay: 7s; }
.star-4  { left: 60%; animation: smoothFall 29s linear infinite; animation-delay: 11s; }
.star-5  { left: 75%; animation: smoothFall 27s linear infinite; animation-delay: 5s; }
.star-6  { left: 25%; animation: smoothFall 30s linear infinite; animation-delay: 9s; }
.star-7  { left: 50%; animation: smoothFall 28s linear infinite; animation-delay: 2s; }
.star-8  { left: 85%; animation: smoothFall 26s linear infinite; animation-delay: 6s; }
.star-9  { left: 5%;  animation: smoothFall 27s linear infinite; animation-delay: 8s; }
.star-10 { left: 65%; animation: smoothFall 25s linear infinite; animation-delay: 4s; }

.space-container {
    position: relative;
    width: 600px;
    height: 600px;
}

.sun {
    position: absolute;
    top: 17%;
    left: 107%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.stars {
    position: absolute;
    top: 16%;
    left: 107%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.frame-container {
    position: relative;
    width: 311px;
    height: 393px;
}

.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.eye {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    transform: translate(-50%, -50%);
    animation: spin 8s linear infinite;
    z-index: 1;
}

.yellow_circle,
.yellow_circle_love,
.yellow_circle_business,
.yellow_circle_money,
.yellow_circle_karma,
.yellow_circle_cicle,
.yellow_circle_society,
.yellow_circle_luck,
.yellow_circle_friends,
.yellow_circle_lessons,
.yellow_circle_talents,
.yellow_circle_home,
.yellow_circle_about,
.yellow_circle_health,
.yellow_circle_spirituality,
.yellow_circle_down {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 0;
}

.yellow_circle            { background-image: url(../img/icon-star-1.png); width: 50px;  height: 50px; }
.yellow_circle_love       { background-image: url(../img/icon-star-4.png); width: 117px; height: 81px; }
.yellow_circle_business   { background-image: url(../img/icon-star-5.png); width: 108px; height: 108px; }
.yellow_circle_money      { background-image: url(../img/icon-star-6.png); width: 108px; height: 108px; }
.yellow_circle_karma      { background-image: url(../img/icon-star-7.png); width: 117px; height: 81px; }
.yellow_circle_cicle      { background-image: url(../img/icon-star-8.png); width: 117px; height: 81px; }
.yellow_circle_society    { background-image: url(../img/society-icon.png); width: 128px; height: 82px; }
.yellow_circle_luck       { background-image: url(../img/luck-icon.png);   width: 128px; height: 118px; }
.yellow_circle_friends    { background-image: url(../img/friends-icon.png); width: 128px; height: 109px; }
.yellow_circle_lessons    { background-image: url(../img/lessons-icon.png); width: 128px; height: 122px; }
.yellow_circle_talents    { background-image: url(../img/talents-icon.png); width: 128px; height: 108px; }
.yellow_circle_home       { background-image: url(../img/home-icon.png);   width: 90px;  height: 127px; }
.yellow_circle_about      { background-image: url(../img/icon-star-2.png); width: 108px; height: 108px; }
.yellow_circle_health     { background-image: url(../img/icon-star-3.png); width: 108px; height: 108px; }
.yellow_circle_spirituality { background-image: url(../img/icon-star-9.png); width: 109px; height: 90px; }
.yellow_circle_down       { background-image: url(../img/icon-star-10.PNG); width: 108px; height: 108px; }

.pulse-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.pulse-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #cea0ff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: pulse 2s infinite;
}

.pulse-button:hover {
    background-color: #be82ff;
    animation: pulse-hover 1.5s infinite;
}

.pulse-button:disabled {
    background-color: #be82ff;
    cursor: not-allowed;
    opacity: 0.7;
    animation: none;
}

.pulse-link {
    display: inline-block;
    padding: 2px 28px;
    font-size: 2rem;
    font-weight: 600;
    background-color: #d8b4f8;
    border-radius: 12px;
    text-decoration: none !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: pulse 2s infinite;
    user-select: none;
    font-family: 'Desyatiy', sans-serif;
}

.pulse-link:hover {
    background-color: #e9d5ff;
    animation: pulse-hover 1.5s infinite;
}

.pulse-link:visited,
.pulse-link:focus,
.pulse-link:active,
.pulse-link:hover {
    color: white !important;
    text-decoration: none !important;
    outline: none;
}

.container-preloader {
    align-items: center;
    cursor: default;
    display: flex;
    height: 100%;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 900;
}

.container-preloader .animation-preloader {
    position: absolute;
    z-index: 100;
}

.container-preloader .animation-preloader .spinner {
    animation: spinner 10s infinite linear, border-grow 7s forwards;
    border-radius: 50%;
    border: 10px solid transparent;
    border-top-color: #FFAF00;
    height: 13em;
    width: 13em;
    margin: 0 auto 3.5em;
    background-image: url('../img/astrol.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.container-preloader .animation-preloader .txt-loading .characters {
    color: #000000;
    font-family: 'Desyatiy', sans-serif;
    font-size: 128px;
    font-style: normal;
    font-weight: 900;
    line-height: 150px;
    position: relative;
    animation: colorChange 0.5s ease-in-out forwards;
    animation-delay: calc(var(--char-index) * 0.15s);
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-text-stroke: 1.5px #80328f;
}

.container-preloader .loader-section {
    background-color: #ffffff;
    height: 100%;
    position: fixed;
    top: 0;
    width: calc(50% + 1px);
}

.container-preloader .loader-section.section-left {
    left: 0;
}

.container-preloader .loader-section.section-right {
    right: 0;
}

.loaded .animation-preloader {
    opacity: 0;
    transition: 0.3s ease-out;
}

.loaded .loader-section.section-left {
    transform: translateX(-101%);
    transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1.000);
}

.loaded .loader-section.section-right {
    transform: translateX(101%);
    transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1.000);
}

.txt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.txt-loading {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.break {
    flex-basis: 100%;
    height: 20px;
}

.audio-player-wrapper {
    padding-bottom: 120px;
}

.audio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.audio-page-title {
    text-align: center;
    margin: 30px 0;
    font-size: 32px;
}

.audio-content-block {
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 8px;
    text-align: center;
}

.audio-content-block h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.audio-content-block p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.audio-play-btn {
    background: #8d79b6;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.audio-play-btn:hover {
    background: #be93cd;
}

.audio-play-btn:active {
    transform: scale(0.98);
}

.audio-play-btn.audio-playing {
    background: #a697c5;
}

.audio-play-btn.audio-playing:hover {
    background: #8d79b6;
}

.audio-play-btn img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222222eb;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.audio-player-bar.show {
    transform: translateY(0);
}

.audio-player-controls {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.audio-track-info {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
}

.audio-progress-container {
    flex: 2;
    height: 6px;
    background: #444;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.audio-progress-bar {
    height: 100%;
    background: #c2a7c8;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}

.audio-time-display {
    font-size: 12px;
    min-width: 100px;
    text-align: right;
}

.audio-main-play-btn {
    background: #8d79b6;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
    padding: 0;
}

.audio-main-play-btn:hover {
    background: #c8aac8;
}

.audio-main-play-btn img {
    width: 36px;
    height: 36px;
}

.audio-nav-btn {
    background: #8d79b6;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.audio-nav-btn:hover:not(.disabled) {
    background: #c8aac8;
}

.audio-nav-btn.disabled {
    background: #444;
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.audio-speed-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 6px;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.audio-speed-btn:hover {
    background: rgba(141,121,182,0.4);
    border-color: #8d79b6;
}

.audio-close-btn {
    background: transparent;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.3s;
    margin-left: 10px;
}

.audio-close-btn:hover {
    color: #8d79b6;
}

@keyframes sparkle-fly {
    0%   { transform: scale(0.6) translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.2) translate(-20px, -30px) rotate(360deg); opacity: 0; }
}

@keyframes smoothFall {
    0%   { transform: translateY(-50px); opacity: 0; }
    3%   { transform: translateY(0px); opacity: 0.7; }
    90%  { transform: translateY(500px); opacity: 0.7; }
    100% { transform: translateY(550px); opacity: 0; }
}

@keyframes spinner {
    to { transform: rotateZ(360deg); }
}

@keyframes border-grow {
    0%   { border-top-color: #80328f; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
    25%  { border-right-color: #80328f; }
    50%  { border-bottom-color: #80328f; }
    75%  { border-left-color: #80328f; }
    100% { border-top-color: #80328f; border-right-color: #80328f; border-bottom-color: #80328f; border-left-color: #80328f; }
}

@keyframes colorChange {
    from { color: #000000; }
    to   { color: #C8A2C8; }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes pulse-hover {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@media screen and (max-width: 1560px) {
    .nairobi_img1 {
        margin: 30px auto;
    }

    .main_text {
        margin-top: 0;
    }
}

@media screen and (max-width: 1200px) {
    .container-preloader .animation-preloader .txt-loading .characters {
        font-size: 100px;
        line-height: 120px;
    }
}

@media screen and (max-width: 992px) {
    .container-preloader .animation-preloader .txt-loading .characters {
        font-size: 80px;
        line-height: 100px;
    }

    .container-preloader .animation-preloader .spinner {
        margin: 0 auto 3em;
    }
}

@media screen and (max-width: 768px) {
    .container-preloader .animation-preloader .txt-loading .characters {
        font-size: 60px;
        line-height: 80px;
    }

    .container-preloader .animation-preloader .spinner {
        margin: 0 auto 2.5em;
    }
}

@media screen and (max-width: 576px) {
    .container-preloader .animation-preloader .txt-loading .characters {
        font-size: 40px;
        line-height: 50px;
    }

    .container-preloader .animation-preloader .spinner {
        margin: 0 auto 2em;
    }

    .break {
        height: 10px;
    }
}

@media screen and (max-width: 380px) {
    .container-preloader .animation-preloader .txt-loading .characters {
        font-size: 30px;
        line-height: 40px;
    }

    .container-preloader .animation-preloader .spinner {
        margin: 0 auto 1.5em;
    }
}

@media (max-width: 768px) {
    .audio-page-title {
        font-size: 24px;
        margin: 20px 0;
    }

    .audio-content-block {
        padding: 20px;
        margin: 4px 0 14px;
    }

    .audio-content-block h2 {
        font-size: 20px;
    }

    .audio-player-bar {
        padding: 15px 10px;
    }

    .audio-player-controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    .audio-main-play-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .audio-main-play-btn img {
        width: 32px;
        height: 32px;
    }

    .audio-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .audio-track-info {
        order: 3;
        flex: 100%;
        text-align: center;
        min-width: auto;
    }

    .audio-progress-container {
        order: 2;
        flex: 100%;
    }

    .audio-time-display {
        order: 1;
        text-align: left;
        min-width: auto;
    }

    .audio-close-btn {
        order: 1;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .audio-container {
        padding: 0 15px;
    }

    .audio-content-block {
        padding: 0;
    }

    .audio-play-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .position-relative {
        padding: 0 10px;
        margin: 0;
    }

    .half-circle-main {
        display: none;
    }

    .mobile-nav .m-menu ul li a,
    .mobile-nav .m-menu ul li label {
        display: block;
        color: var(--text-color);
        font-size: 24px;
        font-family: "Play", sans-serif;
        font-weight: 600;
        line-height: 24px;
        text-transform: uppercase;
        position: relative;
    }

    .follow-me-text {
        font-size: 49px;
        line-height: 28px;
        margin: 0;
        padding-top: 53px;
        padding-bottom: 37px;
    }

    .stars-m-img {
        display: block;
    }

    .space-container-m {
        position: relative;
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 20px auto 0;
        overflow: visible;
    }

    .sun-m {
        position: absolute;
        top: 43%;
        left: 50%;
        width: 64%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        transform: translate(-50%, -50%);
        z-index: 2;
        pointer-events: none;
        border-radius: 50%;
    }

    .stars-m {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: auto;
        transform: translate(-50%, -50%);
        animation: rotate 20s linear infinite;
        z-index: 1;
        pointer-events: none;
    }

    .sun {
        display: none;
    }

    .stars {
        display: none;
    }

    .nairobi_img11 {
        margin: 30px auto;
        width: 70%;
    }

    .main_image_slider {
        padding-top: 20px;
    }

    .social-icons {
        width: 100%;
    }
}
.scroll-nav-btns {
    position: fixed;
    right: 50px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: bottom 0.3s ease;
}

.scroll-nav-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--secondary-color, #8d79b6);
    color: #000;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.scroll-nav-btn:hover {
    background: #f5f0ff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-nav-btns {
        right: 15px;
    }
}

.bottom-top-button { display: none !important; }