
:root {
  --navy: #155D5F;
  --navy-dark: #041A34;
  --navy-light: #0A3A6E;
  --gold: #7E223D;
  --gold-light: #7e223d;
  --gold-dark: #7e223d;
  --maroon: #7E223D;
  --teal: #155D5F;
  --white: #FFFFFF;
  --offwhite: #E5E5E5;
  --lightgrey: #F2F0EC;
  --grey: #6B7280;
  --darkgrey: #363636;
  --border: #E5E1D8;
  --white-new: #ffffff;
  --shadow: 0 4px 24px rgba(7,43,82,0.10);
  --shadow-lg: 0 12px 48px rgba(7,43,82,0.16);
  --radius: 8px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Noto Nastaliq Urdu', sans-serif;
  /*font-family: 'Cormorant Garamond', serif;*/
  color: var(--darkgrey);
  background: var(--white);
  direction: ltr;
  line-height: 1.6;
}

/* ──────────── TOPBAR ──────────── */
.topbar {
  background: var(--gold);
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  font-size: 13px;
}
.topbar-inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left a { color: rgba(255,255,255,0.8); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-left a:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 6px; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8); padding: 2px 10px; border-radius: 4px;
  cursor: pointer; font-size: 12px; transition: all .2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--white); border-color: var(--white); color: var(--gold); }
.social-icons { display: flex; gap: 10px; }
.social-icons a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s; }
.social-icons a:hover { color: var(--white); }

/* ──────────── HEADER ──────────── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(7,43,82,0.12);
  transition: all .3s;
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
}

/* ===== LOGO VERTICAL CENTER FIXES ===== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.logo > div {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  display: block;
  width: 280px;
}


nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 6px; transition: all .2s; white-space: nowrap;
}
nav a:hover,
nav a.active {
  color: var(--gold);
  background: rgba(199, 154, 59, 0.08);
}

/* ===== DROPDOWN (About → Our Team) ===== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > a i {
  font-size: 10px;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(7, 43, 82, 0.14);
  padding: 8px;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1001;
}

/* Gap bridge taake mouse neeche le jaane pe dropdown band na ho */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
}

.btn-chat {
  background: var(--gold); color: var(--white); border: none;
  padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: all .2s; text-decoration: none;
}
.btn-chat:hover { background: var(--gold-dark); transform: translateY(-1px); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all .3s; }

/* ===== MOBILE SUB LINK (Our Team indented) ===== */
.mobile-sub-link {
  padding-left: 32px !important;
  font-size: 13px !important;
  opacity: 0.85;
}

/* ──────────── HERO ──────────── */
.hero {
  position: relative;
  min-height: 620px;
  background: var(--lightgrey);
  overflow: hidden;
  display: flex; align-items: flex-start;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, var(--lightgrey) 0%, var(--lightgrey) 38%, rgba(242,240,236,0.85) 48%, rgba(242,240,236,0.15) 68%, rgba(242,240,236,0) 80%),
      url(https://images.unsplash.com/photo-1519817650390-64a93db51149?w=1800&q=80) center / cover no-repeat;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: repeating-linear-gradient(45deg, var(--navy) 0, var(--navy) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; 
  margin: 0px 0px 0px 100px;
  padding: 48px 24px 80px;
  display: block;
  text-align: left;
}
.hero-content { max-width: 620px; margin: 0; margin-right: auto; text-align: left; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700; color: var(--navy); line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); display: block; }
.hero-desc {
  color: var(--darkgrey); font-size: 16px; line-height: 1.75;
  margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--white); text-decoration: none;
  padding: 14px 28px; border-radius: 7px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px; transition: all .2s;
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white); text-decoration: none;
  padding: 14px 28px; border-radius: 7px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px; transition: all .2s;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid #155d5f;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.hero-card-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white-new); font-size: 22px; font-weight: 600;
  margin-bottom: 8px;
}
.hero-card-sub { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 24px; }

.goal-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 20px;
}

.goal-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.goal-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.goal-text {
    font-size: 15px;
    color: #ffffff;
    margin: 6px 0 0;
    line-height: 1.5;
    }

