:root {
    /* Updated color palette based on Pan African AI Summit branding */
    --primary-color: #1e3a8a; /* Deep navy blue */
    --secondary-color: #00e5ff; /* Bright cyan/turquoise */
    --accent-color: #e91e63; /* Vibrant magenta/pink */
    --dark-color: #0f172a; /* Very dark navy */
    --light-color: #f8fafc; /* Clean white/light gray */
    
    /* Updated gradients to match the summit's visual identity */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #e91e63 100%);
    --gradient-secondary: linear-gradient(135deg, #00e5ff 0%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #e91e63 0%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #312e81 100%);
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in {
    animation: slideInRight 0.8s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Navigation */
        .navbar {
            background: #1a365d !important; /* Dark navy blue */
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 0, 128, 0.3); /* Pink instead of cyan */
            transition: all 0.3s ease;
            padding: 15px 0;
        }

        .navbar.scrolled {
            background: rgba(26, 54, 93, 0.98) !important;
            box-shadow: 0 8px 32px rgba(255, 0, 128, 0.2);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            background: var(--gradient-secondary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: white !important; /* Fallback for older browsers */
        }

        .navbar-nav {
            align-items: center;
        }

        .navbar-nav .nav-item {
            margin: 0 5px;
        }

        .navbar-nav .nav-link {
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            color: white !important; /* White text */
            padding: 8px 15px !important;
            border-radius: 5px;
        }

        .navbar-nav .nav-link:hover {
            color: #FF0080 !important; /* Pink hover instead of cyan */
            background-color: rgba(255, 0, 128, 0.1); /* Pink background */
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 2px;
            left: 50%;
            background: var(--gradient-secondary);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-nav .nav-link:hover::after {
            width: 80%;
        }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, 
        #0a1525 0%,
        #1a2642 25%,
        #0f1d35 50%,
        #162847 75%,
        #0d1a2d 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Update the gradient overlays to include pink */
.hero-section::before {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 0, 128, 0.05) 30%, /* Add pink tint */
        transparent 50%,
        rgba(0, 229, 255, 0.03) 70%, /* Keep cyan as secondary */
        rgba(255, 0, 128, 0.08) 100% /* Pink instead of white */
    );
}

.hero-section::after {
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 0, 128, 0.15) 0%, /* Pink instead of white */
        rgba(255, 0, 128, 0.05) 25%,
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 80%,
        rgba(0, 229, 255, 0.08) 0%, /* Keep cyan as secondary */
        rgba(0, 229, 255, 0.02) 30%,
        transparent 60%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}



.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-hero {
    background: var(--gradient-secondary);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
    margin: 0 10px 10px 0;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.4);
    color: white;
}

.btn-outline-hero {
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    padding: 13px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 10px 10px 0;
}

.btn-outline-hero:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #f0f4f7 100%);
    padding: 80px 0;
    text-align: center;
}

.countdown-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.countdown-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px var(--box-shadow-color);
    text-align: center;
    min-width: 150px;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}

.countdown-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.countdown-item:hover .countdown-number {
    color: var(--secondary-color);
}

.countdown-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.event-details {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    /* Revised CSS for the Full-Screen Video Section */
.venue-section {
    position: relative;
    padding: 0;
    width: 100%;
    height: 100vh; /* This sets the section to full viewport height */
    background: #000; /* Fallback background color */
    overflow: hidden; /* Ensures the video doesn't overflow */
    display: flex; /* Centers the content */
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute; /* Positions the video to cover the entire section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0; /* No border-radius for full screen */
    box-shadow: none; /* No shadow for a cleaner, full-screen look */
    background: transparent; /* Makes the background transparent to show the video */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New CSS for the video element itself */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key property. It ensures the video fills the container while maintaining its aspect ratio. */
    border-radius: 0;
}

/* Existing styles for content remain the same, but we need to ensure they are on top of the video */
.section-title,
.section-subtitle,
.row.mt-5 {
    position: relative; /* Brings these elements to the front */
    z-index: 2; /* A higher z-index places them above the video */
    color: white; /* Ensures text is readable on the dark video background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow for readability */
}

/* Adjustments for the placeholder content (if you still use it) */
.video-placeholder,
.play-button {
    position: relative;
    z-index: 3; /* Ensures these elements are on top of everything */
    color: white; /* Ensures placeholder text is visible */
}

.video-placeholder i,
.video-placeholder h3,
.video-placeholder p {
    color: white; /* Forces text color to white */
}

/* Stats Section */
.stats-section {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 229, 255, 0.05) 50%, transparent 70%);
}

