/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a4d8c;
  --primary-dark: #06365f;
  --primary-light: #1e6db5;
  --accent: #2ec27e;
  --accent-dark: #1f9c63;
  --gold: #f0b429;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --bg-dark: #0a1a2a;
  --text: #1a2330;
  --text-muted: #5a6573;
  --border: #e3e8ef;
  --shadow-sm: 0 2px 8px rgba(10, 26, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 26, 42, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 26, 42, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; scroll-margin-top: 80px; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header span.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-header p { max-width: 720px; margin: 0.6rem auto 0; }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ========== Header / Navigation ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}
.logo img { height: 44px !important; width: auto !important; max-width: none; display: block; flex-shrink: 0; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo .logo-text > div { line-height: 1; font-size: 1.2rem; letter-spacing: 0.5px; }
.logo .logo-text .tag { font-size: 0.62rem; color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.95rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--bg-alt);
}
.nav-cta { margin-left: 0.5rem; }

.nav-toggle-input { display: none; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  user-select: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 54, 95, 0.85) 0%, rgba(10, 77, 140, 0.75) 60%, rgba(46, 194, 126, 0.55) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 4rem 0;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-stats .stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}
.hero-stats .stat span { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 54, 95, 0.88), rgba(10, 26, 42, 0.78));
  z-index: 1;
}
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.page-hero p { color: rgba(255, 255, 255, 0.9); position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.breadcrumbs {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.breadcrumbs a { color: var(--accent); }

/* ========== Cards / Grids ========== */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem; }
.card-body h3 { color: var(--primary-dark); }
.card-body p { font-size: 0.95rem; margin-bottom: 1rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(4px); }

/* Service icon cards */
.icon-card {
  text-align: left;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.icon-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.icon-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 1.5rem;
}
.icon-card.accent .icon { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.icon-card.gold .icon { background: linear-gradient(135deg, var(--gold), #d99a0e); }

/* ========== Split Sections (image + text) ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-image.with-frame {
  position: relative;
  padding: 1rem;
}
.split-image.with-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  transform: translate(15px, 15px);
  z-index: 0;
}
.split-image.with-frame img { position: relative; z-index: 1; }
.split-content .eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.split-content ul {
  list-style: none;
  margin: 1.5rem 0;
}
.split-content ul li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: var(--text);
}
.split-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ========== Stats / CTA bands ========== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0.5rem auto 2rem; }

.stats-band {
  background: var(--bg-dark);
  color: #fff;
  padding: 4rem 0;
}
.stats-band .grid { text-align: center; }
.stats-band .stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
}
.stats-band .stat span { color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

/* ========== Team ========== */
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--bg-alt);
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ========== Testimonials ========== */
.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-style: italic; font-size: 1.05rem; color: var(--text); }
.testimonial .author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.testimonial .author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .author strong { display: block; font-size: 0.95rem; }
.testimonial .author span { color: var(--text-muted); font-size: 0.85rem; }

/* ========== Forms ========== */
.form-grid { display: grid; gap: 1.25rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.contact-info {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-info h3 { color: #fff; }
.contact-info p { color: rgba(255, 255, 255, 0.85); }
.contact-info ul { list-style: none; margin-top: 1.5rem; }
.contact-info ul li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-info ul li:last-child { border-bottom: none; }
.contact-info .icon-circle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info strong { display: block; color: #fff; font-size: 0.9rem; }
.contact-info span { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.contact-info span a { color: inherit; }
.contact-info span a:hover { color: var(--accent); }

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.25rem; }
.footer-grid p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.footer-grid p a { color: inherit; }
.footer-grid p a:hover { color: var(--accent); }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.55rem; }
.footer-grid ul a { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-grid .logo { color: #fff; margin-bottom: 1rem; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ========== Gallery ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
  cursor: pointer;
}
.gallery img:hover { transform: scale(1.03); }

/* ========== Package Cards (Hajj / Tours) ========== */
.package-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-card .img-wrap { position: relative; }
.package-card .img-wrap img { aspect-ratio: 4 / 3; object-fit: cover; }
.package-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.package-card .body { padding: 1.5rem; }
.package-card .body h3 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.package-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.package-card .price { color: var(--primary); font-weight: 700; font-size: 1.25rem; }
.package-card .price small { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

/* ========== Process / Steps ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step .num {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 24px rgba(10, 77, 140, 0.25);
}
.step h3 { font-size: 1.1rem; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3.5rem 0; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav-toggle-input:checked ~ .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { margin-left: 0; }
  .form-grid.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .hero p { font-size: 1.05rem; }
}

/* ========== Animation ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

/* observe: leftover marker class — no-op without JS */
.observe { opacity: 1; transform: none; }
