.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #004437; /* Unified theme color */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    max-height: 50px;
    width: auto;
    margin-left: 20px;
}

.navbar nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.navbar nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #b5d8c8;
}

/* Hamburger icon */
.menu-icon {
    display: none;
    font-size: 1.5em;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px;
}

/* Add padding so content isn't hidden by fixed navbar */
body {
    padding-top: 60px;
}

/* --------------------------------------- */
/* Existing Page Styles (Preserved)        */
/* --------------------------------------- */

/* General Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Logo Header */
.logo-header {
    display: flex;
    justify-content: center; /* Center-align the logo horizontally */
    align-items: center;     /* Center-align the logo vertically */
    background-color: white;
    padding: 40px 0;         /* Equal top and bottom margin for the logo */
}

.logo-header img {
    width: 100px;  /* Smaller logo size for a clean look */
    height: auto;
}

/* Privacy Policy / Container Styles */
.privacy-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f4f4f4; /* Light grey background for readability */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.privacy-container h1 {
    text-align: center;
    font-size: 2.5em;
    color: #004437; /* Theme color */
    margin-bottom: 20px;
}

.privacy-container h2 {
    font-size: 1.5em;
    color: #004437; /* Theme color */
    margin-top: 20px;
}

.privacy-container p {
    font-size: 1.1em;
    margin: 10px 0;
}

.last-updated {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #004437;
}

/* Footer */
footer {
    background-color: #004437; /* Theme color */
    color: white;
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Horizontally center the text */
    align-items: center; /* Vertically center the text */
    height: 40px; /* Set a fixed height for the footer */
    text-align: center;
    font-size: 0.9em; /* Slightly smaller font for sleek design */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for a modern look */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}

.insight-logo {
    text-align: center;
    margin: 20px 0;
}

.insight-logo img {
    max-height: 60px;
    width: auto;
}

.page-header {
    text-align: center;
    margin: 20px 0;
    color: #004437;
}

/* Speed Test Page Specific Styles */
.speedtest-container {
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    position: relative;
    background-color: #004437;
    border-radius: 10px;
}

.speedtest-container iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.speedtest-title {
    font-size: 1.5em;
    color: #004437;
    margin-bottom: 15px;
}

/* IPv6 Page Specific Styles */
.analyzer-container {
    background-color: #004437;
    color: #ffffff;
    padding: 40px;
    margin: 40px auto;
    max-width: 100%; /* Increased width to fill the screen */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Table Styles */
.modern-table {
    width: 100%;
    margin: 30px auto;
    border-collapse: collapse;
    background-color: #004437;
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modern-table th, .modern-table td {
    padding: 15px;
    text-align: left;
    border: 2px solid #ffffff; /* Bold white border */
}

.modern-table th {
    background-color: #1e6045;
    color: #ffffff;
    font-size: 1.2em;
}

.modern-table td {
    font-size: 1em;
}

/* Buttons */
.secondary-btn {
    background-color: #ffffff; /* White background */
    color: #004437;           /* Theme color for text */
    border: none;
    padding: 10px 20px;
    border-radius: 20px;      /* Rounded edges */
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.secondary-btn:hover {
    background-color: #e8e8e8; /* Slightly lighter on hover */
    transform: scale(1.05);
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

header h1 {
    text-align: center;
    color: #004437;
    font-size: 2.5em;
    margin: 20px 0;
}

.search-container {
    text-align: center;
    margin: 20px 0;
}

.search-container input {
    width: 50%;
    padding: 10px;
    font-size: 1em;
    border: 2px solid #004437;
    border-radius: 5px;
    outline: none;
}

.insights-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 2px solid #004437;
    text-align: left;
}

.insights-table th,
.insights-table td {
    padding: 10px 15px;
    border: 1px solid #004437;
}

.insights-table th {
    background-color: #004437;
    color: #ffffff;
    text-align: center;
    font-size: 1.2em;
}

.insights-table td {
    font-size: 1em;
    color: #333333;
}

button {
    background-color: #004437;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #002a26;
}

.return-home {
    text-align: center;
    margin: 20px 0;
}

.logo-container {
    text-align: center;
    margin: 20px 0;
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

/* --------------------------------------- */
/* Responsive Adjustments (Mobile/iPad)    */
/* --------------------------------------- */
@media (max-width: 768px) {
    /* Show hamburger, hide normal nav */
    .menu-icon {
        display: block;
        font-size: 1.8em;
        padding: 5px 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        background-color: #004437;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .navbar nav.active {
        display: flex;
    }
    .navbar nav a {
        font-size: 1.1em;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .navbar nav a:last-child {
        border-bottom: none;
    }

    /* Adjust sections for mobile */
    .logo-header {
        padding: 20px 0;
    }
    .privacy-container {
        margin: 10px;
        padding: 15px;
    }
    .analyzer-container {
        margin: 20px auto;
        padding: 20px;
    }
    .speedtest-container {
        padding-bottom: 100%; /* Better aspect ratio */
    }
    .modern-table th, .modern-table td {
        font-size: 0.9em; /* Readable on small screens */
        padding: 8px;
    }
    .search-container input {
        width: 80%;
    }
    .insights-table {
        font-size: 0.9em;
    }
}

/* --------------------------------------- */
/* Additional Blog Enhancements           */
/* --------------------------------------- */

/* Optional Featured Image in Blog */
#blog-image {
    margin: 20px auto;
    text-align: center;
    display: none; /* Shown dynamically if a blog post has an image */
}
#blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#blog-image figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
}

/* Blog Content Area */
#blog-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-top: 10px;
}

/* "Read Other Articles" / "Back Home" Buttons at Bottom of Blog */
.blog-footer-links {
    text-align: center;
    margin-top: 30px;
}

/* CTA Button (Matches site-wide styling) */
.cta-button {
    display: inline-block;
    background-color: #004437;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px; /* Small margin for spacing if there are multiple buttons */
}

.cta-button:hover {
    background-color: #1e6045;
    transform: scale(1.03);
}
