/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    scroll-behavior: smooth;
}

/* Root Variables */
:root {
    --primary-color: #ff5722;
    --secondary-color: #1e1e1e;
    --white-color: #ffffff;
    --gray-color: #f4f4f4;
    --transition-speed: 0.3s;
}

/* Body Styling */
body {
    background: var(--gray-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

/* HEADER */
header {
    background: var(--secondary-color);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-speed);
}

header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white-color);
    font-size: 22px;
    font-weight: bold;
}

header .logo img {
    width: 50px;
    margin-right: 10px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--white-color);
    font-weight: 600;
    transition: var(--transition-speed);
}

header nav ul li a:hover {
    color: var(--primary-color);
}
/* Digital Clock Styling */
.clock-container {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite ease-in-out;
}

.digital-clock {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffcc00;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.8), 0 0 25px rgba(255, 204, 0, 0.6), 0 0 35px rgba(255, 204, 0, 0.4);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* Section Styling */
.powerhouse-classes {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    padding: 60px 10%;
    text-align: center;
    color: white;
    padding-top: 120px; 
    }
    

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}


.class-activities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}


.class-showcase img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4);
}


.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.class-card {
    perspective: 1000px;
}

.flip-box {
    width: 250px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out, box-shadow 0.3s;
    will-change: transform;
}
.flip-box:hover {
    box-shadow: 0px 10px 30px rgba(255, 165, 0, 0.6);
}


.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
}

.flip-box-front {
    background: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    padding: 10px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.flip-box-back {
    background: #222;
    transform: rotateY(180deg);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: opacity 0.5s ease-in-out;
}
.class-card:hover .flip-box-back {
    opacity: 1;
}

.flip-box-front img {
    width: 70%;
    height: 70%;
    border-radius: 10px;
}


.class-btn {
    width: 100%; 
    padding: 12px;
    margin-top: 10px;
    background: orange;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    border: none; 
    transition: transform 0.2s ease-in-out, background 0.3s ease;
}


.class-btn:hover {
    background: #ff4500;
  
}


.flip-box-back {
    background: #222;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(255, 69, 0, 0.3);
}

.back-btn {
    margin-top: 15px;
    padding: 10px 15px;
    background: red;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
     transition: transform 0.2s ease-in-out;
}


.back-btn:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.back-btn-link {
    text-decoration: none; 
    color: inherit; 
}

/* Flip Effect */
.class-card:hover .flip-box {
    transform: rotateY(180deg);
}

.flip-box-front img {
    width: 100%; 
    height: auto; 
    border-radius: 10px; 
    border: 5px solid #ff8c00;
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.5); 
    object-fit: cover;
}
/* Carousel Images Styling */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}


.carousel-img:first-child {
    opacity: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
    .class-activities {
        flex-direction: column;
    }
    
    .class-grid {
        grid-template-columns: 1fr;
    }
}
/* Galactic Section Styling */
.next-level-classes {
    background: linear-gradient(135deg, #0d0d0d, #1c1c1c);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.galactic-container {
    max-width: 1200px;
    margin: auto;
}

.next-level-classes h2 {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.next-level-classes p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #aaa;
}


.cosmic-schedule {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.fitness-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 320px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.fitness-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.5);
}


.fitness-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.fitness-info {
    padding: 20px;
}

.fitness-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.fitness-info p {
    font-size: 1rem;
    margin: 5px 0;
}


.add-to-calendar {
    background: #ffcc00;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.add-to-calendar:hover {
    background: #ffaa00;
}


.calendar-details {
    display: none;
    padding: 15px;
    background-color: #222;
    color: #fff;
    margin-top: 10px;
    border-radius: 8px;
}
.cta-button {
    background: #ffcc00;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.cta-button:hover {
    background: #ffaa00;
}


/*  Futuristic Floating Biohacking Experience */
.holographic-recovery-zone {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle, #000428, #004e92);
    color: white;
    overflow: hidden;
}

.glowing-title {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glow 1.5s infinite alternate;
    text-shadow: 0 0 15px cyan, 0 0 30px cyan;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px cyan, 0 0 20px cyan; }
    100% { text-shadow: 0 0 20px cyan, 0 0 40px cyan; }
}

.energy-description {
    font-size: 1.4rem;
    opacity: 0.8;
    margin-bottom: 40px;
}


