body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #f1f1f1;
}

header {
    background: #02581f;
    color: #fff;
    padding: 10px 0;
    background-image: url("images/osun-state-header.png");
    background-size: cover; /* Adjusts the image to cover the entire header */
    background-position: center; /* Centers the image */
}
.websitetitle {
    display: flex;
    align-items: center;
    justify-content: left;
}
.websitetitle .logo {
    width: 50px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    margin-left: 10px; /* Space between logo and title */
   
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: right;
    font-weight: bold;
}

nav ul li {
    margin: 0 15px;
    font-weight: bold;
}

nav ul li:hover {
    background-color: #1b3a2f;
    transition: opacity 1s ease-in-out;
    color: green;
    box-shadow: #333;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}
nav ul li.active{
   background-color: #1b3a2f;
   color: #5cb85c;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 0px;
}

.main-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background-color: white;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 480px; /* Set a fixed height for the slider */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    opacity: 0; /* Hide slides by default */
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

.slide.active {
    opacity: 1; /* Show the active slide */
}
 .slide .text {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 10px;
            border-radius: 5px;
            font-size: large;
            font-weight: bolder;
        }

/* Custom class for styling member lists and links */
.member-list {
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

.member-list li {
    margin: 5px 0; /* Adds spacing between list items */
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit the color from the parent */
}

.member-list a {
    text-decoration: none; /* Removes underline */
    color: black; /* Sets link color */
     /* Makes text bold */
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit the color from the parent */
}

.member-list a:hover {
    color: #009688; /* Changes color on hover */
    text-decoration: underline; /* Optionally adds an underline on hover */
}
.smallimages
{
    width: 40px; /* Adjust the size as needed */
    height: auto;
    vertical-align: middle;
    margin-right: 10px; /* Space between image and text */
}


img {
    width: 100%;
    height: 100%; /* Ensure the image covers the entire slide area */
    object-fit: fill; /* Maintain aspect ratio and cover the container */
    display: block;
}
.osunlogo
{
    object-fit: scale-down;
    width:20px;
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
}

.news-stats { 
    width: 90%;
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
     flex-wrap: wrap;
     object-fit: scale-down;  
}

.stat-container {
    background: #f1f1f1;
    padding: 10px;
    margin-bottom: 5px;
    font-weight: bold;
     display: flex;
    flex-wrap: wrap;
    justify-items: center;
}

.stats {
    display: flex;
}

.box {
    flex: 1;
    padding: 22px;
 
    margin-right: 30px;
    border: 1px solid #000;
    text-align: center;
    font-size: calc(0.5vw + 0.5rem);
    background-color: white;
}

.news {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    height: 70%;
}

.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-links {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #ccc;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tab-links li {
    margin: 0;
}

.tab-links li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.tab-links li.active a {
    background: #076041;
    color: #fff;
}

.tab-content {
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow: auto;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.tabs-sections {
    display: flex;
    width: 100%;
    margin-top: 10px;
   background-color: rgba(255, 255, 255, 0.3); /* Transparent white overlay */
   
  

}

.tabs, .vertical-tabs-div {
    width: 50%;
    background: white;
    
    padding: 10px;
    margin-right: 20px;
}

/* Vertical Tab Styles */
.vertical-tabs {
    display: flex;
}

.vertical-tabs .tab-links {
    flex-direction: column;
    border-right: 2px solid #ccc;
    border-bottom: none;
}

.vertical-tabs .tab-links li {
    margin-bottom: 10px;
}

.vertical-tabs .tab-content {
    flex-grow: 1;
    margin-left: 20px;
    border-left: none;
}

.media-contact {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.media-gallery {
    width: 50%;
    height: 300px;
    display: flex;
    overflow: auto;
    background: white;
   
    padding-right: 30px;
}

.contact-us {
    width: 50%;
    background: white;
 display: flex;
    justify-content:center;
    align-items: flex-start;

}

textarea {
    width: 80%;
    height: 80px;
}

button {
    width: 30%;
    height: 30px;
    background-color: #076041;
    color: white;
}
.site-footer {
    background-color: #076041; /* Green background color */
    color: #ffffff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 10%;
     background-color: #076041;
      flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffffff; /* White underline for section titles */
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-menu ul {
    list-style-type: none;
    padding: 0;
}

.footer-menu ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ffffff;
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 14px;
}


/* Media Queries */

/* Tablets */
@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .container {
        margin: 20px;
    }

    .main-content {
        flex-direction: column;
    }

    .slider {
        width: 100%;
        height: 300px;
    }

    .news-stats {
        width: 100%;
        margin: 0;
    }

    .tabs-sections, .media-contact {
        flex-direction: column;
    }

    .tabs, .vertical-tabs-div, .media-gallery, .contact-us {
        width: 100%;
        margin: 0 0 20px 0;
    }
}

/* Smartphones */
@media (max-width: 767px) {
    header, nav, .container, .main-content, .news-stats, .tabs-sections, .media-contact {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        width: 100%;
    }

    .slider {
        width: 100%;
        height: 200px;
    }

    .news-stats {
        width: 100%;
        margin: 0;
    }

    .stat-container, .news, .tabs, .vertical-tabs-div, .media-gallery, .contact-us {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .tab-links {
        flex-direction: column;
        align-items: center;
    }

    .tab-links li {
        margin: 10px 0;
    }
   body h2{
        font-size:medium;
        color:red;
    }

h2 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}
}
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-left: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
    margin-top: 20px;
}

h2 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="time"],
textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
   
    border: none;
    background: #5cb85c;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #4cae4c;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    text-align: left;
}
.member-main-container{
 font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #fff;
}
.mcontainer {
    width: 75%; /* 100% - 20% left margin - 20% right margin */
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    
}
a{
text-decoration: none; /* Remove the underline */
color: inherit; /* Inherit the color of the surrounding text (no blue color) */
}
.all-member-main-content{
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            text-align: center;
            margin-left: 50px;
            align-items: center;
            margin-top: 20px;
}


        .allphoto {
            border: 10px solid #ccc;
            padding: 10px;
            max-width: 300px;
            width: 300px;

        }
