/* Conference Schedule Section Styles */
.conference-schedule-section {
    padding: 60px 0;
    background-image: url('https://agrifutureconference.com/wp-content/uploads/2025/05/conference.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.conference-schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 47, 28, 0.85) 0%,
        rgba(44, 74, 47, 0.85) 25%,
        rgba(36, 60, 39, 0.85) 50%,
        rgba(44, 74, 47, 0.85) 75%,
        rgba(26, 47, 28, 0.85) 100%
    );
    z-index: 1;
}

/* Enhanced ambient glow effect */
.conference-schedule-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 800px;
    background: 
        radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(76, 175, 80, 0.15) 0%, transparent 50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.conference-schedule-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Header */
.conference-schedule-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.conference-schedule-section .section-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.conference-schedule-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.8;
}

.conference-schedule-section .section-line {
    display: none;
}

.conference-schedule-section .section-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.conference-dates {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.date-item i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.date-item span {
    font-size: 1rem;
    color: #ffffff;
}

/* Schedule Table Container */
.schedule-table-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.schedule-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    position: relative;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    width: 100%;
    max-width: 100%;
}

.schedule-table-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    color: #333333;
    font-size: 0.85rem;
    min-width: 1400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.schedule-table thead {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: #ffffff;
}

.schedule-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border-right: 1px solid rgba(76, 175, 80, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.schedule-table th:first-child {
    border-top-left-radius: 12px;
}

.schedule-table th:last-child {
    border-right: none;
    border-top-right-radius: 12px;
}

.schedule-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    border-right: 1px solid rgba(76, 175, 80, 0.2);
    vertical-align: middle;
    position: relative;
    transition: background-color 0.2s ease;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.schedule-table td:last-child {
    border-right: none;
}

.schedule-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.schedule-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Column Widths */
.time-col {
    width: 8%;
    min-width: 100px;
}

.exhibition-col {
    width: 18%;
    min-width: 280px;
}

.plenary-col {
    width: 28%;
    min-width: 350px;
}

.parallel-col {
    width: 23%;
    min-width: 280px;
}

/* Row Styles */
.schedule-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.schedule-table tbody tr {
    transition: background-color 0.2s ease;
}

/* Special Row Types - Darker Gray Colors for Better Contrast */
.registration-cell {
    background: #4CAF50 !important;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.break-cell {
    background: #424242 !important;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.lunch-cell {
    background: #66BB6A !important;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.setup-cell {
    background: #616161 !important;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.dinner-cell {
    background: #2E7D32 !important;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

/* Session Cells - Darker Grays for Better Visibility */
.exhibition-cell {
    background: #455A64;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
}

.opening-cell {
    background: #388E3C;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
}

.plenary-session {
    background: #2E7D32;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.innovation-pitch {
    background: #4CAF50;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.parallel-session {
    font-weight: 500;
    text-align: center;
    padding: 12px 14px;
}

.thai-agriculture {
    background: #546E7A;
    color: #ffffff;
}

.german-thai {
    background: #607D8B;
    color: #ffffff;
}

/* Session Tags - Simplified */
.session-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.tech-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.climate-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.market-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.session-subtitle {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 6px;
    opacity: 0.95;
    line-height: 1.35;
}

/* Icons in cells */
.schedule-table i {
    margin-right: 6px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Time columns styling */
.schedule-table .time-col {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2E7D32;
    border-right: 2px solid rgba(76, 175, 80, 0.4);
    font-size: 0.85rem;
}

/* Enhanced cell content */
.schedule-table strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
    word-wrap: break-word;
    hyphens: auto;
}

.schedule-table .session-subtitle {
    font-size: 0.68rem;
    font-style: italic;
    margin-top: 3px;
    opacity: 0.85;
    line-height: 1.2;
}

/* Schedule Legend - Minimalist Design */
.schedule-legend {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.schedule-legend h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 500;
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.tech-color {
    background: #2E7D32;
}

.climate-color {
    background: #4CAF50;
}

.market-color {
    background: #388E3C;
}

.exhibition-color {
    background: #455A64;
}

.parallel-color {
    background: #546E7A;
}

/* Schedule CTA */
.schedule-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.schedule-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.schedule-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.schedule-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.schedule-cta .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Mobile First Responsive Design */

/* Base Mobile Styles (320px and up) */
@media screen and (max-width: 575px) {
    .conference-schedule-section {
        padding: 80px 0;
        background-attachment: scroll; /* Better performance on mobile */
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .conference-schedule-section .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .conference-schedule-section .section-header {
        margin-bottom: 40px;
        padding: 0 10px;
        width: 100%;
        text-align: center;
    }
    
    .conference-schedule-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .conference-schedule-section .section-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .conference-dates {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        padding: 0 10px;
    }
    
    .date-item {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .date-item i {
        font-size: 1rem;
    }
    
    .date-item span {
        font-size: 0.9rem;
    }
    
    /* Enhanced Mobile Table with Better UX */
    .schedule-table-container {
        padding: 0;
        margin: 40px 0;
        width: 100%;
        position: relative;
        overflow: visible;
        box-sizing: border-box;
    }

    /* Mobile scroll indicator */
    .schedule-table-container::before {
        content: 'Swipe to view full schedule →';
        position: absolute;
        top: -30px;
        right: 20px;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        background: rgba(76, 175, 80, 0.2);
        padding: 5px 10px;
        border-radius: 15px;
        z-index: 10;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 1; }
    }
    
    .schedule-table-wrapper {
        width: 100%;
        border-radius: 12px;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        /* Enhanced scrollbar styling */
        scrollbar-width: thin;
        scrollbar-color: rgba(76, 175, 80, 0.6) rgba(255, 255, 255, 0.1);
        padding: 10px 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        position: relative;
    }

    /* Enhanced webkit scrollbar for mobile */
    .schedule-table-wrapper::-webkit-scrollbar {
        height: 12px;
    }

    .schedule-table-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        margin: 0 10px;
    }

    .schedule-table-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #4CAF50, #66BB6A);
        border-radius: 6px;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .schedule-table-wrapper::-webkit-scrollbar-thumb:active {
        background: linear-gradient(90deg, #388E3C, #4CAF50);
    }

    /* Scroll shadow indicators */
    .schedule-table-wrapper::before,
    .schedule-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 2;
    }

    .schedule-table-wrapper::before {
        left: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent);
    }

    .schedule-table-wrapper::after {
        right: 0;
        background: linear-gradient(270deg, rgba(0, 0, 0, 0.1), transparent);
    }
    
    .schedule-table {
        min-width: 800px; /* Optimized for better mobile fit */
        font-size: 0.65rem;
        border-radius: 12px;
        width: auto;
        margin: 0;
        background: #ffffff;
        overflow: hidden;
        position: relative;
        border-collapse: separate;
        border-spacing: 0;
    }
    
    .schedule-table th {
        padding: 12px 6px;
        font-size: 0.7rem;
        line-height: 1.2;
        background: linear-gradient(135deg, #2E7D32, #388E3C);
        color: #ffffff;
        text-align: center;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        position: sticky;
        top: 0;
        z-index: 5;
    }
    
    .schedule-table td {
        padding: 10px 6px;
        font-size: 0.65rem;
        line-height: 1.3;
        text-align: center;
        border-bottom: 1px solid rgba(76, 175, 80, 0.2);
        border-right: 1px solid rgba(76, 175, 80, 0.2);
        position: relative;
    }

    .schedule-table td:last-child {
        border-right: none;
    }
    
    .schedule-table strong {
        font-size: 0.7rem;
        display: block;
        margin-bottom: 3px;
        font-weight: 700;
        line-height: 1.2;
    }
    
    .session-tag {
        font-size: 0.5rem;
        padding: 3px 6px;
        margin: 3px 0;
        display: inline-block;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.4);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .session-subtitle {
        font-size: 0.6rem;
        line-height: 1.2;
        margin-top: 4px;
        font-style: italic;
        opacity: 0.9;
    }
    
    .schedule-table i {
        font-size: 0.7rem;
        margin-right: 4px;
        opacity: 0.9;
    }
    
    /* Enhanced mobile table cells for better readability */
    .registration-cell,
    .break-cell,
    .lunch-cell,
    .setup-cell,
    .dinner-cell {
        padding: 12px 8px !important;
        font-weight: 700 !important;
        text-align: center !important;
        color: #ffffff !important;
    }
    
    .exhibition-cell,
    .opening-cell,
    .plenary-session,
    .innovation-pitch {
        padding: 12px 8px !important;
        font-weight: 600 !important;
        text-align: center !important;
        color: #ffffff !important;
    }
    
    .parallel-session {
        padding: 12px 8px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        color: #ffffff !important;
    }

    /* Time columns enhanced for mobile */
    .schedule-table .time-col {
        background-color: #f8f9fa;
        font-weight: 700;
        color: #2E7D32;
        border-right: 2px solid rgba(76, 175, 80, 0.4);
        font-size: 0.75rem;
        min-width: 60px;
        position: sticky;
        left: 0;
        z-index: 3;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }
    
    /* Enhanced Legend for Mobile */
    .schedule-legend {
        margin: 40px auto 0;
        width: 100%;
        max-width: 600px;
        padding: 0 15px;
        text-align: center;
    }
    
    .schedule-legend h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        color: #ffffff;
        font-weight: 600;
    }
    
    .legend-items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .legend-item {
        padding: 12px 16px;
        font-size: 0.85rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .legend-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    /* Enhanced Mobile CTA */
    .schedule-cta {
        padding: 40px 15px;
        text-align: center;
        margin: 40px auto 0;
        width: 100%;
        max-width: 600px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        backdrop-filter: blur(15px);
        position: relative;
        overflow: hidden;
    }

    .schedule-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #4CAF50, #66BB6A, #81C784);
    }
    
    .schedule-cta h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #ffffff;
        font-weight: 700;
    }
    
    .schedule-cta p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
        color: #e0e0e0;
        padding: 0 10px;
    }
    
    .schedule-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 24px;
        font-size: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, var(--primary-color), #66BB6A);
        color: #ffffff;
        text-decoration: none;
        border-radius: 12px;
        font-weight: 700;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .schedule-cta .btn:hover {
        background: linear-gradient(135deg, #388E3C, var(--primary-color));
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    }

    /* Mobile accessibility improvements */
    .schedule-table-wrapper {
        /* Announce scrollable content to screen readers */
        role: region;
        aria-label: "Conference schedule table - scroll horizontally to view all sessions";
    }

    /* Add touch-friendly padding for mobile interaction */
    .schedule-table th,
    .schedule-table td {
        min-height: 44px;
        display: table-cell;
        vertical-align: middle;
    }
}

/* Small Mobile Landscape */
@media screen and (max-width: 575px) and (orientation: landscape) {
    .conference-schedule-section {
        padding: 60px 0;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .conference-schedule-section .section-title {
        font-size: 1.6rem;
    }
    
    .conference-schedule-section .section-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .conference-dates {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }
    
    .date-item {
        padding: 8px 15px;
        font-size: 0.8rem;
        max-width: 200px;
    }
    
    .schedule-table {
        min-width: 600px;
    }
}

/* Tablet Portrait (576px to 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .conference-schedule-section {
        padding: 100px 0;
        background-attachment: scroll; /* Better performance on mobile/tablet */
        overflow-x: hidden;
    }
    
    .conference-schedule-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .conference-schedule-section .section-title {
        font-size: 2.2rem;
    }
    
    .conference-schedule-section .section-description {
        font-size: 1.1rem;
    }
    
    .conference-dates {
        gap: 25px;
    }
    
    .date-item {
        padding: 12px 20px;
        min-width: 200px;
    }
    
    .schedule-table-container {
        margin: 40px 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow-x: auto;
        padding: 0 25px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    
    .schedule-table-wrapper {
        width: auto;
        margin: 0 auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        max-width: calc(100vw - 50px);
    }
    
    .schedule-table {
        min-width: 1200px;
        font-size: 0.75rem;
        border-radius: 10px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
    }
    
    .schedule-table th {
        font-size: 0.75rem;
    }
    
    .session-tag {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .legend-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .schedule-cta {
        padding: 50px 20px;
        margin: 40px auto 0;
        max-width: 600px;
    }
    
    .schedule-cta h3 {
        font-size: 1.6rem;
    }
    
    .schedule-cta .btn {
        max-width: 250px;
    }
}

/* Tablet Landscape (768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .conference-schedule-section {
        padding: 110px 0;
    }
    
    .conference-schedule-section .section-title {
        font-size: 2.5rem;
    }
    
    .schedule-table {
        font-size: 0.8rem;
        min-width: 1300px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 11px 9px;
    }
    
    .legend-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .schedule-table-wrapper {
        /* Add scroll indicators for touch devices */
        scrollbar-width: thin;
        scrollbar-color: rgba(76, 175, 80, 0.5) transparent;
    }
    
    .schedule-table-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .schedule-table-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .schedule-table-wrapper::-webkit-scrollbar-thumb {
        background: rgba(76, 175, 80, 0.5);
        border-radius: 4px;
    }
    
    .schedule-table-wrapper::-webkit-scrollbar-thumb:active {
        background: rgba(76, 175, 80, 0.7);
    }
    
    .schedule-cta .btn {
        min-height: 44px; /* iOS recommended touch target */
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .schedule-table {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .session-tag {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* Existing media queries (enhanced) */
@media (max-width: 1200px) {
    .conference-dates {
        gap: 30px;
    }

    .legend-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Enhanced mobile styles for better responsiveness */
@media (max-width: 768px) {
    .conference-schedule-section {
        padding: 80px 0;
        background-attachment: scroll; /* Better performance on mobile */
    }

    .conference-schedule-section .section-title {
        font-size: 2.2rem;
    }

    .conference-dates {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .date-item {
        padding: 12px 20px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .schedule-table-container {
        margin: 60px 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -47vw;
        margin-right: -50vw;
        overflow-x: auto;
        padding: 0 25px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    
    .schedule-table-wrapper {
        width: auto;
        margin: 0 auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        max-width: calc(100vw - 50px);
    }

    .schedule-table {
        font-size: 0.75rem;
        min-width: 1200px;
        border-radius: 10px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
    }

    .schedule-table th {
        font-size: 0.75rem;
    }

    .schedule-table strong {
        font-size: 0.75rem;
        display: block;
        margin-bottom: 3px;
    }

    .session-tag {
        font-size: 0.6rem;
        padding: 3px 6px;
        margin: 3px 0;
        display: inline-block;
        border-radius: 4px;
    }

    .session-subtitle {
        font-size: 0.65rem;
        line-height: 1.3;
        margin-top: 4px;
    }

    .schedule-table i {
        font-size: 0.8rem;
        margin-right: 4px;
    }

    .schedule-legend {
        margin: 30px auto 0;
        max-width: 600px;
        padding: 0 20px;
    }

    .schedule-legend h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .legend-items {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
    }

    .legend-item {
        padding: 10px 15px;
        font-size: 0.85rem;
        justify-content: center;
    }

    .legend-color {
        width: 14px;
        height: 14px;
        margin-right: 10px;
    }

    .schedule-cta {
        padding: 50px 20px;
        margin: 40px auto 0;
        max-width: 600px;
    }

    .schedule-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }

    .schedule-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .schedule-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .conference-schedule-section .section-title {
        font-size: 1.9rem;
        margin-bottom: 18px;
    }

    .conference-schedule-section .section-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .schedule-table-container {
        padding: 0 15px;
        margin: 30px 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow-x: auto;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    
    .schedule-table-wrapper {
        width: auto;
        border-radius: 8px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        max-width: calc(100vw - 30px);
    }

    .schedule-table {
        font-size: 0.65rem;
        min-width: 650px;
        border-radius: 8px;
        width: auto;
        margin: 0 auto;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
    }

    .schedule-table th {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .schedule-table strong {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .session-tag {
        font-size: 0.55rem;
        padding: 2px 5px;
        margin: 2px 0;
        border-radius: 3px;
    }

    .session-subtitle {
        font-size: 0.6rem;
        line-height: 1.2;
        margin-top: 3px;
    }

    .schedule-table i {
        font-size: 0.7rem;
        margin-right: 3px;
    }

    .parallel-session {
        line-height: 1.2;
    }

    .schedule-legend {
        padding: 0 15px;
    }

    .schedule-legend h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .legend-items {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 350px;
    }

    .legend-item {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .legend-color {
        width: 12px;
        height: 12px;
        margin-right: 8px;
        border-radius: 2px;
    }

    .schedule-cta {
        padding: 40px 15px;
        max-width: 500px;
    }

    .schedule-cta h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .schedule-cta p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .schedule-cta .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 280px;
    }

    .mobile-session-content .session-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .mobile-exhibition-note {
        padding: 6px 10px;
        margin-top: 10px;
        font-size: 0.7rem;
    }

    .mobile-exhibition-note i {
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .conference-schedule-section {
        background: #ffffff;
        color: #000000;
        padding: 20px 0;
    }
    
    .schedule-table {
        font-size: 0.8rem;
    }
    
    .schedule-cta,
    .schedule-legend {
        display: none;
    }
    
    .conference-schedule-section::before {
        display: none;
    }
}

/* Mobile Schedule Cards - New Mobile-First Layout */
.mobile-schedule-cards {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
    margin: 40px 0;
}

.mobile-schedule-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.mobile-schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(76, 175, 80, 0.2);
}

.mobile-time-header {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-time-header i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.mobile-session-content {
    padding: 20px;
    text-align: center;
}

.mobile-session-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

.mobile-session-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.mobile-session-content i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Mobile Exhibition Note */
.mobile-exhibition-note {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #2E7D32;
    font-weight: 500;
}

.mobile-exhibition-note i {
    font-size: 0.9rem;
    color: #4CAF50;
    opacity: 1;
    margin: 0;
}

.mobile-exhibition-note span {
    line-height: 1.3;
}

/* Session type styling for mobile cards */
.mobile-session-content.registration {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #ffffff;
}

.mobile-session-content.registration h4,
.mobile-session-content.registration p {
    color: #ffffff;
}

.mobile-session-content.opening {
    background: linear-gradient(135deg, #388E3C, #4CAF50);
    color: #ffffff;
}

.mobile-session-content.opening h4,
.mobile-session-content.opening p {
    color: #ffffff;
}

.mobile-session-content.break {
    background: linear-gradient(135deg, #424242, #616161);
    color: #ffffff;
}

.mobile-session-content.break h4,
.mobile-session-content.break p {
    color: #ffffff;
}

.mobile-session-content.lunch {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    color: #ffffff;
}

.mobile-session-content.lunch h4,
.mobile-session-content.lunch p {
    color: #ffffff;
}

.mobile-session-content.setup {
    background: linear-gradient(135deg, #616161, #757575);
    color: #ffffff;
}

.mobile-session-content.setup h4,
.mobile-session-content.setup p {
    color: #ffffff;
}

.mobile-session-content.dinner {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: #ffffff;
}

.mobile-session-content.dinner h4,
.mobile-session-content.dinner p {
    color: #ffffff;
}

.mobile-session-content.tech-session {
    border-left: 4px solid #2E7D32;
}

.mobile-session-content.climate-session {
    border-left: 4px solid #4CAF50;
}

.mobile-session-content.market-session {
    border-left: 4px solid #388E3C;
}

.mobile-session-content.parallel-session {
    background: rgba(76, 175, 80, 0.05);
    border-left: 4px solid #546E7A;
}

/* Multi-session card styling */
.mobile-schedule-card.multi-session .mobile-sessions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
}

.mobile-sessions-grid .mobile-session-content {
    padding: 15px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Session tags for mobile */
.mobile-session-content .session-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.session-subtitle {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 5px;
}

/* Responsive visibility controls */
.desktop-schedule {
    display: block;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .mobile-schedule-cards {
        display: flex;
    }
    
    .desktop-schedule {
        display: none;
    }
    
    .mobile-schedule-card {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }
    
    .mobile-time-header {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .mobile-session-content {
        padding: 16px;
    }
    
    .mobile-session-content h4 {
        font-size: 1rem;
    }
    
    .mobile-session-content p {
        font-size: 0.85rem;
    }
    
    .mobile-sessions-grid {
        gap: 12px;
    }
    
    .mobile-sessions-grid .mobile-session-content {
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-schedule-cards {
        padding: 0 10px;
        gap: 16px;
    }
    
    .mobile-schedule-card {
        max-width: 100%;
    }
    
    .mobile-time-header {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .mobile-session-content {
        padding: 14px;
    }
    
    .mobile-session-content h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .mobile-session-content p {
        font-size: 0.8rem;
    }
    
    .mobile-session-content i {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .mobile-session-content .session-tag {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .mobile-sessions-grid .mobile-session-content {
        padding: 12px;
    }

    .mobile-exhibition-note {
        padding: 6px 10px;
        margin-top: 10px;
        font-size: 0.7rem;
    }

    .mobile-exhibition-note i {
        font-size: 0.75rem;
    }
} 