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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 60vh;
    color: white;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%),
        url('images/oslo-city.jpg') center/cover no-repeat fixed;
    z-index: -1;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(46, 204, 113, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    opacity: 0.1;
    z-index: 2;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.conference-badge {
    display: inline-block;
    background: rgba(52, 152, 219, 0.9);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
}

.badge-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease forwards;
}

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    animation: fadeIn 1.2s ease forwards;
}

.conference-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-card .icon {
    font-size: 2rem;
}

.info-text {
    text-align: left;
}

.info-text .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.3rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .info-card {
        min-width: 100%;
        padding: 1.2rem;
    }
}

/* Section styles */
section {
    padding: 4rem 0;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Enhanced Organizers Section Styles */
.organizer-group {
    margin-bottom: 4rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.header-line {
    width: 60px;
    height: 3px;
    background: #3498db;
    margin: 0.5rem auto;
}

/* Enhanced Card Styles */
.organizer-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.8) 0%,
        rgba(46, 204, 113, 0.8) 100%
    );
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image:hover .profile-overlay {
    opacity: 1;
}

.profile-image:hover img {
    transform: scale(1.1);
}

/* Add this if you want a border effect */
.profile-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #3498db 0%,
        #2ecc71 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-image:hover::before {
    opacity: 1;
}

.profile-info {
    text-align: center;
}

