:root {
    --primary: #38bdf8;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f1f5f9;
    --accent: #f43f5e;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    padding: 1.5rem 0;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: white; }
.logo .dot { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: #94a3b8; font-weight: 600; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hero Section */
.hero { padding: 80px 0; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.highlight { color: var(--primary); }

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 50px;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #334155;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
}

.btn.secondary { background: #475569; color: white; }

footer { text-align: center; padding: 50px 0; color: #64748b; font-size: 0.9rem; }

.small-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    margin-top: 12px !important;
    border-radius: 6px !important;
    width: 100%;
}

/* Navigation Dropdown Menu Engine */
.nav-links li {
    position: relative; /* Gives the submenu an anchor point */
}

.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Sits perfectly right below the nav bar link */
    left: 0;
    background-color: var(--card-bg); /* Matches your sleek dark theme */
    border: 1px solid #334155;
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
}

/* Format the links inside the dropdown */
.dropdown-content li a {
    color: #cbd5e1;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

/* Highlight line item when hovering over it */
.dropdown-content li a:hover {
    background-color: #1e293b;
    color: var(--primary);
}

/* Display the dropdown menu when hovering over the parent list element */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Submenu Bottom Accent Link */
.dropdown-content li a.view-all {
    border-top: 1px solid #334155;
    margin-top: 5px;
    font-weight: 600;
    color: #94a3b8;
}
/* Bulletproof Logo Fix: Forces ALL navbar logos on ALL subpages to stay large */
.navbar img,
.navbar a img,
.logo-link img,
.brand-logo {
    height: 55px !important;  /* Sets a perfect, highly visible size */
    width: auto !important;   /* Prevents the image from stretching sideways */
    max-height: none !important;
    display: block !important;
}