/* VARIABLES & RESET */
:root {
    --primary: #e74c3c; /* Fitness Red */
    --dark: #2c3e50;
    --light: #f4f7f6;
    --white: #ffffff;
    --gray: #95a5a6;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--light);
    margin: 0;
    padding: 0;
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVIGATION */
/*.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.highlight { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 16px; color: var(--dark); }
.nav-links a:hover { color: var(--primary); }*/

/* Update :root or .navbar class */

/*old navbar*/

.navbar 
{
    background: #050b14;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: #00f3ff;
}

.nav-links a:hover {
    color: #00f3ff;
}

.logo {
    color: #00f3ff; 
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
}



.highlight { color: var(--primary); }


.navbar {
        background: rgba(5, 5, 5, 0.35) !important;
        backdrop-filter: blur(15px) !important;
        position: fixed !important; 
        width: 100%; top: 0; 
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        z-index: 999;
    }
    .nav-links a { color: #00f3ff !important; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
    .nav-links a:hover { color: #39ff14 !important; }
    .logo { color: #fff !important; font-family: 'Archivo Black', sans-serif; letter-spacing: -1px; }
    .logo span { color: #00f3ff !important; }


/* FOOTER */
.footer { background: var(--dark); color: var(--white); padding: 50px 0 20px; margin-top: 60px; }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; }
.footer-col { flex: 1; min-width: 250px; margin-bottom: 20px; }
.footer-col h3, .footer-col h4 { margin-bottom: 15px; }
.footer-col a { display: block; margin-bottom: 10px; color: #bdc3c7; }
.footer-col a:hover { color: var(--primary); }

/* COMMON BUTTONS */
.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: bold; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #c0392b; }
.btn-secondary { background: transparent; border: 2px solid var(--dark); color: var(--dark); margin-left: 10px; }
.btn-secondary:hover { background: var(--dark); color: var(--white); }
.btn-block { width: 100%; display: block; text-align: center; }

/* Update this existing class */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    width: 30px;        /* Fix width to prevent jumping */
    text-align: center; /* Center the X */
    z-index: 1001;      /* Ensure icon stays above the menu */
}


/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Stack Logo and Links vertically */
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;


    }
    
    .nav-links {
        margin-top: 15px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
     /* 2. Hide Nav Links by default */
     /* 2. The Menu Container (Hidden State) */
    .nav-links {
        display: flex;              /* Keep layout ready */
        flex-direction: column;
        width: 100%;
        background: #fff;
        
        /* ANIMATION PROPERTIES */
        max-height: 0;              /* Height is 0 when closed */
        overflow: hidden;           /* Hide content */
        opacity: 0;                 /* Transparent */
        transition: all 0.4s ease;  /* The Smooth Magic */
        
        /* Remove padding when closed to prevent "jump" */
        padding-top: 0;
        border-top: 0 solid #eee;
    }
     .nav-links.active {
        max-height: 500px;          /* Expand height (enough to fit links) */
        opacity: 1;                 /* Fully visible */
        
        /* Add spacing back */
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    /* Stack Footer Columns */
    .footer .container {
        flex-direction: column;
        text-align: center;
        align-items: flex-start; /* Align logo to left */
        align-items: center;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    .menu-icon{
	display:block;
	position: absolute;
	right: 20px;
	top: 20px;
}


}