/* === Global Reset & Variables === */
:root {
    --primary-dark: #1A237E;
    --primary-dark-hover: #000666;
    --primary-orange: #FB6D00;
    --primary-orange-hover: #9E4200;
    --text-main: #454652;
    --bg-light: #FBF8FF;
    --bg-gray: #F8F9FA;
    --bg-card: #F5F2FB;
    --border-color: #C6C5D4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-main);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--secondary);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Cairo';
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* === Hero === */
.hero {
    background:
        linear-gradient(135deg, rgba(26, 35, 126, 0.60) 25%, rgba(26, 35, 126, 0.60) 45%, rgba(251, 109, 0,0.60) 100%),
        url('assets/hook-banner-main.png') center center/cover no-repeat;
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at 80% 18%, rgba(251, 109, 0, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(10, 16, 72, 0.18) 100%);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    color: white;
    max-width: 672px;
    margin-right: 0;
    margin-left: auto;
    padding: 0 8px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 23px;
    letter-spacing: -0.4px;
}

.hero-desc {
    font-size: 20px;
    line-height: 32px;
    color: rgba(255, 255, 255, 0.92);
}

/* === Mission & Vision === */
.mission-vision {
    padding: 96px 0;
    background:
        radial-gradient(circle at top right, rgba(251, 109, 0, 0.05), transparent 30%),
        linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
}

.mv-container {
    display: flex;
    gap: 24px;
    align-items: center;
}

.mv-image {
    flex: 1;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0px 24px 40px -12px rgba(0, 0, 0, 0.18);
    position: relative;
}

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

.mv-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(251, 109, 0, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(251, 109, 0, 0.4);
    transition: transform 0.3s, background 0.3s;
    z-index: 5;
}

.mv-video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(251, 109, 0, 1);
    color: white;
}

.mv-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mv-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-card) 100%);
    padding: 48px;
    border-radius: 22px;
    box-shadow: 0px 16px 32px rgba(20, 33, 59, 0.08);
    border: 1px solid rgba(198, 197, 212, 0.35);
}

.card-vision {
    border-right: 4px solid var(--primary-dark);
}

.card-mission {
    border-right: 4px solid var(--primary-orange);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.mv-card-header h3 {
    font-size: 20px;
}

.icon-vision { color: var(--primary-dark); font-size: 24px; }
.icon-mission { color: var(--primary-orange); font-size: 24px; }

.card-vision h3 { color: var(--primary-dark); }
.card-mission h3 { color: var(--primary-orange); }

.mv-card p {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-main);
}

/* === Stats === */
.stats {
    background:
        linear-gradient(135deg, rgba(26, 35, 126, 0.97) 0%, rgba(0, 6, 102, 0.92) 100%),
        radial-gradient(circle at top left, rgba(251, 109, 0, 0.16), transparent 28%);
    padding: 92px 0;
    position: relative;
    overflow: hidden;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.18;
}

.stats::before {
    top: -110px;
    right: -60px;
    background: rgba(251, 109, 0, 0.5);
}

.stats::after {
    bottom: -120px;
    left: -80px;
    background: rgba(128, 144, 246, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-plus {
    font-size: 44px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}

.stat-label {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.84);
}

/* === Values === */
.values {
    background-color: var(--bg-gray);
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.header-underline {
    width: 96px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 9999px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0px 14px 30px rgba(20, 33, 59, 0.07);
    border: 1px solid rgba(198, 197, 212, 0.38);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-7px);
    box-shadow: 0px 18px 36px rgba(20, 33, 59, 0.12);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin: 0 auto 24px;
}

.icon-partnership { background: rgba(251, 109, 0, 0.1); color: var(--primary-orange-hover); }
.icon-transparency { background: rgba(26, 35, 126, 0.1); color: var(--primary-dark); }
.icon-innovation { background: rgba(26, 35, 126, 0.1); color: var(--primary-dark); }
.icon-quality { background: rgba(251, 109, 0, 0.1); color: var(--primary-orange-hover); }

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.value-card p {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-main);
}

/* === CTA === */
.cta {
    background:
        linear-gradient(135deg, rgba(234, 231, 239, 0.95) 0%, rgba(245, 242, 251, 0.98) 100%),
        radial-gradient(circle at top left, rgba(26, 35, 126, 0.05), transparent 28%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cta::before, .cta::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(32px);
}

.cta::before {
    top: -80px;
    left: -80px;
    background: rgba(0, 6, 102, 0.05);
}

.cta::after {
    bottom: -80px;
    right: -80px;
    background: rgba(158, 66, 0, 0.05);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(198, 197, 212, 0.4);
    border-radius: 28px;
    padding: 48px 28px;
    box-shadow: 0 18px 44px rgba(20, 33, 59, 0.08);
    backdrop-filter: blur(8px);
}

.cta h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.cta p {
    max-width: 800px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 28px;
    color: var(--text-main);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* === Footer === */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 48px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #8690EE;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8690EE;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-orange);
    width: 20px;
    text-align: center;
}

.footer-about {
    color: #8690EE;
    font-size: 14px;
    line-height: 23px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: #8690EE;
    font-size: 14px;
    opacity: 0.6;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .mv-container { flex-direction: column; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* يمكن استبدالها بزر القائمة للموبايل */
    .hero-content { text-align: center; margin: 0 auto; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 18px; line-height: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .stat-item { padding: 24px 16px; }
    .values-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact li { justify-content: center; }
}

@media (max-width: 480px) {
    .hero { height: auto; min-height: 460px; padding: 64px 0; }
    .hero h1 { font-size: 32px; }
    .hero-desc { font-size: 17px; }
    .mv-card { padding: 30px 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number, .stat-plus { font-size: 38px; }
    .cta-content { padding: 36px 20px; }
}