/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
h1 {
    margin: 0;
    font-size: 2.5rem;
}

h2 {
    color: #005792;
    border-bottom: 2px solid #005792;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 {
    color: #00334e;
}

a {
    text-decoration: none;
    color: #005792;
    transition: color 0.3s;
}

a:hover {
    color: #00334e;
}

/* Header */
header {
    background: linear-gradient(to right, #005792, #00334e);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0;
}

.header-subtitle {
    color: white !important;
    border-bottom: none !important;
}

.venue-date {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Navigation */
nav {
    background-color: #00334e;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li {
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s;
}

.nav-list li a:hover {
    background-color: #005792;
}

.mobile-menu-btn {
    display: none;
    background-color: #00334e;
    color: white;
    border: none;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn:after {
    content: "☰";
    float: right;
    font-size: 24px;
}

.mobile-menu-btn.active:after {
    content: "✕";
}

/* Content Sections */
.section-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.committee-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.ieee-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.track {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.track h3 {
    margin-top: 0;
}

.track ul, .section-content ul {
    list-style-type: square;
    columns: 2;
    column-gap: 40px;
}

.important-dates {
    background-color: #f0f7ff;
    border-left: 4px solid #005792;
}

.tba {
    font-style: italic;
    color: #666;
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.call-for-papers {
    background-color: #00334e;
    color: white;
    padding: 25px;
    border-radius: 5px;
    margin-top: 30px;
}

.call-for-papers h2 {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.contact {
    background-color: #005792;
    color: white;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.contact a {
    color: #a3e0ff;
}

.contact h2 {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background-color: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .track ul, .section-content ul {
        columns: 1;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #00334e;
        position: absolute;
        top: 100%;
        left: 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-list.show {
        display: flex;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list li a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }

    nav {
        position: relative;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 20px 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}











/* Add to styles.css */
#sponsors {
    padding: 40px 0;
    background: #f8f9fa;
}

.sponsor-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-track {
    display: flex;
    animation: scroll 10s linear infinite;
    padding: 20px 0;
}

.sponsor-logo {
    flex: 0 0 200px;
    margin: 0 40px;
    display: grid;
    place-items: center;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
}

.sponsor-logo img {
    max-width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.sponsor-carousel:hover .sponsor-track {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sponsor-logo {
        flex: 0 0 140px;
        margin: 0 20px;
    }
    
    .sponsor-logo img {
        max-width: 100px;
    }
    
    .sponsor-track {
        animation-duration: 25s;
    }
}


/* Important Dates styling */
.date-entries {
    padding: 20px 0;
}

.date-entry {
    margin: 15px 0;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.date-label {
    color: #005792;
    font-weight: 600;
}

.date-entry strong {
    color: #00334e;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .date-entry {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .date-entry strong {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Guidelines Styling */
.guideline-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.guideline-section h3 {
    color: #005792;
    margin-top: 0;
    border-bottom: 2px solid #f0f7ff;
    padding-bottom: 10px;
}

.guideline-section ol,
.guideline-section ul {
    padding-left: 20px;
}

.guideline-section li {
    margin-bottom: 10px;
}

.official-requirements {
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f7ff;
    border-left: 4px solid #005792;
}

@media (max-width: 768px) {
    .guideline-section {
        padding: 15px;
    }
    
    .guideline-section h3 {
        font-size: 1.2rem;
    }
}



/* Navigation improvements */
.nav-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scrolling on smaller screens */
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    padding: 0;
    width: 100%;
    justify-content: space-between; /* Distribute items evenly */
}

/* Hide scrollbar visually while keeping functionality */
.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list li {
    flex: 1; /* Make each list item take equal space */
    text-align: center; /* Center the text inside each item */
}

.nav-list li a {
    padding: 15px 8px; /* Further reduce horizontal padding */
    font-size: 0.95rem; /* Slightly reduce font size */
    white-space: nowrap; /* Prevent text wrapping */
    display: block; /* Make the link take up the full list item */
}

/* Make navigation container full width */
nav .container {
    max-width: 100%;
    padding: 0;
}

/* For tablet and larger devices */
@media (min-width: 768px) and (max-width: 1200px) {
    .nav-list li a {
        padding: 15px 10px; /* Further reduce padding on medium screens */
    }
}

/* Medium screen adjustments */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-list li a {
        font-size: 0.9rem; /* Further reduce font size on medium screens */
    }
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-list li {
        flex: none;
        width: 100%;
    }
    
    .nav-list li a {
        padding: 15px;
        text-align: center;
    }
}


/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #005792;
    color: white;
    padding: 12px 25px;
    margin: 15px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 51, 78, 0.2);
}

.cta-button:hover {
    background-color: #00334e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 51, 78, 0.3);
}

.small-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

