/* ===== ALNABAA AL AZEEM – Theme ===== */
:root{
  --navy:#2E3A7C;
  --navy-dark:#1f2a5f;
  --navy-light:#4351a8;
  --orange:#E85A2C;
  --orange-dark:#c64718;
  --orange-light:#ff7a4d;
  --bg:#ffffff;
  --bg-soft:#f6f7fb;
  --text:#1a1f3a;
  --muted:#6b7280;
  --border:#e6e8f0;
  --shadow-sm:0 4px 14px rgba(46,58,124,.08);
  --shadow:0 12px 30px rgba(46,58,124,.12);
  --radius:14px;
  --radius-lg:22px;
  --container:1200px;
  --font-en:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-ar:'Tajawal','Segoe UI',Tahoma,sans-serif;
  --font-ar-display:'El Messiri','Tajawal',Tahoma,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-en);
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body{font-family:var(--font-ar);letter-spacing:0}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .brand-text strong,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .eyebrow{font-family:var(--font-ar-display);font-weight:700;letter-spacing:0}
html[dir="rtl"] .btn{font-family:var(--font-ar);font-weight:700}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;padding:0;margin:0}
h1,h2,h3,h4{font-weight:800;line-height:1.2;margin:0 0 .5em;color:var(--navy)}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 20px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.85rem 1.6rem;border-radius:50px;
  font-weight:600;font-size:.95rem;
  cursor:pointer;border:2px solid transparent;
  transition:all .25s ease;white-space:nowrap;
}
.btn-primary{background:var(--orange);color:#fff;border-color:var(--orange)}
.btn-primary:hover{background:var(--orange-dark);border-color:var(--orange-dark);transform:translateY(-2px);box-shadow:0 10px 24px rgba(232,90,44,.35)}
.btn-outline{background:transparent;color:#fff;border-color:#fff}
.btn-outline:hover{background:#fff;color:var(--navy)}
.btn-block{width:100%;justify-content:center}

/* ===== Top Bar ===== */
.topbar{background:var(--navy-dark);color:#fff;font-size:.85rem;padding:.55rem 0}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.topbar-contact{display:flex;gap:1.2rem;flex-wrap:wrap}
.topbar-contact a{display:inline-flex;align-items:center;gap:.4rem;opacity:.9;transition:opacity .2s}
.topbar-contact a:hover{opacity:1;color:var(--orange-light)}
.topbar-right{display:flex;align-items:center;gap:1rem}
.socials{display:flex;gap:.5rem}
.socials a{
  width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.1);
  display:inline-flex;align-items:center;justify-content:center;
  transition:all .2s;font-size:.8rem;
}
.socials a:hover{background:var(--orange);transform:translateY(-2px)}
.lang-toggle{
  background:var(--orange);color:#fff;border:none;
  padding:.4rem .9rem;border-radius:50px;
  cursor:pointer;font-weight:600;font-size:.8rem;
  display:inline-flex;align-items:center;gap:.4rem;
  transition:background .2s;
}
.lang-toggle:hover{background:var(--orange-dark)}

/* ===== Navbar ===== */
.navbar{
  background:#fff;
  position:sticky;top:0;z-index:100;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .2s;
}
.navbar.scrolled{box-shadow:0 6px 24px rgba(46,58,124,.12)}
.nav-inner{position:relative;display:flex;justify-content:space-between;align-items:center;padding:.75rem 20px;gap:1rem}
.brand{display:flex;align-items:center;gap:.7rem}
.brand img{width:48px;height:48px;object-fit:contain}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{color:var(--navy);font-size:1rem;font-weight:800}
.brand-text small{color:var(--muted);font-size:.72rem}

.nav-links{display:flex;gap:.4rem;align-items:center}
.nav-links a{
  padding:.55rem .95rem;border-radius:8px;
  font-weight:600;font-size:.93rem;color:var(--navy);
  transition:all .2s;position:relative;
}
.nav-links a:hover{color:var(--orange)}
.nav-links a.active{color:var(--orange)}
.nav-links a.active::after{
  content:'';position:absolute;left:20%;right:20%;bottom:0;
  height:2px;background:var(--orange);border-radius:2px;
}

.nav-toggle{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px;padding:.5rem}
.nav-toggle span{width:26px;height:3px;background:var(--navy);border-radius:2px;transition:.25s}
.nav-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ===== Hero ===== */
.hero{
  position:relative;min-height:88vh;
  display:flex;align-items:center;
  color:#fff;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  transform:scale(1.05);
  animation:slow-zoom 20s ease-in-out infinite alternate;
}
@keyframes slow-zoom{to{transform:scale(1.15)}}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(31,42,95,.92) 0%,rgba(46,58,124,.78) 50%,rgba(232,90,44,.55) 100%);
}
.hero-content{position:relative;z-index:2;padding:4rem 20px;max-width:900px}
.hero-badge{
  display:inline-block;padding:.4rem 1rem;
  background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);
  border-radius:50px;font-size:.85rem;font-weight:600;
  margin-bottom:1.2rem;backdrop-filter:blur(10px);
}
.hero h1{
  font-size:clamp(2rem,5vw,3.8rem);
  color:#fff;margin-bottom:1rem;
  text-shadow:0 4px 24px rgba(0,0,0,.3);
}
.hero p{font-size:clamp(1rem,1.5vw,1.2rem);max-width:680px;margin-bottom:2rem;opacity:.95}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.hero-scroll{
  position:absolute;bottom:1.5rem;left:50%;transform:translateX(-50%);
  width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;
  color:#fff;animation:bounce 2s infinite;z-index:2;
}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-10px)}}

