/* Reset body margins to allow full-width slideshow */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0; /* Remove padding from body */
    max-width: 100%; /* Change from 900px to 100% */
}

/* Container for centered content only */
.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding only to content */
    box-sizing: border-box;
}

/* FULL WIDTH Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100vw; /* Full viewport width */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 600px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

/* Dark overlay for text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

/* FULL WIDTH Navigation positioned over the slideshow */
.nav-over-slideshow {
    position: relative;
    z-index: 10;
    width: 100vw; /* Full viewport width */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    margin-top: -70px;
}

.nav-over-slideshow nav {
    margin-bottom: 0;
    max-width: 900px; /* Limit nav width */
    margin: 0 auto; /* Center nav within full-width container */
    padding: 0 20px; /* Add some side padding */
    box-sizing: border-box;
}

.nav-over-slideshow ul {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px;
    margin: 0;
}

.nav-over-slideshow nav a {
    color: #0066cc;
    font-weight: bold;
}

/* Title positioned over the slideshow */
.slideshow-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 900px; /* Limit title width */
    padding: 0 20px;
    box-sizing: border-box;
}

.slideshow-title h1 {
    font-size: 5em;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.slideshow-title h2 {
    font-size: 2em;
    color: white;
    margin: 10px 0 0 0;
    font-weight: normal;
}

/* Language switch over slideshow */
.language-switch-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
}

.language-switch-overlay button {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.language-switch-overlay button.active {
    background-color: #0066cc;
    color: white;
}

/* Navigation adjustments */
nav {
    text-align: center;
    margin-bottom: 2em;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: transparent;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Content below slideshow */
.content-below {
    margin-top: 40px;
}

/* Keep existing styles for headings, paragraphs, forms, etc. */
h1 {
    font-size: 4em;
    text-align: center;
    margin-bottom: 0.5em;
    color: #1a1a1a;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin: 1em 0;
    color: #444;
}

h3 {
    font-size: 1.8em;
    margin-top: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5em;
}

p {
    font-size: 1.1em;
    text-align: justify;
}

.language-switch {
    margin-bottom: 1em;
}

.language-switch button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.language-switch button.active {
    background-color: #0066cc;
    color: white;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-top: 1em;
}

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 0.5em;
}

form button {
    margin-top: 1em;
    padding: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] ul {
    padding-right: 0;
    padding-left: 40px;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.link-item {
    display: block; /* Ensures each link takes full width */
    width: 100%; /* Full width */
    margin-bottom: 15px; /* Space between items */
    float: none; /* Remove any floating */
    clear: both; /* Prevent wrapping */
}

/* Collaborative Entities Styles */
.collaborative-entities {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #0066cc;
    border-bottom: 2px solid #0066cc;
    text-align: center;

}

.collaborative-entities h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0066cc;
    font-size: 2.2em;
}

.entities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.entity-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.entity-card1 {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    width: 100%; /* Full width */
    height: 100%;
    display: flex;
    flex-direction: column;
}


.entity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.entity-logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.entity-logo img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.entity-card:hover .entity-logo img {
    transform: scale(1.05);
}

.entity-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.entity-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 1.4em;
    min-height: 60px;
}

.entity-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

.entity-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.entity-link:hover {
    color: #004080;
    text-decoration: underline;
}

