
:root {
    --brand-navy: #002B54; 
    --brand-blue: #005696;
    --brand-orange: #FF8200;
    --brand-orange-hover: #E67600;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --gray-100: #E5E7EB;
    --gray-900: #0A0F18;
    --nav-height: 95px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --section-spacing: clamp(80px, 10vw, 120px); 
}

html[lang="en"] .ar-only { display: none !important; }
html[lang="ar"] .en-only { display: none !important; }

* { box-sizing: border-box; margin: 0; padding: 0; list-style: none !important; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', 'Cairo', sans-serif; 
    line-height: 1.7; 
    color: var(--brand-navy); 
    overflow-x: hidden; 
    background: var(--white); 
    width: 100%;
}

.container { width: 92%; max-width: 1300px; margin: 0 auto; }

header {
    height: var(--nav-height);
    background: var(--white);
    position: sticky; top: 0; z-index: 9000;
    border-bottom: 1px solid var(--gray-100);
}

.header-flex { 
    display: flex; justify-content: space-between; align-items: center; 
    width: 100%; height: 100%; padding: 0 20px; position: relative;
}

.brand-wrapper { 
    display: flex !important; align-items: center; gap: 12px; 
    text-decoration: none !important; width: auto !important; flex-grow: 0 !important;
    z-index: 9005; 
}
.logo-img { height: 55px; width: auto; flex-shrink: 0; }
.brand-name { font-weight: 900; font-size: 1.4rem; color: var(--brand-navy); white-space: nowrap; }

nav#primary-nav ul { display: flex; list-style: none; gap: 25px; }
nav#primary-nav a { 
    text-decoration: none !important; color: var(--brand-navy); font-weight: 700; 
    font-size: 0.95rem; transition: var(--transition); position: relative; padding: 10px 0; 
}
nav#primary-nav a.active { color: var(--brand-blue) !important; }
nav#primary-nav a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--brand-orange); border-radius: 50px;
}

.mobile-toggle {
    display: none; background: transparent; border: 1.5px solid var(--gray-100); 
    width: 45px; height: 45px; border-radius: 50%; color: var(--brand-navy); 
    font-size: 1.2rem; cursor: pointer; align-items: center; justify-content: center;
}

.lang-toggle-btn { 
    background: var(--brand-blue); color: var(--white); border: none; 
    padding: 10px 20px; border-radius: 50px; cursor: pointer; font-weight: 800; font-size: 0.85rem;
}

.hero-industrial { height: 80vh; min-height: 550px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--brand-navy); }
.hero-video-bg { position: absolute; inset: 0; z-index: 1; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(0,43,84,0.7), rgba(0,43,84,0.3)); }
.hero-content { position: relative; z-index: 10; color: var(--white); text-align: center; max-width: 850px; padding: 0 20px; }
.hero-title { font-size: clamp(2rem, 6vw, 4rem); font-weight: 900; line-height: 1.2; margin-bottom: 25px; }

.stats-container { margin-top: -60px; position: relative; z-index: 100; margin-bottom: 60px; }
.stats-glass-card { background: var(--white); display: grid; grid-template-columns: repeat(3, 1fr); padding: 50px; border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 43, 84, 0.12); border: 1px solid rgba(0, 43, 84, 0.05); text-align: center; align-items: center; }
.stat-item { position: relative; padding: 0 20px; transition: var(--transition); border-inline-end: 1px solid #eee; }
.stat-item:last-child { border: none; }
.stat-item:hover { transform: translateY(-10px); }
.stat-item i { font-size: 3rem; color: var(--brand-orange) !important; margin-bottom: 15px; display: block; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; transition: 0.3s; }
.stat-item:hover i { transform: scale(1.1); color: var(--brand-blue) !important; }
.stat-item h3 { font-size: 1.4rem; font-weight: 900; color: var(--brand-navy); margin-bottom: 8px; }
.stat-label { font-weight: 600; font-size: 0.95rem; color: #666; display: block; }

.section-about { padding: var(--section-spacing) 0 160px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-corporate { width: 100%; border-radius: 25px; box-shadow: 0 20px 45px rgba(0,0,0,0.1); }
.subtitle-large { font-size: 1.3rem; color: var(--brand-blue); font-weight: 800; text-transform: uppercase; margin-bottom: 20px; display: block; letter-spacing: 1.5px; }
.title-large { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--brand-navy); margin-bottom: 25px; }
.p-large { font-size: 1.2rem; color: #444; margin-bottom: 40px; }

.capabilities-section { padding: 160px 0 var(--section-spacing) 0; background-color: var(--off-white); text-align: center; }
.capabilities-title { font-size: clamp(2.8rem, 8vw, 4.2rem) !important; font-weight: 900 !important; color: var(--brand-navy); margin-bottom: 50px !important; letter-spacing: -1px; }

.unique-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }

.industrial-card {
    position: relative; background: var(--white); padding: 60px 40px; border-radius: 25px; 
    border: 1px solid var(--gray-100); overflow: hidden; transition: var(--transition); 
    z-index: 1; text-align: center;
}
.industrial-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--brand-navy); transition: var(--transition); z-index: -1; }
.industrial-card:hover::before { height: 100%; }