.stats-row {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 26px;
    padding-top: 12px;
    display: flex;
    gap: 30px;
}

.stat-number {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin: 3px 0 0;
}
.fatwa-input-wrap { position: relative; margin-bottom: 16px; }
.fatwa-input {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  border: 1px solid rgba(199,154,59,0.3);
  background: rgba(255,255,255,0.10); color: var(--white);
  font-size: 14px; outline: none; resize: none;
}
.fatwa-input::placeholder { color: rgba(255,255,255,0.4); }
.fatwa-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.15); }
.hero-card .btn-primary { width: 100%; justify-content: center; }
.hero-scholars {
  display: flex; gap: 8px; align-items: center; margin-top: 20px;
}
.scholar-avatars { display: flex; }
.scholar-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--white-new);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 11px; font-weight: 700;
  margin-right: -8px;
}
.hero-scholars-text { color: rgba(255,255,255,0.7); font-size: 12px; margin-left: 16px; }
.hero-scholars-text strong { color: var(--white-new); }

/* ──────────── STATS ──────────── */
.stats { background: var(--navy); padding: 0; }
.stats-inner {
  max-width: 1280px; margin: auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-item:last-child { border-right: none; }
.stat-icon { color: var(--white-new); font-size: 22px; margin-bottom: 4px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 2px; }

/* ──────────── SECTIONS COMMON ──────────── */
section { padding: 80px 0; }
.section-inner { max-width: 1280px; margin: auto; padding: 0 24px; }
.section-label {
  color: var(--gold); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px); font-weight: 700;
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-desc { color: var(--grey); font-size: 16px; max-width: 580px; line-height: 1.7; }
.section-head-center { text-align: center; }
.section-head-center .section-desc { margin: 0 auto; }
.divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin: 16px 0 28px;
}
.divider-center { margin: 16px auto 28px; }

/* ──────────── ABOUT ──────────── */
.about { background: var(--white-new); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-img-placeholder {
  width: 100%; 
  background: linear-gradient(135deg, var(--white-new) 20%, var(--white-new) 100%);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--gold);
  /*aspect-ratio: 4/3;*/
}


.about-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Image container ko pura fill karegi bina stretch hue */
    display: block;
     border-radius: var(--radius-lg);
}

.about-img-placeholder i { font-size: 48px; opacity: .7; }
.about-img-placeholder span { font-size: 14px; opacity: .6; color: #fff; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--white);
  border-radius: var(--radius-lg); padding: 20px 24px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; line-height: 1; }
.about-badge-text { font-size: 12px; font-weight: 600; margin-top: 4px; }
.about-points { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; }
.about-point i { color: var(--gold); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.about-point p { color: var(--darkgrey); font-size: 15px; }

/* ──────────── ABOUT + WHY CHOOSE (combined, reference layout) ──────────── */
.about-why-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.about-why-col-about .section-label,
.about-why-col-why .section-label { margin-bottom: 8px; }
.about-why-col-about h2,
.about-why-col-why h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 14px;
}
.about-why-col-about p { color: var(--grey); font-size: 14.5px; line-height: 1.75; margin-bottom: 12px; }
.about-why-image {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-why-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-why-mini-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px 20px; margin-top: 8px;
}
.about-why-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.about-why-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  flex-shrink: 0;
}
.about-why-item h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ──────────── WHY CHOOSE ──────────── */
.why-choose {}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* 8 cards = 2 neat rows */
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  box-shadow: 0 16px 48px rgba(7, 43, 82, 0.08);
  transform: translateY(-6px);
  border-color: rgba(199, 154, 59, 0.12);
}

/* Old top-border effect remove */
.why-card::before { display: none; }

/* ===== CIRCULAR ICON (Image wala style) ===== */
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);        /* Dark green circle */
  color: var(--white);             /* Gold icon */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px auto;       /* Centered */
  transition: all .3s ease;
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.05);
}

/* ===== TYPOGRAPHY ===== */
.why-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.why-card p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
  margin: 0;
}


