@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

* {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.dm-serif {
    font-family: "DM Serif Text", serif;
}
html.loading,
body.loading {
    /* Using classes for better control */
    overflow: hidden;
    height: 100%;
}
nav .container-fluid,
section .container-fluid,
footer .container-fluid {
    width: 95%;
}

a,
a:hover,
a:active,
a:visited {
    text-decoration: none;
}

li {
    list-style: none;
}

ul {
    padding-left: 0;
    margin-bottom: 0;
}

.py-70 {
    padding-bottom: 70px;
    padding-top: 70px;
}

.pt-70 {
    padding-top: 70px;
}

.pb-70 {
    padding-bottom: 70px;
}

.main-btn,
.secondary-btn {
    background: #82307e;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    width: max-content;
    transition: .3s;
}

.secondary-btn {
    background: #fff;
    color: #82307e;
}

.navbar {
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.navbar.shrink {
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5555;
    background-color: #823582;

}

.navbar.shrink .navbar-brand img {
    width: 150px;
}

.navbar .navbar-nav {
    gap: 15px;
}

.navbar .nav-link {
    color: #fff;
    padding: 0 20px;
    font-size: 14px;
}

.navbar .nav-link.active {
    color: #f2c546;
}

.contact-us-section {
    background-image: url(../images/contact-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 150px 0;
}

.contact-us-section h4 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    padding-bottom: 30px;
}

.contact-us-section h2 {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80px;
    line-height: 1;
    padding-bottom: 20px;
}

.contact-row {
    gap: 20px;
    margin-bottom: 80px;
}

.contact-row .contact-box {
    background: rgba(0, 0, 0, .35);
    border-radius: 6px;
    background-repeat: no-repeat;
    width: 33%;
    background-size: cover;
}

.contact-box a {
    color: #fff;
    font-size: 20px;
    text-align: center;
    font-weight: 400;
    min-height: 100px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.contact-container {
    border: 4px solid #fff;
    border-radius: 20px;
    padding: 0 50px 30px;
}

.contact-container .nav-tabs {
    background-color: #e1cee0;
    border: none;
    padding: 5px;
    border-radius: 10px;
    width: 45%;
    margin: 0 auto;
    margin-top: -35px;
}

.contact-container .nav-tabs .nav-link.active {
    color: #000;
    background: #82307e;
    border-radius: 5px;
    color: #fff;
}

.contact-container .nav-tabs .nav-link.active img {
    filter: invert(1);
}

.contact-container .nav-tabs .nav-link {
    border: none;
    font-size: 20px;
    padding: 10px 5px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
}

.contact-container .tab-content label {
    font-size: 14px;
}

.contact-container .tab-content input,
.contact-container .tab-content textarea {
    background-color: rgba(255, 255, 255, .7);
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.contact-container .tab-content .ep-row [class*="col-"] {
    padding: 8px;
}

.contact-container .tab-content .btn {
    display: block;
    width: 100%;
    text-transform: uppercase;
    font-size: 20px;
}

footer {
    background-color: #202020;
    border-top: 3px solid #fff;
}

footer .footer-address .footer-flex {
    background-color: #202020;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
    border-radius: 5px;
    padding: 50px 20px;
}

footer .footer-address .footer-flex a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
    text-align: left;
}

footer p {
    color: #fff;
    font-size: 14px;
    font-weight: 200;
    width: 70%;
    padding: 50px 0 0;
    margin: 0 auto;
}

.hero-testimonial-slider .testimonial-slide {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Dark gradient overlay like the image */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.quote-box {
    background: rgba(0, 0, 0, 0.4);
    font-weight: 300;
    margin-top: 200px;
    margin-left: 50px;
    font-size: 24px;
    font-weight: 200;
}

.hero-testimonial-slider .author-info {
    margin-right: 50px;
}

.hero-testimonial-slider h2 {
    font-size: 60px;
    margin-top: 200px;
    color: #fff;
}

.hero-testimonial-slider h4 {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 5px;
    padding-bottom: 20px;
}


/* Bottom Left Navigation */

.custom-nav-box {
    color: white;
    padding: 0 15px;
    align-items: end;
    gap: 5px;
    margin-top: 20px;
}

.custom-nav-box button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
}

.slide-counter .current {
    font-size: 72px;
    line-height: 50px;
    display: inline-block;
}

.slide-counter .total {
    font-size: 24px;
    opacity: 0.8;
}

.video-wrapper {
    aspect-ratio: 14 / 9;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-btn-overlay:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    font-size: 30px;
    color: #333;
    margin-left: 5px;
}

#videoIframe iframe {
    width: 100%;
    height: 100%;
}

.testimonial-content i {
    font-size: 24px;
}

.testimonial-content p {
    font-size: 24px;
    padding-bottom: 15px;
    font-weight: 300;
}

.testimonial-content h5 {
    color: #82307e;
    font-weight: 600;
    font-size: 24px;
}

.testimonial-content h5+p {
    padding-bottom: 0;
}

.testimonial-video-box.with-bg {
    background-image: url(../images/testimonial_bg.jpg);
    background-size: cover;
    background-position: right;
}

.testimonial-video-box.with-bg .testimonial-content p,
.testimonial-video-box.with-bg .testimonial-content h5 {
    color: #fff;
}

.testimonials-boxes h2 {
    color: #82307e;
    font-size: 72px;
}

.testimonials-boxes h3 {
    font-size: 36px;
    padding-bottom: 50px;
}

.testimonial-box {
    position: relative;
    text-align: center;
    padding: 40px 30px;
    padding-top: 0;
}

.testimonial-box::before {
    content: "";
    background-color: #f6f6f6;
    width: 100%;
    height: 85%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.testimonial-box img {
    margin-top: 0;
}

.testimonial-box p {
    padding: 15px 0;
    font-size: 18px;
    font-weight: 500;
}

.testimonial-box h5 {
    color: #82307e;
    font-size: 24px;
}

.testimonial-box h6 {
    opacity: .7;
}

.glitter-layer-1,
.glitter-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
    /* Allows text selection underneath */
}

.glitter-layer-1 {
    background-image: url('../images/Glitters.png');
    opacity: 0.6;
    animation: gentleGlow 6s ease-in-out infinite alternate;
}


/* Layer 2: Rotated overlay layer that fades on a different cycle */

.glitter-layer-2 {
    background-image: url('../images/Glitters.png');
    transform: rotate(180deg) scale(1.1);
    /* Flips the stars to random spots */
    opacity: 0.1;
    animation: intenseTwinkle 8s ease-in-out infinite alternate;
}


/* --- Keyframe Animations --- */

@keyframes gentleGlow {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.7;
    }
}

@keyframes intenseTwinkle {
    0% {
        opacity: 0.1;
        transform: rotate(180deg) scale(1.1);
    }

    50% {
        opacity: 0.8;
        transform: rotate(182deg) scale(1.15);
    }

    /* Subtle shifting movement */
    100% {
        opacity: 0.2;
        transform: rotate(180deg) scale(1.1);
    }
}

.inner-banner {
    background-image: url(../images/inner-banner.jpg);
    background-size: cover;
    background-position: center;
    padding: 200px 0;
    text-align: center;
    color: #fff;
}

.inner-banner h2 {
    font-size: 100px;
    line-height: 1;
}

.inner-banner h6 {
    padding-top: 10px;
    font-size: 36px;
}

.custom-homes-container nav .nav-tabs {
    flex-wrap: nowrap;
    border: none;
}

.custom-homes-container nav .nav-tabs button {
    padding: 0;
    border: none;
    position: relative;
}

.custom-homes-container nav .nav-tabs button img {
    /* position: absolute; */
}

.custom-homes-container nav .nav-tabs button::before {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(97, 97, 97, .8);
    width: 100%;
    height: 100%;
    content: "";
    transition: .3s;
}

.custom-homes-container nav .nav-tabs button.active::before {
    background-color: rgba(130, 48, 126, .8);
}

.custom-homes-container nav .nav-tabs button h5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    text-align: center;
}