/* News Section Styles */
.news-section {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.news-section h2 {
    text-align: left;
    margin-bottom: 20px;
    color: #0066cc;
}

.news-item {
    margin-bottom: 20px;
}

.news-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.news-item p {
    margin-bottom: 15px;
}

/* RTL adjustments for Arabic */
[dir="rtl"] .entity-link {
    text-align: left;
}

[dir="rtl"] .news-section {
    border-left: none;
    border-right: 4px solid #0066cc;
}

[dir="rtl"] .news-section h2 {
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .entities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .entities-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .entity-logo {
        height: 160px;
        padding: 20px;
    }
    
    .entity-logo img {
        max-height: 120px;
    }
    
    .entity-info {
        padding: 20px;
    }
    
    .collaborative-entities h2 {
        font-size: 1.8em;
    }
    
    .news-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .entity-logo {
        height: 140px;
    }
    
    .entity-logo img {
        max-height: 100px;
    }
    
    .entity-info h3 {
        font-size: 1.2em;
        min-height: auto;
    }
}

/* RTL adjustments for Arabic */
[dir="rtl"] .entity-link {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .news-section {
    border-left: none;
    border-right: 4px solid #0066cc;
}

[dir="rtl"] .news-section h2 {
    text-align: right;
}

/* Ensure proper text alignment for RTL */
[dir="rtl"] .entity-info h3,
[dir="rtl"] .entity-description,
[dir="rtl"] .news-item h3,
[dir="rtl"] .news-item p {
    text-align: right;
}

/* Adjust arrow direction for RTL links */
[dir="rtl"] .entity-link::after {
    content: " ←";
    margin-left: 0;
    margin-right: 5px;
}

.entity-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.entity-link::after {
    content: " →";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.entity-link:hover::after {
    transform: translateX(3px);
}

[dir="rtl"] .entity-link:hover::after {
    transform: translateX(-3px);
}

/* Fix for entity link arrows in RTL */
.entity-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
    transition: color 0.3s ease;
    position: relative;
}

/* English links */
.entity-link:not([dir="rtl"])::after {
    content: " →";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.entity-link:not([dir="rtl"]):hover::after {
    transform: translateX(3px);
}

/* Arabic links */
[dir="rtl"] .entity-link::before {
    content: "← ";
    margin-right: 5px;
    transition: transform 0.3s ease;
}

[dir="rtl"] .entity-link:hover::before {
    transform: translateX(-3px);
}

.entity-link:hover {
    color: #004080;
}

/* Ensure proper text alignment for Arabic */
[dir="rtl"] .entity-info h3,
[dir="rtl"] .entity-description,
[dir="rtl"] .entity-link,
[dir="rtl"] .news-item h3,
[dir="rtl"] .news-item p,
[dir="rtl"] .collaborative-entities h2,
[dir="rtl"] .news-section h2 {
    text-align: center;
}

/* Arabic paragraphs should be right-aligned */
[dir="rtl"] p {
    text-align: justify;
}

/* Academic Participants Styles */
.academic-participants {
    margin: 50px 0;
    padding: 30px 0;
}

.academic-participants h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0066cc;
    font-size: 2.2em;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0 auto;
}

.participant-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.participant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.participant-photo {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.participant-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.participant-card:hover .participant-photo img {
    transform: scale(1.05);
}

.participant-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.participant-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 1.2em;
    min-height: 60px;
}

.participant-major {
    margin: 0 0 10px 0;
    color: #0066cc;
    font-weight: 600;
    font-size: 0.95em;
}

.participant-role {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    flex-grow: 1;
}

/* RTL adjustments for Arabic */
[dir="rtl"] .participant-info h3,
[dir="rtl"] .participant-major,
[dir="rtl"] .participant-role,
[dir="rtl"] .academic-participants h2 {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .participants-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .participants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .participant-photo {
        height: 180px;
    }
    
    .participant-info h3 {
        font-size: 1.1em;
        min-height: 50px;
    }
}

@media (max-width: 600px) {
    .participants-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .participant-photo {
        height: 220px;
    }
    
    .participant-info {
        padding: 15px;
    }
    
    .academic-participants h2 {
        font-size: 1.8em;
    }
}

/* Remove old news section styles */
.news-section,
.news-item {
    display: none;
}

/* =========================================== */
/* ACTIVITIES PAGE STYLES - Added for Ishtar Light Workshop */
/* =========================================== */

.activity-card {
    background-color: #f9f9f9;
    border-left: 4px solid #8a2be2;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.activity-card h3 {
    color: #5a189a;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.workshop-details {
    margin-top: 20px;
}

.workshop-details h4 {
    color: #7b2cbf;
    margin: 15px 0 10px 0;
}

.workshop-details ul {
    margin: 10px 0 10px 20px;
}

.workshop-details ul ul {
    margin: 5px 0 5px 20px;
    font-size: 0.95em;
}

.join-button {
    display: inline-block;
    background-color: #5a189a;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 0;
    transition: background-color 0.3s;
}

.join-button:hover {
    background-color: #7b2cbf;
}

.organizers {
    background-color: #f0e6ff;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.contact-info {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 20px;
}

.activity-placeholder {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #666;
    margin-top: 40px;
}

/* RTL support for Arabic version */
#content-ar .activity-card {
    border-left: none;
    border-right: 4px solid #8a2be2;
    border-radius: 8px 0 0 8px;
}

#content-ar .workshop-details ul {
    margin: 10px 20px 10px 0;
}

