* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    /* background: url("../bg/bg-gold.jpg") no-repeat center; */
    background: black;
    background-size: cover;
}

:root {
    --white-color: #fff;
    --flex: flex;
    --center: center;
}

/* sidebar */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80px;
    padding: 15px;
    /* background: #2c3d63; */
    transition: width 0.3s ease;
    backdrop-filter: blur(10px);
    /* box-shadow: 0px 0px 10px rgba(227, 228, 237, 0.25); */
    /* border-right: 1px solid rgba(255, 255, 255, 0.18); */
}

.sidebar i {
    font-size: 21px;
    text-align: center;
    flex: 0.4;
    padding: 0.6rem 0.75rem;
    color: #e2ba89;
}

.sidebar i:hover {
    color: #FFFFFF;
}

/* sidebar opening */

.sidebar.expanded {
    width: 250px;
    align-items: flex-start;
}

.sidebar.expanded i {
    text-align: left;
}

/* toggle button */

.toggle-btn {
    width: 100%;
    padding: 0.2rem 0;
    background: #223e53;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    color: var(--white-color);
    transition: background 0.3s ease;
}

.toggle-btn i {
    font-size: 30px;
    transition: transform 0.3s;
    text-align: center;
    padding: 0.175rem 0.75rem;
}

.toggle-btn:hover {
    background: #1b3346;
}

.sidebar.sidebar.expanded .toggle-btn i {
    transform: rotate(180deg);
}

/* logo */

.sidebar-logo {
    display: var(--flex);
    align-items: var(--center);
    margin-top: 30px;
    cursor: pointer;
    color: var(--white-color);
    padding-left: 10px;
}

.sidebar .logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    display: none;
}

.sidebar.expanded .logo-text {
    display: inline-block;
    flex: 1.5;
}

/* menu */

.menu {
    list-style-type: none;
    margin-top: 0px;
}

.menu li {
    margin: 15px 0;
}

.menu a {
    display: var(--flex);
    align-items: var(--center);
    color: var(--white-color);
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
        padding: 5px 24px;
}

.menu a span {
    font-weight: 700;
    display: none;
}

.menu a:hover {
    background: #223e53;
    border-radius: 5px;
    padding: 15px;
}

.sidebar.expanded .menu a span {
    display: inline-block;
    flex: 1.5;

}



/* .menu a span {
font-weight: 700;
overflow: hidden;
white-space: nowrap;
opacity: 0;
max-width: 0;
transition: 
opacity 0.3s ease,
max-width 0.3s ease;
}

.sidebar.expanded .menu a span {
opacity: 1;
max-width: 200px; 
} */


/* Common styles */
.sidebar .sidebar-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show icon, hide full logo by default */
.sidebar:not(.expanded) .logo-icon {
    opacity: 1;
    transform: scale(1);
}

.sidebar:not(.expanded) .logo-full {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* Show full logo when expanded */
.sidebar.expanded .logo-icon {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.sidebar.expanded .logo-full {
    opacity: 1;
    transform: scale(1);
    margin-left: -110px;
}

/* svg start */

.svg-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: -1;
}

svg {
    width: 100%;
    height: 100px;
    /* margin-bottom: 40px; */
}

.tick {
    stroke-linecap: round;
}

.base-tick {
    stroke: #666;
    stroke-width: 2;
}

.progress-tick {
    stroke: gold;
    stroke-width: 2;
    opacity: 0;
}

/* New milestone wrapper */
.milestone-content {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 170px;
    max-width: 100%;
    padding: 0px;
}

.milestone-text-wrapper {
    position: relative;
    width: 400px;
    min-height: 150px;
}

.milestone-text {
    position: absolute;
    top: 0;
    left: 0;

    font-family: Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.milestone-text h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: #e2ba89;
}

.milestone-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
}

.milestone-image-frame {
    width: 350px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 12px;
    /* box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); */
    position: relative;
    /* bottom: 80px; */
}

.milestone-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(10px 10px 20px rgba(255, 215, 0, 0.1));
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e2ba89;
    /* Premium gold */
    color: #fff;
    /* Icon color white */
    border: none;
    border-radius: 50%;
    padding: 15px 18px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    /* Subtle gold glow */
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

