/* ==========================================
 * PAGE-SPECIFIC STYLES
 * Centralized CSS for all individual pages
 * ========================================== */

/* ----------------------------------
 * NEWS PAGE
 * ---------------------------------- */
.news-search-form {
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    overflow: hidden;
    background: white;
    border: 1px solid #eee;
}

.news-search-input {
    flex-grow: 1;
    border: none;
    padding: 18px 25px;
    font-size: 1.1rem;
    outline: none;
    color: #555;
}

.news-search-btn {
    background: var(--color-secondary);
    border: none;
    color: white;
    padding: 0 35px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.news-search-btn:hover {
    background: #d4a017;
}

.news-item.featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 2px dashed #eee;
}

@media (min-width: 992px) {
    .news-item.featured {
        grid-template-columns: 1.2fr 1fr;
    }
}

.news-item.featured .featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    aspect-ratio: 16/9;
    display: block;
}

.news-item.featured .news-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item.featured:hover .news-main-image {
    transform: scale(1.05);
}

.news-item.featured .news-text-content {
    padding: 10px;
}

.news-item.featured h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.3s;
}

.news-item.featured h2:hover {
    color: var(--color-secondary);
}

.news-meta-badge {
    display: inline-block;
    background: #f0f2f5;
    color: #555;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.news-meta-badge i {
    color: var(--color-secondary);
    margin-inline-end: 6px;
}

.news-content-preview {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.older-news-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.older-news-title::before {
    content: '';
    width: 6px;
    height: 30px;
    background: var(--color-secondary);
    border-radius: 3px;
    display: block;
}

.news-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--color-primary);
    line-height: 1.4;
    font-weight: 700;
}

.news-card-snippet {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.news-card-footer {
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.read-more-link {
    color: var(--color-secondary);
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ----------------------------------
 * REGISTRATION PAGE
 * ---------------------------------- */
.registration-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .registration-layout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.reg-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reg-card h2 {
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.deadline-item {
    background: #f8f9fc;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--color-secondary);
    transition: background 0.2s;
}

.deadline-item:hover {
    background: #eef2f6;
}

.deadline-item strong {
    color: #444;
    font-weight: 600;
}

.deadline-item span {
    font-weight: 700;
    color: var(--color-primary);
    background: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

/* ----------------------------------
 * FAQ PAGE
 * ---------------------------------- */
.help-hero {
    position: relative;
    height: 400px;
    background-color: var(--color-primary);
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), var(--hero-bg);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.help-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.help-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

.help-search-box {
    background: white;
    padding: 10px;
    border-radius: 50px;
    display: flex;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
}

.help-search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-radius: 40px;
    outline: none;
    color: #333;
}

.help-search-btn {
    background: var(--color-secondary);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.help-search-btn:hover {
    transform: scale(1.05);
}

.faq-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    background: white;
    user-select: none;
}

.faq-header:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    transition: all 0.3s;
}

.faq-card.active .faq-icon {
    transform: rotate(45deg);
    background: var(--color-secondary);
    color: white;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-body-content {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.7;
}

.help-cta {
    text-align: center;
    margin: 80px 0 40px;
    padding: 50px 20px;
    background: #f9fbfc;
    border-radius: 16px;
}

.help-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.help-cta p {
    color: #666;
    margin-bottom: 30px;
}

/* ----------------------------------
 * PROCEEDINGS PAGE
 * ---------------------------------- */
.paper-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.paper-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
    transform: translateY(-2px);
}

.paper-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background: #fdfdfd;
}

.paper-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.paper-info {
    flex-grow: 1;
}

.paper-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.4;
}

.paper-authors {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

.paper-authors strong {
    color: #444;
    font-style: normal;
}

.paper-meta-badge {
    background: #f0f2f5;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.paper-toggle-icon {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    flex-shrink: 0;
    transition: all 0.3s;
}

.paper-card.active .paper-toggle-icon {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: white;
}

.paper-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-top: 1px solid transparent;
}

.paper-card.active .paper-body {
    border-top-color: #eee;
}

.paper-content-inner {
    padding: 25px;
}

.abstract-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
}