/* ===== Sections ===== */
.section{padding:5rem 0}
.section-alt{background:var(--bg-soft)}
.section-head{text-align:center;max-width:720px;margin:0 auto 3rem}
.eyebrow{
  display:inline-block;color:var(--orange);
  font-weight:700;font-size:.85rem;letter-spacing:2px;
  text-transform:uppercase;margin-bottom:.5rem;
}
.section-head h2{font-size:clamp(1.7rem,3vw,2.5rem)}
.section-head p{color:var(--muted)}

/* ===== About ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.about-img{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.about-img img{width:100%;height:480px;object-fit:cover}
.about-img-badge{
  position:absolute;bottom:20px;left:20px;
  background:var(--orange);color:#fff;
  padding:1rem 1.5rem;border-radius:var(--radius);
  box-shadow:var(--shadow);
}
html[dir="rtl"] .about-img-badge{left:auto;right:20px}
.about-text h2{font-size:clamp(1.6rem,2.8vw,2.3rem)}
.about-list{margin:1.5rem 0}
.about-list li{display:flex;align-items:flex-start;gap:.7rem;margin-bottom:.7rem}
.about-list i{color:var(--orange);font-size:1.1rem;margin-top:.25rem}
.about-address{
  margin-top:1.5rem;padding:1rem 1.2rem;
  background:var(--bg-soft);border-left:4px solid var(--orange);
  border-radius:8px;display:flex;gap:.7rem;align-items:center;
}
html[dir="rtl"] .about-address{border-left:none;border-right:4px solid var(--orange)}
.about-address i{color:var(--orange)}

/* ===== Categories ===== */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.cat-card{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  aspect-ratio:4/3;cursor:pointer;
  box-shadow:var(--shadow-sm);transition:all .35s;
}
.cat-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cat-card:hover img{transform:scale(1.08)}
.cat-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(31,42,95,.92) 0%,rgba(31,42,95,.3) 50%,transparent 100%);
  display:flex;align-items:flex-end;padding:1.5rem;
  transition:background .3s;
}
.cat-card:hover .cat-overlay{
  background:linear-gradient(to top,rgba(232,90,44,.92) 0%,rgba(232,90,44,.4) 60%,transparent 100%);
}
.cat-overlay h3{color:#fff;margin:0;font-size:1.3rem}

/* ===== Why ===== */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.why-card{
  background:#fff;padding:2rem 1.5rem;border-radius:var(--radius-lg);
  text-align:center;box-shadow:var(--shadow-sm);
  border:1px solid var(--border);transition:all .3s;
}
.why-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:var(--orange)}
.why-icon{
  width:70px;height:70px;border-radius:50%;
  margin:0 auto 1.2rem;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:1.6rem;
  transition:all .3s;
}
.why-card:hover .why-icon{
  background:linear-gradient(135deg,var(--orange),var(--orange-light));
  transform:rotate(-8deg) scale(1.05);
}
.why-card h3{font-size:1.15rem;margin-bottom:.5rem}
.why-card p{color:var(--muted);font-size:.93rem;margin:0}

/* ===== Gallery / Swiper ===== */
.gallerySwiper{
  width:100%;border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow);background:#000;
}
.gallerySwiper .swiper-slide{
  display:flex;align-items:center;justify-content:center;
  background:#000;height:520px;
}
.gallerySwiper .swiper-slide img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s;
}
.gallerySwiper .swiper-slide-active img{transform:scale(1.02)}