.holo-elements {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.holo-elements li {
    font-size: 1.5rem;
    font-weight: bold;
    color: cyan;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    animation: floatAnimation 3s infinite ease-in-out alternate;
}

.holo-elements li:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px cyan, 0 0 30px cyan;
}


@keyframes floatAnimation {
    0% { transform: translateY(-5px); }
    100% { transform: translateY(5px); }
}


.hover-instruction {
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.7;
}


#energy-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 150px;
    pointer-events: none;
    opacity: 0.4;
}

/* Floating Chat Button */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f9a825;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.chat-button:hover {
    background: #d68910;
    transform: scale(1.1);
}

/* THE ULTIMATE FOOTER */
.galaxy-footer {
    background: linear-gradient(135deg, #090a0a, #1c1f26);
    color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.lunar-glow {
    flex: 1;
    min-width: 280px;
    max-width: 300px;
}

.glow-logo {
    width: 120px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* Newsletter Section */
.stellar-news {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
}

.neon-heading {
    font-size: 22px;
    color: #ff6f61;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 15px #ff6f61, 0 0 30px #ff6f61;
}

.neon-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-weight: 300;
}

.universe-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: auto;
}

.cosmic-input {
    width: 70%;
    padding: 12px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cosmic-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cosmic-input:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.launch-btn {
    background: #ff6f61;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.launch-btn:hover {
    background: #e64a19;
    transform: scale(1.05);
}


.orbital-social {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
}

.social-links {
    display: flex;
    justify-content: center; 
    gap: 70px;
}
.social-icon {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #ff6f61;
}

.fb:hover { color: #3b5998; }
.twitter:hover { color: #1da1f2; }
.insta:hover { color: #e4405f; }
.yt:hover { color: #ff0000; }

/* Footer Credits Section */
.footer-credits {
    margin-top: 0px;
    font-size: 14px;
    opacity: 0.7;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.social-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%; 
    margin-top: 50px; 
}

/* Go to Top Button */
.go-to-top-btn {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.show-btn {
    opacity: 1;
    bottom: 80px;
}

.go-to-top-btn:hover {
    background-color: #e64a19;
}


.go-to-top-btn:focus {
    outline: none;
}


html {
    scroll-behavior: smooth;
}

.gym-quiz {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    font-family: 'Poppins', sans-serif;
}

.quiz-title {
    font-size: 2.5rem;
    text-shadow: 0 0 15px cyan;
}

.quiz-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.quiz-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px cyan;
    display: inline-block;
    width: 80%;
    max-width: 500px;
}

#question-text {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

#answer-options button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 1.2rem;
    border: none;
    background: cyan;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

#answer-options button:hover {
    transform: scale(1.1);
    background: lime;
}


.progress-container {
    width: 80%;
    max-width: 500px;
    background: white;
    height: 10px;
    margin: 20px auto;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: lime;
    transition: width 0.5s ease-in-out;
}


.hidden {
    display: none;
}


#quiz-result {
    margin-top: 30px;
}

#quiz-result h3 {
    font-size: 2rem;
    text-shadow: 0 0 10px lime;
}

#result-text {
    font-size: 1.2rem;
    margin-top: 10px;
}

#restart-quiz {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1.2rem;
    background: cyan;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#restart-quiz:hover {
    background: lime;
}
/*  Warrior Training Section */
.warrior-training {
    text-align: center;
    padding: 80px 20px;
    background-color: whitesmoke;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    font-size: 2.8rem;
    text-shadow: 0 0 15px rgb(254, 8, 8);
    animation: fadeIn 1.5s ease-in-out;
}

.section-description {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
    color: #090a0a;
}

/* Warrior Selection */
.warrior-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.warrior-btn {
    background: none;
    border: 2px solid gold;
    padding: 15px;
    width: 180px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    text-align: center;
}

.warrior-btn img {
    width: 100%;
    height: 120px;
    border-radius: 5px;
    object-fit: cover;
}

.warrior-btn span {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.warrior-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px gold;
}



.warrior-details {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    text-align: center;
    display: none;
}
.warrior-details.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.warrior-details img {
    width: 200px;
    border-radius: 10px;
}

#warrior-title {
    font-size: 2rem;
    margin: 15px 0;
    text-shadow: 0 0 10px cyan;
}

#warrior-description {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #090a0a;
}


