﻿/* ==============================================
   shared.css v2 – مؤسسة الاتحاد المتميز
   With Dropdown Mega-Nav + Mega-Footer
   ============================================== */

/* ===== Design Tokens ===== */
:root {
  --green-950: #031A10;
  --green-900: #062E1E;
  --green-800: #0B5D3B;
  --green-700: #0D7348;
  --green-600: #0F8A56;
  --green-100: #E8F5EE;
  --green-50:  #F0FAF5;
  --gold-600:  #A6891F;
  --gold-500:  #C9A646;
  --gold-400:  #D4B55C;
  --gold-300:  #E2CC88;
  --gold-100:  #FBF5E0;
  --gold-50:   #FFFDF0;
  --white:     #FFFFFF;
  --gray-900:  #111827;
  --gray-800:  #1F2937;
  --gray-700:  #374151;
  --gray-600:  #4B5563;
  --gray-500:  #6B7280;
  --gray-400:  #9CA3AF;
  --gray-300:  #D1D5DB;
  --gray-200:  #E5E7EB;
  --gray-100:  #F3F4F6;
  --gray-50:   #F9FAFB;
  --font-primary: 'Cairo', 'Tajawal', sans-serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.16);
  --shadow-green: 0 8px 32px rgba(11,93,59,0.35);
  --shadow-gold:  0 8px 32px rgba(201,166,70,0.40);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;
  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:   cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.30s var(--ease-in-out);
  --transition-fast: 0.15s var(--ease-in-out);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Reading Progress ===== */
#readingProgress {
  position: fixed; top: 0; right: 0; left: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--green-600));
  z-index: 9999; width: 0%; transition: width 0.1s linear;
  border-radius: 0 0 2px 2px;
}

/* ===== Container ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Scroll Reveal ===== */
.scroll-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header.text-start { text-align: right; }
.section-tag {
  display: inline-block;
  background: var(--gold-100); color: var(--gold-600);
  border: 1.5px solid var(--gold-300);
  padding: 6px 18px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.45rem, 4vw, 2.3rem); font-weight: 900;
  color: var(--gray-900); line-height: 1.3; margin-bottom: 12px;
}
.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.06rem); color: var(--gray-500);
  max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-family: var(--font-primary); font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none; transition: all var(--transition-base);
  white-space: nowrap; text-decoration: none;
}
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.40);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,0.55); color: var(--white); }
.btn-call { background: var(--green-800); color: var(--white); box-shadow: var(--shadow-green); }
.btn-call:hover { background: var(--green-700); transform: translateY(-3px); color: var(--white); }
.btn-outline { background: transparent; color: var(--green-800); border: 2px solid var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--white); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); color: var(--white); }

/* =================================================
   HEADER + MEGA DROPDOWN NAVIGATION
   ================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent; transition: all var(--transition-base);
}
.header.scrolled {
  background: rgba(6,46,30,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 12px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon svg { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 0.97rem; font-weight: 900; color: var(--white); }
.logo-sub  { font-size: 0.7rem;  color: var(--gold-400); font-weight: 600; }

/* Nav Links wrapper */
.nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}

/* Regular nav link */
.nav-link {
  color: rgba(255,255,255,0.82); font-size: 0.85rem; font-weight: 600;
  padding: 7px 11px; border-radius: var(--radius-sm);
  transition: var(--transition-fast); white-space: nowrap;
  background: none; border: none; cursor: pointer; font-family: var(--font-primary);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.10); }

/* CTA in nav */
.nav-cta {
  display: flex; align-items: center; gap: 7px;
  background: var(--gold-500); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
  transition: all var(--transition-base);
}
.nav-cta:hover { background: var(--gold-400); transform: translateY(-2px); color: var(--white); }

/* ── Dropdown container ── */
.nav-dropdown { position: relative; }

/* Dropdown trigger arrow */
.nav-dropdown-trigger::after {
  content: '▾'; margin-right: 4px; font-size: 0.7rem;
  display: inline-block; transition: transform var(--transition-fast);
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.open .nav-dropdown-trigger::after { transform: rotate(180deg); }

/* Dropdown menu panel */
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 220px;
  background: rgba(6,46,30,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-in-out),
              transform 0.2s var(--ease-in-out),
              visibility 0.2s;
  z-index: 950;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 600;
  color: rgba(255,255,255,0.80);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.nav-dropdown-menu a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-400); flex-shrink: 0; opacity: 0.6;
  transition: opacity var(--transition-fast);
}
.nav-dropdown-menu a:hover {
  color: var(--white); background: rgba(255,255,255,0.08);
}
.nav-dropdown-menu a:hover::before { opacity: 1; }

