/* =========================================================
   QIBLAH INTERNATIONAL SERVICES LIMITED
   Design tokens
   ========================================================= */

:root {
  /* Color */
  --forest:        #0F3D2E;
  --forest-deep:    #0A2D21;
  --cream:          #F6F1E6;
  --cream-soft:     #FBF8F1;
  --gold:           #D4AF7A;
  --gold-deep:      #B98F52;
  --ink:            #1C231F;
  --ink-soft:       #4B564E;
  --line:           rgba(15, 61, 46, 0.14);
  --line-on-dark:   rgba(246, 241, 230, 0.16);

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* =========================================================
   Scroll reveal (progressive enhancement, JS-driven)
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; font-weight: 600; }

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* =========================================================
   Shared type utilities
   ========================================================= */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

.eyebrow.light { color: var(--gold); }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--forest);
  margin: 0 0 1rem;
}

.section-title.light { color: var(--cream); }

.section-lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-lead.light { color: rgba(246, 241, 230, 0.8); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(180deg, #E3C393, var(--gold) 60%, var(--gold-deep));
  color: var(--forest-deep);
}

.btn-gold:hover { background: linear-gradient(180deg, #ecd2a8, var(--gold)); }

.btn-ghost {
  background: transparent;
  border-color: rgba(246, 241, 230, 0.5);
  color: var(--cream);
}

.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 241, 230, 0.08); }

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-wide { width: 100%; padding-top: 1rem; padding-bottom: 1rem; }

/* =========================================================
   Top trust bar
   ========================================================= */

.top-bar {
  background: var(--forest-deep);
  color: var(--cream);
  text-align: center;
  padding: 0.5rem var(--gap);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.top-bar p { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.6rem; }

.top-bar .dot { color: rgba(246, 241, 230, 0.4); }

.top-bar .dot-gold { color: var(--gold); }

.top-bar .watchword { color: var(--gold); font-weight: 600; }

/* =========================================================
   Header / navigation
   ========================================================= */

.site-header {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-on-dark);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px -18px rgba(10, 45, 33, 0.55);
}

.main-nav a.is-active-link,
.mobile-nav a.is-active-link {
  color: var(--gold);
}

.main-nav a.is-active-link::after { transform: scaleX(1); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--gap);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--cream);
}

.logo-mark {
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  color: rgba(246, 241, 230, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover { background: var(--gold); color: var(--forest-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--forest-deep);
  padding: 0.5rem var(--gap) 1.25rem;
}

.mobile-nav a {
  color: var(--cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 0.95rem;
}

.mobile-nav .mobile-cta {
  margin-top: 0.75rem;
  text-align: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.7rem;
}

.site-header.nav-open .mobile-nav { display: flex; }

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {

  position: relative;
  background: linear-gradient(rgba(10,45,33,0.75), rgba(10,45,33,0.9)),
url("images/hero.jpg") center/cover no-repeat;
  color: var(--cream);
  padding: clamp(4rem, 10vw, 7rem) var(--gap) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero-ornament {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212, 175, 122, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  color: var(--gold);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  margin: 1.5rem auto 0;
  max-width: 560px;
  font-size: 1.08rem;
  color: rgba(246, 241, 230, 0.82);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  margin: 3.25rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-on-dark);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(246, 241, 230, 0.65);
  letter-spacing: 0.02em;
}

/* =========================================================
   Trust / licenses
   ========================================================= */

.trust {
  background: var(--cream-soft);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.trust-mark {
  display: inline-block;
  color: var(--gold-deep);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.trust-item h3 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Divider (star motif)
   ========================================================= */

.divider {
  color: var(--gold-deep);
  padding: 0 var(--gap);
  max-width: 320px;
  margin: 0 auto;
}

.divider svg { width: 100%; height: 18px; display: block; }

/* =========================================================
   Services
   ========================================================= */

.services { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.service-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.9rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Timeline (Hajj key dates)
   ========================================================= */

.timeline {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.timeline-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-list li {
  background: var(--forest-deep);
  padding: 2rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.timeline-label {
  font-size: 0.85rem;
  color: rgba(246, 241, 230, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
}

.timeline-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(246, 241, 230, 0.55);
}

@media (max-width: 760px) {
  .timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .timeline-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Packages (Hajj / Umrah)
   ========================================================= */

.packages { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.packages-cream { background: var(--cream); }

.package-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

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

.package-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.package-card.featured {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -20px rgba(15, 61, 46, 0.45);
}

.package-frame {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) - 6px);
  opacity: 0.35;
  pointer-events: none;
}

.package-card.featured .package-frame { opacity: 0.5; }

.package-ribbon {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.package-card h3 {
  font-size: 1.35rem;
  color: var(--forest);
}

.package-card.featured h3 { color: var(--cream); }

.package-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-deep);
}

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

.package-price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.package-card.featured .package-price span { color: rgba(246, 241, 230, 0.75); }

.package-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.package-card.featured .package-desc { color: rgba(246, 241, 230, 0.8); }

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

.package-features li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--ink-soft);
}

.package-card.featured .package-features li { color: rgba(246, 241, 230, 0.85); }

.package-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-size: 0.8rem;
}

.package-card.featured .package-features li::before { color: var(--gold); }

.package-accom {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-top: 1px dashed var(--line);
  padding-top: 0.9rem;
}

.package-card.featured .package-accom {
  color: rgba(246, 241, 230, 0.7);
  border-top-color: var(--line-on-dark);
}

.package-card .btn { margin-top: auto; }

.package-card-placeholder {
  border-style: dashed;
  border-color: var(--gold-deep);
  justify-content: center;
  text-align: center;
  background: var(--cream);
}

.placeholder-price {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-soft);
}

.package-placeholder-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .package-grid, .package-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-card.featured { transform: none; }
}

@media (max-width: 620px) {
  .package-grid, .package-grid-3 { grid-template-columns: 1fr; }
}

/* =========================================================
   About
   ========================================================= */

.about {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--cream-soft);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  margin-top: 1rem;
  font-size: 1rem;
}

.watchword-line {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--forest);
}

