body {
    font-family: 'Cairo', sans-serif;
    background: #f8f9fa;
    color: #333;
    transition: all 0.5s;
}

body.dark-mode {
    background: #121212;
    color: #f0f0f0;
}

.navbar {
    background-color: #dc3545 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar.dark-mode {
    background-color: #b02a37 !important;
}

.nav-link, .navbar-brand {
    color: white !important;
    font-weight: bold;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.hero {
    background: linear-gradient(rgba(220,53,69,0.85), rgba(220,53,69,0.85)), 
                url('background.jpeg') center/cover no-repeat;
    color: white;
    padding: 220px 0;
    text-align: center;
}

.section-title {
    color: #dc3545;
}

body.dark-mode .section-title {
    color: #ff6b7a;
}

.about-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

body.dark-mode .about-card {
    background: #1e1e1e;
}

.about-img {
    height: 450px;
    object-fit: cover;
}

footer {
    background-color: #dc3545;
    color: white;
}

body.dark-mode footer {
    background-color: #b02a37;
}

.btn-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Speakers Grid Cards */
.speaker-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220,53,69,0.2);
}
body.dark-mode .speaker-card {
    background: #1e1e1e;
    color: #f0f0f0;
}
body.dark-mode .speaker-card .card-title {
    color: #fff;
}
body.dark-mode .speaker-card .text-muted {
    color: #b0b0b0 !important;
}

/* Partners Logos */
.partner-logo {
    max-height: 120px;
    max-width: 250px;
    transition: transform 0.4s, filter 0.4s;
    filter: grayscale(0%);
}

.partner-logo:hover {
    transform: scale(1.15);
}

body.dark-mode .partner-logo {
    filter: brightness(1.3) grayscale(20%);
}

.navbar-brand img {
    max-height: 60px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

/* Logo Improvements */
.logo-img {
    height: 150px; /* حجم كبير */
    width: auto; /* عرض متناسق */
    filter: brightness(1.5) drop-shadow(0 4px 12px rgba(0,0,0,0.5)); /* سطوع وظل قوي */
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.15);
    filter: brightness(1.7) drop-shadow(0 6px 16px rgba(0,0,0,0.6));
}

/* في الدارك مود - نزود السطوع أكتر */
body.dark-mode .logo-img {
    filter: brightness(1.9) drop-shadow(0 4px 12px rgba(255,255,255,0.3));
}

/* News Ticker */
.news-ticker {
    background: linear-gradient(90deg, #dc3545 0%, #ff6b7a 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

body.dark-mode .news-ticker {
    background: linear-gradient(90deg, #b02a37 0%, #cc1f2e 100%);
}

.ticker-label {
    background: rgba(255,255,255,0.2);
    padding: 0 20px;
    white-space: nowrap;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 60px;
}

.ticker-text {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 1rem;
    padding: 0 20px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.bg-light {
    background-color: #ffffff !important;
}

body.dark-mode .bg-light {
    background-color: #1e1e1e !important;
}