.custom-box {
    position: relative;
}

.custom-box .custom-box-footer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    display: flex;
    gap: 8px;
}

.custom-box .custom-box-footer .button-container {
    width: 50%;
}

.custom-box .custom-box-footer .button-container button,
.custom-box .custom-box-footer .button-container a {
    width: 100%;
    font-weight: 500;
    font-size: 12px;
}

.custom-box .custom-box-footer .button-container button:after {
    display: none;
}

.custom-box .custom-box-footer .button-container .dropdown-menu {
    width: 100%;
    padding: 10px;
    background-color: #82307e;
    min-width: 285px;
}

.custom-box .custom-box-footer .button-container .dropdown-menu label {
    color: #fff;
    font-size: 14px;
}

.custom-box .custom-box-footer .button-container .dropdown-menu input,
.custom-box .custom-box-footer .button-container .dropdown-menu textarea {
    font-size: 12px;
}

.divine-pagination {
    margin-top: 25px;
}

.divine-pagination ul {
    gap: 15px;
    align-items: center;
}

.divine-pagination li a {
    border: 0;
    color: #555;
    font-size: 24px;
    width: 35px;
    height: 35px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.divine-pagination li a:hover,
.divine-pagination li a:focus {
    color: #82307e;
    box-shadow: none;
    background-color: transparent;
}

.divine-pagination li.prev-next a {
    color: #333;
    font-size: 18px;
    text-transform: uppercase;
    width: auto;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-radius: 0;
}

.divine-pagination li.prev-next a i {
    color: #82307e;
    margin: 0 5px;
}

.divine-pagination li.active a {
    color: #fff;
    background-color: #82307e;
    border-radius: 50px;
    align-items: baseline;
}

.recognized-year h3 {
    font-size: 40px;
    color: #4f4f4f;
}

.recognized-year h2 {
    text-transform: uppercase;
    color: #82307e;
    font-size: 48px;
    font-weight: 700;
}

.recognized-year p {
    font-size: 18px;
}

.divine-excellence {
    background-image: url(../images/divine-excellence.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.divine-excellence.homepage {
    background-image: url(../images/divine-excellence-homepage.jpg);
}

.divine-excellence ul {
    padding-top: 50px;
}

.divine-excellence ul li {
    display: inline-flex;
    width: 40%;
    align-items: center;
    color: #fff;
    gap: 5px;
    padding-bottom: 10px;
}

.divine-excellence ul li h4 {
    font-size: 18px;
    font-weight: 300;
}

.divine-excellence ul li img {
    width: 40px;
}

.divine-excellence h5 {
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #fff;
    font-weight: 300;
    font-size: 24px;
}

.divine-excellence h2 {
    color: #fff;
    font-size: 60px;
    padding-bottom: 50px;
}

.divine-excellence h2 span {
    color: #b83bb2;
    text-transform: uppercase;
}

.divine-excellence p {
    color: #fff;
    font-size: 18px;
    font-weight: 200;
}

.divine-excellence .divine-card {
    background-color: rgba(130, 48, 126, .7);
    text-align: center;
    color: #fff;
    border-radius: 8px;
    padding: 40px 20px;
    height: 100%;
    transition: .3s;
}

.divine-excellence .divine-card:hover {
    background-color: rgba(130, 48, 126, 1);
}

.divine-excellence .divine-card h4 {
    font-weight: 300;
    font-size: 20px;
    padding-top: 10px;
}

.comfort-style h5 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
}

.comfort-style h5 span {
    font-weight: 400;
    color: #666;
    padding: 0 3px;
}

.comfort-style h2 {
    color: #82307e;
    font-size: 60px;
}

.comfort-style p {
    font-size: 18px;
    padding: 20px 0;
}

.custom-slick-slider .slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-slick-slider .slick-list,
.custom-slick-slider .slick-track {
    height: 100%;
    width: 100%;
}

#box-top {
    position: absolute;
    width: 90%;
    height: 300px;
    right: 0;
}

#box-left {
    position: absolute;
    width: 60%;
    height: 200px;
    left: 0;
    top: 250px;
}