/* Divider inside dropdown */
.nav-dropdown-divider {
  height: 1px; background: rgba(255,255,255,0.08);
  margin: 6px 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px;
  background: var(--white); border-radius: 2px; transition: var(--transition-base);
}

/* =================================================
   PAGE HERO (sub-pages)
   ================================================= */
.page-hero {
  min-height: 42vh;
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-900) 100%);
  display: flex; align-items: center; padding: 110px 0 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,166,70,0.10) 0%, transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(11,93,59,0.20) 0%, transparent 55%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold-300); padding: 7px 18px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
}
.page-hero-title {
  font-size: clamp(1.7rem, 5vw, 3.2rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin-bottom: 16px;
}
.page-hero-title span { color: var(--gold-400); }
.page-hero-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem); color: rgba(255,255,255,0.78);
  max-width: 600px; line-height: 1.8; margin-bottom: 28px;
}
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  padding: 14px 0; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb-list {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--gray-500); flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--green-700); font-weight: 600; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-400); }

/* =================================================
   CONTENT SECTIONS
   ================================================= */
.content-section { padding: 72px 0; }
.content-section.bg-light { background: var(--gray-50); }
.content-section.bg-green { background: var(--green-50); }

.content-article { max-width: 820px; margin: 0 auto; }
.content-article h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem); font-weight: 900;
  color: var(--gray-900); margin: 36px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green-100);
}
.content-article h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem); font-weight: 800;
  color: var(--green-800); margin: 28px 0 10px;
}
.content-article p {
  font-size: 1rem; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px;
}
.content-article ul { margin: 12px 0 20px 0; }
.content-article ul li {
  padding: 6px 0 6px 26px; color: var(--gray-700); font-size: 0.97rem; line-height: 1.7;
  position: relative;
}
.content-article ul li::before {
  content: '✅'; position: absolute; left: 0; font-size: 0.85rem;
}
.content-article .highlight-box {
  background: var(--green-50); border: 1.5px solid var(--green-100);
  border-right: 4px solid var(--green-800);
  padding: 18px 22px; border-radius: var(--radius-md);
  margin: 24px 0; color: var(--gray-800); font-size: 0.97rem; line-height: 1.8;
}
.content-article .warning-box {
  background: var(--gold-50); border: 1.5px solid var(--gold-300);
  border-right: 4px solid var(--gold-500);
  padding: 18px 22px; border-radius: var(--radius-md);
  margin: 24px 0; color: var(--gray-800); font-size: 0.97rem; line-height: 1.8;
}
.content-article .cta-inline {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  border-radius: var(--radius-xl); padding: 30px 28px;
  text-align: center; margin: 36px 0; color: var(--white);
}
.content-article .cta-inline h3 { color: var(--gold-400) !important; margin: 0 0 10px; }
.content-article .cta-inline p  { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.content-article .cta-inline .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Related Links inside article */
.related-links {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0;
}
.related-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: var(--radius-full);
  background: var(--green-50); border: 1.5px solid var(--green-100);
  font-size: 0.85rem; font-weight: 700; color: var(--green-800);
  transition: all var(--transition-fast);
}
.related-link:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }

/* Quick service cards */
.quick-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 28px 0; }
.quick-service-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 22px 18px;
  text-align: center; transition: all var(--transition-base);
  text-decoration: none; display: block; color: var(--gray-900);
}
.quick-service-card:hover { border-color: var(--green-700); transform: translateY(-5px); box-shadow: var(--shadow-md); color: var(--green-800); }
.quick-service-card .qs-icon { font-size: 2rem; margin-bottom: 12px; }
.quick-service-card h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 6px; }
.quick-service-card p  { font-size: 0.82rem; color: var(--gray-500); }

/* Stats strip */
.stats-strip { background: var(--green-900); padding: 40px 0; }
.stats-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px; text-align: center; }
.stats-strip .stat-val { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--gold-400); display: block; line-height: 1; }
.stats-strip .stat-lab { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 6px; }

/* Inline CTA Banner */
.inline-cta-banner { background: linear-gradient(135deg, var(--green-900), var(--green-800)); padding: 48px 0; }
.inline-cta-banner .cta-box { text-align: center; }
.inline-cta-banner h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.inline-cta-banner p  { color: rgba(255,255,255,0.72); font-size: 0.97rem; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }
.inline-cta-banner .cta-trust { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.inline-cta-banner .cta-trust span { font-size: 0.84rem; font-weight: 700; color: var(--gold-300); }
.inline-cta-banner .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-section-shared { padding: 72px 0; background: var(--white); }
.faq-grid-shared { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition-base); }
.faq-item.open { border-color: var(--green-700); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: none; border: none; cursor: pointer;
  font-family: var(--font-primary); font-size: 0.97rem; font-weight: 700;
  color: var(--gray-900); text-align: right; gap: 12px;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--green-800); }