.gallerySwiper .swiper-button-prev,
.gallerySwiper .swiper-button-next{
  width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.92);color:var(--navy);
  transition:all .25s;
}
.gallerySwiper .swiper-button-prev:hover,
.gallerySwiper .swiper-button-next:hover{background:var(--orange);color:#fff}
.gallerySwiper .swiper-button-prev::after,
.gallerySwiper .swiper-button-next::after{font-size:1.1rem;font-weight:800}

.gallerySwiper .swiper-pagination-bullet{
  background:#fff;opacity:.6;width:10px;height:10px;
}
.gallerySwiper .swiper-pagination-bullet-active{
  background:var(--orange);opacity:1;width:28px;border-radius:5px;
}

.galleryThumbs{margin-top:1rem;padding:.5rem 0}
.galleryThumbs .swiper-slide{
  width:120px;height:80px;border-radius:10px;overflow:hidden;
  cursor:pointer;opacity:.55;transition:all .25s;
  border:3px solid transparent;
}
.galleryThumbs .swiper-slide:hover{opacity:.85}
.galleryThumbs .swiper-slide-thumb-active{opacity:1;border-color:var(--orange)}
.galleryThumbs .swiper-slide img{width:100%;height:100%;object-fit:cover}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:3rem;align-items:start}
.contact-info h2{font-size:clamp(1.6rem,2.8vw,2.3rem)}
.contact-list{margin-top:2rem}
.contact-list li{
  display:flex;gap:1rem;margin-bottom:1.2rem;
  padding:1rem;border-radius:var(--radius);
  background:#fff;border:1px solid var(--border);
  transition:all .25s;
}
.contact-list li:hover{border-color:var(--orange);transform:translateX(4px)}
html[dir="rtl"] .contact-list li:hover{transform:translateX(-4px)}
.contact-list i{
  width:42px;height:42px;border-radius:10px;flex-shrink:0;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  color:#fff;display:flex;align-items:center;justify-content:center;
}
.contact-list strong{display:block;color:var(--navy);margin-bottom:.2rem}
.contact-list span{color:var(--muted);font-size:.93rem}
.contact-list a{color:var(--muted);transition:color .2s}
.contact-list a:hover{color:var(--orange)}

