/* ==========================
   Root Color Variables
========================== */


:root {

    --theme-color: #151e3c;
    --theme-dark-color: #17203c;
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #ffffff;
    --white-color: #ffffff;

    /* White */
    --dark-color: #000000;
    /* Black */
    --navbar-bg: rgba(0, 0, 0, 0.1);
    --overlay-bg: rgba(0, 0, 0, 0.3);
}

.cinzel {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* ==========================
   Global Styles
========================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Cinzel', serif;
    background: url('../images/background/bg1.png') no-repeat center center / cover;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--secondary-color);
    text-transform: lowercase;
    text-transform: none !important;
}



/* ==========================
   Navbar
========================== */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(6px);
    height: 80px;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-size: 18px;
    margin-right: 18px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}



.border-line {
    position: relative;
    top: -20px;
    padding: 5px 10px;
    background-color: #151e3c;
    font-size: 12px;
    text-transform: lowercase;
}



.cta-box small {

    color: #bfae8a;
    font-size: 14px;
}

.cta-box:hover {
    background: rgba(200, 164, 93, 0.08);
    color: #fff;
}

.cta-secondary {
    padding: 18px 30px;
}

.btn-font-size {
    font-size: 20px;
}



/* ==========================
   Hero Section
========================== */
.hero {
    padding-top: 100px;
    padding-bottom: 100px;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: var(--overlay-bg); */
}


.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* ==========================
   Buttons (Optional)
========================== */
.btn-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.img-book {
    max-width: 400px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-btn {
    background: var(--theme-color);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.3s ease;

}

.theme-btn .text-bg-btn {
    background-image: url('../images/background/bg4.png');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}




/* ==========================
   Button Animations
========================== */
.btn-animate {
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn-animate:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Play Button Special Effect */
.btn-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    animation: pulse 2s infinite;
}

.btn-play i {
    font-size: 1.2rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 28px;
    height: 26px;
}

.btn-play:hover i {
    font-size: 1.2rem;
    background-color: var(--white-color);
    border-radius: 50%;
    width: 28px;
    height: 26px;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}



/* Shake on Hover */
.theme-btn:hover {
    animation: themeShake 0.5s ease-in-out;
}

/* Keyframes */
@keyframes themeShake {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-3px);
    }

    30% {
        transform: translateX(3px);
    }

    45% {
        transform: translateX(-2px);
    }

    60% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

/* ============================
   Image Text Menu Effect
============================ */
.fantasy-menu .nav-link {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    /* text-transform: uppercase; */

    /* Image inside text */
    background-image: url('../images/background/bg4.png');
    background-size: cover;
    background-position: center;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
    color: transparent;

    padding: 10px 18px;
    position: relative;
    transition: all 0.35s ease;
}

/* Hover Glow */
.fantasy-menu .nav-link:hover {
    text-shadow:
        0 0 8px rgba(212, 175, 55, 0.7),
        0 0 18px rgba(212, 175, 55, 0.4);
}

/* Underline Animation */
.fantasy-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.fantasy-menu .nav-link:hover::after {
    width: 70%;
}

/* Active Menu Item */
.fantasy-menu .nav-link.active {
    text-shadow:
        0 0 12px rgba(212, 175, 55, 0.9),
        0 0 28px rgba(212, 175, 55, 0.6);
}

/* .world-page {
    background: url('../world/seven-dom.png') no-repeat center center / cover;
    min-height: 100vh;
    margin: 140px 0px 0px 0px;
} */

.pt-100 {
    padding-top: 80px !important;
}

.dom-info-model {
    height: 80dvh;
    background-image: url("../images/background/bg1.png");
    overflow-y: scroll;
    padding: 10px 20px;
}


.world {
    position: relative;
    padding-top: 80px;
    /* max-width: 1300px; */
    /* margin: auto */
}

.world img {
    width: 100%;
    /* height: 88dvh; */
    border-radius: 12px;
    /* height: 100dvh; */
    /* overflow: hidden; */
}

.dome {
    position: absolute;
    cursor: pointer;
    border-radius: 50%;
}

/* Adjust positions based on image */
.anthem {
    top: 33%;
    left: 10%;
    width: 12%;
    height: 5%
}

.water {
    top: 43%;
    left: 23%;
    width: 12%;
    height: 8%
}

.power {
    top: 43%;
    left: 65%;
    width: 12%;
    height: 8%
}

.space {
    top: 54%;
    left: 8%;
    width: 12%;
    height: 8%
}

