/* General styling */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #e5e5e7; /* Light gray background */
}

.main-content {
    font-family: 'Roboto Slab', serif;
    padding: 20px;
    max-width: 1200px; /* Unified max-width */
    margin: 0 auto;
}

/* Layout for sections */
.section-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid #272727;
}

/* Text content styling */
.text-content {
    width: 50%;
    text-align: left;
}

.text-content h1 {
    font-size: 32px;
    color: #333; /* Dark gray for headers */
    margin-bottom: 10px;
}
.text-content h2 {
    font-size: 22px;
    color: #333; /* Dark gray for headers */
    margin-bottom: 10px;
}

.text-content p {
    font-size: 18px;
    color: #333; /* Medium gray for paragraph text */
}

/* Image content styling */
.image-content {
    width: 25%;
    text-align: right;
    margin-right: 2%;
}

.image-content img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 2px;
    border: 1.5px solid #272727;
}

/* Dropdown menu styling */
.menu-toggle {
    display: none;
}
.nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    background-color: #2d2f33; /* Dark navy for header */
    padding: 10px 20px;
}
.nav li a {
    text-decoration: none;
    color: #ffffff; /* White text for contrast */
    font-family: 'Roboto Slab', serif;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}
.nav li a:hover,
.nav li a.active {
    background-color: #40434a; /* Slightly lighter navy for hover and active state */
    color: #ffffff;
}

/* Responsive dropdown menu for small screens */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-end; 
    }

    .nav li {
        margin: 5px 0;
    }

    .menu-toggle:checked + .menu-icon + .nav {
        display: flex;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .menu-icon span {
        height: 3px;
        width: 25px;
        background: #393939;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(-45deg);
        position: relative;
        top: 13px;
    }

    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        transform: rotate(45deg);
        position: relative;
    }

    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(45deg);
        position: relative;
        top: -4px;
        opacity: 0;
    }
}
