/* ============================================
   OJS Services - Mobile App Academic Design
   ============================================ */
:root {
  --primary: #1a365d;
  --primary-light: #2b6cb0;
  --primary-dark: #0d1b2a;
  --accent: #ed8936;
  --accent-light: #f6ad55;
  --accent-dark: #dd6b20;
  --success: #38a169;
  --bg-app: #f0f4f8;
  --bg-card: #ffffff;
  --text-dark: #1a202c;
  --text-body: #4a5568;
  --text-muted: #a0aec0;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font-en: 'Inter', system-ui, sans-serif;
  --font-ar: 'Cairo', 'Inter', system-ui, sans-serif;
  --nav-h: 60px;
  --bottom-h: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  color: var(--text-dark);
  background: var(--bg-app);
  overflow-x: hidden;
  padding-bottom: var(--bottom-h);
}
[dir="rtl"] body { font-family: var(--font-ar); }
a { text-decoration: none; color: inherit; transition: all 0.25s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.anim-up { animation: fadeUp 0.5s ease-out both; }

/* Container */
.ctr { max-width: 640px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ctr { max-width: 900px; } }
@media (min-width: 1024px) { .ctr { max-width: 1100px; } }

/* ============================================
   TOP NAVBAR (App Header)
   ============================================ */
.app-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.app-header .ctr { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.app-logo { display: flex; align-items: center; gap: 10px; }
.app-logo .mark { width: 60px; height: 45px; background: none; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 13px; overflow: hidden; flex-shrink: 0; }
.app-logo .mark img { width: 100%; height: 100%; object-fit: contain; }
.app-logo .txt { font-weight: 700; font-size: 1.0625rem; color: var(--primary); }

/* Header Actions */
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-body); font-size: 16px;
  transition: all 0.2s;
}
.hdr-btn:hover { background: var(--bg-app); color: var(--accent); }
.lang-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: var(--primary);
  color: var(--white); border-radius: 20px;
  font-weight: 600; font-size: 0.75rem;
  transition: all 0.2s;
}
.lang-pill:hover { background: var(--primary-light); transform: scale(1.03); }

/* ============================================
   BOTTOM NAVIGATION (Mobile App Style)
   ============================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: var(--bottom-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 8px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
}
.btm-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 12px; border-radius: 12px;
  color: var(--text-muted); font-size: 0.625rem; font-weight: 600;
  transition: all 0.2s; min-width: 56px;
}
.btm-item .ico { font-size: 20px; line-height: 1; transition: transform 0.2s; }
.btm-item.active { color: var(--accent); }
.btm-item.active .ico { transform: scale(1.15); }
.btm-item:hover { color: var(--accent); }

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ============================================
   MOBILE MENU (Dropdown)
   ============================================ */
.mobile-drop {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-drop.open {
  max-height: 300px;
}
.mobile-drop-inner {
  padding: 8px 20px;
}
.mobile-drop a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; font-weight: 600; font-size: 0.875rem;
  color: var(--text-dark); border-bottom: 1px solid var(--border);
}
.mobile-drop a:last-child { border-bottom: none; }
.mobile-drop a:hover { color: var(--accent); }
@media (min-width: 769px) {
  .mobile-drop { display: none; }
  .hdr-menu-btn { display: none; }
}

/* Desktop nav links in header */
.nav-desktop { display: none; }
@media (min-width: 768px) {
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .nav-desktop a {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; font-size: 0.875rem; font-weight: 500;
    color: var(--text-body); border-radius: 8px;
    transition: all 0.2s;
  }
  .nav-desktop a:hover { color: var(--accent); background: rgba(237,137,54,0.06); }
}

/* ============================================
   HERO (App-style)
   ============================================ */
