/* ملف الأنماط الرئيسي - ألوان محدثة */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* الألوان الجديدة المطلوبة */
    --primary-color: #3589dd;
    --primary-light: #4b9ae8;
    --primary-dark: #2873cc;
    --primary-soft: #7db3f2;
    --primary-lightest: #b3d1f7;

    /* متغيرات الألوان المحدثة */
    --red-soft: var(--primary-color);
    --green-soft: var(--primary-dark);
    --white: #FFFFFF;
    --black-soft: #052c53;
    --gray-light: #F1FAEE;
    --gray-medium: #6C757D;
    --shadow-soft: 0 8px 32px rgba(53, 137, 221, 0.15);
    --shadow-hover: 0 12px 40px rgba(53, 137, 221, 0.25);
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--white) 40%, var(--primary-dark) 100%);
    min-height: 100vh;
    direction: rtl;
    color: var(--black-soft);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header محدث ومتجاوب */
.header {
    background: var(--primary-color);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(53, 137, 221, 0.2);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(53, 137, 221, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

/* اللوجو محدث */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    width: 150px;
    height: auto;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.logo-image {
    width: 40%;
    height: 40%;
    object-fit: contain;
    border-radius: 12px;
    padding: 4px;
}

/* قائمة التنقل محدثة ومتجاوبة */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* زر التبرع محدث */
.donate-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.donate-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 120px;
    position: relative;
}

/* Hero Section محدث */
.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(53, 137, 221, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--black-soft);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Stats Grid محدث */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: all 2s ease;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--black-soft);
    opacity: 0.8;
    font-weight: 500;
}

/* Section Cards محدث */
.section-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
    color: var(--black-soft);
    margin: 2rem 0;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 1);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    text-align: center;
}

.section-title i {
    font-size: 2.2rem;
    color: var(--primary-dark);
    transition: transform 0.3s ease;
}

