/* ==================== Design Tokens & Variables ==================== */
:root {
    --color-blue: #1b458b;
    --color-blue-dark: #0f2a5c;
    --color-blue-light: #e8eff9;
    --color-orange: #f58e1d;
    --color-orange-hover: #e07b14;
    --color-white: #ffffff;
    --color-bg: #f8fbfb;
    --color-text: #2d3436;
    --shadow-soft: 0 10px 30px rgba(27, 69, 139, 0.08);
    --shadow-strong: 0 20px 40px rgba(27, 69, 139, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==================== Base Setup ==================== */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; }
.fw-extrabold { font-weight: 900; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.z-index-2 { position: relative; z-index: 2; }

/* ==================== Global Background & Glassmorphism ==================== */
.global-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('/images/globe-image.svg') center/cover no-repeat;
    opacity: 0.03; /* شفافية أنيقة لعدم إزعاج القراءة */
    z-index: 0; pointer-events: none;
}

.bg-glass { background-color: rgba(255, 255, 255, 0.96) !important; backdrop-filter: blur(10px); }
.bg-glass-light { background-color: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(5px); border-top: 1px solid rgba(255,255,255,0.5); }
.pattern-bg { background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; }

/* ==================== Typography & Colors ==================== */
.text-gradient-blue {
    background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue), #3a75d5);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block;
}
.text-blue { color: var(--color-blue) !important; }
.text-orange { color: var(--color-orange) !important; }
.bg-blue { background-color: var(--color-blue) !important; }
.bg-dark-blue { background-color: var(--color-blue-dark) !important; }
.bg-orange { background-color: var(--color-orange) !important; }
.bg-blue-light { background-color: var(--color-blue-light) !important; }
.border-orange { border: 2px solid var(--color-orange) !important; }
.divider { height: 4px; width: 60px; border-radius: 2px; }

/* ==================== Buttons & Navigation ==================== */
.btn-premium-blue { background: linear-gradient(135deg, var(--color-blue), #2a5eb5); color: var(--color-white); border: none; transition: var(--transition); }
.btn-premium-blue:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(27, 69, 139, 0.3); color: #fff;}
.btn-premium-orange { background: var(--color-orange); color: #fff; transition: var(--transition); border: none;}
.btn-premium-orange:hover { background: var(--color-orange-hover); color: #fff; transform: translateY(-2px); }
.btn-outline-orange { border: 2px solid var(--color-orange); color: var(--color-orange); background: transparent; transition: var(--transition); }
.btn-outline-orange:hover { background: var(--color-orange); color: #fff; }

.navbar { transition: var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow-strong) !important; padding-top: 10px !important; padding-bottom: 10px !important; }
.nav-link { color: var(--color-blue-dark) !important; margin: 0 12px; transition: 0.3s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--color-orange) !important; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background: var(--color-orange); transition: var(--transition); transform: translateX(-50%); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ==================== Components ==================== */
.hero-section { min-height: 85vh; padding-top: 50px; padding-bottom: 50px; }
.hero-visual { border: 1px solid rgba(27, 69, 139, 0.1); background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); }

.service-card { transition: var(--transition); border-bottom: 4px solid transparent !important; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-strong) !important; border-bottom-color: var(--color-orange) !important; }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.service-card:hover .icon-circle { transform: scale(1.1) rotate(10deg); }

.partner-box { transition: var(--transition); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.partner-box:hover { transform: translateY(-5px); border-color: var(--color-orange) !important; box-shadow: var(--shadow-soft) !important; }
.partner-logo { max-height: 40px; object-fit: contain; }

.custom-accordion .accordion-button:not(.collapsed) { background-color: var(--color-blue-light); color: var(--color-blue); box-shadow: none; }
.custom-accordion .accordion-button:focus { box-shadow: none; }

.social-icon { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); color: var(--color-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; }
.social-icon:hover { transform: translateY(-5px); background: var(--color-orange); color: #fff; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: var(--color-orange); transform: translateX(-5px); }

/* ==================== Animations ==================== */
.animate-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.animate-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
.animate-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ==================== Responsive Fixes ==================== */
@media (max-width: 991px) {
    .display-3 { font-size: 2.5rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.8rem; }
    .hero-section { min-height: 70vh; text-align: center; }
    .navbar-collapse { background: var(--color-white); padding: 15px; border-radius: 10px; margin-top: 15px; box-shadow: var(--shadow-strong); }
    .nav-link::after { display: none; }
    .pe-lg-5 { padding-inline-end: 0 !important; }
}
@media (max-width: 768px) {
    .display-3 { font-size: 2.2rem; }
    .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
}




