/* General Styling */
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 7px;
}

#rent-agreement-section {
    padding: 40px 0px;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    margin: 20px auto;
    margin-bottom: 0px;
    width: calc(100% - 40px); /* Full width minus padding */
}

/* Heading Styles */
#rent-agreement-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #1a73e8;
    margin-bottom: 20px;
}

pros-cons-section{
    display: flex;
}

.pros-cons-section h3 {
    font-size: 1.8em;
    color: #444;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 8px;
    margin-top: 40px;
}

/* Pros and Cons Headings */
.pros h4, .cons h4 {
    font-size: 1.5em;
    color: #1a73e8;
    margin-bottom: 10px;
}

/* Pros and Cons Lists */
ul {
    list-style-type: disc;
    margin: 10px 0 0 20px;
    padding: 0;
}

.pros ul, .cons ul {
    margin-top: 10px;
    font-size: 1.1em;
    line-height: 1.5;
}

/* List Item Styling */
ul li {
    margin-bottom: 10px;
}

ul li strong {
    color: #333;
    font-weight: 600;
}

/* Pros and Cons Section Styling */
.pros, .cons {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    max-width: 100%;
    width: calc(100% - 40px); /* Matches banner width with padding */
}

.pros {
    background-color: #e8f5e9; /* Light green for pros */
}

.cons {
    background-color: #ffebee; /* Light red for cons */
}

/* Navbar Styling */
nav {
    background-color: #333;
    color: white;
    padding: 1em;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

nav a:hover {
    text-decoration: underline;
}

/* Banner Section Styling */
#banner {
    background-image: url('img.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 50px 0;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #rent-agreement-section {
        padding: 20px;
        max-width: 90%;
    }

    #rent-agreement-section h2,
    .pros-cons-section h3 {
        font-size: 1.5em;
    }

    .pros h4, .cons h4 {
        font-size: 1.3em;
    }

    #banner {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    #rent-agreement-section {
        padding: 15px;
        max-width: 100%;
    }

    #rent-agreement-section h2,
    .pros-cons-section h3 {
        font-size: 1.3em;
    }

    nav a {
        font-size: 0.9em;
        margin: 0 5px;
    }
}