.paper-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.doi-box {
    font-size: 0.95rem;
    color: #555;
}

.doi-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.doi-box a:hover {
    text-decoration: underline;
}

.proceedings-search-wrapper {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    background: #fff;
}

.proceedings-search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-size: 1.15rem;
    transition: all 0.3s;
    outline: none;
    color: #555;
}

[dir="rtl"] .proceedings-search-input {
    padding: 20px 30px 20px 60px;
}

.proceedings-search-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 5px rgba(0, 90, 156, 0.1);
}

.proceedings-search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 1.4rem;
}

[dir="rtl"] .proceedings-search-icon {
    right: auto;
    left: 25px;
}

/* ----------------------------------
 * PUBLICATION OPPORTUNITIES PAGE
 * ---------------------------------- */
.pub-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 50px;
    margin-bottom: 40px;
    border-top: 5px solid var(--color-secondary);
}

.journal-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.journal-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.journal-sidebar {
    width: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

[dir="rtl"] .journal-sidebar {
    border-right: none;
    border-left: 1px solid #eee;
}

.journal-logo {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s;
}

.journal-card:hover .journal-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.journal-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.journal-body h4 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.journal-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.journal-issn {
    color: #666;
    font-size: 0.9rem;
    background: #eef2f6;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 600;
}

@media (max-width: 768px) {
    .journal-card {
        flex-direction: column;
    }

    .journal-sidebar {
        width: 100%;
        height: 180px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .journal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .journal-meta .btn {
        width: 100%;
    }
}

/* ----------------------------------
 * COMMITTEES PAGE
 * ---------------------------------- */
.committee-members-grid {
    display: grid;
    gap: 25px;
    margin-top: 25px;
}

.committee-members-grid:not(.simple) {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.member-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.member-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    background: #fff;
}

.member-card .member-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #eee;
    flex-shrink: 0;
}

[dir="rtl"] .member-card .member-photo {
    margin-right: 0;
    margin-left: 15px;
}

.member-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 700;
}

.member-position {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9em;
    font-weight: 500;
}

.member-card-body {
    padding: 0 20px 20px;
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    border-top: 1px solid #f9f9f9;
    margin-top: auto;
    padding-top: 15px;
}

