/* ============================================
   ICAMCFD 2026 - Modern Professional Conference Website
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#wrapper {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* ============================================
   HEADER - With visible background image
   ============================================ */
#header {
    background: #8c55ff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url(../images/header_logo.jpeg); */
    background-repeat: no-repeat;
    /* background-position: center center; */
    background-size: contain;
    opacity: 1;
}

#logo {
    width: 100%;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* #logo {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

#logo img {
    position: relative;
    z-index: 2;
    max-height: 100px;
    width: auto;
} */

/* ============================================
   NAVIGATION
   ============================================ */
#cssmenu {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#cssmenu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

#cssmenu > ul > li {
    position: relative;
}

#cssmenu > ul > li > a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

#cssmenu > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #f39c12;
}

/* Dropdown */
#cssmenu ul li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#cssmenu ul li:hover > ul {
    display: block;
}

#cssmenu ul li > ul li a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#cssmenu ul li > ul li a:hover {
    background: #f39c12;
    padding-left: 25px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    gap: 30px;
}

#main {
    flex: 1;
    min-width: 0; /* Prevent overflow */
}

/* ============================================
   SIDEBAR
   ============================================ */
#sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ============================================
   CARDS & SECTIONS
   ============================================ */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* ============================================
   IMPORTANT DATES
   ============================================ */
.dates-list {
    list-style: none;
}

.dates-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.dates-list li:last-child {
    border-bottom: none;
}

.dates-list .date-label {
    flex: 1;
    font-weight: 500;
    color: #555;
}

.dates-list .date-value {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.dates-list .date-value.highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
}

/* ============================================
   QUICK LINKS
   ============================================ */
.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid #1e3c72;
}

.quick-links a:hover {
    background: #1e3c72;
    color: white;
    transform: translateX(5px);
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
    text-align: center;
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555;
}

.contact-info a {
    color: #1e3c72;
    font-weight: 600;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section-title {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 25px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.content-box {
    background: #fff;
    padding: 25px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content-box p {
    margin-bottom: 15px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-box strong {
    color: #0c10da;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-top: 4px solid #f39c12;
}

footer p {
    margin: 8px 0;
    opacity: 0.9;
}

footer a {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

table th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

table tr:hover {
    background: #f8f9fa;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    #sidebar {
        width: 100%;
    }
    
    #cssmenu ul {
        flex-direction: column;
    }
    
    #cssmenu > ul > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #cssmenu ul li > ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    #wrapper {
        margin: 0;
        border-radius: 0;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .card-header {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .dates-list .date-value {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

/* Slider */
.card .nivoSlider {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

#article-list {
    width: 100%;
}

#articles-wrapper {
    padding: 20px;
}

.alist-nav2 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.fieldset {
    border: none;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}

.article {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
}

.article h2, 
.article h3 {
    color: #1e3c72;
    margin-bottom: 10px;
}

.article a.readmore {
    color: #f39c12;
    font-weight: 600;
    text-decoration: none;
}

.article a.readmore:hover {
    text-decoration: underline;
}

/* Sidebar compatibility */
.sidebar-style {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
}

.sidebar-nav {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-content {
    padding: 20px;
}

/* Date styling */
td.ee-date p {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

td.ee-newdate p {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
}

p.ee-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

/* Quick links list */
#shared ol {
    list-style: none;
    padding: 0;
}

#shared ol li {
    margin-bottom: 10px;
}

#shared ol li a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#shared ol li a:hover {
    background: #1e3c72;
    color: white;
    transform: translateX(5px);
}

