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

        .hero-logo img {
            height: clamp(120px, 25vw, 250px);
            width: auto;
            filter: drop-shadow(0 0 30px rgba(235, 0, 40, 0.5));
        }

        nav .logo img {
           height: clamp(35px, 5vw, 55px);
        }

        :root {
            --tedx-red: #EB0028;
            --tedx-black: #000000;
            --bright-orange: #FF6B35;
            --bright-yellow: #FFD23F;
            --bright-purple: #7B68EE;
            --bright-cyan: #00D9FF;
            --text-dark: #1a1a1a;
            --text-light: #f5f5f5;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            overflow-x: hidden;
            background: #fff;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.9rem 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: border 0.3s;
            font-family: inherit;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--tedx-red);
            box-shadow: 0 0 0 3px rgba(235, 0, 40, 0.1);
        }

        .error-message {
            color: #d32f2f;
            font-size: 0.85rem;
            margin-top: 0.3rem;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        .auth-item {
            display: flex;
        }

        .auth-item.hidden {
            display: none;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 5%;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(235, 0, 40, 0.3);
        }

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

        nav .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--tedx-red);
        }

        nav .logo span {
            color: white;
        }

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

        nav a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
            font-weight: 500;
        }

        nav a:hover {
            color: var(--tedx-red);
        }

        .cta-button {
            background: linear-gradient(135deg, var(--tedx-red), var(--bright-orange));
            color: white !important;
            padding: 0.7rem 1.5rem;
            border-radius: 25px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(235, 0, 40, 0.4);
            color: white !important;
        }

        /* Hero Section */
        .hero {
            flex-direction: column;
            min-height: 100vh;
            background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, var(--tedx-red) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, var(--bright-orange) 0%, transparent 70%);
            top: -200px;
            right: -200px;
            opacity: 0.3;
            animation: pulse 4s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, var(--bright-purple) 0%, transparent 70%);
            bottom: -150px;
            left: -150px;
            opacity: 0.3;
            animation: pulse 4s ease-in-out infinite 2s;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.2); opacity: 0.5; }
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            text-align: center;
            color: white;
            z-index: 1;
            padding: 2rem;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .hero .tedx-title {
            color: var(--tedx-red);
            font-size: 5rem;
            font-weight: bold;
            text-shadow: 0 0 30px rgba(235, 0, 40, 0.5);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease 0.3s backwards;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease 0.6s backwards;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--tedx-red), var(--bright-orange));
            color: white;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(235, 0, 40, 0.5);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            padding: 1rem 2.5rem;
            border: 2px solid white;
            border-radius: 30px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--tedx-red);
        }

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

        /* Section Styling */
        section {
            padding: 5rem 5%;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--tedx-red), var(--bright-orange), var(--bright-yellow));
            border-radius: 2px;
        }

        /* About Section */
        .about {
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        }

        .about-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            color: var(--tedx-red);
            margin-bottom: 1rem;
        }

        .about-text p {
            line-height: 1.8;
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }

        .about-image {
            background: linear-gradient(135deg, var(--bright-purple), var(--bright-cyan));
            object-fit: contain;
            width: 100%;
            height: auto;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        /* Audience Benefits */
        .benefits {
            background: linear-gradient(135deg, var(--tedx-black) 0%, #2a2a2a 100%);
            color: white;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .benefit-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 2.5rem;
            border-radius: 20px;
            border: 2px solid transparent;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .benefit-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--tedx-red), var(--bright-orange), var(--bright-yellow));
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            border-color: var(--tedx-red);
            box-shadow: 0 15px 40px rgba(235, 0, 40, 0.3);
        }

        .benefit-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: var(--bright-yellow);
        }

        .benefit-card ul {
            list-style: none;
            padding: 0;
        }

        .benefit-card li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            line-height: 1.6;
        }

        .benefit-card li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--bright-orange);
            font-weight: bold;
        }

        /* Portfolio Value */
        .portfolio {
            background: linear-gradient(135deg, #fff 0%, #fef5f7 100%);
        }

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

        .portfolio-item {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: all 0.3s;
        }

        .portfolio-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(235, 0, 40, 0.2);
        }

        .portfolio-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--tedx-red), var(--bright-orange));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .portfolio-item h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--tedx-red);
        }

        /* Ticket Section */
        .tickets {
            background: linear-gradient(135deg, var(--bright-purple) 0%, var(--bright-cyan) 100%);
            color: white;
        }

        .tickets-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .ticket-card {
            background: rgba(255, 255, 255, 0.95);
            color: var(--text-dark);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
        }

        .ticket-card h3 {
            font-size: 2rem;
            color: var(--tedx-red);
            margin-bottom: 1rem;
        }

        .ticket-price {
            font-size: 3rem;
            font-weight: bold;
            color: var(--bright-orange);
            margin: 1.5rem 0;
        }

        .ticket-features {
            list-style: none;
            margin: 2rem 0;
        }

        .ticket-features li {
            padding: 0.8rem 0;
            padding-left: 2rem;
            position: relative;
            border-bottom: 1px solid #eee;
        }

        .ticket-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--tedx-red);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* FAQ Section */
        .faq {
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        }

        .faq-header-intro {
            text-align: center;
            margin-bottom: 2rem;
            color: #666;
            font-size: 1.2rem;
        }

        .search-box {
            max-width: 600px;
            margin: 0 auto 3rem;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 1rem 3rem 1rem 1.5rem;
            border: 2px solid #e0e0e0;
            border-radius: 50px;
            font-size: 1rem;
            transition: border 0.3s;
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--tedx-red);
        }

        .search-icon {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }

        .faq-categories {
            display: flex;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .category-btn {
            padding: 0.7rem 1.5rem;
            border: 2px solid var(--tedx-red);
            background: white;
            color: var(--tedx-red);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

        .category-btn:hover,
        .category-btn.active {
            background: linear-gradient(135deg, var(--tedx-red), var(--bright-orange));
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(235, 0, 40, 0.3);
        }

        .faq-section {
            margin-bottom: 3rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .faq-section h3 {
            font-size: 2rem;
            color: var(--tedx-red);
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 5px solid var(--bright-orange);
        }

        .faq-item {
            background: white;
            margin-bottom: 1rem;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: all 0.3s;
        }

        .faq-item:hover {
            box-shadow: 0 5px 20px rgba(235, 0, 40, 0.15);
        }

        .faq-question {
            padding: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #333;
            user-select: none;
        }

        .faq-question:hover {
            color: var(--tedx-red);
        }

        .faq-icon {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, var(--tedx-red), var(--bright-orange));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            transition: transform 0.3s;
            flex-shrink: 0;
            margin-right: 1rem;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

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

        .faq-item.active .faq-answer {
            max-height: 800px;
            padding: 0 1.5rem 1.5rem 1.5rem;
        }

        .faq-answer p {
            line-height: 1.8;
            color: #555;
            margin-bottom: 0.5rem;
        }

        .faq-answer strong {
            color: var(--tedx-red);
        }

        .highlight {
            background: linear-gradient(120deg, #ffeaa7 0%, #ffeaa7 100%);
            padding: 0 5px;
            border-radius: 3px;
        }

        /* Gallery Section */
        .gallery {
            background: #f8f9fa;
        }

        .gallery-grid {
            display: grid;
    /* Desktop: 3 columns | Tablet: 2 columns | Mobile: 1 column */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
        }

        .gallery-item {
            aspect-ratio: 16 / 9; /* Maintains a cinematic shape automatically */
    height: auto; /* Removes the fixed 300px height */
    background: linear-gradient(135deg, var(--bright-orange), var(--bright-yellow));
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the 16:9 box without stretching */
    display: block;
}

        .gallery-item:hover {
            transform: scale(1.05);
        }

        .gallery-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
        }

        /* Payment Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            padding: 1.5rem; /* Reduced padding for mobile */
            border-radius: 15px;
            max-width: 90%;
            width: 400px; /* Reduced from 500px */
            max-height: 90vh; /* Ensures it never exceeds the screen height */
            overflow-y: auto; /* Adds internal scroll if content is still too tall */
            position: relative;
            animation: modalSlideIn 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 2rem;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: var(--tedx-red);
        }

        .qr-code {
            width: 180px; /* Scaled down from 250px */
    height: 180px; /* Scaled down from 250px */
    margin: 1rem auto;
    background: linear-gradient(135deg, var(--bright-purple), var(--bright-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0; /* Prevents QR from squishing */
        }

        .payment-info {
            text-align: center;
            margin-top: 1rem;
        }

        .payment-info p {
            margin: 0.5rem 0;
            font-size: 1.1rem;
        }

        .upi-id {
            background: #f0f0f0;
    padding: 0.8rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem; /* Smaller font for mobile */
    margin: 0.8rem 0;
    width: 100%;
    text-align: center;
    word-break: break-all; /* Prevents long IDs from breaking layout */
        }

        /* Footer */
        footer {
            background: var(--tedx-black);
            color: white;
            padding: 3rem 5%;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--tedx-red);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .social-links a {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 1.5rem;
        }

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

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 3px 0;
            transition: 0.3s;
        }

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem; /* Reduced from 2.5 for better fit */
    }

    .hero .tedx-title {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    /* Stacking buttons for easier tapping */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }

    /* Existing nav and grid code */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        padding: 2rem;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-content, .tickets-content {
        grid-template-columns: 1fr;
    }
}

/* Specific Fix for Small Mobile (Phones like the one in your screenshot) */
@media (max-width: 480px) {

    .gallery-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 1rem;
        padding: 0 10px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3; /* Slightly taller for mobile focus */
        border-radius: 12px;
    }


    .hero-content {
        padding: 1rem;
    }

    /* This targets the "Organized by..." text in your image */
    .hero-content h1, 
    .hero-content h2, 
    .hero-content h4 {
        font-size: 1.1rem !important; 
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    /* This targets the tagline "Ideas Worth Spreading..." */
    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    /* Adjust the TEDx Sinhgad COE main text */
    .hero .tedx-title {
        font-size: 2.2rem !important;
        margin-top: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .btn-primary {
        width: 100%;
        padding: 1.4rem 2rem !important; /* Extra height for that "fatty" look */
        font-size: 1.1rem !important;
        box-shadow: 0 12px 24px rgba(235, 0, 40, 0.4); /* Stronger shadow on mobile */
        order: 1; /* Ensures tickets button stays on top */
    }

    .btn-secondary {
        width: 100%;
        padding: 0.9rem 2rem !important; /* Slimmer than primary to show hierarchy */
        font-size: 1rem !important;
        border: 1.5px solid white;
        order: 2;
    }
    .modal-content {
        padding: 1.2rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .payment-info p {
        font-size: 0.85rem;
    }
    .benefit-card {
        padding: 1.5rem !important; /* Reduced from 2.5rem */
        margin-bottom: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.3rem !important; /* Smaller heading */
        margin-bottom: 0.5rem;
    }

    .benefit-card li {
        font-size: 0.9rem !important;
        padding: 0.3rem 0 0.3rem 1.2rem !important; /* Tighter list spacing */
    }
    .ticket-card {
        padding: 1.5rem !important; /* Slimmer card */
        width: 100%;
        max-width: 320px; /* Constrain width so it looks like a pass */
        margin: 0 auto;
    }

    .ticket-card h3 {
        font-size: 1.5rem !important;
    }

    .ticket-price {
        font-size: 2.2rem !important; /* Smaller price */
        margin: 0.8rem 0 !important;
    }

    .ticket-features {
        margin: 1rem 0 !important;
    }

    .ticket-features li {
        font-size: 0.85rem !important;
        padding: 0.5rem 0 0.5rem 1.5rem !important;
    }
    /* Section Titles */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem;
    }

    /* General Body Text in Sections */
    section p, .about-text p, .speaker-desc {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }

    /* Section Headings (like "About TEDx", etc) */
    .about-text h3, .faq-section h3 {
        font-size: 1.4rem !important;
    }
}
    
        .auth-toggle a {
           color: blue; /* or any color you want */
           cursor: pointer; /* so it looks clickable */
           text-decoration: underline; /* optional, makes it look like a link */
         }


         /* Speakers Section */
        .speakers {
            background: linear-gradient(135deg, #fff 0%, #fef5f7 100%);
        }

        .speakers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2.5rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .speaker-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .speaker-card img {
            width: 160px;
            height: 160px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 1.2rem;
            border: 4px solid var(--tedx-red);
        }

        .speaker-card h3 {
            font-size: 1.4rem;
            margin-bottom: 0.3rem;
            color: var(--tedx-black);
        }

        .speaker-role {
            color: var(--tedx-red);
            font-weight: 600;
            margin-bottom: 0.8rem;
        }

        .speaker-desc {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.6;
        }
