/* Basic Reset & Typography */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #7e3e97;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #005177;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu .active a {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}

.nav-menu {
    padding-bottom: 0px;
}

/* Hero / Banner Area */
.hero {
    background: linear-gradient(135deg, #41204e, #7e3e97, #9869ab);
    color: #fff;
    text-align: center;
    padding: 10px 20px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: #fff;
}

/* Sections */
.section {
    padding: 30px 20px 5px;
}

.bg-white {
    background-color: #fff;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.column {
    flex: 1;
    min-width: 300px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: #111;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #41204e;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: #7e3e97;
    color: #fff;
}

/* Sponsors Grid & Logos */
.sponsors {
    text-align: center;
    background-color: #f4f4f4;
    padding: 0px;
}

.sponsors h2 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin: 0px;
}

.sponsor-card img {
    width: 250px;
    height: 150px;
    /*object-fit: contain;*/
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
    padding: 0px;
}

.sponsor-card img:hover {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Newsletter (Now correctly outside the image blocks!) */
.newsletter {
    background-color: #41204e;
    color: #fff;
    text-align: center;
}

.newsletter h2 {
    color: #fff;
}

.newsletter p {
    color: #ccc;
}

.custom-newsletter-form {
    max-width: 500px;
    margin: 30px auto 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[type="email"]::placeholder {
    color: #777;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #555;
}

.newsletter .button {
    background-color: #fff;
    color: #111;
    width: 100%;
}

.newsletter .button:hover {
    background-color: #eaeaea;
}

/* Member Grids (Board / Individual Members) */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 10px 0 40px;
    justify-items: center;
}

.member-card {
    text-align: center;
    width: 100%;
    max-width: 220px;
}

.member-card a {
    display: block;
    text-decoration: none;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    display: block;
    border: 3px solid #eee;
    transition: border-color 0.2s ease;
}

.member-card a:hover .member-photo {
    border-color: #7e3e97;
}

.member-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.member-card a:hover .member-name {
    color: #41204e;
}

.member-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: 3px dashed #ccc;
    color: #999;
    font-size: 0.85rem;
    text-align: center;
    padding: 10px;
}

.member-card.is-placeholder .member-name {
    color: #999;
    font-weight: 400;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #0b0b0b;
    color: #bab9b9;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.copyright {
    font-size: 0.9rem;
    color: #bab9b9;
}

#imkt-logo {
    height: auto;
    width: 400px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 30px 20px 5px;
    }

}

ul{
    padding-left: 40px;
    padding-bottom: 40px;
}