/* ──────────── OUR CLIENTS ──────────── */
.clients { background: var(--white); padding: 60px 0; }
.clients-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 40px; flex-wrap: wrap;
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex: 1; min-width: 150px;
  padding: 14px 18px; border-radius: 50px;
  border: 1px solid var(--border);
  filter: grayscale(100%); opacity: 0.65;
  transition: all .3s;
}
.client-logo:hover { filter: grayscale(0%); opacity: 1; border-color: var(--gold); }
.client-logo-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.client-logo span { font-size: 13.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ──────────── SERVICES ──────────── */
.services { background: var(--offwhite); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid var(--border);
  transition: all .3s; cursor: pointer;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); transform: translateY(-3px); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold) 100%);
  color: var(--white-new); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.service-card a { color: var(--gold); font-size: 13px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.service-card a:hover { gap: 10px; }

/* ──────────── INDUSTRIES ──────────── */
.industries {}
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.industry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: all .3s;
}
.industry-card:hover { background: var(--navy); border-color: var(--navy); }
.industry-card:hover .industry-icon { background: rgba(199,154,59,0.2); color: var(--gold); }
.industry-card:hover h4 { color: var(--white); }
.industry-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--offwhite); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 14px; transition: all .3s;
}
.industry-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); transition: color .3s; }

/* ──────────── ASK FATWA CTA ──────────── */
.ask-fatwa-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal) 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.ask-fatwa-banner::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background: repeating-linear-gradient(60deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 30px);
}
.ask-fatwa-inner {
  max-width: 1280px; margin: auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1;
}
.ask-fatwa-content .section-title { color: var(--white); }
.ask-fatwa-desc { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.ask-fatwa-form { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(199,154,59,0.25); border-radius: var(--radius-lg); padding: 32px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border-radius: 7px;
  border: 1px solid rgba(199,154,59,0.25);
  background: rgba(255,255,255,0.10); color: var(--white);
  font-size: 14px; outline: none; resize: none; font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); }
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ──────────── COURSES ──────────── */
.courses { background: var(--offwhite); }
.courses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; transition: all .3s;
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.course-thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--white-new) 0%, var(--white-new) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 36px;
}
.course-body { padding: 20px; }
.course-tag {
  display: inline-block; background: rgba(199,154,59,0.12); color: var(--gold-dark);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px;
}
.course-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.course-body p { font-size: 13px; color: var(--grey); line-height: 1.55; margin-bottom: 14px; }
.course-body a { color: var(--gold); font-size: 13px; font-weight: 600; text-decoration: none; }

/* ──────────── CLIENTS ──────────── */
.clients { background: var(--white); }
.clients-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 48px; align-items: center;
}
.client-logo {
  height: 56px; padding: 0 28px;
  background: var(--offwhite); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); transition: all .2s;
  font-size: 13px; font-weight: 700; color: var(--navy); min-width: 140px;
}
.client-logo:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(199,154,59,0.15); }