.contact-form{
  background:#fff;padding:2rem;border-radius:var(--radius-lg);
  box-shadow:var(--shadow);border:1px solid var(--border);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-group{margin-bottom:1rem}
.form-group label{
  display:block;font-weight:600;color:var(--navy);
  margin-bottom:.4rem;font-size:.9rem;
}
.form-group input,
.form-group textarea{
  width:100%;padding:.8rem 1rem;
  border:2px solid var(--border);border-radius:10px;
  font:inherit;color:var(--text);
  background:#fafbff;transition:all .2s;
}
.form-group input:focus,
.form-group textarea:focus{
  outline:none;border-color:var(--orange);background:#fff;
  box-shadow:0 0 0 4px rgba(232,90,44,.1);
}
.captcha-row{align-items:end}
.captcha-q{
  display:inline-block;background:var(--navy);color:#fff;
  padding:.2rem .6rem;border-radius:6px;margin-left:.4rem;
  font-weight:700;
}
.form-submit{display:flex;align-items:end;margin-bottom:1rem}
.form-status{margin-top:1rem;padding:.8rem 1rem;border-radius:10px;display:none;font-weight:600}
.form-status.success{display:block;background:#e6f7ee;color:#1e7e44;border:1px solid #b7e4c7}
.form-status.error{display:block;background:#fde8e8;color:#9b2c2c;border:1px solid #f5b5b5}

/* ===== Map ===== */
.map-wrap{margin-top:3.5rem}
.map-head{text-align:center;margin-bottom:1.5rem}
.map-head h3{font-size:clamp(1.3rem,2.2vw,1.7rem);margin:.3rem 0 0}
.map-frame{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow);border:1px solid var(--border);
  background:var(--bg-soft);
}
.map-frame iframe{
  display:block;width:100%;height:420px;border:0;
  filter:saturate(1.05);
}
@media (max-width:768px){
  .map-frame iframe{height:320px}
}

/* ===== Footer ===== */
.footer{background:var(--navy-dark);color:#cdd2e8;padding-top:3.5rem;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.3fr;gap:2.5rem;padding-bottom:2.5rem}
.footer h4{color:#fff;margin-bottom:1rem;font-size:1.1rem}
.brand-footer .brand-text strong{color:#fff}
.brand-footer .brand-text small{color:#9aa3c4}
.brand-footer{margin-bottom:1rem}
.footer p{font-size:.93rem;line-height:1.7}
.footer-links li{margin-bottom:.6rem;display:flex;align-items:center;gap:.5rem;font-size:.93rem}
.footer-links a{transition:color .2s}
.footer-links a:hover{color:var(--orange-light)}
.footer-links i{color:var(--orange);width:18px}
.footer-socials{margin-top:1rem}
.footer-socials a{background:rgba(255,255,255,.08)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:1.2rem 0;text-align:center;font-size:.85rem;color:#9aa3c4;
}

/* ===== WhatsApp Float ===== */
.wa-float{
  position:fixed;bottom:24px;right:24px;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.7rem;box-shadow:0 8px 24px rgba(37,211,102,.45);
  z-index:99;transition:transform .25s;
  animation:pulse 2s infinite;
}
html[dir="rtl"] .wa-float{right:auto;left:24px}
.wa-float:hover{transform:scale(1.1)}
@keyframes pulse{
  0%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,.5)}
  70%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 16px rgba(37,211,102,0)}
  100%{box-shadow:0 8px 24px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,0)}
}

/* ===== Reveal Animation ===== */
.reveal{opacity:0;transform:translateY(30px);transition:all .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ===== Responsive ===== */
@media (max-width:992px){
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .about-img img{height:360px}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .gallerySwiper .swiper-slide{height:420px}
}

@media (max-width:768px){
  .topbar{padding:.4rem 0;font-size:.8rem}
  .topbar-inner{flex-direction:column;gap:.4rem;align-items:center}
  .topbar-contact{justify-content:center;gap:.9rem;width:100%;flex-wrap:wrap}
  .topbar-contact a span{display:none}
  .topbar-contact a{font-size:.95rem}
  .topbar-right{gap:.7rem}
  .socials a{width:26px;height:26px;font-size:.72rem}
  .lang-toggle{padding:.3rem .7rem;font-size:.75rem}

  .nav-inner{padding:.55rem 16px}
  .brand img{width:40px;height:40px}
  .brand-text strong{font-size:.92rem}
  .nav-toggle{display:flex}
  .nav-links{
    position:absolute;top:100%;left:0;right:0;z-index:99;
    background:#fff;flex-direction:column;align-items:stretch;
    padding:0 1rem;gap:.2rem;
    box-shadow:0 12px 24px rgba(46,58,124,.18);
    max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;
    border-top:1px solid var(--border);
  }
  .nav-links.open{max-height:520px;padding:.8rem 1rem}
  .nav-links a{padding:.85rem 1rem;border-radius:8px}
  .nav-links a:hover{background:var(--bg-soft)}
  .nav-links a.active::after{display:none}
  .nav-links a.active{background:var(--bg-soft)}

  .hero{min-height:auto;padding:1.5rem 0 3rem}
  .hero-content{padding:2.5rem 20px}
  .hero p{font-size:1rem}
  .hero-scroll{display:none}

  .form-row{grid-template-columns:1fr}
  .section{padding:3.5rem 0}
  .gallerySwiper .swiper-slide{height:320px}
  .galleryThumbs .swiper-slide{width:90px;height:60px}
  .footer-grid{grid-template-columns:1fr;text-align:center}
  .footer-links li{justify-content:center}
  .brand-footer{justify-content:center}
  .gallerySwiper .swiper-button-prev,
  .gallerySwiper .swiper-button-next{display:none}
  .wa-float{width:52px;height:52px;font-size:1.5rem;bottom:16px;right:16px}
  html[dir="rtl"] .wa-float{left:16px}
}

@media (max-width:480px){
  .topbar-contact{gap:.5rem}
  .topbar-contact a:nth-child(3){display:none}
  .brand-text small{display:none}
  .brand-text strong{font-size:.85rem}
  .hero h1{font-size:1.7rem}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{justify-content:center}
  .cat-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .contact-form{padding:1.25rem}
  .gallerySwiper .swiper-slide{height:260px}
}

/* ===== RTL adjustments ===== */
html[dir="rtl"] .gallerySwiper .swiper-button-prev{right:10px;left:auto}
html[dir="rtl"] .gallerySwiper .swiper-button-next{left:10px;right:auto}