.committee-members-grid.simple {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.committee-members-grid.simple .member-card {
    flex-direction: row;
    align-items: center;
    padding: 15px;
    min-height: auto;
}

.committee-members-grid.simple .member-card-header {
    padding: 0;
    width: 100%;
}

.committee-description {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.committee-description h3 {
    color: #1a2b3c;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.committee-description p {
    color: #666;
    font-size: 1.05em;
    max-width: 800px;
}

.bio-content.hidden {
    display: none;
    padding-top: 10px;
}

.bio-content {
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.bio-toggle {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* ----------------------------------
 * PROGRAM SCHEDULE PAGE
 * ---------------------------------- */
.schedule-filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid #eee;
    background: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.schedule-day-block {
    margin-bottom: 50px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-day-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.schedule-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid #eee;
}

[dir="rtl"] .schedule-timeline {
    padding-left: 0;
    padding-right: 40px;
    border-left: none;
    border-right: 3px solid #eee;
}

.schedule-item {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    border-left: 4px solid var(--color-secondary);
    transition: all 0.3s;
}

[dir="rtl"] .schedule-item {
    border-left: 1px solid #f0f0f0;
    border-right: 4px solid var(--color-secondary);
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .schedule-item:hover {
    transform: translateX(-5px);
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--color-secondary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .schedule-item::before {
    left: auto;
    right: -50px;
}

.schedule-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f2f5;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
}

.schedule-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.schedule-speaker {
    color: #666;
    font-size: 0.95rem;
}

.schedule-item[data-type="keynote"] {
    border-left-color: #9b59b6;
}

.schedule-item[data-type="break"] {
    border-left-color: #27ae60;
    background: #f8fff8;
}

.schedule-item[data-type="workshop"] {
    border-left-color: #e67e22;
}

/* ----------------------------------
 * SPONSORSHIP PAGE
 * ---------------------------------- */
.sponsor-tier {
    margin-bottom: 60px;
}

.tier-header {
    text-align: center;
    margin-bottom: 35px;
}

.tier-header h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.tier-badge {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-badge.platinum {
    background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
    color: #333;
}

.tier-badge.gold {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #333;
}

.tier-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #333;
}

.tier-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: white;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.sponsor-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
}

.sponsor-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sponsor-logo-wrapper {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #fafafa;
}

.sponsor-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s;
}

.sponsor-card-modern:hover .sponsor-logo-wrapper img {
    filter: grayscale(0%);
}

.sponsor-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.sponsor-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.sponsor-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

/* ----------------------------------
 * SUBMISSION PAGE
 * ---------------------------------- */
.submission-form-container {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.file-input-wrapper {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    cursor: pointer;
}

.file-input-wrapper:hover {
    border-color: var(--color-secondary);
    background: #f5f8ff;
}

.file-input-wrapper i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.file-input-wrapper input[type="file"] {
    display: none;
}

.file-input-label {
    display: block;
    cursor: pointer;
}

/* ----------------------------------
 * FORMS (SHARED)
 * ---------------------------------- */
.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fcfcfc;
}

.form-control:focus {
    border-color: var(--color-secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 90, 156, 0.1);
    outline: none;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

/* ----------------------------------
 * UTILITY CLASSES
 * ---------------------------------- */
.fees-section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
}

.table-responsive {
    overflow-x: auto;
}

.fee-highlight {
    color: var(--color-secondary);
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

[dir='rtl'] .select-icon {
    right: auto;
    left: 15px;
}

.form-note {
    margin-top: 25px;
    font-size: 0.9em;
    color: #888;
    text-align: center;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.faq-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-control-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
}

.faq-control-btn.secondary {
    color: #777;
}

.no-results-state {
    display: none;
    text-align: center;
    padding: 40px;
    color: #777;
}

.no-results-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state {
    text-align: center;
    padding: 60px;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
}

.empty-state p {
    margin-top: 20px;
    color: #777;
}

.paper-meta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.abstract-title {
    margin: 0 0 10px;
    color: #333;
}

.committee-section {
    margin-bottom: 50px;
}

/* ----------------------------------
 * SPEAKERS PAGE
 * ---------------------------------- */
.speakers-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
    align-items: start;
}

.speaker-card-detailed {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.speaker-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.speaker-photo-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speaker-photo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.speaker-photo-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.speaker-card-detailed:hover .speaker-photo-large {
    transform: scale(1.05);
}

.speaker-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speaker-info h2 {
    font-size: 1.5rem;
    margin: 0 0 5px;
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
}

.speaker-affiliation-large {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.bio-toggle-btn {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-toggle-btn:hover {
    background: var(--color-secondary);
    color: white;
}

.bio-full-text {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    text-align: left;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

[dir="rtl"] .bio-full-text {
    text-align: right;
}

.bio-full-text.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

.speakers-search-wrapper {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    background: #fff;
}

.speakers-search-wrapper input {
    width: 100%;
    padding: 18px 50px 18px 25px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 1.15rem;
    transition: all 0.3s;
    outline: none;
    color: #555;
}

[dir="rtl"] .speakers-search-wrapper input {
    padding: 18px 25px 18px 50px;
}

.speakers-search-wrapper input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 5px rgba(0, 90, 156, 0.1);
}

.speakers-search-wrapper i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1.4rem;
    opacity: 0.7;
}

[dir="rtl"] .speakers-search-wrapper i {
    right: auto;
    left: 25px;
}

@media (max-width: 768px) {
    .speakers-grid-detailed {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ----------------------------------
 * PROGRAM SCHEDULE PAGE
 * ---------------------------------- */
.schedule-filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #555;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 90, 156, 0.3);
}

.schedule-day-block {
    display: none;
    margin-bottom: 60px;
}

.schedule-day-block.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.day-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.day-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.schedule-timeline {
    position: relative;
    padding-left: 50px;
    border-left: 3px solid #eef2f6;
}

[dir="rtl"] .schedule-timeline {
    padding-left: 0;
    padding-right: 50px;
    border-left: none;
    border-right: 3px solid #eef2f6;
}

.schedule-item {
    position: relative;
    margin-bottom: 35px;
    padding: 30px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    border-left: 5px solid var(--color-primary);
}

.schedule-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 35px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid var(--color-secondary);
    z-index: 2;
    box-shadow: 0 0 0 4px #eef2f6;
}

[dir="rtl"] .schedule-item::before {
    left: auto;
    right: -60px;
}

.schedule-time {
    font-weight: 700;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 30px;
}

.schedule-title {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin: 10px 0 15px;
    font-weight: 700;
}

.schedule-details p {
    margin: 8px 0;
    color: #555;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.icon-left {
    margin-right: 12px;
    color: var(--color-secondary);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

[dir="rtl"] .icon-left {
    margin-right: 0;
    margin-left: 12px;
}

.schedule-item[data-session-type="keynote"] {
    border-left-color: #f1c40f;
}

.schedule-item[data-session-type="keynote"]::before {
    border-color: #f1c40f;
}

.schedule-item[data-session-type="break"] {
    border-left-color: #27ae60;
}

.schedule-item[data-session-type="break"]::before {
    border-color: #27ae60;
}

.schedule-item[data-session-type="panel"] {
    border-left-color: #8e44ad;
}

.schedule-item[data-session-type="panel"]::before {
    border-color: #8e44ad;
}

/* ----------------------------------
 * SPONSORSHIP PAGE
 * ---------------------------------- */
.sponsorship-intro-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sponsor-tier-group {
    margin-bottom: 50px;
}

.tier-title {
    color: #444;
    margin-bottom: 25px;
    font-size: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-title i {
    color: var(--color-accent);
}

.tier-platinum .tier-title i {
    color: #e5e4e2;
}

.tier-gold .tier-title i {
    color: #ffd700;
}

.tier-silver .tier-title i {
    color: #c0c0c0;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.sponsor-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

.sponsor-logo-area {
    height: 180px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.sponsor-logo-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s;
}

.sponsor-card:hover .sponsor-logo-area img {
    filter: grayscale(0%);
}

.sponsor-name {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
    border-top: 1px solid #eee;
}

/* ----------------------------------
 * SUBMISSION PAGE
 * ---------------------------------- */
.submission-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
}

.file-input-wrapper {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: border-color 0.3s;
    background: #f9f9f9;
    position: relative;
}

.file-input-wrapper:hover {
    border-color: var(--color-primary);
    background: #f0f7ff;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.01;
    /* Ensure browser considers it visible for validation focus */
    cursor: pointer;
    z-index: 10;
}

.file-input-label {
    color: #555;
    font-weight: 500;
    pointer-events: none;
}

.file-input-label i {
    display: block;
    font-size: 2rem;
    color: #aaa;
    margin-bottom: 10px;
}

.sponsor-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.sponsor-card:hover .sponsor-logo-img {
    transform: scale(1.05);
}

.sponsor-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsor-name {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sponsor-link {
    display: inline-block;
    margin-top: auto;
}

/* ----------------------------------
 * CALL FOR PAPERS PAGE
 * ---------------------------------- */
.cfp-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .cfp-container {
        grid-template-columns: 2fr 1fr;
    }
}

.cfp-content-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 40px;
    position: relative;
    border-top: 4px solid var(--color-secondary);
}

.cfp-content-text ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.cfp-content-text ul li {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 3px solid var(--color-accent);
    transition: transform 0.2s, background 0.2s;
    font-weight: 500;
    color: #333;
}

.cfp-content-text ul li:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[dir="rtl"] .cfp-content-text ul li {
    border-left: none;
    border-right: 3px solid var(--color-accent);
}

[dir="rtl"] .cfp-content-text ul li:hover {
    transform: translateX(-5px);
}

.cfp-sidebar-card {
    position: sticky;
    top: 120px;
    background: #0f2438;
    color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cfp-sidebar-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cfp-sidebar-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.cfp-sidebar-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-block;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cfp-guidelines-btn {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ----------------------------------
 * NEWS DETAIL PAGE
 * ---------------------------------- */
.news-detail-meta {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
}

.news-detail-meta i {
    color: var(--color-secondary);
    margin-right: 8px;
}

[dir="rtl"] .news-detail-meta i {
    margin-right: 0;
    margin-left: 8px;
}

.news-detail-container {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    margin-top: -80px;
}

.news-article-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 50px;
    border: 1px solid #f0f0f0;
}

.news-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.news-body p {
    margin-bottom: 25px;
}

.news-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f5f5f5;
}

.share-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: white;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.email {
    background: #555;
}

.back-nav {
    margin-bottom: 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 30px;
    transition: background 0.3s;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.8rem;
    }

    .news-article-card {
        padding: 30px;
    }
}

/* ----------------------------------
 * AIMS PAGE
 * ---------------------------------- */
.aims-content-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.aims-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.aims-text {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.9;
}

.aims-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.aims-text ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

[dir="rtl"] .aims-text ul li {
    padding-left: 0;
    padding-right: 35px;
}

.aims-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--color-success);
    font-size: 1.2rem;
}

[dir="rtl"] .aims-text ul li::before {
    left: auto;
    right: 0;
}

/* ----------------------------------
 * ABOUT PAGES (CITY/UNIVERSITY)
 * ---------------------------------- */
.city-content-wrapper,
.uni-content-wrapper,
.content-block-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 40px;
    margin-bottom: 50px;
    border-left: 5px solid var(--color-accent);
}

.city-intro-text,
.uni-intro-text,
.text-intro-large {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.city-gallery-section {
    margin-bottom: 50px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}

.gallery-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ----------------------------------
 * ACCESSIBILITY STYLES
 * ---------------------------------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    border-bottom-right-radius: 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

.gallery-card:hover .gallery-image-container img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.gallery-icon-circle i {
    color: white;
    font-size: 1.2rem;
}

.gallery-caption {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.gallery-caption h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uni-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.uni-stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.uni-stat-item:hover {
    transform: translateY(-5px);
    background: #eef2f6;
}

.uni-stat-item i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.uni-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.uni-stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 36, 56, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ----------------------------------
 * SUBMISSION GUIDELINES PAGE
 * ---------------------------------- */
.guidelines-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.guidelines-card {
    order: 1;
}

.guidelines-sidebar {
    order: 2;
}

@media (min-width: 992px) {
    .guidelines-container {
        grid-template-columns: 2fr 1fr;
    }

    .guidelines-card {
        grid-column: 1;
        min-width: 0;
        order: unset;
    }

    .guidelines-sidebar {
        grid-column: 2;
        min-width: 0;
        grid-row: 1;
        order: unset;
    }
}

.guidelines-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 50px;
    position: relative;
    border-top: 5px solid var(--color-secondary);
}

.guidelines-text h2,
.guidelines-text h3 {
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 12px;
    font-weight: 700;
    position: relative;
}

.guidelines-text h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
}

[dir="rtl"] .guidelines-text h2::after {
    left: auto;
    right: 0;
}

.guidelines-text ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.guidelines-text ul li {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #eef2f6;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
    font-weight: 500;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 15px;
}

.guidelines-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-accent);
    font-size: 1.1em;
    opacity: 0.7;
}

