/* --- Basic & Global Styles --- */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    background-color: #eef2f7; /* Light blue-grey background */
    color: #4a4a4a;
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    color: #2c3e50; /* Darker heading color */
}

/* --- Header & Navigation --- */
.header {
    background: #2c3e50; /* Dark navy blue color for header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    color: #ffffff; /* White logo color for dark background */
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #ffffff; /* White link color for dark background */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffffff; /* White hamburger icon for dark background */
    font-size: 2rem;
    cursor: pointer;
}

.responsive-logo {
  width: 100%;
  max-width: 170px; /* Adjust this value to your logo's original size or desired max size */
  height: 55px;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2c3e50; /* Dark navy blue color for mobile menu */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        text-align: center;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    .nav-menu li {
        margin: 10px 20px;
    }
    .hamburger {
        display: block;
    }
}

/* --- Main Layout for Left/Right Ads --- */
.main-content {
    min-height: 80vh;
    padding-bottom: 20px;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 8fr 1fr;
    gap: 20px;
    padding: 30px 0;
}

.content-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ad-banner {
    background: #e0e0e0;
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #777;
    font-style: italic;
}

@media (min-width: 992px) {
    .left-ad, .right-ad {
        height: 600px;
    }
}

/* New responsive rules for mobile devices */
@media (max-width: 991px) {
    .main-layout {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .left-ad {
        order: -1;
    }
    .right-ad {
        order: 1;
    }
    .ad-banner {
        margin-bottom: 20px;
        min-height: 100px;
    }
}

/* Style to add margin to the new container for spacing */
.extra-container {
    margin-top: -35px;
    margin-bottom: 20px;
    background-color: #ffffff; /* This is the current background */
    border: 1px solid #dcdcdc; /* Add a subtle gray border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Add a lighter shadow */
}

/* --- Footer (Simple) --- */
.footer-simple {
    background: #2c3e50; /* Dark navy blue color for footer */
    color: #eef2f7;
    padding: 1rem 0; /* Reduced padding for a smaller height */
    text-align: center;
    font-size: 0.9rem;
}

.footer-simple p {
    margin: 0;
}