/* =============================================
   Ahmad Abdulla Ahli - Shared Pages Stylesheet
   ============================================= */

:root {
  --primary: #5612d6;
  --secondary: #8364e8;
  --gradient: linear-gradient(97deg, #5612d6 1.07%, #8364e8 106.93%);
  --dark: #030a21;
  --black: #000;
  --white: #fff;
  --grey: #9ea3b0;
  --light-bg: #0a0f24;
  --card-bg: #0d1229;
  --border: rgba(255,255,255,0.1);
  --font: 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(86,18,214,0.25);
}
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.75rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0d1229;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--gradient) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---- HERO ---- */
.page-hero {
  background: var(--dark);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(86,18,214,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(86,18,214,0.2);
  border: 1px solid rgba(86,18,214,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--secondary);
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 20px;
}
.page-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--secondary); background: rgba(131,100,232,0.1); }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTIONS ---- */
.section { padding: 80px 24px; }
.section-dark { background: var(--dark); }
.section-card { background: var(--card-bg); }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--grey);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- GRID CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .3s, transform .3s;
}
.card:hover {
  border-color: rgba(86,18,214,0.5);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(86,18,214,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 0.92rem; line-height: 1.65; }

/* ---- STAT STRIP ---- */
.stat-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: 60px auto;
  max-width: 900px;
}
.stat-item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--grey); margin-top: 4px; }

/* ---- PROCESS STEPS ---- */
.steps { display: flex; flex-direction: column; gap: 24px; max-width: 760px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.step-num {
  min-width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--grey); font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--secondary); }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding: 0 24px 20px; color: var(--grey); font-size: 0.92rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--gradient);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}
.cta-banner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; }
.cta-banner .btn-white {
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}
.cta-banner .btn-white:hover { opacity: 0.9; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--grey); font-size: 0.88rem; line-height: 1.65; max-width: 280px; }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: .03em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--grey); text-decoration: none; font-size: 0.87rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--grey); font-size: 0.82rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: rgba(86,18,214,0.3); color: #fff; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--dark);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--grey);
}
.breadcrumb a { color: var(--grey); text-decoration: none; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: #fff; }

/* ---- TWO-COL SPLIT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
.split-text h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.split-text p { color: var(--grey); margin-bottom: 14px; font-size: 0.95rem; line-height: 1.75; }
.split-img { border-radius: 20px; overflow: hidden; }
.split-img img { width: 100%; height: auto; display: block; border-radius: 20px; }
.split-visual {
  background: var(--gradient);
  border-radius: 20px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* ---- LIST WITH ICONS ---- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--grey);
  font-size: 0.93rem;
}
.check-list li::before {
  content: '✓';
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

/* ---- TEAM CARD ---- */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: transform .3s;
}
.team-card:hover { transform: translateY(-6px); }
.team-img { width: 100%; height: 260px; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-info .role { color: var(--secondary); font-size: 0.85rem; margin-bottom: 12px; }
.team-info p { color: var(--grey); font-size: 0.85rem; }

/* ---- TESTIMONIAL ---- */
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.testimonial .stars { color: #f8b34b; font-size: 1rem; margin-bottom: 14px; }
.testimonial p { color: var(--grey); font-size: 0.93rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-loc { color: var(--grey); font-size: 0.8rem; }

/* ---- TAG ---- */
.tag {
  display: inline-block;
  background: rgba(86,18,214,0.2);
  border: 1px solid rgba(86,18,214,0.35);
  color: var(--secondary);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---- BLOG CARD ---- */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(86,18,214,0.4); }
.blog-thumb {
  height: 180px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 0.78rem; color: var(--grey); margin-bottom: 10px; }
.blog-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.blog-body p { color: var(--grey); font-size: 0.88rem; line-height: 1.65; }
.blog-read-more { display: inline-block; margin-top: 16px; color: var(--secondary); font-size: 0.85rem; font-weight: 600; }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: rgba(86,18,214,0.12);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #000;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
    gap: 4px;
  }
  .dropdown-menu { position: static; display: none; box-shadow: none; border: none; background: rgba(255,255,255,0.04); border-radius: 8px; margin-top: 4px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-strip { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .page-hero { padding: 60px 24px 48px; }
  .section { padding: 56px 16px; }
}

/* ---- FAQ SCRIPT ---- */
