/* --- VARIABLES --- */
:root {
    /* Brand Colors - Deep Corporate Teal */
    --primary: #368F8B; 
    --primary-dark: #2A706D;
    --primary-light: #5CDCD7;
    
    /* UI Colors */
    --secondary: #1A262D; 
    
    /* Text Colors */
    --text-main: #2C3E50;
    --text-light: #7F8C8D;
    
    /* Backgrounds */
    --bg-body: #F8F9FB; 
    --bg-card: #FFFFFF;
    
    /* Effects */
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 60px -15px rgba(54, 143, 139, 0.2);
    
    /* Fonts */
    --font-en: 'Montserrat', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

/* --- DARK MODE --- */
body.dark-mode {
    --text-main: #F1F5F9;
    --text-light: #94A3B8;
    --bg-body: #0B1120; 
    --bg-card: #1E293B;
    --glass: rgba(15, 23, 42, 0.95);
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.6);
    --secondary: #0F172A;
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px;
    width: 100%;
}

body {
    font-family: var(--font-en);
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden; /* Fixes white gap */
    width: 100%;
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
}

html[lang="ar"] body { font-family: var(--font-ar); direction: rtl; }
html[lang="en"] body { direction: ltr; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { width: 100%; display: block; }
ul { list-style: none; }

.container { width: 92%; max-width: 1300px; margin: 0 auto; }

/* --- LOADER --- */
#loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-body); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease;
}
.spinner-box { width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; background: transparent; }
.pulse-container { width: 120px; display: flex; justify-content: space-between; align-items: center; }
.pulse-bubble { width: 20px; height: 20px; border-radius: 50%; background-color: var(--primary); }
.pulse-bubble-1 { animation: pulse .4s ease 0s infinite alternate; }
.pulse-bubble-2 { animation: pulse .4s ease .2s infinite alternate; }
.pulse-bubble-3 { animation: pulse .4s ease .4s infinite alternate; }
@keyframes pulse { from { opacity: 1; transform: scale(1); } to { opacity: .25; transform: scale(.75); } }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    height: 90px; display: flex; align-items: center;
}