.hero {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary) 50%, var(--primary-light));
  padding: 28px 0 20px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 32px;
  background: var(--bg-app);
  border-radius: 24px 24px 0 0;
}
.hero .ctr { position: relative; z-index: 2; }
.hero-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px; color: rgba(255,255,255,0.9);
  font-size: 0.75rem; font-weight: 500;
}
.hero-badge .dot { color: var(--accent); }
.hero h1 {
  font-size: clamp(1.625rem, 5vw, 2.5rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 10px; line-height: 1.2;
}
.hero p {
  font-size: 0.9375rem; color: rgba(255,255,255,0.7);
  line-height: 1.6; margin-bottom: 20px; max-width: 520px;
}
.hero-btns { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; font-weight: 700; font-size: 0.875rem;
  border-radius: var(--radius-sm); transition: all 0.25s;
}
.btn-accent {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 14px rgba(237,137,54,0.35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(237,137,54,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Stats Row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 16px 12px;
}
.stat { text-align: center; }
.stat-n { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.stat-l { font-size: 0.6875rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  margin-top: -12px; position: relative; z-index: 3;
  padding: 0 0 20px;
}
.cta-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.cta-card .txt { display: flex; align-items: center; gap: 10px; }
.cta-card .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(237,137,54,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cta-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text-dark); }
.cta-card p { font-size: 0.8125rem; color: var(--text-muted); }

/* ============================================
   SECTIONS (General)
   ============================================ */
.sec { padding: 28px 0; }
.sec-hdr { text-align: center; margin-bottom: 24px; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: rgba(26,54,93,0.06);
  border-radius: 20px; color: var(--primary);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 12px;
}
.sec-badge.orange { background: rgba(237,137,54,0.1); color: var(--accent); }
.sec-title { font-size: clamp(1.375rem, 3vw, 1.75rem); font-weight: 800; color: var(--text-dark); line-height: 1.3; }
.sec-line { width: 48px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); margin: 12px auto 0; border-radius: 2px; }
.sec-sub { color: var(--text-muted); font-size: 0.875rem; max-width: 480px; margin: 8px auto 0; }

/* ============================================
   ABOUT / INTRO (Card Style)
   ============================================ */
.about-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 20px;
}
.about-card p { color: var(--text-body); font-size: 0.9375rem; line-height: 1.75; text-align: center; }
.more-text { display: none; }
.more-text.show { display: block; animation: fadeUp 0.3s ease-out; }
.read-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 600; font-size: 0.8125rem; margin-top: 10px; }
.read-btn:hover { color: var(--accent-dark); }

/* Feature Pills */
.feat-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feat-pill {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 12px; text-align: center;
  transition: all 0.25s;
}
.feat-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-pill .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(237,137,54,0.08); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 20px;
  transition: all 0.25s;
}
.feat-pill:hover .ico { background: var(--accent); color: var(--white); transform: scale(1.1); }
.feat-pill h4 { font-size: 0.8125rem; font-weight: 700; margin-bottom: 4px; }
.feat-pill p { font-size: 0.6875rem; color: var(--text-muted); }

/* ============================================
   SERVICES GRID (App Cards)
   ============================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.svc-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 14px; text-align: center;
  transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden;
}
.svc-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transition: transform 0.3s;
}
.svc-item:hover::before { transform: scaleX(1); }
.svc-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-item .ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,54,93,0.06), rgba(43,108,176,0.06));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px; transition: all 0.3s;
}
.svc-item:hover .ico { background: linear-gradient(135deg, var(--accent), var(--accent-light)); transform: scale(1.08); }
.svc-item h3 { font-size: 0.8125rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.svc-item p { font-size: 0.6875rem; color: var(--text-muted); line-height: 1.5; }

@media (min-width: 768px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   TABS (Swipable App Style)
   ============================================ */
.tabs-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.tab-bar {
  display: flex; overflow-x: auto; gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-app);
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar { -ms-overflow-style: none; scrollbar-width: none; }
.tab-t {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 14px; font-size: 0.75rem; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s; flex-shrink: 0;
}
.tab-t:hover { color: var(--text-dark); }
.tab-t.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--white); }
.tab-body { padding: 24px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.35s ease-out; }

