/* General Body Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    /* Changed to white for seamless integration */
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    /* Restored max-width for full page embed */
    margin: 0 auto;
    /* Centered content */
    padding: 0 20px;
    /* Added padding for spacing */
}

/* Header and Navigation */
header {
    background: #ffffff;
    color: #333;
    padding: 20px 0;
    /* Restored top padding */
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .logo a {
    color: #004a99;
    text-decoration: none;
}

header nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

header nav li {
    display: inline;
    padding: 0 15px;
}

header nav a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #004a99;
}

/* Main Content */
main {
    padding: 30px 0;
}

h1,
h2,
h3 {
    color: #004a99;
    margin-bottom: 20px;
}

h1,
.membership-page h1 {
    font-size: 48px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    color: #004a99 !important;
}

h2,
.membership-page h2 {
    font-size: 32px !important;
    border-bottom: 3px solid #f0ad4e !important;
    padding-bottom: 12px !important;
    margin-top: 50px !important;
    color: #004a99 !important;
}

/* Buttons */
.btn,
.membership-page .btn {
    display: inline-block !important;
    background-color: #f0ad4e !important;
    color: white !important;
    padding: 10px 24px !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    text-align: center !important;
}

.btn:hover,
.membership-page .btn:hover {
    background-color: #ec971f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    color: white !important;
}

/* Sections */
.section {
    margin-bottom: 40px;
}

/* Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-top: 0;
    font-size: 20px;
}

.card p {
    margin-bottom: 0;
}

/* Leadership Page */
.leader-card {
    text-align: center;
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f0ad4e;
}

.leader-card .role {
    font-weight: bold;
    color: #004a99;
}

/* Events Page */
.event {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #f0ad4e;
}

/* News Section */
.news-item {
    margin-bottom: 20px;
}

/* Sponsors Section */
.sponsors {
    text-align: center;
}

.sponsors .sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.sponsors .sponsor-logos img {
    height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sponsors .sponsor-logos img:hover {
    filter: grayscale(0%);
}


/* Footer */
footer {
    padding: 30px;
    margin-top: 30px;
    color: #ffffff;
    background-color: #343a40;
    text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Navigation */
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav li {
        padding: 5px 10px;
    }

    header nav a {
        font-size: 12px;
    }

    /* Typography */
    h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 24px;
        margin-top: 30px;
    }

    h3 {
        font-size: 18px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Cards */
    .card-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Leader Cards */
    .leader-card img {
        width: 120px;
        height: 120px;
    }

    /* Main Content */
    main {
        padding: 20px 0;
    }

    /* Sections */
    .section {
        margin-bottom: 30px;
    }

    /* Recruitment Message */
    .recruitment-message {
        padding: 20px 15px !important;
    }

    /* Sponsors */
    .sponsors .sponsor-logos {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    header nav li {
        padding: 5px 8px;
    }

    header nav a {
        font-size: 11px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    .container {
        padding: 0 10px;
    }

    .leader-card img {
        width: 100px;
        height: 100px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}

/* Sponsor and Partner Styles */
.sponsor-tier {
    margin-bottom: 40px;
    text-align: center;
}

.sponsor-tier h2 {
    display: inline-block;
    padding: 10px 30px;
    border-bottom: none;
    border-radius: 30px;
    color: white;
    margin-bottom: 30px;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.sponsor-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100px;
    margin-bottom: 15px;
}

.sponsor-item h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

/* Partner Card Styles */
.partner-logo-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    max-width: 100%;
}

.partner-logo {
    max-height: 100%;
    max-width: 100%;
}

.partner-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Membership List Styling */
.membership-page .activities-list,
.membership-page .benefits-list {
    list-style: none !important;
    padding-left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

@media (max-width: 992px) {

    .membership-page .activities-list,
    .membership-page .benefits-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .membership-page .activities-list,
    .membership-page .benefits-list {
        grid-template-columns: 1fr !important;
    }
}

.membership-page .activities-list li,
.membership-page .benefits-list li {
    background: #ffffff !important;
    padding: 20px 25px !important;
    border-radius: 10px !important;
    border-left: 5px solid #004a99 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    font-size: 15px !important;
    color: #444 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.membership-page .activities-list li:hover,
.membership-page .benefits-list li:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1) !important;
}

.membership-page .benefits-list li {
    border-left-color: #f0ad4e !important;
}