.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 80px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}
body.dark-mode .navbar.scrolled {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.nav-logo {
    height: 55px; 
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s;
}
.nav-logo:hover { transform: scale(1.05); }

/* Navigation Links */
.nav-links { display: flex; gap: 25px; }

.nav-links a {
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative; 
    color: #ffffff !important; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    opacity: 0.95;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--primary) !important; 
    text-shadow: none;
    opacity: 1;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar.scrolled .nav-links a {
    color: var(--text-main) !important; 
    text-shadow: none;
}
.navbar.scrolled .nav-links a:hover, 
.navbar.scrolled .nav-links a.active {
    color: var(--primary) !important;
}

.highlight-link { color: var(--primary-light) !important; font-weight: 700 !important; }

/* Controls */
.controls { display: flex; gap: 12px; align-items: center; margin-left: 20px; }
html[lang="ar"] .controls { margin-left: 0; margin-right: 20px; }

.icon-btn { 
    background: none; border: none; font-size: 1.2rem; 
    cursor: pointer; 
    color: #ffffff !important; 
    transition: transform 0.3s;
    padding: 5px;
}
.navbar.scrolled .icon-btn { color: var(--text-main) !important; }
.icon-btn:hover { transform: rotate(25deg); color: var(--primary) !important; }

.lang-btn {
    background: var(--primary); color: white; padding: 6px 18px;
    border-radius: 50px; border: none; font-weight: 700; cursor: pointer;
    font-size: 0.8rem; box-shadow: 0 4px 15px rgba(54, 143, 139, 0.4); 
    transition: all 0.3s;
    white-space: nowrap;
}
.lang-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: #ffffff !important; padding: 5px; }
.navbar.scrolled .mobile-menu-btn { color: var(--text-main) !important; }

/* --- SECTIONS --- */
.page-section { display: block; }
#home { padding-top: 0; }

.hero-wrapper {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    animation: zoomSlow 25s infinite alternate;
}
@keyframes zoomSlow { from { transform: scale(1); } to { transform: scale(1.1); } }

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(54, 143, 139, 0.75) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; color: white; margin-top: -40px;
}
.hero-text-box { max-width: 850px; }

.highlight-badge {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px; border-radius: 50px; font-size: 0.8rem; letter-spacing: 2px;
    font-weight: 700; text-transform: uppercase; display: inline-block; 
    margin-bottom: 25px; backdrop-filter: blur(10px);
}

.hero-text-box h1 { 
    font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 15px; 
    letter-spacing: -2px;
}
.hero-text-box h2 { 
    font-size: 2rem; font-weight: 300; opacity: 0.95; margin-bottom: 35px; 
}
.hero-text-box p { 
    font-size: 1.1rem; line-height: 1.8; opacity: 0.9; margin-bottom: 50px; max-width: 650px; font-weight: 300;
}

.btn {
    padding: 16px 40px; border-radius: 50px; font-weight: 700; cursor: pointer;
    border: none; transition: all 0.4s; 
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; 
    display: inline-block; position: relative; overflow: hidden;
}
.btn-primary { 
    background: var(--primary); color: white; 
    box-shadow: 0 10px 30px rgba(54, 143, 139, 0.4); 
}
.btn-primary:hover { 
    background: white; color: var(--primary); transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(54, 143, 139, 0.3);
}

.shimmer-btn::before {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.shimmer-btn:hover::before { left: 100%; }

.btn-outline { 
    background: transparent; border: 2px solid rgba(255,255,255,0.7); color: white; 
    margin-left: 20px;
}
html[lang="ar"] .btn-outline { margin-left: 0; margin-right: 20px; }
.btn-outline:hover { 
    background: white; color: var(--secondary); border-color: white; 
    transform: translateY(-4px);
}

.scroll-down {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; z-index: 2; opacity: 0.7;
}
.mouse {
    width: 26px; height: 42px; border: 2px solid #fff; border-radius: 20px; margin-bottom: 5px;
}
.wheel {
    width: 4px; height: 4px; background: #fff; border-radius: 50%; margin: 6px auto;
    animation: mouseWheel 1.5s infinite;
}
@keyframes mouseWheel { to { transform: translateY(20px); opacity: 0; } }

/* --- TRUSTED BY SECTION --- */
.trusted-section {
    padding: 60px 0 80px 0; 
    text-align: center;
    background-color: var(--bg-body);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.section-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 700;
    opacity: 0.6;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    align-items: center;
}
.partners-grid img {
    height: 80px; 
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.5s ease;
}
.partners-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
body.dark-mode .partners-grid img { filter: grayscale(100%) brightness(2); opacity: 0.3; }
body.dark-mode .partners-grid img:hover { filter: grayscale(0%) brightness(1); opacity: 1; }

/* Partner More Badge */
.partner-more {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 80px; width: 100px;
    background: var(--bg-card); border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.partner-more:hover { transform: scale(1.1); }
.pm-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.pm-text { font-size: 0.7rem; text-transform: uppercase; color: var(--text-light); letter-spacing: 1px; }

/* --- STRATEGIC PARTNERSHIP --- */
.partnership-box {
    background: var(--bg-card); 
    border-radius: 20px; 
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 50px;
}
body.dark-mode .partnership-box { border-color: rgba(255,255,255,0.05); }

.partner-logo-area { margin-bottom: 40px; }
.lenovo-brand {
    font-size: 3rem; font-weight: 900; color: #E2231A; 
    margin: 0; letter-spacing: -1px;
}
.brand-360 { color: var(--secondary); }
body.dark-mode .brand-360 { color: white; }

.partner-badge {
    background: var(--secondary); color: white; padding: 5px 20px;
    border-radius: 50px; font-size: 0.9rem; font-weight: 600; 
    display: inline-block; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px;
}

.accreditation-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.acc-item {
    background: rgba(54, 143, 139, 0.05); padding: 20px; border-radius: 12px;
    display: flex; align-items: center; gap: 15px; text-align: left;
    transition: transform 0.3s ease;
}
.acc-item:hover { transform: translateY(-5px); background: rgba(54, 143, 139, 0.1); }
html[lang="ar"] .acc-item { text-align: right; }

.acc-item i { font-size: 1.5rem; color: var(--primary); }
.acc-item span { font-weight: 600; color: var(--secondary); font-size: 0.95rem; line-height: 1.4; }
body.dark-mode .acc-item span { color: var(--text-main); }

/* --- HEADERS --- */
.page-header {
    padding: 80px 0 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-header h1 {
    color: var(--secondary);
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    letter-spacing: -1px;
    margin: 0 0 15px 0;
}
body.dark-mode .page-header h1 { color: white; }

.header-line {
    width: 70px; height: 5px; background: var(--primary);
    border-radius: 10px; margin-bottom: 50px;
}

/* --- SERVICES CONTENT --- */
.content-wrapper { padding: 0 0 100px 0; }

.detailed-service {
    display: flex; gap: 60px; margin-bottom: 120px; align-items: center;
}
.detailed-service.reverse { flex-direction: row-reverse; }

.ds-image { 
    flex: 1.1; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    height: 450px;
    position: relative;
}
.ds-image::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.1); transition: 0.5s;
}
.detailed-service:hover .ds-image::after { background: rgba(0,0,0,0); }

.ds-image img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
.detailed-service:hover .ds-image img { transform: scale(1.05); }

.ds-text { flex: 1; }
.ds-icon { 
    font-size: 3rem; color: var(--primary); margin-bottom: 25px; 
    width: 70px; height: 70px; background: rgba(54, 143, 139, 0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.ds-text h2 { 
    font-size: 2.2rem; color: var(--secondary); margin-bottom: 25px; line-height: 1.2; font-weight: 700;
}
body.dark-mode .ds-text h2 { color: white; }
.ds-text p { 
    color: var(--text-main); line-height: 1.8; margin-bottom: 25px; font-size: 1.05rem; opacity: 0.9;
}

/* --- WORK EXPERIENCE --- */
.bg-alt { background-color: rgba(54, 143, 139, 0.03); }

.experience-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px; padding-bottom: 80px;
}
.exp-card {
    background: var(--bg-card); padding: 50px; border-radius: 20px;
    box-shadow: var(--shadow); transition: 0.4s ease; border: 1px solid rgba(0,0,0,0.03);
    display: flex; flex-direction: column; height: 100%;
}
.exp-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
body.dark-mode .exp-card { border-color: rgba(255,255,255,0.05); }

.card-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.exp-logo {
    width: 60px; height: 60px;
    background: var(--bg-body);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}
.exp-logo img {
    width: 100%; height: 100%; object-fit: contain;
    filter: none; 
}
.exp-card h3 { font-size: 1.4rem; color: var(--secondary); margin-bottom: 5px; }
.exp-date { font-size: 0.9rem; color: var(--primary); font-weight: 600; text-transform: uppercase; }

.card-body p { font-size: 1rem; color: var(--text-main); margin-bottom: 25px; line-height: 1.6; }
.quote-box {
    background: rgba(54, 143, 139, 0.05); padding: 20px; border-radius: 10px;
    border-left: 4px solid var(--primary); display: flex; gap: 15px;
}
.quote-box i { color: var(--primary); font-size: 1.2rem; margin-top: 2px; }
.quote-box p { margin: 0; font-style: italic; font-weight: 500; font-size: 0.95rem; }

.card-footer { margin-top: auto; padding-top: 25px; border-top: 1px solid rgba(0,0,0,0.05); }
.badge { 
    background: #e6f7f6; color: var(--primary-dark); padding: 5px 15px; 
    border-radius: 30px; font-size: 0.8rem; font-weight: 700; 
}
body.dark-mode .badge { background: rgba(54, 143, 139, 0.2); color: var(--primary-light); }

/* --- MORE EXPERIENCE CARD --- */
.more-exp-card {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}
.more-exp-card .plus-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    color: white;
}
.more-exp-card h3 { color: white; margin-bottom: 10px; }
.more-exp-card p { color: rgba(255,255,255,0.9); font-size: 1rem; }

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center; }
.about-main h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 30px; }
.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    flex-wrap: nowrap; 
    margin-top: 60px;
    padding: 50px;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
    gap: 20px; 
}
body.dark-mode .stats-row { border-color: rgba(255,255,255,0.05); }

