:root {
    --primary-color: #002366;
    /* Deep Royal Blue */
    --secondary-color: #DAA520;
    /* Gold/Amber */
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #b8860b;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 35, 102, 0.7), rgba(0, 35, 102, 0.5)), url('assets/Picture1.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-details {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Section General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Important Dates */
#dates {
    background-color: var(--light-bg);
}

.dates-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.date-card {
    background: var(--white);
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.date-card:hover {
    transform: translateY(-5px);
}

.date-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.date-card p {
    font-size: 1.1rem;
    color: #555;
}

/* About Section */
#about {
    text-align: center;
}

#about p {
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.8;
}


/* Topics Grid */
#topics {
    background-color: var(--primary-color);
    color: var(--white);
}

#topics .section-title {
    color: var(--white);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.topic-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.topic-item h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* Committee */
.committee-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.committee-member {
    flex: 0 1 250px;
}

.committee-member img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 15px;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-member h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.committee-member p {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        /* Ensure it's flex when active */
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    .nav-links .btn {
        margin-top: 10px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 15px 60px;
        /* Account for fixed header */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-details {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border-radius: 15px;
    }

    /* General Layout */
    .section-title {
        font-size: 2rem;
    }

    .date-card {
        width: 100%;
    }

    /* Topics */
    .topics-grid {
        grid-template-columns: 1fr;
    }

    /* Committee */
    .committee-names {
        grid-template-columns: 1fr;
    }

    .committee-member {
        flex: 1 1 100%;
    }

    nav>.btn {
        display: none;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .mobile-only {
        display: none;
    }
}

/* Sponsors */
#sponsors {
    background-color: var(--white);
    text-align: center;
}

.sponsors-group {
    margin-bottom: 40px;
}

.sponsors-group h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.sponsor-logos img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-logos img:hover {
    transform: scale(1.05);
}