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

.btn {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
    text-transform: uppercase;
}


.login-btn {
    background: #007bff;
    color: white;
}

.login-btn:hover {
    background: #0056b3;
}


.logout-btn {
    background: #dc3545;
    color: white;
}

.logout-btn:hover {
    background: #a71d2a;
}


.get-started-btn {
    background: var(--primary-color);
    color: white;
}

.get-started-btn:hover {
    background: #e64a19;
}


/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}


#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}


.hero h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}


.date-time-box {
    margin-top: 20px;
    font-size: 25px;
    font-weight: bold;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}


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

/*  Gym Intro Section */
.intro-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: white;
    overflow: hidden;
}


.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    transition: background-image 1s ease-in-out, filter 1s ease-in-out;
    z-index: -1;
}


.intro-content {
    z-index: 2;
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 2s ease-out forwards 1s;
}


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


.intro-content h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.image-slider {
    position: absolute;
    top: 60%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 800px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}




.slider-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin-top: 50 px;
}

.slide.active {
    opacity: 1;
}

.slider-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    color: white; 
}


.slider-text.one {
    color: #1da1f2; 
}

.slider-text.two {
    color: #26cd45;
}

.slider-text.three {
    color: #1e1e1e; 
}


.slider-text.active {
    opacity: 1;
}

/*  Mobile Responsive */
@media (max-width: 768px) {
  
    .intro-section {
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

  
    .intro-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .intro-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    
    .intro-content {
        position: relative;
        max-width: 90%;
        z-index: 2;
        padding: 10px;
        border-radius: 10px;
    }

    @media (max-width: 768px) {
       
        .image-slider {
            position: relative;
            width: 90%;
            max-width: 400px;
            height: 220px;
            margin: 20px auto; 
            display: flex;
            justify-content: flex-start; 
            align-items: center;
            transform: translateX(-55%); 
        }
    
     
        .slide {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 10px;
        }
    }
    

  
    .slider-text {
        position: relative;
        font-size: 16px;
        width: 90%;
        margin-top: 10px;
        padding: 10px;
        border-radius: 10px;
    }
}

/* 📱 Smaller Mobile Screens  */
@media (max-width: 480px) {
    .intro-content h1 {
        font-size: 24px;
    }

    .intro-content p {
        font-size: 14px;
    }

    .image-slider {
        height: 180px;
    }

    .slider-text {
        font-size: 14px;
        padding: 8px;
    }
}

/* Stellar Card Container */
.stellar-card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px 0px;
    background: linear-gradient(135deg, #1f1f1f, #222222);
    margin: 0 auto;
    max-width: 1200px;
    transition: background 0.5s ease;
    max-width: 100vw; 
}

/*.stellar-card-container:hover {
    background: linear-gradient(135deg, #333333, #1a1a1a);
} */


.stellar-card {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 20px;
    width: 250px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: scale(1);
    transition: transform 0.4s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
    margin: 0 20px;
}

.stellar-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background-color: #444;
}

.stellar-img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stellar-card:hover .stellar-img {
    transform: scale(1.05);
}


.stellar-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.stellar-card:hover .stellar-title {
    color: #ff6f61;
}


.stellar-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 15px 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.stellar-card:hover .stellar-description {
    color: rgba(255, 255, 255, 1);
}


.stellar-btn {
    background: #ff6f61;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 15px;
}

.stellar-btn:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stellar-card-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .stellar-card {
        width: 90%;
        margin-bottom: 20px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stellar-card-container {
        justify-content: center;
        gap: 20px;
        padding: 30px;
    }

    .stellar-card {
        width: 45%;
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .stellar-card-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .stellar-card {
        width: 80%;
        margin: 15px 0;
    }

    .stellar-title {
        font-size: 18px;
    }

    .stellar-description {
        font-size: 14px;
    }

    .stellar-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .stellar-card {
        width: 90%;
        padding: 15px;
    }

    .stellar-title {
        font-size: 16px;
    }

    .stellar-description {
        font-size: 13px;
    }

    .stellar-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}


/* TESTIMONIALS */
.testimonials {
    padding: 80px 10%;
    background: linear-gradient(to right, #1a1a2e, #16213e);
    color: white;
    text-align: center;
}


.testimonials h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.testimonial-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}


.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.2);
}


.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}


.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 20px;
    border: 3px solid white;
    transition: transform 0.3s ease-in-out;
}


.testimonial:hover img {
    transform: scale(1.1);
}


.person-info {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.8;
}

.person-info .name {
    font-size: 18px;
    font-weight: bold;
    color: #f4a261;
}


.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.3); 
    transform: translateY(-10px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}


@keyframes float {
    0% { transform: translateY(-10px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(-10px); }
}


.testimonial {
    animation: float 3s ease-in-out infinite;
}


.floating-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    animation: floatAnimation 3s infinite ease-in-out;
    transition: transform 0.3s ease-in-out;
    position: relative;
}


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

/* CONTACT SECTION */
.contact-us {
    padding: 80px 10%;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    text-align: center;
}


.contact-us h2 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.contact-description {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}


.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: auto;
    flex-wrap: wrap;
}


.contact-info {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
}


.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #f4a261;
    font-size: 20px;
}

/* Contact Form */
.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.1);
}


.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: #f4a261;
    outline: none;
}


.button {
    width: 100%;
    background: #f4a261;
    color: #fff;
    padding: 14px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}


.button:hover {
    background: #e76f51;
    transform: scale(1.05);
}


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

    .date-time-box {
        font-size: 19px;
        padding: 6px 10px;
    }

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

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