.stat-card {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--light-color);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #D946EF;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.15);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.feature-card:hover .feature-icon::before {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Speakers Section */
.speakers-section {
    padding: 120px 0;
    background: white;
}

.speaker-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.speaker-card:hover::before {
    opacity: 0.05;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(30, 58, 138, 0.15);
    border-color: var(--secondary-color);
}

.speaker-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.speaker-image::before {
    content: 'Speaker Image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 500;
    color: white;
    z-index: 2;
}

.speaker-info {
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.speaker-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.speaker-title {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.speaker-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-secondary);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: block;
}

.footer-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .btn-hero, .btn-outline-hero {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 229, 255, 0.3);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    opacity: 0;
    pointer-events: none;
}


/* new Styles */
/* Agenda Timeline Styles */
.agenda-timeline {
    padding: 40px 0;
}

.agenda-day {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.agenda-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.agenda-day:hover::before {
    transform: scaleX(1);
}

.agenda-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(30, 58, 138, 0.15);
    border-color: var(--secondary-color);
}

.agenda-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agenda-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.agenda-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Success Stories Styles */
.success-stories-section {
    padding: 60px 0;
    background: var(--light-color);
    border-radius: 20px;
    margin: 40px 0;
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.story-card:hover::before {
    transform: scaleX(1);
}

.story-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 15px 45px rgba(30, 58, 138, 0.12);
    border-color: var(--accent-color);
}

.story-image {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.story-card:hover .story-image::before {
    width: 100%;
    height: 100%;
}

.story-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Information in Footer */
.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-info p:hover {
    color: var(--secondary-color);
}

.contact-info i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Enhanced Video Section for Mobile */
@media (max-width: 768px) {
    .venue-section {
        height: 60vh;
        padding: 40px 0;
    }
    
    .video-container {
        height: 300px;
        border-radius: 15px;
        position: relative;
    }
    
    .video-container video {
        border-radius: 15px;
    }
}

/* Program Alert Specific Styles */
.alert-info {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0d47a1;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

/* Enhanced Button States */
.btn-hero:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-outline-hero:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Reveal Animation */
.animate-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* REPLACE WITH: */
.feature-card,
.speaker-card,
.story-card {
    opacity: 1; /* Always visible */
    transition: all 0.3s ease;
    transform: translateY(0); /* Default position */
}


/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .countdown-title {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .speaker-card {
        margin-bottom: 30px;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation adjustments already exist above */
    
    .hero-section {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    
    

    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-md-6 {
        margin-bottom: 30px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        margin: 0 5px;
    }
    
    .venue-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .video-container {
        height: 100%;
    }
    
    .agenda-day,
    .story-card {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 12px;
    }
}

/* Mobile Portrait (375px - 575px) */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }
    
    .countdown-container {
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px 12px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        border-radius: 12px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .speaker-image {
        height: 220px;
        font-size: 2.5rem;
    }
    
    .speaker-info {
        padding: 20px;
    }
    
    .speaker-name {
        font-size: 1.1rem;
    }
    
    .speaker-title {
        font-size: 0.9rem;
    }
    
    .speaker-bio {
        font-size: 0.85rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .btn-hero,
    .btn-outline-hero {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        margin: 0 4px;
    }
    
    .venue-section {
        height: 50vh;
        min-height: 350px;
    }
}

/* Extra Small Mobile (below 375px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .countdown-title {
        font-size: 1.5rem;
    }
    
    .countdown-container {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-item {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .countdown-section {
        padding: 40px 0;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .features-section,
    .speakers-section {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .venue-section {
        height: 100vh;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn-hero,
    .btn-outline-hero,
    .social-icon,
    .loading-overlay {
        display: none !important;
    }
    
    .hero-section,
    .countdown-section,
    .stats-section,
    .features-section,
    .speakers-section,
    .cta-section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .feature-card,
    .speaker-card,
    .story-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}