/* Tab Content Layout */
.tab-flex { display: flex; gap: 24px; align-items: flex-start; }
.tab-visual {
  flex-shrink: 0; width: 160px; height: 160px;
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center;
  position: relative; font-size: 48px;
  transition: all 0.4s;
}
.tab-visual.b1 { background: linear-gradient(135deg, rgba(26,54,93,0.06), rgba(43,108,176,0.06)); }
.tab-visual.b2 { background: linear-gradient(135deg, rgba(237,137,54,0.06), rgba(246,173,85,0.06)); }
.tab-visual:hover { transform: scale(1.04); }
.tab-visual .d1 { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; }
.tab-visual .d2 { position: absolute; bottom: -8px; left: -8px; width: 28px; height: 28px; border-radius: 50%; }
.tab-visual.b1 .d1 { background: rgba(237,137,54,0.15); }
.tab-visual.b1 .d2 { background: rgba(26,54,93,0.06); }
.tab-visual.b2 .d1 { background: rgba(26,54,93,0.08); }
.tab-visual.b2 .d2 { background: rgba(237,137,54,0.08); }
.tab-info { flex: 1; }
.tab-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 10px;
}
.tab-tag.blue { background: rgba(26,54,93,0.05); color: var(--primary); }
.tab-tag.orange { background: rgba(237,137,54,0.1); color: var(--accent); }
.tab-info h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.tab-info p { color: var(--text-body); font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.tab-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tab-pill {
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 500;
}
.tab-pill.blue { background: rgba(26,54,93,0.05); color: var(--primary); }
.tab-pill.orange { background: rgba(237,137,54,0.07); color: var(--accent); }

/* Tab Footer Nav */
.tab-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; border-top: 1px solid var(--border);
}
.tab-foot-btn { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; }
.tab-foot-btn:hover { color: var(--accent); }
.tab-dots { display: flex; gap: 5px; }
.tab-dot { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e0; border: none; cursor: pointer; transition: all 0.2s; }
.tab-dot.active { background: var(--accent); width: 20px; border-radius: 4px; }

/* Hide visual on mobile */
@media (max-width: 640px) {
  .tab-visual { display: none; }
  .tab-body { padding: 16px; }
  .tab-foot { padding: 10px 16px; }
  .tab-t { padding: 10px 10px; font-size: 0.6875rem; }
  .tab-pills { justify-content: center; }
}

/* ============================================
   ON DEMAND (Compact Banner)
   ============================================ */