.blur {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}


#joined-message {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 255, 0, 0.8);
    color: white;
    font-size: 1.2rem;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: showMessage 1.5s ease-out forwards, hideMessage 1.5s ease-out 5s forwards;
}

@keyframes showMessage {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hideMessage {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.hidden {
    display: none;
}


#join-class button {
    background: gold;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#join-class:hover {
    background: orange;
}


#join-class button:hover {
    background: #e07b00;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
    transform: translateY(-5px); 
}


#join-class button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.5);
}


#join-class button:active {
    background: #e07b00;
    transform: translateY(2px); 
}

@media (max-width: 1024px) {
    .warrior-training {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .warrior-selection {
        gap: 20px;
    }

    .warrior-btn {
        width: 150px;
        padding: 12px;
    }

 /*   .warrior-btn img {
        height: 100px;
    }*/

    .warrior-btn span {
        font-size: 1rem;
    }

    .warrior-details {
        padding: 15px;
    }

    .warrior-details img {
        width: 180px;
    }

    #warrior-title {
        font-size: 1.8rem;
    }

    #warrior-description {
        font-size: 1.1rem;
    }

    #join-class button {
        font-size: 1.1rem;
        padding: 8px 15px;
    }
}

/* 📱 Smartphones (max-width: 768px) */
@media (max-width: 768px) {
    .warrior-training {
        padding: 50px 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .warrior-selection {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .warrior-btn {
        width: 90%;
        max-width: 280px;
    }

   /* .warrior-btn img {
        height: 90px;
    }*/

    .warrior-btn span {
        font-size: 1rem;
    }

    .warrior-details {
        padding: 12px;
        border-radius: 12px;
    }

    .warrior-details img {
        width: 160px;
    }

    #warrior-title {
        font-size: 1.6rem;
    }

    #warrior-description {
        font-size: 1rem;
    }

    #join-class button {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

/* 📱 Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .warrior-training {
        padding: 40px 8px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .warrior-selection {
        gap: 10px;
    }

    .warrior-btn {
        width: 100%;
        max-width: 250px;
        padding: 10px;
    }

  /*  .warrior-btn img {
        height: 80px;
    }*/

    .warrior-btn span {
        font-size: 0.9rem;
    }

    .warrior-details {
        padding: 10px;
        border-radius: 10px;
    }

    .warrior-details img {
        width: 140px;
    }

    #warrior-title {
        font-size: 1.4rem;
    }

    #warrior-description {
        font-size: 0.9rem;
    }

    #join-class button {
        font-size: 0.9rem;
        padding: 7px 10px;
    }
}
/* 📱 Tablet Screens  */
@media (max-width: 1024px) {
    .next-level-classes {
        padding: 50px 15px;
    }

    .next-level-classes h2 {
        font-size: 2rem;
    }

    .next-level-classes p {
        font-size: 1.1rem;
    }

    .cosmic-schedule {
        gap: 15px; 
    }

    .fitness-card {
        width: 280px;
    }

    .fitness-info h3 {
        font-size: 1.4rem;
    }

    .fitness-info p {
        font-size: 0.95rem;
    }

    .add-to-calendar,
    .cta-button {
        font-size: 0.95rem;
        padding: 10px;
    }
}

