/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fffdf4;
    color: #3e2723;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 253, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(62, 39, 35, 0.1);
    padding: 0.5rem 0;
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #3e2723;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #3e2723;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8d6e63;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8d6e63;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #3e2723;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(rgba(255, 253, 244, 0.4), rgba(255, 253, 244, 0.4)), url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238d6e63" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%238d6e63" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%238d6e63" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%238d6e63" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%238d6e63" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.hero-title {
    font-size: 3.5rem;
    color: #3e2723;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: rgba(255, 253, 244, 0.9);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
    animation: fadeIn 1.5s ease-out forwards;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #3e2723;
    margin-bottom: 2rem;
    font-weight: 500;
    background: rgba(255, 253, 244, 0.85);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3e2723;
    font-weight: 500;
    background: rgba(255, 253, 244, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-text {
    color: #3e2723;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    background: rgba(255, 253, 244, 0.85);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.hero-cta {
    margin-top: 2rem;
    text-align: center;
}

.hero-zoom-button {
    background: #8d6e63;
    color: #fffdf4;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(62, 39, 35, 0.2);
}

.hero-zoom-button:hover {
    background: #3e2723;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(62, 39, 35, 0.3);
}

.hero-zoom-button i {
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #3e2723;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #8d6e63;
}

/* About Section */
.about {
    background: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5d4037;
    margin-bottom: 2rem;
}

.topics {
    text-align: left;
    background: #fff8e1;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #8d6e63;
}

.topics h3 {
    color: #3e2723;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.topics ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-left: 20px;
}

.topics li {
    font-size: 1.1rem;
    color: #424242;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid #e0e0e0;
}

.topics li i {
    color: #616161;
    margin-right: 0.5rem;
}

/* About Section */
.about {
    background: #f5f0e6;
}

/* Important Dates Section */
.important-dates {
    background: #f5f0e6;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.date-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(62, 39, 35, 0.15);
}

.date-icon {
    width: 60px;
    height: 60px;
    background: #8d6e63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.date-icon i {
    color: #fffdf4;
    font-size: 1.5rem;
}

.date-card h3 {
    color: #3e2723;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.date {
    color: #8d6e63;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Organizers Section */
.organizers {
    background: #ffffff;
}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.organizer-card {
    background: #fff8e1;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #f5f0e6;
    transition: border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.organizer-card:hover {
    border-color: #8d6e63;
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.organizer-card i {
    font-size: 3rem;
    color: #8d6e63;
    margin-bottom: 1rem;
}

.organizer-card h3 {
    color: #3e2723;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Committee Section */
.committee {
    background: #f5f0e6;
}

.committee-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: #ffffff;
    border: 2px solid #8d6e63;
    color: #3e2723;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #8d6e63;
    color: #fffdf4;
}

.tab-content {
    max-width: 800px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.committee-members {
    display: grid;
    gap: 1.5rem;
}

.member-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #8d6e63;
}

.member-info h4 {
    color: #3e2723;
    margin-bottom: 0.5rem;
}

.member-info p {
    color: #5d4037;
}

/* Papers Section */
.papers {
    background: #ffffff;
}

.papers-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.submission-badges {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirements ul {
    list-style: none;
}

.requirements li {
    padding: 1rem 0;
    border-bottom: 1px solid #f5f0e6;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #5d4037;
}

.requirements li:last-child {
    border-bottom: none;
}

.requirements i {
    color: #4caf50;
    font-size: 1.2rem;
}

.submission-info {
    background: #8d6e63;
    color: #fffdf4;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.submission-info h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.submission-info p {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-link {
    color: #fffdf4;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 253, 244, 0.3);
    transition: border-color 0.3s ease;
}

.download-link:hover {
    border-bottom-color: #fffdf4;
}

/* Important Information Section */
.important-info {
    background: #f5f0e6;
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff8e1;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #8d6e63;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(62, 39, 35, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: #8d6e63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    color: #fffdf4;
    font-size: 1.5rem;
}

.info-card h3 {
    color: #3e2723;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: #5d4037;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-left: 20px;
}

.contact-map-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(62, 39, 35, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: #8d6e63;
    margin-left: 20px;
}

.contact-item h3 {
    color: #3e2723;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #5d4037;
}

.footer {
    background: #3e2723;
    color: #fffdf4;
    text-align: center;
    padding: 2rem 0;
}

/* Map Section */
.map-section {
    background: #ffffff;
    padding: 80px 0;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.map-info {
    background: #fff8e1;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #8d6e63;
}

.map-info h3 {
    color: #3e2723;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-info p {
    color: #5d4037;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.map-link {
    color: #8d6e63;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #3e2723;
}

.map-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.15);
}

.map-embed iframe {
    width: 100%;
    border: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 253, 244, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(62, 39, 35, 0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-info {
        gap: 1.5rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-block {
        min-width: 100px;
    }

    .time-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .papers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .committee-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
    }

    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-embed iframe {
        height: 300px;
    }

    .contact-map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .time-number {
        font-size: 2.5rem;
    }

    .date-card,
    .organizer-card,
    .member-card,
    .contact-item {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
