* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #e8221e;
    --gold-color: #e8221e;
    --text-light: #ffffff;
    --text-dark: #0f0f0f;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-color);
}

/* ==================== Navigation ==================== */
.navbar {
    background: #000000;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #e8221e;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('space.jpeg') center center / cover no-repeat;
}

.stars-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, rgba(0, 0, 0, 0.5));
    background-repeat: repeat;
    background-size: 200px 200px;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #e8221e;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-details {
    margin: 2rem 0;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-details p {
    margin: 0.5rem 0;
    color: #ffffff;
}

.cta-button {
    display: inline-block;
    background: #e8221e;
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(232, 34, 30, 0.4);
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.6);
}

.limited-spots {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #e8221e;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== Sections ==================== */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #e8221e;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== About Section ==================== */
.about {
    background: linear-gradient(135deg, #000000, #1a1a1a);
}

.about-content {
    gap: 3rem;
    margin-top: 3rem;
}

.about-text h3,
.about-mission h3 {
    color: #e8221e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p,
.about-mission p {
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== Speakers Section ==================== */
.speakers {
    background: var(--primary-color);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(232, 34, 30, 0.3);
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: #e8221e;
    box-shadow: 0 15px 40px rgba(232, 34, 30, 0.3);
}

.speaker-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    color: #e8221e;
    font-weight: bold;
    border-bottom: 2px solid rgba(232, 34, 30, 0.3);
}

.speaker-card h3 {
    color: #e8221e;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.speaker-title {
    color: #ffffff;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.speaker-topic {
    color: #ffffff;
    padding: 0.5rem 1.5rem 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.speaker-bio {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== Schedule Section ==================== */
.schedule {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #e8221e;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    padding-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 52%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #e8221e;
    border-radius: 50%;
    z-index: 2;
    border: 3px solid #000000;
}

.timeline-time {
    font-weight: bold;
    color: #e8221e;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.9));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 3px solid #e8221e;
}

.timeline-content h3 {
    color: #e8221e;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 40px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: -10px;
    }
}

/* ==================== Register Section ==================== */
.register {
    background: #000000;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.register-info h3,
.register-form h3 {
    color: #e8221e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.8rem 0;
    color: var(--text-light);
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(232, 34, 30, 0.1);
}

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

.register-form {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(232, 34, 30, 0.2);
}

.register-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.register-button {
    display: inline-block;
    background: #e8221e;
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(232, 34, 30, 0.4);
}

.register-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.6);
}

.register-note {
    margin-top: 1rem;
    color: #e8221e;
    font-weight: bold;
}

@media (max-width: 768px) {
    .register-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== Idea Board Section ==================== */
.idea-board {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.idea-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.idea-board-card {
    margin: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(232, 34, 30, 0.2);
    background: #111111;
    aspect-ratio: 1 / 1;
    transition: var(--transition);
}

.idea-board-card:hover {
    transform: translateY(-6px);
    border-color: #e8221e;
    box-shadow: 0 12px 30px rgba(232, 34, 30, 0.25);
}

.idea-board-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.idea-board-intro {
    max-width: 1000px;
    margin: 2.5rem auto 0;
    text-align: center;
}

.idea-board-mini-heading {
    color: #e8221e;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.idea-board-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.idea-board-statement {
    max-width: 1000px;
    margin: 1.5rem auto 0;
    color: var(--text-light);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    padding: 1.5rem 1.75rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(232, 34, 30, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .idea-board-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .idea-board-statement {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

/* ==================== Event Documentation Section ==================== */
.event-docs {
    background: #000000;
}

.event-docs-content {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.event-docs-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.docs-button {
    display: inline-block;
    background: #e8221e;
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(232, 34, 30, 0.4);
}

.docs-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.6);
}

@media (max-width: 768px) {
    .event-docs-description {
        font-size: 1rem;
    }

    .docs-button {
        display: block;
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ==================== Contact Section ==================== */
.contact {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

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

.contact-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.8));
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(232, 34, 30, 0.2);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: #e8221e;
    box-shadow: 0 10px 30px rgba(232, 34, 30, 0.2);
}

.contact-item h3 {
    color: #e8221e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: #e8221e;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #ffffff;
}

/* ==================== Footer ==================== */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #e8221e;
    color: var(--text-light);
}

.footer p {
    margin: 0.5rem 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }

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

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

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-button {
        display: block;
        padding: 12px 25px;
        font-size: 1rem;
    }
}