#content-ar .workshop-details ul ul {
    margin: 5px 20px 5px 0;
}

/* Responsive adjustments for activities */
@media (max-width: 768px) {
    .activity-card {
        padding: 15px;
    }
    
    .activity-card h3 {
        font-size: 1.5em;
    }
    
    .workshop-details h4 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 12px;
    }
    
    .activity-card h3 {
        font-size: 1.3em;
    }
    
    .join-button {
        display: block;
        text-align: center;
        padding: 12px 15px;
    }
}

/* =========================================== */
/* ACTIVITIES PAGE STYLES - Added for Ishtar Light Workshop */
/* =========================================== */

.activity-card {
    background-color: #f9f9f9;
    border-left: 4px solid #8a2be2;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.activity-card h3 {
    color: #5a189a;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.workshop-details {
    margin-top: 20px;
}

.workshop-details h4 {
    color: #7b2cbf;
    margin: 15px 0 10px 0;
}

.workshop-details ul {
    margin: 10px 0 10px 20px;
}

.workshop-details ul ul {
    margin: 5px 0 5px 20px;
    font-size: 0.95em;
}

/* Removed join-button styles since event is in the past */

.organizers {
    background-color: #f0e6ff;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.contact-info {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 20px;
}

.activity-placeholder {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #666;
    margin-top: 40px;
}

/* PDF Images Section */
.pdf-images-section {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.pdf-images-section h4 {
    color: #5a189a;
    margin-bottom: 20px;
    text-align: center;
}

.pdf-images-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pdf-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

.pdf-image-caption {
    padding: 10px 15px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    background-color: #f8f8f8;
}

/* RTL support for Arabic version */
#content-ar .activity-card {
    border-left: none;
    border-right: 4px solid #8a2be2;
    border-radius: 8px 0 0 8px;
}

#content-ar .workshop-details ul {
    margin: 10px 20px 10px 0;
}

#content-ar .workshop-details ul ul {
    margin: 5px 20px 5px 0;
}

#content-ar .pdf-images-section h4 {
    text-align: center;
}

/* Responsive adjustments for activities */
@media (max-width: 768px) {
    .activity-card {
        padding: 15px;
    }
    
    .activity-card h3 {
        font-size: 1.5em;
    }
    
    .workshop-details h4 {
        font-size: 1.2em;
    }
    
    .pdf-image {
        min-width: 100%;
    }
    
    .pdf-images-container {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 12px;
    }
    
    .activity-card h3 {
        font-size: 1.3em;
    }
    
    .pdf-images-container {
        gap: 10px;
    }
}

/* =========================================== */
/* ENHANCED ACTIVITIES PAGE STYLES */
/* =========================================== */

/* Activities page specific slideshow */
.activity-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-top: 5px solid #8a2be2;
}

.activity-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.activity-header h3 {
    color: #5a189a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    line-height: 1.4;
    border-bottom: none;
    padding-bottom: 0;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95em;
    color: #666;
}

.activity-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshop-details {
    margin-top: 25px;
}

.activity-description {
    margin-bottom: 30px;
}

