/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-top: 76px; /* Account for fixed navbar */
    padding-bottom: 76px; /* Account for fixed footer */
}

/* Speaker Cards */
.speaker-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-card img {
    height: 250px;
    object-fit: cover;
}

/* Speakers Section */
.speakers-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.speaker-category {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.speaker-category h2 {
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.speaker-category h2 i {
    font-size: 1.5rem;
}

/* Schedule Section */
.schedule-timeline {
    position: relative;
    padding: 20px 0;
}

.schedule-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ea7411;
}

.schedule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.schedule-time {
    color: #ea7411;
    font-weight: 500;
}

.schedule-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-status.upcoming {
    background-color: #e9ecef;
    color: #6c757d;
}

.schedule-status.ongoing {
    background-color: #cff4fc;
    color: #055160;
}

.schedule-status.closed {
    background-color: #d1e7dd;
    color: #0f5132;
}

.schedule-card-body h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.venue {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.attendance {
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Fixed Footer Menu */
.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.footer-menu .nav {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-menu .nav-item {
    flex: 1;
    text-align: center;
}

.footer-menu .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6c757d;
    font-size: 0.75rem;
    padding: 4px;
    white-space: nowrap;
}

.footer-menu .nav-link.active {
    color: #0d6efd;
}

.footer-menu i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

/* Digital Badge Styles */
.digital-badge-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.qr-code-container {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.badge-details {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

/* Notifications Styles */
.notifications-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.notification-item {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0d6efd;
}

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

.notification-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
}

.notification-time {
    color: #6c757d;
    font-size: 0.875rem;
}

.notification-body {
    color: #495057;
}

.attendance-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Sponsors Page Styles */
.sponsors-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    padding-top: 76px;
}

.sponsor-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}

.sponsor-card img {
    height: 200px;
    object-fit: cover;
}

.sponsor-card.platinum {
    border: 2px solid #e5e4e2;
}

.sponsor-card.gold {
    border: 2px solid #ffd700;
}

.sponsor-card.industrial {
    border: 2px solid #0d6efd;
}

.sponsor-card.academic {
    border: 2px solid #198754;
}

.text-platinum {
    color: #e5e4e2;
}

.text-gold {
    color: #ffd700;
}

.sponsor-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Add padding to main content to prevent footer overlap */


/* QR Scanner Styles */
.qr-scanner-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-weight: bold;
}

.scanner-placeholder {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.scanner-frame {
    aspect-ratio: 1;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.scanner-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #0d6efd;
    top: 50%;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }
    50% {
        top: 100%;
    }
    100% {
        top: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .schedule-item {
        margin-bottom: 30px;
    }

    .speaker-card img {
        height: 200px;
    }

    .custom-radio {
        padding: 0.75rem;
    }

    .member-card img {
        height: 200px;
    }

    .notification-header {
        flex-direction: column;
    }

    .notification-time {
        margin-top: 0.5rem;
    }

    .speaker-category {
        padding: 1rem;
    }

    .speaker-category h2 {
        font-size: 1.5rem;
    }

    .schedule-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-status {
        align-self: flex-start;
    }

    .sponsor-card img {
        height: 160px;
    }

    .sponsor-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sponsor-card {
        margin-bottom: 1rem;
    }

    .footer-menu .nav-link {
        font-size: 0.7rem;
    }

    .footer-menu i {
        font-size: 1.1rem;
    }

    .scanner-frame {
        max-width: 250px;
    }
    
    .step {
        margin-bottom: 2rem;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add padding to sections to account for fixed navbar */
section {
    scroll-margin-top: 76px;
}