/* === GLOBAL STYLES === */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    font-size: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    color: #004a99; /* NIPGR Blue */
    width: 100%;
    border-bottom: 3px solid #f0ad4e; /* NIPGR Yellow */
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

p, ul {
    margin-bottom: 1rem;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 0.5rem;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
=== STATIC HEADER ===
================================ */
.main-header {
    width: 100%;
    padding: 0;
    background-color: #333;
    height: 250px;
    border-bottom: 5px solid #004a99;
    overflow: hidden;
}

.static-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ================================
=== NAVIGATION BAR ===
================================ */
.navbar {
    background-color: #333;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #004a99;
}

.navbar .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.navbar a:hover {
    background-color: #f0ad4e;
    color: #333;
}

/* Add visual spacing between navbar and content */
.navbar + main {
    margin-top: 1rem;
}

/* ================================
=== FULL-WIDTH HERO BANNER ===
================================ */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    margin-left: 60px;   /* moves banner slightly right */
    /* or */
    margin-right: 50px;  /* moves banner slightly left */
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 500px;
    object-position: right center;
}

@media (max-width: 768px) {
    .hero-banner img {
        max-height: 250px;
    }
}

/* ================================
=== MAIN CONTENT LAYOUT ===
================================ */
main.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.content-section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-col {
    width: 48%;
}

/* ================================
=== HIGHLIGHTS CARDS ===
================================ */
.card-section h2 {
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.card {
    background-color: #004a99;
    color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-basis: 250px;
    flex-grow: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

/* ================================
=== SPEAKERS SECTION ===
================================ */
.speaker-card {
    background-color: #fff;
    color: #333;
    padding: 1.25rem;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-basis: 220px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

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

.speaker-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.1;
    color: #004a99;
}

.speaker-card p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
    padding-top: 0.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .speaker-card {
        padding: 1rem;
        gap: 0.15rem;
    }

    .speaker-card img {
        width: 120px;
        height: 120px;
    }

    .speaker-card h4 {
        font-size: 1.1rem;
    }

    .speaker-card p {
        font-size: 0.95rem;
        line-height: 1.35;
    }
}

/* ================================
=== REGISTRATION BOX ===
================================ */
.register-box {
    width: 100%;
    background-color: #fffbeb;
    border: 2px dashed #f0ad4e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.register-box h3 {
    font-size: 1.75rem;
    color: #d9534f;
    margin-top: 0;
}

.register-link {
    display: inline-block;
    background-color: #d9534f;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.3s;
    animation: glow 2s infinite ease-in-out;
    box-shadow: 0 0 10px #d9534f, 0 0 20px #d9534f;
}

.register-link:hover {
    background-color: #c9302c;
    transform: scale(1.05);
    text-decoration: none;
    animation: none;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px #d9534f, 0 0 10px #d9534f; }
    50% { box-shadow: 0 0 20px #d9534f, 0 0 30px #d9534f; }
    100% { box-shadow: 0 0 5px #d9534f, 0 0 10px #d9534f; }
}

/* Mobile fix for register box */
@media (max-width: 768px) {
    .register-box {
        width: 90%;
        margin: 0 auto 2rem auto;
        padding: 1.5rem;
        border-width: 1.5px;
    }

    .register-box h3 {
        font-size: 1.4rem;
    }

    .register-link {
        display: block;
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        margin: 1rem auto 0 auto;
        width: fit-content;
    }
}

/* ================================
=== ORGANIZERS & TEAM ===
================================ */
.team-list {
    list-style-type: none;
    padding-left: 0;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

/* ================================
=== FOOTER ===
================================ */
.main-footer {
    background-color: #333;
    color: #f4f4f4;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.main-footer h2 {
    color: #fff;
    border-color: #f0ad4e;
    margin-bottom: 1.5rem;
}

.main-footer .container {
    max-width: 800px;
}

.main-footer p {
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* ================================
=== RESPONSIVE STYLES ===
================================ */
@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .navbar a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        border-bottom: 1px solid #444;
    }

    .content-section {
        flex-direction: column;
    }

    .content-col {
        width: 100%;
    }

    .main-header {
        height: 180px;
    }

    .register-link {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }

    .team-list {
        columns: 1;
    }
}