.od-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.od-banner::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(237,137,54,0.1);
}
.od-left { flex: 1; position: relative; }
.od-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: rgba(237,137,54,0.2); border-radius: 20px; color: var(--accent); font-size: 0.6875rem; font-weight: 600; margin-bottom: 10px; }
.od-left h2 { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.od-left p { color: rgba(255,255,255,0.6); font-size: 0.8125rem; margin-bottom: 12px; }
.od-checks { display: flex; flex-wrap: wrap; gap: 12px; }
.od-check { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.od-check .v { color: var(--success); font-weight: 700; }
.od-right { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; position: relative; }
.od-right .btn { padding: 10px 20px; font-size: 0.8125rem; text-align: center; justify-content: center; }

/* ============================================
   FAQ (Clean Accordion)
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all 0.25s; border: 1px solid transparent;
}
.faq-item.open { border-color: rgba(237,137,54,0.2); box-shadow: 0 4px 16px rgba(237,137,54,0.08); }
.faq-q {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 16px; text-align: left;
}
.faq-n {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.6875rem; flex-shrink: 0;
  background: rgba(26,54,93,0.05); color: var(--primary);
  transition: all 0.25s;
}
.faq-item.open .faq-n { background: var(--accent); color: var(--white); }
.faq-q h4 { flex: 1; font-size: 0.875rem; font-weight: 600; }
.faq-arr { color: var(--text-muted); font-size: 14px; flex-shrink: 0; transition: all 0.25s; }
.faq-item.open .faq-arr { color: var(--accent); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 180px; }
.faq-a-body { padding: 0 16px 14px 58px; }
.faq-a-body p { color: var(--text-body); font-size: 0.8125rem; line-height: 1.65; }

/* ============================================
   CONTACT (Tabbed)
   ============================================ */
.c-tabs { display: flex; justify-content: center; margin-bottom: 20px; }
.c-switch { display: inline-flex; background: var(--bg-app); border-radius: 10px; padding: 3px; }
.c-tab { padding: 8px 18px; border-radius: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s; }
.c-tab.active { background: var(--white); color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.c-pane { display: none; animation: fadeUp 0.3s ease-out; }
.c-pane.active { display: block; }

/* Contact Cards */
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.c-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; text-align: center;
  transition: all 0.25s;
}
.c-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.c-card .ci {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(26,54,93,0.06); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 18px; transition: all 0.25s;
}
.c-card:hover .ci { background: var(--accent); color: var(--white); }
.c-card h4 { font-weight: 700; font-size: 0.875rem; margin-bottom: 4px; }
.c-card .em { color: var(--accent); font-weight: 600; font-size: 0.8125rem; }
.c-card .su { color: var(--text-muted); font-size: 0.75rem; margin-top: 2px; }

/* Contact Form */
.c-form {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; max-width: 520px; margin: 0 auto;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cf-g { display: flex; flex-direction: column; }
.cf-g label { font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.cf-g input, .cf-g textarea {
  width: 100%; padding: 10px 12px; background: var(--bg-app);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.875rem; outline: none; transition: all 0.2s;
}
.cf-g input:focus, .cf-g textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,93,0.06); }
.cf-g textarea { resize: none; min-height: 90px; }
.cf-full { grid-column: 1 / -1; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white); font-weight: 700; font-size: 0.9375rem;
  border-radius: var(--radius-sm); border: none;
  box-shadow: 0 4px 14px rgba(237,137,54,0.3);
  transition: all 0.25s;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(237,137,54,0.35); }

@media (max-width: 640px) {
  .c-cards { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #0d1b2a, var(--primary-dark));
  color: var(--white); padding: 40px 0 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 20px;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.f-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.f-brand .mark { width: 34px; height: 34px; background: none; display: none; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; overflow: hidden; flex-shrink: 0; }
.f-brand .mark img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.f-brand .nm { font-weight: 700; font-size: 1rem; }
.f-desc { color: rgba(255,255,255,0.4); font-size: 0.75rem; line-height: 1.65; margin-bottom: 14px; }
.f-socials { display: flex; gap: 6px; }
.f-social { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 10px; transition: all 0.2s; }
.f-social:hover { background: var(--accent); }
.f-col h4 { font-weight: 700; font-size: 0.875rem; margin-bottom: 14px; }
.f-col h4::after { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); margin-top: 4px; }
.f-links { display: flex; flex-direction: column; gap: 6px; }
.f-links a { color: rgba(255,255,255,0.4); font-size: 0.75rem; display: flex; align-items: center; gap: 5px; }
.f-links a::before { content: ''; width: 3px; height: 3px; background: rgba(237,137,54,0.3); border-radius: 50%; }
.f-links a:hover { color: var(--accent); }
.f-ci { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-bottom: 8px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.f-bottom p { color: rgba(255,255,255,0.25); font-size: 0.75rem; }
.f-bottom .h { color: var(--accent); }

/* Scroll top */
.scroll-btn {
  position: fixed; bottom: calc(var(--bottom-h) + 12px); right: 16px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(237,137,54,0.35);
  font-size: 18px; z-index: 90;
  transition: all 0.25s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
.scroll-btn:hover, .scroll-btn:active { transform: scale(1.08); background: var(--accent-dark); }
@media (min-width: 768px) { .scroll-btn { bottom: 24px; right: 24px; } }

/* ============================================
   FOOTER WIDGET TOGGLE (Mobile)
   ============================================ */
.f-widget-toggle {
  display: none;
  width: 100%; text-align: left;
  padding: 0 0 10px; margin: 0;
  font-weight: 700; font-size: 0.9375rem;
  color: var(--white); cursor: pointer;
  background: none; border: none;
  position: relative;
}
.f-widget-toggle .sep {
  display: block; width: 24px; height: 2px;
  background: var(--accent); margin-top: 6px; border-radius: 1px;
}
.f-widget-toggle .arr {
  display: inline-block; font-size: 12px;
  margin-inline-start: 6px; transition: transform 0.3s;
}
.f-widget.collapsed .f-widget-toggle .arr {
  transform: rotate(-90deg);
}
.f-widget-content {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 500px; opacity: 1; overflow: hidden;
}
.f-widget.collapsed .f-widget-content {
  max-height: 0; opacity: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .f-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .f-widget-toggle { display: block; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
   .scroll-btn { display: none; }

  .svc-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .feat-pills { grid-template-columns: 1fr; }
  .od-banner { flex-direction: column; text-align: center; }
  .od-checks { justify-content: center; }
  .od-right { flex-direction: row; width: 100%; }
  .od-right .btn { flex: 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
