/* 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;
    }
}


.astral-mentors {
    text-align: center;
}

.quantum-title {
    font-size: 3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #0ff;
    text-shadow: 0 0 20px #0ff, 0 0 40px #00f;
    background-color:  #000;
    margin-top: 100px;
}


.nebula-grid {
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px;
    justify-items: center; 
    justify-content: center;
    align-items: center; 
    width: 100%; 
    background-color: #000;
}

.cosmic-card {
    width: 100%;
    height: auto;
    background: linear-gradient(45deg, rgba(0,255,255,0.5), rgba(255,0,255,0.5));
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;
}

.cosmic-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}


.etheric-name {
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 700;
}

.chrono-bio {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.trainer-info {
    font-size: 0.9rem;
    text-align: left;
    margin: 15px 0;
}

.book-session {
    background-color: #0ff;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.book-session:hover {
    background-color: #00b3b3;
}

.cosmic-card:hover {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.7), 0 0 100px rgba(0, 255, 255, 0.7);
}

.cosmic-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.7s;
}

.cosmic-card:hover::before {
    left: 100%;
}

/* Booking Popup */
.booking-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: #259ce0;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    max-width: 90%;
}

#trainer-name {
    color: #0ff;
}

.submit-btn {
    background-color: #0ff;
    padding: 10px 20px;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover {
    background-color: #00b3b3;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.time-picker-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

#time {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#time-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    display: none; 
    z-index: 10;
}

#time-dropdown div {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

#time-dropdown div:hover {
    background-color: #f0f0f0;
}

