/* === 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: center;
    color: white;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.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-row {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    justify-content: center;
}

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

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

.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;
    display: block !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

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

.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;
    flex-wrap: wrap;
}

.cta-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-btn-wrapper .btn {
    min-width: 180px;
    text-align: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}

.cta-btn-desc {
    font-size: 14px;
    color: var(--text-main);
    opacity: 0.8;
    max-width: 200px;
    text-align: center;
    line-height: 1.4;
}

/* === 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: 992px) {
    /* Mobile Navigation — slide-out panel */
    .main-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: calc(100vh - 80px);
        background: var(--bg-white, #FBF8FF);
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 999;
        padding: 24px;
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    }

    html[dir="ltr"] .main-nav {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    }

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

    html[dir="ltr"] .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        border-bottom: 1px solid rgba(198, 197, 212, 0.3);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        font-weight: 600;
    }

    /* Dropdown inside mobile nav */
    .main-nav .header-dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 0 0 16px !important;
        min-width: auto !important;
        display: none;
    }

    .main-nav li:hover .header-dropdown-menu,
    .main-nav li.dropdown-open .header-dropdown-menu {
        display: block;
    }

    /* Show mobile-only nav actions */
    .mobile-nav-actions {
        display: block;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color, #C6C5D4);
    }

    /* Hide desktop header-actions items on mobile (except hamburger) */
    .header-actions .lang-toggle,
    .header-actions .btn,
    .header-actions form,
    .header-actions a:not(.mobile-menu-btn) {
        display: none !important;
    }

    /* Show hamburger button */
    .mobile-menu-btn {
        display: flex !important;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .mobile-menu-btn:hover {
        background: rgba(26, 35, 126, 0.08);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content { text-align: center; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .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; }
    .stat-number, .stat-plus { font-size: 36px; }
    .values-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .section-header { display: block !important; text-align: center !important; border-bottom: none !important; padding-bottom: 0 !important; }
    .section-header h2 { text-align: center !important; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn-wrapper { width: 100%; }
    .cta-btn-wrapper .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact li { justify-content: center; }

    .header-container {
        height: 64px;
    }

    .logo img {
        height: 40px;
    }

    .main-nav {
        top: 64px;
        height: calc(100vh - 64px);
    }

    .mobile-menu-overlay {
        top: 64px;
    }
}

@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: 32px; }
    .values-grid { grid-template-columns: 1fr !important; }
    .section-header { display: block !important; text-align: center !important; border-bottom: none !important; }
    .cta-content { padding: 36px 20px; }
    .cta-btn-wrapper .btn { min-width: unset; }
}