.activity-description h4,
.agenda-section h4,
.organizers-section h4,
.pdf-images-section h4 {
    color: #7b2cbf;
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.agenda-grid {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.agenda-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #ccc;
}

.agenda-item.agenda-highlight {
    background-color: #f0e6ff;
    border-left-color: #8a2be2;
}

.agenda-time {
    font-weight: bold;
    color: #5a189a;
    display: flex;
    align-items: flex-start;
}

.agenda-content {
    line-height: 1.5;
}

.organizers-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background-color: #f9f5ff;
    border-radius: 10px;
}

.organizer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.organizer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.organizer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.organizer-logo:hover img {
    filter: grayscale(0%);
}

.organizer-logo span {
    font-size: 0.9em;
    color: #555;
    line-height: 1.3;
}

.funder-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 15px;
}

.funder-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.funder-logo span {
    font-weight: bold;
    color: #5a189a;
}

.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.contact-info a {
    color: #5a189a;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* PDF Images Section */
.pdf-images-section {
    margin: 40px 0 0 0;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.pdf-images-section h4 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4em;
}

.pdf-images-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.pdf-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pdf-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

.pdf-image-caption {
    padding: 15px;
    text-align: center;
    font-size: 0.95em;
    color: #666;
    background-color: #f8f8f8;
}

/* Upcoming Activities */
.upcoming-activities {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    border-left: 5px solid #0066cc;
}

.upcoming-activities h3 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: none;
}

.upcoming-activities ul {
    margin: 20px 0 20px 20px;
    list-style-type: square;
}

.upcoming-activities li {
    margin-bottom: 10px;
    color: #555;
}

/* RTL support for Arabic version */
#content-ar .activity-card {
    border-top: 5px solid #8a2be2;
    border-right: none;
}

#content-ar .activity-header h3 {
    text-align: right;
}

#content-ar .activity-meta {
    justify-content: flex-end;
}

#content-ar .agenda-item {
    grid-template-columns: 1fr 100px;
    border-left: none;
    border-right: 4px solid #ccc;
    text-align: right;
}

#content-ar .agenda-item.agenda-highlight {
    border-left: none;
    border-right: 4px solid #8a2be2;
}

#content-ar .agenda-time {
    justify-content: flex-end;
}

#content-ar .agenda-content {
    text-align: right;
}

#content-ar .organizer-logo,
#content-ar .funder-logo {
    text-align: center;
}

#content-ar .organizer-logo span,
#content-ar .funder-logo span {
    text-align: center;
}

#content-ar .pdf-images-section h4 {
    text-align: center;
}

#content-ar .pdf-image-caption {
    text-align: center;
}

#content-ar .upcoming-activities {
    border-left: none;
    border-right: 5px solid #0066cc;
}

#content-ar .upcoming-activities h3,
#content-ar .upcoming-activities p,
#content-ar .upcoming-activities ul {
    text-align: right;
}

#content-ar .upcoming-activities ul {
    margin: 20px 20px 20px 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .organizers-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .activity-card {
        padding: 20px;
    }
    
    .activity-header h3 {
        font-size: 1.5em;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .agenda-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
        padding: 12px;
    }
    
    .organizer-logos {
        justify-content: center;
    }
    
    .pdf-images-container {
        gap: 20px;
    }
    
    .pdf-image {
        min-width: 100%;
    }
    
    #content-ar .agenda-item {
        grid-template-columns: 1fr 80px;
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 15px;
    }
    
    .activity-header h3 {
        font-size: 1.3em;
    }
    
    .agenda-item {
        grid-template-columns: 70px 1fr;
    }
    
    .organizers-section {
        padding: 15px;
    }
    
    .upcoming-activities {
        padding: 20px;
    }
    
    #content-ar .agenda-item {
        grid-template-columns: 1fr 70px;
    }
}

/* =========================================== */
/* ENHANCED ACTIVITIES PAGE STYLES - FIXES */
/* =========================================== */

/* Agenda Table Styles */
.agenda-table-section {
    margin: 30px 0;
}

.agenda-table-section h4 {
    color: #7b2cbf;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.agenda-table-container {
    overflow-x: auto;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.agenda-table th {
    background-color: #5a189a;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 15px 12px;
    border: 1px solid #4a148c;
}

.agenda-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
    vertical-align: top;
}