/* ──────────── TEAM ──────────── */
.team { background: var(--offwhite); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center; overflow: hidden;
  transition: all .3s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.team-photo {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--offwhite) 0%, var(--offwhite) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--gold); margin: 28px auto 0;
  border: 3px solid var(--gold);
}
.team-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 14px 0 4px; padding: 0 12px; }
.team-card .role { font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.team-card .board { font-size: 12px; color: var(--grey); margin-bottom: 20px; }
.team-card-footer {
  border-top: 1px solid var(--border); padding: 14px;
  display: flex; justify-content: center;
}
.team-card-footer a { color: var(--gold); font-size: 13px; font-weight: 600; text-decoration: none; }

/* ──────────── LATEST UPDATES ──────────── */
.latest { background: var(--white); }
.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.latest-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: var(--navy);
  border-bottom: 2px solid var(--gold); padding-bottom: 12px; margin-bottom: 20px;
}
.update-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.update-item:last-child { border-bottom: none; }
.update-thumb {
  width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--offwhite) 0%, var(--offwhite) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 20px;
}
.update-content h4 { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.update-content .date { font-size: 12px; color: var(--grey); }
.update-content a { text-decoration: none; color: inherit; }
.update-content a:hover h4 { color: var(--gold); }

/* ──────────── TESTIMONIALS ──────────── */
.testimonials { background: var(--navy); padding: 80px 0; }
.testimonials .section-title { color: var(--white); }
.testimonials .section-label { color: var(--gold); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.testi-card {
  background: rgba(255,255,255,0.06); border-radius: var(--radius-lg);
  border: 1px solid rgba(199,154,59,0.15); padding: 32px 28px;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; line-height: .6;
  color: var(--white-new); opacity: .4;
  position: absolute; top: 20px; left: 24px;
}
.testi-text { color: rgba(255,255,255,0.80); font-size: 15px; line-height: 1.75; margin-bottom: 24px; margin-top: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.testi-info h4 { font-size: 14px; font-weight: 700; color: var(--white); }
.testi-info p { font-size: 12px; color: var(--white-new); }

/* ──────────── PRAYER & CALENDAR ──────────── */
.prayer-cal { background: var(--offwhite); }
.prayer-cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.prayer-box, .cal-box {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.box-header {
  background: var(--navy); color: var(--white);
  padding: 18px 24px; display: flex; align-items: center; justify-content: space-between;
}
.box-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 18px; }
.box-header .date-info { font-size: 12px; color: rgba(255,255,255,0.7); }
.prayer-times { padding: 8px 0; }
.prayer-time-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 24px; border-bottom: 1px solid var(--border); transition: background .2s;
}
.prayer-time-row:hover { background: var(--offwhite); }
.prayer-time-row:last-child { border-bottom: none; }
.prayer-name { font-weight: 600; color: var(--navy); font-size: 14px; }
.prayer-name-ar { font-size: 12px; color: var(--grey); direction: rtl; }
.prayer-value { font-size: 15px; font-weight: 700; color: var(--gold-dark); }
.prayer-time-row.active { background: #155d5f1f; }
.prayer-time-row.active .prayer-name { color: var(--gold-dark); }

.cal-grid-wrap { padding: 20px 24px; }
.cal-month-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-month-nav button { background: none; border: 1px solid var(--border); width: 30px; height: 30px; border-radius: 6px; cursor: pointer; color: var(--navy); font-size: 14px; }
.cal-month-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.cal-month-nav span { font-weight: 700; color: var(--navy); font-size: 14px; }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 6px; }
.cal-days-header span { font-size: 11px; font-weight: 600; color: var(--grey); padding: 4px 0; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; border-radius: 6px;
  cursor: pointer; font-size: 13px; color: var(--darkgrey); transition: all .2s;
}
.cal-day:hover { background: var(--offwhite); }
.cal-day.empty { pointer-events: none; }
.cal-day.today { background: var(--gold); color: var(--white); font-weight: 700; }
.cal-day.other-month { color: rgba(107,114,128,0.4); }
.cal-day .hijri { font-size: 9px; color: var(--grey); }
.cal-day.today .hijri { color: rgba(255,255,255,0.8); }

/* ──────────── CONTACT CTA ──────────── */
.contact-cta {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 64px 0; text-align: center;
}
.contact-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--white); margin-bottom: 12px; }
.contact-cta p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 32px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white {
  background: var(--white); color: var(--gold-dark);
  padding: 14px 32px; border-radius: 7px; font-weight: 700; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-dark {
  background: var(--navy); color: var(--white);
  padding: 14px 32px; border-radius: 7px; font-weight: 700; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: all .2s;
}
.btn-dark:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ──────────── FOOTER ──────────── */
footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1280px; margin: auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr; gap: 40px;
}
.footer-brand {}
.footer-logo-text .logo-title { color: var(--gold); font-size: 20px; }
.footer-logo-text .logo-subtitle { color: rgba(255,255,255,0.6); }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.7; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .2s; text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-col h4 {
  color: var(--white-new); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 10px; align-items: flex-start; }
.contact-item i { color: var(--white-new); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.contact-item span { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.5; }
.footer-bottom {
  max-width: 1280px; margin: 40px auto 0; padding: 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; padding-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 12px; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white-new); }

