/* Root Variables for Consistent Theming */
:root {
    --primary-50: #fffbeb;
    --primary-100: #fef3c7;
    --primary-200: #fde68a;
    --primary-300: #fcd34d;
    --primary-400: #fbbf24;
    --primary-500: #f59e0b;
    --primary-600: #d97706;
    --primary-700: #b45309;
    --primary-800: #92400e;
    --primary-900: #78350f;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    color: var(--gray-800);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Professional Typography Scale */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Enhanced Card System */
.card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card:last-child {
    margin-bottom: 2rem;
}

/* Professional List Styling */
.list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-md);
    border-left: 3px solid var(--primary-400);
    transition: all var(--transition-fast);
}

.list-item:hover {
    background: var(--primary-50);
    transform: translateX(4px);
}

.list-item svg {
    color: var(--primary-500);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.list-item span {
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.6;
}

/* Enhanced Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
    color: white;
    padding: 0.875rem 1.125rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: slideInUp 0.4s ease-out;
}

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

/* Page Content Management */
.page-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.page-content.active {
    display: block;
}

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

/* Enhanced Navigation */
.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-600);
    background: var(--primary-100);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
}

/* Professional Schedule Items */
.schedule-item {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-500);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

.schedule-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-600);
}

.schedule-item .time {
    color: var(--primary-600);
    font-weight: 700;
    font-size: 0.875rem;
    background: var(--primary-50);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-md);
    display: inline-block;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.schedule-item .content {
    flex: 1;
}

.schedule-item .content h5 {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.schedule-item .content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .schedule-item {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .schedule-item .time {
        width: 8rem;
        flex-shrink: 0;
        margin-bottom: 0;
        margin-right: 1.5rem;
        text-align: center;
    }
}

/* Enhanced Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-500);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-200);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .testimonial-text {
    color: var(--gray-700);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card .testimonial-author {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Testimonial Preview (for smaller testimonials) */
.testimonial-preview {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-500);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.testimonial-preview:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #1F2937;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.modal-close {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.modal-close:hover {
    color: #FBBF24;
    background-color: #374151;
}