.agenda-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.agenda-table tbody tr:hover {
    background-color: #f0e6ff;
}

.highlight-row {
    background-color: #f0e6ff !important;
    border-left: 4px solid #8a2be2 !important;
}

.highlight-row td {
    font-weight: 500;
    text-align: left;
    line-height: 1.5;
}

/* Column widths for better readability */
.time-col {
    width: 120px;
    min-width: 120px;
}

.event-col {
    width: 300px;
    min-width: 250px;
}

.speaker-col {
    width: 250px;
    min-width: 200px;
}

/* RTL Table Styles */
.rtl-table {
    direction: rtl;
}

.rtl-table th,
.rtl-table td {
    text-align: center;
}

.rtl-table .highlight-row td {
    text-align: right;
}

/* Fix for Arabic table column order */
#content-ar .agenda-table th:nth-child(1),
#content-ar .agenda-table td:nth-child(1) {
    /* Speaker column in Arabic */
    text-align: right;
}

#content-ar .agenda-table th:nth-child(2),
#content-ar .agenda-table td:nth-child(2) {
    /* Event column in Arabic */
    text-align: right;
}

/* =========================================== */
/* UPDATED ORGANIZERS SECTION - Single Row Layout */
/* =========================================== */

.organizers-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    padding: 30px;
    background-color: #f9f5ff;
    border-radius: 12px;
    align-items: flex-start;
}

.organizer-info,
.funder-info {
    flex: 1;
    min-width: 300px;
}

.organizers-section h4 {
    color: #5a189a;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
}

/* Organizer Logos in Single Row */
.organizer-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 10px;
}

.organizer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
    max-width: 150px;
}

.organizer-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.organizer-logo:hover img {
    filter: grayscale(0%);
}

.organizer-logo span {
    font-size: 0.95em;
    color: #5a189a; /* Consistent color */
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    display: block;
}

/* Funder Logo */
.funder-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
}

.funder-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
}

.funder-logo span {
    font-size: 0.95em; /* Same font size as organizers */
    color: #5a189a; /* Consistent color */
    font-weight: 500;
    text-align: center;
    display: block;
}

/* RTL support for organizers section */
#content-ar .organizers-section h4,
#content-ar .organizer-logo span,
#content-ar .funder-logo span {
    text-align: center;
    color: #5a189a; /* Consistent color */
}

#content-ar .organizer-logos {
    direction: rtl;
}

/* Contact info styling remains the same */
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.contact-info p {
    text-align: center;
    margin: 0;
}

.contact-info a {
    color: #5a189a;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* Image fallback styles */
.pdf-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
    min-height: 300px;
    background-color: #f5f5f5;
    object-fit: contain;
}

/* Logo fallback styling */
.organizer-logo img,
.funder-logo img {
    background-color: #f8f8f8;
    padding: 5px;
    border-radius: 4px;
}

/* Fallback for missing slideshow image */
.slideshow-container .slide img {
    object-fit: cover;
}

