/* ===================================================
   Madiney Da Pandhi (Pvt) Ltd - Website Stylesheet
   Premium Hajj & Umrah Services
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Primary Palette - Islamic Gold & Green */
  --gold-50: #fdf8e8;
  --gold-100: #f9edc7;
  --gold-200: #f3d98f;
  --gold-300: #edc557;
  --gold-400: #e6b020;
  --gold-500: #c89a18;
  --gold-600: #a67c12;
  --gold-700: #845e0e;
  --gold-800: #634509;
  --gold-900: #3d2b06;

  --green-50: #e8f5e9;
  --green-100: #c8e6c9;
  --green-200: #a5d6a7;
  --green-300: #81c784;
  --green-400: #66bb6a;
  --green-500: #1b5e20;
  --green-600: #155a1a;
  --green-700: #104714;
  --green-800: #0a330e;
  --green-900: #052007;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #faf8f5;
  --cream: #f5f0e8;
  --gray-100: #f0ede8;
  --gray-200: #e0dcd5;
  --gray-300: #c5c0b8;
  --gray-400: #9e9990;
  --gray-500: #787168;
  --gray-600: #524d46;
  --gray-700: #3a3632;
  --gray-800: #252220;
  --gray-900: #141210;

  /* Accent */
  --accent-teal: #0d7377;
  --accent-burgundy: #6b1d2a;

  /* Functional */
  --bg-primary: var(--off-white);
  --bg-dark: var(--gray-900);
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-light: var(--cream);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic: 'Noto Naskh Arabic', 'Traditional Arabic', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 24px rgba(200,154,24,0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.3;
  font-weight: 700;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.section-title span {
  color: var(--gold-500);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 400;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,154,24,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-400);
}

.btn-outline:hover {
  background: var(--gold-500);
  color: var(--white);
}

.btn-green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,94,32,0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ---------- Header/Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.transparent {
  background: transparent;
}

.header.scrolled {
  background: rgba(20, 18, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: height var(--transition-base);
}

.header.scrolled .nav-logo img {
  height: 45px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .name-en {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 1px;
}

.nav-logo-text .name-ur {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--gold-200);
  direction: rtl;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-300);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f0a 0%, #132213 30%, #1a3520 50%, #0d1a14 70%, #080c09 100%);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10,15,10,0.8) 0%, 
    rgba(19,34,19,0.55) 40%, 
    rgba(13,26,20,0.65) 70%,
    rgba(8,12,9,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(200,154,24,0.15);
  border: 1px solid rgba(200,154,24,0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-300);
}

.hero-logo {
  width: 200px;
  margin: 0 auto var(--space-xl);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  animation: floatLogo 6s ease-in-out infinite;
  background: rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-verse {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: var(--gold-200);
  margin-bottom: var(--space-lg);
  direction: rtl;
  line-height: 2;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--gray-900);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(200,154,24,0.15);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.trust-item:hover {
  opacity: 1;
}

.trust-item img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.trust-item-text {
  display: flex;
  flex-direction: column;
}

.trust-item-text .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-400);
  font-weight: 600;
}

.trust-item-text .value {
  font-size: 0.85rem;
  color: var(--gray-300);
  font-weight: 500;
}

/* ---------- About Section ---------- */
.about {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--cream);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-feature:hover {
  background: var(--gold-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  color: var(--gold-600);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.about-feature .text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ---------- Services Section ---------- */
.services {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,154,24,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.services .section-title {
  color: var(--white);
}

.services .section-subtitle {
  color: var(--gray-400);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200,154,24,0.1), rgba(200,154,24,0.05));
  border: 1px solid rgba(200,154,24,0.15);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--gray-400);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Packages Section ---------- */
.packages {
  position: relative;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}

.package-card.featured {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-gold);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.package-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.package-header {
  position: relative;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  text-align: center;
}

.package-card.featured .package-header {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--white);
}

.package-card.featured .package-header .package-name {
  color: var(--white);
}

.package-card.featured .package-header .package-price {
  color: var(--white);
}

.package-card.featured .package-header .package-duration {
  color: rgba(255,255,255,0.8);
}

.package-name {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
}

.package-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-500);
  font-family: var(--font-body);
}

