/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0B1E33;
    --slate: #4A5B6E;
    --cyan: #00FFF5;
    --cyan-glow: rgba(0, 255, 245, 0.2);
    --text-light: #E5E9F0;
    --text-muted: #B0C4DE;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--midnight);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--cyan);
    border-radius: 2px;
}

p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

/* ---------- HEADER ---------- */
header {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    background-color: rgba(11, 30, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    /* Remove gap if you aren't using the .logo-text div anymore */
    min-width: fit-content;
    text-decoration: none; /* In case you wrap it in an <a> tag */
}

.logo-icon {
    /* Increased width to accommodate the horizontal logo shape */
    width: clamp(150px, 15vw, 220px); 
    height: auto;
    object-fit: contain;
    /* Optional: subtle glow to match your theme */
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

/* You can keep .logo-text in CSS for backup, 
   but you likely won't need it in the HTML now */

.logo-text {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text span {
    color: var(--cyan);
}

.desktop-nav {
    display: flex;
    gap: 0.5rem;
}

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: var(--cyan);
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
}

.desktop-nav a:hover:after {
    width: 100%;
}

.desktop-nav a.active {
    color: var(--cyan);
}

.desktop-nav a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--cyan);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: rgba(11, 30, 51, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-radius: 10px;
    margin-top: 1rem;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--cyan);
    background-color: rgba(0, 255, 245, 0.05);
}

.mobile-nav a.active {
    color: var(--cyan);
    background-color: rgba(0, 255, 245, 0.05);
}

.mobile-nav a:last-child {
    border-bottom: none;
}



/* ---------- FOOTER ---------- */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--slate);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: flex; }
      .mobile-nav.active { display: flex; }
    }
@media (min-width: 1400px) {
      .container {
        padding: 0 4rem;
      }
    }