/* Responsive table fixes */
@media (max-width: 768px) {
    .agenda-table {
        font-size: 0.9em;
    }
    
    .agenda-table th,
    .agenda-table td {
        padding: 8px 6px;
    }
    
    .time-col {
        width: 100px;
        min-width: 100px;
    }
    
    .event-col {
        width: 250px;
        min-width: 200px;
    }
    
    .speaker-col {
        width: 200px;
        min-width: 150px;
    }
    
    .pdf-image img {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .agenda-table {
        font-size: 0.85em;
    }
    
    .agenda-table th,
    .agenda-table td {
        padding: 6px 4px;
    }
    
    .time-col {
        width: 80px;
        min-width: 80px;
    }
    
    .event-col {
        width: 180px;
        min-width: 150px;
    }
    
    .speaker-col {
        width: 150px;
        min-width: 120px;
    }
}

/* =========================================== */
/* ADDITIONAL STYLES FOR EVENT 2 */
/* =========================================== */

/* Workshop Structure Grid */
.workshop-structure {
    margin: 30px 0;
}

.workshop-structure h4 {
    color: #7b2cbf;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.structure-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.structure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.structure-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.structure-content h5 {
    color: #5a189a;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.structure-content p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Presenters Section */
.presenters-section {
    margin: 30px 0;
    padding: 25px;
    background-color: #f0f7ff;
    border-radius: 10px;
    border-left: 4px solid #0066cc;
}

.presenters-section h4 {
    color: #0066cc;
    margin: 0 0 20px 0;
    font-size: 1.3em;
}

.presenters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.presenter-group h5 {
    color: #5a189a;
    margin: 0 0 15px 0;
    font-size: 1.1em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.presenter-group ul {
    margin: 0;
    padding-left: 20px;
}

.presenter-group li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95em;
}

/* Workshop Objectives */
.workshop-objectives {
    margin: 30px 0;
    padding: 25px;
    background-color: #f0f6ff;
    border-radius: 10px;
    border-left: 4px solid #7b2cbf;
}

.workshop-objectives h4 {
    color: #7b2cbf;
    margin: 0 0 20px 0;
    font-size: 1.3em;
}

.workshop-objectives ul {
    margin: 0;
    padding-left: 20px;
}

.workshop-objectives li {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95em;
}

/* Project Context */
.project-context {
    margin: 30px 0;
    padding: 25px;
    background-color: #f9f5ff;
    border-radius: 10px;
}

.project-context h4 {
    color: #5a189a;
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.project-context p {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

/* Hashtags */
.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.hashtag {
    background-color: #e0e0e0;
    color: #555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.hashtag:hover {
    background-color: #d0d0d0;
}

/* RTL Support for New Sections */
#content-ar .structure-item {
    text-align: center;
}

#content-ar .structure-content h5,
#content-ar .structure-content p {
    text-align: center;
}

#content-ar .presenters-section {
    border-left: none;
    border-right: 4px solid #0066cc;
}

#content-ar .presenters-section h4,
#content-ar .presenter-group h5,
#content-ar .presenter-group ul,
#content-ar .presenter-group li {
    text-align: right;
}

#content-ar .presenter-group ul {
    padding-left: 0;
    padding-right: 20px;
}

#content-ar .workshop-objectives {
    border-left: none;
    border-right: 4px solid #7b2cbf;
}

#content-ar .workshop-objectives h4,
#content-ar .workshop-objectives ul,
#content-ar .workshop-objectives li {
    text-align: right;
}

#content-ar .workshop-objectives ul {
    padding-left: 0;
    padding-right: 20px;
}

#content-ar .project-context h4,
#content-ar .project-context p {
    text-align: right;
}

#content-ar .hashtags {
    direction: rtl;
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .structure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presenters-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .structure-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-item {
        padding: 15px;
    }
    
    .presenters-section,
    .workshop-objectives,
    .project-context {
        padding: 20px;
    }
    
    .presenters-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .structure-item {
        padding: 12px;
    }
    
    .structure-icon {
        font-size: 2em;
    }
    
    .presenters-section,
    .workshop-objectives,
    .project-context {
        padding: 15px;
    }
    
    .hashtag {
        font-size: 0.8em;
        padding: 5px 10px;
    }
}


/* =========================================== */
/* ENHANCED CONTACT PAGE STYLES */
/* =========================================== */

/* Font Awesome icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Contact Layout */
.contact-layout {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.contact-form-section,
.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-form-section {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #5a189a;
}

.contact-form-section h2 {
    color: #5a189a;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #5a189a;
    box-shadow: 0 0 0 3px rgba(90, 24, 154, 0.1);
    background-color: white;
}

.submit-btn {
    background-color: #5a189a;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.submit-btn:hover {
    background-color: #7b2cbf;
    transform: translateY(-2px);
}

/* Contact Cards */
.contact-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
}

.contact-card-header {
    background-color: #5a189a;
    color: white;
    padding: 20px;
}

