:root {
    --primary: #e62b1e;
    --primary-dark: #c41e1e;
    --secondary: #1a1a1a;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --ted-red: #e62b1e;
    --bit-blue: #0056b3;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.tedx-logo {
    display: flex;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
}

.tedx-logo span:first-child {
    color: var(--ted-red);
}

.tedx-logo span:nth-child(2) {
    color: white;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
}

.logo span:first-child {
    color: var(--ted-red);
}

.logo span:nth-child(2) {
    color: white;
}

.logo span:last-child {
    margin-left: 5px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-register):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ted-red);
    transition: var(--transition);
}

.nav-links a:not(.btn-register):hover:after {
    width: 100%;
}

.btn-register {
    background-color: var(--ted-red);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-register:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--secondary);
    z-index: 1001;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: white;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .btn-register {
    margin-top: 20px;
    text-align: center;
}

/* Header */
header {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.header-content {
    max-width: 800px;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.header-content h1 span {
    color: var(--ted-red);
}

.header-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-main {
    background-color: var(--ted-red);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 15px;
    transition: var(--transition);
    display: inline-block;
}

.btn-main:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark);
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
}

.scroll-down i {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--ted-red);
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--ted-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.section-about .about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.section-about .about-text {
    flex: 1;
}

.section-about .about-image {
    flex: 1;
}

.section-about .about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.section-about .ted-info,
.section-about .bit-info {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.section-about .ted-info h3,
.section-about .bit-info h3 {
    color: var(--ted-red);
    margin-bottom: 10px;
}

.section-about .bit-info h3 {
    color: var(--bit-blue);
}

.section-about .about-image .image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.section-about .about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-about .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Theme Section */
.section-theme {
    background-color: var(--light);
}

.section-theme .theme-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-theme .theme-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section-theme .theme-content h3 span {
    color: var(--ted-red);
}

.section-theme .theme-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Speakers Section */
.section-speakers .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.speaker-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.speaker-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.speaker-card:hover .speaker-image img {
    transform: scale(1.05);
}

.speaker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-social {
    display: flex;
    gap: 15px;
}

.speaker-social a {
    color: white;
    background-color: var(--ted-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

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

.speaker-info {
    padding: 20px;
    text-align: center;
}

.speaker-info h3 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.speaker-info p {
    color: var(--ted-red);
    font-weight: 600;
    margin-bottom: 5px;
}

.speaker-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Schedule Section */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.schedule-tabs .tab {
    padding: 10px 30px;
    background-color: var(--light-gray);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.schedule-tabs .tab.active {
    background-color: var(--ted-red);
    color: white;
}

.schedule-tabs .tab:hover:not(.active) {
    background-color: #d1d1d1;
}

.day-schedule {
    display: none;
}

.day-schedule.active {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .time {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--ted-red);
}

.schedule-item .event h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.schedule-item .event p {
    color: var(--gray);
}

/* Venue Section */
.section-venue .venue-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.section-venue .venue-info {
    flex: 1;
}

.section-venue .venue-map {
    flex: 1;
}

.section-venue .venue-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.section-venue .venue-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.venue-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.venue-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 30px;
}

.venue-features .feature i {
    color: var(--ted-red);
}

.venue-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

/* CSS to fix the logo and remove the text */
.logo span {
    display: none !important;
}

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

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* Optional: Adjust the navbar layout for better appearance */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000; /* TEDx red */
    padding: 10px 0;
}

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

/* For mobile responsiveness */
@media (max-width: 768px) {
    .logo img {
        height: 30px; /* Smaller logo on mobile */
    }
}

/* CTA Section */
.section-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.section-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--ted-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--ted-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

/* Register Page */
.register-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.register-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.register-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.register-container {
    max-width: 800px;
    margin: -50px auto 100px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.register-header {
    background-color: var(--ted-red);
    color: white;
    padding: 20px;
    text-align: center;
}

.register-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

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

.register-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ted-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 43, 30, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.ticket-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.ticket-type {
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.ticket-type.selected {
    border-color: var(--ted-red);
    background-color: rgba(230, 43, 30, 0.05);
}

.ticket-type input {
    position: absolute;
    opacity: 0;
}

.ticket-type h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.ticket-type .price {
    font-weight: 700;
    color: var(--ted-red);
    margin-bottom: 5px;
}

.ticket-type .description {
    font-size: 0.9rem;
    color: var(--gray);
}

.btn-submit {
    background-color: var(--ted-red);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-about .about-content,
    .section-venue .venue-content {
        flex-direction: column;
    }
    
    .section-about .about-text,
    .section-about .about-image,
    .section-venue .venue-info,
    .section-venue .venue-map {
        width: 100%;
    }
    
    .section-about .about-image {
        margin-top: 40px;
    }
    
    .header-content h1 {
        font-size: 3.5rem;
    }
    
    .header-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content h1 {
        font-size: 2.8rem;
    }
    
    .header-content h2 {
        font-size: 1.8rem;
    }
    
    .btn-main,
    .btn-secondary {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content h2 {
        font-size: 1.5rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .register-form {
        padding: 20px;
    }
}
/* Organizing Team Section */
.section-team {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.team-image {
    height: 250px;
    overflow: hidden;
}

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

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.team-info p {
    color: #e62b1e;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: #333;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #e62b1e;
}
/* Countdown Timer */
.countdown-container {
    text-align: center;
    margin-top: 40px;
}

.countdown-container h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    padding: 10px 15px;
    min-width: 70px;
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.countdown-item p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
/* FAQ Section */
.section-faq {
    padding: 80px 0;
    background: #f9f9f9;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f1f1;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
}

.faq-answer.active {
    max-height: 300px;
    padding: 0 0 20px;
}
/* Sponsors Section */
.section-sponsors {
    padding: 60px 0;
    background: #fff;
}

.sponsor-tier {
    margin-bottom: 40px;
}

.sponsor-tier h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-weight: 600;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-logos img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sponsor-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.sponsor-cta {
    text-align: center;
    margin-top: 40px;
}

.sponsor-cta a {
    color: #e62b1e;
    font-weight: 600;
}
/* Enhanced Speaker Cards */
.speaker-category {
    margin-bottom: 60px;
}

.speaker-category h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

/* .speaker-category h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--ted-red);
} */

/* Updated Speaker Category Headers */
.speaker-category h3 {
    font-size: 1.8rem;
    margin-bottom: 40px; /* Extra space for decoration */
    color: var(--secondary);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .speaker-category h3::after {
    content: '•';
    color: var(--ted-red);
    font-size: 1.5rem;
    margin-top: 10px;
    animation: float 2s ease-in-out infinite;
} */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.speaker-category h3 {
    font-size: 1.8rem;
    padding: 15px 30px;
    margin-bottom: 30px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.speaker-category h3::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 50px;
    background: linear-gradient(90deg, transparent, var(--ted-red), linear-gradient(90deg, var(--ted-red), transparent);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    animation: borderGlow 3s linear infinite;
    z-index: -1;
}

@keyframes borderGlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
.speaker-category h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
    text-shadow: 0 0 0 var(--ted-red);
    transition: text-shadow 0.4s ease;
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

.speaker-category h3:hover {
    text-shadow: 3px 3px 0 var(--ted-red),
                -3px -3px 0 var(--ted-red);
}

.speaker-category h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ted-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.speaker-category h3:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.team-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 25px;
    position: relative;
}

.team-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center 55%; /* Creates headspace by positioning image lower */
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}