.faq-item.open .faq-question { color: var(--green-800); }
.faq-icon { flex-shrink: 0; color: var(--gray-400); transition: transform 0.35s var(--ease-out-expo); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green-700); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out-expo); }
.faq-answer p { padding: 0 20px 20px; font-size: 0.92rem; color: var(--gray-600); line-height: 1.8; }

/* Testimonials mini */
.testimonials-mini { padding: 64px 0; background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.testi-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px 22px; transition: all var(--transition-base); }
.testi-card:hover { border-color: var(--green-700); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-stars { font-size: 1rem; margin-bottom: 12px; }
.testi-text  { font-size: 0.9rem; color: var(--gray-700); line-height: 1.8; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-800); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; flex-shrink: 0; }
.testi-avatar.gold { background: var(--gold-500); }
.testi-name { font-size: 0.88rem; font-weight: 800; color: var(--gray-900); }
.testi-loc  { font-size: 0.76rem; color: var(--gray-500); }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.blog-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition-base); display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--green-700); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, var(--green-800), var(--green-950)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-card-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category { display: inline-block; background: var(--green-100); color: var(--green-800); padding: 3px 12px; border-radius: var(--radius-full); font-size: 0.73rem; font-weight: 700; margin-bottom: 10px; }
.blog-card-title { font-size: 1rem; font-weight: 800; color: var(--gray-900); line-height: 1.45; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.77rem; color: var(--gray-400); }
.blog-card-read { color: var(--green-700); font-weight: 700; }
.blog-card-read:hover { text-decoration: underline; }

/* Internal links section */
.internal-links-section { padding: 48px 0; background: var(--green-50); }
.internal-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.int-link-card {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 0.87rem; font-weight: 700; color: var(--gray-800);
  transition: all var(--transition-base); text-decoration: none;
}
.int-link-card svg { flex-shrink: 0; color: var(--green-700); }
.int-link-card:hover { border-color: var(--green-700); color: var(--green-800); transform: translateX(-4px); box-shadow: var(--shadow-sm); }

/* Blog links row */
.blog-links-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); }
.blog-links-row span { font-size: 0.87rem; font-weight: 700; color: var(--gray-600); flex-shrink: 0; }
.blog-links-row a { font-size: 0.85rem; font-weight: 700; color: var(--green-700); padding: 4px 12px; border-radius: var(--radius-full); background: var(--green-50); border: 1px solid var(--green-100); transition: all var(--transition-fast); }
.blog-links-row a:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-md);
  font-family: var(--font-primary); font-size: 0.95rem; color: var(--gray-900);
  background: var(--white); transition: all var(--transition-fast);
  direction: rtl; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(11,93,59,0.12);
}
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white); border: none; border-radius: var(--radius-full);
  font-family: var(--font-primary); font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }

/* =================================================
   MEGA FOOTER
   ================================================= */
.footer { background: var(--green-950); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 44px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px;
}

/* Brand column */
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-name { font-size: 1rem; font-weight: 900; color: var(--white); line-height: 1.2; }
.footer-logo-sub  { font-size: 0.72rem; color: var(--gold-400); }
.footer-desc { font-size: 0.85rem; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.60); }
.footer-contact-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-wa-btn, .footer-call-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700; transition: all var(--transition-base);
}
.footer-wa-btn   { background: #25D366; color: var(--white); }
.footer-wa-btn:hover { background: #20ba5a; color: var(--white); transform: translateY(-2px); }
.footer-call-btn { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20); color: var(--white); }
.footer-call-btn:hover { background: rgba(255,255,255,0.18); color: var(--white); }

/* Social / info row */
.footer-info-row { display: flex; flex-direction: column; gap: 8px; }
.footer-info-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-info-item svg { color: var(--gold-500); flex-shrink: 0; }
.footer-info-item a:hover { color: var(--gold-400); }

/* Footer nav columns */
.footer-col-title {
  font-size: 0.9rem; font-weight: 800; color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.60); transition: var(--transition-fast); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--gold-500); font-size: 1rem; }
