html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box;     /* Include padding and border in the element's total width and height */
}
.wrapper {
    display: flex;
    flex-direction: column;  /* Stack elements vertically */
    min-height: 100%;
}
.header-wrapper {
    width: 100%;
    height: auto;   /* height: 60px;*/
    flex: 1; /* Prevents .header-wrapper from shrinking */
    z-index: 1000;
}
.content_container {
    display: flex;
    flex-direction: row;  /* Stack elements horizontally */
    flex-wrap: nowrap;  /* Ensures no wrapping */
 /*   flex: 1; /* Allow the container to grow and fill available space */
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 2px solid #4CAFA7; /* Updated border color */
}
.sidebar {
    flex: 2.5;
    min-width: 250px;  /* Minimum width for sidebar */
    width: 300px;  /* Minimum width for sidebar */
    padding: 20px;
    height: auto; /* Allow height to adjust based on content */
    min-height: 100%;
}
.content {
    flex: 7.0;
    padding: 10px;
    background-color: #FFFFFF; /* White background for content area */
    height: 1000px; /* Allow height to adjust based on content */
}
.footer_container {
      flex: 1;
    width: 100%;
    height: auto;
/*    flex-shrink: 0; /* Prevents footer from shrinking */
}



/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-wrapper {
    background-color: #4CAFA7; /* Updated to Teal Green */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-wrapper .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.header-wrapper nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header-wrapper nav ul li {
    margin: 0;
}

.header-wrapper nav ul li a {
    color: white;
    text-decoration: none;
}

.header-wrapper .search-bar input {
    padding: 5px;
    font-size: 1em;
}

/* Hero Section */
#hero {
    text-align: center;
    background-color: #E8E8E8; /* Updated to Cool Gray */
    padding: 50px 20px;
}

#hero h1 {
    font-size: 2.5em;
    color: #4CAFA7; /* Updated to Teal Green */
}

#hero p {
    font-size: 1.2em;
    margin: 20px 0;
}

.front-buttons .btn {
    text-decoration: none;
    color: white;
    background-color: #4CAFA7; /* Updated to Teal Green */
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
}

.front-buttons .btn:hover {
    background-color: #397F73; /* Updated to Darker Teal */
}

/* Featured Sections */
#featured {
    padding: 20px;
}

#featured h2 {
    color: #4CAFA7; /* Updated to Teal Green */
    text-align: center;
}

.articles {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
}
.catagories {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}
.article, .category-cards a {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 45%;
    background-color: #f9f9f9;
}

.article h3 {
    color: #4CAFA7; /* Updated to Teal Green */
}
.categories h2 {
    text-align: center;
}
.category-cards a {
    text-align: center;
    text-decoration: none;
    color: #4CAFA7; /* Updated to Teal Green */
}

.category-cards a:hover {
    background-color: #E8E8E8; /* Updated to Cool Gray */
}

/* Interactive Features */
#interactive {
    padding: 20px;
    background-color: #F2F2F2; /* Slightly lighter gray */
    text-align: center;
}

#interactive form input {
    padding: 5px;
    font-size: 1em;
    margin-right: 10px;
}

#interactive form button {
    padding: 5px 10px;
    font-size: 1em;
    background-color: #4CAFA7; /* Updated to Teal Green */
    color: white;
    border: none;
    border-radius: 5px;
}

/* Testimonials */
#testimonials {
    padding: 20px;
    background-color: #E8E8E8; /* Updated to Cool Gray */
    text-align: center;
}

#testimonials blockquote {
    font-style: italic;
    color: #4CAFA7; /* Updated to Teal Green */
}

/* Blog Section */
#blog {
    padding: 20px;
    text-align: center;
}

#blog article {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 20px auto;
    width: 50%;
}

/* Newsletter Signup */
#newsletter {
    padding: 20px;
    background-color: #4CAFA7; /* Updated to Teal Green */
    color: white;
    text-align: center;
}

#newsletter form input {
    padding: 10px;
    font-size: 1em;
    margin-right: 10px;
}

#newsletter form button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #397F73; /* Updated to Darker Teal */
    color: white;
    border: none;
    border-radius: 5px;
}

/* Footer */
.footer-wrapper {
    padding: 10px;
    background-color: #397F73; /* Updated to Darker Teal */
    color: white;
    text-align: center;
}

.footer-wrapper .footer-links a, .footer-wrapper .social-media a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-wrapper .footer-links a:hover, .footer-wrapper .social-media a:hover {
    text-decoration: underline;
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .header-wrapper nav ul {
        flex-direction: column;
        align-items: center;
    }

    .header-wrapper nav ul li {
        margin: 5px 0;
    }

    #hero h1 {
        font-size: 2em;
    }

    #hero p {
        font-size: 1em;
    }

    .articles, .categories {
        flex-direction: column;
        justify-content: center;
    }

    .article, .category-cards a {
        width: 90%;
        margin: 10px auto;
        justify-content: center;
    }

    #blog article {
        width: 90%;
    }
}