.industrial-card:hover h3 { color: var(--white) !important; }
.industrial-card:hover p { color: rgba(255,255,255,0.8) !important; }
.industrial-card:hover i { color: var(--brand-orange) !important; transform: scale(1.1); }

.industrial-card i { font-size: 3.5rem; color: var(--brand-blue); margin-bottom: 25px; display: block; transition: 0.3s; }
.industrial-card h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 20px; transition: 0.3s; }

.vision-outer-wrapper { padding: var(--section-spacing) 0; background-color: var(--white); }
.vision-premium-card { background: linear-gradient(135deg, var(--brand-navy) 0%, #001a33 100%); border-radius: 40px; padding: 60px; position: relative; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 43, 84, 0.2); }
.vision-premium-card .grid-2 { position: relative; z-index: 2; gap: 60px; }
.vision-brand-img { max-width: 280px; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3)); }
.vision-text-box h2 { color: white !important; font-size: 2.5rem; margin-bottom: 20px; }
.vision-text-box p { color: rgba(255,255,255,0.9); font-size: 1.15rem; }

.aramco-source-box { background-color: var(--brand-navy); color: white; padding: 100px 0; margin: 80px 20px; border-radius: 40px; overflow: hidden; }

footer { background: var(--brand-navy) !important; color: var(--white) !important; padding: 100px 0 20px !important; margin-top: 100px; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; }
.footer-logo { height: 85px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.social-links { display: flex; gap: 15px; margin-top: 30px; }

.social-icon { 
    width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; color: var(--white) !important; 
    transition: 0.3s; text-decoration: none !important; 
}
.social-icon:hover { background: var(--brand-orange); transform: translateY(-5px); }

.footer-heading { font-weight: 900; margin-bottom: 30px; border-bottom: 3px solid var(--brand-orange); display: inline-block; padding-bottom: 8px; color: var(--white); font-size: 1.2rem; }
.footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-links li { margin-bottom: 15px !important; list-style-type: none !important; }
.footer-links li::before { content: none !important; } 

.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none !important; transition: 0.3s; font-size: 1rem; }
.footer-links a:hover { color: var(--brand-orange); padding-inline-start: 8px; }

.footer-address .phone-fix { direction: ltr !important; display: inline-block; unicode-bidi: embed; color: #ffffff !important; font-weight: 700; text-decoration: none !important; }
.footer-address p { color: #ffffff !important; }
.footer-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.4); }

.btn-enterprise { display: inline-flex !important; align-items: center; justify-content: center; padding: 16px 40px !important; border-radius: 12px !important; font-weight: 800 !important; text-decoration: none !important; transition: 0.3s !important; cursor: pointer; border: none; margin-top: 20px; min-width: 200px; box-sizing: border-box; }
.btn-primary { background-color: var(--brand-orange) !important; color: white !important; }
.btn-outline-white { background-color: transparent !important; border: 2px solid #ffffff !important; color: #ffffff !important; }
.btn-outline-white:hover { background-color: #ffffff !important; color: var(--brand-navy) !important; }

@media (max-width: 1024px) {
    header nav#primary-nav:not(.active) { display: none !important; }
    .mobile-toggle { display: flex !important; order: 2; margin-inline-start: 15px; }
    .header-actions { order: 3; }
    .brand-wrapper { order: 1; flex: 1; }
    #primary-nav.active { display: block !important; position: fixed !important; top: 0; right: 0; width: 280px; height: 100vh; background: var(--white); z-index: 9999; padding: 100px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.3); }
    [dir="ltr"] #primary-nav.active { right: auto; left: 0; }
    .nav-list { flex-direction: column !important; gap: 30px; text-align: start !important; }
    .nav-list a { font-size: 1.4rem !important; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px !important; }
    .grid-2, .unique-grid, .footer-grid, .stats-glass-card { grid-template-columns: 1fr !important; gap: 50px; text-align: center; }
    .stat-item { border: none !important; border-bottom: 1px solid #eee !important; padding-bottom: 25px; }
    .footer-logo { margin: 0 auto 25px; }
    .social-links { justify-content: center; }
    .vision-premium-card, .aramco-source-box { margin: 40px 15px !important; border-radius: 25px !important; padding: 50px 20px !important; width: auto !important; }
}

@media (max-width: 768px) {
    .brand-name { font-size: 1.1rem; }
    .logo-img { height: 45px; }
    .hero-title { font-size: 2.2rem !important; }
    .hero-btns { flex-direction: column; align-items: center; }
    .capabilities-title { font-size: 2.5rem !important; }
}

.contact-method-card .phone-fix, .contact-method-card p, .contact-method-card a { color: var(--brand-navy) !important; font-size: 1.2rem !important; text-decoration: none !important; }
@media (max-width: 768px) { .contact-method-card { flex-direction: column; align-items: center; text-align: center; gap: 15px; } }