/* 📱 Mobile Screens  */
@media (max-width: 768px) {
    .next-level-classes {
        padding: 40px 10px;
    }

    .next-level-classes h2 {
        font-size: 1.8rem;
    }

    .next-level-classes p {
        font-size: 1rem;
    }

    .cosmic-schedule {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .fitness-card {
        width: 90%; 
        max-width: 350px;
    }

    .fitness-card img {
        height: 180px;
    }

    .fitness-info {
        padding: 15px;
    }

    .fitness-info h3 {
        font-size: 1.3rem;
    }

    .fitness-info p {
        font-size: 0.9rem;
    }

    .add-to-calendar,
    .cta-button {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* 📱 Small Mobile Screens  */
@media (max-width: 480px) {
    .next-level-classes {
        padding: 30px 5px;
    }

    .next-level-classes h2 {
        font-size: 1.6rem;
    }

    .next-level-classes p {
        font-size: 0.9rem;
    }

    .fitness-card {
        width: 100%;
        max-width: 320px;
    }

    .fitness-card img {
        height: 160px;
    }

    .fitness-info {
        padding: 10px;
    }

    .fitness-info h3 {
        font-size: 1.2rem;
    }

    .fitness-info p {
        font-size: 0.85rem;
    }

    .add-to-calendar,
    .cta-button {
        font-size: 0.85rem;
        padding: 8px;
    }
}
/* 📱 Mobile Responsiveness */
@media (max-width: 1024px) {
    .glowing-title {
        font-size: 2.5rem;
    }

    .energy-description {
        font-size: 1.2rem;
    }

    .holo-elements {
        gap: 30px;
    }

    .holo-elements li {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .holographic-recovery-zone {
        padding: 60px 15px;
    }

    .glowing-title {
        font-size: 2rem;
    }

    .energy-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .holo-elements {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .holo-elements li {
        font-size: 1.2rem;
    }

    .hover-instruction {
        font-size: 0.9rem;
    }

    #energy-wave {
        height: 100px;
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .holographic-recovery-zone {
        padding: 50px 10px;
    }

    .glowing-title {
        font-size: 1.8rem;
    }

    .energy-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .holo-elements {
        gap: 15px;
    }

    .holo-elements li {
        font-size: 1.1rem;
    }

    .hover-instruction {
        font-size: 0.8rem;
    }

    #energy-wave {
        height: 80px;
        opacity: 0.2;
    }
}
@media (max-width: 768px) {
    .footer-glow {
        flex-direction: column; 
        text-align: center;
        gap: 30px; 
        position: relative;
    }

    .lunar-glow, .stellar-news, .orbital-social {
        width: 90%;
        max-width: 320px;
        margin: auto;
    }

    .universe-form {
        flex-direction: column;
        align-items: center;
    }

    .cosmic-input {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .launch-btn {
        width: 100%;
    }

    .social-links {
        justify-content: center;
        gap: 70px;
    }

    /* Go to Top Button Adjustment */
    .go-to-top-btn {
        margin-top: 0px; 
        margin-bottom: 0px;
    }
}

@media (max-width: 768px) {
    .chat-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 40px;
    }
}

@media (max-width: 480px) {
    .chat-button {
        bottom: 10px;
        right: 10px;
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 35px;
    }
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 2rem;
        text-shadow: 0 0 10px cyan;
    }

    .quiz-description {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .quiz-box {
        width: 90%;
        padding: 15px;
    }

    #question-text {
        font-size: 1.3rem;
    }

    #answer-options button {
        font-size: 1rem;
        padding: 8px;
    }

    #next-question {
        font-size: 1rem;
        padding: 10px;
    }

    .progress-container {
        width: 90%;
    }

    #quiz-result h3 {
        font-size: 1.7rem;
    }

    #result-text {
        font-size: 1rem;
    }

    #restart-quiz {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .quiz-title {
        font-size: 1.8rem;
    }

    .quiz-description {
        font-size: 0.9rem;
    }

    .quiz-box {
        width: 95%;
        padding: 10px;
    }

    #question-text {
        font-size: 1.2rem;
    }

    #answer-options button {
        font-size: 0.9rem;
        padding: 7px;
    }

    #next-question {
        font-size: 0.9rem;
        padding: 8px;
    }

    .progress-container {
        width: 95%;
    }

    #quiz-result h3 {
        font-size: 1.5rem;
    }

    #result-text {
        font-size: 0.9rem;
    }

    #restart-quiz {
        font-size: 0.9rem;
        padding: 7px 12px;
    }
}


/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--white-color);
    margin-right: 20px;
    transition: transform 0.3s ease;
}

#menu-icon {
    transition: transform 0.3s ease;
}


nav.open + .menu-toggle #menu-icon {
    transform: rotate(180deg); 
    content: "×"; 
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block; 
    }
    

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
        transition: display 0.3s ease;
    }

    nav.open {
        display: flex; 
       margin-top: 22px;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        font-size: 18px;
        display: block;
        padding: 10px;
        margin-left: 13px;
    }

   
    .clock-container {
        display: block; 
        padding: 10px;
        font-size: 16px;
    }
}


@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logo img {
        width: 40px; 
    }

    .logo span {
        font-size: 18px;
    }

    .menu-toggle {
        font-size: 24px;
    }

    nav {
        top: 50px;
    }


   
    .clock-container {
        font-size: 14px; 
    }
}