.energy {
    top: 54%;
    left: 80%;
    width: 12%;
    height: 8%
}

.farmer {
    top: 74%;
    left: 10%;
    width: 20%;
    height: 10%;
}

.fabric {
    top: 74%;
    left: 72%;
    width: 20%;
    height: 10%;
}

.central {
    top: 54%;
    left: 25%;
    width: 48%;
    height: 20%;
}

/* .dome:hover {
    outline: 2px solid rgba(255, 255, 255, .4)
} */

.book-text {
    background-image: url("../images/background/bg1.png");
    height: 350px;
    overflow-y: scroll;
    padding: 10px 10px;
    text-transform: lowercase !important;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Chrome, Safari */
.book-text::-webkit-scrollbar {
    display: none;
}

.media-card {
    position: relative;
    overflow: hidden;
}

.audio-overlay {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    padding: 10px;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.35);
}

.audio-overlay audio {
    width: 100%;
    height: 32px;
}

.anthem-overlay {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    /* ✅ horizontal center */
    align-items: center;

    padding: 10px;
    background: rgb(246 246 246 / 0%);
}

/* #anthemAudio {
    width: 85%;
    max-width: 400px;
} */

.anthem-overlay audio {
    width: 100%;
    height: 32px;
}

.anthem-close-btn {
    position: absolute;
    top: 2%;
    right: 2%;
    z-index: 10;
}



/* Optional: hide default audio background */
audio::-webkit-media-controls-panel {
    background-color: transparent;
}

#preloader {
    position: fixed;
    inset: 0;
    /* FULL SCREEN */

    background: url(../images/background/bg1.png) center/cover no-repeat;
    /* or just background:#fff */

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* center image size */
.loader-img {
    width: 120px;
    /* control loader size here */
    height: auto;
}

/* hide state */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* optional animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.section-padding {
    padding: 150px 0px !important;
}

.bg-dark {
    background: linear-gradient(135deg, #1f1f1f, #2c2c2c);
}

.text-warning {
    letter-spacing: 2px;
}

.bg-secondary.bg-opacity-25:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}



.book-card {
    background: #29292980;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    height: 100%;
}