.stat { flex: 1; text-align: center; min-width: 120px; }
.stat .num { 
    display: inline-block; 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: var(--secondary); 
    line-height: 1;
    white-space: nowrap; 
}
.stat span { font-size: 3.5rem; font-weight: 800; color: var(--primary); }
.stat .lbl { 
    display: block; font-size: 0.9rem; text-transform: uppercase; 
    letter-spacing: 1px; color: var(--text-light); font-weight: 600; margin-top: 10px;
}
body.dark-mode .stat .num { color: white; }

.info-card { 
    background: var(--secondary); color: white; padding: 60px; 
    border-radius: 25px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.info-card::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 300px; height: 300px; background: var(--primary);
    border-radius: 50%; opacity: 0.1; filter: blur(50px);
}
.info-card h4 { font-size: 1.5rem; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.info-card ul li { margin-bottom: 25px; display: flex; gap: 20px; align-items: center; font-size: 1.05rem; }
.info-card i { color: var(--primary); width: 25px; }

/* --- CONTACT --- */
.contact-box {
    display: grid; grid-template-columns: 1fr 1.5fr; background: var(--bg-card);
    border-radius: 30px; overflow: hidden; box-shadow: var(--shadow);
}
.contact-info { 
    background: var(--secondary); color: white; padding: 80px 60px; position: relative; overflow: hidden;
}
.contact-info::after {
    content: ''; position: absolute; bottom: -50px; left: -50px;
    width: 200px; height: 200px; border-radius: 50%; 
    background: var(--primary); opacity: 0.1;
}

.contact-info h2 { font-size: 2.8rem; margin-bottom: 15px; }
.contact-info p { opacity: 0.7; margin-bottom: 50px; line-height: 1.6; }

.ci-row { display: flex; gap: 25px; margin-bottom: 40px; align-items: flex-start; }
.icon-circle { 
    width: 50px; height: 50px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.2rem; flex-shrink: 0;
}
.map-wrapper {
    margin-top: 15px; width: 100%; border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.map-frame { width: 100%; height: 180px; border: 0; filter: grayscale(0.2); transition: 0.3s; }
.map-frame:hover { filter: grayscale(0); }

.social-links { margin-top: 60px; display: flex; gap: 15px; }
.social-links a {
    width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; transition: 0.3s; color: white; font-size: 1.2rem;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

.contact-form { padding: 80px 60px; }
.input-group { position: relative; margin-bottom: 40px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 15px 0; border: none; border-bottom: 2px solid #e0e0e0;
    background: transparent; color: var(--text-main); font-size: 1.1rem; transition: 0.3s;
    font-family: inherit;
}
.input-group textarea { height: 100px; resize: none; }
.input-group label {
    position: absolute; left: 0; top: 15px; color: var(--text-light);
    pointer-events: none; transition: 0.3s; font-size: 1rem;
}
html[lang="ar"] .input-group label { left: auto; right: 0; }

.input-group input:focus, .input-group textarea:focus { border-bottom-color: var(--primary); }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px; font-size: 0.85rem; color: var(--primary); font-weight: 600;
}
.full { width: 100%; margin-top: 10px; }

/* --- FOOTER --- */
footer {
    background: var(--secondary); color: white; text-align: center; padding: 80px 0;
}
.footer-logo { 
    height: 70px; width: auto; margin: 0 auto 30px; object-fit: contain; 
    filter: brightness(0) invert(1); opacity: 0.9; 
}
footer p { opacity: 0.5; font-size: 0.9rem; letter-spacing: 1px; }

/* --- ANIMATIONS (FADE UP) --- */
.fade-up { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* --- RESPONSIVE MOBILE FIX --- */
@media (max-width: 900px) {
    .detailed-service, .detailed-service.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .ds-text { display: flex; flex-direction: column; align-items: center; }
    .about-grid, .contact-box { grid-template-columns: 1fr; }
    .ds-image img { height: 350px; }
    .stats-row { flex-direction: column; gap: 40px; padding: 40px 20px; }
    .hero-text-box h1 { font-size: 3rem; }
    .contact-info, .contact-form { padding: 40px 20px; }
    .experience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Navbar Mobile Layout */
    .navbar { height: 70px; }
    .nav-container { padding: 0 15px; }
    .nav-logo { height: 40px; max-width: 180px; } 
    
    /* Side Drawer Menu */
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 80%;
        background: var(--bg-card); flex-direction: column; 
        padding: 100px 40px; gap: 25px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2); 
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-links.active { right: 0; }
    
    html[lang="ar"] .nav-links { right: auto; left: -100%; transition: left 0.4s; }
    html[lang="ar"] .nav-links.active { left: 0; }
    
    /* Menu Links Styling */
    .nav-links a { 
        color: var(--text-main) !important; 
        text-shadow: none; 
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 15px;
        white-space: normal;
    }
    .nav-links a::after { display: none; }

    /* Controls */
    .mobile-menu-btn { display: block; z-index: 1001; font-size: 1.4rem; padding: 5px; }
    .controls { gap: 8px; margin-left: 10px; }
    html[lang="ar"] .controls { margin-left: 0; margin-right: 10px; }
    
    /* Hero Adjustments */
    .hero-text-box { margin-top: 30px; }
    .hero-text-box h1 { font-size: 2.2rem; letter-spacing: -1px; margin-bottom: 10px; }
    .hero-text-box h2 { font-size: 1.3rem; margin-bottom: 15px; }
    .hero-text-box p { font-size: 0.95rem; margin-bottom: 30px; }
    .hero-actions { display: flex; flex-direction: column; gap: 15px; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .btn-outline { margin: 0; }
    
    /* Grid Adjustments */
    .partners-grid { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px; 
        justify-items: center; 
    }
    .partners-grid img { 
        height: 50px; 
        max-width: 140px; 
        filter: grayscale(0%); 
        opacity: 0.8; 
    }
    .accreditation-grid { grid-template-columns: 1fr; }
    
    /* Experience Cards */
    .exp-card { padding: 30px; }
    
    /* Section Headers */
    .page-header { padding: 60px 0 30px 0; }
    .page-header h1 { font-size: 2rem; }
    
    /* Content Padding */
    .content-wrapper { padding: 0 0 60px 0; }
}

@media (max-width: 480px) {
    .nav-logo { height: 32px; }
    .hero-text-box h1 { font-size: 1.8rem; }
    .partners-grid { gap: 15px; }
}