/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    font-size: 18px;
}

/* Main Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #0056b3, #0096c7);
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 1.8rem;
    margin-left: 20px;
}

/* Navigation Styles */
nav {
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease-out, transform 0.3s ease;
}

nav a:hover, nav a:focus {
    color: #ffbf00;
    transform: translateY(-2px);
}

/* Countdown Display Styles */
#countdown-display {
    background-color: #02457a;
    color: #e0e0e0;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    animation: pulse-animation 2s infinite;
    font-size: 1.2rem;
    font-weight: 500;
}

#countdown-display h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #ffd700;
}

#countdown {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section Styles */
.hero {
    padding: 50px 0;
    background: linear-gradient(to right, #0096c7, #00b4d8);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 2s ease-in-out;
}

.hero .btn {
    margin-top: 20px;
    align-self: center;
}

/* Button Group Styles */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Button Styles */
.btn {
    background-color: #ff5c5c;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease-in-out;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

.btn:hover {
    background-color: #c44569;
}

/* Conference Fees Section */
#fees {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    animation: fadeInUp 1s ease-out forwards;
}

#fees h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffdd55;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

#fees ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.4rem;
    text-align: center;
}

#fees li {
    background: rgba(255, 255, 255, 0.1);
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#fees li:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
footer {
    background: #073B4C;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

/* Responsive Design Adjustments */
@media only screen and (max-width: 768px) {
    .container, header, nav ul, .button-group, .btn {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    nav ul {
        display: block;
    }

    nav ul li {
        text-align: center;
    }

    header {
        align-items: center;
    }

    header h1 {
        font-size: 1.5rem;
        text-align: center;
        margin: 10px 0;
    }

    #countdown-display {
        font-size: 1rem;
        padding: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .btn {
        padding: 8px 5px;
    }
}

/* Initial hidden state for mobile navigation */
@media only screen and (max-width: 768px) {
    #main-navigation {
        display: none;
    }
    #main-navigation.is-active {
        display: block;
    }
}

/* Image Styles */
.conference-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Committee Member Styles */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.committee-member {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-member h3 {
    color: #333333;
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 5px;
}

.committee-member img {
    width: 100px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
}

.role-description {
    font-size: 14px;
    font-style: italic;
    color: #555555;
    margin-top: 5px;
}

.introduction {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

/* Animation Keyframes */
@keyframes pulse-animation {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