/* ──────────── FLOATING BUTTONS ──────────── */
.floating-btns { position: fixed; bottom: 28px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.25); transition: all .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-wa { background: #25D366; color: var(--white); }
.float-top { background: var(--gold); color: var(--white); }

/* ──────────── SCROLL REVEAL ──────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s, transform .6s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .hero-card { display: none; }
  .about-grid, .ask-fatwa-inner, .prayer-cal-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .about-why-grid { grid-template-columns: 1fr; }
  .about-why-image { max-width: 380px; margin: 0 auto; }
  .clients-row { flex-wrap: wrap; }
  nav { display: none; }
  .hamburger { display: block; }
  .btn-chat { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 600px) {
  .services-grid, .why-grid, .industries-grid, .courses-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .topbar-left { gap: 10px; font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .logo img { width: 200px; }
  .about-why-mini-grid { grid-template-columns: 1fr; }
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--navy-dark);
  z-index: 1500; flex-direction: column; padding: 80px 32px 40px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 18px;
  font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer;
}

/* ──────────── PAGE HEADER (inner pages) ──────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--teal) 100%);
  padding: 64px 0 56px;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 20px);
}
.page-header-inner { max-width: 1280px; margin: auto; padding: 0 24px; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }
.breadcrumb span { color: var(--lightgrey); }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.page-header p { color: rgba(255,255,255,0.75); font-size: 15px; max-width: 620px; line-height: 1.7; }

/* ──────────── TEASER "VIEW ALL" LINK ──────────── */
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 0;
}

/* ──────────── MISSION / VISION ──────────── */
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.mission-card {
  background: var(--navy); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; position: relative;
}
.mission-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold) 100%);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.mission-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 700; color: var(--white-new); }
.mission-card p { color: var(--white-new); font-size: 14px; line-height: 1.75; margin-bottom: 16px; }

.stat-number { font-size: 20px; font-weight: 600; }

/* ──────────── FATWA PAGE FORM ──────────── */
.fatwa-page { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal) 100%); }
.fatwa-page-inner {
  max-width: 1280px; margin: auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
}
.fatwa-page-content .section-label { color: var(--gold); }
.fatwa-page-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px,3vw,36px); color: var(--white); margin-bottom: 16px; }
.fatwa-page-content p.lead { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.fatwa-points { display: flex; flex-direction: column; gap: 18px; }
.fatwa-point { display: flex; gap: 14px; align-items: flex-start; }
.fatwa-point i { color: var(--gold); font-size: 18px; margin-top: 3px; flex-shrink: 0; }
.fatwa-point h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.fatwa-point p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.6; }
.fatwa-form-box { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(199,154,59,0.25); border-radius: var(--radius-lg); padding: 36px; }
.fatwa-form-box h3 { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: 20px; margin-bottom: 22px; }
.fatwa-form-box .btn-primary { width: 100%; justify-content: center; margin-top: 6px; border: none; }

/* Recent fatwas strip on ask-fatwa page */
.recent-fatwas { background: var(--offwhite); }
.recent-fatwas .latest-col h3 { }

/* ──────────── CONTACT PAGE ──────────── */
.contact-page-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; margin-top: 48px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(126,34,61,0.08); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-info-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 13px; color: var(--grey); line-height: 1.6; text-decoration: none; }
.contact-info-card a:hover { color: var(--gold); }
.map-placeholder {
  aspect-ratio: 16/8; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,0.8); margin-top: 20px;
}
.map-placeholder i { font-size: 32px; color: var(--gold-light); }
.map-placeholder span { font-size: 13px; }
.contact-form-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
}
.contact-form-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--navy); margin-bottom: 22px; }
.contact-form-box .form-row label { color: var(--grey); }
.contact-form-box .form-row input, .contact-form-box .form-row textarea, .contact-form-box .form-row select {
  background: var(--lightgrey); color: var(--darkgrey); border: 1px solid var(--border);
}
.contact-form-box .form-row input::placeholder, .contact-form-box .form-row textarea::placeholder { color: var(--grey); }
.contact-form-box .form-row input:focus, .contact-form-box .form-row textarea:focus { border-color: var(--gold); background: var(--white); }
.contact-form-box .btn-primary { border: none; width: 100%; justify-content: center; margin-top: 6px; }

/* ──────────── GENERIC PAGE INTRO ──────────── */
.page-intro { max-width: 720px; margin-bottom: 8px; }

@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; }
  .fatwa-page-inner { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
}
