/* General Body Styles */
body {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background-color: #926666;
    background-image: url('images/bg800bulbs.jpg');
    margin: 1rem;
    padding: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Page Wrapper */
#page {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
}

/* Navigation Styling */
#topmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding-right: 1.25rem;
}

#logo-container img {
    width: 5rem;
    height: auto;
}

#topmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}

#topmenu ul li {
    display: inline-block;
}

#topmenu ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

#topmenu ul li a:hover {
    background-color: #2d9975;
}

/* Banner Image */
#header {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 0.3125rem;
}

/* Main Content Section */
#zeroelectricitybill h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 1rem 0;
    border-bottom: 1px solid #000000;
}

#zeroelectricitybill p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 1rem 0;
}

/* Articles Section */
#articles {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

#articles h2 {
    font-size: 2rem;
    border-bottom: 1px solid #000000;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

#articles p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Content Wrapper with Images */
.content {
    margin-bottom: 2rem;
    overflow: hidden;
}

.content img {
    max-width: 40%;
    height: auto;
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

/* Clear Floats After Image */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* About Us Section */
#aboutus {
    background-color: #b9692e;
    padding: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    border-radius: 0.9375rem;
    margin-bottom: 2rem;
    color: #000000;
}

#aboutus h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px dotted #000;
    padding-bottom: 0.5rem;
}

#aboutus .column {
    background-color: #b9692e;
    font-size: 1rem;
    line-height: 1.6;
    column-count: 2;
    column-gap: 2.5rem;
    column-width: 18.75rem;
    margin-top: 1rem;
    break-inside: avoid;
    padding: 0;
    border-right: none;
}

/* Testimonials Section */
#testimonials p {
    padding-top: 1rem;
    text-align: left;
}

#testimonials h2 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.testimonial-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-top: 1px solid #000000;
    padding-top: 1rem;
}

.testimonial-item img {
    width: 15%;
    height: auto;
    border-left: 0.3125rem solid #2d9975;
    margin-right: 1rem;
}

.testimonial-text {
    flex: 1;
    margin-top: 0;
}

.testimonial-text strong {
    font-weight: bold;
}

/* Resources Section */
#resources {
    background-color: #b9692e;
    padding: 2rem;
    border-radius: 0.9375rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
    color: #000000;
}

#resources h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px dotted #000;
    padding-bottom: 0.5rem;
}

#resources h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.3rem;
    border-bottom: 2px dotted #000;
    padding-bottom: 0.3rem;
}

.resources_column {
    font-size: 1rem;
    line-height: 1.6;
    column-count: 2;
    column-gap: 2.5rem;
    column-width: 18.75rem;
    margin-top: 1rem;
    break-inside: avoid;
    padding: 0;
}

/* Back to Top Links */
#backtotop, #backtotop2, #backtotop3, #backtotop4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

#backtotop a, #backtotop2 a, #backtotop3 a, #backtotop4 a {
    font-size: 1rem;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-radius: 0.3125rem;
    border: 1.5px solid #2d9975;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
    text-align: center;
}

#backtotop a:hover, #backtotop2 a:hover, #backtotop3 a:hover, #backtotop4 a:hover {
    background-color: #2d9975;
    color: white;
}

/* Slogan Section */
.slogan-section {
    background-color: #ffffff;
    padding: 2rem;
    text-align: center;
    color: #000000;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.slogan-section h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.slogan-section h3 {
    font-size: 1.2rem;
    margin-top: 0;
    font-weight: normal;
}

/* Links Section */
#links {
    text-align: center;
    padding: 1.875rem 0;
    background-color: #ffffff;
}

#links h2 {
    font-size: 1.5rem;
    margin-bottom: 0.9375rem;
    line-height: 1.5;
    font-weight: bold;
}

#links h3 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.4;
}

.links-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    justify-content: center;
    max-width: 62.5rem;
    margin: 0 auto;
}

.column {
    padding: 1.25rem;
    background-color: #ffffff;
    border-right: 1px solid #000000;
}

.links-content .column:nth-child(3) {
    border-right: none;
}

.column h2 {
    font-size: 1.25rem;
    margin-bottom: 0.9375rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #000000;
}

.column p {
    margin-bottom: 0.625rem;
    font-size: 1rem;
    line-height: 1.6;
}

.column p a {
    text-decoration: none;
    color: #333;
}

.column p a:hover {
    color: #2d9975;
}

/* Responsive Layout */
@media (max-width: 48rem) {
    .links-content {
        grid-template-columns: 1fr;
    }

    .column {
        padding: 0.9375rem;
    }

    #links h2, #links h3 {
        text-align: center;
    }

    #topmenu {
        flex-direction: column;
        align-items: center;
    }

    #topmenu ul {
        flex-direction: column;
        align-items: center;
        gap: 0.625rem;
    }

    .content img {
        max-width: 100%;
        float: none;
        margin: 0 auto 1rem;
    }
}

/* Stay Connected Section */
.stay-connected-section {
    background-color: #ffffff;
    padding: 1rem;
    text-align: center;
    margin-top: 0rem;
}

.stay-connected-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000000;
    border: none;
}

.stay-connected-section h3 {
    font-size: 1.2rem;
    color: #000000;
    margin: 0;
    line-height: 0.3;
}

.stay-connected-section a {
    font-weight: 100;
    color: #000000;
    text-decoration: none;
    padding: 0 0.625rem;
    transition: color 0.3s ease;
}

.stay-connected-section a:hover {
    color: #2d9975;
    text-decoration: none;
}

/* Responsive Stay Connected Section */
@media (max-width: 48rem) {
    .stay-connected-section h2 {
        font-size: 0.9rem;
    }

    .stay-connected-section h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .stay-connected-section a {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .stay-connected-section h3 {
        display: block;
        margin-bottom: 0.625rem;
    }

    .stay-connected-section a {
        display: block;
        margin-bottom: 0.625rem;
    }
}

/* Small Screen Adjustments */
@media (max-width: 30rem) {
    .stay-connected-section h2 {
        font-size: 0.8rem;
    }

    .stay-connected-section h3 {
        font-size: 1rem;
    }

    .stay-connected-section a {
        font-size: 0.8rem;
        padding: 0 0.3125rem;
    }
}

/* Footer Styles */
#footer {
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: center;
    background-color: #ffffff;
    color: #000000;
    margin-top: 3rem;
    padding: 1rem;
    border-top: 1px solid #000000;
}