.package-price .currency {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: top;
  margin-right: 2px;
}

.package-duration {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.package-features {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.package-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.package-feature:last-child {
  border-bottom: none;
}

.package-feature .check {
  color: var(--green-500);
  font-weight: 700;
  font-size: 1.1rem;
}

.package-footer {
  padding: 0 var(--space-xl) var(--space-xl);
}

.package-footer .btn {
  width: 100%;
}

/* ---------- Process Section ---------- */
.process {
  background: linear-gradient(180deg, var(--cream), var(--off-white));
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300));
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gold-300);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .step-number {
  background: var(--gold-500);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.process-step h4 {
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Documents Section ---------- */
.documents {
  background: var(--white);
}

.documents-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-3xl);
}

.doc-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-400);
  transition: all var(--transition-base);
}

.doc-item:hover {
  background: var(--gold-50);
  transform: translateX(4px);
}

.doc-item .number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-700);
  flex-shrink: 0;
}

.doc-item-content h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.doc-item-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.doc-note {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.doc-note h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.doc-note p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.6;
}

.company-docs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.company-doc-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  cursor: pointer;
}

.company-doc-card:hover {
  background: var(--gold-50);
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.company-doc-card .doc-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.company-doc-card .doc-info h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
}

.company-doc-card .doc-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.company-doc-card .doc-action {
  margin-left: auto;
  color: var(--gold-500);
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.company-doc-card:hover .doc-action {
  transform: translateX(4px);
}

/* ---------- Ministry Section ---------- */
.ministry {
  background: var(--gray-900);
  position: relative;
  overflow: hidden;
}

.ministry::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.ministry .section-title { color: var(--white); }
.ministry .section-subtitle { color: var(--gray-400); }

.ministry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-3xl);
  align-items: start;
}

.ministry-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.ministry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.ministry-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gold-300);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ministry-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ministry-card ul {
  margin-top: var(--space-sm);
}

.ministry-card ul li {
  color: var(--gray-300);
  font-size: 0.88rem;
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ministry-card ul li::before {
  content: '✓';
  color: var(--gold-400);
  font-weight: 700;
}

.ministry-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  height: 100%;
  min-height: 400px;
}

.ministry-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ---------- Affiliations Section ---------- */
.affiliations {
  background: var(--cream);
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.affiliation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.affiliation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}

.affiliation-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.affiliation-card h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--gray-700);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.affiliation-card p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- Contact Section ---------- */
.contact {
  background: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  margin-top: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: var(--gold-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card a {
  color: var(--gold-600);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gold-500);
}

.contact-form-wrapper {
  background: var(--off-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xl);
  color: var(--gray-800);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(200,154,24,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
  height: 80px;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--gold-500);
  color: var(--white);
  transform: translateY(-2px);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xl);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  padding: 4px 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-300);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.88rem;
}

.footer-contact-item .icon {
  color: var(--gold-400);
  margin-top: 3px;
}

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--gold-300);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: #25D366;
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 36px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 998;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-500);
  color: var(--white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  font-size: 1.2rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-400);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Decorative Elements */
.islamic-pattern {
  position: absolute;
  opacity: 0.03;
  pointer-events: none;
}

/* ---------- Page-specific: Company Documents Page ---------- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gray-900);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 0.85rem;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gold-400);
}

.breadcrumb .separator {
  color: var(--gray-600);
}

/* ---------- Policy/Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin: var(--space-2xl) 0 var(--space-md);
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--gray-800);
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.legal-content ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  list-style: disc;
}

/* ==========================================================
   RESPONSIVE DESIGN — Full Device Coverage
   Breakpoints: 1280, 1024, 768, 480, 360
   ========================================================== */

/* ---------- Large Desktop / Small Laptop (≤1280px) ---------- */
@media (max-width: 1280px) {
  .nav {
    padding: var(--space-md) var(--space-lg);
  }

  .trust-bar .container {
    gap: var(--space-xl);
  }

  .trust-item-text .value {
    font-size: 0.78rem;
  }

  .affiliations-grid {
    gap: var(--space-lg);
  }
}