.contact-card-header h3 {
    margin: 0;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card-content {
    padding: 25px;
}

/* Profile Photo Holder */
.profile-photo-holder {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.profile-photo-holder img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0e6ff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.photo-caption {
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Contact Details */
.contact-details h4 {
    color: #5a189a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.qual-badge {
    background-color: #f0e6ff;
    color: #5a189a;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.position {
    margin: 8px 0;
    color: #444;
    text-align: center;
    font-size: 0.95em;
}

.contact-info-list {
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    color: #5a189a;
    font-size: 1.2em;
    min-width: 24px;
    margin-top: 2px;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.contact-text a {
    color: #5a189a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #7b2cbf;
    text-decoration: underline;
}

/* NTU Card */
.ntu-image-holder {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ntu-image-holder img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ntu-details h4 {
    color: #5a189a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.ntu-details p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.quick-links h5 {
    color: #5a189a;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.quick-links ul {
    margin: 0;
    padding-left: 20px;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #5a189a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #7b2cbf;
    text-decoration: underline;
}

.recent-useful-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.recent-useful-links h5 {
    color: #5a189a;
    margin-bottom: 12px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-useful-links p {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #666;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #5a189a;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.profile-link:hover {
    background-color: #7b2cbf;
    color: white;
    text-decoration: none;
}

/* Partner Institutions */
.partner-institutions {
    background-color: #f9f5ff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.partner-institutions h4 {
    color: #5a189a;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.partner-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.partner-logo span {
    font-size: 0.9em;
    color: #5a189a;
    font-weight: 500;
}

/* RTL Support for Contact Page */
#content-ar .contact-form-section h2,
#content-ar .contact-card-header h3,
#content-ar .contact-details h4,
#content-ar .ntu-details h4,
#content-ar .quick-links h5,
#content-ar .recent-useful-links h5,
#content-ar .partner-institutions h4 {
    text-align: right;
}

#content-ar .qualifications {
    direction: rtl;
}

#content-ar .position {
    text-align: right;
}

#content-ar .contact-item {
    direction: rtl;
    text-align: right;
}

#content-ar .contact-item i {
    margin-left: 0;
    margin-right: 0;
}

#content-ar .contact-text {
    text-align: right;
}

#content-ar .quick-links ul {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
}

#content-ar .quick-links a {
    flex-direction: row-reverse;
}

#content-ar .profile-link {
    flex-direction: row-reverse;
}

#content-ar .partner-logos {
    direction: rtl;
}

#content-ar .partner-logo span {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
    }
    
    .contact-form-section,
    .contact-info-section {
        width: 100%;
    }
    
    .partner-logos {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-form-section,
    .contact-card-content,
    .partner-institutions {
        padding: 20px;
    }
    
    .contact-card-header {
        padding: 15px 20px;
    }
    
    .profile-photo-holder img {
        width: 150px;
        height: 150px;
    }
    
    .qualifications {
        gap: 6px;
    }
    
    .qual-badge {
        font-size: 0.75em;
        padding: 3px 8px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .ntu-image-holder img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 15px;
    }
    
    .contact-card-content {
        padding: 15px;
    }
    
    .profile-photo-holder img {
        width: 120px;
        height: 120px;
    }
    
    .contact-details h4 {
        font-size: 1.3em;
	text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item i {
        align-self: flex-start;
    }
    
    .partner-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .partner-logo {
        min-width: auto;
    }
}


/* =========================================== */
/* FOOTER STYLES - BLACK TEXT VERSION */
/* =========================================== */
.site-footer {
    background: #f8f9fa; /* Light gray background */
    color: #000000; /* Black text */
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    border-top: 2px solid #dee2e6; /* Light border */
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.copyright {
    font-size: 15px;
    color: #000000; /* Black text */
    font-weight: 500;
}

.copyright a {
    color: #2c3e50; /* Dark blue for links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #1a252f; /* Darker blue on hover */
    text-decoration: underline;
}

/* Arabic footer styling */
#content-ar .footer-content {
    direction: rtl;
}

/* Responsive footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px 0;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .copyright {
        font-size: 14px;
    }
}