/* Form Styles */
.form-input {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:focus {
    border-color: #FBBF24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Pricing Cards */
.pricing-card {
    @apply bg-gray-700 p-4 rounded-lg border border-gray-600;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #374151;
    border-top: 4px solid #FBBF24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Button Enhancements */
.cta-button {
    position: relative;
    overflow: hidden;
}

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

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

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.nav-link:focus,
.cta-button:focus,
.form-input:focus,
button:focus {
    outline: 2px solid #FBBF24;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.2s ease-in-out;
}

/* Enhanced hover effects */
.nav-link:hover {
    transform: translateY(-1px);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Comprehensive Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Base Layout */
    .container {
        padding: 0.5rem;
    }
    
    /* Typography Adjustments */
.section-title {
    @apply text-3xl md:text-4xl font-bold text-gray-900 mb-8 border-b-2 border-yellow-500 pb-4;
}

.section-subtitle {
    @apply text-xl md:text-2xl font-semibold text-gray-700 mb-6;
}
    
    /* Navigation Improvements */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
        width: 100%;
        border-radius: 0.5rem;
    }
    
    /* Logo Adjustments */
    .logo {
        height: 2.5rem;
        width: auto;
    }
    
    /* Hero Section Mobile */
    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    /* CTA Buttons Mobile */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
    }
    
    /* Card Improvements */
    .card {
        @apply p-4 mb-8;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Featured Speakers Mobile */
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .speaker-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .speaker-image {
        width: 100px;
        height: 100px;
    }
    
    .speaker-overlay {
        width: 100px;
        height: 100px;
    }
    
    .speaker-name {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .speaker-title {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .speaker-bio {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Benefits Section Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 1rem;
    }
    
    .benefit-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-description {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Stats Section Mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Social Proof Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        font-size: 0.875rem;
    }
    
    /* Schedule Mobile */
    .schedule-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .schedule-item .time {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
    }
    
    .schedule-item .content {
        margin-left: 0;
    }
    
    .schedule-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .schedule-speaker {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
    
    .schedule-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .form-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    /* Modal Mobile Improvements */
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
        border-radius: 1rem;
    }
    
    .modal-header {
        margin-bottom: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-close {
        padding: 0.5rem;
        font-size: 1.5rem;
    }
    
    /* Pricing Cards Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .pricing-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-price {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-features {
        margin-bottom: 1.5rem;
    }
    
    .pricing-feature {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    /* Back to Top Button Mobile */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-link {
        padding: 0.5rem;
        text-align: center;
    }
    
    /* Touch-Friendly Improvements */
    .nav-link,
    .cta-button,
    .form-button,
    .modal-close,
    .back-to-top {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved Spacing */
    .section {
        margin-bottom: 2rem;
    }
    
    .section:last-child {
        margin-bottom: 0;
    }
    
    /* Text Readability */
    p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    /* List Improvements */
    ul, ol {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    li {
        margin-bottom: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Image Responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Table Responsiveness */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 100%;
        font-size: 0.875rem;
    }
    
    th, td {
        padding: 0.5rem;
        white-space: nowrap;
    }
}

/* Extra Small Mobile Devices (320px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0.25rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        padding: 1rem;
        width: calc(100% - 1rem);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    .nav-link,
    .back-to-top,
    .modal,
    .loading-overlay {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .card {
        background-color: white !important;
        border: 1px solid #ccc !important;
    }
}

/* Animation for page transitions */
.page-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Enhanced button styles */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success/Error message styles */
.message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.newsletter-form .message {
    flex-basis: 100%;
    order: -1;
}

.message.success {
    background-color: #065F46;
    color: #D1FAE5;
    border: 1px solid #10B981;
}

.message.error {
    background-color: #7F1D1D;
    color: #FEE2E2;
    border: 1px solid #EF4444;
}

/* Enhanced form validation styles */
.form-input.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #1F2937;
    color: #E5E7EB;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Enhanced Featured Speaker Card Styles */
.speaker-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.speaker-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background: var(--gray-100);
    box-shadow: var(--shadow-md);
}

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

.speaker-image-container:hover .speaker-image {
    transform: scale(1.08);
}

.speaker-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.speaker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.speaker-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.speaker-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.speaker-bio {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
    font-weight: 400;
}

.speaker-topic-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speaker-topic {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.speaker-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.speaker-keyword {
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    color: var(--primary-800);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--primary-300);
    transition: all var(--transition-fast);
}

.speaker-keyword:hover {
    background: linear-gradient(135deg, var(--primary-200), var(--primary-300));
    transform: translateY(-1px);
}

/* Enhanced Benefit Card Styles */
.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.benefit-icon svg {
    color: white;
    width: 2rem;
    height: 2rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Stats Section Styles */
.stat-item {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

/* Enhanced Testimonial Preview Styles */
.testimonial-preview {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-500);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
    position: relative;
}

.testimonial-preview:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-preview p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-preview h5 {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-preview .text-yellow-300 {
    color: var(--primary-600) !important;
    font-weight: 600;
}

/* RSVP Section Styles */
.rsvp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rsvp-benefit-card {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary-200);
    text-align: center;
    transition: all var(--transition-normal);
}

.rsvp-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
}

.rsvp-benefit-card svg {
    color: var(--primary-600);
    margin: 0 auto 0.75rem;
}

.rsvp-benefit-card h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.rsvp-benefit-card p {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* RSVP Form Container */
.rsvp-form-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.rsvp-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.rsvp-form-container h3 {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.rsvp-form-container p {
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* RSVP Next Steps */
.rsvp-next-steps {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    margin-top: 2rem;
}

.rsvp-next-steps h4 {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rsvp-next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.rsvp-next-step {
    text-align: left;
}

.rsvp-next-step h5 {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.rsvp-next-step p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Iframe Responsive Styling */
iframe[data-tally-src] {
    border-radius: var(--border-radius-md);
    background: white;
}

/* Mobile Responsive for RSVP */
@media (max-width: 768px) {
    .rsvp-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rsvp-benefit-card {
        padding: 1.25rem;
    }
    
    .rsvp-form-container {
        padding: 1.5rem;
    }
    
    .rsvp-next-steps {
        padding: 1.5rem;
    }
    
    .rsvp-next-steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    iframe[data-tally-src] {
        height: 600px;
    }
}

/* Professional Website Best Practices Styles */

/* Hero Section Enhancements */
.hero-stats {
    @apply grid grid-cols-2 md:grid-cols-4 gap-4 mt-8 text-center;
}

.hero-stat {
    @apply p-4;
}

.hero-stat-number {
    @apply text-2xl md:text-3xl font-bold text-yellow-400;
}

.hero-stat-label {
    @apply text-sm text-gray-300 mt-1;
}

/* Trust Indicators */
.trust-badge {
    @apply inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800 mr-2 mb-2;
}

/* Social Proof Elements */
.social-proof-logos {
    @apply flex flex-wrap justify-center items-center gap-6 opacity-60 hover:opacity-100 transition-opacity duration-300;
}

.social-proof-logo {
    @apply h-8 grayscale hover:grayscale-0 transition-all duration-300;
}

/* Call-to-Action Enhancements */
.cta-section {
    @apply bg-gradient-to-r from-yellow-500 to-yellow-600 text-gray-900 p-8 rounded-xl text-center;
}

.cta-urgency {
    @apply text-sm font-semibold text-red-600 bg-red-100 px-3 py-1 rounded-full inline-block mb-4;
}

/* Feature Highlights */
.feature-grid {
    @apply grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6;
}

.feature-item {
    @apply flex items-start space-x-4 p-4 bg-gray-700 rounded-lg;
}

.feature-icon {
    @apply flex-shrink-0 w-10 h-10 bg-yellow-500 rounded-lg flex items-center justify-center text-gray-900;
}

/* Value Proposition Styles */
.value-prop {
    @apply text-center py-12 bg-gradient-to-r from-gray-800 to-gray-700 rounded-xl;
}

.value-prop-title {
    @apply text-3xl font-bold text-white mb-4;
}

.value-prop-subtitle {
    @apply text-xl text-yellow-400 mb-6;
}

.value-prop-description {
    @apply text-gray-300 max-w-2xl mx-auto;
}

/* FAQ Section Styles */
.faq-item {
    @apply border-b border-gray-700 py-4;
}

.faq-question {
    @apply flex justify-between items-center cursor-pointer text-white font-semibold;
}

.faq-answer {
    @apply mt-3 text-gray-300 hidden;
}

.faq-answer.active {
    @apply block;
}

/* Countdown Timer Styles */
.countdown {
    @apply flex justify-center space-x-6 text-center;
}

.countdown-item {
    @apply bg-gray-700 p-4 rounded-lg;
}

.countdown-number {
    @apply text-2xl font-bold text-yellow-400;
}

.countdown-label {
    @apply text-sm text-gray-300 mt-1;
}

/* Progress Indicators */
.progress-bar {
    @apply w-full bg-gray-700 rounded-full h-2;
}

.progress-fill {
    @apply bg-yellow-500 h-2 rounded-full transition-all duration-500;
}

/* Interactive Elements */
.interactive-card {
    @apply cursor-pointer transition-all duration-300;
}

.interactive-card:hover {
    @apply transform scale-105 shadow-xl;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .speaker-card {
        text-align: center;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #FBBF24;
    }
    
    .speaker-card,
    .benefit-card,
    .testimonial-preview {
        border: 1px solid #FBBF24;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .speaker-card,
    .benefit-card,
    .stat-item,
    .interactive-card {
        transition: none;
    }
    
    .speaker-card:hover,
    .benefit-card:hover,
    .interactive-card:hover {
        transform: none;
    }
}

/* Text Alignment Rules */
.card {
    text-align: left;
}

.card .section-title {
    text-align: left;
}

/* Center align specific sub-sections */
#featured-speakers,
#benefits,
#stats,
#social-proof {
    text-align: center;
}

#featured-speakers .section-title,
#benefits .section-title,
#stats .section-title,
#social-proof .section-title {
    text-align: center;
}

/* Left align main content paragraphs and lists */
.card p,
.card ul,
.card li {
    text-align: left;
}

/* Center align specific elements within centered sections */
#featured-speakers .grid,
#benefits .grid,
#stats .grid,
#social-proof .grid {
    text-align: center;
}

/* Ensure speaker info is centered within speaker cards */
.speaker-info {
    text-align: center;
}

/* Ensure benefit cards content is centered */
.benefit-card {
    text-align: center;
}

/* Audience & purpose layout */
.audience-grid,
.purpose-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .audience-grid,
    .purpose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

.audience-highlight,
.purpose-need {
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.audience-highlight h3,
.purpose-need h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.audience-support,
.purpose-support {
    padding: 1rem 0;
}

.audience-support h4,
.purpose-support h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.audience-support ul,
.purpose-support ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 1rem;
}

.audience-support li,
.purpose-support li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: var(--gray-50);
    border-left: 4px solid var(--primary-500);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.audience-support li strong,
.purpose-support li strong {
    color: var(--gray-900);
    font-weight: 700;
}

.purpose-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.7), rgba(251, 191, 36, 0.1));
    margin: 3rem 0;
}

/* Newsletter form styles */
.footer-newsletter {
    align-items: stretch;
}

.newsletter-form {
    width: 100%;
    max-width: 28rem;
}

.newsletter-input {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    color: #f3f4f6;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgb(251 191 36 / 0.35);
}

.newsletter-button {
    background-image: linear-gradient(90deg, #f59e0b, #f97316);
    border: none;
    border-radius: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.newsletter-button:hover {
    filter: brightness(1.05);
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .newsletter-form {
        max-width: none;
    }
}

/* Ensure stats are centered */
.stat-item {
    text-align: center;
}

/* Print optimizations */
@media print {
    .speaker-overlay,
    .benefit-icon,
    .cta-button {
        display: none !important;
    }
    
    .speaker-card,
    .benefit-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