/* ---------- Tablet Landscape / Small Desktop (≤1024px) ---------- */
@media (max-width: 1024px) {
  /* --- Navigation switches to hamburger at 1024px --- */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: rgba(20,18,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-2xl) var(--space-2xl);
    gap: var(--space-md);
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
    width: 100%;
  }

  .nav-cta {
    width: 100% !important;
    text-align: center !important;
    margin-top: var(--space-md);
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid,
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image img {
    height: 350px;
  }

  .ministry-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .ministry-map {
    min-height: 350px;
  }

  .ministry-map iframe {
    min-height: 350px;
  }

  .documents-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .process-steps::before {
    display: none;
  }

  .affiliations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero-content {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

/* ---------- Tablet Portrait (≤768px) ---------- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* --- Navigation (already hamburger from 1024px) --- */
  .nav-logo img {
    height: 45px;
  }

  .nav-logo-text .name-en {
    font-size: 0.9rem;
  }

  .nav-logo-text .name-ur {
    font-size: 0.75rem;
  }

  /* --- Hero --- */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 0 var(--space-lg);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    letter-spacing: 1.5px;
  }

  .hero-logo {
    width: 140px;
    padding: 12px;
  }

  .hero-verse {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-scroll {
    bottom: 24px;
  }

  /* --- Trust Bar --- */
  .trust-bar {
    padding: var(--space-lg) 0;
  }

  .trust-bar .container {
    gap: var(--space-lg);
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .trust-item {
    flex: 0 0 calc(50% - var(--space-lg));
  }

  .trust-item img {
    height: 40px;
    width: 40px;
  }

  .trust-item-text .label {
    font-size: 0.6rem;
  }

  .trust-item-text .value {
    font-size: 0.75rem;
  }

  /* --- About --- */
  .about-image img {
    height: 280px;
  }

  .about-image-badge {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
  }

  .about-image-badge .number {
    font-size: 1.6rem;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  /* --- Services --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-card {
    padding: var(--space-xl);
  }

  /* --- Packages --- */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .package-card.featured {
    order: -1;
  }

  /* --- Process --- */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  /* --- Documents --- */
  .doc-item {
    padding: var(--space-md);
  }

  .company-doc-card {
    padding: var(--space-md);
  }

  .company-doc-card .doc-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .doc-note {
    padding: var(--space-xl);
  }

  /* --- Ministry --- */
  .ministry-map {
    min-height: 300px;
  }

  .ministry-map iframe {
    min-height: 300px;
  }

  /* --- Affiliations --- */
  .affiliations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .affiliation-card {
    padding: var(--space-lg);
  }

  .affiliation-card img {
    width: 55px;
    height: 55px;
  }

  /* --- Contact --- */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card .icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* --- Floating Elements --- */
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .back-to-top {
    bottom: 20px;
    left: 16px;
    width: 42px;
    height: 42px;
  }

  /* --- Section Headers --- */
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  /* --- Page Hero (Legal Pages) --- */
  .page-hero {
    padding: 130px 0 60px;
  }

  .page-hero h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .legal-content {
    padding: var(--space-2xl) var(--space-lg);
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }
}

/* ---------- Large Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section-padding {
    padding: var(--space-2xl) 0;
  }

  /* --- Nav --- */
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-logo img {
    height: 38px;
  }

  .nav-logo-text .name-en {
    font-size: 0.8rem;
  }

  .nav-logo-text .name-ur {
    font-size: 0.65rem;
  }

  .header.scrolled .nav-logo img {
    height: 32px;
  }

  /* --- Hero --- */
  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 5px 12px;
    letter-spacing: 1px;
  }

  .hero-logo {
    width: 120px;
    padding: 10px;
    margin-bottom: var(--space-lg);
  }

  .hero-verse {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .hero-description {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  /* --- Trust Bar --- */
  .trust-bar {
    padding: var(--space-md) 0;
  }

  .trust-bar .container {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .trust-item {
    flex: none;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
  }

  .trust-item img {
    height: 36px;
    width: 36px;
  }

  /* --- About --- */
  .about-image img {
    height: 220px;
  }

  .about-image-badge {
    bottom: 12px;
    right: 12px;
    padding: 10px 14px;
  }

  .about-image-badge .number {
    font-size: 1.3rem;
  }

  .about-image-badge .label {
    font-size: 0.6rem;
  }

  .about-text {
    font-size: 0.92rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .about-feature {
    padding: var(--space-sm) var(--space-md);
  }

  .about-feature .icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .about-feature .text {
    font-size: 0.8rem;
  }

  /* --- Services --- */
  .service-card {
    padding: var(--space-lg);
  }

  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  /* --- Packages --- */
  .packages-grid {
    max-width: 100%;
    gap: var(--space-md);
  }

  .package-header {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
  }

  .package-name {
    font-size: 1.15rem;
  }

  .package-price {
    font-size: 1.8rem;
  }

  .package-features {
    padding: var(--space-lg);
  }

  .package-feature {
    font-size: 0.85rem;
    padding: var(--space-xs) 0;
  }

  .package-footer {
    padding: 0 var(--space-lg) var(--space-lg);
  }

  /* --- Process --- */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .process-step h4 {
    font-size: 0.82rem;
  }

  .process-step p {
    font-size: 0.72rem;
  }

  /* --- Documents --- */
  .doc-item {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .doc-item .number {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .doc-item-content h4 {
    font-size: 0.85rem;
  }

  .doc-item-content p {
    font-size: 0.73rem;
  }

  .company-doc-card {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .company-doc-card .doc-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .company-doc-card .doc-info h4 {
    font-size: 0.82rem;
  }

  .company-doc-card .doc-info p {
    font-size: 0.7rem;
  }

  .doc-note {
    padding: var(--space-lg);
  }

  .doc-note h4 {
    font-size: 0.82rem;
  }

  .doc-note p {
    font-size: 0.78rem;
  }

  /* --- Ministry --- */
  .ministry-card {
    padding: var(--space-lg);
  }

  .ministry-card h4 {
    font-size: 0.88rem;
  }

  .ministry-card p,
  .ministry-card ul li {
    font-size: 0.82rem;
  }

  .ministry-map {
    min-height: 250px;
  }

  .ministry-map iframe {
    min-height: 250px;
  }

  /* --- Affiliations --- */
  .affiliations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .affiliation-card {
    padding: var(--space-md);
  }

  .affiliation-card img {
    width: 48px;
    height: 48px;
  }

  .affiliation-card h4 {
    font-size: 0.7rem;
  }

  .affiliation-card p {
    font-size: 0.62rem;
  }

  /* --- Contact --- */
  .contact-card {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .contact-card .icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .contact-card h4 {
    font-size: 0.8rem;
  }

  .contact-card p {
    font-size: 0.82rem;
  }

  .contact-form-wrapper {
    padding: var(--space-xl);
  }

  .contact-form-wrapper h3 {
    font-size: 1.1rem;
  }

  .form-group label {
    font-size: 0.72rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* --- Footer --- */
  .footer {
    padding-top: var(--space-2xl);
  }

  .footer-brand img {
    height: 60px;
  }

  .footer-brand p {
    font-size: 0.82rem;
  }

  .footer h4 {
    font-size: 0.78rem;
    margin-bottom: var(--space-md);
  }

  .footer-links a {
    font-size: 0.82rem;
  }

  .footer-contact-item {
    font-size: 0.8rem;
  }

  .footer-bottom p {
    font-size: 0.72rem;
  }

  .footer-bottom-links a {
    font-size: 0.72rem;
  }

  /* --- Floating Elements --- */
  .whatsapp-float {
    bottom: 16px;
    right: 12px;
    padding: 10px 16px;
    font-size: 0.8rem;
    border-radius: var(--radius-lg);
  }

  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }

  .back-to-top {
    bottom: 16px;
    left: 12px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* --- Buttons global --- */
  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  /* --- Legal Pages --- */
  .page-hero {
    padding: 110px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .page-hero p {
    font-size: 0.88rem;
  }

  .legal-content {
    padding: var(--space-xl) var(--space-md);
  }

  .legal-content h2 {
    font-size: 1.15rem;
  }

  .legal-content h3 {
    font-size: 1rem;
  }

  .legal-content p,
  .legal-content ul li {
    font-size: 0.88rem;
  }
}

/* ---------- Small Mobile (≤360px) ---------- */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .nav {
    padding: var(--space-xs) var(--space-sm);
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-logo-text .name-en {
    font-size: 0.72rem;
  }

  .nav-logo-text .name-ur {
    display: none;
  }

  .hero-logo {
    width: 100px;
    padding: 8px;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .hero-verse {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.55rem;
    padding: 4px 10px;
  }

  .hero-description {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .affiliations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image img {
    height: 180px;
  }

  .package-price {
    font-size: 1.5rem;
  }

  .whatsapp-float {
    padding: 10px 14px;
    font-size: 0.75rem;
    gap: 4px;
  }

  .whatsapp-float svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Landscape Phone Fix ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 80px;
  }

  .hero-logo {
    width: 80px;
    margin-bottom: var(--space-sm);
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
  }

  .hero-verse {
    display: none;
  }

  .hero-description {
    font-size: 0.8rem;
    margin-bottom: var(--space-md);
  }

  .hero-scroll {
    display: none;
  }
}

/* ---------- Touch Target Minimum Sizes ---------- */
@media (pointer: coarse) {
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn {
    min-height: 48px;
  }

  .footer-links a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .contact-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .company-doc-card {
    min-height: 60px;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .header,
  .hero-slides,
  .hero-overlay,
  .whatsapp-float,
  .back-to-top,
  .nav-toggle,
  .hero-scroll {
    display: none !important;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 40px 0;
    background: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section-padding {
    padding: 20px 0;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide img {
    animation: none;
  }

  .hero-logo {
    animation: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Schedule Section ---------- */
.schedule {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.schedule::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,154,24,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.schedule-wrapper {
  max-width: 860px;
  margin: var(--space-3xl) auto 0;
}

/* Banner Header */
.schedule-header-banner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: linear-gradient(135deg, var(--green-500) 0%, #0d4a14 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-3xl);
  box-shadow: 0 8px 32px rgba(27,94,32,0.25);
  position: relative;
  overflow: hidden;
}

.schedule-header-banner::after {
  content: '﷽';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-arabic);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
}

.schedule-banner-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.schedule-header-banner h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.schedule-header-banner p {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  direction: rtl;
  text-align: right;
}

/* Timeline */
.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 56px 40px 1fr;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.schedule-session-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
  text-align: right;
  line-height: 1.2;
  padding-top: 18px;
}

.schedule-session-num sup {
  font-size: 0.7rem;
  vertical-align: super;
  color: var(--gold-400);
}

/* Connector (dot + line) */
.schedule-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
}

.schedule-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 4px rgba(200,154,24,0.2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.schedule-line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  background: linear-gradient(180deg, var(--gold-400) 0%, transparent 100%);
  margin-top: 4px;
  opacity: 0.4;
}

/* Session Card */
.schedule-card {
  display: flex;
  gap: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-radius: 4px 0 0 4px;
}

.schedule-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}

/* Date Badge */
.schedule-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  flex-shrink: 0;
}

.schedule-card-date .day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-600);
  line-height: 1;
}

.schedule-card-date .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-500);
  margin-top: 4px;
}

.schedule-card-date .year {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Card Body */
.schedule-card-body {
  flex: 1;
}

.schedule-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gray-800);
  margin-bottom: var(--space-sm);
}

.schedule-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Tags */
.schedule-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.schedule-card-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gold-50);
  color: var(--gold-700);
  border: 1px solid var(--gold-200);
}

/* CTA Footer */
.schedule-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2e1c 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.schedule-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

/* Responsive */
@media (max-width: 640px) {
  .schedule-item {
    grid-template-columns: 44px 28px 1fr;
    gap: var(--space-sm);
  }

  .schedule-card {
    flex-direction: column;
    gap: var(--space-md);
  }

  .schedule-card-date {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    min-width: unset;
    width: fit-content;
  }

  .schedule-card-date .day { font-size: 1.4rem; }
  .schedule-card-date .month { margin-top: 0; }
  .schedule-card-date .year { margin-top: 0; }

  .schedule-header-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .schedule-header-banner p { text-align: center; }
  .schedule-header-banner::after { display: none; }

  .schedule-session-num {
    font-size: 1.2rem;
    padding-top: 14px;
  }
}
