/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

.header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 30px;
}

.header-text {
    flex: 1;
    max-width: 70%;
}

.header-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-text {
    background: linear-gradient(120deg, #66ccff, #99ddff, #ffffff, #66ccff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(102, 204, 255, 0.3);
    animation: subtleShift 4s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.header-logo {
    flex-shrink: 0;
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.emac-link {
    color: #66ccff;
    text-decoration: none;
    font-weight: 500;
}

.emac-link:hover {
    text-decoration: underline;
}

.organizers {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.logo {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    height: auto;
}

/* Navigation Styles */
.navigation {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-right: 10px;
}

.nav-link:hover {
    background-color: #f0f8ff;
    color: #003366;
}

.linkedin-link {
    background: #0077b5;
    color: white !important;
    margin-left: auto;
}

.linkedin-link:hover {
    background: #005885;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #66ccff);
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-text h3 {
    color: #003366;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #555;
}

/* Format List Styling */
.format-list {
    margin: 20px 0;
}

.format-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 51, 102, 0.02);
    border-radius: 8px;
    border-left: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

.format-item:hover {
    background: rgba(0, 51, 102, 0.05);
    border-left-color: #003366;
    transform: translateX(5px);
}

.format-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.format-content {
    flex: 1;
    color: #555;
    line-height: 1.6;
}

.format-content strong {
    color: #003366;
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Events Section */
.events-section {
    background: white;
    padding: 60px 0;
    border-radius: 20px;
    margin: 0 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-event {
    border-left-color: #4CAF50;
}

.skill-event {
    border-left-color: #2196F3;
}

.development-event {
    border-left-color: #FF9800;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.event-type {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
}

.event-category {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-event .event-category {
    background: #e8f5e8;
    color: #4CAF50;
}

.skill-event .event-category {
    background: #e3f2fd;
    color: #2196F3;
}

.development-event .event-category {
    background: #fff3e0;
    color: #FF9800;
}

.event-time {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
}

.event-speaker {
    color: #888;
    font-size: 0.95rem;
}

.event-abstract {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.event-abstract p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
    text-align: justify;
}

.featured-event {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #003366;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
}

.featured-event .event-type {
    font-size: 1.2rem;
    color: #003366;
    font-weight: 600;
}

.featured-event .event-category {
    background: #003366;
    color: white;
}

/* Events Overview */
.events-overview {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.events-overview h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.events-overview p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Event Card */
.featured-event-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #003366;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.featured-event-card .event-type {
    font-size: 1.3rem;
    color: #003366;
    font-weight: 600;
}

.featured-category {
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

/* Presenter Section */
.presenter-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 51, 102, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 51, 102, 0.1);
}

.presenter-photo {
    flex-shrink: 0;
}

.presenter-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #003366;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.presenter-info {
    flex: 1;
}

.presenter-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 5px;
}

.presenter-title {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

/* Conference Details */
.conference-details {
    margin-top: 20px;
}

.conference-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.conference-link {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.conference-link:hover {
    background: #004080;
}

/* Special Event */
.special-event {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.special-event h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.special-event p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3,
.organizers-info h3 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0077b5;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #005885;
}

.organizer {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #003366;
}

.organizer-contact {
    margin-top: 10px;
    font-size: 0.9rem;
}

.contact-link {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 5px;
}

.contact-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.special-session-item {
    background: rgba(0, 51, 102, 0.05);
    border-left-color: #003366;
    border-left-width: 4px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .header-text {
        max-width: 100%;
    }

    .header-text h1 {
        font-size: 1.9rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }



    .events-section {
        margin: 0 10px;
    }

    .presenter-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .presenter-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-text h1 {
        font-size: 1.4rem;
    }

    .logo {
        max-width: 300px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .nav-link {
        padding: 8px 15px;
        margin-right: 5px;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card,
.stat-card,
.organizer {
    animation: fadeInUp 0.6s ease-out;
}