.profile-info .name {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-info .affiliation {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.profile-info .email {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.profile-info .email:hover {
    color: #2980b9;
}

/* Specific Grid Layouts */
.general-chairs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tpc-chairs {
    max-width: 1200px;
    margin: 0 auto;
}

.row-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.first-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.publicity-chairs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .first-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto 2rem auto;
    }
    
    .second-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .second-row .organizer-card:last-child {
        grid-column: 1 / 3;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .first-row,
    .second-row {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .second-row .organizer-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .publicity-chairs {
        flex-direction: column;
        align-items: center;
    }
    
    .tpc-chairs {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
}

/* Animation Effects */
.organizer-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Staggered animations for cards */
.organizer-card:nth-child(1) { animation-delay: 0.1s; }
.organizer-card:nth-child(2) { animation-delay: 0.2s; }
.organizer-card:nth-child(3) { animation-delay: 0.3s; }
.organizer-card:nth-child(4) { animation-delay: 0.4s; }

/* Header and Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.ieee-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.workshop-title {
    transition: all 0.3s ease;
}

.workshop-title h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.workshop-title p {
    font-size: 1rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ieee-logo {
        height: 45px;
    }
    
    .workshop-title h1 {
        font-size: 1.6rem;
    }
    
    .workshop-title p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .logo-container {
        padding: 0.6rem 1rem;
        gap: 1rem;
    }
    
    .ieee-logo {
        height: 40px;
    }
    
    .workshop-title h1 {
        font-size: 1.4rem;
    }
    
    .workshop-title p {
        font-size: 0.8rem;
        max-width: 200px; /* Prevent text from getting too wide */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .logo-container {
        padding: 0.5rem 0.8rem;
        gap: 0.8rem;
    }
    
    .ieee-logo {
        height: 35px;
    }
    
    .workshop-title h1 {
        font-size: 1.2rem;
    }
    
    .workshop-title p {
        font-size: 0.75rem;
        max-width: 180px;
    }
}

/* Extra small phones */
/*@media (max-width: 360px) {
    .ieee-logo {
        height: 30px;
    }
    
    .workshop-title h1 {
        font-size: 1.1rem;
    }
    
    .workshop-title p {
        font-size: 0.7rem;
        max-width: 160px;
    }
}*/

@media (max-width: 450px) {
    .logo-container {
        padding: 0.2rem 0.5rem;
        gap: 0.2rem;
    }
    .ieee-logo {
        height: 20px;
    }
    
    .workshop-title h1 {
        font-size: 0.8rem;
    }
    
    .workshop-title p {
        font-size: 0.6rem;
        max-width: 100px;
    }
}

/* Scope and Topics Section */
.scope-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.scope-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    text-align: justify;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    padding: 2.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.topic-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.topic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52,152,219,0.1) 0%, rgba(46,204,113,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52,152,219,0.15);
}

.topic-card:hover::after {
    opacity: 1;
}

.topic-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.topic-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    padding: 1.2rem;
    background: rgba(52,152,219,0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.topic-card:hover .topic-icon {
    transform: scale(1.1) rotate(8deg);
    background: rgba(52,152,219,0.2);
}

.topic-card h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.topic-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.topic-card:hover h3::after {
    width: 80px;
}

.topic-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-content ul li {
    color: #34495e;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.topic-content .bullet {
    color: #3498db;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.topic-card:hover .topic-content ul li {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .topic-card h3 {
        font-size: 1.2rem;
    }
    
    .topic-content ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .topic-icon {
        font-size: 2.4rem;
        padding: 1rem;
    }
}

/* Enhanced Animation */
.topic-card {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.topic-card:nth-child(1) { animation-delay: 0.1s; }
.topic-card:nth-child(2) { animation-delay: 0.2s; }
.topic-card:nth-child(3) { animation-delay: 0.3s; }
.topic-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Responsive adjustments for General Co-chairs */
@media (max-width: 1200px) {
    .general-chairs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .general-chairs .organizer-card {
        flex: 0 0 calc(50% - 2rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .general-chairs .organizer-card {
        flex: 0 0 100%;
    }
}

/* Call for Papers Section */
.cfp-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.cfp-description {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.cfp-description p {
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

.important-dates {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.important-dates h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.important-dates ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-dates li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #34495e;
}

.important-dates li::before {
    content: "📅";
    position: absolute;
    left: 0;
    color: #3498db;
}

.submission-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.submission-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.submission-info p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

.submit-button .icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submit-button:hover .icon {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cfp-content {
        padding: 1rem;
    }

    .important-dates, 
    .submission-info {
        padding: 1.5rem;
    }

    .cfp-description p,
    .submission-info p {
        font-size: 1rem;
    }

    .important-dates h3,
    .submission-info h3 {
        font-size: 1.2rem;
    }
}

/* Specific scaling for Qihao Li's image */
.profile-image img[alt="Qihao Li"] {
    object-fit: cover;
    object-position: center 10%;  /* Adjust vertical position */
    transform: scale(1.0);  /* Slightly larger scale */
}

.profile-image:hover img[alt="Qihao Li"] {
    transform: scale(1.3);  /* Larger scale on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .conference-info {
        flex-direction: column;
        padding: 1.5rem;
    }

    .conference-info > div {
        font-size: 1rem;
    }
}

/* Base responsive settings */
:root {
    --header-height: 80px;
    --mobile-header-height: 70px;
}

/* Mobile-first navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: var(--mobile-header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--mobile-header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .logo-container {
        max-width: 70%;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .conference-info {
        flex-direction: column;
        padding: 1rem;
    }

    .info-card {
        width: 100%;
        padding: 1rem;
    }
}

/* Responsive Topics Grid */
@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .topic-card {
        padding: 1.5rem;
    }
}

/* Responsive Organizers Section */
@media (max-width: 1024px) {
    .organizer-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .organizer-cards {
        grid-template-columns: 1fr;
    }

    .organizer-card {
        padding: 1.5rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Responsive Call for Papers */
@media (max-width: 768px) {
    .cfp-content {
        padding: 1.5rem;
    }

    .important-dates ul {
        padding-left: 1rem;
    }

    .submission-info {
        text-align: center;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .topic-card:hover,
    .organizer-card:hover,
    .info-card:hover {
        transform: none;
    }

    .submit-button:active {
        transform: translateY(-2px);
    }
}

/* Font Size Adjustments for Mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Better Touch Targets */
@media (max-width: 768px) {
    nav ul li a,
    .submit-button,
    .info-card {
        padding: 0.8rem 1rem;
        min-height: 44px; /* Minimum touch target size */
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .logo-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .logo-container.hidden {
        transform: translateY(-100%);
    }

    /* Adjust header spacing when logo is hidden */
    header {
        padding-top: var(--mobile-header-height);
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .logo-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    .logo-container.scroll-hide {
        transform: translateY(-100%);
    }

    /* Hide elements individually */
    .logo-container.scroll-hide .ieee-logo,
    .logo-container.scroll-hide .workshop-title {
        opacity: 0;
        transform: translateY(-20px);
    }

    /* Adjust header spacing */
    header {
        padding-top: var(--mobile-header-height);
    }
}

.confirmed {
    font-size: 0.9em;
    color: #4CAF50;
    font-weight: bold;
}

.keynote-speakers {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Workshop Schedule Styles */
.schedule-container {
    margin: 30px 0;
}

.schedule-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4f46e5, #7c3aed);
    border-radius: 5px;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 120px;
    top: 15px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #4f46e5;
    transform: translateX(-50%);
}

.timeline-item.keynote::after {
    background-color: #FFC107;
    border-color: #FF9800;
}

.timeline-item.break::after {
    background-color: #4CAF50;
    border-color: #388E3C;
}

.timeline-item.closing::after {
    background-color: #F44336;
    border-color: #D32F2F;
}

.time-block {
    width: 120px;
    padding-right: 30px;
    text-align: right;
    flex-shrink: 0;
}

.time {
    font-weight: 600;
    font-size: 0.95rem;
    color: #6c757d;
}

.event-block {
    flex-grow: 1;
    padding-left: 30px;
    position: relative;
}

.event-title {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #2d3748;
}

.event-speaker {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
}

.timeline-item.keynote .event-title {
    color: #aa6107;
}

.timeline-item.break .event-title {
    color: #146c43;
}

.timeline-item.closing .event-title {
    color: #af3029;
}

.confirmed {
    color: #4CAF50;
    font-weight: 500;
    font-style: italic;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .schedule-timeline::before {
        left: 80px;
    }
    
    .timeline-item::after {
        left: 80px;
    }
    
    .time-block {
        width: 80px;
        padding-right: 20px;
    }
    
    .time {
        font-size: 0.85rem;
    }
    
    .event-block {
        padding-left: 25px;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-speaker {
        font-size: 0.85rem;
    }
}