.section-title:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* تأثير قلب الكارد محدث */
.flip-card-container {
    background-color: transparent;
    perspective: 1000px;
    height: 700px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flip-card-container:hover {
    transform: translateY(-5px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-card-front {
    background: transparent;
}

.flip-card-back {
    background: rgba(255, 255, 255, 0.95);
    transform: rotateY(180deg);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.flip-indicator {
    text-align: center;
    padding: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(53, 137, 221, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1.5em;
    transition: all 0.3s ease;
}

.flip-indicator:hover {
    background: rgba(53, 137, 221, 0.2);
    transform: scale(1.02);
}

.flip-indicator i {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

.flag-img {
    width: 24px;
    height: 16px;
    margin-left: 8px;
    border-radius: 2px;
    vertical-align: middle;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* حاوي الفيديو محدث */
.video-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    min-height: 60px;
}

.back-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.video-header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

/* مشغل الفيديو المخصص محدث */
.custom-video-player {
    position: relative;
    flex: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.custom-video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 0;
}

/* أدوات التحكم في الفيديو محدثة */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 1.5rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    z-index: 5;
}

.custom-video-player:hover .video-controls {
    opacity: 1;
}

.progress-container-video {
    margin-bottom: 0.8rem;
}

.progress-bar-video {
    position: relative;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.progress-fill-video {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
    width: 0;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-bar-video:hover .progress-handle {
    opacity: 1;
}

.time-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.control-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.left-controls,
.right-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.video-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    backdrop-filter: blur(10px);
}

.video-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-control input[type="range"] {
    width: 70px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* خيارات السرعة محدثة */
.speed-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.speed-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.speed-options button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    margin: 0.2rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.speed-options button:hover,
.speed-options button.active {
    background: var(--primary-color);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 6;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.big-play-btn {
    background: rgba(53, 137, 221, 0.8) !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    font-size: 1.8rem !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
}

.big-play-btn:hover {
    background: var(--primary-color) !important;
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-hover) !important;
}

.custom-video-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.custom-video-player video[data-loading="true"] {
    opacity: 0.7;
}

.custom-video-player video[data-loading="true"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Modern Grid System محدث */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grid-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(53, 137, 221, 0.08) 0%, rgba(0, 0, 0, 0.05) 50%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.grid-item:hover::before {
    opacity: 1;
    top: -50%;
    right: -50%;
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.grid-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.grid-item:hover .grid-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.grid-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black-soft);
}

.grid-description {
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* Stories محدثة */
.stories-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stories-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.story-card {
    display: inline-block;
    width: 300px;
    margin: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.story-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.story-card p {
    color: var(--black-soft);
    opacity: 0.8;
    font-size: 0.95rem;
}

.story-heart {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.story-card:hover .story-heart {
    opacity: 1;
}

/* Story Detail Cards محدثة */
.story-detail-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.story-detail-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

.story-detail-content {
    flex: 1;
}

.story-detail-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--black-soft);
    opacity: 0.9;
}

.story-impact {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.story-impact h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.story-impact ul {
    list-style: none;
}

.story-impact li {
    margin-bottom: 0.25rem;
    color: var(--black-soft);
}

.story-impact li::before {
    content: '•';
    color: var(--primary-dark);
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

/* Forms محدثة */
.form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(53, 137, 221, 0.15);
    margin: 2rem 0;
    color: var(--black-soft);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(53, 137, 221, 0.15);
    border-radius: 15px;
    background: rgba(255, 255, 255, 1);
    color: var(--black-soft);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 137, 221, 0.1);
    transform: scale(1.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(38, 70, 83, 0.5);
}

/* Buttons محدثة */
.btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.btn.btn-green {
    background: var(--primary-dark);
    color: white;
}

.btn.btn-green:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-hover);
}

.btn.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Progress Bars محدثة */
.progress-container {
    margin: 2rem 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black-soft);
}

.progress-bar {
    background: rgba(38, 70, 83, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    width: 0;
    transition: width 1s ease-in-out;
    border-radius: 4px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Interactive Map محدثة */
.interactive-map {
    height: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(53, 137, 221, 0.15);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    margin: 2rem 0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(53, 137, 221, 0.05), rgba(0, 0, 0, 0.05));
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Camp Cards محدثة */
.camp-detail-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.camp-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.camp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.camp-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.camp-priority {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.camp-priority.high {
    background: rgba(53, 137, 221, 0.1);
    color: var(--primary-color);
}

.camp-priority.medium {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-dark);
}

.camp-priority.low {
    background: rgba(108, 117, 125, 0.1);
    color: var(--gray-medium);
}

.camp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.camp-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.camp-stat i {
    color: var(--primary-dark);
}

.camp-stat-full {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(53, 137, 221, 0.3);
    font-weight: 600;
}

.camp-stat-full i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.camp-stat-full span {
    font-weight: 600;
}

.camp-needs h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.need-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(53, 137, 221, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.need-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

/* Donation Specific Styles محدثة */
.donation-progress {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.quick-donations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.donation-option {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(53, 137, 221, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donation-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.donation-option .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donation-option .description {
    font-size: 1rem;
    color: var(--black-soft);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.donation-option .icon {
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.7;
}

.donation-types,
.amount-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-label,
.amount-label {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(53, 137, 221, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.radio-label:hover,
.amount-label:hover {
    border-color: var(--primary-color);
    background: rgba(53, 137, 221, 0.1);
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+.radio-label,
input[type="radio"]:checked+.amount-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    padding: 1.5rem;
    border: 2px solid rgba(53, 137, 221, 0.2);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: rgba(53, 137, 221, 0.1);
}

.payment-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.payment-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--primary-dark);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-container input:checked+.checkmark {
    background: var(--primary-color);
}

.checkbox-container input:checked+.checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: -2px;
    left: 3px;
    font-size: 14px;
}

.impact-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input input {
    max-width: 200px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.8rem;
    border: 2px solid rgba(53, 137, 221, 0.15);
    border-radius: 10px;
}

.impact-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-weight: 600;
}

.impact-item i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.transparency-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.transparency-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(53, 137, 221, 0.15);
}

.transparency-item .percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.transparency-item .description {
    color: var(--black-soft);
    font-size: 0.9rem;
    opacity: 0.8;
}

.recent-donations {
    max-width: 600px;
    margin: 0 auto;
}

.donation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
}

.donation-item:hover {
    background: rgba(53, 137, 221, 0.05);
}

.donor-info {
    display: flex;
    flex-direction: column;
}

.donor-info strong {
    color: var(--primary-color);
}

.donor-info span {
    font-size: 0.8rem;
    color: var(--gray-medium);
    opacity: 0.7;
}

.donation-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.donation-purpose {
    font-size: 0.9rem;
    color: var(--black-soft);
    opacity: 0.8;
}

.help-method {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
}

.help-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.help-method h3 {
    margin: 1rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.emergency-need-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
}

.emergency-need-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.emergency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.emergency-need-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.emergency-progress {
    margin: 1.5rem 0;
}

.emergency-progress span {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: 0.5rem;
    display: block;
    opacity: 0.8;
}

.help-option {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(53, 137, 221, 0.15);
    transition: all 0.3s ease;
}

.help-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.help-option h3 {
    margin: 1rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Footer محدث */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 2rem;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    text-align: center;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(53, 137, 221, 0.1), rgba(0, 0, 0, 0.05), transparent);
    z-index: -1;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    padding: 2px;
}

.footer-text {
    opacity: 0.8;
    margin-top: 1rem;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.footer-links a {
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: scale(1.2);
}

/* Notification Bar محدث */
.notification-bar {
    position: fixed;
    top: 90px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-width: 300px;
    box-shadow: var(--shadow-soft);
}

.notification-bar.show {
    transform: translateX(0);
}

/* Donate Modal محدث */
.donate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transform: scale(0.9);
    animation: scaleIn 0.3s ease forwards;
    position: relative;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

.modal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-subtitle {
    color: var(--black-soft);
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

.donate-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.donate-option {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-dark);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.donate-option:hover {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.05);
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--black-soft);
    cursor: pointer;
    position: absolute;
    top: 1rem;
    left: 1rem;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Needs and Camps محدثة */
.needs-classification,
.accounts-section,
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.need-item,
.account-type,
.camp-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(53, 137, 221, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.need-item:hover,
.account-type:hover,
.camp-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.need-icon,
.account-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.need-item:hover .need-icon,
.account-type:hover .account-icon {
    color: var(--primary-color);
}

.need-title,
.account-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black-soft);
}

.need-priority,
.account-description {
    font-size: 0.95rem;
    color: rgba(38, 70, 83, 0.7);
}

/* تنسيق البوب أب (المودال) محدث */
.volunteer-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.volunteer-modal.show {
    opacity: 1;
    visibility: visible;
}

.volunteer-modal .modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 30px;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.volunteer-modal.show .modal-content {
    transform: translateY(0);
}

.volunteer-modal .close {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.volunteer-modal .close:hover,
.volunteer-modal .close:focus {
    color: #333;
    text-decoration: none;
}

.volunteer-modal .form-group {
    margin-bottom: 20px;
    text-align: right;
}

.volunteer-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.volunteer-modal .form-group input,
.volunteer-modal .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.volunteer-modal .form-group input:focus,
.volunteer-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 137, 221, 0.1);
}

.volunteer-modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.volunteer-modal .form-buttons {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.volunteer-modal .btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.volunteer-modal .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.volunteer-modal .btn:hover::before {
    left: 100%;
}

.volunteer-modal .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.volunteer-modal .btn.btn-green {
    background: var(--primary-dark);
    color: white;
}

.volunteer-modal .btn.btn-green:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-hover);
}

.volunteer-modal .btn.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.volunteer-modal .btn.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.volunteer-modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.volunteer-modal .modal-content.loading {
    pointer-events: none;
    opacity: 0.7;
}

.volunteer-modal .modal-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: volunteer-spin 1s linear infinite;
}

@keyframes volunteer-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* تحسين عرض الـ popup المخصص */
.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(53, 137, 221, 0.2);
    font-family: 'Cairo', sans-serif;
}

.custom-popup .leaflet-popup-tip {
    background: white;
    border: 1px solid rgba(53, 137, 221, 0.2);
}

.custom-popup button.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(53, 137, 221, 0.3) !important;
}

.custom-popup button.btn[style*="background: #d32f2f"]:hover {
    background: #b71c1c !important;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4) !important;
}

.custom-popup .leaflet-popup-content {
    margin: 8px 12px;
}

.custom-popup p {
    margin: 8px 0;
    line-height: 1.4;
}

.oman-support-section {
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
}

.oman-support-section:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.oman-support-section:active {
    transform: scale(0.98);
}

.oman-support-section::after {
    content: "انقر للانتقال للخريطة";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.oman-support-section:hover::after {
    opacity: 1;
}

/* تصميم صفحة سلطنة عمان محدث */
.oman-hero {
    background: linear-gradient(135deg, #ffffff, #ff0000, #008000);
    padding: 60px 20px;
    text-align: center;
}

.oman-flag-large img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.camp-detailed-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.needs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.need-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid;
}

.support-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.camp-media-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
    width: 100%;
    height: auto;
}

.country-flag {
    width: 80px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-stats {
    margin-top: 10px;
    padding: 8px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
}

.stat-item {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.country-placeholder {
    width: 80px;
    height: 60px;
    margin: 0 auto 15px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
}

/* التصميم المتجاوب المحسن */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .camp-detailed-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-links {
        order: 2;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }

    .logo {
        order: 1;
        width: auto;
        font-size: 1.6rem;
    }

    .donate-btn {
        top: 150px;
        right: 1rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .container {
        margin-top: 160px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.4rem;
        width: auto;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .donate-btn {
        top: 120px;
        right: 1rem;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 1rem;
        margin-top: 140px;
    }

    .hero-section {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title i {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    .flip-card-container {
        height: 380px;
    }

    .video-header {
        padding: 0.6rem 0.8rem;
        min-height: 50px;
    }

    .video-header h3 {
        font-size: 1rem;
    }

    .back-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .video-controls {
        padding: 1rem 0.8rem 0.8rem;
    }

    .control-buttons {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: space-between;
    }

    .left-controls,
    .right-controls {
        gap: 0.6rem;
    }

    .video-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .volume-control input[type="range"] {
        width: 60px;
    }

    .big-play-btn {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    .progress-handle {
        width: 16px;
        height: 16px;
    }

    .time-display {
        font-size: 0.8rem;
    }

    .modern-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .story-detail-card {
        flex-direction: column;
    }

    .story-detail-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .quick-donations {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .donation-types,
    .amount-options {
        justify-content: center;
        gap: 0.5rem;
    }

    .stories-section,
    .section-card {
        padding: 2rem;
    }

    .story-card {
        width: 100%;
        margin: 0.5rem 0;
    }

    .camp-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }

    .camp-stat {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .camp-stat-full {
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .support-actions {
        flex-direction: column;
    }

    .volunteer-modal .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
    }

    .volunteer-modal .form-buttons {
        flex-direction: column;
        align-items: center;
    }

    .volunteer-modal .btn-volunteer {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        justify-content: center;
        gap: 0.3rem;
    }

    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .donate-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        top: 110px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .flip-card-container {
        height: 320px;
    }

    .video-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        min-height: 70px;
    }

    .video-header h3 {
        font-size: 0.9rem;
        order: 1;
    }

    .back-btn {
        order: 2;
        align-self: center;
    }

    .control-buttons {
        justify-content: center;
        gap: 0.3rem;
    }

    .left-controls {
        order: 1;
    }

    .right-controls {
        order: 2;
    }

    .camp-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .camp-stat-full {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* تحسينات إضافية للأداء */
.header {
    will-change: transform;
}

.btn,
.donate-btn,
.nav-links a {
    will-change: transform;
}

* {
    scroll-behavior: smooth;
}

/* إصلاح تضارب الألوان النهائي */
.progress-fill {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light)) !important;
}

.interactive-map .map-placeholder i {
    color: var(--primary-color) !important;
}

/* إضافات بسيطة فقط للتمييز - بدون تغيير التصميم الأساسي */

/* مؤشر الدعم */
.support-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

/* الدولة الداعمة الوحيدة */
.support-indicator.active {
    background: var(--primary-color);
    color: white;
}

.support-indicator.active i {
    color: white;
}

/* الدول غير الداعمة */
.support-indicator.inactive {
    background: rgba(220, 220, 220, 0.5);
    color: var(--gray-medium);
}

.support-indicator.inactive i {
    color: #dc3545;
}

/* دعوة للمشاركة */
.support-indicator.call-to-action {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.support-indicator.call-to-action i {
    color: #28a745;
}

/* تأثير خاص للدولة الداعمة فقط */
.grid-item.active-support {
    cursor: pointer;
}

.grid-item.active-support .grid-icon {
    color: var(--primary-color);
}

.grid-item.active-support .grid-title {
    color: var(--primary-color);
}

/* باقي الدول - تقليل الوضوح قليلاً */
.grid-item:not(.active-support) {
    opacity: 0.75;
}

.grid-item:not(.active-support):hover {
    opacity: 1;
}

/* شارة صغيرة للدولة الداعمة */
.grid-item.active-support::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* تحديثات للهيدر ليصبح زر الهامبورغر على اليمين */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

/* زر الهامبورغر - مخفي بشكل افتراضي */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    order: 1;
    /* يضعه أولاً (على اليمين في RTL) */
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* تأثير التحول للهامبورغر عند الفتح */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* اللوجو - في المنتصف عند ظهور الهامبورغر */
.logo {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    width: 150px;
    height: auto;
}

/* القائمة العادية */
.nav-links {
    order: 3;
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* القائمة الجانبية للموبايل */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-header .logo {
    width: auto;
}

.mobile-menu-header .logo-image {
    width: 40px;
    height: 40px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    padding-right: 2rem;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
    transform: scaleY(1);
}

/* Overlay للخلفية */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* تحسينات للتصميم المتجاوب */
@media (max-width: 992px) {

    /* إخفاء القائمة العادية */
    .nav-links {
        display: none;
    }

    /* إظهار زر الهامبورغر */
    .hamburger-btn {
        display: flex;
    }

    /* تعديل ترتيب العناصر للموبايل */
    .nav-container {
        justify-content: space-between;
        flex-direction: row;
    }

    /* اللوجو في الوسط */
    .logo {
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0 1rem;
    }

    /* زر الهامبورغر على اليمين */
    .hamburger-btn {
        order: 3;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 250px;
    }

    .mobile-nav-links a {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 220px;
    }

    .hamburger-btn {
        width: 25px;
        height: 25px;
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
}

/* أزرار الانضمام للدول */
.country-join-btn {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.country-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    background: linear-gradient(45deg, #128C7E, #25D366);
}

.country-join-btn i {
    font-size: 1rem;
}

/* تعديل تصميم الكاردات لاستيعاب الزر */
.grid-item {
    padding-bottom: 1.5rem;
}

.support-indicator {
    margin-bottom: 10px;
}

/* تصميم خاص للدولة النشطة */
.grid-item.active-support .country-join-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
}

.grid-item.active-support .country-join-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 4px 15px rgba(53, 137, 221, 0.3);
}

/* تحسين مؤشر الماوس للأعلام */
.grid-icon img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* كارد الصورة المميزة */
.featured-image-card {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.featured-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.featured-image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image-container:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(53, 137, 221, 0.4) 50%,
            rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image-container:hover .featured-overlay {
    opacity: 1;
}

.featured-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 600px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.featured-image-container:hover .featured-content {
    transform: translateY(0);
}

.featured-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff !important;
    /* أبيض صريح */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    /* إزالة التدرج واستبداله بالأبيض الصريح */
}

.featured-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ffffff !important;
    /* أبيض صريح */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    opacity: 1;
    /* إزالة الشفافية */
}

.featured-action {
    margin-top: 1.5rem;
}

.featured-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white !important;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(53, 137, 221, 0.4);
    position: relative;
    overflow: hidden;
}

.featured-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.featured-btn:hover::before {
    left: 100%;
}

.featured-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(53, 137, 221, 0.5);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.featured-btn i {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

/* تحسينات للتصميم المتجاوب */
@media (max-width: 992px) {
    .featured-image-container {
        height: 400px;
    }

    .featured-title {
        font-size: 2.5rem;
        color: #ffffff !important;
    }

    .featured-description {
        font-size: 1.1rem;
        color: #ffffff !important;
    }

    .featured-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .featured-image-container {
        height: 350px;
        border-radius: 20px;
    }

    .featured-title {
        font-size: 2rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    }

    .featured-description {
        font-size: 1rem;
        color: #ffffff !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    }

    .featured-content {
        padding: 1.5rem;
    }

    .featured-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-image-container {
        height: 300px;
        border-radius: 15px;
    }

    .featured-title {
        font-size: 1.8rem;
        color: #ffffff !important;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
    }

    .featured-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        color: #ffffff !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
    }

    .featured-content {
        padding: 1rem;
    }

    .featured-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .featured-overlay {
        opacity: 1;
        /* دائماً مرئية على الموبايل */
        /* خلفية أغمق للموبايل لإظهار النص بوضوح أكثر */
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(53, 137, 221, 0.6) 50%,
                rgba(0, 0, 0, 0.8) 100%);
    }
}

/* تأثيرات إضافية للكارد */
.featured-image-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-dark));
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image-card:hover::before {
    opacity: 0.3;
}

/* تحسين تباعد العناصر */
.featured-image-card+.hero-section {
    margin-top: 1rem;
}

/* إضافة تأثير تحميل تدريجي للصورة */
.featured-image {
    opacity: 0;
    animation: fadeInImage 1.5s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تحسين النص على الشاشات الصغيرة - خلفية أغمق */
@media (max-width: 480px) {
    .featured-overlay {
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(53, 137, 221, 0.7) 50%,
                rgba(0, 0, 0, 0.9) 100%) !important;
    }
}

/* إضافة خلفية إضافية للنص لضمان وضوحه */
.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    z-index: -1;
}

/* تأكيد لون النص الأبيض في جميع الحالات */
.featured-content * {
    color: #ffffff !important;
}

/* أنماط الفيديو التلقائي */
.auto-video-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    text-align: center;
}

.auto-video-container video {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto-video-container video:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* تصميم متجاوب */
@media (max-width: 1000px) {
    .auto-video-container video {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .auto-video-container video {
        max-width: 95%;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .auto-video-container video {
        max-width: 100%;
        border-radius: 10px;
    }
}

/* ضمان عدم تمدد hero-section */
.hero-section {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* تحسين container الفيديو */
#videoContainer {
    animation: slideDown 0.4s ease;
}

#videoContainer.hiding {
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 600px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 600px;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

/* تجاوب الفيديو */
@media (max-width: 768px) {
    #videoContainer {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }

    #videoToggleBtn {
        font-size: 1.1rem !important;
        padding: 0.9rem 2rem !important;
    }
}

/* إضافة هذا CSS لإخفاء scroll bars المؤقتة */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* منع التحرك الأفقي */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* تحسين الانتقالات */
#videoContainer {
    transition: all 0.4s ease;
    overflow: hidden;
}

.leaflet-popup.custom-popup .leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 14px;
    border: 2px solid #1b83eb;
    box-shadow: 0 6px 32px rgba(27, 131, 235, 0.16);
    padding: 14px 18px;
    min-width: 240px;
    max-width: 400px;
    display: inline-block;
}

.leaflet-popup-content {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    font-size: 1.07em;
    color: #292929;
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    line-height: 1.7;
    word-break: break-word;
}