.about-ornament {
  color: var(--gold);
  opacity: 0.85;
}

@media (max-width: 800px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-ornament { max-width: 220px; margin: 0 auto; order: -1; }
}

/* =========================================================
   Register
   ========================================================= */

.register {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.register-inner { max-width: 700px; }

.register-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  color: rgba(246, 241, 230, 0.75);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(246, 241, 230, 0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--cream);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(246, 241, 230, 0.4); }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23D4AF7A' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-field select option { color: var(--ink); }

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(246, 241, 230, 0.1);
}

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

.form-status {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--gold);
  margin: -0.25rem 0 0;
}

.form-status-error { color: #E8A17E; }

/* =========================================================
   Contact
   ========================================================= */

.contact { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
}

.contact-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.2rem; }

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

.contact-cta {
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 241, 230, 0.75);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand nav"
    "watch watch"
    "copy copy";
  row-gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo-mark { border-radius: 5px; }

.footer-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1rem;
}

.footer-tag {
  font-size: 0.78rem;
  margin-top: 0.15rem;
  color: rgba(246, 241, 230, 0.55);
}

.footer-nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a { font-size: 0.85rem; }
.footer-nav a:hover { color: var(--gold); }

.footer-watchword {
  grid-area: watch;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.5rem;
}

.footer-copy {
  grid-area: copy;
  font-size: 0.75rem;
  color: rgba(246, 241, 230, 0.4);
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "watch"
      "copy";
  }
  .footer-nav { justify-content: flex-start; }
}
/* Floating WhatsApp Button */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float span {
  line-height: 1;
}
/* Testimonials */

.testimonials {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--cream);
}

.testimonial-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}

.testimonial-card p {
  color: var(--ink-soft);
  font-style: italic;
}

.testimonial-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--forest);
}

@media(max-width:700px){
  .testimonial-grid{
    grid-template-columns:1fr;
  }
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--gold);
  font-size: 0.9rem;
}

.social-links a:hover {
  color: var(--cream);
}/* Certifications */

.certifications {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: white;
}

.cert-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cert-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: var(--cream-soft);
}

.cert-card h3 {
  color: var(--forest);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cert-card p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media(max-width:900px){
  .cert-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:500px){
  .cert-grid {
    grid-template-columns:1fr;
  }
}
/* Why Choose Qiblah */

.why-qiblah {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--cream);
}

.why-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.why-card h3 {
  color: var(--forest);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.why-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media(max-width:900px){
  .why-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:500px){
  .why-grid {
    grid-template-columns:1fr;
  }
}.gallery {
padding: 4rem 0;
background:white;
}

.gallery-grid {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:1.5rem;
margin-top:2rem;
}

.gallery-grid img {
width:100%;
height:280px;
object-fit:cover;
border-radius:14px;
}

@media(max-width:700px){
.gallery-grid{
grid-template-columns:1fr;
}
}/* Floating WhatsApp Button */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 100;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float span {
  line-height: 1;
}

/* =========================================================
   QIBLAH LEARNING HUB
   ========================================================= */

.learning-hub {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--cream-soft);
}

.learning-hub .section-lead {
  margin-top: 0.5rem;
}

.learning-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.learning-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.learning-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 18px 35px -25px rgba(15, 61, 46, 0.5);
}