#box-right {
    position: absolute;
    width: 50%;
    height: 200px;
    right: 0;
    top: 350px;
}

.custom-slick-slider .slick-track img {
    border: 4px solid #b83bb2;
    border-radius: 8px;
}

#homebox-top {
    position: absolute;
    width: 70%;
    height: 400px;
    right: 0;
}

#homebox-left {
    position: absolute;
    width: 50%;
    height: 300px;
    left: 0;
    top: 250px;
}

.comfort-style.homepage h5 {
    text-transform: uppercase;
    font-size: 60px;
    color: #333;
    font-weight: 500;
    line-height: 1;
}

.comfort-style.homepage h5 span {
    color: #82307e;
}

.comfort-style.homepage h2 {
    text-transform: uppercase;
    color: #333;
    font-size: 30px;
    padding-top: 36px;
    letter-spacing: 5px;
}

.comfort-style.homepage .custom-box {
    position: relative;
    border: 5px solid #333;
    border-radius: 8px;
}

.comfort-style.homepage .custom-box .custom-box-img img {
    border-radius: 4px;


}

.comfort-style.homepage .custom-box .custom-box-footer .button-container {
    width: 100%;
}

.comfort-style.homepage .custom-box .custom-box-footer .button-container button,
.comfort-style.homepage .custom-box .custom-box-footer .button-container a {
    font-size: 12px;
}

