:root {
    --primary: #64ffda;
    --dark: #0a192f;
    --medium: #112240;
    --light: #8892b0;
    --accent: #ff6b6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    padding: 1rem 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover {
    background: var(--medium);
    color: var(--primary);
}

/* Sections */
section {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(16, 36, 70, 0.7)),
        url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.3s;
}

/* Event Details */
#details {
    background: var(--medium);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.card {
    background: var(--dark);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    box-sizing: border-box;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.card:hover::before {
    opacity: 0.1;
    top: -20%;
    left: -20%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(360deg);
}

/* Registration Section */
#registration {
    background: var(--dark);
    border-top: 3px solid var(--primary);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    background: var(--medium);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    border: 2px solid var(--light);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--medium);
}

/* Placeholder Styles */
::placeholder {
    color: var(--light);
    opacity: 0.7;
}

/* FAQ Section */
#faq {
    background: var(--medium);
    border-top: 3px solid var(--accent);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--dark);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--medium);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #1a2a4c;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-toggle:checked~.faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-toggle:checked~.faq-question .faq-icon {
    transform: rotate(180deg);
}

/* Button Styles */
.cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.5s ease;
}

.cta:hover::before {
    left: 100%;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

#speakers {
    background: var(--dark);
    border-top: 3px solid var(--accent);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.speaker-card {
    background: var(--medium);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.speaker-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    padding: 5px;
    transition: all 0.3s ease;
}

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

.speaker-card:hover .speaker-image {
    transform: scale(1.1);
    border-color: var(--accent);
}

.speaker-name {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.speaker-designation {
    color: var(--light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.speaker-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.speaker-card:hover .speaker-socials {
    opacity: 1;
    transform: translateY(0);
}

.speaker-socials a {
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.speaker-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

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

    section {
        padding: 6rem 1rem 2rem;
        min-height: auto;
    }

    .form-container {
        padding: 2rem;
    }

    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

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