.footer-links a:hover { color: var(--gold-400); padding-right: 4px; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.38); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.40); }
.footer-bottom-links a:hover { color: var(--gold-400); }

/* =================================================
   FLOATING BUTTONS
   ================================================= */
.floating-buttons { position: fixed; bottom: 24px; left: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 1000; }
.float-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--radius-full);
  font-family: var(--font-primary); font-size: 0.9rem; font-weight: 700;
  color: var(--white); cursor: pointer; box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  transition: all var(--transition-base); border: none; text-decoration: none;
}
.whatsapp-btn { background: linear-gradient(135deg, #25D366, #128C7E); animation: waBounce 5s ease-in-out infinite; }
.whatsapp-btn:hover { animation: none; transform: translateY(-4px) scale(1.05); color: var(--white); }
.call-btn { background: linear-gradient(135deg, var(--green-700), var(--green-950)); }
.call-btn:hover { transform: translateY(-4px) scale(1.05); color: var(--white); }
@keyframes waBounce {
  0%,70%,100%{ transform:translateY(0); }
  75%{ transform:translateY(-7px); }
  80%{ transform:translateY(-2px); }
  85%{ transform:translateY(-5px); }
  90%{ transform:translateY(0); }
}

/* =================================================
   SPECIAL PAGE COMPONENTS
   ================================================= */

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.team-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px 20px;
  text-align: center; transition: all var(--transition-base);
}
.team-card:hover { border-color: var(--green-700); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.team-name { font-size: 0.97rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--green-700); font-weight: 600; }

/* Value cards */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; }
.value-card {
  background: var(--green-50); border: 1.5px solid var(--green-100);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all var(--transition-base);
}
.value-card:hover { background: var(--green-800); color: var(--white); transform: translateY(-4px); }
.value-card:hover h3, .value-card:hover p { color: rgba(255,255,255,0.85); }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; transition: color var(--transition-base); }
.value-card p  { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; transition: color var(--transition-base); }

/* Contact info cards */
.contact-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.contact-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px 20px;
  text-align: center; transition: all var(--transition-base);
}
.contact-card:hover { border-color: var(--green-700); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 0.97rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--gray-600); }
.contact-card a { color: var(--green-700); font-weight: 700; }
.contact-card a:hover { color: var(--green-800); text-decoration: underline; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 14px; }