.divine-experience {
    background-image: url(../images/divine-experience.jpg);
    background-size: cover;
    background-position: bottom;
    height: 140vh;
    padding-bottom: 70px;
    display: flex;
    align-items: end;
    text-align: center;
}

.divine-experience h3 {
    color: #fff;
    font-size: 60px;
}

.divine-experience h3 span {
    background: linear-gradient(to right, #c37f12, #f2c546, #c37f12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.svg-tab-container {
    position: relative;
    width: 455px;
    height: 500px;
    margin: 0 auto;
}

.svg-tab-container .nav-tabs {
    border: none;
    height: 100%;
}

.svg-tab-container .nav-tabs .nav-link {
    background-color: transparent;
    border: none;
    padding: 0;
}

.svg-tab-container .nav-tabs .nav-item {
    position: absolute;
    top: 0;
    left: 0;
}

.svg-tab-container svg {
    width: 220px;
    position: relative;
    height: 250px;
}

.svg-tab-container svg .main-piece {
    fill: #2f50af;
}

.svg-tab-container svg .piece-arrow {
    fill: none;
    stroke-width: 1px;
    stroke: #fff;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(2) {
    left: auto;
    right: 0;
}

.svg-tab-container .nav-item:nth-child(2) svg .main-piece {
    fill: #383838;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(3) {
    top: 125px;
}

.svg-tab-container .nav-item:nth-child(3) svg .main-piece {
    fill: #577ea5;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(3) svg {
    left: -6px;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(4) {
    left: auto;
    right: 0;
    top: 125px;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(4) svg {
    width: 230px;
    right: -10px;
}

.svg-tab-container .nav-item:nth-child(4) svg .main-piece {
    fill: #d68c1d;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(5) {
    bottom: 0;
    top: auto;

}

.svg-tab-container .nav-item:nth-child(5) svg .main-piece {
    fill: #820120;
}

.svg-tab-container .nav-tabs .nav-item:nth-child(6) {
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;

}

.svg-tab-container .nav-item:nth-child(6) svg .main-piece {
    fill: #2e8a73;
}

.svg-tab-container .nav-tabs .nav-link.active svg .main-piece {
    fill: #fff;
    stroke-width: 4px;
    stroke: #7d2879;
}

.svg-tab-container .nav-tabs .nav-link.active svg .piece-arrow {
    fill: #fff;
    stroke-width: 1px;
    stroke: #fff;
}

.svg-tab-container .nav-tabs .nav-link .main-piece-content {

    position: absolute;
    top: 36%;
    display: flex;
    left: 50%;
    gap: 5px;
    transform: translate(-50%, -50%);
    justify-content: center;
    width: max-content;
}

.svg-tab-container .nav-item:nth-child(2) .main-piece-content svg,.svg-tab-container .nav-item:nth-child(6) .main-piece-content svg {
    order: 2;
}

.svg-tab-container .nav-tabs .nav-link .main-piece-content svg {
    width: 30px;
    height: 35px;
    fill: #fff;
    position: static;
}

.svg-tab-container .nav-tabs .nav-link .main-piece-content h4 {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.svg-tab-container .nav-item:nth-child(3) .main-piece-content {
    top: 50%;
    flex-direction: column;
    left: 30%;
}

.svg-tab-container .nav-item:nth-child(4) .main-piece-content {
    top: 50%;
    flex-direction: column;
    left: auto;
    right: 0;
    align-items: end;
}

.svg-tab-container .nav-item:nth-child(5) .main-piece-content,
.svg-tab-container .nav-item:nth-child(6) .main-piece-content {
    top: 65%;
}

.svg-tab-container .nav-item:nth-child(4) .main-piece-content h4,
.svg-tab-container .nav-item:nth-child(2) .main-piece-content h4,
.svg-tab-container .nav-item:nth-child(6) .main-piece-content h4 {
    text-align: right;
}


.svg-tab-container .nav-tabs .nav-link.active .main-piece-content svg {
    fill: #333;
}

.svg-tab-container .nav-tabs .nav-link.active .main-piece-content h4 {
    color: #333;
}
.tab-content h4{
    font-size: 60px;
    text-align: left;
}
.tab-content .divine-difference-box {
    background-color: #fff;
    position: relative;
    padding: 25px;
    text-transform: uppercase;
    border-radius: 10px;
    border: 3px solid #82307e;
}
.tab-content .divine-difference-box h5{
    color: #82307e;
    font-size: 36px;
    text-align: left;
    text-transform: capitalize;
}
.tab-content .divine-difference-box p{
    color: #333;
    font-size: 16px;
    text-align: left;
    text-transform: none;
}
.homepage-banner{
    background-image: url(../images/homepage-banner.jpg);
    background-size: cover;
    background-position: center;
    height: 110vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}
.homepage-banner h2, .homepage-banner h3{
    color: #82307e;
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
}
.homepage-banner h2 span, .homepage-banner h3 span{
    color: #111;
}
.homepage-banner h2 span{
    border-bottom: 4px solid #82307e;
    display: inline-block;
}
.homepage-banner p{
    font-size: 30px;
    font-weight: 600;
    width: 80%;
    margin: 0 auto;
    padding-top: 10px;
}
.new-valley-standards .container-fluid{
    background:#ece0eb;
    padding:60px 40px;
    border-radius:12px;
    overflow:hidden;
    position: relative;
 min-height:430px;
}

.container-custom{
    position:relative;
    min-height:430px;
}

.new-valley-standards h2{
    color:#74307d;
    font-size:36px;

    font-weight:500;
    max-width:760px;
    margin:0;
}

.new-valley-standards .stairs{
   position: relative;
    left: 50%;
    transform: translateX(-50%);
    bottom:20px;
    height:260px;
    width: 1190px;

}

.new-valley-standards .step{
    position:absolute;
}

.new-valley-standards .arrow{

    color:#4c2a6d;
    font-weight:700;
}

.new-valley-standards .label{
    position:absolute;
    top:0;
    left:28px;
    white-space:nowrap;
    border-top:1px solid #555;
    border-left:1px solid #555;
    padding:0 12px;
    background:transparent;
    font-size:18px;
    font-weight: 600;
    color:#111;
}

/* Stair Positions */

.new-valley-standards .step1{
    left:0;
    bottom:0;
}
.new-valley-standards .step2{
    left: 122px;
    bottom: 31px;
}
.new-valley-standards .step2{
    left: 115px;
    bottom: 27px;
}

.new-valley-standards .step3{
    left: 248px;
    bottom: 54px;
}

.new-valley-standards .step4{
    left: 410px;
    bottom: 81px;
}

.new-valley-standards .step5{
    left: 556px;
    bottom: 108px;
}

.new-valley-standards .step6{
    left: 709px;
    bottom: 135px;
}

.new-valley-standards .step7{
    left: 947px;
    bottom: 189px;
}

.new-valley-standards .divine{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.new-valley-standards .divine img{
    width: 140px;
    height: auto;
    position: absolute;
    top: -56px;
}

.new-valley-standards .divine span{
    display:block;

}
.step{
    opacity:0;
    transform:translateY(15px);
}

.stairs.animate .step{
    animation:showStep .6s forwards;
}

.stairs.animate .step1{animation-delay:.2s;}
.stairs.animate .step2{animation-delay:.5s;}
.stairs.animate .step3{animation-delay:.8s;}
.stairs.animate .step4{animation-delay:1.1s;}
.stairs.animate .step5{animation-delay:1.4s;}
.stairs.animate .step6{animation-delay:1.7s;}
.stairs.animate .step7{animation-delay:2s;}

@keyframes showStep{
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.modal .btn-close {
    position: absolute;
    right: 5px;
    top: 10px;
    color: #111;
    z-index: 8888;
    font-size: 18px;
    opacity: 1;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.modal h2 {
    color: #82307e;
    font-size: 24px;
    padding-bottom: 15px;
}
.sparkle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px; /* Matches the cluster constraint */
  pointer-events: none; /* Allows user interactions to pass right through */

  mix-blend-mode: screen;

  /* 2. brightness(1.8) blows out the mid-tones and turns the gray halos white/invisible */
  /* 3. contrast(1.4) sharpens the core golden flares so they don't look washed out */
  filter: brightness(1.8) contrast(1.4);

}

.sparkle-animation {
  width: 100%;
  height: auto;
  display: block;
  animation: magicalGlow 5s infinite ease-in-out;

}
@keyframes magicalGlow {
  0% {
    opacity: 0.4;                    /* Starts soft and subtle */
    transform: scale(0.96) rotate(0deg);  /* Slightly smaller */
  }
  50% {
    opacity: 1;                      /* Reaches full brilliant glow */
    transform: scale(1.04) rotate(1deg);  /* Gently breathes outward and twists a tiny bit */
  }
  100% {
    opacity: 0.4;                    /* Fades back down smoothly */
    transform: scale(0.96) rotate(0deg);  /* Returns to original size */
  }
}

#loader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: #282828;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   LOGO
   ========================================================= */

.loader-logo {
    position: relative;

    z-index: 3;

    opacity: 0;

    animation:
        loaderLogoIn .8s ease forwards,
        loaderLogoPulse 1.2s ease-in-out .8s;
}


.loader-logo img {
    width: 300px;
    max-width: 70vw;

    display: block;
}


/* Logo entrance */

@keyframes loaderLogoIn {

    0% {
        opacity: 0;
        transform: scale(.75);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* Small pulse */

@keyframes loaderLogoPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }

}


/* =========================================================
   CIRCLE
   ========================================================= */

.loader-circle {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #74307d;

    transform: translate(-50%, -50%) scale(0);

    z-index: 2;

    animation: loaderCircleExpand 1.2s
               cubic-bezier(.77, 0, .175, 1)
               1.8s forwards;
}


/*
 * The circle needs to become larger than the viewport.
 *
 * 100vmax makes the circle large enough to cover
 * the entire screen regardless of screen ratio.
 */

@keyframes loaderCircleExpand {

    0% {
        transform:
            translate(-50%, -50%)
            scale(0);
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(100);
    }

}


/* =========================================================
   LOADER EXIT
   ========================================================= */

#loader.loader-finished {
    opacity: 0;

    transition: opacity .45s ease;
}
@media (prefers-reduced-motion: reduce) {

     .loader-circle {
        animation: none;
        transform: translate(-50%, -50%) scale(100);
    }

}