.guidelines-text ul li:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

[dir="rtl"] .guidelines-text ul li {
    border-left: none;
    border-right: 4px solid var(--color-accent);
}

.guidelines-text ol {
    counter-reset: guideline-counter;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.guidelines-text ol li {
    position: relative;
    padding: 15px 0 15px 50px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    color: #555;
}

[dir="rtl"] .guidelines-text ol li {
    padding: 15px 50px 15px 0;
}

.guidelines-text ol li::before {
    counter-increment: guideline-counter;
    content: counter(guideline-counter);
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-secondary), #2980b9);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .guidelines-text ol li::before {
    left: auto;
    right: 0;
}

.guidelines-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-widget {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-top: 5px solid var(--color-primary);
}

.timeline-header {
    margin-bottom: 25px;
}

.timeline-header h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.t-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    padding-bottom: 30px;
}

.t-step:last-child {
    padding-bottom: 0;
}

.t-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

[dir="rtl"] .t-step:not(:last-child)::after {
    left: auto;
    right: 20px;
}

.t-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px #fff;
}

.t-content {
    padding-top: 5px;
}

.t-content h4 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: var(--color-primary);
    font-weight: 700;
}

.t-date {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    display: inline-block;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.register-cta-card {
    background: linear-gradient(135deg, #0f2438 0%, #1a3c5e 100%);
    color: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(15, 36, 56, 0.25);
    position: relative;
    overflow: hidden;
}

.register-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.register-cta-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.register-cta-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.download-card {
    margin-top: 50px;
    background: #f8f9fc;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e1e8ed;
}

.download-card h4 {
    color: var(--color-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.file-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.file-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--color-secondary);
}

.file-icon {
    width: 50px;
    height: 50px;
    background: rgba(236, 240, 241, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--color-secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.file-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.file-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.file-type {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-type::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #bdc3c7;
    border-radius: 50%;
}

.cta-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent);
    display: block;
}

.download-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.file-icon-green {
    color: #27ae60 !important;
    background: rgba(39, 174, 96, 0.1) !important;
}

/* ----------------------------------
 * 404 ERROR PAGE
 * ---------------------------------- */
.error-page-hero {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.error-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
}

.error-actions .btn.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.error-actions .btn.secondary:hover {
    background: var(--color-primary);
    color: white;
}

.error-suggestions {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.error-suggestions h3 {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    font-weight: 600;
}

.suggestion-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.suggestion-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #f8f9fc;
    border-radius: 10px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
}

.suggestion-links li a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.suggestion-links li a i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.suggestion-links li a:hover i {
    color: white;
}

.h-400 {
    height: 400px !important;
}

.mw-900 {
    max-width: 900px !important;
}

@media (max-width: 600px) {
    .error-code {
        font-size: 5rem;
    }

    .error-content {
        padding: 40px 25px;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .suggestion-links {
        grid-template-columns: 1fr;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------
 * UTILITY CLASSES
 * ---------------------------------- */
.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.w-full {
    width: 100% !important;
}

.d-block {
    display: block !important;
}

.border-0 {
    border: 0 !important;
}

.rounded-16 {
    border-radius: 16px !important;
}

.muted-text {
    color: #666 !important;
}

.white-text-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ----------------------------------
 * INDEX PAGE SPECIFICS
 * ---------------------------------- */
.slideshow-placeholder {
    width: 100%;
    height: 70vh;
    background: linear-gradient(135deg, #003366 0%, #005a9c 100%);
}

.map-iframe {
    border: 0;
    border-radius: 16px;
}

.no-decoration {
    text-decoration: none !important;
}

.p-40 {
    padding: 40px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.page-overlap-margin {
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

.mt-15 {
    margin-top: 15px !important;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.fs-3rem {
    font-size: 3rem !important;
}

.news-empty-icon {
    font-size: 3rem !important;
    opacity: 0.5 !important;
    margin-bottom: 20px !important;
}

/* Speakers Search Styles */
.speakers-search-card {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.speakers-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.speakers-search-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.speakers-search-wrapper input:focus {
    box-shadow: 0 8px 25px rgba(0, 193, 213, 0.15);
    border-color: var(--color-primary);
    outline: none;
}

.speakers-search-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1.2rem;
}

[dir="rtl"] .speakers-search-wrapper input {
    padding: 15px 25px 15px 50px;
}

[dir="rtl"] .speakers-search-wrapper i {
    right: auto;
    left: 20px;
}