.learning-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-deep);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.learning-card h3 {
  color: var(--forest);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.learning-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.learning-link {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.learning-link:hover {
  color: var(--forest);
}

@media (max-width: 900px) {
  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .learning-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   EDUCATIONAL SECTIONS
   ========================================================= */

.education-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #ffffff;
}

.education-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.education-card {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-soft);
}

.education-number {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.education-card h3 {
  color: var(--forest);
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.education-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.education-cta {
  margin-top: 2.75rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.education-cta p {
  margin-bottom: 1.25rem;
  color: rgba(246, 241, 230, 0.85);
}

@media (max-width: 900px) {
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
QIBLAH PILGRIM LEARNING CENTRE
HAJJ LESSON
========================================================= */

.lesson-section {
padding: clamp(3.5rem, 7vw, 5.5rem) 0;
background: var(--cream-soft);
}

.lesson-intro {
max-width: 800px;
margin: 2.5rem auto 0;
padding: 1.75rem;
background: #fff;
border-left: 4px solid var(--gold);
border-radius: var(--radius);
border-top: 1px solid var(--line);
border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}

.lesson-intro h3 {
color: var(--forest);
font-size: 1.25rem;
margin-bottom: 0.6rem;
}

.lesson-intro p {
color: var(--ink-soft);
font-size: 0.95rem;
}

.lesson-steps {
max-width: 900px;
margin: 2.5rem auto 0;
display: flex;
flex-direction: column;
gap: 1rem;
}

.lesson-step {
position: relative;
background: #fff;
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 1.75rem 1.75rem 1.75rem 4.5rem;
}

.lesson-step-number {
position: absolute;
left: 1.5rem;
top: 1.75rem;
font-family: var(--font-display);
font-size: 1rem;
color: var(--gold-deep);
}

.lesson-step h3 {
color: var(--forest);
font-size: 1.25rem;
margin-bottom: 0.55rem;
}

.lesson-step p {
color: var(--ink-soft);
font-size: 0.92rem;
line-height: 1.7;
}

.lesson-note {
margin-top: 1rem;
padding: 0.85rem 1rem;
background: var(--cream);
border-radius: var(--radius-sm);
color: var(--ink-soft);
font-size: 0.85rem;
}

.lesson-note strong {
color: var(--forest);
}

.lesson-warning {
max-width: 900px;
margin: 2rem auto 0;
padding: 1.5rem;
background: var(--forest);
color: var(--cream);
border-radius: var(--radius);
}

.lesson-warning h3 {
color: var(--gold);
margin-bottom: 0.5rem;
}

.lesson-warning p {
color: rgba(246, 241, 230, 0.8);
font-size: 0.88rem;
line-height: 1.7;
}

.lesson-navigation {
margin-top: 2rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.75rem;
}

@media (max-width: 560px) {

.lesson-step {
padding: 1.5rem;
}

.lesson-step-number {
position: static;
display: block;
margin-bottom: 0.5rem;
}

.lesson-navigation .btn {
width: 100%;
}

}

/* /* ========================================================= LEARNING CENTRE MENU ========================================================= */

.learning-centre-header { margin-bottom: 2.5rem; padding: 0 0.75rem; }

.learning-centre-menu { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.learning-menu-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }

.learning-menu-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 28px -18px rgba(15, 61, 46, 0.35); }

.learning-menu-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); font-size: 1.35rem; }

.learning-menu-card strong { display: block; color: var(--forest); font-family: var(--font-display); font-size: 1.05rem; }

.learning-menu-card small { display: block; margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.4; }

@media (max-width: 600px) {

.learning-centre-menu { grid-template-columns: 1fr; padding: 0 0.75rem; }

.learning-menu-card { padding: 1.15rem; }

}

/* ========================================================= HAJJ TYPES LESSON ========================================================= */
.hajj-types-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hajj-type-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.hajj-type-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.hajj-type-card h3 { font-family: var(--font-display); color: var(--forest); font-size: 1.15rem; margin-bottom: 0.6rem; }
.hajj-type-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 700px) {
  .hajj-types-grid { grid-template-columns: 1fr; }
}

/* ========================================================= DU'AS & ADHKAR LESSON ========================================================= */
.duas-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.dua-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.dua-card h3 { font-family: var(--font-display); color: var(--forest); font-size: 1rem; margin-bottom: 0.75rem; }
.dua-arabic { direction: rtl; font-size: 1.3rem; line-height: 2; color: var(--forest); margin-bottom: 0.75rem; }
.dua-translation { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; font-style: italic; }

/* ========================================================= PREPARATION LESSON ========================================================= */
.prep-checklist { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.prep-card { display: flex; align-items: flex-start; gap: 1rem; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.prep-icon { font-size: 1.5rem; flex-shrink: 0; }
.prep-card strong { display: block; color: var(--forest); font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.35rem; }
.prep-card p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; }
@media (max-width: 600px) {
  .prep-checklist { grid-template-columns: 1fr; }
}