.success-message {
    background-color: #0f0;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

@media (max-width: 1024px) {
    .quantum-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .nebula-grid {
        gap: 20px;
        padding: 30px;
    }
    
    .cosmic-card {
        padding: 15px;
    }

  /*  .cosmic-card img {
        height: 180px;
    }*/

    .etheric-name {
        font-size: 1.3rem;
    }

    .chrono-bio {
        font-size: 0.9rem;
    }

    .trainer-info {
        font-size: 0.85rem;
    }

    .book-session {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
        
    .astral-mentors {
        text-align: center;
        padding: 0px;
        margin: 0 !important;
        
    }

    .quantum-title {
        font-size: 2rem;
        margin-top: 69px;
    }

    .nebula-grid {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .cosmic-card {
        width: 90%;
        margin: 0 auto;
        padding: 10px;
    }

  /*  .cosmic-card img {
        height: 160px;
    }*/

    .etheric-name {
        font-size: 1.2rem;
    }

    .chrono-bio {
        font-size: 0.85rem;
    }

    .trainer-info {
        font-size: 0.8rem;
    }

    .book-session {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    
    .popup-content {
        width: 90%;
        padding: 30px;
    }

    .close-btn {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {

    .astral-mentors {
        text-align: center;
        padding: 0px;
        margin: 0 !important;
    }

    .quantum-title {
        font-size: 1.7rem;
        letter-spacing: 2px;
        margin-top: 69px;
    }

    .cosmic-card {
        width: 95%;
        padding: 8px;
    }

    /*.cosmic-card img {
        height: 140px;
    }*/

    .etheric-name {
        font-size: 1.1rem;
    }

    .chrono-bio {
        font-size: 0.8rem;
    }

    .trainer-info {
        font-size: 0.75rem;
    }

    .book-session {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .popup-content {
        width: 95%;
        padding: 20px;
    }

    .close-btn {
        font-size: 1rem;
    }
}

/*  Ultimate Trainer Section */
.trainer-videos-section {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0d0d0d, #1c1c1c);
    color: white;
    overflow: hidden;
    position: relative;
}


.trainer-videos-heading {
    font-size: 3rem;
    text-shadow: 0 0 15px #f9a825;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 15px #f9a825; }
    to { text-shadow: 0 0 30px #ffcc00; }
}


.trainer-recommendation {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffcc00;
}


.video-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    perspective: 1000px;
}


.video-container {
    flex: 0 0 33%;
    opacity: 0.5;
    transform: scale(0.9);
    transition: transform 0.6s, opacity 0.6s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    min-height: 400px;
    position: relative; 
}



.video-container.active {
    opacity: 1;
    transform: scale(1.2);
}

.video-card {
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    position: relative;
    padding-bottom: 20px; 
}


.video-card:hover {
    transform: none;
}



.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.trainer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


.video-title {
    font-size: 1.8rem;
    color: #ffcc00;
    margin-top: 15px;
    text-align: center;
    margin: 0 auto;
    text-shadow: 0 0 15px #f9a825, 0 0 30px #ffcc00;
    animation: titleGlow 1.5s infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 15px #f9a825;
    }
    to {
        text-shadow: 0 0 30px #ffcc00, 0 0 45px #fbc02d;
    }
}
.video-description {
    font-size: 1rem;
    color: #ccc;
    padding: 15px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    max-height: 150px;
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    z-index: 10; 
}


.prev-button,
.next-button {
    background-color: #f9a825;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s;
}

.prev-button:hover,
.next-button:hover {
    background-color: #ffcc00;
    transform: scale(1.1);
}      

/*  Responsive for Mobile */
@media screen and (max-width: 1024px) {

    .video-carousel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; 
        overflow: hidden;
    }

    
    .video-container {
        width: 90%;
        opacity: 0.5;    
        transform: scale(0.9); 
        transition: transform 0.6s, opacity 0.6s;
        margin: 0 auto; 
    }

    
    .video-container.active {
        opacity: 1;
        transform: scale(1.2); 
    }

    
    .video-title {
        font-size: 1.5rem;
        margin-top: 10px;  
    }

    .video-description {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
    }

   
    .carousel-controls {
        display: flex;
        justify-content: center;
        width: 100%;
        position: absolute;  
        bottom: 20px;  
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 10px;
    }

   
    .prev-button, .next-button {
        font-size: 1.4rem;
        padding: 12px 22px;
        border-radius: 50px;
        background-color: #f9a825;
        color: white;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s;
    }

    .prev-button:hover, .next-button:hover {
        background-color: #ffcc00;
        transform: scale(1.1);
    }
}

/*  Mobile Phones */
@media screen and (max-width: 768px) {
   
    .video-container {
        width: 90%;
        margin: 10px 0;
        transform: scale(0.9);
        opacity: 0.5;
    }

   
    .video-container.active {
        opacity: 1;
        transform: scale(1.2);
    }

   
    .video-title {
        font-size: 1.2rem;
    }

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

    
    .carousel-controls {
        display: flex;
        justify-content: center;
        position: absolute; 
        bottom: 10px;  
        left: 0;
        right: 0;
        z-index: 10; 
        width: 100%;
    }

    .prev-button, .next-button {
        font-size: 1.3rem;
        padding: 10px 20px;
    }
}



/* Unique Trainer Journey Section */
.trainer-journey {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background: linear-gradient(45deg, #141E30, #243B55);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.journey-container {
    max-width: 900px;
    margin: auto;
}

.journey-heading {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: headingGlow 1.5s infinite alternate;
}

.journey-heading::after {
    content: '';
    width: 50%;
    height: 4px;
    background-color: #f9a825;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: headingSlide 1.5s ease-out;
}

@keyframes headingSlide {
    0% { transform: translateX(-50%) scaleX(0); }
    100% { transform: translateX(-50%) scaleX(1); }
}

.journey-timeline {
    position: relative;
    overflow: hidden;
}

.journey-phase {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.journey-phase.active {
    display: block;
    opacity: 1;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.journey-phase .content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.journey-phase .content:hover {
    transform: translateY(-10px);
}

.journey-phase img {
    width: 100%;
    max-width: 600px;
    margin-top: 15px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px; 

}

.journey-phase img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.typing-text {
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 100%;
    font-family: Montserrat;
    font-size: 1.2rem;
    display: inline-block;
    white-space: nowrap;
    border-right: none;
    padding-right: 5px;
    animation: blink 0.75s infinite step-end;
    margin-top: 15px;
    color: rgb(255, 247, 0);
}
@keyframes blink {
    50% {
        border-color: transparent;
    }
}


.next-phase {
    background: #f9a825;
    color: #141E30;
    border: none;
    padding: 14px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.next-phase:hover {
    background: #d68910;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}


.next-phase:active {
    transform: scale(1);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .journey-heading {
        font-size: 2rem;
    }

    .journey-phase .content {
        padding: 20px;
    }

    .journey-phase img {
        max-width: 100%;
    }
}
/* Responsive Trainer Journey Section */
@media (max-width: 1024px) {
    .journey-container {
        max-width: 90%;
        padding: 0 15px;
    }

    .journey-heading {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .journey-phase .content {
        padding: 30px;
        font-size: 1rem;
    }

    .journey-phase img {
        max-width: 100%;
        height: auto;
    }

    .typing-text {
        font-size: 1rem;
    }

    .next-phase {
        font-size: 1.3rem;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .journey-heading {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .journey-phase .content {
        padding: 20px;
        border-radius: 15px;
    }

    .journey-phase h3 {
        font-size: 1.5rem;
    }

    .journey-phase p {
        font-size: 1rem;
    }

    .journey-phase img {
        max-width: 100%;
        border-radius: 10px;
    }

    .typing-text {
        font-size: 0.9rem;
    }

    .next-phase {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .journey-heading {
        font-size: 1.8rem;
    }

    .journey-phase .content {
        padding: 15px;
        font-size: 0.9rem;
    }

    .journey-phase h3 {
        font-size: 1.3rem;
    }

    .journey-phase p {
        font-size: 0.9rem;
    }

    .typing-text {
        font-size: 0.8rem;
    }

    .next-phase {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .typing-text {
        position: static; 
        display: block;
        font-size: 1rem;
        white-space: normal; 
        text-align: center; 
        margin-top: 10px; 
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .typing-text {
        font-size: 0.9rem;
        padding: 5px;
    }
}




.reviews-section {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff8c00, #ff3b3b);
}

.review-form {
    display: flex;
    flex-direction: column;
}

.rating-stars {
    font-size: 2rem;
    margin-bottom: 10px;
}

.star {
    cursor: pointer;
    transition: color 0.3s ease;
}

.star:hover, .star.selected {
    color: gold;
}

#review-text {
    padding: 10px;
    background-color: #444;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #fff;
}

#submit-review {
    padding: 10px;
    background-color: #0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#submit-review:hover {
    background-color: #00b5b5;
}

.reviews-list {
    margin-top: 30px;
}

.review-card {
    background-color: #222;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.stars {
    font-size: 1.5rem;
    color: gold;
}

.review-date {
    font-size: 0.8rem;
    color: #aaa;
}

.delete-review, .edit-review {
    background-color: #0ff;
    color: #000;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.delete-review:hover, .edit-review:hover {
    background-color: #00cc99;
}

/* Mobile Responsive  */
@media (max-width: 1024px) {
    .reviews-section {
        padding: 20px 15px;
    }

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

    .review-form {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    .rating-stars {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .star {
        margin-right: 5px;
    }

    #review-text {
        font-size: 1rem;
        padding: 12px;
    }

    #submit-review {
        padding: 12px;
        font-size: 1.2rem;
    }

    .reviews-list h4 {
        font-size: 1.2rem;
    }

    .review-card {
        padding: 12px;
        margin-bottom: 15px;
    }

    .stars {
        font-size: 1.3rem;
    }

    .review-date {
        font-size: 0.9rem;
    }

    .delete-review, .edit-review {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 15px 10px;
    }

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

    .review-form {
        padding: 10px;
    }

    .rating-stars {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .star {
        margin-right: 5px;
    }

    #review-text {
        font-size: 0.9rem;
        padding: 8px;
        margin-bottom: 12px;
    }

    #submit-review {
        padding: 10px;
        font-size: 1.1rem;
    }

    .reviews-list h4 {
        font-size: 1rem;
    }

    .review-card {
        padding: 10px;
        margin-bottom: 12px;
    }

    .stars {
        font-size: 1.2rem;
    }

    .review-date {
        font-size: 0.8rem;
    }

    .delete-review, .edit-review {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 10px;
    }

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

    .review-form {
        padding: 10px;
    }

    .rating-stars {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .star {
        margin-right: 5px;
    }

    #review-text {
        font-size: 0.8rem;
        padding: 6px;
        margin-bottom: 10px;
    }

    #submit-review {
        padding: 10px;
        font-size: 1rem;
    }

    .reviews-list h4 {
        font-size: 1rem;
    }

    .review-card {
        padding: 8px;
        margin-bottom: 10px;
    }

    .stars {
        font-size: 1.1rem;
    }

    .review-date {
        font-size: 0.7rem;
    }

    .delete-review, .edit-review {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}


/* 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;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .intro-section {
        flex-direction: column;
        text-align: center;
    }

    .intro-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .intro-content h1 {
        font-size: 40px;
    }

    .testimonial {
        max-width: 80%;
    }

    .contact-us {
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .intro-content h1 {
        font-size: 35px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}



/* Rare Trainer Stories Section */
.rare-trainer-stories {
    padding: 4rem 0;
    background-color: #084f93;
}

.rare-trainer-stories .extra-container {
    text-align: center;
}

.rare-trainer-stories .extra-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    margin-top: 0%;
}

.rare-trainer-stories .extra-container .unique-story {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background-color: #d88144;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rare-trainer-stories .extra-container .unique-story:hover {
    transform: translateY(-5px);
}

.rare-trainer-stories .extra-container .unique-story h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.rare-trainer-stories .extra-container .unique-story p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--color-dark);
}

/*  Responsive Design */
@media (max-width: 768px) {
    .rare-stories-heading {
        font-size: 3rem;
    }
    .unique-story {
        height: 180px;
    }
    .story-name {
        font-size: 2rem;
    }
    .typewriter {
        font-size: 1.1rem;
    }
}

@keyframes waveAnim {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dynamic-wave-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: waveAnim 3s ease-in-out infinite; 
}


.dynamic-wave-text span:nth-child(1) {
    animation-delay: 0s; 
}

.dynamic-wave-text span:nth-child(2) {
    animation-delay: 0.2s; 
}

.dynamic-wave-text span:nth-child(3) {
    animation-delay: 0.4s; 
}

.dynamic-wave-text span:nth-child(4) {
    animation-delay: 0.6s; 
}

.dynamic-wave-text span:nth-child(5) {
    animation-delay: 0.8s; 
}


/* Rare Trainer Stories Section */
.rare-trainer-stories {
    padding: 4rem 2rem; 
    background-color: #084f93;
}

.rare-trainer-stories .extra-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.rare-trainer-stories .extra-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.rare-trainer-stories .extra-container .unique-story {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background-color: #d88144;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rare-trainer-stories .extra-container .unique-story:hover {
    transform: translateY(-5px);
}

.rare-trainer-stories .extra-container .unique-story h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.rare-trainer-stories .extra-container .unique-story p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-dark);
}

/*  Mobile Responsive Design */
@media (max-width: 768px) {
    .rare-trainer-stories {
        padding: 3rem 1rem; 
    }

    .rare-trainer-stories .extra-container h2 {
        font-size: 2rem; 
    }

    .rare-trainer-stories .extra-container .unique-story {
        padding: 1rem;
        text-align: center;
    }

    .rare-trainer-stories .extra-container .unique-story h3 {
        font-size: 1.5rem;
    }

    .rare-trainer-stories .extra-container .unique-story p {
        font-size: 1rem;
    }
}


@keyframes waveAnim {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dynamic-wave-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: waveAnim 3s ease-in-out infinite;
}


.dynamic-wave-text span:nth-child(1) { animation-delay: 0s; }
.dynamic-wave-text span:nth-child(2) { animation-delay: 0.2s; }
.dynamic-wave-text span:nth-child(3) { animation-delay: 0.4s; }
.dynamic-wave-text span:nth-child(4) { animation-delay: 0.6s; }
.dynamic-wave-text span:nth-child(5) { animation-delay: 0.8s; }

/* 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; 
    }
}

@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;
    }
}