//* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #d4f3e3; /* Consistent light green background */
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* Header */
header {
    background-color: #63b976; /* Matches index page */
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Main Flex Layout */
.main-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Left Sidebar */
.left-aside {
    background-color: #2d6a4f; /* Matches sidebar from index */
    color: white;
    padding: 15px;
    border-radius: 8px;
    width: 20%;
}

.left-aside ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.left-aside ul li {
    margin-bottom: 10px;
}

.left-aside ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
    background-color: #63b976; /* Matches links in index sidebar */
    border-radius: 8px;
    font-weight: bold;
}

.left-aside ul li a:hover {
    background-color: #95d5b2; /* Light green hover effect */
}

/* Main Content */
main {
    background-color: white; /* Consistent with index content background */
    color: #2e7d32; /* Dark green for text */
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer Inside Main */
footer {
    background-color: #2d6a4f; /* Matches footer from index */
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-top: auto; /* Ensures it stays at the bottom of the content */
}

/* Right Sidebar */
.right-aside {
    background-color: #2d6a4f; /* Matches sidebar style */
    color: white;
    padding: 15px;
    border-radius: 8px;
    width: 20%;
}

.right-aside h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.news-box {
    background-color: #63b976; /* Matches link hover color */
    color: white;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 15px;
    }

    .left-aside, .right-aside {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .left-aside, .right-aside {
        width: 25%; /* Slightly wider sidebars for tablets */
    }
    main {
        padding: 20px; /* Increased padding for readability */
    }
}

@media (min-width: 1024px) {
    .left-aside, .right-aside {
        width: 25%; /* Wider sidebars for desktops */
    }
    .container {
        max-width: 1400px; /* Allow slightly wider content area */
    }
}
