/* --- Reset & Base --- */
:root {
    --primary: #007bff;
    --secondary: #00d4ff;
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: #111111;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- CRITICAL: Thin Navbar Fix --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    /* Force exact height */
    height: 50px; 
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Fill the 50px height */
}

/* Logo Styling - Small and Compact */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.logo-img {
    height: 35px; /* Small logo */
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

/* Horizontal Links */
.nav-menu {
    display: flex;
    gap: 25px; /* Space between links */
    height: 100%;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
}

/* Underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: white;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 40px;
}

.hero-content { flex: 1; }

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-img { max-width: 100%; height: auto; border-radius: 10px; }

/* --- Content Grid --- */
.main-content { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.section { margin-bottom: 80px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 2rem; margin-bottom: 10px; }
.section-divider { width: 60px; height: 3px; background: var(--secondary); margin: 0 auto; }

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.content-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.content-card h3 { color: var(--secondary); margin-bottom: 10px; }
.content-card p { color: var(--text-muted); font-size: 0.95rem; }

.content-text {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.content-text p { color: var(--text-muted); max-width: 800px; margin: 0 auto; }

/* --- Footer --- */
.footer {
    background: #000;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title { color: white; margin-bottom: 20px; font-size: 1rem; }
.footer-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 0.8rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 50px; /* Exactly below the navbar */
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        /* Hidden by default */
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        height: auto;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    
    .nav-link::after { display: none; } /* Remove underline on mobile */

    .hero { flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 2rem; }
}
/* Ensure these variables exist in your style.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #00d4ff;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --bg-dark: #050505;
}

/* Navbar Fixes (Ensure height is 50px) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: 50px; 
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo { display: flex; align-items: center; gap: 10px; height: 100%; }
.logo-img { height: 35px; width: auto; object-fit: contain; border-radius: 50%; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: white; }

.nav-menu { display: flex; gap: 25px; height: 100%; align-items: center; }
.nav-link { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; height: 100%; display: flex; align-items: center; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--secondary-color); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--secondary-color); transition: 0.3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.mobile-toggle span { width: 20px; height: 2px; background: white; }

/* Footer Fixes */
.footer { background: #000; padding: 60px 20px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-title { color: white; margin-bottom: 20px; font-size: 1rem; }
.footer-text { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: #555; font-size: 0.8rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-menu { position: absolute; top: 50px; left: 0; width: 100%; background: #0a0a0a; flex-direction: column; align-items: flex-start; padding: 20px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); transform: translateY(-150%); transition: transform 0.3s ease-in-out; z-index: 999; }
    .nav-menu.active { transform: translateY(0); }
    .nav-link { height: auto; padding: 10px 0; width: 100%; display: block; }
    .nav-link::after { display: none; }
}

