/* --- Homepage Sections --- */

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 800;
}

.stat-card p {
    margin: 0.5rem 0 0;
    color: #64748b;
    font-weight: 500;
}

/* Features Section */
.features-section {
    background: var(--secondary-color);
    /* Dark section */
    color: var(--white);
}

.section-title.white-text h2 {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glassy dark */
    padding: 2rem;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Speakers Section */
.speakers-section {
    background: var(--light-bg);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.speaker-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.speaker-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.speaker-card .avatar {
    width: 100px;
    height: 100px;
    background-color: #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    /* Placeholder fallback */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23cbd5e1" width="48px" height="48px"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

.speaker-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.speaker-card p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-cta.btn-white:hover {
    background: #f8fafc;
    color: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.75rem;
        /* Smaller font to prevent wrapping issues */
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 1rem;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }
}