:root {
    --primary: #1e1f20;
    --secondary: #625293;
    --accent: #149c81;
    --background: hsl(210, 17%, 98%);
    --text: #2D3436;
    --white: #FFFFFF;
    --gradient: linear-gradient(120deg, var(--secondary), var(--accent));
}


* {
    margin: 5px;
    padding: 5px;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
}

.navbar {
    background-color: var(--white);
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--secondary);
    color: var(--white);
}


.hero {
    margin-top: 80px;
    padding: 8rem 5%;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    animation: fadeInUp 2s ease;
}

.cta-button {
    background: var(--white);
    color: var(--secondary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.6s ease;
    animation: fadeInUp 1.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.about {
    text-align: center;
    margin-bottom: 4rem;
}

.about h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

/* Schedule Page Styles */
.schedule-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.schedule-day {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(98, 82, 147, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary);
}

.schedule-day:hover {
    transform: translateY(-5px);
}

.schedule-day h2 {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(98, 82, 147, 0.2);
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.event-card {
    background: var(--background);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(98, 82, 147, 0.1);
}

.event-card::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(98, 82, 147, 0.15);
}

.event-card:hover::before {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
}

.event-badge {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(98, 82, 147, 0.2);
}

.event-card time {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.event-content h3 {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.event-content p {
    color: var(--text);
    opacity: 0.85;
    font-size: 1rem;
    margin-bottom: 15px;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(98, 82, 147, 0.1);
}

.event-duration,
.event-capacity {
    font-size: 0.9rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Schedule Page Specific Styles */
.page-header {
    background: var(--gradient);
    padding: 6rem 2rem 4rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 4rem 1rem 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .schedule-day {
        padding: 20px;
    }

    .timeline {
        padding-left: 30px;
    }

    .event-card::before {
        left: -30px;
    }

    .event-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    .event-details {
        flex-direction: column;
        gap: 10px;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 1rem 3%;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Hero section adjustments */
    .hero {
        padding: 6rem 3%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Grid layouts */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Schedule page adjustments */
    .page-header {
        padding: 5rem 1rem 3rem;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 1rem;
    }

    .schedule-container {
        margin: 1.5rem auto;
        padding: 0 15px;
    }

    .schedule-day {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .schedule-day h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .timeline {
        padding-left: 25px;
    }

    .event-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .event-card::before {
        left: -25px;
        width: 12px;
        height: 12px;
        border-width: 3px;
    }

    .event-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    .event-card time {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .event-content h3 {
        font-size: 1.2rem;
    }

    .event-content p {
        font-size: 0.9rem;
    }

    .event-details {
        flex-direction: column;
        gap: 8px;
        padding-top: 12px;
        margin-top: 12px;
    }

    .event-duration,
    .event-capacity {
        font-size: 0.8rem;
    }

    .speaker-profile {
        flex-direction: column;
        text-align: center;
    }

    .speaker-brief {
        margin-top: 1rem;
    }

    .speaker-info {
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .event-card:hover {
        transform: translateX(5px);
    }
}

/* Speaker Styles */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6rem;
    padding: 3rem 0;
}

.speaker-card {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(56, 55, 58, 0.3);
    transition: transform 0.7s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.speaker-profile {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.speaker-image {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 5%;
    overflow: hidden;
    background: var(--gradient);
    border: 20px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(98, 82, 147, 0.2);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-brief {
    flex: 1 1 250px;
    min-width: 0; /* Prevents flex item from overflowing */
}

.speaker-brief p {
    font-style: italic;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.speaker-brief p::before,
.speaker-brief p::after {
    content: '"';
    color: var(--secondary);
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
}

.speaker-info {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid rgba(98, 82, 147, 0.1);
}

.speaker-info h2 {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.speaker-info h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.speaker-image {
    width: 250px;
    height: 200px;
    border-radius: 10%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    align-items: center;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(98, 82, 147, 0.2);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 45%;
} 

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

    .speaker-card:last-child {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .speaker-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .speaker-image {
        margin-bottom: 1rem;
    }
}