:root {
    --orange: #fca311;
    --dark-blue: #14213D;
    --light-blue: #007ce0;
    --black: #000;
    --white: #fff;
    --grey: #e5e5e5;
}

#main-header {
	background: url("../../assets/images/backgrounds/header-background.png") no-repeat fixed center;
	background-size: cover;
    height: 70vh; /* Full viewport height */
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 15px 0;
} 

#committees {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px; /* Consistent spacing between cards */
    padding: 20px;
}

/* Card Styling */
.card {
    display: block;
    /* align-items: center; */
    background: #000000;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 60px;
    position: relative;
    overflow: visible;
}

/* Image Container */
.image-container {
position: absolute;
left: -40px;
top: 50%;
transform: translateY(-50%);
width: 200px;
height: 200px;
overflow: hidden;
border-radius: 15px;
box-shadow: 0 8px 15px rgba(255, 255, 255, 0.296);
background: #000000;
/* border: #fca311 2px solid; */
z-index: 10; /* Fix z-index issue */
}


.image-container img {
    width: 100%;
    height: 100%;
    justify-items: center;
    align-items: center;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.image-container img:hover {
    transform: scale(1.1);
}

/* Content Section */
.content {
margin-left: 120px;
padding: 2px;
color: #fca311;
}

.chairs {
color: #e5e5e5;
font-size: 0.9rem;
margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-underline-offset: 10px;
    text-decoration-thickness: 100px;
    text-decoration: underline 2px solid;
}

/* h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    border-radius: 8px;
    background-color: #FCA311;
    margin: 8px auto 0;
} */

#committees h3 {
    position: relative;
    font-size: 1.1rem;
    font-weight: bold;
    color: #007ce0;
    margin-bottom: 10px;
}

/* #committees h3::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    border-radius: 8px;
    background-color: #007ce0;
    margin: 8px auto 0;
} */

.description {
    font-size: 0.95rem;
    color: #ffffff;
    list-style-type: none;
    margin-bottom: 15px;
}

.description li::before {
    content: "• ";
    color: #007BFF;
    font-weight: bold;
    margin-right: 5px;
}

button {
background: #FF4C4C;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 20px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease;
}

button:hover {
background: #FF3333;
}

/* Responsive Styling */
@media (max-width: 768px) {
.card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.image-container {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.content {
    margin-left: 0;
    margin-top: 2px;
    padding: 15px;
}

h2 {
    font-size: 1.2rem;
}

button {
    font-size: 0.9rem;
}
#committees {
    gap: 15px; /* Reduce spacing on smaller screens */
}
}