.book-card img {
    /* width: 100%; */
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.pt-100 {
    padding-top: 100px !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.section-padding {
    padding: 80px 0;
}

/* Author Image */
.author-img {
    max-height: 420px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Contact Form Box */
.contact-box {
    background: #f8f9fa77;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Form */
.form-control {
    padding: 12px;
    border-radius: 8px;
}

.send-message-btn {
    background-color: var(--theme-color);
    color: var(--white-color);
    font-weight: 600;
}

.book-text {
    max-height: 350px;
    overflow-y: auto;
}

.anthem-wrapper {
    position: relative;
}

.anthem-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* overlay */
.anthem-lyrics {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    overflow-y: auto;
    padding: 25px;
    text-align: center;
}

/* each line */
.lyric-line {
    color: #c7c7c7;
    padding: 6px 0;
    font-size: 17px;
    transition: .3s;
}

/* active line */
.lyric-line.active {
    color: #0d6efd;
    /* primary */
    font-weight: 700;
    font-size: 19px;
    text-shadow: 0 0 8px #0d6efd;
}

.bg-transparent {
    background: transparent !important;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Full overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Dark transparent layer */
    background: rgba(0, 0, 0, 0.7);

    /* Flex for positioning */
    display: flex;
    justify-content: center;

    /* Push text to 75% from top */
    align-items: flex-start;
    padding-top: 75%;

    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.theme-btn2,
.theme-btn2:hover {
    background-color: var(--theme-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
}

.bg-primary {
    background-color: var(--theme-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white-color) !important;
}

/* Parent */
.has-submenu {
    position: relative;
}

/* Submenu default hidden */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--theme-color);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    display: none;
    z-index: 999;
    border: 1px solid var(--primary-color);
}

/* Submenu items */
.submenu li {
    padding: 0;
}

.submenu-item {
    display: block;
    padding: 10px 18px;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.submenu-item:hover {
    background: var(--theme-color);
    color: var(--white-color);
    /* padding-left: 25px; */
}

@media (min-width: 992px) {

    .has-submenu:hover .submenu {
        display: block;
        animation: fadeIn 0.3s ease;
    }

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {

    .submenu {
        position: static;
        display: none;
        background: var(--theme-color);
        padding-left: 15px;
    }

    .submenu-item {
        padding: 8px 0;
        color: #fff;
    }

    .has-submenu.active .submenu {
        display: block;
    }

}

.anthem-wrapper {
    position: relative;
    overflow: hidden;
}

.anthem-overlay1 {
    position: absolute;
    bottom: 20px;
    /* 20px from bottom */
    left: 0;
    width: 100%;
    /* Full image width */
    padding: 0 20px;
    /* Optional side spacing */
}

.anthem-overlay1 audio {
    width: 100%;
}

.book-card {
    transition: 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.book-card img {
    height: 350px;
    object-fit: cover;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.book-card h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
}

.book-card:hover h5 {
    color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.anthem-overlay2 {
    position: relative;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 12px 18px;
    /* background: rgb(44 59 105 / 28%); */
    /* backdrop-filter: blur(1px); */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.sound-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
}

.sound-wave span {
    width: 6px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 3px;
    display: block;
}

.sound-wave.playing span {
    animation: wave 1s infinite ease-in-out;
}

.sound-wave.playing span:nth-child(2) {
    animation-delay: 0.1s;
}

.sound-wave.playing span:nth-child(3) {
    animation-delay: 0.2s;
}

.sound-wave.playing span:nth-child(4) {
    animation-delay: 0.3s;
}

.sound-wave.playing span:nth-child(5) {
    animation-delay: 0.4s;
}

.sound-wave.playing span:nth-child(6) {
    animation-delay: 0.5s;
}

.sound-wave.playing span:nth-child(7) {
    animation-delay: 0.6s;
}

.sound-wave.playing span:nth-child(8) {
    animation-delay: 0.7s;
}

.sound-wave.playing span:nth-child(9) {
    animation-delay: 0.8s;
}

.sound-wave.playing span:nth-child(10) {
    animation-delay: 0.9s;
}

.sound-wave.playing span:nth-child(11) {
    animation-delay: 0.4s;
}

.sound-wave.playing span:nth-child(12) {
    animation-delay: 0.5s;
}

.sound-wave.playing span:nth-child(13) {
    animation-delay: 0.6s;
}

@keyframes wave {

    0%,
    100% {
        height: 30px;
    }

    50% {
        height: 60px;
    }
}


/* .zoom-highlight {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 2;

    background-image: url('./assets/world/seven-dom2.png');
    background-size: 120%;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
} */

/* Tooltip */
.dome-tooltip {
    position: absolute;
    display: none;
    width: 220px;
    background: #111;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    z-index: 999;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dome-tooltip audio {
    width: 100%;
    margin-top: 5px;
}

.tooltip-title {
    font-weight: 600;
    font-size: 14px;
}

.book-slide {
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */

    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 20px;
}

.book-overlay h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    max-width: 80%;
}

.bg-dark-theme {
    background: var(--theme-dark-color) !important;
}

.testimonial-card {
    padding: 25px;
    border-radius: 16px;
    height: 100%;
    min-height: 260px;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);

    border: 1px solid var(--theme-color);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover */
.testimonial-card:hover {
    border-color: var(--primary-color);
}

/* Profile Row */
.profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-row img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.profile-info h4 {
    margin: 0;
    font-size: 16px;
}

/* Social below name */
.social-links {
    margin-top: 5px;
}

.social-links a {
    margin-right: 8px;
    font-size: 13px;
    color: var(--primary-color);
}

/* Description (5 lines clamp) */
.description {
    font-size: 16px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.3s;
    text-align: start;
    line-height: 20px;
}

/* Expanded text */
.testimonial-card.active .description {
    -webkit-line-clamp: unset;
}

/* Read More */
.read-more-btn {
    margin-top: 10px;
    font-size: 13px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;

}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Brand Colors */
.social-icon.instagram { background: #E1306C; }
.social-icon.facebook { background: #1877F2; }
.social-icon.linkedin { background: #0077B5; }
.social-icon.substack { background: #ffffff; }
.social-icon.whatsapp { background: #25D366; }

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

}


/* .audio-popup {
    position: fixed;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    width: 300px;
    background: transparent;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.audio-popup audio {
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    border: none;
    background: none;
    font-size: 14px;
    cursor: pointer;
    color:#fff;
} */

.audio-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    background: transparent;
    padding: 10px 15px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

#audioPopup button {
    border: none;
    background: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.close-btn {
    font-size: 14px;
    opacity: 0.7;
}
.testimonial-slider{
    padding: 40px 0;
}


.testimonial-slider .swiper-slide {
    transform: scale(0.9);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.testimonial-slider .swiper-slide-active {
    transform: scale(1.1);
    opacity: 1;
    z-index: 2;
}