/* =========================================
   CSS Variables & Resets
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary-blue: #004b87;
    --secondary-blue: #002395;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--secondary-blue);
}

/* =========================================
   Top Utility Bar
   ========================================= */
/* =========================================
   Announcement Banner
   ========================================= */
.announcement-banner {
    background: linear-gradient(90deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.announcement-banner .badge {
    background-color: #ff9900; /* Uses the classic NetEqualizer orange */
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-right: 10px;
    vertical-align: middle;
}

.announcement-banner a.banner-link {
    color: #ff9900;
    font-weight: 600;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.announcement-banner a.banner-link:hover {
    color: var(--bg-white);
    text-decoration: underline;
}
.top-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.social-links a, .top-menu li a {
    color: var(--text-light);
    margin-right: 15px;
}

.top-menu {
    list-style: none;
    display: flex;
}

/* =========================================
   Header & Main Navigation
   ========================================= */
.site-header {
    background-color: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    position: relative;
    z-index: 100;
}

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

.logo img {
    max-height: 60px;
}

/* Navigation & Dropdowns */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav li {
    position: relative; /* Anchor for dropdowns */
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
}

.main-nav a:hover {
    color: var(--primary-blue);
}

/* Dropdown Sub-menu Setup */
.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 200;
}

/* Show dropdown on hover */
.main-nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid var(--bg-light);
}

.main-nav ul ul a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 15px rgba(0, 35, 149, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 35, 149, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 50px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex-shrink: 0;
    width: 45%;
}

/* =========================================
   Features Grid & Cards
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 75, 135, 0.08);
    border-color: #cbd5e1;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card img {
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    object-fit: cover;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Form Specifics */
.demo-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.demo-form input[type="date"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

.radio-group {
    margin-bottom: 25px;
}

.radio-group label {
    display: inline-block;
    margin-right: 15px;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
}

/* RSS List Placeholder */
.rss-placeholder ul {
    list-style: none;
    padding-left: 0;
}

.rss-placeholder li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-light);
}

.rss-placeholder li:last-child {
    border-bottom: none;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: #0f172a; /* Deep slate background */
    color: #ffffff; /* Bright white base text */
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem; /* Increased size for headers */
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    color: #ffffff; /* Pure white headers */
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #e2e8f0; /* High-contrast, very light gray/blue */
    font-size: 1rem; /* Increased font size for readability */
    line-height: 2.2;
}

.footer-col a:hover {
    color: #ffffff; /* Bright white on hover */
    text-decoration: underline; /* Adds an underline so it's clearly a link */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 25px;
    font-size: 0.95rem; /* Increased size */
    color: #e2e8f0;
}

.footer-bottom a {
    color: #ffffff; /* Bright white for bottom links */
    margin: 0 10px;
    font-weight: 600; /* Made slightly bolder to stand out */
}

.footer-bottom a:hover {
    text-decoration: underline;
}
