* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
    font-family: 'Amiri', serif;
    direction: rtl;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter:none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 31, 70, 0.95);/*rgba(26, 31, 70, 0.95)*/
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    opacity: 0.5;
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li.active a {
    color: #d4af37;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #d4af37;
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.logo-text .ar {
    font-size: 16px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.logo-text .ar {
    font-size: 16px;
    font-weight: bold;
}

.logo-text .en {
    font-size: 12px;
    opacity: 0.8;
}

/* Hero Section with Video Background */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    cursor: pointer;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 31, 70, 0.6), rgba(26, 31, 70, 0.7));
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero .subtitle {
    font-size: 28px;
    color: #d4af37;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* مؤشر الصوت */
.sound-indicator {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.sound-indicator:hover {
    background: rgba(212, 175, 55, 0.9);
}

.sound-indicator.muted::before {
    content: "🔇";
}

.sound-indicator.unmuted::before {
    content: "🔊";
}

/* Section Base */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4af37;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    line-height: 1.8;
    color: #333;
    font-size: 22px;
    text-align: justify;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Partners Section */
.partners {
    background: #f8f8f8;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-logo {
    width: 150px;
    height: 127px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Achievements Section */
.achievements {
    background: white;
    position: relative;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="#" viewBox="0 0 200 200"><polygon points="100,20 140,80 140,120 100,140 60,120 60,80" fill="none" stroke="%23d4af37" stroke-width="1" opacity="0.2"/></svg>') no-repeat;
    background-size: contain;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 64px;
    font-weight: bold;
    color: #d4af37;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number .dot {
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    margin: 0 5px;
    align-self: center;
}

.stat-label {
    font-size: 18px;
    color: #333;
    margin-top: 10px;
}

/* Values Section */
.values {
    background: #f8f8f8;
    padding: 80px 0;
}

.values-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.value-img {
    height: 400px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.value-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.value-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CEO Section */
.ceo {
    background: white;
    padding: 80px 0;
}

.ceo-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.ceo-image {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-message {
    flex: 1;
}

.ceo-message h3 {
    font-size: 28px;
    color: #1a1f46;
    margin-bottom: 10px;
}

.ceo-message h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.ceo-message p {
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Contact Section */
.contact {
    background: #1a1f46;
    color: white;
    padding: 60px 0;
}

.contact-content {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 14px;
}

.vision-2030 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.vision-2030 img {
    height: 80px;
}

/* Footer */
.footer {
    background: #0f1329;
    padding: 20px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #d4af37;
}

.footer p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .sound-indicator {
        bottom: 20px;
        left: 20px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .about-content,
    .ceo-content {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 31, 70, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        display: block;
        padding: 10px 20px;
    }

    .logo-section {
        order: 2;
    }

    .nav-container {
        flex-direction: row-reverse;
    }

    .stat-number {
        font-size: 48px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    .about-text p {
        font-size: 14px;
    }

    .values-images {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo {
        padding: 15px;
    }

    .ceo-image {
        width: 200px;
        height: 200px;
    }

    .ceo-message h3 {
        font-size: 22px;
    }

    .ceo-message p {
        font-size: 14px;
    }

    .contact-item {
        font-size: 12px;
    }
}