.allphotoimg{
max-height: 100%; /* Scale the image to fit the div height */
    max-width: 100%; /* Ensure the image doesn't exceed the div width */
    object-fit: contain;
    min-height: 100%;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.member-main-content {
    display: flex;
    height: 400px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px 5px rgba(0, 0, 0, 0.3); /* Much thicker shadow */
    border-radius: 8px;
}

.photo, .shortinfo {
   
    height: 100%;
    background-color: #fff;
    
    justify-content: center; /* Center the image horizontally */
    align-items: center;
}

.photo {
    background-color: #013813; /* Placeholder for photo background */
   flex: 0 0 40%; /* 30% of the container width */
   justify-content: center; /* Center the image horizontally */
     border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden; /* Ensure any overflow is hidden */
   border-color: #02581f;
   border-style: ridge;
}
.photo img {
    max-height: 100%; /* Scale the image to fit the div height */
    max-width: 100%; /* Ensure the image doesn't exceed the div width */
    object-fit: contain; /* Ensure the image scales properly within the div */

   }

.shortinfo {
    background-color: #ffffff; /* Placeholder for short info background */
     flex: 1; /* Takes up the remaining space */
      justify-content: center; /* Center the image horizontally */
    align-items: center;
    vertical-align: center;
    margin-left: 20px;
    display:flex;
    position:inherit;
}

.profile, .projects-interventions {
    margin-bottom: 10px;
    margin-top: 30px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
    line-height: 2;
    
}


.projects-interventions {
    /* Specific styles for Constituency Projects/Interventions */
    margin:0;
}

.profile p, .projects-interventions p {
    margin: 0;
}