:root {
  --green-950: #123b2d;
  --green-900: #174734;
  --green-800: #1d5941;
  --green-700: #216449;
  --green-600: #2f7a5b;
  --green-500: #3b8c6b;
  --lime-500: #8abf3d;
  --lime-300: #c8df8e;
  --gold-500: #d7a72f;
  --ink: #1b2d26;
  --muted: #66756e;
  --line: #dce6e1;
  --soft: #f3f7f5;
  --white: #fff;
  --shadow-sm: 0 12px 30px rgba(18, 59, 45, .08);
  --shadow-md: 0 24px 60px rgba(18, 59, 45, .13);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --transition: 220ms ease;
  --font-latin: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-arabic: "Tajawal", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-latin); line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[data-language="ar"] body { font-family: var(--font-arabic); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(138, 191, 61, .7); outline-offset: 3px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.lang-ar { display: none !important; }
html[data-language="ar"] .lang-en { display: none !important; }
html[data-language="ar"] .lang-ar { display: revert !important; }
html[data-language="ar"] .d-flex.lang-ar { display: flex !important; }
html[data-language="ar"] .d-block.lang-ar { display: block !important; }
html[data-language="ar"] .d-inline.lang-ar { display: inline !important; }

.skip-link { position: fixed; z-index: 2000; inset-inline-start: 1rem; top: -100px; padding: .75rem 1rem; color: white; background: var(--green-900); border-radius: 10px; transition: top var(--transition); }
.skip-link:focus { top: 1rem; }

.topbar { padding: .58rem 0; color: rgba(255,255,255,.84); background: var(--green-950); font-size: .88rem; }
.topbar a { display: inline-flex; align-items: center; gap: .5rem; transition: color var(--transition); }
.topbar a:hover { color: white; }
.topbar-note { color: var(--lime-300); font-weight: 700; }

.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(29,89,65,.09); backdrop-filter: blur(18px); transition: box-shadow var(--transition), background var(--transition); }
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 12px 34px rgba(18,59,45,.09); }
.navbar { min-height: 84px; padding: .35rem 0; }
.brand { display: inline-flex; align-items: center; gap: .8rem; max-width: 330px; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.16; }
.brand-copy strong { color: var(--green-900); font-size: 1rem; font-weight: 800; white-space: nowrap; }
.brand-copy small { margin-top: .18rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.navbar-nav .nav-link { position: relative; padding: .72rem .72rem !important; color: #40534b; font-size: .92rem; font-weight: 700; }
.navbar-nav .nav-link::after { position: absolute; right: .72rem; bottom: .35rem; left: .72rem; height: 2px; content: ""; background: var(--lime-500); border-radius: 10px; transform: scaleX(0); transition: transform var(--transition); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--green-700); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.language-switch { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .65rem; color: #8a958f; border: 1px solid var(--line); border-radius: 999px; }
.language-btn { padding: .1rem .3rem; color: #728078; background: none; border: 0; font-size: .86rem; font-weight: 800; }
.language-btn.active { color: var(--green-700); }
.navbar-toggler { border: 0; box-shadow: none !important; }

.section-anchor { scroll-margin-top: 110px; }
.hero-section { position: relative; overflow: hidden; padding: clamp(5rem, 9vw, 8.5rem) 0 5.6rem; background: linear-gradient(135deg, #f6faf7 0%, #eef7f2 55%, #f7f6e9 100%); }
.hero-section::before { position: absolute; inset: 0; content: ""; opacity: .28; background-image: radial-gradient(rgba(33,100,73,.21) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 78%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 330px; height: 330px; top: -170px; inset-inline-end: 8%; background: rgba(138,191,61,.18); }
.hero-orb-two { width: 210px; height: 210px; bottom: -100px; inset-inline-start: 4%; background: rgba(47,122,91,.12); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; padding: .55rem .85rem; color: var(--green-700); background: rgba(255,255,255,.72); border: 1px solid rgba(33,100,73,.13); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .8rem; font-weight: 800; }
.eyebrow-dot { width: 8px; height: 8px; background: var(--lime-500); border-radius: 50%; box-shadow: 0 0 0 5px rgba(138,191,61,.16); }
.hero-title { max-width: 800px; margin: 0 0 1.4rem; color: var(--green-950); font-size: clamp(2.45rem, 5vw, 4.65rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; }
html[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.28; }
.hero-copy { max-width: 720px; margin: 0 0 1.85rem; color: #51655b; font-size: 1.04rem; line-height: 1.9; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 800; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn-brand { color: white; background: var(--green-700); border-color: var(--green-700); box-shadow: 0 14px 28px rgba(33,100,73,.2); }
.btn-brand:hover { color: white; background: var(--green-800); border-color: var(--green-800); box-shadow: 0 18px 34px rgba(33,100,73,.27); }
.btn-outline-brand { color: var(--green-700); background: rgba(255,255,255,.68); border: 1px solid rgba(33,100,73,.25); }
.btn-outline-brand:hover { color: var(--green-800); background: white; border-color: var(--green-600); }
html[dir="rtl"] .btn .icon { transform: scaleX(-1); }
.hero-quick-contact { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid rgba(33,100,73,.13); }
.hero-quick-contact a { display: inline-flex; align-items: center; gap: .8rem; }
.quick-icon { display: grid; width: 42px; height: 42px; color: var(--green-700); background: white; border-radius: 13px; box-shadow: var(--shadow-sm); place-items: center; }
.hero-quick-contact a > span:last-child { display: flex; flex-direction: column; }
.hero-quick-contact small { color: var(--muted); font-size: .76rem; }
.hero-quick-contact strong { color: var(--green-950); font-size: .88rem; }
.hero-visual { position: relative; max-width: 690px; margin-inline: auto; }
.hero-visual > img { display: block; width: 100%; filter: drop-shadow(0 30px 38px rgba(18,59,45,.08)); }
.floating-card { position: absolute; display: flex; align-items: center; gap: .72rem; min-width: 220px; padding: .9rem 1rem; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 18px 42px rgba(18,59,45,.15); backdrop-filter: blur(12px); animation: floatCard 5s ease-in-out infinite; }
.floating-card-top { top: 12%; inset-inline-start: -2%; }
.floating-card-bottom { right: 2%; bottom: 10%; animation-delay: -2.1s; }
html[dir="rtl"] .floating-card-bottom { right: auto; left: 2%; }
.floating-icon { display: grid; width: 42px; height: 42px; color: var(--green-700); background: #eaf4ed; border-radius: 13px; place-items: center; }
.floating-card div { display: flex; flex-direction: column; line-height: 1.3; }
.floating-card strong { color: var(--green-950); font-size: .84rem; }
.floating-card small { margin-top: .2rem; color: var(--muted); font-size: .7rem; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.trust-strip { position: relative; z-index: 3; margin-top: -1.6rem; }
.trust-strip .container { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 84px; padding: 1rem; color: #53675d; border-inline-end: 1px solid var(--line); font-size: .88rem; font-weight: 800; text-align: center; }
.trust-item .icon { color: var(--green-600); font-size: 1.3rem; }
.trust-strip [class*="col-"]:last-child .trust-item { border-inline-end: 0; }

.section { padding: clamp(5rem, 8vw, 8rem) 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 770px; margin-bottom: 1.8rem; }
.section-heading.mx-auto { max-width: 900px; }
.section-kicker { display: inline-block; margin-bottom: .8rem; color: var(--green-600); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
html[dir="rtl"] .section-kicker { letter-spacing: 0; }
.section-heading h2 { margin: 0; color: var(--green-950); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 820; letter-spacing: -.035em; line-height: 1.18; }
html[dir="rtl"] .section-heading h2 { letter-spacing: 0; line-height: 1.5; }
.about-visual { position: relative; min-height: 510px; }
.about-logo-card { position: absolute; z-index: 2; top: 28px; inset-inline-start: 20px; display: grid; width: 310px; height: 330px; background: linear-gradient(145deg, white, #eef6f1); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); place-items: center; }
.about-logo-card::before { position: absolute; inset: 20px; content: ""; border: 1px dashed rgba(33,100,73,.2); border-radius: 26px; }
.about-year-card { position: absolute; z-index: 3; right: 12px; bottom: 28px; display: flex; flex-direction: column; width: 235px; padding: 1.35rem 1.5rem; color: white; background: var(--green-700); border-radius: 24px; box-shadow: 0 20px 45px rgba(18,59,45,.24); }
html[dir="rtl"] .about-year-card { right: auto; left: 12px; }
.about-year-card span { color: rgba(255,255,255,.75); font-size: .82rem; font-weight: 700; }
.about-year-card strong { margin: .15rem 0; font-size: 3.4rem; font-weight: 850; line-height: 1; }
.about-year-card small { color: var(--lime-300); font-weight: 700; }
.about-pattern { position: absolute; right: 8%; bottom: 5%; width: 260px; height: 260px; opacity: .42; background-image: radial-gradient(var(--lime-500) 1.5px, transparent 1.5px); background-size: 19px 19px; }
.about-copy { color: #52675d; font-size: 1rem; }
.about-copy p { margin-bottom: 1.15rem; }
.partnership-note { display: flex; align-items: flex-start; gap: .85rem; margin-top: 1.8rem; padding: 1.15rem 1.25rem; color: var(--green-900); background: #edf6f0; border-inline-start: 4px solid var(--lime-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
html[dir="rtl"] .partnership-note { border-inline-start: 4px solid var(--lime-500); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.partnership-note .icon { margin-top: .2rem; color: var(--green-600); }

.objective-card { position: relative; height: 100%; min-height: 280px; overflow: hidden; padding: 2rem 1.7rem 1.7rem; background: white; border: 1px solid #e1e9e5; border-radius: var(--radius-md); box-shadow: 0 14px 34px rgba(18,59,45,.05); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.objective-card:hover { transform: translateY(-7px); border-color: rgba(47,122,91,.28); box-shadow: var(--shadow-md); }
.objective-card::after { position: absolute; right: -54px; bottom: -62px; width: 150px; height: 150px; content: ""; background: rgba(138,191,61,.11); border-radius: 50%; transition: transform var(--transition); }
html[dir="rtl"] .objective-card::after { right: auto; left: -54px; }
.objective-card:hover::after { transform: scale(1.18); }
.objective-number { display: block; margin-bottom: 1.25rem; color: #a5b2ac; font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.objective-icon { display: grid; width: 56px; height: 56px; margin-bottom: 1.4rem; color: var(--green-700); background: #edf6f0; border-radius: 17px; place-items: center; }
.objective-icon .icon { width: 28px; height: 28px; }
.objective-card h3 { position: relative; z-index: 2; margin: 0; color: var(--green-950); font-size: 1.03rem; font-weight: 780; line-height: 1.65; }
html[dir="rtl"] .objective-card h3 { line-height: 1.9; }

.projects-section { overflow: hidden; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; color: var(--green-700); font-size: .9rem; font-weight: 850; }
.text-link:hover { color: var(--green-900); }
html[dir="rtl"] .text-link .icon { transform: scaleX(-1); }
.project-card { height: 100%; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.project-art { overflow: hidden; aspect-ratio: 16/10.5; background: #edf4ef; }
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-art img { transform: scale(1.035); }
.project-body { position: relative; padding: 1.45rem 1.35rem 1.6rem; }
.project-label { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; margin-bottom: .85rem; color: var(--green-700); background: #edf6f0; border-radius: 999px; font-size: .75rem; font-weight: 850; }
.project-body h3 { margin: 0; color: var(--green-950); font-size: 1rem; font-weight: 780; line-height: 1.65; }
html[dir="rtl"] .project-body h3 { line-height: 1.9; }

.impact-section { position: relative; overflow: hidden; padding: clamp(4.7rem, 7vw, 7rem) 0; color: white; background: linear-gradient(135deg, var(--green-950), var(--green-700)); }
.impact-section::before { position: absolute; right: -120px; top: -120px; width: 410px; height: 410px; content: ""; background: rgba(138,191,61,.13); border-radius: 50%; }
.impact-section::after { position: absolute; inset: 0; content: ""; opacity: .13; background-image: radial-gradient(white 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to right, transparent, black); }
.impact-section .container { position: relative; z-index: 2; }
.section-heading-light h2 { color: white; }
.section-heading-light .section-kicker { color: var(--lime-300); }
.stat-card { display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 1.35rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; backdrop-filter: blur(8px); }
.stat-card strong { display: flex; align-items: baseline; gap: .15rem; color: white; font-size: clamp(2.7rem, 5vw, 4.5rem); font-weight: 850; line-height: 1; }
.stat-card > span { margin-top: .75rem; color: var(--lime-300); font-size: .9rem; font-weight: 800; }

.how-visual { position: relative; padding: 1.2rem; background: linear-gradient(140deg, #f4f8f5, #f5f1dd); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.how-visual::after { position: absolute; right: -26px; bottom: -26px; width: 110px; height: 110px; content: ""; background: rgba(138,191,61,.23); border-radius: 28px; transform: rotate(14deg); z-index: -1; }
.how-section p { color: #55695f; }
.work-steps { display: grid; gap: .8rem; margin-top: 1.6rem; }
.work-steps > div { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; background: #f4f8f5; border: 1px solid #e3ebe7; border-radius: 15px; }
.work-steps span { display: grid; width: 38px; height: 38px; color: white; background: var(--green-700); border-radius: 12px; font-size: .75rem; font-weight: 850; place-items: center; }
.work-steps strong { color: var(--green-950); font-size: .9rem; }

.custom-accordion .accordion-item { overflow: hidden; margin-bottom: .9rem; border: 1px solid var(--line); border-radius: 16px; }
.custom-accordion .accordion-button { padding: 1.2rem 1.25rem; color: var(--green-950); background: white; box-shadow: none; font-weight: 780; }
.custom-accordion .accordion-button:not(.collapsed) { color: var(--green-700); background: #edf6f0; }
.custom-accordion .accordion-button::after { filter: sepia(1) saturate(3) hue-rotate(80deg); }
.custom-accordion .accordion-body { color: #5d6f66; background: white; }
html[dir="rtl"] .accordion-button::after { margin-right: auto; margin-left: 0; }

.contact-section { padding-top: 3.8rem; }
.contact-panel { overflow: hidden; color: white; background: var(--green-950); border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(18,59,45,.22); }
.contact-intro { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4.2rem); background: linear-gradient(145deg, var(--green-700), var(--green-900)); }
.contact-intro::after { position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; content: ""; background: rgba(138,191,61,.16); border-radius: 50%; }
.contact-intro h2 { position: relative; z-index: 2; margin: 0 0 1rem; color: white; font-size: clamp(2rem, 4vw, 3rem); font-weight: 820; line-height: 1.24; }
.contact-intro p { position: relative; z-index: 2; max-width: 440px; color: rgba(255,255,255,.72); }
.section-kicker-light { color: var(--lime-300); }
.contact-logo { position: relative; z-index: 2; display: grid; width: 138px; height: 138px; margin-top: 2rem; background: rgba(255,255,255,.95); border-radius: 28px; box-shadow: var(--shadow-md); place-items: center; }
.contact-details { padding: clamp(2rem, 4vw, 3.2rem); background: white; }
.contact-card { display: flex; align-items: center; gap: .85rem; height: 100%; min-height: 96px; padding: 1rem; color: var(--green-950); background: #f5f8f6; border: 1px solid #e3ebe7; border-radius: 17px; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
a.contact-card:hover { transform: translateY(-3px); background: #edf6f0; border-color: rgba(47,122,91,.25); }
.contact-card-icon { display: grid; width: 44px; height: 44px; color: var(--green-700); background: white; border-radius: 13px; box-shadow: 0 8px 18px rgba(18,59,45,.08); place-items: center; }
.contact-card > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.contact-card small { color: var(--muted); font-size: .73rem; font-weight: 700; }
.contact-card strong { overflow-wrap: anywhere; font-size: .85rem; font-weight: 800; line-height: 1.4; }
.address-line { display: flex; align-items: flex-start; gap: .75rem; padding: 1.1rem 1.2rem; color: #4f6259; background: #f3f7f5; border-inline-start: 4px solid var(--lime-500); border-radius: 0 14px 14px 0; }
html[dir="rtl"] .address-line { border-radius: 14px 0 0 14px; }
.address-line .icon { margin-top: .2rem; color: var(--green-700); }

.site-footer { padding: 3.5rem 0 1.3rem; color: rgba(255,255,255,.72); background: #0d2d22; }
.footer-brand { display: inline-flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 70px; height: 70px; padding: 5px; background: white; border-radius: 17px; }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { color: white; font-size: .96rem; }
.footer-brand small { margin-top: .3rem; font-size: .76rem; }
.footer-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .8rem 1.5rem; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: .86rem; font-weight: 750; transition: color var(--transition); }
.footer-nav a:hover { color: var(--lime-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.back-to-top { position: fixed; z-index: 1050; right: 22px; bottom: 22px; display: grid; width: 46px; height: 46px; color: white; background: var(--green-700); border: 0; border-radius: 50%; box-shadow: 0 12px 28px rgba(18,59,45,.24); opacity: 0; visibility: hidden; transform: translateY(12px) rotate(-90deg); transition: all var(--transition); place-items: center; }
html[dir="rtl"] .back-to-top { right: auto; left: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(-90deg); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1199.98px) {
  .brand-copy strong { font-size: .9rem; }
  .navbar-nav .nav-link { padding-inline: .48rem !important; font-size: .84rem; }
  .floating-card-top { inset-inline-start: 0; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 88px; }
  .navbar { min-height: 78px; }
  .navbar-collapse { margin-top: .6rem; padding: .75rem; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); }
  .navbar-nav .nav-link { padding: .7rem .8rem !important; }
  .navbar-nav .nav-link::after { display: none; }
  .language-switch { margin-bottom: .4rem; }
  .hero-section { padding-top: 4.4rem; }
  .hero-title { max-width: 850px; }
  .hero-visual { max-width: 620px; }
  .trust-strip { margin-top: -1rem; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-strip [class*="col-"]:nth-child(even) .trust-item { border-inline-end: 0; }
  .about-visual { min-height: 470px; max-width: 580px; margin-inline: auto; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .brand { max-width: 250px; }
  .brand img { width: 56px; height: 56px; }
  .brand-copy strong { font-size: .78rem; white-space: normal; }
  .brand-copy small { font-size: .65rem; }
  .hero-section { padding-bottom: 4rem; }
  .hero-title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .hero-copy { font-size: .96rem; }
  .hero-actions .btn { width: 100%; }
  .hero-quick-contact { flex-direction: column; }
  .floating-card { min-width: 190px; padding: .7rem .8rem; }
  .floating-card-top { top: 6%; }
  .floating-card-bottom { bottom: 5%; }
  .trust-strip .container { border-radius: 18px; }
  .trust-item { min-height: 76px; padding: .8rem .55rem; font-size: .76rem; }
  .section { padding: 4.7rem 0; }
  .section-heading h2 { font-size: 2rem; }
  .about-visual { min-height: 420px; }
  .about-logo-card { width: 270px; height: 285px; inset-inline-start: 0; }
  .about-logo-card img { width: 150px; height: 150px; }
  .about-year-card { width: 205px; right: 0; bottom: 10px; }
  html[dir="rtl"] .about-year-card { right: auto; left: 0; }
  .objective-card { min-height: 0; }
  .stat-card { min-height: 145px; text-align: center; align-items: center; }
  .contact-panel { border-radius: 24px; }
  .contact-intro, .contact-details { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .brand-copy small { display: none !important; }
  .brand { gap: .5rem; }
  .hero-visual { margin-top: .6rem; }
  .floating-card { position: relative; inset: auto !important; width: calc(100% - 2rem); margin: .7rem auto 0; animation: none; }
  .floating-card-bottom { right: auto; }
  .about-visual { min-height: 380px; }
  .about-logo-card { width: 230px; height: 250px; }
  .about-year-card { width: 185px; }
  .about-year-card strong { font-size: 2.8rem; }
  .contact-card { min-height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   V2 visual refinements: typography, language clarity and lively interactions
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  z-index: 2200;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime-500), var(--green-500), var(--green-800));
  box-shadow: 0 1px 8px rgba(47,122,91,.28);
  pointer-events: none;
  transition: width 80ms linear;
}

body::selection { color: white; background: var(--green-700); }

.language-switch {
  direction: ltr;
  gap: .25rem;
  padding: .28rem;
  background: #f4f8f6;
  border-color: #dbe7e0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.language-divider { width: 1px; height: 20px; background: #d4e1da; }
.language-btn {
  min-width: 72px;
  padding: .42rem .65rem;
  border-radius: 999px;
  font-family: var(--font-latin);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}
#languageArabic { font-family: var(--font-arabic); font-size: .84rem; }
.language-btn:hover { color: var(--green-800); transform: translateY(-1px); }
.language-btn.active {
  color: white;
  background: var(--green-700);
  box-shadow: 0 6px 14px rgba(33,100,73,.2);
}

.brand-copy strong,
.navbar-nav .nav-link,
.section-heading h2,
.objective-card h3,
.project-body h3,
.contact-intro h2 { font-family: inherit; }

.hero-section {
  isolation: isolate;
  padding-top: clamp(4.4rem, 8vw, 7.2rem);
  background:
    radial-gradient(circle at 8% 18%, rgba(138,191,61,.14), transparent 27%),
    radial-gradient(circle at 90% 15%, rgba(47,122,91,.12), transparent 31%),
    linear-gradient(135deg, #f8fbf9 0%, #edf7f1 52%, #f9f7e9 100%);
}
.hero-section::after {
  position: absolute;
  z-index: -1;
  inset: auto 6% 10% auto;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(33,100,73,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(33,100,73,.025), 0 0 0 58px rgba(138,191,61,.025);
  animation: breatheRing 7s ease-in-out infinite;
}
.hero-orb-one { animation: orbDriftOne 10s ease-in-out infinite; }
.hero-orb-two { animation: orbDriftTwo 12s ease-in-out infinite; }
.eyebrow {
  margin-bottom: 1.15rem;
  padding: .48rem .8rem;
  box-shadow: 0 10px 28px rgba(18,59,45,.06);
}
.eyebrow-dot { animation: pulseDot 2.2s ease-in-out infinite; }
.hero-title {
  max-width: 710px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.1rem, 4.05vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  text-wrap: balance;
}
html[data-language="ar"] .hero-title {
  max-width: 690px;
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.42;
}
.title-accent {
  color: var(--green-600);
  background: linear-gradient(100deg, var(--green-700), #4c986e 55%, #76a937);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-short {
  display: inline-block;
  color: #718078;
  font-size: .46em;
  font-weight: 700;
  letter-spacing: .01em;
  vertical-align: .28em;
}
.hero-copy {
  max-width: 675px;
  margin-bottom: 1.55rem;
  color: #4e6258;
  font-size: 1rem;
  line-height: 1.85;
}
html[data-language="ar"] .hero-copy { font-size: 1.05rem; line-height: 2; }
.hero-visual {
  transform-style: preserve-3d;
  transition: transform 260ms ease-out;
  will-change: transform;
}
.hero-visual > img { animation: heroFloat 6.5s ease-in-out infinite; }
.floating-card-top { animation: floatCard 5.2s ease-in-out infinite; }
.floating-card-bottom { animation: floatCardAlt 5.8s ease-in-out infinite; }

.btn-brand { position: relative; overflow: hidden; }
.btn-brand::after {
  position: absolute;
  top: -50%;
  left: -80%;
  width: 42%;
  height: 200%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: rotate(18deg);
  transition: left .65s ease;
}
.btn-brand:hover::after { left: 135%; }
.btn .icon { transition: transform var(--transition); }
.btn:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .icon { transform: scaleX(-1) translateX(4px); }

.trust-item { transition: color var(--transition), background var(--transition), transform var(--transition); }
.trust-item:hover { color: var(--green-800); background: #f7faf8; transform: translateY(-2px); }
.trust-item .icon { transition: transform var(--transition); }
.trust-item:hover .icon { transform: scale(1.13) rotate(-4deg); }

.section-soft {
  background:
    linear-gradient(rgba(243,247,245,.94), rgba(243,247,245,.94)),
    radial-gradient(circle at 1px 1px, rgba(33,100,73,.16) 1px, transparent 0);
  background-size: auto, 24px 24px;
}
.section-kicker {
  position: relative;
  padding-inline-start: 1.1rem;
}
.section-kicker::before {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--lime-500);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(138,191,61,.13);
}
.section-heading h2 { text-wrap: balance; }

.about-logo-card,
.about-year-card,
.objective-card,
.project-card,
.stat-card,
.contact-card { will-change: transform; }
.about-logo-card { animation: cardBreathe 7s ease-in-out infinite; }
.about-year-card { animation: cardBreatheAlt 6.2s ease-in-out infinite; }
.objective-card:hover .objective-icon { transform: rotate(-5deg) scale(1.08); }
.objective-icon { transition: transform var(--transition), background var(--transition); }
.objective-card:hover .objective-icon { background: #e4f1e9; }
.project-card { position: relative; }
.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color var(--transition);
}
.project-card:hover::after { border-color: rgba(138,191,61,.5); }
.project-art { position: relative; }
.project-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(18,59,45,.08), transparent 45%);
  pointer-events: none;
}
.stat-card { transition: transform var(--transition), background var(--transition), border-color var(--transition); }
.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); border-color: rgba(200,223,142,.42); }
.stat-card strong { text-shadow: 0 8px 24px rgba(0,0,0,.14); }
.contact-panel { position: relative; }
.contact-panel::before {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 -40%;
  width: 18%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
  transform: skewX(-18deg);
  animation: panelSheen 8s ease-in-out infinite;
}

.reveal { transform: translateY(28px) scale(.985); }
.reveal.is-visible { transform: translateY(0) scale(1); }

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(138,191,61,.14); }
  50% { box-shadow: 0 0 0 9px rgba(138,191,61,.04); }
}
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatCardAlt { 0%,100% { transform: translateY(0) rotate(.4deg); } 50% { transform: translateY(9px) rotate(-.5deg); } }
@keyframes orbDriftOne { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-24px,20px,0) scale(1.07); } }
@keyframes orbDriftTwo { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(28px,-18px,0); } }
@keyframes breatheRing { 0%,100% { transform: scale(.96); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes cardBreathe { 0%,100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-5px) rotate(.3deg); } }
@keyframes cardBreatheAlt { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes panelSheen { 0%, 68% { left: -40%; } 88%,100% { left: 130%; } }

@media (max-width: 991.98px) {
  .language-switch { display: flex; width: fit-content; }
  .hero-title { max-width: 760px; font-size: clamp(2.15rem, 7vw, 3.35rem); }
  html[data-language="ar"] .hero-title { max-width: 760px; font-size: clamp(2.15rem, 6.6vw, 3.2rem); }
}

@media (max-width: 767.98px) {
  .hero-section { padding-top: 3.7rem; }
  .hero-title { font-size: clamp(1.95rem, 9.8vw, 2.65rem); line-height: 1.16; }
  html[data-language="ar"] .hero-title { font-size: clamp(2rem, 9.4vw, 2.65rem); line-height: 1.48; }
  .title-short { display: block; margin-top: .35rem; font-size: .4em; vertical-align: 0; }
  .hero-copy { font-size: .94rem; line-height: 1.8; }
  html[data-language="ar"] .hero-copy { font-size: 1rem; line-height: 1.95; }
  .language-btn { min-width: 66px; }
  .floating-card { min-width: 178px; }
  .scroll-progress { height: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-visual { transform: none !important; }
}

/* Final title-size tuning requested for the home page. */
.hero-title { font-size: clamp(2.05rem, 3.65vw, 3.25rem); }
html[data-language="ar"] .hero-title { font-size: clamp(2.08rem, 3.45vw, 3.1rem); }
@media (max-width: 991.98px) {
  .hero-title { font-size: clamp(2.05rem, 6.4vw, 3rem); }
  html[data-language="ar"] .hero-title { font-size: clamp(2.08rem, 6vw, 2.9rem); }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: clamp(1.9rem, 9.2vw, 2.45rem); }
  html[data-language="ar"] .hero-title { font-size: clamp(1.95rem, 8.9vw, 2.45rem); }
}

/* Prevent decorative elements from creating horizontal scrolling on phones. */
body { overflow-x: hidden; }
.hero-title { width: 100%; max-width: 710px; }
@media (max-width: 767.98px) {
  .hero-title { max-width: 100%; font-size: clamp(1.8rem, 8.5vw, 2.3rem); }
  html[data-language="ar"] .hero-title { max-width: 100%; font-size: clamp(1.82rem, 8.15vw, 2.18rem); }
}
html[dir="rtl"] .hero-title { padding-inline-end: .16em; }