#music-toggle:hover {
    background: #e2ba89;
    /* Slightly warmer gold on hover */
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
}

#music-toggle i {
    display: inline-block;
    width: 12px;
    text-align: center;
    font-size: 18px;
}

.main-logo {
    position: absolute;
    left: 8%;
    top: 5%;
    z-index: -1;
}

.main-logo img {
    border: 1px solid #e2ba89ab;
        border-radius: 10px;
        width: 120px;
}

@media (max-width: 425px) {
    .main-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-8%);
        top: 2%;
        z-index: -1;
    }

    .milestone-image-frame {
        width: 200px;
        aspect-ratio: 3 / 4;
        overflow: visible;
        border-radius: 12px;
        position: relative;
        right: 100px;
        top: 120px;
    }

    .milestone-content {
        flex-direction: column;
        position: absolute;
        top: 20%;
        left: 60%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        max-width: 100%;
        padding: 0px;
        width: 70%;
        text-align: center;
    }

    .milestone-text-wrapper {
        width: 100%;
        min-height: auto;
    }


    .milestone-text h2 {
        margin: 0 0 10px 0;
        font-size: 16px;
        color: #e2ba89;
    }

    .milestone-text p {
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
        color: #FFFFFF;
    }

    .svg-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: -1;
    }

    svg {
        width: 100%;
        height: 100px;
    }
}

@media only screen and (min-width:426px) and (max-width: 767px) {
    .main-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-8%);
        top: 2%;
        z-index: -1;
    }

    .milestone-content {
        flex-direction: column;
        position: absolute;
        top: 16%;
        left: 60%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 134px;
        max-width: 100%;
        padding: 0px;
        width: 70%;
        text-align: center;
    }

    .milestone-text-wrapper {
        width: 100%;
        min-height: auto;
    }


    .milestone-image-frame {
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: visible;
        border-radius: 12px;
        position: relative;
        right: 150px;
        top: 120px;
    }

    .milestone-text h2 {
        margin: 0 0 10px 0;
        font-size: 21px;
        color: #e2ba89;
    }

    .milestone-text p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #FFFFFF;
    }

    .svg-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: -1;
    }

    svg {
        width: 100%;
        height: 100px;
    }
}

@media only screen and (min-width:768px) and (max-width: 991px) {
    .main-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-8%);
        top: 2%;
        z-index: -1;
    }

    .milestone-content {
        flex-direction: column;
        position: absolute;
        top: 16%;
        left: 60%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
        max-width: 100%;
        padding: 0px;
        width: 70%;
        text-align: center;
    }

    .milestone-text-wrapper {
        width: 100%;
        min-height: auto;
    }


    .milestone-image-frame {
        width: 72%;
        aspect-ratio: 3 / 4;
        overflow: visible;
        border-radius: 12px;
        position: relative;
        right: 230px;
        top: 55px;
    }

    .milestone-text h2 {
        margin: 0 0 10px 0;
        font-size: 21px;
        color: #e2ba89;
    }

    .milestone-text p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #FFFFFF;
    }

    .svg-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: -1;
    }

    svg {
        width: 100%;
        height: 100px;
    }
}

@media only screen and (min-width:992px) and (max-width:1200px) {
    .milestone-content {
        position: absolute;
        top: 4%;
        left: 55%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 170px;
        max-width: 100%;
        padding: 0px;
    }

    .milestone-text-wrapper {
        width: 100%;
        min-height: auto;
    }


    .milestone-image-frame {
        width: 400px;
        aspect-ratio: 3 / 4;
        overflow: visible;
        border-radius: 12px;
        position: relative;
        right: 200px;
        top: 120px;
    }

    .milestone-text h2 {
        margin: 0 0 10px 0;
        font-size: 21px;
        color: #e2ba89;
    }

    .milestone-text p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #FFFFFF;
    }

    .svg-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: -1;
    }

    svg {
        width: 100%;
        height: 100px;
    }
}


#progressTicks,#baseTicks{
    display: none;
}