/* Storage types */
.storage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin: 24px 0; }
.storage-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 22px 20px;
  transition: all var(--transition-base);
}
.storage-card:hover { border-color: var(--green-700); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.storage-icon { font-size: 2rem; margin-bottom: 12px; }
.storage-card h3 { font-size: 0.97rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.storage-card p  { font-size: 0.84rem; color: var(--gray-500); line-height: 1.7; }

/* =================================================
   RESPONSIVE
   ================================================= */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  /* On tablets, dropdown menu stays on click not hover */
  .nav-links { gap: 0; }
  .nav-link { font-size: 0.8rem; padding: 6px 8px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 70px; right: 0; left: 0;
    flex-direction: column; gap: 0; padding: 16px;
    background: rgba(6,46,30,0.99); backdrop-filter: blur(20px);
    transform: translateY(-120%); transition: transform 0.4s var(--ease-out-expo);
    z-index: 899; align-items: stretch; justify-content: flex-start;
    overflow-y: auto; max-height: calc(100vh - 70px);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-link { display: block; padding: 12px 16px; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.9); font-size: 0.97rem; width: 100%; text-align: center; border-radius: var(--radius-sm); margin-bottom: 4px; }
  .nav-cta { width: 100%; justify-content: center; padding: 13px 24px; font-size: 1rem; margin-top: 8px; }

  /* Mobile dropdown */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; text-align: center; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: hidden; pointer-events: none;
    transform: none; box-shadow: none; background: rgba(255,255,255,0.04);
    border: none; border-radius: var(--radius-sm);
    padding: 4px 0; margin-top: 4px; display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; visibility: visible; pointer-events: auto; }
  .nav-dropdown-menu a { text-align: center; justify-content: center; font-size: 0.9rem; padding: 10px 12px; }
  .nav-dropdown-menu a::before { display: none; }

  .page-hero { min-height: 55vh; }
  .page-hero-btns { flex-direction: column; }
  .float-btn span { display: none; }
  .float-btn { padding: 14px; width: 52px; height: 52px; border-radius: 50%; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-strip-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
}

.nav-logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* NO filter - show real colors */
  /* Add a white background pill to make colors visible on dark header */
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 4px 10px;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.nav-logo-img:hover { opacity: 0.9; background: rgba(255,255,255,1); }

.footer-logo-img {
  max-width: 200px;
  height: auto;
  display: block;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 14px;
  /* Invert for white footer display */
  filter: brightness(0) invert(1);
}

@media (max-width: 480px) {
  .nav-logo-img { height: 38px; max-width: 150px; padding: 3px 8px; }
}

/* End of shared.css */
/* ========================================= */
/* ===== NEW TOP BAR & HEADER DESIGN ===== */
/* ========================================= */

:root {
  --top-bar-bg: #0d2b1a; /* Dark green/gold aesthetic */
  --header-bg: #ffffff;
  --header-shadow: 0 4px 20px rgba(0,0,0,0.06);
  --header-text: #1a1a1a;
  --header-text-hover: #0b5d3b;
  --logo-text-color: #0b5d3b;
  --nav-dropdown-bg: #ffffff;
}

/* --- OVERRIDES FOR OLD CSS CONFLICTS (if any) --- */
.header, .top-bar { display: none !important; }

/* ===== TOP BAR ===== */
.site-top-bar {
  background: var(--top-bar-bg);
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative; /* Scrolls away naturally */
  z-index: 1010;
}
.site-top-bar .top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-offer { margin: 0 auto; color: #fff; font-size: 0.9rem; }
.top-bar-offer strong { color: #C9A646; font-weight: 800; }
.top-bar-left { display: flex; align-items: center; gap: 15px; }
.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.top-bar-link:hover { opacity: 0.8; }
.top-bar-wa { padding: 4px; border-radius: 50%; background: #25D366; color: white !important; }

/* ===== MAIN HEADER ===== */
.site-header {
  position: relative; 
  /* It becomes sticky via JS when scrolled past top-bar */
  background: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  z-index: 1000;
}
.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slideDown 0.4s ease forwards;
  box-shadow: var(--header-shadow);
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* --- LOGO --- */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo .logo-box {
  width: 48px;
  height: 48px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.site-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo-text .logo-main { font-size: 1.1rem; font-weight: 900; color: var(--logo-text-color); }
.site-logo-text .logo-sub { font-size: 0.75rem; color: #C9A646; font-weight: 700; }

/* --- DESKTOP NAV LINKS --- */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav-link {
  color: var(--header-text);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.site-nav-link:hover, .site-nav-link.active {
  color: var(--header-text-hover);
  background: rgba(11, 93, 59, 0.05);
}

/* --- DROPDOWN --- */
.site-nav-dropdown { position: relative; }
.site-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--nav-dropdown-bg);
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.site-nav-dropdown:hover .site-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.site-dropdown-menu a:hover { background: #f4f6f8; color: var(--header-text-hover); }
.site-dropdown-divider { height: 1px; background: #eee; margin: 8px 0; }

/* --- CTA & HAMBURGER --- */
.site-nav-right { display: flex; align-items: center; gap: 16px; }
.site-cta-btn {
  background: #C9A646;
  color: white !important;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(201, 166, 70, 0.3);
}
.site-cta-btn:hover {
  background: #b5923b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 166, 70, 0.4);
}

.site-hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.03);
  transition: background 0.2s;
}
.site-hamburger:hover { background: rgba(0,0,0,0.06); }
.site-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== MOBILE DRAWER MENU ===== */
.site-mobile-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.site-mobile-overlay.active { opacity: 1; visibility: visible; }

.site-mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}
.site-mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer-close {
  background: #f4f6f8;
  border: none;
  font-size: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 24px 20px;
  overflow-y: auto;
  flex: 1;
}
.mobile-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-bottom: 4px;
}
.mobile-link:active { background: #f4f6f8; color: var(--header-text-hover); }
.mobile-group-title {
  font-size: 0.85rem;
  color: #888;
  font-weight: 800;
  margin: 16px 10px 8px;
  text-transform: uppercase;
}
.mobile-link.nested {
  font-size: 1rem;
  font-weight: 600;
  padding-right: 24px;
  color: #555;
  border-right: 2px solid #eee;
  border-radius: 0;
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: white !important;
}
.drawer-call-btn { background: var(--top-bar-bg); }
.drawer-wa-btn { background: #25D366; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .site-nav-links, .site-cta-btn { display: none; }
  .site-hamburger { display: flex; }
  .top-bar-offer { display: none; } /* Mobile top bar has only contact info */
  .top-bar-flex { justify-content: space-between; }
  .site-nav { height: 70px; }
}
@media (max-width: 480px) {
  /* Let top bar scroll away completely by making it normal flow */
  .site-top-bar { position: relative; }
}
