
/* =========================================================
   Elite Quran Learning
   Main stylesheet | Emerald, champagne gold and warm ivory
   ========================================================= */

:root {
  --green: #104c3b;
  --green-dark: #093a2d;
  --green-light: #eaf2ed;
  --gold: #d6ad58;
  --gold-dark: #b98c37;
  --ivory: white;
  --cream:white;
  --white: #ffffff;
  --text: #020202;
  --muted: #69736c;
  --border: #e8e3d8;
  --shadow: 0 14px 40px rgba(21, 48, 36, 0.08);
  --radius: 18px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
} 

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.6px;
}

h1 {
  font-size: clamp(2.7rem, 5.1vw, 5.1rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--white);
  color: var(--green);
}

.skip-link:focus {
  top: 12px;
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: #000000;
}

.button-gold:hover {
  background: #e4c77f;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-outline {
  border-color: #b6c5b9;
  background: transparent;
  color:var(--gold-dark);
}

.button-outline:hover {
  border-color: var(--green);
  background: var(--green-light);
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.19);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color:var(--gold-dark);
  font-weight: 700;
  font-size: 0.94rem;
}

.text-link span {
  transition: transform 0.2s;
}

.text-link:hover span {
  
  transform: translateX(5px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: black;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

.eyebrow-light {
  color: #f0d394;
}

/* Circular profile image in review cards */
.roa-avatar {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.roa-avatar img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Announcement */

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 7px 20px;
  background: black;
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.announcement-bar p {
  margin: 0;
  color: #f4f0e6;
}

.announcement-bar a {
  color:white;
  font-weight: 700;
}

.announcement-bar a:hover {
  text-decoration: underline;
  color: white !important;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(16, 76, 59, 0.09);
  background: rgba(250, 247, 239, 0.97);
  backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  background: white !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1440px, calc(100% - 36px));
  min-height: 88px;
  margin: auto;
  width: 100%;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--green);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 1.4px;
}

.brand-copy > span {
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.primary-navigation {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 44px;
  padding: 10px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover{color: #b98c37;}

.nav-link.active {
  background: rgba(16, 76, 59, 0.07);
  color:#b98c37 !important ;
}

.chevron {
  width: 7px;
  height: 7px;
  margin-left: 3px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.has-dropdown.open > .dropdown-toggle .chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}


.dropdown-menu {
  background-color: var(--gold-dark) !important;
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 1002;
  display: none;
  width: 255px;
  max-height: min(72vh, 520px);
  overflow-y: auto;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow:var(--gold-dark) !important;
  list-style: none;
}

.has-dropdown.open > .dropdown-menu
{
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color:black;
  font-size: 0.87rem;
  line-height: 1.5;
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--gold-dark);
  color: var(--gold-dark);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 13px;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--green);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   PREMIUM BLACK & GOLD HERO SLIDER
   Elite Quran Learning
   ========================================= */

.hero {
    position: relative;
    height: 680px;
    min-height: 680px;
    overflow: hidden;
    isolation: isolate;
    background: #101010;
    color: #FFFFFF;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Background images */

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay for readable headings */

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.78) 36%,
        rgba(0, 0, 0, 0.42) 68%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

/* Text layout */

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
    min-height: 680px;
    margin-inline: auto;
    padding: 60px 7% 95px;
    text-align: left;
}

/* Small gold label */

.hero-content .eyebrow {
    margin: 0 0 18px;
    color: #D6AD58;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

/* Consistent heading sizes */

.hero-content h1,
.hero-content h2 {
    max-width: 720px;
    margin: 0 0 22px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: clamp(2.6rem, 4.6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    text-wrap: balance;
}

/* Gold heading words */

.hero-content h1 span,
.hero-content h2 span {
    display: block;
    margin-top: 5px;
    color: #D6AD58;
}

/* Supporting paragraph */

.hero-content > p {
    max-width: 570px;
    margin: 0 0 30px;
    color: #EEEEEE;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.85;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* CTA layout */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: 0.25s ease;
}

/* Primary gold button */

.hero-actions .button-gold {
    border: 1px solid #D6AD58;
    background: #D6AD58;
    color: #101010;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero-actions .button-gold:hover {
    transform: translateY(-2px);
    border-color: #F2D58A;
    background: #F2D58A;
}

/* Secondary outlined button */

.hero-actions .button-glass {
    border: 1px solid #D6AD58;
    background: rgba(0, 0, 0, 0.30);
    color: #FFFFFF;
}

.hero-actions .button-glass:hover {
    transform: translateY(-2px);
    background: #D6AD58;
    color: #101010;
}

/* Previous and next arrows */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(214, 173, 88, 0.75);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #D6AD58;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.slider-arrow:hover {
    background: #D6AD58;
    color: #101010;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slide indicator dots */

.slider-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.slider-dot.active {
    width: 29px;
    background: #D6AD58;
}

/* Bottom-right label */

.hero-bottom-label {
    position: absolute;
    right: 28px;
    bottom: 32px;
    z-index: 5;
    color: #D6AD58;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: right;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {
    .hero,
    .hero-content {
        height: 620px;
        min-height: 620px;
    }

    .hero-content {
        padding: 55px 8% 90px;
    }

    .hero-content h1,
    .hero-content h2 {
        max-width: 620px;
        font-size: clamp(2.4rem, 6vw, 3.5rem);
    }

    .hero-slide > img {
        object-position: 60% center;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {
    .hero,
    .hero-content {
        height: 650px;
        min-height: 650px;
    }

    .hero-content {
        padding: 50px 25px 85px;
    }

    .hero-slide > img {
        object-position: 65% center;
    }

    .hero-slide .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.78) 58%,
            rgba(0, 0, 0, 0.52) 100%
        );
    }

    .hero-content .eyebrow {
        margin-bottom: 14px;
        font-size: 0.68rem;
        letter-spacing: 1.5px;
    }

    .hero-content h1,
    .hero-content h2 {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: clamp(2.15rem, 8.5vw, 3rem);
        line-height: 1.16;
        letter-spacing: -0.6px;
    }

    .hero-content > p {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions a {
        min-height: 48px;
        padding: 12px 15px;
        font-size: 0.86rem;
    }

    .slider-arrow {
        top: auto;
        bottom: 22px;
        width: 36px;
        height: 36px;
        transform: none;
        font-size: 1rem;
    }

    .slider-prev {
        left: 18px;
    }

    .slider-next {
        right: 18px;
    }

    .slider-dots {
        bottom: 35px;
        gap: 7px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 22px;
    }

    .hero-bottom-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-actions a,
    .slider-arrow,
    .slider-dot {
        transition: none;
    }
}


/* Introduction */

.intro-section {
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 75px;
}

.intro-copy h2 {
  max-width: 680px;
}

.intro-copy p {
  margin-bottom: 18px;
}

.intro-copy .lead {
  color: #48594d;
  font-size: 1.13rem;
  line-height: 1.85;
}

.intro-checks {
  display: grid;
  gap: 9px;
  margin: 25px 0;
  color: var(--green);
  font-size: 0.93rem;
  font-weight: 600;
}

.intro-checks span::first-letter {
  color: var(--gold-dark);
}

.intro-visual {
  position: relative;
  padding: 0 0 35px 28px;
}

.intro-visual > img {
  position: relative;
  z-index: 1;
  height: 540px;
  border-radius: 180px 180px 16px 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-decor {
  position: absolute;
  top: 30px;
  right: -12px;
  bottom: 0;
  left: 0;
  border: 1px solid var(--gold);
  border-radius: 180px 180px 16px 16px;
}

.intro-note {
  position: absolute;
  right: -10px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.note-symbol {
  display: grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--gold-dark);
  font-size: 1.4rem;
}

.intro-note strong {
  display: block;
  color: var(--green);
  font-size: 0.91rem;
}

.intro-note p {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

/* Video introduction */

.video-section {
  background: var(--white);
}

.academy-video {
  position: relative;
  width: min(900px, 100%);
  margin: auto;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  background: var(--green-dark);
  box-shadow: 0 18px 55px rgba(15, 57, 39, 0.14);
  aspect-ratio: 16 / 9;
}

.academy-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.88rem;
}

/* Course cards */

.courses-section {
  background: #f2f0e7;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.course-card {
  overflow: hidden;
  border: 1px solid rgba(16, 76, 59, 0.09);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(20, 48, 35, 0.035);
  transition: transform 0.25s, box-shadow 0.25s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.course-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 10;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .course-image img {
  transform: scale(1.045);
}

.course-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px;
  background: rgba(250, 247, 239, 0.94);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
}

.course-body {
  padding: 25px;
}

.course-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.course-body h3 {
  margin-bottom: 12px;
  color: black;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.course-body h3 a:hover {
  color: var(--gold-dark);
}

.course-body p {
  min-height: 85px;
  margin-bottom: 19px;
  color: #000000;
  font-size: 0.91rem;
  line-height: 1.8;
}

.course-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid #e2d8c2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.course-bottom-cta p {
  margin: 0;
  color: var(--green);
  font-weight: 600;
}

/* Why choose us */

.why-section {
  background: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
  border-color: #c8b477;
  transform: translateY(-3px);
}

.benefit-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  background:var(--gold-dark);
  color: black;
  font-size: 1.5rem;
}

.benefit-card h3 {
  margin-bottom: 10px;
  color:black;
}

.benefit-card p {
  margin: 0;
  color: #000000;
  font-size: 0.91rem;
}

/* How it works */

.steps-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  padding: 32px;
  border-top: 2px solid var(--gold);
  border-radius: 0 0 12px 12px;
  background: var(--ivory);
}

.step-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1;
}

.step-card h3 {
  color: black;
}

.step-card p {
  margin: 0;
  color: #000000;
  font-size: 0.93rem;
}

.center-button {
  margin-top: 36px;
  text-align: center;
}

/* Media library */

.resources-section {
  background: white;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e5dece;
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.resource-icon {
  display: grid;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-dark);
  color: black;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.resource-card > div {
  min-width: 0;
  flex: 1;
}

.resource-card h3 {
  margin-bottom: 5px;
  color: black;
  font-size: 1.04rem;
}

.resource-card p {
  margin: 0;
  color: #000000;
  font-size: 0.85rem;
}

.resource-arrow {
  flex-shrink: 0;
  color: var(--gold-dark);
  font-size: 1.3rem;
}

.resource-note {
  margin: 22px 0 0;
  font-size: 0.83rem;
}

/* About academy */

.about-section {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.about-visual {
  position: relative;
}

.about-visual > img {
  height: 610px;
  border-radius: 12px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -20px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 22px;
  border: 1px solid rgba(214, 173, 88, 0.5);
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-badge span {
  color: #efd18d;
  font-size: 0.73rem;
  letter-spacing: 2px;
}

.about-badge strong {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.about-copy p {
  margin-bottom: 17px;
  font-size: 0.95rem;
}

.about-copy p a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #cdb16c;
  text-underline-offset: 3px;
}

.about-copy .button {
  margin-top: 10px;
}

/* Faculty */

.faculty-section {
  background: var(--white);
}

.faculty-message {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--ivory);
}

.faculty-symbol {
  display: grid;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-dark);
  color:black;
  font-size: 2rem;
}

.faculty-message > div:nth-child(2) {
  flex: 1;
}

.faculty-message h3 {
  margin-bottom: 8px;
  color: black;
}

.faculty-message p {
  margin: 0;
  color: #000000;
  font-size: 0.92rem;
}

/* Blog */

.blog-section {
  background: #f2f0e7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-image {
  display: block;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 16 / 10;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.04);
}

.blog-body {
  padding: 24px;
}

.blog-category {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.blog-body h3 {
  margin-bottom: 12px;
  color: black;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.blog-body h3 a:hover {
  color: var(--gold-dark);
}

.blog-body p {
  font-size: 0.9rem;
}

.blog-body .text-link {
  margin-top: 5px;
}


/* Final call to action */

.final-cta {
  padding: 72px 0;
  background:#D6AD58;
  
  color: var(--white);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.final-cta-inner > div:first-child {
  max-width: 700px;
}

.final-cta h2 {
  margin-bottom: 15px;
  color: var(--white);
}

.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */


.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 0.95fr;
  gap: 45px;
  padding-top: 70px;
  padding-bottom: 60px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  color: #e7cb8a;
}

.footer-brand .brand-copy > span {
  color: #e7cb8a;
}

.footer-brand-column > p {
  max-width: 310px;
  margin: 23px 0;
  color: #bdcbc2;
  font-size: 0.9rem;
}

.footer-contact-link {
  color: #e7cb8a;
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-column h2 {
  margin-bottom: 21px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #bdcbc2;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer-column a:hover,
.footer-contact-link:hover {
  color: #efd18d;
}





.footer-socials {
  display: flex;
  gap: 9px;
}

.footer-socials a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #f2d995;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.back-to-top {
  color: #e7cb8a;
  font-size: 0.83rem;
  font-weight: 600;
}

/* Floating WhatsApp */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  padding: 11px 17px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;
  background: #168b55;
  color: white;
  box-shadow: 0 8px 25px rgba(8, 55, 35, 0.25);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #107746;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Medium screens */

@media (max-width: 1250px) {
  .nav-container {
    width: min(100% - 28px, 1150px);
  }

  .brand-mark {
    width: 41px;
    height: 41px;
  }

  .brand-copy strong {
    font-size: 0.83rem;
  }

  .brand-copy > span {
    font-size: 0.62rem;
  }

  .nav-link {
    padding-inline: 6px;
    font-size: 0.74rem;
  }

  .nav-cta {
    padding-inline: 10px;
  }

  .intro-grid,
  .about-grid {
    gap: 48px;
  }

  .footer-main {
    gap: 28px;
  }
}

/* Mobile and tablet navigation */

@media (max-width: 1050px) {
  .nav-container {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .primary-navigation {
    position: fixed;
    top: var(--mobile-header-offset, 76px);
    right: 0;
    bottom: 0;
    z-index: 1001;
    width: min(410px, 100%);
    margin: 0;
    padding: 16px 20px 40px;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    background: var(--ivory);
    box-shadow: -15px 15px 35px rgba(10, 42, 28, 0.12);
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 0.28s ease, visibility 0.28s;
  }

  .primary-navigation.open {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-list {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.92rem;
    text-align: left;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 10px;
  }

  .nav-cta-item {
    margin-top: 6px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    margin: 0 0 8px;
    padding: 4px 8px 8px 15px;
    overflow: visible;
    border: 0;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
  }

  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu {
    display: none;
  }

  .has-dropdown.open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 10px 12px;
    font-size: 0.89rem;
  }

  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 35, 25, 0.91), rgba(8, 43, 31, 0.6)),
      linear-gradient(0deg, rgba(5, 35, 25, 0.35), transparent 60%);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small screens */

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 68px 0;
  }

  .announcement-bar {
    flex-wrap: wrap;
    gap: 1px 10px;
    padding: 7px 12px;
    font-size: 0.73rem;
  }

  .nav-container {
    width: calc(100% - 26px);
    min-height: 72px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 0.76rem;
    letter-spacing: 1px;
  }

  .brand-copy > span {
    font-size: 0.59rem;
    letter-spacing: 1.8px;
  }

  .primary-navigation {
    top: 72px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .section-heading.centered {
    margin-bottom: 34px;
  }

  .section-heading .button {
    align-self: flex-start;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-content {
    justify-content: center;
    padding-top: 65px;
    padding-bottom: 105px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
    line-height: 1.13;
  }

  .hero-content > p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 7px;
    margin-top: 24px;
    font-size: 0.78rem;
  }

  .slider-arrow {
    top: auto;
    bottom: 23px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .slider-prev {
    left: 20px;
  }

  .slider-next {
    right: 20px;
  }

  .slider-dots {
    bottom: 37px;
  }

  .hero-bottom-label {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .trust-grid > div {
    justify-content: flex-start;
    font-size: 0.79rem;
    text-align: left;
  }

  .trust-icon {
    font-size: 1.1rem;
  }

  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .intro-copy {
    order: 1;
  }

  .intro-visual {
    order: 0;
    padding-left: 10px;
  }

  .intro-visual > img {
    height: 400px;
    border-radius: 130px 130px 12px 12px;
  }

  .intro-decor {
    top: 20px;
    right: -5px;
    border-radius: 130px 130px 12px 12px;
  }

  .intro-note {
    right: -4px;
    max-width: 270px;
    padding: 15px;
  }

  .academy-video {
    border-width: 4px;
    border-radius: 10px;
  }

  .course-grid,
  .benefit-grid,
  .steps-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .course-body p {
    min-height: 0;
  }

  .course-body {
    padding: 22px;
  }

  .course-bottom-cta {
    flex-direction: column;
    text-align: center;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    gap: 12px;
    padding: 16px;
  }

  .resource-icon {
    width: 48px;
    height: 48px;
  }

  .resource-card h3 {
    font-size: 0.96rem;
  }

  .about-visual > img {
    height: 390px;
  }

  .about-badge {
    right: -5px;
    bottom: 20px;
    min-width: 150px;
    padding: 16px;
  }

  .faculty-message {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
  }

 

  .final-cta {
    padding: 55px 0;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .whatsapp-float {
    right: 13px;
    bottom: 13px;
    min-height: 49px;
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

/* Extra-small phones */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    font-size: 0.68rem;
  }

  .brand-copy > span {
    font-size: 0.53rem;
    letter-spacing: 1.3px;
  }

  .menu-toggle {
    width: 41px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 2.25rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand-column {
    grid-column: auto;
  }
}

/* Respect users who prefer reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== ANNOUNCEMENT / CONTACT SOCIAL BAR ===== */

.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 5%;
    background: #104c3b;
    color: #faf7ef;
    font-size: 13px;
}

/* Phone and email */
.announcement-contact {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 22px;
    min-width: 0;
}

.announcement-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #faf7ef;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.announcement-contact a:hover {
    color: #d6ad58;
}


/* ===== MODERN BRAND-COLORED SOCIAL ICONS ===== */

.announcement-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.announcement-socials a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Facebook — Blue */
.announcement-socials a[aria-label="Facebook"] {
    background: #1877F2;
}

/* Instagram — Pink / Purple gradient */
.announcement-socials a[aria-label="Instagram"] {
    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
}

/* YouTube — Red */
.announcement-socials a[aria-label="YouTube"] {
    background: #FF0033;
}

/* LinkedIn — Blue */
.announcement-socials a[aria-label="LinkedIn"] {
    background: #0A66C2;
}

/* Hover effect */
.announcement-socials a:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.announcement-socials a i {
    line-height: 1;
}

/* Mobile */
@media (max-width: 700px) {
    .announcement-socials {
        justify-content: center;
        margin-left: 0;
        gap: 12px;
    }

    .announcement-socials a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}
/* Desktop dropdowns open on hover */
@media (min-width: 1051px) {
  .nav-list .has-dropdown {
    position: relative;
  }

  .nav-list .has-dropdown:hover > .dropdown-menu,
  .nav-list .has-dropdown:focus-within > .dropdown-menu,
  .nav-list .has-dropdown.open > .dropdown-menu {
    display: block;
  }

  .nav-list .dropdown-menu {
    top: 100%;
    margin-top: 0;
  }
} 
/* Navbar: larger links and better spacing */
.navbar nav,
.nav-links {
    gap: 30px;
}

.navbar nav a,
.nav-links a {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    white-space: nowrap;
    transition: color 0.25s ease;
}

/* Hide hero slider navigation arrows */
.hero .hero-prev,
.hero .hero-next,
.hero .slider-prev,
.hero .slider-next,
.hero .prev,
.hero .next,
.hero button[aria-label*="Previous"],
.hero button[aria-label*="Next"] {
    display: none !important;
}  
/* Book a Free Trial — golden orange */
#hero .hero-actions .button.button-gold {
    background: #D9A45B !important;
    background-image: none !important;
    color: #2B2118 !important;
    border: 2px solid #D9A45B !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Explore Our Courses — black */
#hero .hero-actions .button.button-glass {
    background: #171717 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 2px solid #171717 !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Smooth hover effects */
#hero .hero-actions .button {
    transition: all 0.25s ease;
}

#hero .hero-actions .button.button-gold:hover {
    background: #C48A3D !important;
    border-color: #C48A3D !important;
    transform: translateY(-2px);
}

#hero .hero-actions .button.button-glass:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    transform: translateY(-2px);
}/* Quran Academy dropdown — soft green */
.primary-navigation .dropdown-menu {
    background: #E8F2E8 !important;
    background-image: none !important;
    border: 1px solid #D2E4D3 !important;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(30, 70, 45, 0.16);
    overflow: hidden;
}

/* Dropdown links */
.primary-navigation .dropdown-menu li a {
    display: block;
    color: #263D30 !important;
    background: transparent !important;
    padding: 12px 18px;
    text-decoration: none;
    transition: background 0.2s ease;
}

/* Green hover effect */
.primary-navigation .dropdown-menu li a:hover {
    background: #D4E7D5 !important;
    color: #1D6B45 !important;
}  /* Container for the video column */
.intro-visual {
  width: 100%;
  max-width: 420px; /* Limits maximum width so it stays side-by-side nicely */
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between the heading and the video */
}

/* Styling for the heading */
.video-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

/* Responsive aspect-ratio wrapper for 16:9 video */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px; /* Rounded corners like in Picture 1 */
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); /* Subtle card drop shadow */
}

/* Make iframe fill the wrapper completely */
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
} .intro-visual {
  width: 100%;
  max-width: 420px;
  align-self: start; /* Prevents the video box from pushing down to the bottom */
}   /* Container / Grid Setup */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 340px; /* Text takes left side, right sidebar takes fixed width */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Main Heading (Match "Welcome to..." in Image 2) */
.main-title {
  font-size: 2rem !important; /* Reduced from oversized heading */
  font-weight: 700 !important;
  color: #000000;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-align: center;
}
.video-title{
   font-size: 1rem !important; /* Reduced from oversized heading */
  font-weight: 700 !important;
  color: #000000;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-align: center;
}
/* Paragraph Body Text */
.intro-text-content {
  font-size: 1rem !important; /* Standard readable body font size */
  line-height: 1.4 !important;
  color: #000000;
  margin-bottom: 1.25rem;
}

/* Optional: Highlight links inside paragraph text */
.intro-text-content a {
  color: #d97706; /* Warm orange highlight color */
  text-decoration: none;
}

.intro-text-content a:hover {
  text-decoration: underline;
} 
/* ===== WELCOME / INTRO SECTION ===== */

.intro-section {
    padding: 25px 0 45px;
}

.intro-section .container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}


/* Main welcome heading */
.intro-section .main-title {
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin: 0 0 32px;
}

/* Text column + video column */
.intro-section .intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 35px;
    align-items: center;
}

/* Left-side paragraphs */
.intro-section .intro-text-content p {
    font-size: 17px;
    line-height: 1.20;
    color: #000000;
    margin: 0 0 22px;
}

/* Video heading */
.intro-section .intro-grid h2 {
    font-size: 23px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
}

/* Video, iframe and thumbnail */
.intro-section .intro-grid iframe,
.intro-section .intro-grid video,
.intro-section .intro-grid .video-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 16px;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .intro-section .container {
        width: 92%;
    }

    .intro-section .main-title {
        font-size: 27px;
        margin-bottom: 24px;
    }

    .intro-section .intro-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .intro-section .intro-text-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .intro-section .intro-grid h2 {
        font-size: 21px;
    }
}/* Align welcome text and video */
.intro-section .intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 35px;
    align-items: start;
}

/* Move video slightly upward */
.intro-section .intro-grid > :last-child {
    margin-top: -15px;
}

/* Make paragraph lines look balanced */
.intro-section .intro-text-content p {
    font-size: 17px;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    max-width: 100%;
    margin: 0 0 20px;
    overflow-wrap: break-word;
    margin-bottom: 15px;
}

/* Keep video heading and thumbnail together */
.intro-section .intro-grid h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.intro-section .intro-grid iframe,
.intro-section .intro-grid video,
.intro-section .intro-grid .video-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Mobile layout */
@media (max-width: 768px) {
    .intro-section .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-section .intro-grid > :last-child {
        margin-top: 0;
    }
}  .live-sessions-section {
  padding: 70px 0;
  background: #f8f9fc;
}

.live-sessions-section .container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
}

.live-sessions-heading {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 800px;
}

.live-sessions-heading .eyebrow {
  color: #a77b43;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.live-sessions-heading h2 {
  color: #202b3c;
  font-size: 36px;
  margin: 12px 0;
}

.live-sessions-heading p {
  color: #626b78;
  line-height: 1.7;
}

.live-sessions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.session-card {
  background: #fff;
  border: 1px solid #e6e8ed;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(25, 35, 50, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.session-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(25, 35, 50, 0.12);
}

/* Video plays inside its card */
.session-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #101722;
}

.session-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.session-card-content {
  padding: 18px;
}

.session-card-content h3 {
  font-size: 17px;
  color: #202b3c;
  margin: 0 0 8px;
}

.session-card-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #626b78;
  margin: 0 0 14px;
}

.watch-full-video {
  display: inline-block;
  color: #986b36;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.watch-full-video:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .live-sessions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .live-sessions-section {
    padding: 45px 0;
  }

  .live-sessions-grid {
    grid-template-columns: 1fr;
  }

  .live-sessions-heading h2 {
    font-size: 28px;
  }
}.about-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 7%;
  background:
    linear-gradient(
      90deg,
      rgba(10, 12, 11, 0.78),
      rgba(10, 12, 11, 0.88)
    ),
    url("media/about\ us\ background.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-overlay {
  width: 100%;
  max-width: 1050px;
  margin: auto;
}

.about-content {
  max-width: 850px;
  color: #ffffff;
}

.eyebrow {
  display: inline-block;
  color: #d8b66a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 22px;
}

.about-content h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.15;
  margin: 0 0 25px;
  color: #fffaf0;
}

.about-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #e3e3df;
  margin-bottom: 18px;
}

.about-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 25px;
  background: #c6a45c;
  color: #151515;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #f0d18c;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .about-section {
    min-height: auto;
    padding: 65px 22px;
  }

  .eyebrow {
    letter-spacing: 2px;
    font-size: 10px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.8;
  }
} .about-content a{
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  transition: 0.3s;
} 
.about-content a:hover{
  color: #d8b66a;
  border-bottom-color: #d8b66a;
} /* Footer Container Styling */
.site-footer { margin-top: 50px;
  background-color: #0c0c0c; /* Dark professional background */
  color: #000000;
  padding: 24px 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #333333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Text & Branding Styles */
.footer-info p {
  margin: 0;
}

.footer-info strong {
  color: #ffffff;
  font-weight: 600;
}

.parent-company {
  font-size: 13px;
  color: #888888;
  margin-top: 4px !important;
}

/* Legal Links Styling */
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links .divider {
  color: #444444;
  user-select: none;
}

/* Responsive Adjustments for Mobile Screens */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}/* =========================
   FOOTER MAIN SECTION
========================= */

.site-footer {
  background: #10141e;
  color: #ffffff;
  padding: 55px 6% 0;
  border-top: 4px solid #ff7043;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.1fr;
  gap: 35px;
  align-items: start;
}

/* Footer Headings */

.footer-column h3 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 25px;
}

/* Footer Links */

.footer-column > a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column > a > i {
  color:#D6AD58;
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-column > a:hover {
  color: #D6AD58;
  transform: translateX(4px);
}

/* Contact Links */

.contact-column .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  min-width: 0;
}

.contact-column .contact-item:hover {
  color: #ff7043;
}

.contact-item > span:last-child {
  overflow-wrap: anywhere;
  min-width: 0;
}

/* Contact Icon Boxes */

.contact-column .contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #191f2b;
  border-radius: 10px;
  color: #D6AD58;
  font-size: 19px;
  transition: 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: #ff7043;
  color: #ffffff;
}

/* Social Media Heading */

.footer-column h4 {
  color: #ffffff;
  margin: 28px 0 17px;
  font-size: 15px;
  font-weight: 700;
}

/* Social Media Icons */

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icons a {
  
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #394253;
  border-radius: 50%;
  background: #191f2b;
  color: #dce3f0;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #ff7043;
  border-color: #ff7043;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Copyright */





/* =========================
   TABLET RESPONSIVENESS
========================= */

@media (max-width: 1050px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 30px;
  }
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 560px) {
  .site-footer {
    padding: 40px 22px 0;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-column h3 {
    font-size: 21px;
    margin-bottom: 20px;
  }

  .footer-column > a {
    font-size: 14px;
  }

  .contact-column .contact-item {
    font-size: 13px;
  }

  
}/* Footer Container Styling */
.site-footer { 
  background-color: #000000; /* Dark professional background */
  color: hsl(0, 0%, 100%);
  padding: 24px 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #333333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Text & Branding Styles */
.footer-info p {
  margin: 0;
}

.footer-info strong {
  color: #ffffff;
  font-weight: 600;
}

.parent-company {
  font-size: 13px;
  color: hsl(0, 0%, 100%);
  margin-top: 4px !important;
}

/* Legal Links Styling */
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links .divider {
  color: #444444;
  user-select: none;
}

/* Responsive Adjustments for Mobile Screens */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}  /* Footer bottom bar */

   


.footer-bottom-inner {
  max-width: 1400px;
  min-height: 75px;
  margin: auto;
  padding: 18px 6.82%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-info p {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.footer-info strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #c6d0e5;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff7043;
  text-decoration: underline;
}

.footer-links .divider {
  color: #697589;
}

/* Mobile */
@media (max-width: 700px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 8px;
  }
}.footer-bottom {
  margin-left: 0;
  background: #080808;
  border-top: 1px solid #000000;
  margin: 40px 0 0 0;
  padding: 18px 0;
  width: 100;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
   justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-bottom .copyright {
  color: #d1d8e5;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
}

.footer-bottom .parent-company {
  color: #d1d8e5;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom .parent-company strong {
  color: #fff;
}

.footer-bottom .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.footer-bottom .footer-links a {
  color: #d1d8e5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
  color: #ff7043;
  text-decoration: underline;
}

.footer-bottom .footer-links span {
  color: #8490a3;
}

/* Mobile layout */
@media (max-width: 700px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom-center {
    grid-row: 1;
  }

  .footer-bottom .copyright {
    grid-row: 2;
    text-align: center;
  }
} html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.footer-container {
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom {
    width: 100vw !important;
    margin: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
}

.footer-bottom-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}   
.button-black{
  background-color: #000000;
  color:#D6AD58 ;
}  /* Smooth divider between golden CTA and footer */
.final-cta {
    position: relative;
    margin-bottom: 0;
   border: none;
}

.final-cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 35px;
    background: black;
    border: none !important;
    clip-path: ellipse(65% 100% at 50% 100%);
    z-index: 2;

   

}
.header{
  border-bottom: none !important;
  box-shadow: none !important;

}
.final-cta
.final-cta::after
.final-cta::before{
  border:none !important ;
  outline: none !important;
}
/* REMOVE LINE BETWEEN GOLD SECTION AND FOOTER */


.site-footer {
    border-top: 0 !important;
    box-shadow: none !important;
}

.site-footer::before,
.site-footer::after {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
/* Curved divider between main footer and footer bottom */
.footer-bottom {
    position: relative;
     background: rgb(12, 11, 11);
    border-top: none !important;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 70px;
    background:rgb(0, 0, 0) ;
    
    border-radius: 0 0 50% 50%;
    z-index: 2;
    pointer-events: none;
}
.button-golden{
  background:#D6AD58  ;
} .logo img {
    width: 100px !important;
   
    object-fit: contain !important;
    display: block !important;
}/* Container positioned relative to overlap boundaries */
.overlap-cards-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 20; /* Ensures cards float over both hero and welcome sections */
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  /* Negative top margin pulls cards up over the Hero bottom border */
  margin-top: -65px; 
  /* Bottom margin creates space before the Welcome heading */
  margin-bottom: 50px; 
}

/* Individual Card Styling */
.overlap-card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.overlap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Middle Card Accent Accentuation */
.overlap-card.card-featured {
  transform: scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(230, 120, 50, 0.2);
}

.overlap-card.card-featured:hover {
  transform: scale(1.04) translateY(-6px);
}

/* Icon Box Styling */
.card-icon {
  width: 52px;
  height: 52px;
  background: #fff4ec; /* Light orange tint matching your brand accent */
  color: #D6AD58;       /* Brand orange icon color */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Typography Inside Cards */
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.card-description {
  font-size: 0.92rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Adjustments for Mobile Screens */
@media (max-width: 768px) {
  .cards-wrapper {
    flex-direction: column;
    margin-top: -40px;
    gap: 16px;
  }

  .overlap-card.card-featured {
    transform: none;
  }

  .overlap-card.card-featured:hover {
    transform: translateY(-4px);
  }
}




.overlap-card {
  background: rgba(255, 255, 255, 0.05); /* Fully transparent dark glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Orange Glow Effect on Hover */
.overlap-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 12px 30px -10px rgba(255, 107, 0, 0.3);
}

/* Icon Container */
.overlap-card .icon-box {
  width: 52px;
  height: 52px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ff6b00;
}

/* Typography */
.overlap-card h3 {
  color: black;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.overlap-card p {
  color: black; /* Clean light gray text */
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Optional Pill Tag (e.g., 'Interactive & Tailored') */
.overlap-card .badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.4);
  color: #ff6b00;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 12px;
}/* Force dark gold dropdown background */
header.site-header .dropdown-menu {
    background: var(--gold-dark) !important;
    background-color:var(--gold-dark) !important;
}

/* Dropdown menu text */
header.site-header .dropdown-menu li a {
    color: #000000 !important;
    background: transparent !important;
}

/* Hover effect */
header.site-header .dropdown-menu li a:hover {
    background-color:var(--gold-dark) !important;
    color: #ffffff !important;
}/* Replace the existing .footer-bottom rule with this clean version */
.footer-bottom {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    background: #080808;
    box-sizing: border-box !important;
}@media (max-width: 768px) {
  /* Allow hero to resize naturally based on content on small screens */
  .hero,
  .hero-content {
    height: auto !important;
    min-height: 520px !important;
    padding-bottom: 60px !important;
  }

  
}@media (max-width: 1050px) {
  .primary-navigation .dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
  }

  .primary-navigation .dropdown-menu li a {
    padding: 10px 14px !important;
    color: #000000 !important;
  }
}@media (max-width: 600px) {
  .announcement-bar {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 15px !important;
  }

  .announcement-contact {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 15px !important;
  }

  .announcement-socials {
    margin-left: 0 !important;
  }
}/* =========================================================
   RESPONSIVE & OVERFLOW BUG FIXES
   ========================================================= */

/* Prevent any element from causing horizontal body overflow */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Fix width calculation on footer bottom bar */
.footer-bottom {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  left: 0 !important;
  box-sizing: border-box !important;
}

/* Allow all grid and flex containers to shrink on mobile */
.container,
.footer-container,
.footer-bottom-inner,
.announcement-bar,
.nav-container,
.hero-content
 {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Stack social icons in center on smaller screens */
@media (max-width: 768px) {
  .announcement-bar {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .announcement-contact,
  .announcement-socials {
    justify-content: center !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* Prevent hero slider arrows from stretching offscreen */
  .slider-prev {
    left: 8px !important;
  }
  
  .slider-next {
    right: 8px !important;
  }
}

/* =====================================================
   BECOME A TEACHER PAGE — MAIN CONTENT ONLY
   Gold, black and warm ivory theme
   Header and footer CSS intentionally excluded
   ===================================================== */

:root {
  --teacher-gold: #D6AD58;
  --teacher-gold-dark: #B88C35;
  --teacher-black: #11110F;
  --teacher-ivory: #FAF7EF;
  --teacher-white: #FFFFFF;
  --teacher-muted: #6C6B65;
  --teacher-border: #E8E1D3;
  --teacher-green: #254C3D;
  --teacher-radius: 16px;
  --teacher-shadow: 0 14px 40px rgba(20, 19, 15, 0.07);
}

/* Main content only */

main {
  display: block;
  width: 100%;
  min-width: 0;
}

main *,
main *::before,
main *::after {
  box-sizing: border-box;
}

main .container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

main .section-space {
  padding: 90px 0;
}

main .section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teacher-gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

main .section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

main .section-heading h2,
main .welcome-copy h2 {
  margin: 0 0 15px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.2;
}

main .section-heading h2 span,
main .welcome-copy h2 span {
  color: var(--teacher-gold-dark);
}

main .section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--teacher-muted);
}

/* Buttons */

main .btn {
  display: inline-flex;
  min-height: 49px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

main .btn:hover {
  transform: translateY(-2px);
}

main .btn-gold {
  color: var(--teacher-black);
  background: var(--teacher-gold);
}

main .btn-gold:hover {
  background: #E5C577;
}

main .btn-outline {
  color: #FFFFFF;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

main .btn-outline:hover {
  border-color: var(--teacher-gold);
  background: rgba(255, 255, 255, 0.06);
}

main .btn-dark {
  color: var(--teacher-gold);
  background: var(--teacher-black);
}

main .btn-dark:hover {
  background: #30302B;
}

/* 1. Hero */

main .teacher-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 105px 0 90px;
  color: #FFFFFF;
  background:
    radial-gradient(
      ellipse at 85% 25%,
      rgba(214, 173, 88, 0.13),
      transparent 36%
    ),
    linear-gradient(120deg, #10100F, #22211C);
}

main .teacher-hero .hero-content {
  position: relative;
  z-index: 2;
}

main .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--teacher-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2.2px;
}

main .eyebrow-line {
  width: 35px;
  height: 2px;
  background: var(--teacher-gold);
}

main .teacher-hero h1 {
  max-width: 850px;
  margin: 0 0 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

main .teacher-hero h1 span {
  color: var(--teacher-gold);
}

main .teacher-hero .hero-content > p {
  max-width: 660px;
  margin: 0;
  color: #DEDBD2;
  font-size: 1.08rem;
  line-height: 1.9;
}

main .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

main .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 28px;
  margin-top: 36px;
  color: #E5E2DA;
  font-size: 0.87rem;
}

main .check-mark {
  margin-right: 5px;
  color: var(--teacher-gold);
  font-weight: 800;
}

main .hero-decoration {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(214, 173, 88, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

main .hero-decoration-one {
  top: -140px;
  right: -30px;
}

main .hero-decoration-two {
  right: 70px;
  bottom: -250px;
  width: 470px;
  height: 470px;
}

/* 2. Introduction */

main .welcome-section {
  background: var(--teacher-ivory);
}

main .welcome-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: center;
  gap: 60px;
}

main .welcome-copy h2 {
  max-width: 650px;
}

main .welcome-copy p {
  color: var(--teacher-muted);
}

main .welcome-card {
  padding: 36px;
  background: #FFFFFF;
  border: 1px solid var(--teacher-border);
  border-top: 4px solid var(--teacher-gold);
  border-radius: var(--teacher-radius);
  box-shadow: var(--teacher-shadow);
}

main .welcome-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--teacher-gold-dark);
  background: #FAF2DF;
  border-radius: 50%;
  font-size: 37px;
}

main .welcome-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

main .welcome-card p {
  color: var(--teacher-muted);
}

main .gold-divider {
  width: 54px;
  height: 3px;
  margin: 24px 0 15px;
  background: var(--teacher-gold);
}

main .welcome-card > span {
  color: var(--teacher-green);
  font-size: 0.81rem;
  font-weight: 700;
}

/* 3. Video guidelines */

main .video-guide {
  background: #F0EADF;
}

main .video-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

main .guide-card {
  min-width: 0;
  padding: 30px;
  background: #FFFFFF;
  border: 1px solid var(--teacher-border);
  border-radius: var(--teacher-radius);
}

main .guide-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 19px;
}

main .guide-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  place-items: center;
  color: #FFFFFF;
  background: var(--teacher-green);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
}

main .dont-card .guide-icon {
  background: #8B3730;
}

main .guide-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

main .guide-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 21px;
  color: #52514B;
}

main .guide-card li {
  padding-left: 4px;
  overflow-wrap: anywhere;
}

main .do-card li::marker {
  color: var(--teacher-green);
}

main .dont-card li::marker {
  color: #9A453D;
}

main .video-tip {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 22px;
  background: #FFF9E9;
  border: 1px solid #EAD9AD;
  border-radius: 10px;
}

main .tip-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  place-items: center;
  color: #FFFFFF;
  background: var(--teacher-gold-dark);
  border-radius: 50%;
  font-weight: 800;
}

main .video-tip p {
  margin: 0;
  color: #5F5645;
  font-size: 0.92rem;
}

/* 4. Application form */

main .application-section {
  background: var(--teacher-ivory);
}

main #teacherApplication {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

main .form-card {
  min-width: 0;
  margin-bottom: 24px;
  padding: 34px;
  background: #FFFFFF;
  border: 1px solid var(--teacher-border);
  border-radius: var(--teacher-radius);
  box-shadow: 0 8px 25px rgba(25, 23, 16, 0.035);
}

main .form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #EEE8DC;
}

main .form-step {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  color: var(--teacher-black);
  background: #F4E5BE;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}

main .form-section-title h3 {
  margin: 0 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.4;
}

main .form-section-title p {
  margin: 0;
  color: var(--teacher-muted);
  font-size: 0.9rem;
}

main .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

main .form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

main .form-field.full-width {
  grid-column: 1 / -1;
}

main .form-field > label,
main .choice-group legend {
  color: #292821;
  font-size: 0.9rem;
  font-weight: 700;
}

main .form-field label > span,
main .choice-group legend > span,
main .consent-check strong {
  color: #B33E32;
}

main .form-field input:not([type="file"]),
main .form-field textarea,
main .form-field select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 13px 14px;
  color: #22211D;
  background: #FFFFFF;
  border: 1px solid #DCD5C8;
  border-radius: 7px;
  outline: none;
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

main .form-field input:not([type="file"]),
main .form-field select {
  min-height: 49px;
}

main .form-field textarea {
  min-height: 100px;
  resize: vertical;
}

main .form-field input:focus,
main .form-field textarea:focus,
main .form-field select:focus {
  border-color: var(--teacher-gold-dark);
  box-shadow: 0 0 0 3px rgba(214, 173, 88, 0.18);
}

main .form-field input::placeholder,
main .form-field textarea::placeholder {
  color: #9A968C;
}

main .form-field small,
main .choice-group small {
  color: #77736B;
  font-size: 0.8rem;
  line-height: 1.6;
}

main .form-field input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px;
  color: #555149;
  background: #FBFAF6;
  border: 1px dashed #CFC4AF;
  border-radius: 7px;
  font-size: 0.86rem;
}

main .form-field input[type="file"]::file-selector-button {
  max-width: 100%;
  margin-right: 12px;
  padding: 9px 12px;
  color: #171611;
  background: #F1E2BD;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

main .choice-group {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

main .choice-group:last-child {
  margin-bottom: 0;
}

main .choice-group legend {
  margin-bottom: 15px;
  padding: 0;
}

main .choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

main .choice-item {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #FBFAF7;
  border: 1px solid #E5DED1;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

main .choice-item:hover {
  background: #FFF9EB;
  border-color: var(--teacher-gold);
}

main .choice-item:has(input:checked) {
  background: #FFF8E8;
  border-color: var(--teacher-gold-dark);
}

main .choice-item input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--teacher-gold-dark);
  cursor: pointer;
}

main .choice-item span {
  min-width: 0;
  color: #37362F;
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

main .document-notice {
  margin-bottom: 25px;
  padding: 17px 19px;
  background: #FFF9EC;
  border-left: 3px solid var(--teacher-gold);
  border-radius: 4px;
}

main .document-notice strong {
  display: block;
  margin-bottom: 5px;
}

main .document-notice p {
  margin: 0;
  color: #6B6252;
  font-size: 0.87rem;
}

main .word-counter {
  color: #77736B;
  font-size: 0.82rem;
  text-align: right;
}

main .word-counter.is-valid {
  color: var(--teacher-green);
  font-weight: 700;
}

main .word-counter.is-invalid {
  color: #B33E32;
  font-weight: 700;
}

main .hidden-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

main .form-submit-area {
  padding: 28px 10px 0;
  text-align: center;
}

main .consent-check {
  display: flex;
  max-width: 750px;
  align-items: flex-start;
  gap: 11px;
  margin: 0 auto 25px;
  color: #5C5952;
  font-size: 0.87rem;
  text-align: left;
}

main .consent-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  accent-color: var(--teacher-gold-dark);
}

main .submit-btn {
  min-width: 250px;
  min-height: 56px;
  border: 0;
  font-size: 0.97rem;
}

main .submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

main .form-disclaimer {
  max-width: 650px;
  margin: 17px auto 0;
  color: #77736B;
  font-size: 0.8rem;
}

main .form-status {
  min-height: 24px;
  margin: 15px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

main .form-status.success {
  color: var(--teacher-green);
}

main .form-status.error {
  color: #A62E26;
}


/* Keyboard focus */

main a:focus-visible,
main button:focus-visible,
main input:focus-visible,
main select:focus-visible,
main textarea:focus-visible {
  outline: 3px solid rgba(214, 173, 88, 0.8);
  outline-offset: 3px;
}

/* Tablet */

@media (max-width: 1000px) {
  main .welcome-grid {
    gap: 35px;
  }

  main .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small tablets and mobile */

@media (max-width: 800px) {
  main .welcome-grid {
    grid-template-columns: 1fr;
  }

  main .welcome-card {
    max-width: 550px;
  }
}

/* Phones */

@media (max-width: 600px) {
  main .container {
    width: calc(100% - 30px);
  }

  main .section-space {
    padding: 62px 0;
  }

  main .teacher-hero {
    padding: 72px 0 60px;
  }

  main .teacher-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    letter-spacing: -0.7px;
  }

  main .teacher-hero .hero-content > p {
    font-size: 0.98rem;
  }

  main .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  main .hero-actions .btn {
    width: 100%;
  }

  main .hero-points {
    flex-direction: column;
    gap: 10px;
  }

  main .section-heading {
    margin-bottom: 30px;
  }

  main .section-heading h2,
  main .welcome-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  main .welcome-card {
    padding: 25px;
  }

  main .video-guide-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  main .guide-card {
    padding: 23px;
  }

  main .video-tip {
    padding: 17px;
  }

  main .form-card {
    padding: 22px 17px;
    margin-bottom: 17px;
    border-radius: 12px;
  }

  main .form-section-title {
    gap: 11px;
    margin-bottom: 22px;
  }

  main .form-step {
    width: 36px;
    height: 36px;
  }

  main .form-section-title h3 {
    font-size: 1.2rem;
  }

  main .form-section-title p {
    font-size: 0.83rem;
  }

  main .form-grid,
  main .choice-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  main .choice-grid {
    gap: 9px;
  }

  main .form-field.full-width {
    grid-column: auto;
  }

  main .choice-group {
    margin-bottom: 24px;
  }

  main .submit-btn {
    width: 100%;
    min-width: 0;
  }

  
  }


/* Very narrow phones */

@media (max-width: 360px) {
  main .form-card {
    padding: 18px 13px;
  }

  main .form-field input[type="file"] {
    font-size: 0.76rem;
  }

  main .form-field input[type="file"]::file-selector-button {
    margin-bottom: 5px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  main .btn,
  main .choice-item,
  main .form-field input,
  main .form-field textarea,
  main .form-field select {
    transition: none;
  }
}
/* Shared mobile navigation — header only */
@media (max-width: 900px) {
    #menuToggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
        cursor: pointer;
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 18px 20px 24px;
        background: #111111;
        border-top: 1px solid #d6ad58;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    }

    #mainNav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    #mainNav a,
    #mainNav button {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 14px 8px;
        color: #ffffff;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        border-bottom: 1px solid rgba(214, 173, 88, 0.2);
    }

    #mainNav a:hover,
    #mainNav button:hover {
        color: #d6ad58;
    }

    #mainNav .dropdown,
    #mainNav .dropdown-menu {
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
    }

    #mainNav .dropdown-menu {
        display: none;
        padding-left: 14px;
        background: rgba(255, 255, 255, 0.04);
    }

    #mainNav .dropdown.open .dropdown-menu {
        display: block;
    }
}

@media (min-width: 901px) {
    #mainNav {
        display: flex;
    }
} 

/* =====================================================
   FACULTY PAGE — MAIN CONTENT ONLY
   Theme: Black, Champagne Gold and Warm Ivory
   ===================================================== */

:root {
    --faculty-black: #111111;
    --faculty-gold: #D6AD58;
    --faculty-gold-dark: #A87D2C;
    --faculty-ivory: #FAF7EF;
    --faculty-white: #FFFFFF;
    --faculty-text: #333333;
    --faculty-muted: #666666;
    --faculty-border: #E9E1D2;
}

main.faculty-page {
    width: 100%;
    overflow: hidden;
    color: var(--faculty-text);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

main.faculty-page *,
main.faculty-page *::before,
main.faculty-page *::after {
    box-sizing: border-box;
}

main .faculty-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

main .faculty-section {
    padding-block: 75px;
}

main .faculty-section-alt {
    background: var(--faculty-ivory);
}

main .faculty-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--faculty-gold-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

main .faculty-heading {
    max-width: 850px;
    margin: 0 auto 18px;
    color: var(--faculty-black);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

main .faculty-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--faculty-muted);
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
}

/* Hero */

main .faculty-hero {
    position: relative;
    isolation: isolate;
    padding-block: 90px;
    background: var(--faculty-black);
    color: var(--faculty-white);
}

main .faculty-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(
        circle at 85% 15%,
        rgba(214, 173, 88, 0.2),
        transparent 42%
    );
    content: "";
    pointer-events: none;
}

main .faculty-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: 48px;
}

main .faculty-hero .faculty-eyebrow {
    color: var(--faculty-gold);
}

main .faculty-hero h1 {
    margin: 0 0 22px;
    color: var(--faculty-white);
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

main .faculty-hero h1 span {
    color: var(--faculty-gold);
}

main .faculty-hero p {
    color: #E5E1D9;
    font-size: 1.03rem;
    line-height: 1.9;
}

main .faculty-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

main .faculty-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid var(--faculty-gold);
    border-radius: 6px;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease, color 0.2s ease;
}

main .faculty-button-gold {
    background: var(--faculty-gold);
    color: var(--faculty-black);
}

main .faculty-button-gold:hover {
    background: #E8C97D;
    color: var(--faculty-black);
}

main .faculty-button-outline {
    background: transparent;
    color: var(--faculty-white);
}

main .faculty-button-outline:hover {
    background: var(--faculty-gold);
    color: var(--faculty-black);
}

main .faculty-hero-card {
    padding: 30px;
    border: 1px solid rgba(214, 173, 88, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

main .faculty-hero-card h2 {
    margin: 0 0 20px;
    color: var(--faculty-gold);
    font-size: 1.35rem;
    line-height: 1.4;
}

main .faculty-benefits {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

main .faculty-benefits li {
    position: relative;
    padding-left: 27px;
    color: #F0EDE6;
    line-height: 1.7;
}

main .faculty-benefits li::before {
    position: absolute;
    left: 0;
    color: var(--faculty-gold);
    font-weight: 900;
    content: "✓";
}

/* Course and information cards */

main .faculty-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

main .faculty-info-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--faculty-border);
    border-radius: 10px;
    background: var(--faculty-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

main .faculty-info-card h2 {
    margin: 0 0 12px;
    color: var(--faculty-black);
    font-size: 1.25rem;
    line-height: 1.5;
}

main .faculty-info-card p {
    margin: 0 0 16px;
    color: var(--faculty-muted);
    line-height: 1.8;
}

main .faculty-text-link {
    display: inline-block;
    color: var(--faculty-gold-dark);
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none;
}

main .faculty-text-link:hover {
    color: var(--faculty-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Teacher cards */

main .faculty-teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

main .faculty-teacher-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--faculty-border);
    border-radius: 12px;
    background: var(--faculty-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

main .faculty-teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

main .faculty-teacher-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #EFE8DA;
}

main .faculty-teacher-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main .faculty-teacher-details {
    padding: 24px;
}

main .faculty-teacher-role {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--faculty-gold-dark);
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1.5;
}

main .faculty-teacher-details h3 {
    margin: 0 0 12px;
    color: var(--faculty-black);
    font-size: 1.3rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

main .faculty-teacher-details p {
    margin: 0;
    color: var(--faculty-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

main .faculty-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

main .faculty-credential {
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 5px;
    background: #F7F0E2;
    color: #493817;
    font-size: 0.77rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

main .faculty-note {
    margin: 28px 0 0;
    color: var(--faculty-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: center;
}

/* Final call to action */

main .faculty-cta {
    padding-block: 65px;
    background: var(--faculty-black);
    color: var(--faculty-white);
    text-align: center;
}

main .faculty-cta .faculty-eyebrow {
    color: var(--faculty-gold);
}

main .faculty-cta h2 {
    max-width: 800px;
    margin: 0 auto 16px;
    color: var(--faculty-white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.3;
}

main .faculty-cta p {
    max-width: 720px;
    margin: 0 auto 25px;
    color: #E5E1D9;
    line-height: 1.85;
}

/* Keyboard accessibility */

main .faculty-page a:focus-visible,
#menuToggle:focus-visible,
#mainNav a:focus-visible,
#mainNav button:focus-visible {
    outline: 3px solid var(--faculty-gold);
    outline-offset: 4px;
}

/* =====================================================
   SHARED MOBILE HAMBURGER MENU
   Assumes #menuToggle and #mainNav in your header HTML.
   ===================================================== */

.site-header {
    position: relative;
    z-index: 1000;
}

#menuToggle {
    display: none;
}

@media (max-width: 900px) {
    #menuToggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px;
        border: 1px solid var(--faculty-gold);
        border-radius: 6px;
        background: var(--faculty-black);
        color: var(--faculty-gold);
        cursor: pointer;
    }

    #menuToggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: var(--faculty-gold);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    #menuToggle[aria-expanded="true"] span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    #menuToggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    #menuToggle[aria-expanded="true"] span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        max-height: calc(100dvh - 75px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px 20px 24px;
        border-top: 1px solid var(--faculty-gold);
        background: var(--faculty-black);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    }

    #mainNav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    #mainNav > a,
    #mainNav .dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 8px;
        border: 0;
        border-bottom: 1px solid rgba(214, 173, 88, 0.2);
        background: transparent;
        color: #FFFFFF;
        font: inherit;
        font-weight: 600;
        line-height: 1.5;
        text-align: left;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }

    #mainNav > a:hover,
    #mainNav .dropdown-toggle:hover {
        color: var(--faculty-gold);
    }

    #mainNav .nav-dropdown {
        width: 100%;
    }

    #mainNav .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 4px 0 8px 14px;
        border: 0;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
    }

    #mainNav .nav-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    #mainNav .dropdown-menu a {
        display: block;
        padding: 12px 10px;
        color: #E8E3D9;
        font-size: 0.94rem;
        line-height: 1.5;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    #mainNav .dropdown-menu a:hover {
        color: var(--faculty-gold);
    }

    #mainNav .nav-cta {
        justify-content: center;
        margin-top: 14px;
        padding: 13px 16px;
        border: 1px solid var(--faculty-gold);
        border-radius: 6px;
        background: var(--faculty-gold);
        color: var(--faculty-black);
        text-align: center;
    }

    #mainNav .nav-cta:hover {
        background: #E8C97D;
        color: var(--faculty-black);
    }

    body.menu-open {
        overflow: hidden;
    }

    main .faculty-section {
        padding-block: 55px;
    }

    main .faculty-hero {
        padding-block: 65px;
    }

    main .faculty-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    main .faculty-content-grid,
    main .faculty-teacher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Small phones */

@media (max-width: 600px) {
    main .faculty-container {
        width: calc(100% - 30px);
    }

    main .faculty-section {
        padding-block: 44px;
    }

    main .faculty-hero {
        padding-block: 52px;
    }

    main .faculty-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    main .faculty-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    main .faculty-button {
        width: 100%;
    }

    main .faculty-hero-card,
    main .faculty-info-card,
    main .faculty-teacher-details {
        padding: 21px;
    }

    main .faculty-content-grid,
    main .faculty-teacher-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    main .faculty-intro {
        margin-bottom: 28px;
        text-align: left;
    }

    main .faculty-heading {
        text-align: left;
    }

    main .faculty-cta {
        padding-block: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    main .faculty-teacher-card,
    main .faculty-button,
    #menuToggle span {
        transition: none;
    }
}

/* =====================================================
   NOORANI QAIDA PAGE — MAIN CONTENT ONLY
   Theme: Black, Champagne Gold, Warm Ivory
   ===================================================== */

:root {
    --qaida-black: #111111;
    --qaida-gold: #D6AD58;
    --qaida-gold-dark: #A87D2C;
    --qaida-ivory: #FAF7EF;
    --qaida-white: #FFFFFF;
    --qaida-text: #333333;
    --qaida-muted: #666666;
    --qaida-border: #E9E1D2;
}

main.qaida-page {
    width: 100%;
    overflow: hidden;
    color: var(--qaida-text);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

main.qaida-page *,
main.qaida-page *::before,
main.qaida-page *::after {
    box-sizing: border-box;
}

main .qaida-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

main .qaida-section {
    padding-block: 76px;
}

main .qaida-section-soft {
    background: var(--qaida-ivory);
}

main .qaida-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--qaida-gold-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.6;
    text-transform: uppercase;
}

main .qaida-heading {
    margin: 0 0 20px;
    color: var(--qaida-black);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

main .qaida-section-intro {
    max-width: 790px;
    margin: 0 auto 38px;
    color: var(--qaida-muted);
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
}

/* Hero */

main .qaida-hero {
    position: relative;
    isolation: isolate;
    padding-block: 88px;
    background: var(--qaida-black);
    color: var(--qaida-white);
}

main .qaida-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(
        circle at 85% 15%,
        rgba(214, 173, 88, 0.2),
        transparent 42%
    );
    content: "";
    pointer-events: none;
}

main .qaida-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
    align-items: center;
    gap: 50px;
}

main .qaida-hero .qaida-eyebrow,
main .qaida-section-dark .qaida-eyebrow,
main .qaida-cta .qaida-eyebrow {
    color: var(--qaida-gold);
}

main .qaida-hero h1 {
    margin: 0 0 22px;
    color: var(--qaida-white);
    font-size: clamp(2.25rem, 5vw, 3.8rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
}

main .qaida-hero h1 span {
    color: var(--qaida-gold);
}

main .qaida-hero-copy > p {
    color: #E5E1D9;
    font-size: 1.03rem;
    line-height: 1.9;
}

main .qaida-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

main .qaida-actions-center {
    justify-content: center;
}

main .qaida-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border: 1px solid var(--qaida-gold);
    border-radius: 6px;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 750;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease, color 0.2s ease;
}

main .qaida-btn-gold {
    background: var(--qaida-gold);
    color: var(--qaida-black);
}

main .qaida-btn-gold:hover {
    background: #E8C97D;
    color: var(--qaida-black);
}

main .qaida-btn-outline {
    background: transparent;
    color: var(--qaida-white);
}

main .qaida-btn-outline:hover {
    background: var(--qaida-gold);
    color: var(--qaida-black);
}

main .qaida-small-note {
    margin-top: 20px;
    color: #D5D0C7;
    font-size: 0.85rem;
    line-height: 1.8;
}

main .qaida-hero-panel {
    padding: 30px;
    border: 1px solid rgba(214, 173, 88, 0.48);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

main .qaida-panel-symbol {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--qaida-gold);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.4;
}

main .qaida-hero-panel h2 {
    margin: 0 0 20px;
    color: var(--qaida-white);
    font-size: 1.4rem;
    line-height: 1.4;
}

main .qaida-hero-panel ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 20px;
    color: #E8E3D9;
    line-height: 1.75;
}

main .qaida-panel-link {
    display: inline-block;
    margin-top: 23px;
    color: var(--qaida-gold);
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none;
}

main .qaida-panel-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Introduction */

main .qaida-reading-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 55px;
}

main .qaida-prose p {
    margin: 0 0 18px;
    color: var(--qaida-muted);
    line-height: 1.95;
}

main .qaida-inline-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--qaida-gold-dark);
    font-weight: 800;
    line-height: 1.8;
    text-decoration: none;
}

main .qaida-inline-link:hover {
    color: var(--qaida-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Benefits and related course cards */

main .qaida-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

main .qaida-card {
    min-width: 0;
    padding: 27px;
    border: 1px solid var(--qaida-border);
    border-radius: 10px;
    background: var(--qaida-white);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.035);
}

main .qaida-card-number {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--qaida-gold-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

main .qaida-card h3 {
    margin: 0 0 12px;
    color: var(--qaida-black);
    font-size: 1.12rem;
    line-height: 1.5;
}

main .qaida-card p {
    margin: 0 0 14px;
    color: var(--qaida-muted);
    font-size: 0.94rem;
    line-height: 1.85;
}

main .qaida-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Curriculum */

main .qaida-syllabus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

main .qaida-lesson {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 23px;
    border: 1px solid var(--qaida-border);
    border-radius: 9px;
    background: var(--qaida-white);
}

main .qaida-lesson > span {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--qaida-gold);
    color: var(--qaida-black);
    font-size: 0.83rem;
    font-weight: 800;
}

main .qaida-lesson h3 {
    margin: 0 0 8px;
    color: var(--qaida-black);
    font-size: 1.05rem;
    line-height: 1.5;
}

main .qaida-lesson p {
    margin: 0;
    color: var(--qaida-muted);
    font-size: 0.93rem;
    line-height: 1.8;
}

main .qaida-curriculum-note {
    margin: 25px 0 0;
    color: var(--qaida-muted);
    line-height: 1.85;
}

main .qaida-curriculum-note a {
    color: var(--qaida-gold-dark);
    font-weight: 800;
}

/* Online learning steps */

main .qaida-section-dark {
    background: var(--qaida-black);
    color: var(--qaida-white);
}

main .qaida-section-dark .qaida-heading {
    color: var(--qaida-white);
}

main .qaida-section-dark .qaida-section-intro {
    color: #E5E1D9;
}

main .qaida-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

main .qaida-step {
    padding: 26px;
    border: 1px solid rgba(214, 173, 88, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

main .qaida-step > span {
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--qaida-gold);
    color: var(--qaida-black);
    font-weight: 800;
}

main .qaida-step h3 {
    margin: 0 0 12px;
    color: var(--qaida-gold);
    font-size: 1.1rem;
    line-height: 1.5;
}

main .qaida-step p {
    margin: 0;
    color: #E5E1D9;
    line-height: 1.85;
}

/* PDF callout */

main .qaida-pdf-box {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 38px;
    border: 1px solid var(--qaida-border);
    border-left: 5px solid var(--qaida-gold);
    border-radius: 12px;
    background: var(--qaida-ivory);
}

main .qaida-pdf-icon {
    display: flex;
    width: 100px;
    height: 115px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--qaida-black);
    color: var(--qaida-gold);
    font-size: 1.5rem;
    font-weight: 800;
}

main .qaida-pdf-copy h2 {
    margin: 0 0 12px;
    color: var(--qaida-black);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
}

main .qaida-pdf-copy p {
    margin: 0 0 22px;
    color: var(--qaida-muted);
    line-height: 1.85;
}


/* Final call to action */

main .qaida-cta {
    padding-block: 65px;
    background: var(--qaida-black);
    color: var(--qaida-white);
    text-align: center;
}

main .qaida-cta h2 {
    max-width: 850px;
    margin: 0 auto 16px;
    color: var(--qaida-white);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.3;
}

main .qaida-cta > .qaida-container > p {
    max-width: 740px;
    margin: 0 auto;
    color: #E5E1D9;
    line-height: 1.9;
}

/* Accessible focus states */

main .qaida-page a:focus-visible
 {
    outline: 3px solid var(--qaida-gold-dark);
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1000px) {
    main .qaida-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    main .qaida-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    main .qaida-reading-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

/* Mobile navigation: only if your shared header uses these IDs.
   Keep this rule in your shared CSS so it works across pages. */

@media (max-width: 900px) {
    #menuToggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px;
        border: 1px solid var(--qaida-gold);
        border-radius: 6px;
        background: var(--qaida-black);
        cursor: pointer;
    }

    #menuToggle span {
        display: block;
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: var(--qaida-gold);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    #menuToggle[aria-expanded="true"] span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    #menuToggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    #menuToggle[aria-expanded="true"] span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    #mainNav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        max-height: calc(100vh - 75px);
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px 20px 24px;
        border-top: 1px solid var(--qaida-gold);
        background: var(--qaida-black);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    }

    #mainNav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    #mainNav > a,
    #mainNav .dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 8px;
        border: 0;
        border-bottom: 1px solid rgba(214, 173, 88, 0.2);
        background: transparent;
        color: #FFFFFF;
        font: inherit;
        line-height: 1.5;
        text-align: left;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }

    #mainNav .nav-dropdown {
        width: 100%;
    }

    #mainNav .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 4px 0 8px 14px;
        border: 0;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
    }

    #mainNav .nav-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    #mainNav .dropdown-menu a {
        display: block;
        padding: 12px 10px;
        color: #E8E3D9;
        line-height: 1.6;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    #mainNav .nav-cta {
        justify-content: center;
        margin-top: 14px;
        padding: 13px 16px;
        border: 1px solid var(--qaida-gold);
        border-radius: 6px;
        background: var(--qaida-gold);
        color: var(--qaida-black);
        text-align: center;
    }
}

@media (min-width: 901px) {
    #menuToggle {
        display: none;
    }

    #mainNav {
        display: flex;
    }
}

@media (max-width: 600px) {
    main .qaida-container {
        width: calc(100% - 30px);
    }

    main .qaida-section {
        padding-block: 48px;
    }

    main .qaida-hero {
        padding-block: 54px;
    }

    main .qaida-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    main .qaida-actions {
        flex-direction: column;
        align-items: stretch;
    }

    main .qaida-btn {
        width: 100%;
    }

    main .qaida-card-grid,
    main .qaida-related-grid,
    main .qaida-syllabus,
    main .qaida-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    main .qaida-pdf-box {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
    }

    main .qaida-pdf-icon {
        width: 78px;
        height: 85px;
    }

    main .qaida-hero-panel,
    main .qaida-card {
        padding: 22px;
    }

    main .qaida-section-intro {
        text-align: left;
    }

    main .qaida-cta {
        padding-block: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    main .qaida-btn,
    #menuToggle span {
        transition: none;
    }
}

/* =========================================================
   QURAN READING PAGE
   Page-only styles | Black + Champagne Gold
   Brand gold: #D6AD58
   ========================================================= */

.quran-reading-page {
  --qr-black: #111111;
  --qr-black-soft: #191919;
  --qr-black-card: #202020;
  --qr-gold: #D6AD58;
  --qr-gold-dark: #B98D3D;
  --qr-ivory: #FAF7EF;
  --qr-muted: #BDB9B0;
  --qr-white: #FFFFFF;
  --qr-border: rgba(214, 173, 88, 0.25);
  background: var(--qr-ivory);
  color: var(--qr-black);
  font-family: inherit;
  overflow: hidden;
}

.quran-reading-page *,
.quran-reading-page *::before,
.quran-reading-page *::after {
  box-sizing: border-box;
}

.quran-reading-page img {
  max-width: 100%;
  height: auto;
}

.quran-reading-page a {
  text-decoration: none;
}

.qr-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.qr-section {
  padding: 90px 0;
}

.qr-kicker {
  display: inline-block;
  color: var(--qr-gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.qr-centered-heading {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.qr-centered-heading h2,
.qr-section-heading h2,
.qr-audience-copy h2,
.qr-faq-intro h2,
.qr-global-inner h2 {
  margin: 12px 0 18px;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.qr-centered-heading > p,
.qr-intro-copy p,
.qr-global-copy p {
  color: #625E56;
  font-size: 1rem;
  line-height: 1.85;
}

.qr-centered-heading > p {
  max-width: 680px;
  margin: 0 auto;
}

.qr-heading-line {
  width: 70px;
  height: 3px;
  margin-top: 24px;
  background: var(--qr-gold);
}

/* Buttons */

.qr-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.qr-btn:hover {
  transform: translateY(-2px);
}

.qr-btn:focus-visible,
.qr-text-link:focus-visible,
.qr-related-link:focus-visible
 {
  outline: 3px solid var(--qr-gold);
  outline-offset: 4px;
}

.qr-btn-gold {
  background: var(--qr-gold);
  color: var(--qr-black);
  border-color: var(--qr-gold);
}

.qr-btn-gold:hover {
  background: #E5C57F;
  border-color: #E5C57F;
  color: var(--qr-black);
}

.qr-btn-outline {
  color: var(--qr-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.qr-btn-outline:hover {
  color: var(--qr-gold);
  border-color: var(--qr-gold);
}

.qr-btn-dark {
  color: var(--qr-white);
  background: var(--qr-black);
  border-color: var(--qr-black);
}

.qr-btn-dark:hover {
  color: var(--qr-gold);
}

.qr-btn-outline-dark {
  color: var(--qr-black);
  background: transparent;
  border-color: var(--qr-black);
}

.qr-btn-outline-dark:hover {
  color: var(--qr-gold-dark);
  border-color: var(--qr-gold-dark);
}

/* Hero */

.qr-hero {
  position: relative;
  isolation: isolate;
  padding: 88px 0 80px;
  overflow: hidden;
  color: var(--qr-white);
  background:
    radial-gradient(ellipse at 78% 45%, rgba(214, 173, 88, 0.13), transparent 38%),
    linear-gradient(130deg, #101010 0%, #191919 58%, #111111 100%);
}

.qr-hero::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(214, 173, 88, 0.12);
  border-radius: 50%;
  content: "";
}

.qr-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.qr-glow-one {
  top: -120px;
  left: 25%;
  width: 300px;
  height: 300px;
  background: rgba(214, 173, 88, 0.045);
}

.qr-glow-two {
  right: 12%;
  bottom: -100px;
  width: 260px;
  height: 260px;
  background: rgba(214, 173, 88, 0.06);
}

.qr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 60px;
}

.qr-hero-content {
  min-width: 0;
}

.qr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--qr-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.qr-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--qr-gold);
}

.qr-hero h1 {
  max-width: 690px;
  margin: 0 0 22px;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.qr-hero h1::first-letter {
  color: inherit;
}

.qr-hero-text {
  max-width: 630px;
  margin: 0;
  color: #D4D0C8;
  font-size: 1.03rem;
  line-height: 1.85;
}

.qr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.qr-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: #E6E1D8;
  font-size: 0.82rem;
}

.qr-hero-points > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.qr-check {
  color: var(--qr-gold);
  font-weight: 900;
}

/* Hero visual */

.qr-hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 470px;
  place-items: center;
}

.qr-orbit {
  position: absolute;
  border: 1px solid rgba(214, 173, 88, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.qr-orbit-outer {
  width: min(100%, 440px);
  aspect-ratio: 1;
}

.qr-orbit-inner {
  width: min(84%, 365px);
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.7;
}

.qr-book-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 355px);
  padding: 30px 27px;
  border: 1px solid rgba(214, 173, 88, 0.5);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(44, 40, 31, 0.98), rgba(22, 22, 21, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.qr-book-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--qr-gold);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.qr-book-symbol {
  font-size: 1.2rem;
}

.qr-arabic {
  margin: 36px 0 22px;
  color: var(--qr-gold);
  font-family: "Traditional Arabic", "Noto Naskh Arabic", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  line-height: 1.7;
}

.qr-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--qr-gold);
}

.qr-gold-divider::before,
.qr-gold-divider::after {
  width: 64px;
  height: 1px;
  background: rgba(214, 173, 88, 0.55);
  content: "";
}

.qr-book-subtitle {
  margin: 13px 0 27px;
  color: #E4DED1;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.qr-book-progress {
  display: grid;
  gap: 0;
}

.qr-progress-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #E9E5DD;
  font-size: 0.8rem;
}

.qr-progress-number {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.6);
  border-radius: 50%;
  color: var(--qr-gold);
  font-size: 0.7rem;
}

.qr-floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 16px);
  padding: 13px 15px;
  border: 1px solid rgba(214, 173, 88, 0.35);
  border-radius: 5px;
  background: #23221F;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.qr-note-top {
  top: 27px;
  right: -8px;
}

.qr-note-bottom {
  bottom: 23px;
  left: -8px;
}

.qr-note-icon {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: var(--qr-black);
  background: var(--qr-gold);
  font-size: 1rem;
}

.qr-floating-note strong,
.qr-floating-note small {
  display: block;
}

.qr-floating-note strong {
  color: var(--qr-white);
  font-size: 0.76rem;
}

.qr-floating-note small {
  margin-top: 3px;
  color: #C7C1B6;
  font-size: 0.68rem;
}

/* Introduction */

.qr-intro {
  background: var(--qr-ivory);
}

.qr-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.qr-section-heading h2 {
  max-width: 460px;
}

.qr-intro-copy p {
  margin: 0 0 17px;
}

.qr-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--qr-gold-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.qr-text-link:hover {
  color: var(--qr-black);
}

/* Benefits */

.qr-benefits-section {
  background: #F0EBE1;
}

.qr-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.qr-benefit-card {
  padding: 27px 23px;
  border: 1px solid #E2D8C6;
  border-radius: 5px;
  background: #FFFCF6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qr-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(30, 25, 15, 0.08);
}

.qr-card-icon {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--qr-gold);
  border-radius: 50%;
  color: var(--qr-gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.qr-benefit-card h3,
.qr-syllabus-card h3,
.qr-process-step h3,
.qr-related-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
}

.qr-benefit-card p,
.qr-syllabus-card p,
.qr-process-step p,
.qr-related-card p {
  margin: 0;
  color: #69645B;
  font-size: 0.91rem;
  line-height: 1.8;
}

/* Curriculum */

.qr-curriculum-section {
  background: var(--qr-ivory);
}

.qr-syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.qr-syllabus-card {
  padding: 30px;
  border: 1px solid #E7DDCB;
  border-left: 3px solid var(--qr-gold);
  border-radius: 4px;
  background: #FFFCF7;
}

.qr-module-number {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--qr-gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.qr-syllabus-card h3 {
  font-size: 1.25rem;
}

.qr-syllabus-card ul {
  display: grid;
  gap: 9px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.qr-syllabus-card li {
  position: relative;
  padding-left: 23px;
  color: #4E4A43;
  font-size: 0.9rem;
  line-height: 1.65;
}

.qr-syllabus-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--qr-gold-dark);
  font-weight: 900;
  content: "✓";
}

.qr-curriculum-note {
  max-width: 800px;
  margin: 27px auto 0;
  color: #625E56;
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.qr-center-button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Audience */

.qr-audience-section {
  background: #F0EBE1;
}

.qr-audience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 65px;
}

.qr-audience-copy > p {
  margin: 0 0 27px;
  color: #625E56;
  font-size: 0.98rem;
  line-height: 1.85;
}

.qr-audience-item {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  margin-top: 22px;
}

.qr-audience-check {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--qr-black);
  background: var(--qr-gold);
  font-weight: 900;
}

.qr-audience-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.qr-audience-item p {
  margin: 0;
  color: #625E56;
  font-size: 0.89rem;
  line-height: 1.75;
}

.qr-audience-panel {
  position: relative;
  padding: 44px 38px;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, 0.5);
  border-radius: 5px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 173, 88, 0.13), transparent 43%),
    var(--qr-black);
  color: var(--qr-white);
}

.qr-panel-ornament {
  display: block;
  margin-bottom: 18px;
  color: var(--qr-gold);
  font-size: 2.5rem;
}

.qr-audience-panel .qr-kicker {
  color: var(--qr-gold);
}

.qr-audience-panel h3 {
  margin: 13px 0 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.25;
}

.qr-audience-panel p {
  margin: 0 0 25px;
  color: #D4D0C8;
  font-size: 0.94rem;
  line-height: 1.85;
}

/* Learning process */

.qr-process-section {
  background: var(--qr-black);
  color: var(--qr-white);
}

.qr-process-section .qr-centered-heading > p {
  color: #C7C2B9;
}

.qr-process-section .qr-centered-heading h2 {
  color: var(--qr-white);
}

.qr-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.qr-process-step {
  padding: 28px;
  border-top: 2px solid var(--qr-gold);
  background: #1C1C1C;
}

.qr-step-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--qr-gold);
  font-size: 1.65rem;
  font-weight: 800;
}

.qr-process-step h3 {
  color: var(--qr-white);
}

.qr-process-step p {
  color: #C7C2B9;
}

/* International learning */

.qr-global-section {
  background: var(--qr-ivory);
}

.qr-global-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 65px;
  align-items: start;
}

.qr-global-inner h2 {
  max-width: 480px;
}

.qr-global-copy p {
  margin: 0 0 16px;
}

/* Related courses */

.qr-related-section {
  background: #F0EBE1;
}

.qr-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.qr-related-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid #E1D6C3;
  border-radius: 5px;
  background: #FFFCF6;
}

.qr-related-featured {
  border-color: var(--qr-gold);
  box-shadow: 0 12px 35px rgba(35, 29, 18, 0.06);
}

.qr-related-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.qr-related-icon {
  color: var(--qr-gold-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.qr-related-label {
  color: #82765F;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: right;
}

.qr-related-card h3 {
  font-size: 1.2rem;
}

.qr-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 23px;
  color: var(--qr-gold-dark);
  font-size: 0.87rem;
  font-weight: 900;
}

.qr-related-link:hover {
  color: var(--qr-black);
}

/* Responsive layout */

@media (max-width: 1050px) {
  .qr-hero-grid {
    gap: 35px;
  }

  .qr-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-intro-grid,
  .qr-audience-grid,
  .qr-global-inner,
  .qr-faq-grid {
    gap: 40px;
  }

  .qr-hero-visual {
    min-height: 420px;
  }

  .qr-note-top {
    right: 0;
  }

  .qr-note-bottom {
    left: 0;
  }
}

@media (max-width: 800px) {
  .qr-section {
    padding: 68px 0;
  }

  .qr-hero {
    padding: 66px 0;
  }

  .qr-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .qr-hero-content {
    max-width: 700px;
  }

  .qr-hero h1 {
    max-width: 650px;
    font-size: clamp(2.4rem, 7vw, 3.7rem);
  }

  .qr-hero-visual {
    width: 100%;
    max-width: 500px;
    min-height: 440px;
    margin: 0 auto;
  }

  .qr-intro-grid,
  .qr-audience-grid,
  .qr-global-inner,
  .qr-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .qr-section-heading h2,
  .qr-global-inner h2 {
    max-width: 700px;
  }

  .qr-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-related-card:last-child {
    grid-column: 1 / -1;
  }

  .qr-process-grid {
    gap: 15px;
  }

  .qr-process-step {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .qr-container {
    width: min(100% - 32px, 1160px);
  }

  .qr-section {
    padding: 54px 0;
  }

  .qr-hero {
    padding: 53px 0 45px;
  }

  .qr-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.12;
  }

  .qr-hero-text {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .qr-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qr-hero-actions .qr-btn {
    width: 100%;
  }

  .qr-hero-points {
    display: grid;
    gap: 11px;
  }

  .qr-hero-visual {
    min-height: 390px;
  }

  .qr-book-panel {
    width: min(100%, 330px);
    padding: 25px 21px;
  }

  .qr-arabic {
    margin-top: 26px;
    font-size: 1.85rem;
  }

  .qr-floating-note {
    gap: 8px;
    padding: 10px;
  }

  .qr-note-top {
    top: 4px;
    right: 0;
  }

  .qr-note-bottom {
    bottom: 3px;
    left: 0;
  }

  .qr-floating-note strong {
    font-size: 0.7rem;
  }

  .qr-floating-note small {
    font-size: 0.62rem;
  }

  .qr-centered-heading {
    margin-bottom: 30px;
  }

  .qr-centered-heading h2,
  .qr-section-heading h2,
  .qr-audience-copy h2,
  .qr-faq-intro h2,
  .qr-global-inner h2 {
    font-size: 1.85rem;
  }

  .qr-benefit-grid,
  .qr-syllabus-grid,
  .qr-process-grid,
  .qr-related-grid {
    grid-template-columns: 1fr;
  }

  .qr-related-card:last-child {
    grid-column: auto;
  }

  .qr-benefit-card,
  .qr-syllabus-card,
  .qr-related-card {
    padding: 23px;
  }

  .qr-audience-panel {
    padding: 30px 24px;
  }

  .qr-process-step {
    padding: 24px;
  }

  

 

  .qr-cta-decoration-one {
    left: -15px;
    font-size: 4rem;
  }

  .qr-cta-decoration-two {
    right: -18px;
    font-size: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quran-reading-page *,
  .quran-reading-page *::before,
  .quran-reading-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   QURAN WITH TAJWEED PAGE
   Page-only styles | Black + Champagne Gold
   ========================================================= */

.tajweed-page {
  --tw-black: #111111;
  --tw-black-soft: #191919;
  --tw-black-card: #202020;
  --tw-gold: #D6AD58;
  --tw-gold-dark: #B98D3D;
  --tw-ivory: #FAF7EF;
  --tw-white: #FFFFFF;
  --tw-muted: #BDB9B0;
  --tw-border: rgba(214, 173, 88, 0.28);

  background: var(--tw-ivory);
  color: var(--tw-black);
  font-family: inherit;
  overflow: hidden;
}

.tajweed-page *,
.tajweed-page *::before,
.tajweed-page *::after {
  box-sizing: border-box;
}

.tajweed-page a {
  text-decoration: none;
}

.tw-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.tw-section {
  padding: 88px 0;
}

.tw-kicker {
  display: inline-block;
  color: var(--tw-gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.7;
  text-transform: uppercase;
}

.tw-section-heading {
  max-width: 770px;
  margin: 0 auto 44px;
  text-align: center;
}

.tw-section-heading h2,
.tw-intro-grid h2,
.tw-audience-copy h2,
.tw-international-grid h2,
.tw-faq-intro h2 {
  margin: 12px 0 17px;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.tw-section-heading > p,
.tw-prose p,
.tw-international-copy p {
  color: #625E56;
  font-size: 0.98rem;
  line-height: 1.85;
}

.tw-section-heading > p {
  max-width: 690px;
  margin: 0 auto;
}

/* Buttons */

.tw-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.tw-btn:hover {
  transform: translateY(-2px);
}

.tw-btn:focus-visible,
.tw-text-link:focus-visible,
.tw-related-link:focus-visible
 {
  outline: 3px solid var(--tw-gold);
  outline-offset: 4px;
}

.tw-btn-gold {
  color: var(--tw-black);
  background: var(--tw-gold);
  border-color: var(--tw-gold);
}

.tw-btn-gold:hover {
  color: var(--tw-black);
  background: #E5C57F;
  border-color: #E5C57F;
}

.tw-btn-outline {
  color: var(--tw-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.tw-btn-outline:hover {
  color: var(--tw-gold);
  border-color: var(--tw-gold);
}

.tw-btn-dark {
  color: var(--tw-white);
  background: var(--tw-black);
  border-color: var(--tw-black);
}

.tw-btn-dark:hover {
  color: var(--tw-gold);
}

.tw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--tw-gold-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.tw-text-link:hover {
  color: var(--tw-black);
}

/* Hero */

.tw-hero {
  position: relative;
  isolation: isolate;
  padding: 85px 0 78px;
  overflow: hidden;
  color: var(--tw-white);
  background:
    radial-gradient(ellipse at 78% 42%, rgba(214, 173, 88, 0.13), transparent 38%),
    linear-gradient(130deg, #101010 0%, #1B1B1A 56%, #111111 100%);
}

.tw-hero::after {
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -300px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(214, 173, 88, 0.14);
  border-radius: 50%;
  content: "";
}

.tw-hero-glow {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: 24%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.045);
  pointer-events: none;
}

.tw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 58px;
}

.tw-hero-copy {
  min-width: 0;
}

.tw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  color: var(--tw-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.tw-eyebrow-line {
  width: 33px;
  height: 2px;
  background: var(--tw-gold);
}

.tw-hero h1 {
  max-width: 690px;
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.tw-hero-lead {
  max-width: 630px;
  margin: 0;
  color: #D4D0C8;
  font-size: 1.02rem;
  line-height: 1.85;
}

.tw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.tw-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 19px;
  margin-top: 27px;
  color: #E6E1D8;
  font-size: 0.8rem;
}

.tw-hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tw-hero-highlights b {
  color: var(--tw-gold);
}

/* Hero decorative panel */

.tw-hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 470px;
  place-items: center;
}

.tw-ring {
  position: absolute;
  border: 1px solid rgba(214, 173, 88, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.tw-ring-one {
  width: min(100%, 440px);
  aspect-ratio: 1;
}

.tw-ring-two {
  width: min(83%, 360px);
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.7;
}

.tw-recitation-card {
  position: relative;
  z-index: 1;
  width: min(100%, 365px);
  padding: 30px 27px;
  border: 1px solid rgba(214, 173, 88, 0.52);
  border-radius: 6px;
  background: linear-gradient(145deg, #2B2821, #171716);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.tw-card-label {
  display: block;
  color: var(--tw-gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
}

.tw-arabic-heading {
  margin: 30px 0 23px;
  color: var(--tw-gold);
  font-family: "Traditional Arabic", "Noto Naskh Arabic", serif;
  font-size: clamp(1.65rem, 3.6vw, 2.2rem);
  line-height: 1.8;
  text-align: center;
}

.tw-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--tw-gold);
}

.tw-card-divider::before,
.tw-card-divider::after {
  width: 58px;
  height: 1px;
  background: rgba(214, 173, 88, 0.6);
  content: "";
}

.tw-card-caption {
  margin: 13px 0 24px;
  color: #E0D9CC;
  font-size: 0.8rem;
  text-align: center;
}

.tw-skill-list {
  display: grid;
}

.tw-skill-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tw-skill-list > div > span {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.6);
  border-radius: 50%;
  color: var(--tw-gold);
  font-size: 0.69rem;
}

.tw-skill-list p {
  margin: 0;
  color: #E6E1D8;
  font-size: 0.79rem;
  line-height: 1.6;
}

.tw-floating-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 16px);
  padding: 12px 14px;
  border: 1px solid rgba(214, 173, 88, 0.35);
  border-radius: 5px;
  background: #23221F;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.tw-label-top {
  top: 25px;
  right: -5px;
}

.tw-label-bottom {
  bottom: 20px;
  left: -5px;
}

.tw-label-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--tw-black);
  background: var(--tw-gold);
}

.tw-floating-label strong,
.tw-floating-label small {
  display: block;
}

.tw-floating-label strong {
  color: var(--tw-white);
  font-size: 0.75rem;
}

.tw-floating-label small {
  margin-top: 3px;
  color: #C7C1B6;
  font-size: 0.66rem;
}

/* Introduction */

.tw-intro {
  background: var(--tw-ivory);
}

.tw-intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
}

.tw-intro-grid h2 {
  max-width: 460px;
}

.tw-heading-line {
  width: 70px;
  height: 3px;
  margin-top: 23px;
  background: var(--tw-gold);
}

.tw-prose p {
  margin: 0 0 17px;
}

/* Benefits */

.tw-benefits {
  background: #F0EBE1;
}

.tw-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tw-benefit-card {
  padding: 27px 23px;
  border: 1px solid #E2D8C6;
  border-radius: 5px;
  background: #FFFCF6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tw-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(30, 25, 15, 0.08);
}

.tw-benefit-number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 21px;
  place-items: center;
  border: 1px solid var(--tw-gold);
  border-radius: 50%;
  color: var(--tw-gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.tw-benefit-card h3,
.tw-module-card h3,
.tw-process-card h3,
.tw-related-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.45;
}

.tw-benefit-card p,
.tw-module-card p,
.tw-process-card p,
.tw-related-card p {
  margin: 0;
  color: #69645B;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Curriculum */

.tw-curriculum {
  background: var(--tw-ivory);
}

.tw-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tw-module-card {
  padding: 29px;
  border: 1px solid #E7DDCB;
  border-left: 3px solid var(--tw-gold);
  border-radius: 4px;
  background: #FFFCF7;
}

.tw-module-tag {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--tw-gold-dark);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tw-module-card h3 {
  font-size: 1.23rem;
}

.tw-module-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tw-module-card li {
  position: relative;
  padding-left: 22px;
  color: #4E4A43;
  font-size: 0.89rem;
  line-height: 1.65;
}

.tw-module-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--tw-gold-dark);
  font-weight: 900;
  content: "✓";
}

.tw-curriculum-note {
  max-width: 800px;
  margin: 26px auto 0;
  color: #625E56;
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.tw-center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Audience */

.tw-audience {
  background: #F0EBE1;
}

.tw-audience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 62px;
}

.tw-audience-copy > p {
  margin: 0 0 27px;
  color: #625E56;
  font-size: 0.97rem;
  line-height: 1.85;
}

.tw-audience-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin-top: 22px;
}

.tw-audience-check {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--tw-black);
  background: var(--tw-gold);
  font-weight: 900;
}

.tw-audience-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.tw-audience-item p {
  margin: 0;
  color: #625E56;
  font-size: 0.89rem;
  line-height: 1.75;
}

.tw-audience-panel {
  padding: 42px 36px;
  border: 1px solid rgba(214, 173, 88, 0.5);
  border-radius: 5px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 173, 88, 0.13), transparent 43%),
    var(--tw-black);
  color: var(--tw-white);
}

.tw-panel-symbol {
  display: block;
  margin-bottom: 18px;
  color: var(--tw-gold);
  font-size: 2.4rem;
}

.tw-audience-panel .tw-kicker {
  color: var(--tw-gold);
}

.tw-audience-panel h3 {
  margin: 13px 0 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.3;
}

.tw-audience-panel p {
  margin: 0 0 25px;
  color: #D4D0C8;
  font-size: 0.93rem;
  line-height: 1.85;
}

/* How it works */

.tw-process {
  background: var(--tw-black);
  color: var(--tw-white);
}

.tw-process .tw-section-heading h2 {
  color: var(--tw-white);
}

.tw-process .tw-section-heading > p {
  color: #C7C2B9;
}

.tw-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tw-process-card {
  padding: 27px;
  border-top: 2px solid var(--tw-gold);
  background: #1C1C1C;
}

.tw-process-number {
  display: inline-block;
  margin-bottom: 21px;
  color: var(--tw-gold);
  font-size: 1.65rem;
  font-weight: 800;
}

.tw-process-card h3 {
  color: var(--tw-white);
}

.tw-process-card p {
  color: #C7C2B9;
}

/* International students */

.tw-international {
  background: var(--tw-ivory);
}

.tw-international-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 62px;
}

.tw-international-grid h2 {
  max-width: 490px;
}

.tw-international-copy p {
  margin: 0 0 16px;
}

/* Related courses */

.tw-related {
  background: #F0EBE1;
}

.tw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tw-related-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid #E1D6C3;
  border-radius: 5px;
  background: #FFFCF6;
}

.tw-related-symbol {
  margin-bottom: 16px;
  color: var(--tw-gold-dark);
  font-size: 1.65rem;
  font-weight: 800;
}

.tw-related-label {
  margin-bottom: 14px;
  color: #82765F;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tw-related-card h3 {
  font-size: 1.2rem;
}

.tw-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 23px;
  color: var(--tw-gold-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.tw-related-link:hover {
  color: var(--tw-black);
}


/* Final call to action */


/* Tablet */

@media (max-width: 1050px) {
  .tw-hero-grid {
    gap: 34px;
  }

  .tw-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tw-intro-grid,
  .tw-audience-grid,
  .tw-international-grid,
  .tw-faq-grid {
    gap: 38px;
  }

  .tw-hero-visual {
    min-height: 420px;
  }
}

/* Mobile and small tablets */

@media (max-width: 800px) {
  .tw-section {
    padding: 66px 0;
  }

  .tw-hero {
    padding: 63px 0;
  }

  .tw-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tw-hero-copy {
    max-width: 700px;
  }

  .tw-hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.6rem);
  }

  .tw-hero-visual {
    width: 100%;
    max-width: 500px;
    min-height: 440px;
    margin-inline: auto;
  }

  .tw-intro-grid,
  .tw-audience-grid,
  .tw-international-grid,
  .tw-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tw-process-grid {
    gap: 14px;
  }

  .tw-process-card {
    padding: 22px;
  }

  .tw-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tw-related-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Phones */

@media (max-width: 560px) {
  .tw-container {
    width: min(100% - 32px, 1160px);
  }

  .tw-section {
    padding: 53px 0;
  }

  .tw-hero {
    padding: 50px 0 44px;
  }

  .tw-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.12;
  }

  .tw-hero-lead {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .tw-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tw-hero-actions .tw-btn {
    width: 100%;
  }

  .tw-hero-highlights {
    display: grid;
    gap: 10px;
  }

  .tw-hero-visual {
    min-height: 390px;
  }

  .tw-recitation-card {
    width: min(100%, 330px);
    padding: 24px 20px;
  }

  .tw-arabic-heading {
    margin: 25px 0 19px;
    font-size: 1.75rem;
  }

  .tw-floating-label {
    gap: 8px;
    padding: 10px;
  }

  .tw-label-top {
    top: 3px;
    right: 0;
  }

  .tw-label-bottom {
    bottom: 3px;
    left: 0;
  }

  .tw-floating-label strong {
    font-size: 0.69rem;
  }

  .tw-floating-label small {
    font-size: 0.61rem;
  }

  .tw-section-heading {
    margin-bottom: 30px;
  }

  .tw-section-heading h2,
  .tw-intro-grid h2,
  .tw-audience-copy h2,
  .tw-international-grid h2,
  .tw-faq-intro h2 {
    font-size: 1.85rem;
  }

  .tw-benefit-grid,
  .tw-module-grid,
  .tw-process-grid,
  .tw-related-grid {
    grid-template-columns: 1fr;
  }

  .tw-related-card:last-child {
    grid-column: auto;
  }

  .tw-benefit-card,
  .tw-module-card,
  .tw-related-card {
    padding: 23px;
  }

  .tw-audience-panel {
    padding: 29px 23px;
  }

  .tw-process-card {
    padding: 23px;
  }

  
 

  

  

  
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
  .tajweed-page *,
  .tajweed-page *::before,
  .tajweed-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================
   Elite Quran Learning
   Quran Memorization Page
   Page-only styles — black, champagne gold and warm ivory
   ========================================================== */

.memorization-page {
  --hm-black: #111111;
  --hm-black-soft: #191916;
  --hm-black-card: #20201c;
  --hm-gold: #D6AD58;
  --hm-gold-dark: #B98D3D;
  --hm-gold-pale: #F1DFB4;
  --hm-ivory: #FAF7EF;
  --hm-white: #FFFFFF;
  --hm-muted: #6F6B62;
  --hm-green: #275C48;
  --hm-plum: #72558A;
  --hm-blue: #4D708D;
  --hm-border: rgba(214, 173, 88, 0.24);

  background: var(--hm-ivory);
  color: var(--hm-black);
  font-family: "Manrope", Arial, sans-serif;
  overflow: hidden;
}

.memorization-page *,
.memorization-page *::before,
.memorization-page *::after {
  box-sizing: border-box;
}

.memorization-page a {
  text-decoration: none;
}

.memorization-page h1,
.memorization-page h2,
.memorization-page h3,
.memorization-page p {
  margin-top: 0;
}

.memorization-page h1,
.memorization-page h2,
.memorization-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hm-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.hm-section {
  position: relative;
  padding: 100px 0;
}

.hm-kicker {
  display: inline-block;
  color: var(--hm-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
  line-height: 1.8;
}

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(214, 173, 88, 0.35);
  border-radius: 999px;
  color: var(--hm-gold-pale);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hm-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hm-gold);
  box-shadow: 0 0 12px rgba(214, 173, 88, 0.6);
}

.hm-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.hm-btn:hover {
  transform: translateY(-3px);
}

.hm-btn:focus-visible,
.hm-text-link:focus-visible,
.hm-related-card:focus-visible {
  outline: 3px solid var(--hm-gold);
  outline-offset: 4px;
}

.hm-btn-gold {
  background: var(--hm-gold);
  color: var(--hm-black);
  box-shadow: 0 8px 25px rgba(214, 173, 88, 0.13);
}

.hm-btn-gold:hover {
  background: #E8C779;
  box-shadow: 0 12px 30px rgba(214, 173, 88, 0.22);
}

.hm-btn-outline {
  border-color: rgba(241, 223, 180, 0.48);
  background: transparent;
  color: var(--hm-ivory);
}

.hm-btn-outline:hover {
  border-color: var(--hm-gold);
  background: rgba(214, 173, 88, 0.08);
}

.hm-btn-dark {
  background: var(--hm-black);
  color: var(--hm-gold-pale);
}

.hm-btn-dark:hover {
  background: #303027;
}

.hm-btn-light-outline {
  border-color: rgba(241, 223, 180, 0.55);
  background: transparent;
  color: var(--hm-white);
}

.hm-btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--hm-gold);
}

.hm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hm-black);
  font-size: 12px;
  font-weight: 800;
}

.hm-text-link span {
  color: var(--hm-gold-dark);
  font-size: 19px;
  transition: transform 0.2s ease;
}

.hm-text-link:hover span {
  transform: translateX(4px);
}


/* =========================
   HERO
   ========================= */

.hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(214, 173, 88, 0.12), transparent 36%),
    radial-gradient(ellipse at 4% 95%, rgba(214, 173, 88, 0.07), transparent 35%),
    var(--hm-black);
  color: var(--hm-white);
}

.hm-hero-pattern,
.hm-final-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 35px,
      rgba(214, 173, 88, 0.15) 36px,
      transparent 37px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 35px,
      rgba(214, 173, 88, 0.11) 36px,
      transparent 37px
    );
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.hm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  min-height: 650px;
  padding-top: 78px;
  padding-bottom: 85px;
}

.hm-hero-content {
  position: relative;
  z-index: 2;
}

.hm-hero h1 {
  max-width: 690px;
  margin: 25px 0 22px;
  color: var(--hm-white);
  font-size: clamp(42px, 5.1vw, 69px);
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: 0.99;
}

.hm-hero h1 span {
  display: block;
  margin-top: 15px;
  color: var(--hm-gold);
  font-size: 0.76em;
  font-weight: 500;
  line-height: 1.12;
}

.hm-hero-text {
  max-width: 580px;
  margin-bottom: 28px;
  color: #D0CEC6;
  font-size: 14px;
  line-height: 1.95;
}

.hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  margin-top: 27px;
  color: #D4D0C4;
  font-size: 10px;
  line-height: 1.7;
}

.hm-hero-points > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hm-check {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.13);
  color: var(--hm-gold);
  font-size: 11px;
}


/* CSS book illustration */

.hm-hero-art {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  isolation: isolate;
}

.hm-art-orbit {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(214, 173, 88, 0.24);
  border-radius: 50%;
}

.hm-orbit-one {
  transform: rotate(-24deg) scaleY(0.79);
}

.hm-orbit-two {
  width: 420px;
  height: 290px;
  transform: rotate(33deg);
  border-color: rgba(214, 173, 88, 0.12);
}

.hm-book-halo {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 173, 88, 0.15), transparent 65%);
}

.hm-book-scene {
  position: relative;
  display: grid;
  width: 300px;
  height: 300px;
  place-items: center;
}

.hm-book {
  position: relative;
  z-index: 1;
  display: flex;
  width: 235px;
  height: 280px;
  padding: 9px;
  border: 1px solid #E0C27F;
  border-radius: 7px 13px 13px 7px;
  background: linear-gradient(130deg, #D6AD58, #9D762D 35%, #D9B963 66%, #8F6825);
  box-shadow:
    12px 15px 0 rgba(0, 0, 0, 0.22),
    0 25px 55px rgba(0, 0, 0, 0.32);
  transform: perspective(800px) rotateY(-13deg) rotateZ(-3deg);
}

.hm-book-cover {
  position: relative;
  flex: 1;
  display: flex;
  padding: 10px;
  border: 1px solid rgba(250, 247, 239, 0.55);
  border-radius: 3px 7px 7px 3px;
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, 0.1), transparent 60%),
    #163D30;
}

.hm-book-border {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid rgba(214, 173, 88, 0.85);
  outline: 1px solid rgba(214, 173, 88, 0.23);
  outline-offset: 4px;
}

.hm-book-emblem {
  color: var(--hm-gold);
  font-size: 42px;
}

.hm-book-arabic {
  color: #F5E5BD;
  font-family: Georgia, serif;
  font-size: 23px;
}

.hm-book-subtitle {
  color: var(--hm-gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 2px;
}

.hm-book-flower {
  color: var(--hm-gold);
  font-size: 19px;
}

.hm-book-pages {
  position: absolute;
  top: 7px;
  right: -7px;
  bottom: 7px;
  width: 8px;
  border-radius: 0 5px 5px 0;
  background: repeating-linear-gradient(
    to bottom,
    #F6E8C9 0,
    #F6E8C9 3px,
    #D4C29E 4px,
    #F6E8C9 5px
  );
}

.hm-book-shadow {
  position: absolute;
  right: 12px;
  bottom: -6px;
  left: 12px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  filter: blur(12px);
}

.hm-art-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(214, 173, 88, 0.28);
  border-radius: 6px;
  background: rgba(28, 28, 24, 0.92);
  color: #F3E9D4;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hm-label-top {
  top: 49px;
  right: -2px;
}

.hm-label-bottom {
  bottom: 60px;
  left: -12px;
}

.hm-label-icon {
  color: var(--hm-gold);
  font-size: 19px;
}

.hm-art-caption {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #BDB8A9;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-align: center;
}

.hm-caption-line {
  width: 26px;
  height: 1px;
  background: var(--hm-gold);
}

.hm-art-star {
  position: absolute;
  color: var(--hm-gold);
}

.hm-star-one {
  top: 72px;
  left: 48px;
  font-size: 28px;
}

.hm-star-two {
  top: 170px;
  right: 3px;
  font-size: 32px;
}

.hm-star-three {
  bottom: 90px;
  right: 46px;
  font-size: 20px;
}

.hm-hero-bottom-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-gold), transparent);
  opacity: 0.55;
}


/* =========================
   INTRODUCTION
   ========================= */

.hm-intro {
  background:
    radial-gradient(ellipse at 0 100%, rgba(214, 173, 88, 0.09), transparent 45%),
    var(--hm-ivory);
}

.hm-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.hm-section-heading h2,
.hm-centered-heading h2,
.hm-journey-heading h2,
.hm-audience-content h2,
.hm-global-content h2,
.hm-related-heading h2,
.hm-faq-intro h2 {
  margin: 14px 0 18px;
  font-size: clamp(35px, 4vw, 49px);
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.07;
}

.hm-section-heading h2 span {
  display: block;
  color: var(--hm-gold-dark);
}

.hm-heading-ornament {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 145px;
  margin-top: 26px;
  color: var(--hm-gold-dark);
}

.hm-heading-ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-gold));
}

.hm-heading-ornament span:last-child {
  transform: rotate(180deg);
}

.hm-intro-copy p {
  margin-bottom: 18px;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 2;
}

.hm-intro-copy .hm-text-link {
  margin-top: 7px;
}


/* =========================
   BENEFITS
   ========================= */

.hm-benefits {
  background:
    radial-gradient(ellipse at 100% 0, rgba(214, 173, 88, 0.09), transparent 36%),
    #F1EDE3;
}

.hm-centered-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.hm-centered-heading h2 {
  margin-top: 12px;
  margin-bottom: 14px;
}

.hm-centered-heading > p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--hm-muted);
  font-size: 13px;
  line-height: 1.9;
}

.hm-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hm-benefit-card {
  position: relative;
  min-width: 0;
  padding: 29px 23px 31px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 20, 0.07);
  border-radius: 7px;
  background: #FFFEFA;
  box-shadow: 0 12px 35px rgba(43, 37, 24, 0.035);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hm-benefit-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hm-gold), transparent);
  content: "";
}

.hm-benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 173, 88, 0.5);
  box-shadow: 0 18px 40px rgba(43, 37, 24, 0.08);
}

.hm-benefit-icon {
  display: grid;
  width: 57px;
  height: 57px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 15px;
}

.hm-benefit-icon svg {
  width: 34px;
  height: 34px;
}

.hm-icon-gold {
  background: #F6EBD0;
  color: #A87B28;
}

.hm-icon-green {
  background: #E0EDE4;
  color: #275C48;
}

.hm-icon-plum {
  background: #EEE5F2;
  color: #72558A;
}

.hm-icon-blue {
  background: #E1EBF1;
  color: #4D708D;
}

.hm-card-number {
  position: absolute;
  top: 28px;
  right: 21px;
  color: #B7B0A2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hm-benefit-card h3,
.hm-journey-card h3,
.hm-process-item h3,
.hm-audience-item h3,
.hm-related-card h3 {
  margin-bottom: 12px;
  color: var(--hm-black);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.08;
}

.hm-benefit-card p,
.hm-journey-card p,
.hm-process-item p {
  margin-bottom: 0;
  color: var(--hm-muted);
  font-size: 11px;
  line-height: 1.9;
}


/* =========================
   JOURNEY STEPS
   ========================= */

.hm-journey {
  background: var(--hm-black);
  color: var(--hm-white);
}

.hm-journey-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 55px;
  margin-bottom: 46px;
}

.hm-journey-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--hm-white);
}

.hm-journey-heading > p {
  margin-bottom: 5px;
  color: #BDB9AD;
  font-size: 12px;
  line-height: 1.9;
}

.hm-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.hm-journey-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 26px 23px;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, 0.22);
  border-radius: 6px;
  background: linear-gradient(145deg, #24241F, #181815);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hm-journey-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 173, 88, 0.65);
}

.hm-journey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 33px;
}

.hm-journey-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.35);
  border-radius: 50%;
  color: var(--hm-gold);
  font-size: 23px;
}

.hm-step {
  color: var(--hm-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.hm-journey-card h3 {
  position: relative;
  z-index: 1;
  color: var(--hm-white);
}

.hm-journey-card p {
  position: relative;
  z-index: 1;
  color: #BCB9B0;
}

.hm-journey-decoration {
  position: absolute;
  right: 7px;
  bottom: -20px;
  color: rgba(214, 173, 88, 0.055);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
}

.hm-journey-note {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 18px 23px;
  border: 1px solid rgba(214, 173, 88, 0.2);
  border-radius: 5px;
  background: rgba(214, 173, 88, 0.055);
}

.hm-note-icon {
  flex-shrink: 0;
  color: var(--hm-gold);
  font-size: 25px;
}

.hm-journey-note p {
  margin: 0;
  color: #C8C3B7;
  font-size: 11px;
  line-height: 1.8;
}

.hm-journey-note strong {
  color: var(--hm-gold-pale);
}


/* =========================
   AUDIENCE
   ========================= */

.hm-audience {
  background:
    radial-gradient(ellipse at 5% 55%, rgba(214, 173, 88, 0.1), transparent 35%),
    var(--hm-ivory);
}

.hm-audience-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 80px;
}

.hm-audience-art {
  position: relative;
  display: grid;
  min-height: 450px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, 0.25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(214, 173, 88, 0.13), transparent 45%),
    #EDE5D4;
}

.hm-audience-circle {
  position: absolute;
  border: 1px solid rgba(185, 141, 61, 0.4);
  border-radius: 50%;
}

.hm-circle-back {
  width: 340px;
  height: 340px;
  transform: scaleY(0.72) rotate(25deg);
}

.hm-circle-front {
  width: 270px;
  height: 270px;
  border-style: dashed;
  opacity: 0.6;
}

.hm-audience-symbol {
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.8);
  outline: 8px solid rgba(214, 173, 88, 0.08);
  outline-offset: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1F4938, #102D23);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.16);
  color: var(--hm-gold);
  font-family: Georgia, serif;
  font-size: 80px;
}

.hm-audience-quote {
  position: absolute;
  right: 19px;
  bottom: 25px;
  left: 19px;
  padding: 17px 20px;
  border: 1px solid rgba(185, 141, 61, 0.24);
  border-radius: 5px;
  background: rgba(250, 247, 239, 0.94);
  text-align: center;
}

.hm-quote-mark {
  display: block;
  height: 28px;
  color: var(--hm-gold-dark);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.hm-audience-quote p {
  margin: 3px 0 12px;
  color: #403B31;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.hm-quote-line {
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 auto;
  background: var(--hm-gold);
}

.hm-audience-star {
  position: absolute;
  color: var(--hm-gold-dark);
}

.hm-a-star-one {
  top: 48px;
  left: 46px;
  font-size: 27px;
}

.hm-a-star-two {
  top: 80px;
  right: 43px;
  font-size: 32px;
}

.hm-audience-content h2 {
  margin-top: 13px;
}

.hm-audience-content > p {
  margin-bottom: 25px;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 2;
}

.hm-audience-list {
  display: grid;
  gap: 20px;
  margin-bottom: 29px;
}

.hm-audience-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 13px;
}

.hm-audience-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(185, 141, 61, 0.35);
  border-radius: 50%;
  background: #F3E7C8;
  color: #7B5921;
  font-size: 12px;
}

.hm-audience-item h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.hm-audience-item p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 11px;
  line-height: 1.85;
}


/* =========================
   QURAN PDF FEATURE
   ========================= */

.hm-pdf-section {
  padding: 24px 0 80px;
  background: var(--hm-ivory);
}

.hm-pdf-banner {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 38px;
  padding: 43px 55px;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, 0.45);
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 0 100%, rgba(214, 173, 88, 0.11), transparent 50%),
    #F0E8D7;
  box-shadow: 0 18px 50px rgba(38, 31, 20, 0.045);
}

.hm-pdf-art {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
}

.hm-pdf-ring {
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(185, 141, 61, 0.45);
  border-radius: 50%;
  transform: scaleY(0.8) rotate(30deg);
}

.hm-pdf-book {
  position: relative;
  z-index: 1;
  display: flex;
  width: 104px;
  height: 135px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 4px double var(--hm-gold);
  border-radius: 4px 9px 9px 4px;
  background: linear-gradient(135deg, #23523E, #102E23);
  box-shadow: 8px 8px 0 #C6A45E, 12px 17px 25px rgba(17, 17, 17, 0.15);
  color: var(--hm-gold);
  transform: rotate(-7deg);
}

.hm-pdf-book-symbol {
  font-size: 32px;
}

.hm-pdf-book-arabic {
  color: #F6E8C9;
  font-family: Georgia, serif;
  font-size: 18px;
}

.hm-pdf-book-lines {
  width: 35px;
  height: 1px;
  background: var(--hm-gold);
}

.hm-pdf-spark {
  position: absolute;
  color: var(--hm-gold-dark);
}

.hm-pdf-spark-one {
  top: 20px;
  right: 19px;
  font-size: 25px;
}

.hm-pdf-spark-two {
  bottom: 20px;
  left: 12px;
  font-size: 29px;
}

.hm-pdf-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hm-pdf-content h2 {
  margin: 9px 0 12px;
  color: var(--hm-black);
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 600;
  line-height: 1.08;
}

.hm-pdf-content p {
  max-width: 580px;
  margin-bottom: 22px;
  color: #6F6758;
  font-size: 12px;
  line-height: 1.9;
}

.hm-pdf-side-mark {
  position: absolute;
  right: -28px;
  bottom: -68px;
  color: rgba(185, 141, 61, 0.09);
  font-size: 200px;
  pointer-events: none;
}


/* =========================
   HOW IT WORKS
   ========================= */

.hm-process {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(214, 173, 88, 0.09), transparent 38%),
    #F2EEE5;
}

.hm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hm-process-item {
  position: relative;
  min-width: 0;
  padding: 26px 21px 23px;
  border: 1px solid rgba(185, 141, 61, 0.24);
  border-radius: 6px;
  background: rgba(255, 254, 250, 0.8);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.hm-process-item:hover {
  transform: translateY(-5px);
  background: #FFFEFA;
}

.hm-process-number {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid var(--hm-gold);
  border-radius: 50%;
  background: var(--hm-black);
  color: var(--hm-gold);
  font-size: 11px;
  font-weight: 800;
}

.hm-process-item h3 {
  font-size: 23px;
}

.hm-process-item p {
  font-size: 11px;
}


/* =========================
   INTERNATIONAL STUDENTS
   ========================= */

.hm-global {
  background: var(--hm-ivory);
}

.hm-global-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.hm-global-content h2 {
  margin-top: 12px;
}

.hm-global-content > p {
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 2;
}

.hm-country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 23px 0 25px;
}

.hm-country-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(185, 141, 61, 0.35);
  border-radius: 3px;
  background: #F3EBD9;
  color: #4A4336;
  font-size: 10px;
  font-weight: 700;
}

.hm-global-visual {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(214, 173, 88, 0.12), transparent 52%),
    #EDE5D5;
}

.hm-globe-ring {
  position: absolute;
  border: 1px solid rgba(185, 141, 61, 0.35);
  border-radius: 50%;
}

.hm-globe-ring-one {
  width: 330px;
  height: 180px;
  transform: rotate(-35deg);
}

.hm-globe-ring-two {
  width: 320px;
  height: 270px;
  transform: rotate(35deg);
}

.hm-globe {
  width: 245px;
  color: #315D48;
  filter: drop-shadow(0 12px 18px rgba(25, 54, 39, 0.1));
}

.hm-globe svg {
  display: block;
  width: 100%;
  height: auto;
}

.hm-global-badge {
  position: absolute;
  right: 17px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(214, 173, 88, 0.35);
  border-radius: 5px;
  background: #FFFCF4;
  box-shadow: 0 12px 35px rgba(17, 17, 17, 0.08);
}

.hm-global-badge-icon {
  color: var(--hm-gold-dark);
  font-size: 27px;
}

.hm-global-badge strong,
.hm-global-badge small {
  display: block;
}

.hm-global-badge strong {
  margin-bottom: 3px;
  color: var(--hm-black);
  font-size: 11px;
}

.hm-global-badge small {
  color: var(--hm-muted);
  font-size: 10px;
}

.hm-global-star {
  position: absolute;
  color: var(--hm-gold-dark);
}

.hm-global-star-one {
  top: 38px;
  left: 47px;
  font-size: 28px;
}

.hm-global-star-two {
  top: 77px;
  right: 52px;
  font-size: 24px;
}


/* =========================
   RELATED COURSES
   ========================= */

.hm-related {
  background: #F0EBDD;
}

.hm-related-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 37px;
}

.hm-related-heading h2 {
  margin-bottom: 0;
}

.hm-related-heading > p {
  margin-bottom: 4px;
  color: var(--hm-muted);
  font-size: 12px;
  line-height: 1.9;
}

.hm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hm-related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, 0.25);
  border-radius: 7px;
  background: #FFFEFA;
  color: var(--hm-black);
  box-shadow: 0 10px 30px rgba(43, 37, 24, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(43, 37, 24, 0.09);
}

.hm-related-icon {
  display: grid;
  min-height: 125px;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 65px;
}

.hm-related-icon-one {
  background:
    radial-gradient(circle, rgba(214, 173, 88, 0.2), transparent 55%),
    #EDE1C6;
  color: #7D5D25;
}

.hm-related-icon-two {
  background:
    radial-gradient(circle, rgba(214, 173, 88, 0.17), transparent 55%),
    #DCE8DD;
  color: #24513D;
}

.hm-related-icon-three {
  background:
    radial-gradient(circle, rgba(214, 173, 88, 0.18), transparent 55%),
    #E7DDEA;
  color: #71517D;
}

.hm-related-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 24px 24px;
}

.hm-related-label {
  margin-bottom: 9px;
  color: var(--hm-gold-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.hm-related-card h3 {
  margin-bottom: 9px;
  font-size: 27px;
}

.hm-related-card p {
  margin-bottom: 20px;
  color: var(--hm-muted);
  font-size: 11px;
  line-height: 1.85;
}

.hm-related-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hm-black);
  font-size: 11px;
  font-weight: 800;
}

.hm-related-link span {
  color: var(--hm-gold-dark);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.hm-related-card:hover .hm-related-link span {
  transform: translateX(4px);
}



/* =========================
   RESPONSIVE LAYOUT
   ========================= */

@media (max-width: 1050px) {
  .hm-hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
  }

  .hm-hero h1 {
    font-size: clamp(42px, 5.2vw, 60px);
  }

  .hm-hero-art {
    transform: scale(0.9);
  }

  .hm-intro-grid,
  .hm-audience-grid {
    gap: 48px;
  }

  .hm-benefit-grid,
  .hm-journey-grid,
  .hm-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-benefit-card {
    padding: 26px;
  }

  .hm-journey-card {
    min-height: 230px;
  }

  .hm-faq-grid {
    gap: 45px;
  }

  .hm-pdf-banner {
    padding: 35px;
  }
}

@media (max-width: 800px) {
  .hm-section {
    padding: 76px 0;
  }

  .hm-container {
    width: min(100% - 36px, 650px);
  }

  .hm-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 65px;
    padding-bottom: 40px;
  }

  .hm-hero-content {
    max-width: 650px;
  }

  .hm-hero h1 {
    max-width: 650px;
    font-size: clamp(43px, 8vw, 62px);
  }

  .hm-hero-text {
    max-width: 630px;
  }

  .hm-hero-art {
    min-height: 410px;
    margin-top: -5px;
    transform: none;
  }

  .hm-art-orbit {
    width: 330px;
    height: 330px;
  }

  .hm-orbit-two {
    width: 365px;
    height: 260px;
  }

  .hm-intro-grid,
  .hm-audience-grid,
  .hm-global-grid,
  .hm-faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hm-section-heading h2,
  .hm-centered-heading h2,
  .hm-journey-heading h2,
  .hm-audience-content h2,
  .hm-global-content h2,
  .hm-related-heading h2,
  .hm-faq-intro h2 {
    font-size: clamp(34px, 6vw, 46px);
  }

  .hm-journey-heading,
  .hm-related-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hm-audience-art {
    min-height: 370px;
  }

  .hm-audience-grid {
    gap: 35px;
  }

  .hm-pdf-banner {
    grid-template-columns: 135px 1fr;
    gap: 24px;
    padding: 30px 25px;
  }

  .hm-pdf-art {
    transform: scale(0.85);
  }

  .hm-global-visual {
    min-height: 350px;
  }

  .hm-faq-mini-art {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .hm-section {
    padding: 62px 0;
  }

  .hm-container {
    width: calc(100% - 32px);
  }

  .hm-kicker {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hm-hero-grid {
    padding-top: 45px;
    padding-bottom: 30px;
  }

  .hm-eyebrow {
    gap: 7px;
    padding: 9px 11px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hm-hero h1 {
    margin-top: 21px;
    font-size: clamp(37px, 10vw, 49px);
    letter-spacing: -0.8px;
    line-height: 1.02;
  }

  .hm-hero h1 span {
    margin-top: 12px;
    font-size: 0.76em;
  }

  .hm-hero-text {
    font-size: 12px;
    line-height: 1.85;
  }

  .hm-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hm-btn {
    width: 100%;
    min-height: 49px;
    padding: 13px 15px;
    font-size: 11px;
  }

  .hm-hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 10px;
  }

  .hm-hero-art {
    min-height: 335px;
    margin: 0 -8px;
    transform: scale(0.95);
  }

  .hm-book-scene {
    transform: scale(0.78);
  }

  .hm-art-orbit {
    width: 270px;
    height: 270px;
  }

  .hm-orbit-two {
    width: 300px;
    height: 210px;
  }

  .hm-label-top {
    top: 28px;
    right: 0;
  }

  .hm-label-bottom {
    bottom: 43px;
    left: 0;
  }

  .hm-art-label {
    gap: 7px;
    padding: 9px 10px;
    font-size: 8px;
  }

  .hm-art-caption {
    bottom: 0;
    gap: 7px;
    font-size: 8px;
  }

  .hm-star-one {
    top: 56px;
    left: 18px;
    font-size: 22px;
  }

  .hm-star-two {
    top: 145px;
    right: 3px;
    font-size: 23px;
  }

  .hm-star-three {
    right: 24px;
    bottom: 65px;
  }

  .hm-section-heading h2,
  .hm-centered-heading h2,
  .hm-journey-heading h2,
  .hm-audience-content h2,
  .hm-global-content h2,
  .hm-related-heading h2,
  .hm-faq-intro h2 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hm-intro-grid {
    gap: 24px;
  }

  .hm-benefit-grid,
  .hm-journey-grid,
  .hm-process-grid,
  .hm-related-grid {
    grid-template-columns: 1fr;
  }

  .hm-centered-heading {
    margin-bottom: 31px;
  }

  .hm-benefit-card {
    padding: 24px;
  }

  .hm-benefit-card h3,
  .hm-journey-card h3,
  .hm-process-item h3,
  .hm-audience-item h3 {
    font-size: 25px;
  }

  .hm-journey-heading {
    margin-bottom: 29px;
  }

  .hm-journey-card {
    min-height: 0;
    padding: 23px;
  }

  .hm-journey-top {
    margin-bottom: 24px;
  }

  .hm-journey-note {
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }

  .hm-audience-art {
    min-height: 330px;
  }

  .hm-circle-back {
    width: 280px;
    height: 280px;
  }

  .hm-circle-front {
    width: 220px;
    height: 220px;
  }

  .hm-audience-symbol {
    width: 135px;
    height: 135px;
    font-size: 66px;
  }

  .hm-audience-quote {
    right: 12px;
    left: 12px;
    padding: 14px;
  }

  .hm-audience-quote p {
    font-size: 19px;
  }

  .hm-pdf-section {
    padding: 5px 0 60px;
  }

  .hm-pdf-banner {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 24px 19px 26px;
  }

  .hm-pdf-art {
    min-height: 150px;
    transform: none;
  }

  .hm-pdf-ring {
    width: 135px;
    height: 135px;
  }

  .hm-pdf-book {
    width: 89px;
    height: 115px;
  }

  .hm-pdf-content h2 {
    font-size: 35px;
  }

  .hm-pdf-content p {
    font-size: 11px;
  }

  .hm-pdf-side-mark {
    font-size: 140px;
  }

  .hm-process-item {
    padding: 24px;
  }

  .hm-process-number {
    margin-bottom: 19px;
  }

  .hm-global-visual {
    min-height: 300px;
  }

  .hm-globe {
    width: 205px;
  }

  .hm-globe-ring-one {
    width: 260px;
    height: 150px;
  }

  .hm-globe-ring-two {
    width: 265px;
    height: 220px;
  }

  .hm-global-badge {
    right: 10px;
    bottom: 12px;
    padding: 11px 12px;
  }

  .hm-related-heading {
    margin-bottom: 27px;
  }

  .hm-related-icon {
    min-height: 110px;
  }

  .hm-related-card-body {
    padding: 22px;
  }


  
 
}

@media (prefers-reduced-motion: reduce) {
  .memorization-page *,
  .memorization-page *::before,
  .memorization-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Online Quran Classes for Kids
   Page-only stylesheet
   ========================================================= */

.kids-quran-page {
  --qk-black: #111111;
  --qk-black-soft: #1B1B17;
  --qk-gold: #D6AD58;
  --qk-gold-dark: #A77B2C;
  --qk-gold-pale: #F3E1B5;
  --qk-ivory: #FAF7EF;
  --qk-muted: #716B60;
  --qk-green: #285C45;
  --qk-plum: #72558A;
  --qk-blue: #4D708D;

  overflow: hidden;
  background: var(--qk-ivory);
  color: var(--qk-black);
  font-family: "Manrope", Arial, sans-serif;
}

.kids-quran-page *,
.kids-quran-page *::before,
.kids-quran-page *::after {
  box-sizing: border-box;
}

.kids-quran-page a {
  text-decoration: none;
}

.kids-quran-page h1,
.kids-quran-page h2,
.kids-quran-page h3,
.kids-quran-page p {
  margin-top: 0;
}

.kids-quran-page h1,
.kids-quran-page h2,
.kids-quran-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.qk-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.qk-section {
  position: relative;
  padding: 98px 0;
}

.qk-kicker {
  display: inline-block;
  color: var(--qk-gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.9px;
  line-height: 1.8;
}

.qk-btn {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition:
    transform .25s ease,
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.qk-btn:hover {
  transform: translateY(-3px);
}

.qk-btn:focus-visible,
.qk-text-link:focus-visible,
.qk-path-card:focus-visible,
.qk-related-card:focus-visible{
  outline: 3px solid var(--qk-gold);
  outline-offset: 4px;
}

.qk-btn-gold {
  background: var(--qk-gold);
  color: var(--qk-black);
  box-shadow: 0 8px 25px rgba(214, 173, 88, .12);
}

.qk-btn-gold:hover {
  background: #E9C879;
  box-shadow: 0 12px 28px rgba(214, 173, 88, .2);
}

.qk-btn-outline {
  border-color: rgba(243, 225, 181, .55);
  background: transparent;
  color: var(--qk-ivory);
}

.qk-btn-outline:hover {
  border-color: var(--qk-gold);
  background: rgba(214, 173, 88, .08);
}

.qk-btn-dark {
  background: var(--qk-black);
  color: var(--qk-gold-pale);
}

.qk-btn-dark:hover {
  background: #303027;
}

.qk-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--qk-black);
  font-size: 11px;
  font-weight: 800;
}

.qk-text-link span {
  color: var(--qk-gold-dark);
  font-size: 19px;
  transition: transform .2s ease;
}

.qk-text-link:hover span {
  transform: translateX(4px);
}


/* =========================
   HERO
   ========================= */

.qk-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 77% 42%, rgba(214, 173, 88, .13), transparent 35%),
    radial-gradient(ellipse at 5% 95%, rgba(214, 173, 88, .07), transparent 37%),
    var(--qk-black);
  color: white;
}

.qk-hero-pattern,
.qk-final-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 35px,
      rgba(214, 173, 88, .17) 36px,
      transparent 37px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 35px,
      rgba(214, 173, 88, .11) 36px,
      transparent 37px
    );
  mask-image: linear-gradient(90deg, transparent, black 45%, black);
}

.qk-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 40px;
  min-height: 650px;
  padding-top: 75px;
  padding-bottom: 80px;
}

.qk-hero-content {
  position: relative;
  z-index: 2;
}

.qk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 173, 88, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--qk-gold-pale);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.qk-eyebrow-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--qk-gold);
  box-shadow: 0 0 11px rgba(214, 173, 88, .55);
}

.qk-hero h1 {
  max-width: 690px;
  margin: 25px 0 21px;
  color: white;
  font-size: clamp(43px, 5vw, 67px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: .99;
}

.qk-hero h1 span {
  display: block;
  margin-top: 15px;
  color: var(--qk-gold);
  font-size: .74em;
  font-weight: 500;
  line-height: 1.12;
}

.qk-hero-text {
  max-width: 590px;
  margin-bottom: 27px;
  color: #D2CEC3;
  font-size: 13px;
  line-height: 1.95;
}

.qk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin-top: 26px;
  color: #D2CDBF;
  font-size: 9px;
  line-height: 1.8;
}

.qk-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qk-hero-trust b {
  color: var(--qk-gold);
  font-size: 13px;
}

.qk-hero-bottom-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qk-gold), transparent);
  opacity: .6;
}


/* Hero illustration */

.qk-hero-art {
  position: relative;
  display: grid;
  min-height: 450px;
  place-items: center;
  isolation: isolate;
}

.qk-art-moon {
  position: absolute;
  top: 46px;
  right: 47px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--qk-gold);
  box-shadow: 0 0 45px rgba(214, 173, 88, .16);
}

.qk-art-moon::after {
  position: absolute;
  top: -9px;
  left: 17px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #1A1A16;
  content: "";
}

.qk-art-star {
  position: absolute;
  z-index: 2;
  color: var(--qk-gold);
}

.qk-star-a {
  top: 75px;
  left: 65px;
  font-size: 27px;
}

.qk-star-b {
  top: 168px;
  right: 6px;
  font-size: 33px;
}

.qk-star-c {
  right: 48px;
  bottom: 76px;
  font-size: 21px;
}

.qk-star-d {
  bottom: 130px;
  left: 37px;
  font-size: 23px;
}

.qk-art-circle {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(214, 173, 88, .25);
  border-radius: 50%;
}

.qk-circle-a {
  transform: scaleY(.78) rotate(25deg);
}

.qk-circle-b {
  width: 390px;
  height: 270px;
  border-color: rgba(214, 173, 88, .14);
  transform: rotate(-29deg);
}

.qk-open-book {
  position: relative;
  display: flex;
  width: 285px;
  height: 200px;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .25));
  transform: rotate(-4deg);
}

.qk-book-left,
.qk-book-right {
  position: relative;
  display: flex;
  width: 50%;
  height: 100%;
  padding: 12px;
  border: 2px solid #B58B40;
  background: linear-gradient(135deg, #F5E8C9, #D8C398);
}

.qk-book-left {
  border-radius: 7px 2px 3px 12px;
  transform: perspective(500px) rotateY(9deg);
  transform-origin: right center;
}

.qk-book-right {
  border-radius: 2px 7px 12px 3px;
  transform: perspective(500px) rotateY(-9deg);
  transform-origin: left center;
}

.qk-book-page-design {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(165, 119, 43, .6);
  outline: 1px solid rgba(165, 119, 43, .16);
  outline-offset: -5px;
}

.qk-book-flower {
  color: #A77B2C;
  font-size: 23px;
}

.qk-book-arabic {
  color: #234D39;
  font-family: Georgia, serif;
  font-size: 18px;
}

.qk-book-line {
  width: 65%;
  height: 1px;
  background: rgba(95, 75, 36, .38);
}

.qk-book-line-short {
  width: 42%;
}

.qk-book-flower-small {
  color: #A77B2C;
  font-size: 15px;
}

.qk-book-spine {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, #9C702C, #F3D990, #A4772D);
  transform: translateX(-50%);
}

.qk-floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 173, 88, .3);
  border-radius: 6px;
  background: rgba(30, 30, 25, .95);
  color: #F5EAD0;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.qk-note-top {
  top: 112px;
  right: -5px;
}

.qk-note-bottom {
  bottom: 92px;
  left: -3px;
}

.qk-note-symbol {
  color: var(--qk-gold);
  font-size: 19px;
}

.qk-art-ground {
  position: absolute;
  z-index: -1;
  right: 20px;
  bottom: 45px;
  left: 20px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  filter: blur(16px);
}


/* =========================
   INTRODUCTION
   ========================= */

.qk-intro {
  background:
    radial-gradient(ellipse at 0 100%, rgba(214, 173, 88, .1), transparent 42%),
    var(--qk-ivory);
}

.qk-intro-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 75px;
}

.qk-intro-heading h2,
.qk-centered-heading h2,
.qk-benefits-heading h2,
.qk-parent-content h2,
.qk-related-heading h2,
.qk-faq-intro h2 {
  margin: 13px 0 17px;
  font-size: clamp(35px, 4vw, 49px);
  font-weight: 600;
  letter-spacing: -.4px;
  line-height: 1.08;
}

.qk-intro-heading h2 span {
  display: block;
  color: var(--qk-gold-dark);
}

.qk-ornament {
  display: flex;
  width: 140px;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--qk-gold-dark);
}

.qk-ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--qk-gold));
}

.qk-ornament span:last-child {
  transform: rotate(180deg);
}

.qk-intro-illustration {
  position: relative;
  display: grid;
  width: min(100%, 300px);
  height: 170px;
  margin-top: 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, .24);
  border-radius: 7px;
  background: linear-gradient(145deg, #F0E5CC, #E7D8B9);
}

.qk-intro-sun {
  position: absolute;
  top: -45px;
  right: -20px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(185, 141, 61, .4);
  border-radius: 50%;
}

.qk-intro-book {
  display: grid;
  width: 95px;
  height: 108px;
  place-items: center;
  border: 4px double var(--qk-gold);
  border-radius: 4px 9px 9px 4px;
  background: #204C39;
  color: var(--qk-gold);
  font-family: Georgia, serif;
  font-size: 48px;
  box-shadow: 6px 7px 0 #C7A35E;
  transform: rotate(-7deg);
}

.qk-intro-star {
  position: absolute;
  color: var(--qk-gold-dark);
}

.qk-intro-star-one {
  top: 25px;
  left: 34px;
  font-size: 26px;
}

.qk-intro-star-two {
  right: 30px;
  bottom: 25px;
  font-size: 27px;
}

.qk-intro-copy p {
  margin-bottom: 17px;
  color: var(--qk-muted);
  font-size: 12px;
  line-height: 2;
}

.qk-intro-copy strong {
  color: #433A29;
}

.qk-intro-copy a:not(.qk-text-link) {
  color: #896222;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(167, 123, 44, .4);
  text-underline-offset: 3px;
}

.qk-intro-copy .qk-text-link {
  margin-top: 8px;
}


/* =========================
   LEARNING PATHS
   ========================= */

.qk-paths {
  background:
    radial-gradient(ellipse at 100% 0, rgba(214, 173, 88, .09), transparent 38%),
    #F0EBDD;
}

.qk-centered-heading {
  max-width: 730px;
  margin: 0 auto 43px;
  text-align: center;
}

.qk-centered-heading h2 {
  margin-top: 12px;
  margin-bottom: 13px;
}

.qk-centered-heading > p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--qk-muted);
  font-size: 12px;
  line-height: 1.9;
}

.qk-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.qk-path-card {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, .24);
  border-radius: 7px;
  background: #FFFEFA;
  color: var(--qk-black);
  box-shadow: 0 10px 32px rgba(43, 37, 24, .035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.qk-path-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 38px rgba(43, 37, 24, .09);
}

.qk-path-art {
  position: relative;
  display: grid;
  min-height: 235px;
  place-items: center;
  overflow: hidden;
}

.qk-path-art-gold {
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, .24), transparent 55%),
    #EDE0C3;
  color: #815D20;
}

.qk-path-art-green {
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, .15), transparent 55%),
    #DCE8DC;
  color: #24543C;
}

.qk-path-art-plum {
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, .16), transparent 55%),
    #E8DEEA;
  color: #735681;
}

.qk-path-art-blue {
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, .16), transparent 55%),
    #DCE6EB;
  color: #45677F;
}

.qk-path-orbit {
  position: absolute;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(167, 123, 44, .42);
  border-radius: 50%;
}

.qk-path-arabic {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 700;
}

.qk-path-spark {
  position: absolute;
  top: 24px;
  right: 22px;
  color: var(--qk-gold-dark);
  font-size: 25px;
}

.qk-path-book-symbol {
  display: grid;
  width: 88px;
  height: 104px;
  place-items: center;
  border: 3px double var(--qk-gold);
  border-radius: 3px 8px 8px 3px;
  background: #204C39;
  color: var(--qk-gold);
  font-family: Georgia, serif;
  font-size: 45px;
  box-shadow: 6px 7px 0 #C8A461;
  transform: rotate(-5deg);
}

.qk-path-lines {
  position: absolute;
  bottom: 36px;
  left: 20px;
  width: 43px;
  height: 1px;
  background: rgba(36, 84, 60, .4);
  box-shadow: 0 6px 0 rgba(36, 84, 60, .3);
}

.qk-path-tajweed {
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  border: 1px solid rgba(115, 86, 129, .4);
  border-radius: 50%;
  outline: 7px solid rgba(115, 86, 129, .07);
  outline-offset: 6px;
  background: rgba(255, 255, 255, .35);
  font-family: Georgia, serif;
  font-size: 53px;
}

.qk-path-ring {
  position: absolute;
  width: 135px;
  height: 135px;
  border: 1px dashed rgba(115, 86, 129, .4);
  border-radius: 50%;
}

.qk-path-star-large {
  color: var(--qk-gold-dark);
  font-size: 65px;
}

.qk-path-memory-text {
  position: absolute;
  bottom: 44px;
  color: #3D5D73;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

.qk-path-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 21px;
}

.qk-path-label {
  margin-bottom: 8px;
  color: var(--qk-gold-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.qk-path-body h3 {
  margin-bottom: 9px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.08;
}

.qk-path-body p {
  margin-bottom: 18px;
  color: var(--qk-muted);
  font-size: 10px;
  line-height: 1.85;
}

.qk-path-link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--qk-black);
  font-size: 10px;
  font-weight: 800;
}

.qk-path-link b {
  color: var(--qk-gold-dark);
  font-size: 17px;
  transition: transform .2s ease;
}

.qk-path-card:hover .qk-path-link b {
  transform: translateX(4px);
}


/* =========================
   BENEFITS
   ========================= */

.qk-benefits {
  background: var(--qk-black);
  color: white;
}

.qk-benefits-heading {
  display: grid;
  grid-template-columns: 1fr .62fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 42px;
}

.qk-benefits-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  color: white;
}

.qk-benefits-heading > p {
  margin-bottom: 4px;
  color: #C2BDB0;
  font-size: 11px;
  line-height: 1.9;
}

.qk-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qk-benefit-card {
  position: relative;
  min-width: 0;
  padding: 27px 21px;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 88, .22);
  border-radius: 6px;
  background: linear-gradient(145deg, #25251F, #1A1A17);
  transition: transform .25s ease, border-color .25s ease;
}

.qk-benefit-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--qk-gold), transparent);
  content: "";
}

.qk-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 173, 88, .6);
}

.qk-benefit-icon {
  display: grid;
  width: 53px;
  height: 53px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 14px;
}

.qk-benefit-icon svg {
  width: 33px;
  height: 33px;
}

.qk-benefit-gold {
  background: #F2E5C7;
  color: #A77B2C;
}

.qk-benefit-green {
  background: #DCE9DD;
  color: #285C45;
}

.qk-benefit-plum {
  background: #E9DDED;
  color: #72558A;
}

.qk-benefit-blue {
  background: #DFE9EF;
  color: #4D708D;
}

.qk-benefit-number {
  position: absolute;
  top: 29px;
  right: 19px;
  color: var(--qk-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.qk-benefit-card h3 {
  margin-bottom: 11px;
  color: white;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.08;
}

.qk-benefit-card p {
  margin-bottom: 0;
  color: #C4BFB3;
  font-size: 10px;
  line-height: 1.9;
}


/* =========================
   PARENT SUPPORT
   ========================= */

.qk-parent {
  background:
    radial-gradient(ellipse at 5% 50%, rgba(214, 173, 88, .11), transparent 37%),
    var(--qk-ivory);
}

.qk-parent-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 75px;
}

.qk-parent-art {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 173, 88, .16), transparent 46%),
    #EEE5D2;
}

.qk-parent-halo {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(185, 141, 61, .4);
  border-radius: 50%;
  transform: scaleY(.78) rotate(24deg);
}

.qk-parent-moon {
  position: absolute;
  top: 47px;
  right: 60px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--qk-gold-dark);
}

.qk-parent-moon::after {
  position: absolute;
  top: -6px;
  left: 12px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #EEE5D2;
  content: "";
}

.qk-parent-star {
  position: absolute;
  color: var(--qk-gold-dark);
}

.qk-parent-star-a {
  top: 72px;
  left: 47px;
  font-size: 28px;
}

.qk-parent-star-b {
  right: 40px;
  bottom: 100px;
  font-size: 30px;
}

.qk-parent-book {
  position: relative;
  z-index: 1;
  display: flex;
  width: 180px;
  height: 225px;
  padding: 10px;
  border: 5px solid #BE974C;
  border-radius: 5px 12px 12px 5px;
  background: linear-gradient(135deg, #2C6549, #123426);
  box-shadow: 12px 13px 0 rgba(157, 118, 45, .35), 0 20px 35px rgba(30, 35, 24, .15);
  transform: rotate(-6deg);
}

.qk-parent-book-frame {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid var(--qk-gold);
  outline: 1px solid rgba(214, 173, 88, .3);
  outline-offset: 4px;
}

.qk-parent-emblem {
  color: var(--qk-gold);
  font-size: 42px;
}

.qk-parent-arabic {
  color: #F3E1B5;
  font-family: Georgia, serif;
  font-size: 18px;
}

.qk-parent-book-caption {
  color: var(--qk-gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.qk-parent-caption {
  position: absolute;
  right: 20px;
  bottom: 23px;
  left: 20px;
  padding: 13px;
  border: 1px solid rgba(185, 141, 61, .3);
  border-radius: 4px;
  background: rgba(250, 247, 239, .94);
  color: #514631;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
}

.qk-parent-content h2 {
  margin-top: 12px;
}

.qk-parent-content > p {
  color: var(--qk-muted);
  font-size: 11px;
  line-height: 1.95;
}

.qk-parent-tips {
  display: grid;
  gap: 20px;
  margin: 27px 0;
}

.qk-parent-tip {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: start;
  gap: 12px;
}

.qk-tip-check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(185, 141, 61, .4);
  border-radius: 50%;
  background: #F2E5C7;
  color: #7D5B21;
  font-size: 11px;
}

.qk-parent-tip h3 {
  margin-bottom: 6px;
  font-size: 23px;
  font-weight: 600;
}

.qk-parent-tip p {
  margin-bottom: 0;
  color: var(--qk-muted);
  font-size: 10px;
  line-height: 1.9;
}


/* =========================
   PDF BANNER
   ========================= */

.qk-pdf-section {
  padding: 24px 0 78px;
  background: var(--qk-ivory);
}

.qk-pdf-banner {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 35px;
  padding: 39px 48px;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, .4);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 0 100%, rgba(214, 173, 88, .12), transparent 48%),
    #F0E7D5;
  box-shadow: 0 15px 42px rgba(43, 37, 24, .045);
}

.qk-pdf-art {
  position: relative;
  display: grid;
  min-height: 170px;
  place-items: center;
}

.qk-pdf-orbit {
  position: absolute;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(185, 141, 61, .4);
  border-radius: 50%;
  transform: scaleY(.8) rotate(25deg);
}

.qk-pdf-book {
  position: relative;
  z-index: 1;
  display: flex;
  width: 96px;
  height: 124px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 4px double var(--qk-gold);
  border-radius: 4px 8px 8px 4px;
  background: linear-gradient(135deg, #285C45, #123426);
  box-shadow: 7px 7px 0 #C4A05A, 12px 15px 25px rgba(0, 0, 0, .12);
  transform: rotate(-6deg);
}

.qk-pdf-emblem {
  color: var(--qk-gold);
  font-size: 30px;
}

.qk-pdf-arabic {
  color: #F3E1B5;
  font-family: Georgia, serif;
  font-size: 18px;
}

.qk-pdf-book-line {
  width: 34px;
  height: 1px;
  background: var(--qk-gold);
}

.qk-pdf-spark {
  position: absolute;
  color: var(--qk-gold-dark);
}

.qk-pdf-spark-a {
  top: 12px;
  right: 15px;
  font-size: 25px;
}

.qk-pdf-spark-b {
  bottom: 14px;
  left: 13px;
  font-size: 27px;
}

.qk-pdf-copy {
  position: relative;
  z-index: 1;
}

.qk-pdf-copy h2 {
  margin: 9px 0 12px;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.08;
}

.qk-pdf-copy p {
  max-width: 610px;
  margin-bottom: 21px;
  color: #6E6657;
  font-size: 11px;
  line-height: 1.9;
}

.qk-pdf-watermark {
  position: absolute;
  right: -28px;
  bottom: -66px;
  color: rgba(185, 141, 61, .09);
  font-size: 190px;
  pointer-events: none;
}


/* =========================
   HOW IT WORKS
   ========================= */

.qk-process {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(214, 173, 88, .1), transparent 37%),
    #F0EBDD;
}

.qk-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qk-process-card {
  position: relative;
  min-width: 0;
  padding: 26px 21px;
  border: 1px solid rgba(185, 141, 61, .28);
  border-radius: 6px;
  background: #FFFEFA;
  transition: transform .25s ease, box-shadow .25s ease;
}

.qk-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 32px rgba(43, 37, 24, .07);
}

.qk-process-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 19px;
  place-items: center;
  border: 1px solid rgba(185, 141, 61, .35);
  border-radius: 14px;
  background: #F3E8D0;
  color: var(--qk-gold-dark);
  font-size: 25px;
}

.qk-process-step {
  display: block;
  margin-bottom: 11px;
  color: var(--qk-gold-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.qk-process-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.08;
}

.qk-process-card p {
  margin-bottom: 0;
  color: var(--qk-muted);
  font-size: 10px;
  line-height: 1.9;
}


/* =========================
   INTERNATIONAL SEO SECTION
   ========================= */

.qk-global {
  background:
    radial-gradient(ellipse at 0 50%, rgba(214, 173, 88, .1), transparent 36%),
    var(--qk-ivory);
}

.qk-global-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 65px;
}

.qk-global-content h2 {
  margin: 12px 0 17px;
  font-size: clamp(35px, 4vw, 47px);
  font-weight: 600;
  line-height: 1.08;
}

.qk-global-content > p {
  color: var(--qk-muted);
  font-size: 11px;
  line-height: 2;
}

.qk-country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 24px;
}

.qk-country-tags span {
  padding: 9px 11px;
  border: 1px solid rgba(185, 141, 61, .33);
  border-radius: 3px;
  background: #F2E9D7;
  color: #514633;
  font-size: 9px;
  font-weight: 700;
}

.qk-global-art {
  position: relative;
  display: grid;
  min-height: 385px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(185, 141, 61, .25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(214, 173, 88, .13), transparent 53%),
    #EDE5D5;
}

.qk-global-orbit {
  position: absolute;
  border: 1px solid rgba(185, 141, 61, .35);
  border-radius: 50%;
}

.qk-global-orbit-a {
  width: 330px;
  height: 190px;
  transform: rotate(-34deg);
}

.qk-global-orbit-b {
  width: 300px;
  height: 280px;
  transform: rotate(35deg);
}

.qk-global-globe {
  position: relative;
  z-index: 1;
  width: 230px;
  color: #315D48;
  filter: drop-shadow(0 12px 17px rgba(25, 54, 39, .09));
}

.qk-global-globe svg {
  display: block;
  width: 100%;
  height: auto;
}

.qk-global-star {
  position: absolute;
  color: var(--qk-gold-dark);
}

.qk-global-star-a {
  top: 39px;
  left: 44px;
  font-size: 27px;
}

.qk-global-star-b {
  top: 75px;
  right: 46px;
  font-size: 25px;
}

.qk-global-label {
  position: absolute;
  right: 14px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(185, 141, 61, .35);
  border-radius: 5px;
  background: #FFFCF4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.qk-global-label > span {
  color: var(--qk-gold-dark);
  font-size: 24px;
}

.qk-global-label strong,
.qk-global-label small {
  display: block;
}

.qk-global-label strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.qk-global-label small {
  color: var(--qk-muted);
  font-size: 9px;
}


/* =========================
   RELATED COURSES
   ========================= */

.qk-related {
  background: #F0EBDD;
}

.qk-related-heading {
  display: grid;
  grid-template-columns: 1fr .6fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

.qk-related-heading h2 {
  margin-bottom: 0;
}

.qk-related-heading > p {
  margin-bottom: 4px;
  color: var(--qk-muted);
  font-size: 11px;
  line-height: 1.9;
}

.qk-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qk-related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 19px;
  border: 1px solid rgba(185, 141, 61, .26);
  border-radius: 6px;
  background: #FFFEFA;
  color: var(--qk-black);
  transition: transform .25s ease, box-shadow .25s ease;
}

.qk-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 32px rgba(43, 37, 24, .08);
}

.qk-related-icon {
  display: grid;
  width: 57px;
  height: 57px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: 15px;
  font-family: Georgia, serif;
  font-size: 33px;
}

.qk-related-icon-one {
  background: #F2E5C7;
  color: #815D20;
}

.qk-related-icon-two {
  background: #DCE8DC;
  color: #24543C;
}

.qk-related-icon-three {
  background: #E8DEEA;
  color: #735681;
}

.qk-related-icon-four {
  background: #DFE9EF;
  color: #45677F;
}

.qk-related-label {
  margin-bottom: 8px;
  color: var(--qk-gold-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.qk-related-card h3 {
  margin-bottom: 9px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.08;
}

.qk-related-card p {
  margin-bottom: 18px;
  color: var(--qk-muted);
  font-size: 10px;
  line-height: 1.85;
}

.qk-related-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--qk-black);
  font-size: 10px;
  font-weight: 800;
}

.qk-related-link b {
  color: var(--qk-gold-dark);
  font-size: 17px;
  transition: transform .2s ease;
}

.qk-related-card:hover .qk-related-link b {
  transform: translateX(4px);
}


/* =========================
   FINAL CTA
   ========================= */

.qk-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(214, 173, 88, .15), transparent 52%),
    #171714;
  color: white;
  text-align: center;
}

.qk-final-pattern {
  opacity: .08;
  mask-image: radial-gradient(ellipse at center, black, transparent 78%);
}

.qk-final-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.qk-final-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 21px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, .5);
  border-radius: 50%;
  color: var(--qk-gold);
  font-family: Georgia, serif;
  font-size: 34px;
}

.qk-final-content .qk-kicker {
  color: var(--qk-gold);
}

.qk-final-content h2 {
  margin: 15px 0 17px;
  color: white;
  font-size: clamp(37px, 4.8vw, 56px);
  font-weight: 600;
  line-height: 1.06;
}

.qk-final-content > p {
  max-width: 610px;
  margin: 0 auto 28px;
  color: #C9C3B6;
  font-size: 12px;
  line-height: 1.9;
}

.qk-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1050px) {
  .qk-hero-grid {
    grid-template-columns: 1fr .85fr;
    gap: 20px;
  }

  .qk-hero h1 {
    font-size: clamp(42px, 5.2vw, 59px);
  }

  .qk-hero-art {
    transform: scale(.9);
  }

  .qk-intro-grid,
  .qk-parent-grid,
  .qk-global-grid {
    gap: 42px;
  }

  .qk-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qk-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qk-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qk-path-card {
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .qk-path-art {
    min-height: 220px;
  }

  .qk-path-body {
    padding: 20px 17px;
  }

  .qk-faq-grid {
    gap: 40px;
  }
}


/* =========================
   MOBILE / SMALL TABLETS
   ========================= */

@media (max-width: 800px) {
  .qk-section {
    padding: 74px 0;
  }

  .qk-container {
    width: min(100% - 36px, 650px);
  }

  .qk-hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 58px;
    padding-bottom: 35px;
  }

  .qk-hero-content {
    max-width: 650px;
  }

  .qk-hero h1 {
    max-width: 650px;
    font-size: clamp(43px, 8vw, 61px);
  }

  .qk-hero-text {
    max-width: 620px;
  }

  .qk-hero-art {
    min-height: 390px;
    margin-top: 0;
    transform: none;
  }

  .qk-intro-grid,
  .qk-parent-grid,
  .qk-global-grid,
  .qk-faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .qk-intro-heading h2,
  .qk-centered-heading h2,
  .qk-benefits-heading h2,
  .qk-parent-content h2,
  .qk-related-heading h2,
  .qk-faq-intro h2 {
    font-size: clamp(35px, 6vw, 46px);
  }

  .qk-intro-illustration {
    max-width: 330px;
  }

  .qk-benefits-heading,
  .qk-related-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .qk-benefits-heading {
    margin-bottom: 32px;
  }

  .qk-parent-art {
    min-height: 370px;
  }

  .qk-pdf-banner {
    grid-template-columns: 135px 1fr;
    gap: 24px;
    padding: 30px 25px;
  }

  .qk-pdf-art {
    transform: scale(.85);
  }

  .qk-global-art {
    min-height: 340px;
  }

  .qk-faq-art {
    max-width: 350px;
  }
}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 560px) {
  .qk-section {
    padding: 60px 0;
  }

  .qk-container {
    width: calc(100% - 32px);
  }

  .qk-kicker {
    font-size: 9px;
    letter-spacing: 1.35px;
  }

  .qk-hero-grid {
    padding-top: 42px;
    padding-bottom: 25px;
  }

  .qk-eyebrow {
    gap: 7px;
    padding: 9px 10px;
    font-size: 7px;
    letter-spacing: .85px;
  }

  .qk-hero h1 {
    margin-top: 21px;
    font-size: clamp(37px, 10vw, 48px);
    letter-spacing: -.6px;
    line-height: 1.02;
  }

  .qk-hero h1 span {
    margin-top: 12px;
    font-size: .75em;
  }

  .qk-hero-text {
    font-size: 11px;
    line-height: 1.9;
  }

  .qk-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .qk-btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    font-size: 10px;
  }

  .qk-hero-trust {
    display: grid;
    gap: 7px;
    font-size: 9px;
  }

  .qk-hero-art {
    min-height: 315px;
    margin: 0 -8px;
    transform: scale(.96);
  }

  .qk-open-book {
    transform: scale(.78) rotate(-4deg);
  }

  .qk-art-circle {
    width: 260px;
    height: 260px;
  }

  .qk-circle-b {
    width: 295px;
    height: 210px;
  }

  .qk-art-moon {
    top: 28px;
    right: 38px;
    transform: scale(.8);
  }

  .qk-note-top {
    top: 82px;
    right: 0;
  }

  .qk-note-bottom {
    bottom: 42px;
    left: 0;
  }

  .qk-floating-note {
    gap: 6px;
    padding: 9px 10px;
    font-size: 8px;
  }

  .qk-star-a {
    top: 49px;
    left: 23px;
    font-size: 21px;
  }

  .qk-star-b {
    right: 0;
    font-size: 23px;
  }

  .qk-star-c {
    right: 23px;
    bottom: 55px;
  }

  .qk-star-d {
    bottom: 103px;
    left: 19px;
  }

  .qk-intro-heading h2,
  .qk-centered-heading h2,
  .qk-benefits-heading h2,
  .qk-parent-content h2,
  .qk-related-heading h2,
  .qk-faq-intro h2 {
    font-size: 35px;
    line-height: 1.08;
  }

  .qk-intro-grid {
    gap: 25px;
  }

  .qk-intro-copy p {
    font-size: 11px;
  }

  .qk-centered-heading {
    margin-bottom: 30px;
  }

  .qk-path-grid,
  .qk-benefit-grid,
  .qk-process-grid,
  .qk-related-grid {
    grid-template-columns: 1fr;
  }

  .qk-path-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .qk-path-art {
    min-height: 220px;
  }

  .qk-path-arabic {
    font-size: 25px;
  }

  .qk-path-book-symbol {
    width: 70px;
    height: 88px;
    font-size: 35px;
  }

  .qk-path-tajweed {
    width: 78px;
    height: 78px;
    font-size: 43px;
  }

  .qk-path-star-large {
    font-size: 48px;
  }

  .qk-path-body {
    padding: 19px 13px;
  }

  .qk-path-body h3 {
    font-size: 23px;
  }

  .qk-path-body p {
    font-size: 9px;
  }

  .qk-path-link {
    font-size: 9px;
  }

  .qk-benefit-card {
    padding: 24px;
  }

  .qk-benefit-card h3 {
    font-size: 25px;
  }

  .qk-benefit-card p {
    font-size: 10px;
  }

  .qk-parent-art {
    min-height: 330px;
  }

  .qk-parent-halo {
    width: 255px;
    height: 255px;
  }

  .qk-parent-book {
    width: 150px;
    height: 190px;
  }

  .qk-parent-caption {
    right: 12px;
    left: 12px;
    font-size: 19px;
  }

  .qk-parent-tip h3 {
    font-size: 22px;
  }

  .qk-pdf-section {
    padding: 3px 0 58px;
  }

  .qk-pdf-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 18px 25px;
  }

  .qk-pdf-art {
    min-height: 145px;
    transform: none;
  }

  .qk-pdf-orbit {
    width: 130px;
    height: 130px;
  }

  .qk-pdf-book {
    width: 84px;
    height: 110px;
  }

  .qk-pdf-copy h2 {
    font-size: 34px;
  }

  .qk-pdf-copy p {
    font-size: 10px;
  }

  .qk-process-card {
    padding: 23px;
  }

  .qk-process-card h3 {
    font-size: 25px;
  }

  .qk-global-content h2 {
    font-size: 35px;
  }

  .qk-global-content > p {
    font-size: 10px;
  }

  .qk-country-tags span {
    font-size: 8px;
  }

  .qk-global-art {
    min-height: 295px;
  }

  .qk-global-globe {
    width: 195px;
  }

  .qk-global-orbit-a {
    width: 260px;
    height: 150px;
  }

  .qk-global-orbit-b {
    width: 250px;
    height: 220px;
  }

  .qk-global-label {
    right: 9px;
    bottom: 11px;
    padding: 10px 11px;
  }

  .qk-related-card {
    padding: 20px;
  }

  .qk-related-card h3 {
    font-size: 25px;
  }

  

  .qk-faq-answer {
    padding: 0 15px 17px;
  }

  .qk-final {
    padding: 63px 0 68px;
  }

  .qk-final-content h2 {
    font-size: 37px;
  }

  .qk-final-content > p {
    font-size: 11px;
  }

  .qk-final-actions {
    flex-direction: column;
  }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .kids-quran-page *,
  .kids-quran-page *::before,
  .kids-quran-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Adults Quran page only
   Theme: Black, champagne gold and warm ivory
   ========================================================= */

.adults-quran-page {
  --aq-black: #10100f;
  --aq-black-soft: #191916;
  --aq-black-card: #20201c;
  --aq-gold: #d6ad58;
  --aq-gold-light: #edcf87;
  --aq-gold-dark: #a98032;
  --aq-ivory: #faf7ef;
  --aq-cream: #f2ecdf;
  --aq-muted: #bcb8ae;
  --aq-text: #25241f;
  --aq-border: rgba(214, 173, 88, 0.25);

  color: var(--aq-text);
  background: var(--aq-ivory);
  font-family: inherit;
  line-height: 1.75;
  overflow: hidden;
}

.adults-quran-page *,
.adults-quran-page *::before,
.adults-quran-page *::after {
  box-sizing: border-box;
}

.adults-quran-page h1,
.adults-quran-page h2,
.adults-quran-page h3,
.adults-quran-page p {
  margin-top: 0;
}

.adults-quran-page h1,
.adults-quran-page h2,
.adults-quran-page h3 {
  line-height: 1.22;
}

.adults-quran-page a {
  -webkit-tap-highlight-color: transparent;
}

.adults-quran-page a:focus-visible,
.adults-quran-page summary:focus-visible {
  outline: 3px solid var(--aq-gold);
  outline-offset: 4px;
}

.adults-quran-page .aq-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.adults-quran-page .aq-section {
  padding: 100px 0;
}

.adults-quran-page .aq-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--aq-gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
}

.adults-quran-page .aq-heading-line {
  width: 76px;
  height: 3px;
  margin-top: 24px;
  background: var(--aq-gold);
}

.adults-quran-page .aq-section-heading h2 {
  margin-bottom: 18px;
  color: var(--aq-black);
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}

.adults-quran-page .aq-section-heading > p {
  max-width: 690px;
  margin-bottom: 0;
  color: #6f6b61;
  font-size: 1.02rem;
}

.adults-quran-page .aq-heading-center {
  margin-bottom: 54px;
  text-align: center;
}

.adults-quran-page .aq-heading-center .aq-heading-line {
  margin-inline: auto;
}

/* Buttons */

.adults-quran-page .aq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.adults-quran-page .aq-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.adults-quran-page .aq-btn:hover {
  transform: translateY(-3px);
}

.adults-quran-page .aq-btn-gold {
  color: #17140e;
  background: var(--aq-gold);
  border-color: var(--aq-gold);
}

.adults-quran-page .aq-btn-gold:hover {
  background: var(--aq-gold-light);
  border-color: var(--aq-gold-light);
}

.adults-quran-page .aq-btn-outline {
  color: var(--aq-ivory);
  background: transparent;
  border-color: rgba(250, 247, 239, 0.45);
}

.adults-quran-page .aq-btn-outline:hover {
  color: var(--aq-black);
  background: var(--aq-ivory);
  border-color: var(--aq-ivory);
}

.adults-quran-page .aq-btn-outline-dark {
  color: var(--aq-black);
  background: transparent;
  border-color: rgba(16, 16, 15, 0.35);
}

.adults-quran-page .aq-btn-outline-dark:hover {
  color: var(--aq-black);
  background: var(--aq-gold);
  border-color: var(--aq-gold);
}

/* Hero */

.adults-quran-page .aq-hero {
  position: relative;
  isolation: isolate;
  padding: 82px 0 88px;
  overflow: hidden;
  color: var(--aq-ivory);
  background:
    radial-gradient(ellipse at 80% 40%, rgba(214, 173, 88, 0.11), transparent 35%),
    linear-gradient(120deg, #0d0d0c 0%, #191914 58%, #10100e 100%);
}

.adults-quran-page .aq-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 173, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 173, 88, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black);
  pointer-events: none;
}

.adults-quran-page .aq-hero-pattern {
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -190px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(214, 173, 88, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(214, 173, 88, 0.025),
    0 0 0 70px rgba(214, 173, 88, 0.02);
}

.adults-quran-page .aq-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.adults-quran-page .aq-hero-content {
  position: relative;
  z-index: 2;
}

.adults-quran-page .aq-hero .aq-eyebrow,
.adults-quran-page .aq-eyebrow {
  color: var(--aq-gold-light);
}

.adults-quran-page .aq-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--aq-ivory);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.055em;
}

.adults-quran-page .aq-hero-lead {
  max-width: 640px;
  margin-bottom: 0;
  color: #d0cdc3;
  font-size: 1.04rem;
  line-height: 1.9;
}

.adults-quran-page .aq-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.adults-quran-page .aq-hero-points li {
  position: relative;
  padding-left: 22px;
  color: #ded8c9;
  font-size: 0.83rem;
}

.adults-quran-page .aq-hero-points li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--aq-gold);
  font-size: 1rem;
  content: "✓";
}

/* CSS-drawn Quran illustration */

.adults-quran-page .aq-hero-art {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.adults-quran-page .aq-art-glow {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.13);
  filter: blur(65px);
}

.adults-quran-page .aq-art-moon {
  position: absolute;
  top: 16px;
  right: 70px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--aq-gold-light);
  box-shadow: 0 0 38px rgba(214, 173, 88, 0.17);
}

.adults-quran-page .aq-art-moon::after {
  position: absolute;
  top: -10px;
  left: 23px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #151511;
  content: "";
}

.adults-quran-page .aq-art-star {
  position: absolute;
  color: var(--aq-gold-light);
}

.adults-quran-page .aq-star-one {
  top: 87px;
  left: 56px;
  font-size: 27px;
}

.adults-quran-page .aq-star-two {
  top: 153px;
  right: 38px;
  font-size: 31px;
}

.adults-quran-page .aq-art-frame {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(350px, 100%);
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(214, 173, 88, 0.48);
  border-radius: 180px 180px 12px 12px;
  background: linear-gradient(155deg, rgba(214, 173, 88, 0.08), rgba(0, 0, 0, 0.12));
  box-shadow: inset 0 0 35px rgba(214, 173, 88, 0.04);
}

.adults-quran-page .aq-art-arch {
  position: relative;
  display: flex;
  width: 100%;
  height: 245px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 31px;
  border: 1px solid rgba(214, 173, 88, 0.28);
  border-bottom: 0;
  border-radius: 150px 150px 0 0;
  background: linear-gradient(180deg, rgba(214, 173, 88, 0.08), transparent);
}

.adults-quran-page .aq-art-book {
  position: relative;
  display: flex;
  width: 206px;
  height: 110px;
  align-items: flex-end;
  filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.32));
}

.adults-quran-page .aq-book-page {
  position: relative;
  display: flex;
  width: 50%;
  height: 94px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border: 1px solid #a98032;
  background: linear-gradient(140deg, #f5e6c3, #d9bd7f);
}

.adults-quran-page .aq-book-left {
  border-radius: 8px 0 0 4px;
  transform: skewY(5deg);
  transform-origin: bottom right;
}

.adults-quran-page .aq-book-right {
  border-radius: 0 8px 4px 0;
  transform: skewY(-5deg);
  transform-origin: bottom left;
}

.adults-quran-page .aq-book-page span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(91, 59, 15, 0.47);
}

.adults-quran-page .aq-book-page span:nth-child(2),
.adults-quran-page .aq-book-page span:nth-child(5) {
  width: 76%;
}

.adults-quran-page .aq-book-spine {
  position: absolute;
  z-index: 2;
  bottom: 7px;
  left: calc(50% - 3px);
  width: 6px;
  height: 87px;
  border-radius: 3px;
  background: #9c752b;
}

.adults-quran-page .aq-art-stand {
  position: absolute;
  bottom: 0;
  width: 180px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #79571e, #e0bd6b, #79571e);
  transform: perspective(90px) rotateX(14deg);
}

.adults-quran-page .aq-art-caption {
  margin-top: 20px;
  color: var(--aq-gold-light);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
}

.adults-quran-page .aq-floating-note {
  position: absolute;
  right: -8px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid rgba(214, 173, 88, 0.34);
  border-radius: 8px;
  background: #20201b;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.adults-quran-page .aq-note-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--aq-black);
  background: var(--aq-gold);
}

.adults-quran-page .aq-floating-note strong,
.adults-quran-page .aq-floating-note small {
  display: block;
}

.adults-quran-page .aq-floating-note strong {
  color: var(--aq-ivory);
  font-size: 0.8rem;
}

.adults-quran-page .aq-floating-note small {
  margin-top: 2px;
  color: var(--aq-muted);
  font-size: 0.72rem;
}

/* Intro */

.adults-quran-page .aq-intro {
  background: var(--aq-ivory);
}

.adults-quran-page .aq-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
  align-items: start;
}

.adults-quran-page .aq-intro .aq-section-heading h2 {
  max-width: 430px;
}

.adults-quran-page .aq-intro-copy p {
  margin-bottom: 18px;
  color: #5f5b52;
  font-size: 1rem;
  line-height: 1.95;
}

.adults-quran-page .aq-intro-copy p:last-child {
  margin-bottom: 0;
}

.adults-quran-page .aq-intro-copy strong {
  color: #5d4519;
}

/* Courses */

.adults-quran-page .aq-courses {
  background: #f0eadf;
}

.adults-quran-page .aq-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.adults-quran-page .aq-course-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 27px 29px;
  border: 1px solid #e0d6c2;
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 10px 25px rgba(41, 34, 20, 0.035);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.adults-quran-page .aq-course-card:hover {
  transform: translateY(-6px);
  border-color: var(--aq-gold);
  box-shadow: 0 17px 34px rgba(41, 34, 20, 0.09);
}

.adults-quran-page .aq-course-featured {
  border-color: var(--aq-gold);
  box-shadow: 0 12px 30px rgba(169, 128, 50, 0.1);
}

.adults-quran-page .aq-course-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #c7bca4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.adults-quran-page .aq-course-icon {
  display: grid;
  min-width: 64px;
  min-height: 58px;
  margin-bottom: 23px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid #e4d0a0;
  border-radius: 5px;
  color: #866320;
  background: #f8efd9;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.adults-quran-page .aq-course-card h3 {
  margin-bottom: 13px;
  color: var(--aq-black);
  font-size: 1.22rem;
}

.adults-quran-page .aq-course-card p {
  flex-grow: 1;
  margin-bottom: 22px;
  color: #6b675e;
  font-size: 0.92rem;
  line-height: 1.85;
}

.adults-quran-page .aq-text-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #76561b;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.adults-quran-page .aq-text-link:hover {
  color: #a57a24;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Benefits */

.adults-quran-page .aq-benefits {
  color: var(--aq-ivory);
  background: var(--aq-black);
}

.adults-quran-page .aq-benefits .aq-section-heading h2 {
  color: var(--aq-ivory);
}

.adults-quran-page .aq-benefits .aq-section-heading > p {
  color: #bcb8ae;
}

.adults-quran-page .aq-benefits .aq-eyebrow {
  color: var(--aq-gold-light);
}

.adults-quran-page .aq-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--aq-border);
  border-left: 1px solid var(--aq-border);
}

.adults-quran-page .aq-benefit {
  padding: 32px 27px;
  border-right: 1px solid var(--aq-border);
  border-bottom: 1px solid var(--aq-border);
  transition: background-color 0.25s ease;
}

.adults-quran-page .aq-benefit:hover {
  background: rgba(214, 173, 88, 0.055);
}

.adults-quran-page .aq-benefit-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 21px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.48);
  border-radius: 50%;
  color: var(--aq-gold-light);
  font-size: 0.8rem;
  font-weight: 800;
}

.adults-quran-page .aq-benefit h3 {
  margin-bottom: 12px;
  color: var(--aq-ivory);
  font-size: 1.13rem;
}

.adults-quran-page .aq-benefit p {
  margin-bottom: 0;
  color: #bcb8ae;
  font-size: 0.91rem;
  line-height: 1.85;
}

/* Process */

.adults-quran-page .aq-process {
  background: var(--aq-ivory);
}

.adults-quran-page .aq-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.adults-quran-page .aq-process-step {
  position: relative;
  padding-top: 9px;
}

.adults-quran-page .aq-process-count {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 23px;
  place-items: center;
  border: 1px solid var(--aq-gold);
  border-radius: 50%;
  color: #302411;
  background: #f2e4c5;
  font-size: 1.08rem;
  font-weight: 800;
}

.adults-quran-page .aq-process-step h3 {
  margin-bottom: 12px;
  color: var(--aq-black);
  font-size: 1.12rem;
}

.adults-quran-page .aq-process-step p {
  margin-bottom: 0;
  color: #6b675e;
  font-size: 0.9rem;
  line-height: 1.85;
}

.adults-quran-page .aq-center-action {
  margin-top: 48px;
  text-align: center;
}

/* Worldwide */

.adults-quran-page .aq-worldwide {
  color: var(--aq-ivory);
  background: #171713;
}

.adults-quran-page .aq-worldwide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px;
  align-items: center;
}

.adults-quran-page .aq-world-copy .aq-eyebrow {
  color: var(--aq-gold-light);
}

.adults-quran-page .aq-world-copy h2 {
  margin-bottom: 23px;
  color: var(--aq-ivory);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.adults-quran-page .aq-world-copy p {
  margin-bottom: 17px;
  color: #c5c1b7;
  font-size: 0.96rem;
  line-height: 1.9;
}

.adults-quran-page .aq-world-copy .aq-text-link {
  margin-top: 9px;
  color: var(--aq-gold-light);
}

/* Globe illustration */

.adults-quran-page .aq-world-art {
  display: grid;
  min-height: 390px;
  place-items: center;
}

.adults-quran-page .aq-world-circle {
  position: relative;
  display: grid;
  width: min(350px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 173, 88, 0.1), transparent 67%);
}

.adults-quran-page .aq-world-orbit {
  position: absolute;
  width: 77%;
  height: 77%;
  border: 1px solid rgba(214, 173, 88, 0.24);
  border-radius: 50%;
}

.adults-quran-page .aq-orbit-one {
  transform: rotate(35deg) scaleX(0.55);
}

.adults-quran-page .aq-orbit-two {
  transform: rotate(-35deg) scaleX(0.55);
}

.adults-quran-page .aq-world-globe {
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;
  border: 1px solid var(--aq-gold);
  border-radius: 50%;
  color: var(--aq-gold-light);
  background: rgba(214, 173, 88, 0.06);
  font-size: 6rem;
  font-weight: 300;
}

.adults-quran-page .aq-world-label {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid rgba(214, 173, 88, 0.4);
  border-radius: 4px;
  color: var(--aq-gold-light);
  background: #1b1b16;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.adults-quran-page .aq-label-usa {
  top: 16%;
  left: 9%;
}

.adults-quran-page .aq-label-uk {
  top: 15%;
  right: 8%;
}

.adults-quran-page .aq-label-canada {
  bottom: 20%;
  left: 3%;
}

.adults-quran-page .aq-label-world {
  right: 0;
  bottom: 18%;
}

/* Related links */

.adults-quran-page .aq-related {
  background: var(--aq-ivory);
}

.adults-quran-page .aq-related-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.adults-quran-page .aq-related-links a {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #e2d8c5;
  border-radius: 5px;
  color: #39352b;
  background: #fffdf8;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.adults-quran-page .aq-related-links a::after {
  flex-shrink: 0;
  color: #94702a;
  content: "↗";
}

.adults-quran-page .aq-related-links a:hover {
  transform: translateY(-2px);
  border-color: var(--aq-gold);
  background: #fbf2df;
}

/* Final CTA */

.adults-quran-page {
  position: relative;
  isolation: isolate;
  padding: 86px 0;
  overflow: hidden;
  text-align: center;
  color: var(--aq-ivory);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 173, 88, 0.14), transparent 60%),
    #10100e;
}

.adults-quran-page .aq-final-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.adults-quran-page{
  max-width: 800px;
  margin: 0 auto 19px;
  color: var(--aq-ivory);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
}

.adults-quran-page  {
  max-width: 650px;
  margin: 0 auto;
  color: #c9c4b8;
  font-size: 1rem;
  line-height: 1.9;
}

.adults-quran-page .aq-final-actions {
  justify-content: center;
}

.adults-quran-page .aq-final-decoration {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(214, 173, 88, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.adults-quran-page .aq-final-decoration-one {
  top: -120px;
  left: -80px;
  box-shadow: 0 0 0 25px rgba(214, 173, 88, 0.025);
}

.adults-quran-page .aq-final-decoration-two {
  right: -80px;
  bottom: -140px;
  box-shadow: 0 0 0 25px rgba(214, 173, 88, 0.025);
}

/* Tablet */

@media (max-width: 1050px) {
  .adults-quran-page .aq-hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 30px;
  }

  .adults-quran-page .aq-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
  }

  .adults-quran-page .aq-intro-grid,
  .adults-quran-page .aq-worldwide-grid {
    gap: 42px;
  }

  .adults-quran-page .aq-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adults-quran-page .aq-related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adults-quran-page .aq-floating-note {
    right: -4px;
  }
}

/* Mobile and small tablets */

@media (max-width: 800px) {
  .adults-quran-page .aq-section {
    padding: 72px 0;
  }

  .adults-quran-page .aq-hero {
    padding: 65px 0 70px;
  }

  .adults-quran-page .aq-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .adults-quran-page .aq-hero-content {
    max-width: 680px;
  }

  .adults-quran-page .aq-hero h1 {
    max-width: 620px;
    font-size: clamp(2.55rem, 7vw, 3.7rem);
  }

  .adults-quran-page .aq-hero-art {
    min-height: 390px;
  }

  .adults-quran-page .aq-intro-grid,
  .adults-quran-page .aq-worldwide-grid,
  .adults-quran-page .aq-faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .adults-quran-page .aq-intro .aq-section-heading h2 {
    max-width: 650px;
  }

  .adults-quran-page .aq-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adults-quran-page .aq-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }

  .adults-quran-page .aq-world-art {
    min-height: 330px;
  }

  .adults-quran-page .aq-faq-intro {
    position: static;
  }
}

/* Small phones */

@media (max-width: 560px) {
  .adults-quran-page .aq-container {
    width: min(100% - 32px, 1160px);
  }

  .adults-quran-page .aq-section {
    padding: 58px 0;
  }

  .adults-quran-page .aq-eyebrow {
    margin-bottom: 13px;
    font-size: 0.67rem;
    letter-spacing: 0.15em;
  }

  .adults-quran-page .aq-section-heading h2 {
    font-size: 2rem;
  }

  .adults-quran-page .aq-heading-center {
    margin-bottom: 35px;
  }

  .adults-quran-page .aq-hero {
    padding: 52px 0 55px;
  }

  .adults-quran-page .aq-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
    letter-spacing: -0.045em;
  }

  .adults-quran-page .aq-hero-lead {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .adults-quran-page .aq-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .adults-quran-page .aq-btn {
    width: 100%;
  }

  .adults-quran-page .aq-hero-points {
    flex-direction: column;
    gap: 8px;
  }

  .adults-quran-page .aq-hero-art {
    min-height: 335px;
    margin-top: 3px;
  }

  .adults-quran-page .aq-art-frame {
    width: min(300px, 88%);
    min-height: 285px;
    padding: 20px;
  }

  .adults-quran-page .aq-art-arch {
    height: 205px;
  }

  .adults-quran-page .aq-art-book {
    width: 180px;
    height: 100px;
  }

  .adults-quran-page .aq-book-page {
    height: 84px;
    padding: 10px 8px;
  }

  .adults-quran-page .aq-book-spine {
    height: 77px;
  }

  .adults-quran-page .aq-art-moon {
    top: 4px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .adults-quran-page .aq-art-moon::after {
    left: 19px;
    width: 57px;
    height: 57px;
  }

  .adults-quran-page .aq-star-one {
    top: 60px;
    left: 8px;
  }

  .adults-quran-page .aq-star-two {
    top: 105px;
    right: 3px;
  }

  .adults-quran-page .aq-floating-note {
    right: -2px;
    bottom: -5px;
    gap: 8px;
    padding: 10px 12px;
  }

  .adults-quran-page .aq-note-icon {
    width: 30px;
    height: 30px;
  }

  .adults-quran-page .aq-floating-note strong {
    font-size: 0.72rem;
  }

  .adults-quran-page .aq-floating-note small {
    font-size: 0.66rem;
  }

  .adults-quran-page .aq-course-grid,
  .adults-quran-page .aq-benefit-grid,
  .adults-quran-page .aq-process-grid,
  .adults-quran-page .aq-related-links {
    grid-template-columns: 1fr;
  }

  .adults-quran-page .aq-course-card {
    padding: 26px 22px;
  }

  .adults-quran-page .aq-benefit-grid {
    border-top: 1px solid var(--aq-border);
  }

  .adults-quran-page .aq-benefit {
    padding: 25px 21px;
  }

  .adults-quran-page .aq-process-grid {
    gap: 28px;
  }

  .adults-quran-page .aq-process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 17px;
    align-items: start;
  }

  .adults-quran-page .aq-process-count {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    margin-bottom: 0;
  }

  .adults-quran-page .aq-process-step h3 {
    margin: 3px 0 8px;
  }

  .adults-quran-page .aq-world-art {
    min-height: 290px;
  }

  .adults-quran-page .aq-world-circle {
    width: min(285px, 100%);
  }

  .adults-quran-page .aq-world-globe {
    width: 110px;
    height: 110px;
    font-size: 4.5rem;
  }

  .adults-quran-page .aq-world-label {
    padding: 6px 8px;
    font-size: 0.58rem;
  }

  .adults-quran-page  {
    padding: 19px 36px 19px 0;
    font-size: 0.92rem;
  }

  .adults-quran-page .aq-faq-answer {
    padding-right: 4px;
  }

  .adults-quran-page .aq-related-links a {
    min-height: 58px;
  }

  .adults-quran-page  {
    padding: 65px 0;
  }

  .adults-quran-page  {
    font-size: 2.15rem;
  }
}

/* Motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .adults-quran-page *,
  .adults-quran-page *::before,
  .adults-quran-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Quran Translation Page
   Theme: Black, Champagne Gold & Warm Ivory
   ========================================================= */

.translation-page {
  --tr-black: #10100f;
  --tr-black-soft: #191916;
  --tr-black-card: #20201c;
  --tr-gold: #d6ad58;
  --tr-gold-light: #edcf87;
  --tr-gold-dark: #a98032;
  --tr-ivory: #faf7ef;
  --tr-cream: #f0eadf;
  --tr-text: #25241f;
  --tr-muted: #6b675e;
  --tr-border: rgba(214, 173, 88, 0.27);

  color: var(--tr-text);
  background: var(--tr-ivory);
  font-family: inherit;
  line-height: 1.75;
  overflow: hidden;
}

.translation-page *,
.translation-page *::before,
.translation-page *::after {
  box-sizing: border-box;
}

.translation-page h1,
.translation-page h2,
.translation-page h3,
.translation-page p {
  margin-top: 0;
}

.translation-page h1,
.translation-page h2,
.translation-page h3 {
  line-height: 1.23;
}

.translation-page a {
  -webkit-tap-highlight-color: transparent;
}

.translation-page a:focus-visible,
.translation-page summary:focus-visible {
  outline: 3px solid var(--tr-gold);
  outline-offset: 4px;
}

.translation-page .tr-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.translation-page .tr-section {
  padding: 96px 0;
}

.translation-page .tr-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--tr-gold-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.6;
  text-transform: uppercase;
}

.translation-page .tr-heading-line {
  width: 75px;
  height: 3px;
  margin-top: 23px;
  background: var(--tr-gold);
}

.translation-page .tr-section-heading h2 {
  margin-bottom: 17px;
  color: var(--tr-black);
  font-size: clamp(2rem, 4vw, 3.05rem);
  letter-spacing: -0.035em;
}

.translation-page .tr-section-heading > p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--tr-muted);
  font-size: 1rem;
}

.translation-page .tr-heading-center {
  margin-bottom: 51px;
  text-align: center;
}

.translation-page .tr-heading-center .tr-heading-line {
  margin-inline: auto;
}

/* Buttons */

.translation-page .tr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.translation-page .tr-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.translation-page .tr-btn:hover {
  transform: translateY(-3px);
}

.translation-page .tr-btn-gold {
  color: #17140e;
  background: var(--tr-gold);
  border-color: var(--tr-gold);
}

.translation-page .tr-btn-gold:hover {
  background: var(--tr-gold-light);
  border-color: var(--tr-gold-light);
}

.translation-page .tr-btn-outline {
  color: var(--tr-ivory);
  background: transparent;
  border-color: rgba(250, 247, 239, 0.42);
}

.translation-page .tr-btn-outline:hover {
  color: var(--tr-black);
  background: var(--tr-ivory);
  border-color: var(--tr-ivory);
}

.translation-page .tr-btn-outline-dark {
  color: var(--tr-black);
  background: transparent;
  border-color: rgba(16, 16, 15, 0.32);
}

.translation-page .tr-btn-outline-dark:hover {
  background: var(--tr-gold);
  border-color: var(--tr-gold);
}

/* Hero */

.translation-page .tr-hero {
  position: relative;
  isolation: isolate;
  padding: 82px 0 88px;
  overflow: hidden;
  color: var(--tr-ivory);
  background:
    radial-gradient(ellipse at 79% 42%, rgba(214, 173, 88, 0.12), transparent 34%),
    linear-gradient(120deg, #0d0d0c, #1b1b16 58%, #10100e);
}

.translation-page .tr-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 173, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 173, 88, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  pointer-events: none;
}

.translation-page .tr-hero-pattern {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -190px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(214, 173, 88, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(214, 173, 88, 0.025),
    0 0 0 70px rgba(214, 173, 88, 0.02);
}

.translation-page .tr-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
  align-items: center;
}

.translation-page .tr-hero-content {
  position: relative;
  z-index: 2;
}

.translation-page .tr-hero .tr-eyebrow,
.translation-page  .tr-eyebrow {
  color: var(--tr-gold-light);
}

.translation-page .tr-hero h1 {
  max-width: 720px;
  margin-bottom: 23px;
  color: var(--tr-ivory);
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 750;
  letter-spacing: -0.055em;
}

.translation-page .tr-hero-lead {
  max-width: 640px;
  margin-bottom: 0;
  color: #d0cdc3;
  font-size: 1.03rem;
  line-height: 1.9;
}

.translation-page .tr-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 27px;
}

.translation-page .tr-hero-highlights span {
  color: #ded8c9;
  font-size: 0.83rem;
}

.translation-page .tr-hero-highlights i {
  margin-right: 5px;
  color: var(--tr-gold-light);
  font-style: normal;
}

/* Decorative book illustration */

.translation-page .tr-hero-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.translation-page .tr-visual-halo {
  position: absolute;
  width: 285px;
  height: 285px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.13);
  filter: blur(65px);
}

.translation-page .tr-visual-moon {
  position: absolute;
  top: 16px;
  right: 66px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--tr-gold-light);
}

.translation-page .tr-visual-moon::after {
  position: absolute;
  top: -10px;
  left: 23px;
  width: 71px;
  height: 71px;
  border-radius: 50%;
  background: #151511;
  content: "";
}

.translation-page .tr-visual-star {
  position: absolute;
  color: var(--tr-gold-light);
}

.translation-page .tr-star-a {
  top: 83px;
  left: 53px;
  font-size: 27px;
}

.translation-page .tr-star-b {
  top: 154px;
  right: 34px;
  font-size: 30px;
}

.translation-page .tr-book-frame {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(350px, 100%);
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 27px;
  border: 1px solid rgba(214, 173, 88, 0.48);
  border-radius: 180px 180px 12px 12px;
  background: linear-gradient(155deg, rgba(214, 173, 88, 0.08), transparent);
  box-shadow: inset 0 0 35px rgba(214, 173, 88, 0.04);
}

.translation-page .tr-book-arch {
  position: relative;
  display: flex;
  width: 100%;
  height: 245px;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 31px;
  border: 1px solid rgba(214, 173, 88, 0.28);
  border-bottom: 0;
  border-radius: 150px 150px 0 0;
  background: linear-gradient(180deg, rgba(214, 173, 88, 0.08), transparent);
}

.translation-page .tr-open-book {
  position: relative;
  display: flex;
  width: 206px;
  height: 110px;
  align-items: flex-end;
  filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.32));
}

.translation-page .tr-book-leaf {
  position: relative;
  display: flex;
  width: 50%;
  height: 94px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border: 1px solid #a98032;
  background: linear-gradient(140deg, #f5e6c3, #d9bd7f);
}

.translation-page .tr-leaf-left {
  border-radius: 8px 0 0 4px;
  transform: skewY(5deg);
  transform-origin: bottom right;
}

.translation-page .tr-leaf-right {
  border-radius: 0 8px 4px 0;
  transform: skewY(-5deg);
  transform-origin: bottom left;
}

.translation-page .tr-book-leaf span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(91, 59, 15, 0.47);
}

.translation-page .tr-book-leaf span:nth-child(2),
.translation-page .tr-book-leaf span:nth-child(5) {
  width: 76%;
}

.translation-page .tr-book-binding {
  position: absolute;
  z-index: 2;
  bottom: 7px;
  left: calc(50% - 3px);
  width: 6px;
  height: 87px;
  border-radius: 3px;
  background: #9c752b;
}

.translation-page .tr-book-stand {
  position: absolute;
  bottom: 0;
  width: 180px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #79571e, #e0bd6b, #79571e);
  transform: perspective(90px) rotateX(14deg);
}

.translation-page .tr-book-caption {
  margin-top: 20px;
  color: var(--tr-gold-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.translation-page .tr-visual-note {
  position: absolute;
  right: -6px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(214, 173, 88, 0.34);
  border-radius: 7px;
  background: #20201b;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.translation-page .tr-note-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--tr-black);
  background: var(--tr-gold);
}

.translation-page .tr-visual-note strong,
.translation-page .tr-visual-note small {
  display: block;
}

.translation-page .tr-visual-note strong {
  color: var(--tr-ivory);
  font-size: 0.78rem;
}

.translation-page .tr-visual-note small {
  margin-top: 2px;
  color: #bcb8ae;
  font-size: 0.71rem;
}

/* Intro and SEO paragraphs */

.translation-page .tr-intro {
  background: var(--tr-ivory);
}

.translation-page .tr-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.translation-page .tr-intro .tr-section-heading h2 {
  max-width: 450px;
}

.translation-page .tr-intro-copy p {
  margin-bottom: 19px;
  color: #5f5b52;
  font-size: 0.98rem;
  line-height: 1.95;
}

.translation-page .tr-intro-copy p:last-of-type {
  margin-bottom: 0;
}

.translation-page .tr-intro-copy strong {
  color: #62491a;
}

.translation-page .tr-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
}

.translation-page .tr-inline-links a {
  color: #76561b;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #d6ad58;
  text-underline-offset: 5px;
}

/* Courses */

.translation-page .tr-courses {
  background: #f0eadf;
}

.translation-page .tr-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.translation-page .tr-course-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 31px 26px 28px;
  border: 1px solid #e0d6c2;
  border-radius: 7px;
  background: #fffdf8;
  box-shadow: 0 10px 25px rgba(41, 34, 20, 0.035);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.translation-page .tr-course-card:hover {
  transform: translateY(-5px);
  border-color: var(--tr-gold);
  box-shadow: 0 17px 34px rgba(41, 34, 20, 0.09);
}

.translation-page .tr-course-featured {
  border-color: var(--tr-gold);
}

.translation-page .tr-course-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #c7bca4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.translation-page .tr-course-icon {
  display: grid;
  min-width: 62px;
  min-height: 58px;
  margin-bottom: 22px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid #e4d0a0;
  border-radius: 5px;
  color: #866320;
  background: #f8efd9;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.translation-page .tr-course-card h3 {
  margin-bottom: 13px;
  color: var(--tr-black);
  font-size: 1.2rem;
}

.translation-page .tr-course-card p {
  flex-grow: 1;
  margin-bottom: 22px;
  color: #6b675e;
  font-size: 0.91rem;
  line-height: 1.85;
}

.translation-page .tr-text-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #76561b;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.translation-page .tr-text-link:hover {
  color: #a57a24;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Benefits */

.translation-page .tr-benefits {
  color: var(--tr-ivory);
  background: var(--tr-black);
}

.translation-page .tr-benefits .tr-section-heading h2 {
  color: var(--tr-ivory);
}

.translation-page .tr-benefits .tr-section-heading > p {
  color: #bcb8ae;
}

.translation-page .tr-benefits .tr-eyebrow {
  color: var(--tr-gold-light);
}

.translation-page .tr-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--tr-border);
  border-left: 1px solid var(--tr-border);
}

.translation-page .tr-benefit-card {
  padding: 31px 26px;
  border-right: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border);
  transition: background-color 0.25s ease;
}

.translation-page .tr-benefit-card:hover {
  background: rgba(214, 173, 88, 0.055);
}

.translation-page .tr-benefit-icon {
  display: inline-grid;
  width: 47px;
  height: 47px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.48);
  border-radius: 50%;
  color: var(--tr-gold-light);
  font-size: 0.8rem;
  font-weight: 800;
}

.translation-page .tr-benefit-card h3 {
  margin-bottom: 12px;
  color: var(--tr-ivory);
  font-size: 1.12rem;
}

.translation-page .tr-benefit-card p {
  margin-bottom: 0;
  color: #bcb8ae;
  font-size: 0.91rem;
  line-height: 1.85;
}

/* Learning process */

.translation-page .tr-process {
  background: var(--tr-ivory);
}

.translation-page .tr-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.translation-page .tr-process-step {
  padding-top: 8px;
}

.translation-page .tr-process-number {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--tr-gold);
  border-radius: 50%;
  color: #302411;
  background: #f2e4c5;
  font-size: 1.08rem;
  font-weight: 800;
}

.translation-page .tr-process-step h3 {
  margin-bottom: 11px;
  color: var(--tr-black);
  font-size: 1.12rem;
}

.translation-page .tr-process-step p {
  margin-bottom: 0;
  color: #6b675e;
  font-size: 0.9rem;
  line-height: 1.85;
}

.translation-page .tr-center-action {
  margin-top: 44px;
  text-align: center;
}

/* Quran PDF feature */

.translation-page .tr-pdf {
  color: var(--tr-ivory);
  background: #171713;
}

.translation-page .tr-pdf-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.translation-page .tr-pdf-visual {
  position: relative;
  display: grid;
  min-height: 355px;
  place-items: center;
}

.translation-page .tr-pdf-orbit {
  position: absolute;
  width: 285px;
  height: 285px;
  border: 1px solid rgba(214, 173, 88, 0.33);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(214, 173, 88, 0.035),
    0 0 0 48px rgba(214, 173, 88, 0.025);
}

.translation-page .tr-pdf-document {
  position: relative;
  display: flex;
  width: 205px;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  padding: 27px 22px;
  border: 1px solid #c9a653;
  border-radius: 5px;
  background: linear-gradient(145deg, #f8f0df, #dfc990);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
  transform: rotate(-3deg);
}

.translation-page .tr-pdf-document-label {
  color: #6d511c;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.translation-page .tr-pdf-document-emblem {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 25px 0 20px;
  place-items: center;
  border: 1px solid #b28a37;
  border-radius: 50%;
  color: #79571e;
  font-size: 2.5rem;
}

.translation-page .tr-pdf-document-line {
  width: 100%;
  height: 3px;
  margin-top: 10px;
  background: rgba(91, 59, 15, 0.3);
}

.translation-page .tr-pdf-line-short {
  width: 62%;
}

.translation-page .tr-pdf-line-medium {
  width: 82%;
}

.translation-page .tr-pdf-badge {
  position: absolute;
  right: -17px;
  bottom: 27px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #f2dfb0;
  border-radius: 50%;
  color: #16140e;
  background: var(--tr-gold);
  font-size: 0.82rem;
  font-weight: 900;
  transform: rotate(3deg);
}

.translation-page .tr-pdf-content .tr-eyebrow,
.translation-page .tr-world-copy .tr-eyebrow {
  color: var(--tr-gold-light);
}

.translation-page .tr-pdf-content h2 {
  margin-bottom: 22px;
  color: var(--tr-ivory);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.translation-page .tr-pdf-content p {
  margin-bottom: 16px;
  color: #c5c1b7;
  font-size: 0.96rem;
  line-height: 1.9;
}

.translation-page .tr-pdf-button {
  margin-top: 12px;
}

.translation-page .tr-pdf-content .tr-pdf-note {
  margin-top: 17px;
  margin-bottom: 0;
  color: #a9a498;
  font-size: 0.79rem;
}

/* International learning */

.translation-page .tr-worldwide {
  color: var(--tr-ivory);
  background: #10100e;
}

.translation-page .tr-worldwide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.translation-page .tr-world-copy h2 {
  margin-bottom: 22px;
  color: var(--tr-ivory);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.translation-page .tr-world-copy p {
  margin-bottom: 17px;
  color: #c5c1b7;
  font-size: 0.96rem;
  line-height: 1.9;
}

.translation-page .tr-world-copy .tr-text-link {
  margin-top: 8px;
  color: var(--tr-gold-light);
}

/* CSS-drawn globe */

.translation-page .tr-world-art {
  display: grid;
  min-height: 370px;
  place-items: center;
}

.translation-page .tr-world-circle {
  position: relative;
  display: grid;
  width: min(340px, 100%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(214, 173, 88, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 173, 88, 0.1), transparent 67%);
}

.translation-page .tr-world-ring {
  position: absolute;
  width: 77%;
  height: 77%;
  border: 1px solid rgba(214, 173, 88, 0.23);
  border-radius: 50%;
}

.translation-page .tr-ring-one {
  transform: rotate(35deg) scaleX(0.55);
}

.translation-page .tr-ring-two {
  transform: rotate(-35deg) scaleX(0.55);
}

.translation-page .tr-world-globe {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 1px solid var(--tr-gold);
  border-radius: 50%;
  color: var(--tr-gold-light);
  background: rgba(214, 173, 88, 0.06);
  font-size: 5.8rem;
  font-weight: 300;
}

.translation-page .tr-world-label {
  position: absolute;
  padding: 7px 11px;
  border: 1px solid rgba(214, 173, 88, 0.4);
  border-radius: 4px;
  color: var(--tr-gold-light);
  background: #1b1b16;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.translation-page .tr-world-usa {
  top: 16%;
  left: 8%;
}

.translation-page .tr-world-uk {
  top: 14%;
  right: 8%;
}

.translation-page .tr-world-canada {
  bottom: 20%;
  left: 1%;
}

.translation-page .tr-world-global {
  right: -1%;
  bottom: 17%;
}



/* Internal links */

.translation-page .tr-related {
  background: var(--tr-ivory);
}

.translation-page .tr-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.translation-page .tr-related-grid a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 17px;
  border: 1px solid #e2d8c5;
  border-radius: 5px;
  color: #39352b;
  background: #fffdf8;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.translation-page .tr-related-grid a::after {
  flex-shrink: 0;
  color: #94702a;
  content: "↗";
}

.translation-page .tr-related-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--tr-gold);
  background: #fbf2df;
}



/* Tablet */

@media (max-width: 1050px) {
  .translation-page .tr-hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 30px;
  }

  .translation-page .tr-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
  }

  .translation-page .tr-intro-grid,
  .translation-page .tr-pdf-grid,
  .translation-page .tr-worldwide-grid {
    gap: 42px;
  }

  .translation-page .tr-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .translation-page .tr-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .translation-page .tr-visual-note {
    right: -3px;
  }
}

/* Small laptop and tablet */

@media (max-width: 800px) {
  .translation-page .tr-section {
    padding: 72px 0;
  }

  .translation-page .tr-hero {
    padding: 64px 0 70px;
  }

  .translation-page .tr-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .translation-page .tr-hero-content {
    max-width: 680px;
  }

  .translation-page .tr-hero h1 {
    max-width: 650px;
    font-size: clamp(2.55rem, 7vw, 3.7rem);
  }

  .translation-page .tr-hero-visual {
    min-height: 390px;
  }

  .translation-page .tr-intro-grid,
  .translation-page .tr-pdf-grid,
  .translation-page .tr-worldwide-grid,
  .translation-page .tr-faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .translation-page .tr-intro .tr-section-heading h2 {
    max-width: 680px;
  }

  .translation-page .tr-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .translation-page .tr-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 35px;
  }

  .translation-page .tr-pdf-visual {
    min-height: 320px;
  }

  .translation-page .tr-world-art {
    min-height: 320px;
  }

  .translation-page .tr-faq-intro {
    position: static;
  }
}

/* Mobile */

@media (max-width: 560px) {
  .translation-page .tr-container {
    width: calc(100% - 32px);
  }

  .translation-page .tr-section {
    padding: 57px 0;
  }

  .translation-page .tr-eyebrow {
    margin-bottom: 13px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .translation-page .tr-section-heading h2 {
    font-size: 2rem;
  }

  .translation-page .tr-heading-center {
    margin-bottom: 34px;
  }

  .translation-page .tr-hero {
    padding: 50px 0 55px;
  }

  .translation-page .tr-hero h1 {
    font-size: clamp(2.2rem, 9.7vw, 3.05rem);
    letter-spacing: -0.045em;
  }

  .translation-page .tr-hero-lead {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .translation-page .tr-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .translation-page .tr-btn {
    width: 100%;
  }

  .translation-page .tr-hero-highlights {
    flex-direction: column;
    gap: 8px;
  }

  .translation-page .tr-hero-visual {
    min-height: 335px;
    margin-top: 4px;
  }

  .translation-page .tr-book-frame {
    width: min(300px, 88%);
    min-height: 285px;
    padding: 20px;
  }

  .translation-page .tr-book-arch {
    height: 205px;
  }

  .translation-page .tr-open-book {
    width: 180px;
    height: 100px;
  }

  .translation-page .tr-book-leaf {
    height: 84px;
    padding: 10px 8px;
  }

  .translation-page .tr-book-binding {
    height: 77px;
  }

  .translation-page .tr-visual-moon {
    top: 4px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .translation-page .tr-visual-moon::after {
    left: 19px;
    width: 57px;
    height: 57px;
  }

  .translation-page .tr-star-a {
    top: 60px;
    left: 8px;
  }

  .translation-page .tr-star-b {
    top: 105px;
    right: 3px;
  }

  .translation-page .tr-visual-note {
    right: -2px;
    bottom: -5px;
    gap: 8px;
    padding: 10px 12px;
  }

  .translation-page .tr-note-symbol {
    width: 30px;
    height: 30px;
  }

  .translation-page .tr-visual-note strong {
    font-size: 0.71rem;
  }

  .translation-page .tr-visual-note small {
    font-size: 0.65rem;
  }

  .translation-page .tr-course-grid,
  .translation-page .tr-benefit-grid,
  .translation-page .tr-process-grid,
  .translation-page .tr-related-grid {
    grid-template-columns: 1fr;
  }

  .translation-page .tr-course-card {
    padding: 26px 22px;
  }

  .translation-page .tr-benefit-card {
    padding: 25px 21px;
  }

  .translation-page .tr-process-grid {
    gap: 27px;
  }

  .translation-page .tr-process-step {
    display: grid;
    grid-template-columns: 47px 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .translation-page .tr-process-number {
    grid-row: span 2;
    width: 45px;
    height: 45px;
    margin-bottom: 0;
  }

  .translation-page .tr-process-step h3 {
    margin: 3px 0 8px;
  }

  .translation-page .tr-pdf-grid {
    gap: 30px;
  }

  .translation-page .tr-pdf-visual {
    min-height: 295px;
  }

  .translation-page .tr-pdf-orbit {
    width: 235px;
    height: 235px;
  }

  .translation-page .tr-pdf-document {
    width: 180px;
    min-height: 235px;
  }

  .translation-page .tr-pdf-content h2,
  .translation-page .tr-world-copy h2 {
    font-size: 2rem;
  }

  .translation-page .tr-world-art {
    min-height: 275px;
  }

  .translation-page .tr-world-circle {
    width: min(280px, 100%);
  }

  .translation-page .tr-world-globe {
    width: 108px;
    height: 108px;
    font-size: 4.4rem;
  }

  .translation-page .tr-world-label {
    padding: 6px 8px;
    font-size: 0.56rem;
  }

  

  .translation-page .tr-related-grid a {
    min-height: 57px;
  }

  
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
  .translation-page *,
  .translation-page *::before,
  .translation-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   Elite Quran Learning
   QURAN TAFSEER — LIGHT LUXURY THEME
   Warm Ivory + Champagne Gold + Charcoal
   Page-only stylesheet
   ========================================================== */

.tafseer-page {
  --tf-black: #29251D;
  --tf-black-soft: #393328;
  --tf-panel: #FFFFFF;
  --tf-panel-light: #F5EFE3;
  --tf-gold: #D6AD58;
  --tf-gold-light: #E9D39B;
  --tf-gold-dark: #9A7028;
  --tf-ivory: #302B22;
  --tf-muted: #696357;
  --tf-line: #E8DCC2;
  background: #FAF7EF;
  color: #302B22;
  font-family: inherit;
  overflow: hidden;
}

.tafseer-page *,
.tafseer-page *::before,
.tafseer-page *::after {
  box-sizing: border-box;
}

.tafseer-page a {
  text-decoration: none;
}

.tafseer-page p {
  color: var(--tf-muted);
  line-height: 1.85;
}

.tafseer-page h1,
.tafseer-page h2,
.tafseer-page h3 {
  margin-top: 0;
  color: var(--tf-ivory);
  line-height: 1.25;
}

.tafseer-page h1,
.tafseer-page h2 {
  letter-spacing: -0.035em;
}

.tafseer-page h1 span,
.tafseer-page h2 span {
  color: #A77B2C;
}

.tf-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.tf-section {
  padding: 90px 0;
}

.tf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #96702D;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}

.tf-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--tf-gold);
}

.tf-section-heading {
  max-width: 720px;
  margin: 0 auto 43px;
  text-align: center;
}

.tf-section-heading h2 {
  margin: 17px 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.tf-section-heading > p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.97rem;
}

.tf-btn {
  display: inline-flex;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

.tf-btn:hover {
  transform: translateY(-3px);
}

.tf-btn-gold {
  background: #D6AD58;
  color: #211B10;
  box-shadow: 0 7px 22px rgba(154, 112, 40, 0.13);
}

.tf-btn-gold:hover {
  background: #E5C477;
  box-shadow: 0 10px 28px rgba(154, 112, 40, 0.2);
}

.tf-btn-outline {
  border-color: #BBA36E;
  background: #FFFFFF;
  color: #302B22;
}

.tf-btn-outline:hover {
  border-color: #9A7028;
  background: #F7F0E1;
}

.tf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #8D6724;
  font-size: 0.92rem;
  font-weight: 800;
}

.tf-text-link span {
  transition: transform 0.2s ease;
}

.tf-text-link:hover span {
  transform: translateX(5px);
}

/* HERO */

.tf-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: 76px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #E5D6B7;
  background:
    radial-gradient(ellipse at 82% 45%, rgba(214, 173, 88, 0.19), transparent 39%),
    linear-gradient(120deg, #FFFDF8 0%, #FAF5E9 57%, #F1E5CB 100%);
}

.tf-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 112, 40, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 112, 40, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 70%);
}

.tf-hero-glow {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.15);
  filter: blur(80px);
  pointer-events: none;
}

.tf-glow-one {
  top: -170px;
  right: 8%;
}

.tf-glow-two {
  bottom: -230px;
  left: 25%;
}

.tf-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 46px;
}

.tf-hero-content {
  position: relative;
  z-index: 2;
  padding: 10px 0 70px;
}

.tf-hero h1 {
  max-width: 680px;
  margin: 23px 0;
  color: #30291E;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.tf-hero h1 span {
  display: inline-block;
  color: #A77B2C;
}

.tf-hero-lead {
  max-width: 560px;
  margin: 0 0 14px;
  color: #393328 !important;
  font-size: 1.1rem;
  line-height: 1.8 !important;
}

.tf-hero-copy {
  max-width: 550px;
  margin: 0;
  color: #696357;
  font-size: 0.94rem;
}

.tf-hero-actions,
.tf-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
}

.tf-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
}

.tf-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5F5748;
  font-size: 0.77rem;
}

.tf-hero-points i {
  color: #A77B2C;
  font-style: normal;
}

/* DECORATIVE QURAN ILLUSTRATION */

.tf-hero-art {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
}

.tf-art-orbit {
  position: absolute;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(167, 123, 44, 0.28);
  border-radius: 50%;
}

.tf-orbit-a {
  transform: rotate(-25deg) scaleY(0.72);
}

.tf-orbit-b {
  width: 335px;
  transform: rotate(36deg) scaleY(0.76);
}

.tf-art-arch {
  position: relative;
  display: flex;
  width: min(330px, 80%);
  aspect-ratio: 0.78;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid #B8944F;
  border-radius: 170px 170px 10px 10px;
  background: linear-gradient(155deg, #F0E1BD, #E4D0A1 62%, #D3B778);
  box-shadow: 0 16px 45px rgba(115, 83, 33, 0.12);
}

.tf-arch-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 87, 29, 0.36);
  border-radius: 150px 150px 4px 4px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 253, 242, 0.8), transparent 60%),
    #EBDDBB;
}

.tf-art-crescent {
  margin-top: 10px;
  color: #886326;
  font-size: 3.1rem;
  line-height: 1;
}

.tf-art-medallion {
  margin: 13px 0 3px;
  color: #98702A;
  font-size: 2.5rem;
}

.tf-art-book {
  position: relative;
  display: flex;
  width: 210px;
  height: 105px;
  align-items: stretch;
  justify-content: center;
  margin-top: 30px;
  filter: drop-shadow(0 9px 9px rgba(87, 61, 25, 0.2));
}

.tf-book-page {
  display: flex;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 17px 12px;
  border: 1px solid #B18A43;
  background: linear-gradient(145deg, #FFF9E9, #D6BC80);
}

.tf-book-page-left {
  border-radius: 4px 0 0 3px;
  transform: skewY(5deg);
  transform-origin: bottom right;
}

.tf-book-page-right {
  border-radius: 0 4px 3px 0;
  transform: skewY(-5deg);
  transform-origin: bottom left;
}

.tf-book-page span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(111, 76, 26, 0.45);
}

.tf-book-page span:nth-child(2),
.tf-book-page span:nth-child(4) {
  width: 75%;
  align-self: center;
}

.tf-book-spine {
  position: absolute;
  z-index: 2;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 3px;
  background: #8E682C;
  transform: translateX(-50%);
}

.tf-book-rest {
  position: absolute;
  bottom: -14px;
  width: 245px;
  height: 11px;
  border: 1px solid #A17A37;
  border-radius: 3px;
  background: linear-gradient(#C9A45B, #94702F);
}

.tf-art-caption {
  margin-top: 32px;
  color: #76551E;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
}

.tf-art-star {
  position: absolute;
  color: #A77B2C;
  animation: tf-twinkle 4s ease-in-out infinite;
}

.tf-star-one {
  top: 14%;
  left: 15%;
  font-size: 1.6rem;
}

.tf-star-two {
  top: 22%;
  right: 11%;
  font-size: 2rem;
  animation-delay: 1s;
}

.tf-star-three {
  right: 12%;
  bottom: 20%;
  font-size: 1.1rem;
  animation-delay: 2s;
}

.tf-floating-note {
  position: absolute;
  right: -4px;
  bottom: 65px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #E2D1AA;
  background: #FFFFFF;
  box-shadow: 0 12px 35px rgba(85, 65, 30, 0.12);
}

.tf-note-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border: 1px solid #E2D1AA;
  color: #9A7028;
  font-size: 1.25rem;
}

.tf-floating-note strong,
.tf-floating-note small {
  display: block;
}

.tf-floating-note strong {
  color: #302B22;
  font-size: 0.77rem;
}

.tf-floating-note small {
  margin-top: 5px;
  color: #777064;
  font-size: 0.7rem;
}

.tf-hero-bottom {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 8vw, 115px);
  padding: 19px 20px;
  border-top: 1px solid #E4D6B8;
  background: rgba(255, 255, 255, 0.46);
}

.tf-hero-bottom span {
  color: #85662D;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* QUICK ANSWER */

.tf-quick-answer {
  padding: 42px 0;
  border-bottom: 1px solid #E9DFC9;
  background: #F1E8D5;
}

.tf-quick-inner {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 25px;
}

.tf-quick-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #B58A3D;
  background: #FBF7ED;
  color: #8F6929;
  font-size: 1.8rem;
}

.tf-quick-inner h2 {
  margin: 9px 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.tf-quick-inner p {
  max-width: 950px;
  margin: 0;
  font-size: 0.94rem;
}

/* INTRO */

.tf-intro {
  background: #FAF7EF;
}

.tf-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 75px;
}

.tf-intro-visual {
  padding: 18px;
}

.tf-intro-frame {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #C9A45D;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(214, 173, 88, 0.2), transparent 57%),
    linear-gradient(145deg, #F4E7CB, #E9D8B1);
  box-shadow: 12px 12px 0 rgba(168, 126, 48, 0.09);
}

.tf-intro-frame::before,
.tf-intro-frame::after {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(154, 112, 40, 0.24);
  content: "";
  transform: rotate(45deg);
}

.tf-intro-frame::before {
  top: -130px;
  left: -90px;
}

.tf-intro-frame::after {
  right: -90px;
  bottom: -130px;
}

.tf-intro-top-label {
  position: absolute;
  top: 30px;
  color: #886326;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
}

.tf-intro-symbol {
  color: #98702A;
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 1;
}

.tf-intro-arabesque {
  margin-top: -2px;
  color: #886326;
  font-size: 2.3rem;
}

.tf-intro-quote {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  text-align: center;
}

.tf-intro-quote span {
  color: #6F5528;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.tf-intro-copy h2,
.tf-audience-copy h2,
.tf-global-copy h2 {
  margin: 17px 0 22px;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
}

.tf-intro-copy > p {
  margin: 0 0 17px;
  font-size: 0.96rem;
}

.tf-check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.tf-check-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #454034;
  font-size: 0.89rem;
}

.tf-check-list span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border: 1px solid #D9C28E;
  background: #F5ECD9;
  color: #8D6724;
  font-size: 0.75rem;
}

/* TOPICS */

.tf-topics {
  border-block: 1px solid #E9DFC9;
  background: #F2EBDD;
}

.tf-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tf-topic-card {
  position: relative;
  min-height: 260px;
  padding: 29px 26px;
  overflow: hidden;
  border: 1px solid #E4D7BD;
  background: #FFFFFF;
  box-shadow: 0 5px 20px rgba(67, 52, 24, 0.025);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tf-topic-card:hover {
  transform: translateY(-5px);
  border-color: #C7A45E;
  box-shadow: 0 13px 30px rgba(67, 52, 24, 0.08);
}

.tf-topic-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #A77B2C;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tf-topic-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid #E5D4AC;
  background: #FAF3E4;
  color: #97702D;
  font-size: 1.7rem;
}

.tf-topic-card h3 {
  margin-bottom: 12px;
  font-size: 1.13rem;
}

.tf-topic-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
}

.tf-card-line {
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 23px;
  background: #C6A052;
  transition: width 0.25s ease;
}

.tf-topic-card:hover .tf-card-line {
  width: 80px;
}

/* AUDIENCE */

.tf-audience {
  background: #FAF7EF;
}

.tf-audience-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 65px;
}

.tf-audience-copy > p {
  max-width: 620px;
  margin-bottom: 30px;
}

.tf-audience-list {
  display: grid;
  gap: 22px;
}

.tf-audience-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
}

.tf-audience-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #E0CFAB;
  background: #F6EEDC;
  color: #8D6724;
  font-size: 0.74rem;
  font-weight: 800;
}

.tf-audience-item h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.tf-audience-item p {
  margin: 0;
  font-size: 0.86rem;
}

.tf-audience-art {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
}

.tf-audience-circle {
  display: grid;
  width: min(310px, 85%);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #C8A55F;
  border-radius: 50%;
  background: radial-gradient(circle, #F0E1BD, #FAF4E5 58%, transparent 73%);
}

.tf-audience-circle-inner {
  display: flex;
  width: 82%;
  height: 82%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #C6A45D;
  border-radius: 50%;
}

.tf-audience-star {
  color: #98702A;
  font-size: 2.5rem;
}

.tf-audience-arabic {
  margin: 12px 0;
  color: #77551F;
  font-family: "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.tf-audience-small {
  color: #785B2C;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.tf-audience-tag {
  position: absolute;
  padding: 12px 15px;
  border: 1px solid #E4D5B4;
  background: #FFFFFF;
  color: #805E26;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 18px rgba(65, 47, 20, 0.06);
}

.tf-tag-top {
  top: 49px;
  right: 0;
}

.tf-tag-bottom {
  bottom: 55px;
  left: 0;
}

/* BENEFITS */

.tf-benefits {
  background: #F0E8D8;
}

.tf-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.tf-benefit-card {
  padding: 28px 22px;
  border: 1px solid #E1D3B5;
  border-top: 3px solid #D6AD58;
  background: #FFFFFF;
  transition: background 0.25s ease, transform 0.25s ease;
}

.tf-benefit-card:hover {
  transform: translateY(-5px);
  background: #FFFCF5;
}

.tf-benefit-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid #E6D5AD;
  background: #FAF2DF;
  color: #96702D;
  font-size: 1.4rem;
}

.tf-benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.tf-benefit-card p {
  margin: 0;
  font-size: 0.83rem;
}

/* PROCESS */

.tf-process {
  background: #FAF7EF;
}

.tf-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tf-process-step {
  position: relative;
  padding: 28px 23px 25px;
  border: 1px solid #E4D6B8;
  background: #FFFFFF;
  box-shadow: 0 5px 20px rgba(67, 52, 24, 0.025);
}

.tf-step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: #A77B2C;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.tf-process-step h3 {
  margin-bottom: 11px;
  font-size: 1rem;
}

.tf-process-step p {
  margin: 0;
  font-size: 0.84rem;
}

.tf-process-action {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

/* PDF RESOURCE */

.tf-pdf {
  border-block: 1px solid #E3D5B8;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(214, 173, 88, 0.19), transparent 36%),
    #F0E7D5;
}

.tf-pdf-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.tf-pdf-art {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.tf-pdf-halo {
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(154, 112, 40, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(214, 173, 88, 0.06), 0 0 0 48px rgba(214, 173, 88, 0.035);
}

.tf-pdf-sheet {
  position: relative;
  display: flex;
  width: 185px;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  padding: 23px 18px;
  border: 1px solid #D9C18B;
  background: linear-gradient(155deg, #FFFDF4, #E8D5AA);
  box-shadow: 15px 18px 35px rgba(87, 61, 25, 0.14);
  transform: rotate(-5deg);
}

.tf-pdf-label {
  color: #6D5428;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
}

.tf-pdf-emblem {
  margin: 20px 0;
  color: #795C2A;
  font-size: 3.2rem;
}

.tf-pdf-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: rgba(94, 68, 30, 0.32);
}

.tf-rule-short {
  width: 57%;
}

.tf-rule-medium {
  width: 78%;
}

.tf-pdf-footer {
  margin-top: auto;
  padding-top: 15px;
  color: #70552B;
  font-size: 0.45rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
}

.tf-pdf-stamp {
  position: absolute;
  right: 4%;
  bottom: 34px;
  display: grid;
  width: 74px;
  height: 74px;
  place-content: center;
  border: 1px solid #B58A3D;
  border-radius: 50%;
  background: #FFFDF7;
  color: #886326;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
  transform: rotate(9deg);
}

.tf-pdf-copy h2 {
  margin: 16px 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.tf-pdf-copy > p {
  margin-bottom: 25px;
}

.tf-small-note {
  margin: 13px 0 0 !important;
  font-size: 0.75rem;
}

/* INTERNATIONAL LEARNERS */

.tf-global {
  background: #FAF7EF;
}

.tf-global-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.tf-global-copy > p {
  max-width: 600px;
}

.tf-global-visual {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
}

.tf-global-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(167, 123, 44, 0.25);
  border-radius: 50%;
}

.tf-ring-one {
  transform: scaleX(0.6);
}

.tf-ring-two {
  transform: scaleY(0.6);
}

.tf-global-globe {
  display: grid;
  width: 155px;
  height: 155px;
  place-items: center;
  border: 1px solid #C6A052;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F0E1BD, #FFFDF6 72%);
  color: #98702A;
  font-size: 5rem;
}

.tf-country {
  position: absolute;
  padding: 9px 13px;
  border: 1px solid #E1D2B1;
  background: #FFFFFF;
  color: #805E26;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tf-country-uk {
  top: 35px;
  left: 15%;
}

.tf-country-us {
  top: 90px;
  right: 3%;
}

.tf-country-ca {
  bottom: 70px;
  left: 3%;
}

.tf-country-world {
  right: 15%;
  bottom: 25px;
}



/* RELATED COURSES */

.tf-related {
  background: #FAF7EF;
}

.tf-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.tf-related-card {
  display: grid;
  grid-template-columns: 35px 1fr 22px;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 19px;
  border: 1px solid #E4D6B8;
  background: #FFFFFF;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tf-related-card:hover {
  transform: translateY(-3px);
  border-color: #C7A45E;
  background: #FFFCF5;
}

.tf-related-card > span {
  color: #A77B2C;
  font-size: 0.7rem;
  font-weight: 900;
}

.tf-related-card strong {
  color: #302B22;
  font-size: 0.87rem;
  line-height: 1.5;
}

.tf-related-card i {
  color: #96702D;
  font-size: 1.1rem;
  font-style: normal;
  transition: transform 0.2s ease;
}

.tf-related-card:hover i {
  transform: translate(3px, -3px);
}



@keyframes tf-twinkle {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

/* TABLETS */

@media (max-width: 980px) {
  .tf-section {
    padding: 75px 0;
  }

  .tf-hero {
    padding-top: 55px;
  }

  .tf-hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
  }

  .tf-hero h1 {
    font-size: clamp(2.55rem, 5.5vw, 3.8rem);
  }

  .tf-hero-art {
    min-height: 420px;
  }

  .tf-art-arch {
    width: min(300px, 95%);
  }

  .tf-floating-note {
    right: -8px;
    bottom: 35px;
  }

  .tf-intro-grid,
  .tf-audience-grid,
  .tf-pdf-grid,
  .tf-faq-grid {
    gap: 38px;
  }

  .tf-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-benefit-grid,
  .tf-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .tf-container {
    width: min(100% - 34px, 520px);
  }

  .tf-section {
    padding: 60px 0;
  }

  .tf-section-heading {
    margin-bottom: 32px;
  }

  .tf-section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .tf-section-heading > p {
    font-size: 0.9rem;
  }

  .tf-btn {
    width: 100%;
    min-height: 51px;
    padding: 13px 16px;
  }

  .tf-hero {
    padding-top: 42px;
  }

  .tf-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tf-hero-content {
    padding: 0 0 20px;
  }

  .tf-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .tf-hero h1 {
    margin: 19px 0;
    font-size: clamp(2.55rem, 11vw, 3.55rem);
  }

  .tf-hero-lead {
    font-size: 1rem;
  }

  .tf-hero-copy {
    font-size: 0.9rem;
  }

  .tf-hero-actions,
  .tf-final-actions {
    flex-direction: column;
    gap: 10px;
  }

  .tf-hero-points {
    gap: 11px 15px;
  }

  .tf-hero-points span {
    font-size: 0.72rem;
  }

  .tf-hero-art {
    min-height: 365px;
    margin-top: -5px;
  }

  .tf-art-arch {
    width: 255px;
    max-width: 76%;
  }

  .tf-art-orbit {
    width: 330px;
    max-width: 98%;
  }

  .tf-orbit-b {
    width: 260px;
  }

  .tf-art-book {
    width: 170px;
    height: 85px;
  }

  .tf-book-rest {
    width: 200px;
  }

  .tf-art-caption {
    font-size: 0.48rem;
  }

  .tf-floating-note {
    right: 0;
    bottom: 23px;
    gap: 9px;
    padding: 11px 12px;
  }

  .tf-note-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .tf-floating-note strong {
    font-size: 0.7rem;
  }

  .tf-floating-note small {
    font-size: 0.65rem;
  }

  .tf-hero-bottom {
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 16px 10px;
  }

  .tf-hero-bottom span {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .tf-quick-answer {
    padding: 32px 0;
  }

  .tf-quick-inner {
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .tf-quick-mark {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .tf-quick-inner h2 {
    font-size: 1.4rem;
  }

  .tf-quick-inner p {
    font-size: 0.87rem;
  }

  .tf-intro-grid,
  .tf-audience-grid,
  .tf-pdf-grid,
  .tf-global-inner,
  .tf-faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tf-intro-visual {
    padding: 7px;
  }

  .tf-intro-frame {
    min-height: 330px;
  }

  .tf-intro-copy h2,
  .tf-audience-copy h2,
  .tf-global-copy h2,
  .tf-pdf-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .tf-intro-copy > p,
  .tf-audience-copy > p,
  .tf-global-copy > p,
  .tf-pdf-copy > p {
    font-size: 0.9rem;
  }

  .tf-topic-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .tf-topic-card {
    min-height: 0;
    padding: 25px 22px;
  }

  .tf-topic-card p {
    font-size: 0.86rem;
  }

  .tf-audience-art {
    min-height: 330px;
  }

  .tf-audience-circle {
    width: min(275px, 78%);
  }

  .tf-tag-top {
    top: 25px;
    right: 0;
  }

  .tf-tag-bottom {
    bottom: 23px;
    left: 0;
  }

  .tf-audience-tag {
    max-width: 62%;
    font-size: 0.55rem;
  }

  .tf-benefit-grid,
  .tf-process-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .tf-benefit-card {
    padding: 24px 21px;
  }

  .tf-benefit-icon {
    margin-bottom: 16px;
  }

  .tf-process-step {
    padding: 23px;
  }

  .tf-step-number {
    margin-bottom: 16px;
  }

  .tf-pdf-grid {
    gap: 22px;
  }

  .tf-pdf-art {
    min-height: 290px;
  }

  .tf-pdf-halo {
    width: 220px;
  }

  .tf-pdf-sheet {
    width: 165px;
    min-height: 225px;
  }

  .tf-pdf-stamp {
    right: 10%;
    bottom: 20px;
    width: 65px;
    height: 65px;
  }

  .tf-global-visual {
    min-height: 300px;
  }

  .tf-global-ring {
    width: 240px;
    height: 240px;
  }

  .tf-global-globe {
    width: 130px;
    height: 130px;
  }

  .tf-country-uk {
    left: 3%;
  }

  .tf-country-us {
    right: 0;
  }

  .tf-country-ca {
    left: 0;
  }

  .tf-country-world {
    right: 3%;
  }

  
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .tafseer-page *,
  .tafseer-page *::before,
  .tafseer-page *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   Elite Quran Learning
   Islamic Studies page
   Warm ivory + champagne gold + elegant charcoal
   ========================================================== */

.islamic-page {
  --is-gold: #D6AD58;
  --is-gold-dark: #98702C;
  --is-ivory: #FAF7EF;
  --is-cream: #F1E9D9;
  --is-white: #FFFFFF;
  --is-ink: #28271F;
  --is-muted: #706D63;
  --is-green: #174B3D;
  --is-border: rgba(130, 102, 49, 0.20);

  background: var(--is-white);
  color: var(--is-ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.75;
  overflow: hidden;
}

.islamic-page *,
.islamic-page *::before,
.islamic-page *::after {
  box-sizing: border-box;
}

.islamic-page h1,
.islamic-page h2,
.islamic-page h3,
.islamic-page p {
  margin-top: 0;
}

.islamic-page h1,
.islamic-page h2,
.islamic-page h3 {
  color: var(--is-ink);
  line-height: 1.25;
}

.islamic-page h1,
.islamic-page h2 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.islamic-page h1 {
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  margin-bottom: 24px;
}

.islamic-page h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  margin-bottom: 20px;
}

.islamic-page h3 {
  font-size: 1.13rem;
  margin-bottom: 12px;
}

.islamic-page p {
  color: var(--is-muted);
}

.is-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.is-section {
  padding-block: 96px;
}

.is-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--is-gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.6;
}

/* HERO */

.is-hero {
  position: relative;
  isolation: isolate;
  padding-block: 78px 68px;
  background:
    radial-gradient(
      ellipse at 82% 45%,
      rgba(214, 173, 88, 0.16),
      transparent 36%
    ),
    linear-gradient(135deg, #FCFAF4 0%, #F5EEDC 100%);
}

.is-hero::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -120px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(166, 125, 46, 0.14);
  border-radius: 50%;
  content: "";
}

.is-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 55px;
}

.is-hero-content {
  max-width: 680px;
}

.is-hero-content h1 {
  max-width: 720px;
}

.is-hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: 1.04rem;
  line-height: 1.9;
}

.is-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.is-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.is-btn:hover {
  transform: translateY(-3px);
}

.is-btn:focus-visible,
.is-text-link:focus-visible,
.is-related-card:focus-visible {
  outline: 3px solid var(--is-gold-dark);
  outline-offset: 4px;
}

.is-btn-gold {
  background: var(--is-gold);
  color: #242117;
  box-shadow: 0 8px 22px rgba(154, 112, 40, 0.13);
}

.is-btn-gold:hover {
  background: #E2BE72;
  box-shadow: 0 12px 26px rgba(154, 112, 40, 0.20);
}

.is-btn-outline {
  border-color: rgba(40, 39, 31, 0.28);
  background: rgba(255, 255, 255, 0.6);
  color: var(--is-ink);
}

.is-btn-outline:hover {
  background: var(--is-white);
}

.is-btn-light-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--is-white);
  background: transparent;
}

.is-btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.is-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.is-trust-points span {
  color: #555348;
  font-size: 0.77rem;
  font-weight: 650;
}

/* CSS-ILLUSTRATED HERO ART */

.is-hero-art {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 455px;
  place-items: center;
}

.is-art-circle {
  position: absolute;
  width: min(390px, 95%);
  aspect-ratio: 1;
  border: 1px solid rgba(166, 125, 46, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(214, 173, 88, 0.05),
    0 0 0 40px rgba(214, 173, 88, 0.035);
}

.is-art-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(320px, 80%);
  min-height: 370px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 25px;
  border: 1px solid rgba(166, 125, 46, 0.48);
  border-radius: 170px 170px 8px 8px;
  background: linear-gradient(150deg, #FFFFFF 0%, #F7F0DF 100%);
  box-shadow: 0 24px 65px rgba(73, 58, 27, 0.12);
  text-align: center;
}

.is-art-top,
.is-art-bottom {
  color: var(--is-gold-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.is-art-emblem {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-top: 28px;
  border: 1px solid var(--is-gold);
  border-radius: 50%;
  color: var(--is-gold-dark);
  font-size: 2.4rem;
}

.is-art-arabic {
  margin-top: 12px;
  color: var(--is-green);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1.5;
}

.is-art-rule {
  width: 80px;
  height: 1px;
  margin: 17px 0;
  background: var(--is-gold);
}

.is-art-card p {
  margin-bottom: 27px;
  color: #5C584B;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}

.is-art-star {
  position: absolute;
  z-index: 2;
  color: var(--is-gold-dark);
}

.is-star-one {
  top: 56px;
  right: 12%;
  font-size: 2rem;
}

.is-star-two {
  bottom: 50px;
  left: 10%;
  font-size: 2.4rem;
}

.is-floating-note {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border: 1px solid var(--is-border);
  border-radius: 6px;
  background: var(--is-white);
  box-shadow: 0 10px 30px rgba(45, 40, 28, 0.08);
  color: var(--is-ink);
  font-size: 0.77rem;
  font-weight: 700;
}

.is-floating-note span {
  color: var(--is-gold-dark);
  font-size: 1.3rem;
}

/* QUICK ANSWER */

.is-quick-answer {
  border-block: 1px solid var(--is-border);
  background: #FFFFFF;
}

.is-quick-inner {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-block: 34px;
}

.is-quick-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--is-ivory);
  color: var(--is-gold-dark);
  font-size: 1.6rem;
}

.is-quick-inner h2 {
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.is-quick-inner p {
  max-width: 940px;
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.85;
}

/* INTRODUCTION */

.is-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.is-intro-visual {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(214, 173, 88, 0.20),
      transparent 45%
    ),
    linear-gradient(145deg, #F9F5E9, #EEE4D0);
  overflow: hidden;
}

.is-visual-inner {
  display: flex;
  width: 75%;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 1px solid rgba(166, 125, 46, 0.5);
  border-radius: 180px 180px 8px 8px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.is-visual-ornament {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--is-gold-dark);
  font-size: 2.5rem;
}

.is-visual-symbol {
  color: var(--is-gold-dark);
  font-size: 4.3rem;
  line-height: 1.3;
}

.is-visual-label {
  margin-top: 12px;
  color: var(--is-gold-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.is-visual-line {
  width: 65px;
  height: 1px;
  margin: 20px 0;
  background: var(--is-gold);
}

.is-visual-inner p {
  color: var(--is-green);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
}

.is-intro-copy > p {
  font-size: 0.96rem;
}

.is-check-list {
  display: grid;
  gap: 12px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.is-check-list li {
  position: relative;
  padding-left: 30px;
  color: #514F45;
  font-size: 0.91rem;
}

.is-check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #F4E8C9;
  color: var(--is-gold-dark);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 800;
}

.is-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--is-gold-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.is-text-link:hover {
  color: var(--is-green);
}

/* COURSE TOPICS */

.is-topics-section {
  background: var(--is-ivory);
}

.is-section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.is-section-heading > p {
  max-width: 650px;
  margin-inline: auto;
}

.is-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.is-topic-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  padding: 30px 27px;
  border: 1px solid rgba(130, 102, 49, 0.15);
  border-radius: 7px;
  background: var(--is-white);
  box-shadow: 0 8px 26px rgba(44, 38, 26, 0.025);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.is-topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(44, 38, 26, 0.08);
}

.is-topic-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(152, 112, 44, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.is-topic-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(214, 173, 88, 0.5);
  border-radius: 50%;
  background: #FCF8EE;
  color: var(--is-gold-dark);
  font-size: 1.7rem;
}

.is-topic-card h3 {
  margin-bottom: 12px;
}

.is-topic-card p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.8;
}

/* LEARNER TYPES */

.is-audience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 75px;
  align-items: center;
}

.is-audience-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.is-audience-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
}

.is-audience-check {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--is-border);
  border-radius: 50%;
  background: var(--is-ivory);
  color: var(--is-gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.is-audience-item h3 {
  margin-bottom: 5px;
}

.is-audience-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.is-audience-panel {
  position: relative;
  padding: 55px 38px;
  border: 1px solid rgba(214, 173, 88, 0.55);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(214, 173, 88, 0.15),
      transparent 35%
    ),
    linear-gradient(145deg, #FBF7EB, #F0E6D2);
  text-align: center;
  overflow: hidden;
}

.is-panel-decoration {
  position: absolute;
  top: 14px;
  right: 22px;
  color: var(--is-gold-dark);
  font-size: 2.2rem;
}

.is-panel-kicker {
  color: var(--is-gold-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.is-panel-symbol {
  margin: 20px 0;
  color: var(--is-gold-dark);
  font-size: 4rem;
  line-height: 1.2;
}

.is-audience-panel h3 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.65rem;
}

.is-audience-panel p {
  margin-bottom: 26px;
  font-size: 0.92rem;
}

/* HOW IT WORKS */

.is-process-section {
  background: #FCFAF5;
}

.is-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.is-process-step {
  padding: 30px;
  border: 1px solid var(--is-border);
  border-radius: 6px;
  background: #FFFFFF;
}

.is-step-number {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  border-radius: 50%;
  background: #F4E8C9;
  color: var(--is-gold-dark);
  font-weight: 800;
}

.is-process-step p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.is-process-action {
  margin-top: 36px;
  text-align: center;
}

/* RELATED COURSE LINKS */

.is-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.is-related-card {
  display: flex;
  min-width: 0;
  min-height: 235px;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px;
  border: 1px solid var(--is-border);
  border-radius: 6px;
  background: #FFFFFF;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.is-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--is-gold);
  box-shadow: 0 15px 35px rgba(44, 38, 26, 0.07);
}

.is-related-card > span {
  margin-bottom: 19px;
  color: var(--is-gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.is-related-card h3 {
  margin-bottom: 12px;
}

.is-related-card p {
  margin-bottom: 20px;
  font-size: 0.89rem;
}

.is-related-card strong {
  margin-top: auto;
  color: var(--is-gold-dark);
  font-size: 0.85rem;
}



/* TABLET */

@media (max-width: 980px) {
  .is-section {
    padding-block: 75px;
  }

  .is-hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 28px;
  }

  .is-hero-art {
    min-height: 400px;
  }

  .is-art-card {
    min-height: 330px;
  }

  .is-intro-grid {
    gap: 40px;
  }

  .is-audience-grid {
    gap: 38px;
  }

  .is-faq-grid {
    gap: 35px;
  }

  .is-topic-grid,
  .is-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .is-container {
    width: min(100% - 34px, 560px);
  }

  .is-section {
    padding-block: 60px;
  }

  .is-hero {
    padding-block: 55px 45px;
  }

  .is-hero-grid,
  .is-intro-grid,
  .is-audience-grid,
  .is-faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .is-hero-content {
    text-align: center;
  }

  .is-hero-content h1 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .is-hero-lead {
    font-size: 0.95rem;
  }

  .is-actions {
    justify-content: center;
  }

  .is-trust-points {
    justify-content: center;
    gap: 9px 15px;
  }

  .is-trust-points span {
    font-size: 0.72rem;
  }

  .is-hero-art {
    min-height: 365px;
  }

  .is-art-circle {
    width: min(310px, 84%);
  }

  .is-art-card {
    width: min(270px, 76%);
    min-height: 315px;
    padding: 26px 18px;
  }

  .is-art-emblem {
    width: 62px;
    height: 62px;
    margin-top: 18px;
    font-size: 2rem;
  }

  .is-art-arabic {
    font-size: 2.5rem;
  }

  .is-floating-note {
    right: 0;
    bottom: 12px;
    padding: 10px 12px;
    font-size: 0.69rem;
  }

  .is-star-one {
    top: 22px;
    right: 7%;
  }

  .is-star-two {
    bottom: 35px;
    left: 5%;
  }

  .is-quick-inner {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding-block: 27px;
  }

  .is-quick-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .is-quick-inner h2 {
    font-size: 1rem;
  }

  .is-quick-inner p {
    font-size: 0.87rem;
  }

  .is-intro-visual {
    min-height: 330px;
  }

  .is-visual-inner {
    width: 76%;
    min-height: 255px;
  }

  .is-topic-grid,
  .is-process-grid,
  .is-related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .is-section-heading {
    margin-bottom: 32px;
  }

  .is-topic-card {
    min-height: auto;
    padding: 27px 24px;
  }

  .is-audience-panel {
    padding: 42px 25px;
  }

  .is-process-step {
    padding: 25px;
  }

  .is-related-card {
    min-height: 200px;
  }

}

/* SMALL PHONES */

@media (max-width: 380px) {
  .is-container {
    width: calc(100% - 28px);
  }

  .is-hero-content h1 {
    font-size: 1.9rem;
  }

  .is-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .is-actions .is-btn {
    width: 100%;
  }

  .is-art-card {
    width: 78%;
  }

  .is-floating-note {
    right: 0;
    font-size: 0.65rem;
  }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .islamic-page *,
  .islamic-page *::before,
  .islamic-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Arabic Language Page
   Theme: Warm Ivory + Champagne Gold + Charcoal
   File: arabic-language.css
   ========================================================= */

.arabic-page {
  --ar-gold: #d6ad58;
  --ar-gold-dark: #b88d37;
  --ar-gold-pale: #f3e7ca;
  --ar-ivory: #faf7ef;
  --ar-cream: #fffdf8;
  --ar-white: #ffffff;
  --ar-charcoal: #24231f;
  --ar-text: #4d4a43;
  --ar-muted: #777268;
  --ar-border: #e8e0d1;
  --ar-green: #104c3b;
  --ar-green-dark: #093a2d;
  --ar-shadow: 0 18px 50px rgba(48, 39, 20, 0.08);

  background: var(--ar-cream);
  color: var(--ar-text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.arabic-page *,
.arabic-page *::before,
.arabic-page *::after {
  box-sizing: border-box;
}

.arabic-page img {
  display: block;
  max-width: 100%;
}

.arabic-page a {
  color: inherit;
  text-decoration: none;
}

.arabic-page button,
.arabic-page input,
.arabic-page textarea,
.arabic-page select {
  font: inherit;
}

.ar-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.arabic-page h1,
.arabic-page h2,
.arabic-page h3 {
  color: var(--ar-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}

.arabic-page p {
  margin-top: 0;
}

.arabic-page a:focus-visible,
.arabic-page button:focus-visible,
.arabic-page summary:focus-visible {
  outline: 3px solid var(--ar-gold-dark);
  outline-offset: 4px;
}

/* HEADER
   If style.css already provides your shared header, keep the existing
   shared header styles. These rules are only for the ar-* header classes. */

.arabic-page .site-header {
  position: relative;
  z-index: 100;
}

.ar-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ar-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ar-gold);
  background: var(--ar-ivory);
  color: var(--ar-gold-dark);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.ar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.ar-brand-text strong {
  color: var(--ar-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.ar-brand-text small {
  color: var(--ar-muted);
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-top: 4px;
}

.ar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.ar-nav > a,
.ar-nav-dropdown > a {
  color: var(--ar-charcoal);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ar-nav > a:hover,
.ar-nav-dropdown > a:hover,
.ar-nav a[aria-current="page"] {
  color: var(--ar-gold-dark);
}

.ar-nav .ar-nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--ar-gold);
  border-radius: 3px;
  background: var(--ar-gold);
  color: #211d14;
  white-space: nowrap;
}

.ar-nav .ar-nav-cta:hover {
  background: var(--ar-gold-dark);
  border-color: var(--ar-gold-dark);
  color: var(--ar-white);
}

.ar-nav-dropdown {
  position: relative;
}

.ar-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 230px;
  display: none;
  flex-direction: column;
  padding: 12px;
  margin-top: 14px;
  border: 1px solid var(--ar-border);
  border-radius: 8px;
  background: var(--ar-white);
  box-shadow: var(--ar-shadow);
}

.ar-nav-dropdown:hover .ar-dropdown-menu,
.ar-nav-dropdown:focus-within .ar-dropdown-menu {
  display: flex;
}

.ar-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--ar-text);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ar-dropdown-menu a:hover {
  background: var(--ar-ivory);
  color: var(--ar-gold-dark);
}

.ar-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--ar-border);
  border-radius: 5px;
  background: var(--ar-white);
  cursor: pointer;
}

.ar-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--ar-charcoal);
}

/* HERO */

.ar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 100px;
  background:
    radial-gradient(circle at 90% 12%, rgba(214, 173, 88, 0.15), transparent 27%),
    linear-gradient(120deg, #faf7ef 0%, #fffdf8 57%, #f5eddd 100%);
}

.ar-hero-pattern {
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -100px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(184, 141, 55, 0.16);
  border-radius: 50%;
}

.ar-hero-pattern::before,
.ar-hero-pattern::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(184, 141, 55, 0.14);
  border-radius: 50%;
}

.ar-hero-pattern::before {
  inset: 35px;
}

.ar-hero-pattern::after {
  inset: 75px;
}

.ar-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: center;
  gap: 80px;
}

.ar-eyebrow,
.ar-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ar-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.ar-eyebrow {
  margin-bottom: 25px;
}

.ar-eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--ar-gold-dark);
}

.ar-hero h1 {
  max-width: 660px;
  margin-bottom: 25px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -1.5px;
}

.ar-hero-lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: #666056;
  font-size: 17px;
  line-height: 1.9;
}

.ar-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.ar-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ar-btn:hover {
  transform: translateY(-2px);
}

.ar-btn-gold {
  border-color: var(--ar-gold);
  background: var(--ar-gold);
  color: #211d14 !important;
}

.ar-btn-gold:hover {
  border-color: var(--ar-gold-dark);
  background: var(--ar-gold-dark);
  color: var(--ar-white) !important;
}

.ar-btn-outline {
  border-color: #d9d0bf;
  background: transparent;
  color: var(--ar-charcoal) !important;
}

.ar-btn-outline:hover {
  border-color: var(--ar-gold-dark);
  background: var(--ar-white);
}

.ar-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
}

.ar-note-icon {
  color: var(--ar-gold-dark);
  font-size: 21px;
}

.ar-hero-note p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 12px;
}

.ar-hero-visual {
  position: relative;
  max-width: 440px;
  width: 100%;
  justify-self: end;
  padding: 0 16px 20px 0;
}

.ar-image-frame {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 180px 180px 8px 8px;
  border: 1px solid rgba(184, 141, 55, 0.45);
  background: #eee3cc;
  box-shadow: 20px 20px 0 rgba(214, 173, 88, 0.16);
}

.ar-image-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-image-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, 0.28), transparent 48%),
    linear-gradient(150deg, #f8f0de, #e8d7b1);
  text-align: center;
}

.ar-fallback-symbol {
  color: var(--ar-green);
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  direction: rtl;
}

.ar-fallback-title {
  color: var(--ar-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.ar-fallback-subtitle {
  color: var(--ar-muted);
  font-size: 13px;
}

.ar-image-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(8px);
}

.ar-caption-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ar-gold-pale);
  color: var(--ar-gold-dark);
  font-family: Georgia, serif;
  font-size: 23px;
}

.ar-image-caption strong,
.ar-image-caption small {
  display: block;
}

.ar-image-caption strong {
  color: var(--ar-charcoal);
  font-size: 13px;
}

.ar-image-caption small {
  color: var(--ar-muted);
  font-size: 11px;
}

.ar-floating-card {
  position: absolute;
  top: 80px;
  left: -48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  border: 1px solid var(--ar-border);
  border-radius: 5px;
  background: var(--ar-white);
  box-shadow: var(--ar-shadow);
}

.ar-floating-icon {
  color: var(--ar-gold-dark);
  font-size: 25px;
}

.ar-floating-card strong,
.ar-floating-card small {
  display: block;
}

.ar-floating-card strong {
  color: var(--ar-charcoal);
  font-size: 12px;
}

.ar-floating-card small {
  color: var(--ar-muted);
  font-size: 10px;
}

.ar-hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ar-gold), transparent);
}

/* QUICK ANSWER */

.ar-quick-answer {
  padding: 0 0 30px;
  background: var(--ar-cream);
}

.ar-answer-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: start;
  gap: 25px;
  padding: 34px 38px;
  border: 1px solid var(--ar-border);
  border-left: 4px solid var(--ar-gold);
  border-radius: 5px;
  background: var(--ar-white);
  box-shadow: 0 12px 35px rgba(48, 39, 20, 0.035);
}

.ar-answer-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ar-ivory);
  color: var(--ar-gold-dark);
  font-family: Georgia, serif;
  font-size: 34px;
}

.ar-answer-card .ar-section-kicker {
  margin-bottom: 8px;
}

.ar-answer-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.ar-answer-card p {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--ar-text);
  font-size: 14px;
  line-height: 1.9;
}

/* SHARED SECTION STYLES */

.ar-section {
  padding: 90px 0;
}


.ar-two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
}

.ar-intro-heading h2 {
  max-width: 440px;
  margin: 17px 0 22px;
  font-size: clamp(31px, 3.7vw, 43px);
}

.ar-gold-rule {
  width: 72px;
  height: 3px;
  background: var(--ar-gold);
}

.ar-intro-copy p {
  margin-bottom: 17px;
  color: var(--ar-text);
  font-size: 15px;
  line-height: 1.95;
}

.ar-intro-copy p:last-child {
  margin-bottom: 0;
}

.ar-intro-copy a,
.ar-faq-answer a {
  color: var(--ar-gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(184, 141, 55, 0.4);
  text-underline-offset: 3px;
}

.ar-intro-copy a:hover,
.ar-faq-answer a:hover {
  text-decoration-color: currentColor;
}

.ar-section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.ar-section-heading .ar-section-kicker {
  margin-bottom: 14px;
}

.ar-section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4vw, 44px);
}

.ar-section-heading > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* SKILLS GRID */

.ar-skills-section {
  background: var(--ar-ivory);
}

.ar-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ar-skill-card {
  position: relative;
  min-height: 250px;
  padding: 29px 25px;
  overflow: hidden;
  border: 1px solid var(--ar-border);
  border-radius: 5px;
  background: var(--ar-white);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ar-skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 141, 55, 0.65);
  box-shadow: var(--ar-shadow);
}

.ar-card-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #d7cdb9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
}

.ar-skill-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border: 1px solid var(--ar-gold-pale);
  border-radius: 50%;
  background: var(--ar-ivory);
  color: var(--ar-gold-dark);
  font-family: Georgia, serif;
  font-size: 23px;
  direction: rtl;
}

.ar-skill-card h3 {
  margin-bottom: 11px;
  font-size: 21px;
}

.ar-skill-card p {
  margin-bottom: 0;
  color: var(--ar-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* AUDIENCE */

.ar-audience-section {
  background: var(--ar-cream);
}

.ar-audience-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 85px;
}

.ar-audience-content h2 {
  max-width: 540px;
  margin: 16px 0 20px;
  font-size: clamp(32px, 4vw, 45px);
}

.ar-audience-content > p {
  margin-bottom: 25px;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.9;
}

.ar-check-list {
  display: grid;
  gap: 17px;
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.ar-check-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 11px;
  color: var(--ar-text);
  font-size: 14px;
  line-height: 1.8;
}

.ar-check-list li > span:first-child {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ar-gold-pale);
  color: var(--ar-gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.ar-check-list strong {
  color: var(--ar-charcoal);
}

.ar-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ar-gold-dark) !important;
  font-size: 13px;
  font-weight: 700;
}

.ar-text-link:hover {
  gap: 17px;
}

.ar-audience-panel {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 45px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 35%, rgba(214, 173, 88, 0.14), transparent 45%),
    linear-gradient(145deg, #f3ead7, #e9dcc0);
}

.ar-decorative-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(184, 141, 55, 0.27);
  border-radius: 50%;
}

.ar-ring-one {
  width: 285px;
  height: 285px;
}

.ar-ring-two {
  width: 370px;
  height: 370px;
}

.ar-audience-panel-content {
  position: relative;
  z-index: 1;
  max-width: 310px;
  text-align: center;
}

.ar-arabic-display {
  display: block;
  margin-bottom: 20px;
  color: var(--ar-green);
  font-family: Georgia, serif;
  font-size: clamp(35px, 4vw, 49px);
  line-height: 1.5;
}

.ar-panel-divider {
  display: block;
  width: 55px;
  height: 2px;
  margin: 0 auto 23px;
  background: var(--ar-gold-dark);
}

.ar-audience-panel-content h3 {
  margin-bottom: 13px;
  font-size: 27px;
}

.ar-audience-panel-content p {
  margin-bottom: 0;
  color: #696052;
  font-size: 13px;
  line-height: 1.9;
}

/* PROCESS */

.ar-process-section {
  background: var(--ar-ivory);
}

.ar-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ar-process-card {
  padding: 31px 28px;
  border-top: 3px solid var(--ar-gold);
  border-right: 1px solid var(--ar-border);
  border-bottom: 1px solid var(--ar-border);
  border-left: 1px solid var(--ar-border);
  border-radius: 3px;
  background: var(--ar-white);
}

.ar-process-step {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--ar-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ar-process-card h3 {
  margin-bottom: 13px;
  font-size: 24px;
}

.ar-process-card p {
  margin-bottom: 0;
  color: var(--ar-muted);
  font-size: 13px;
  line-height: 1.9;
}

.ar-process-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
  padding: 26px;
  border: 1px solid var(--ar-border);
  border-radius: 5px;
  background: var(--ar-white);
}

.ar-process-cta p {
  margin: 0;
  color: var(--ar-charcoal);
  font-size: 14px;
  font-weight: 600;
}

.ar-btn-dark {
  background: var(--ar-charcoal);
  color: var(--ar-white) !important;
}

.ar-btn-dark:hover {
  background: var(--ar-green-dark);
}

/* RELATED COURSES */

.ar-related-section {
  background: var(--ar-cream);
}

.ar-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ar-related-card {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  align-items: center;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--ar-border);
  border-radius: 5px;
  background: var(--ar-white);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ar-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--ar-gold);
  box-shadow: 0 10px 28px rgba(48, 39, 20, 0.06);
}

.ar-related-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ar-ivory);
  color: var(--ar-gold-dark);
  font-family: Georgia, serif;
  font-size: 19px;
  text-align: center;
  direction: rtl;
}

.ar-related-card strong,
.ar-related-card small {
  display: block;
}

.ar-related-card strong {
  margin-bottom: 5px;
  color: var(--ar-charcoal);
  font-size: 14px;
}

.ar-related-card small {
  color: var(--ar-muted);
  font-size: 12px;
  line-height: 1.7;
}

.ar-related-arrow {
  color: var(--ar-gold-dark);
  font-size: 19px;
  transition: transform 0.2s ease;
}

.ar-related-card:hover .ar-related-arrow {
  transform: translate(3px, -3px);
}





/* FOOTER */

.ar-footer {
  padding: 58px 0 0;
  border-top: 1px solid var(--ar-border);
  background: #f3efe5;
}

.ar-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 45px;
}

.ar-footer-logo {
  margin-bottom: 20px;
}

.ar-footer-brand > p,
.ar-footer-column > p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--ar-muted);
  font-size: 12px;
  line-height: 1.9;
}

.ar-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.ar-footer-column h2 {
  margin-bottom: 8px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.ar-footer-column a {
  color: var(--ar-muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.ar-footer-column a:hover {
  color: var(--ar-gold-dark);
}

.ar-footer-column .ar-footer-contact-link {
  margin-top: 5px;
  color: var(--ar-gold-dark);
  font-weight: 700;
}

.ar-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #ded5c5;
}

.ar-footer-bottom p,
.ar-footer-bottom a {
  margin: 0;
  color: var(--ar-muted);
  font-size: 11px;
}

.ar-footer-bottom a:hover {
  color: var(--ar-gold-dark);
}

/* TABLETS */

@media (max-width: 1024px) {
  .ar-container {
    width: min(100% - 40px, 900px);
  }

  .ar-header-inner {
    gap: 15px;
  }

  .ar-nav {
    gap: 14px;
  }

  .ar-nav > a,
  .ar-nav-dropdown > a {
    font-size: 12px;
  }

  .ar-brand-text strong {
    font-size: 14px;
  }

  .ar-hero-grid {
    gap: 45px;
  }

  .ar-hero {
    padding: 70px 0 80px;
  }

  .ar-hero h1 {
    font-size: clamp(37px, 5vw, 53px);
  }

  .ar-floating-card {
    left: -20px;
  }

  .ar-two-column,
  .ar-audience-grid {
    gap: 45px;
  }

  .ar-faq-layout {
    gap: 40px;
  }

  .ar-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
  }

  .ar-footer-column:last-child {
    grid-column: 2 / 4;
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 760px) {
  .ar-container {
    width: calc(100% - 36px);
  }

  .ar-header-inner {
    min-height: 75px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .ar-brand {
    gap: 9px;
  }

  .ar-brand-mark {
    width: 41px;
    height: 41px;
    font-size: 24px;
  }

  .ar-brand-text strong {
    max-width: 235px;
    font-size: 13px;
  }

  .ar-brand-text small {
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .ar-menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .ar-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 5px;
    border-top: 1px solid var(--ar-border);
  }

  .ar-nav.ar-nav-open {
    display: flex;
  }

  .ar-nav > a,
  .ar-nav-dropdown > a {
    display: block;
    padding: 12px 5px;
    font-size: 14px;
  }

  .ar-nav .ar-nav-cta {
    display: inline-flex;
    justify-content: center;
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 18px;
  }

  .ar-nav-dropdown {
    width: 100%;
  }

  .ar-dropdown-menu {
    position: static;
    min-width: 0;
    display: flex;
    gap: 0;
    padding: 4px 0 7px 12px;
    margin-top: 0;
    border: 0;
    border-left: 2px solid var(--ar-gold);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ar-dropdown-menu a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .ar-hero {
    padding: 58px 0 65px;
  }

  .ar-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ar-hero-content {
    text-align: center;
  }

  .ar-eyebrow {
    justify-content: center;
    margin-bottom: 19px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .ar-hero h1 {
    max-width: 600px;
    margin-inline: auto;
    font-size: clamp(35px, 8vw, 49px);
    letter-spacing: -0.7px;
  }

  .ar-hero-lead {
    margin-inline: auto;
    font-size: 15px;
  }

  .ar-hero-actions {
    justify-content: center;
  }

  .ar-hero-note {
    justify-content: center;
  }

  .ar-hero-visual {
    width: min(100%, 400px);
    justify-self: center;
    padding-right: 8px;
  }

  .ar-image-frame {
    min-height: 370px;
  }

  .ar-floating-card {
    top: 40px;
    left: -5px;
    padding: 12px;
  }

  .ar-quick-answer {
    padding-bottom: 20px;
  }

  .ar-answer-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 22px;
  }

  .ar-answer-icon {
    width: 52px;
    height: 52px;
    font-size: 27px;
  }

  .ar-answer-card h2 {
    font-size: 24px;
  }

  .ar-section {
    padding: 65px 0;
  }

 
  .ar-two-column,
  .ar-audience-grid,
  .ar-faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ar-intro-heading h2,
  .ar-audience-content h2,
  .ar-faq-intro h2 {
    max-width: 650px;
    font-size: 34px;
  }

  .ar-section-heading {
    margin-bottom: 32px;
  }

  .ar-section-heading h2 {
    font-size: 33px;
  }

  .ar-section-heading > p {
    font-size: 14px;
  }

  .ar-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .ar-skill-card {
    min-height: 0;
    padding: 23px 17px;
  }

  .ar-skill-card h3 {
    font-size: 19px;
  }

  .ar-skill-card p {
    font-size: 12px;
  }

  .ar-card-number {
    top: 15px;
    right: 14px;
    font-size: 16px;
  }

  .ar-audience-panel {
    min-height: 330px;
    padding: 35px 22px;
  }

  .ar-process-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ar-process-card {
    padding: 25px;
  }

  .ar-process-cta {
    flex-direction: column;
    gap: 17px;
    text-align: center;
  }

  .ar-related-grid {
    grid-template-columns: 1fr;
  }

  .ar-related-card {
    padding: 17px;
    gap: 12px;
  }

  
 

  .ar-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .ar-footer-brand {
    grid-column: 1 / -1;
  }

  .ar-footer-column:last-child {
    grid-column: auto;
  }
}

/* SMALL PHONES */

@media (max-width: 420px) {
  .ar-container {
    width: calc(100% - 28px);
  }

  .ar-brand-text strong {
    max-width: 205px;
    font-size: 12px;
  }

  .ar-hero h1 {
    font-size: 34px;
  }

  .ar-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ar-hero-actions .ar-btn {
    width: 100%;
  }

  .ar-image-frame {
    min-height: 320px;
  }

  .ar-floating-card {
    top: 25px;
    left: -3px;
  }

  .ar-floating-card strong {
    font-size: 11px;
  }

  .ar-skill-grid {
    grid-template-columns: 1fr;
  }

  .ar-skill-card {
    padding: 24px;
  }

  .ar-skill-card h3 {
    font-size: 21px;
  }

  .ar-skill-card p {
    font-size: 13px;
  }

  .ar-related-card {
    grid-template-columns: 43px 1fr 15px;
    gap: 10px;
    padding: 14px;
  }

  .ar-related-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .ar-related-card strong {
    font-size: 13px;
  }

  .ar-related-card small {
    font-size: 11px;
  }

  .ar-footer-grid {
    grid-template-columns: 1fr;
  }

  .ar-footer-brand,
  .ar-footer-column:last-child {
    grid-column: auto;
  }

  .ar-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .arabic-page *,
  .arabic-page *::before,
  .arabic-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Daily Duas Page
   Warm Ivory + Champagne Gold + Charcoal
   File: daily-duas.css
   ========================================================= */

.daily-duas-page {
  --dd-gold: #d6ad58;
  --dd-gold-dark: #b88d37;
  --dd-gold-pale: #f3e7ca;
  --dd-ivory: #faf7ef;
  --dd-cream: #fffdf8;
  --dd-white: #ffffff;
  --dd-charcoal: #24231f;
  --dd-text: #4d4a43;
  --dd-muted: #777268;
  --dd-border: #e8e0d1;
  --dd-green: #104c3b;
  --dd-green-dark: #093a2d;
  --dd-shadow: 0 18px 50px rgba(48, 39, 20, 0.08);

  background: var(--dd-cream);
  color: var(--dd-text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.daily-duas-page *,
.daily-duas-page *::before,
.daily-duas-page *::after {
  box-sizing: border-box;
}

.daily-duas-page img {
  max-width: 100%;
  display: block;
}

.daily-duas-page a {
  color: inherit;
  text-decoration: none;
}

.daily-duas-page h1,
.daily-duas-page h2,
.daily-duas-page h3 {
  margin-top: 0;
  color: var(--dd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.22;
}

.daily-duas-page p {
  margin-top: 0;
}

.daily-duas-page button {
  font: inherit;
}

.daily-duas-page a:focus-visible,
.daily-duas-page button:focus-visible,
.daily-duas-page summary:focus-visible {
  outline: 3px solid var(--dd-gold-dark);
  outline-offset: 4px;
}

.dd-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER */

.daily-duas-page .site-header {
  position: relative;
  z-index: 100;
}

.dd-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.dd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dd-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dd-gold);
  border-radius: 50%;
  background: var(--dd-ivory);
  color: var(--dd-gold-dark);
  font-family: "Amiri", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.dd-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.dd-brand-text strong {
  color: var(--dd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.dd-brand-text small {
  margin-top: 4px;
  color: var(--dd-muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dd-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 21px;
}

.dd-nav > a,
.dd-nav-dropdown > a {
  color: var(--dd-charcoal);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.dd-nav > a:hover,
.dd-nav-dropdown > a:hover,
.dd-nav a[aria-current="page"] {
  color: var(--dd-gold-dark);
}

.dd-nav .dd-nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--dd-gold);
  border-radius: 3px;
  background: var(--dd-gold);
  color: #211d14;
  white-space: nowrap;
}

.dd-nav .dd-nav-cta:hover {
  border-color: var(--dd-gold-dark);
  background: var(--dd-gold-dark);
  color: var(--dd-white);
}

.dd-nav-dropdown {
  position: relative;
}

.dd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px;
  margin-top: 14px;
  border: 1px solid var(--dd-border);
  border-radius: 7px;
  background: var(--dd-white);
  box-shadow: var(--dd-shadow);
}

.dd-nav-dropdown:hover .dd-dropdown-menu,
.dd-nav-dropdown:focus-within .dd-dropdown-menu {
  display: flex;
}

.dd-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--dd-text);
  font-size: 13px;
}

.dd-dropdown-menu a:hover {
  background: var(--dd-ivory);
  color: var(--dd-gold-dark);
}

.dd-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--dd-border);
  border-radius: 5px;
  background: var(--dd-white);
  cursor: pointer;
}

.dd-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--dd-charcoal);
}

/* HERO */

.dd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 85px 0 90px;
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 173, 88, 0.16), transparent 28%),
    linear-gradient(120deg, #faf7ef 0%, #fffdf8 57%, #f3ead7 100%);
}

.dd-hero-pattern {
  position: absolute;
  z-index: -1;
  top: -125px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(184, 141, 55, 0.16);
  border-radius: 50%;
}

.dd-hero-pattern::before,
.dd-hero-pattern::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(184, 141, 55, 0.14);
  border-radius: 50%;
}

.dd-hero-pattern::before {
  inset: 35px;
}

.dd-hero-pattern::after {
  inset: 75px;
}

.dd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 75px;
}

.dd-eyebrow,
.dd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--dd-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
  text-transform: uppercase;
}

.dd-eyebrow {
  margin-bottom: 22px;
}

.dd-eyebrow-line {
  width: 30px;
  height: 1px;
  background: var(--dd-gold-dark);
}

.dd-hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(39px, 5vw, 62px);
  letter-spacing: -1.3px;
}

.dd-hero-lead {
  max-width: 590px;
  margin-bottom: 29px;
  color: #666056;
  font-size: 16px;
  line-height: 1.95;
}

.dd-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.dd-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.dd-btn:hover {
  transform: translateY(-2px);
}

.dd-btn-gold {
  border-color: var(--dd-gold);
  background: var(--dd-gold);
  color: #211d14 !important;
}

.dd-btn-gold:hover {
  border-color: var(--dd-gold-dark);
  background: var(--dd-gold-dark);
  color: var(--dd-white) !important;
}

.dd-btn-outline {
  border-color: #d9d0bf;
  background: transparent;
  color: var(--dd-charcoal) !important;
}

.dd-btn-outline:hover {
  border-color: var(--dd-gold-dark);
  background: var(--dd-white);
}

.dd-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.dd-hero-note > span {
  color: var(--dd-gold-dark);
  font-size: 20px;
}

.dd-hero-note p {
  margin-bottom: 0;
  color: var(--dd-muted);
  font-size: 12px;
}

.dd-hero-art {
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.dd-art-frame {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px 27px;
  border: 1px solid rgba(184, 141, 55, 0.5);
  border-radius: 180px 180px 8px 8px;
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, 0.19), transparent 48%),
    linear-gradient(145deg, #f6eddb, #e9d9b9);
  box-shadow: 18px 18px 0 rgba(214, 173, 88, 0.15);
}

.dd-art-decoration {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(184, 141, 55, 0.24);
  border-radius: 50%;
}

.dd-art-decoration-one {
  width: 250px;
  height: 250px;
}

.dd-art-decoration-two {
  width: 330px;
  height: 330px;
}

.dd-art-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dd-art-label {
  display: block;
  margin-bottom: 27px;
  color: var(--dd-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.dd-art-arabic {
  display: block;
  color: var(--dd-green);
  font-family: "Amiri", Georgia, serif;
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.9;
}

.dd-art-divider {
  display: block;
  width: 58px;
  height: 2px;
  margin: 20px auto;
  background: var(--dd-gold-dark);
}

.dd-art-content p {
  margin-bottom: 7px;
  color: var(--dd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
}

.dd-art-content small {
  color: var(--dd-muted);
  font-size: 11px;
}

/* QUICK ANSWER */

.dd-quick-answer {
  padding: 0 0 30px;
}

.dd-answer-card {
  display: grid;
  grid-template-columns: 65px 1fr;
  align-items: start;
  gap: 24px;
  padding: 33px 36px;
  border: 1px solid var(--dd-border);
  border-left: 4px solid var(--dd-gold);
  border-radius: 5px;
  background: var(--dd-white);
}

.dd-answer-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dd-ivory);
  color: var(--dd-gold-dark);
  font-family: "Amiri", Georgia, serif;
  font-size: 34px;
}

.dd-answer-card .dd-kicker {
  margin-bottom: 8px;
}

.dd-answer-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.dd-answer-card p {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.95;
}

/* SECTION BASE */

.dd-section {
  padding: 85px 0;
}

.dd-two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 75px;
}

.dd-intro h2,
.dd-learning-copy h2 {
  margin: 16px 0 22px;
  font-size: clamp(32px, 3.7vw, 44px);
}

.dd-gold-rule {
  width: 70px;
  height: 3px;
  background: var(--dd-gold);
}

.dd-intro-copy p {
  margin-bottom: 17px;
  color: var(--dd-text);
  font-size: 14px;
  line-height: 2;
}

.dd-intro-copy p:last-child {
  margin-bottom: 0;
}

.dd-intro-copy a,
.dd-faq-answer a {
  color: var(--dd-gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dd-section-heading {
  max-width: 740px;
  margin: 0 auto 36px;
  text-align: center;
}

.dd-section-heading .dd-kicker {
  margin-bottom: 13px;
}

.dd-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 43px);
}

.dd-section-heading > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* DUA COLLECTION */

.dd-duas-section {
  background: var(--dd-ivory);
}

.dd-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.dd-filter {
  padding: 10px 17px;
  border: 1px solid var(--dd-border);
  border-radius: 30px;
  background: var(--dd-white);
  color: var(--dd-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dd-filter:hover,
.dd-filter.active {
  border-color: var(--dd-gold);
  background: var(--dd-gold);
  color: #211d14;
}

.dd-dua-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dd-dua-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--dd-border);
  border-radius: 5px;
  background: var(--dd-white);
  box-shadow: 0 8px 28px rgba(48, 39, 20, 0.025);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dd-dua-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 141, 55, 0.65);
  box-shadow: var(--dd-shadow);
}

.dd-dua-card[hidden] {
  display: none !important;
}

.dd-dua-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dd-dua-category {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--dd-ivory);
  color: var(--dd-gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.dd-dua-number {
  color: #c9bda7;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
}

.dd-dua-card h3 {
  margin-bottom: 20px;
  font-size: 23px;
}

.dd-arabic {
  margin: 0 0 23px;
  padding: 24px 16px;
  border: 1px solid #eee5d5;
  border-radius: 4px;
  background: #fbf8f1;
  color: var(--dd-green-dark);
  font-family: "Amiri", Georgia, serif;
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 2;
  text-align: center;
}

.dd-dua-detail {
  margin-bottom: 17px;
}

.dd-detail-label {
  display: block;
  margin-bottom: 5px;
  color: var(--dd-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dd-dua-detail p {
  margin-bottom: 0;
  color: var(--dd-text);
  font-size: 13px;
  line-height: 1.9;
}

.dd-source {
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid #eee8dd;
  color: var(--dd-muted);
  font-size: 11px;
  line-height: 1.8;
}

.dd-source strong {
  color: var(--dd-charcoal);
}

.dd-disclaimer {
  margin: 28px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--dd-border);
  border-radius: 4px;
  background: var(--dd-white);
  color: var(--dd-muted);
  font-size: 12px;
  line-height: 1.9;
}

.dd-disclaimer strong {
  color: var(--dd-charcoal);
}

/* LEARNING SECTION */

.dd-learning-section {
  background: var(--dd-cream);
}

.dd-learning-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.dd-learning-copy > p {
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.9;
}

.dd-check-list {
  display: grid;
  gap: 17px;
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.dd-check-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 12px;
}

.dd-check-list li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--dd-gold-pale);
  color: var(--dd-gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.dd-check-list p {
  margin-bottom: 0;
  color: var(--dd-muted);
  font-size: 13px;
  line-height: 1.9;
}

.dd-check-list strong {
  color: var(--dd-charcoal);
}

.dd-learning-panel {
  position: relative;
  overflow: hidden;
  padding: 42px 35px;
  border: 1px solid rgba(184, 141, 55, 0.35);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 10%, rgba(214, 173, 88, 0.16), transparent 50%),
    #f3ead7;
  text-align: center;
}

.dd-panel-symbol {
  display: block;
  color: var(--dd-green);
  font-family: "Amiri", Georgia, serif;
  font-size: 58px;
  line-height: 1.6;
}

.dd-panel-line {
  display: block;
  width: 55px;
  height: 2px;
  margin: 15px auto 22px;
  background: var(--dd-gold-dark);
}

.dd-learning-panel h3 {
  margin-bottom: 13px;
  font-size: 27px;
}

.dd-learning-panel p {
  margin-bottom: 23px;
  color: var(--dd-muted);
  font-size: 13px;
  line-height: 1.9;
}

.dd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dd-gold-dark) !important;
  font-size: 12px;
  font-weight: 700;
}

.dd-text-link:hover {
  gap: 15px;
}

/* RELATED COURSES */

.dd-related-section {
  background: var(--dd-ivory);
}

.dd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.dd-related-card {
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  align-items: center;
  gap: 15px;
  padding: 21px;
  border: 1px solid var(--dd-border);
  border-radius: 5px;
  background: var(--dd-white);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dd-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--dd-gold);
  box-shadow: 0 10px 28px rgba(48, 39, 20, 0.06);
}

.dd-related-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dd-cream);
  color: var(--dd-gold-dark);
  font-family: "Amiri", Georgia, serif;
  font-size: 21px;
  text-align: center;
}

.dd-related-card strong,
.dd-related-card small {
  display: block;
}

.dd-related-card strong {
  margin-bottom: 5px;
  color: var(--dd-charcoal);
  font-size: 13px;
}

.dd-related-card small {
  color: var(--dd-muted);
  font-size: 11px;
  line-height: 1.8;
}

.dd-related-arrow {
  color: var(--dd-gold-dark);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.dd-related-card:hover .dd-related-arrow {
  transform: translate(3px, -3px);
}

/* FAQ */

.dd-faq-section {
  background: var(--dd-cream);
}

.dd-faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 70px;
}

.dd-faq-intro h2 {
  margin: 16px 0;
  font-size: clamp(31px, 3.5vw, 41px);
}

.dd-faq-intro > p {
  margin-bottom: 25px;
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.9;
}

.dd-contact-box {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 19px;
  border: 1px solid var(--dd-border);
  border-radius: 5px;
  background: var(--dd-white);
}

.dd-contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dd-gold-pale);
  color: var(--dd-gold-dark);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.dd-contact-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dd-charcoal);
  font-size: 13px;
}

.dd-contact-box p {
  margin-bottom: 7px;
  color: var(--dd-muted);
  font-size: 12px;
}

.dd-contact-box a {
  color: var(--dd-gold-dark);
  font-size: 12px;
  font-weight: 700;
}





/* FOOTER */

.dd-footer {
  padding: 55px 0 0;
  border-top: 1px solid var(--dd-border);
  background: #f3efe5;
}

.dd-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 42px;
}

.dd-footer-logo {
  margin-bottom: 19px;
}

.dd-footer-brand > p,
.dd-footer-column > p {
  max-width: 310px;
  margin-bottom: 0;
  color: var(--dd-muted);
  font-size: 12px;
  line-height: 1.9;
}

.dd-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.dd-footer-column h2 {
  margin-bottom: 7px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.dd-footer-column a {
  color: var(--dd-muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.dd-footer-column a:hover,
.dd-footer-bottom a:hover {
  color: var(--dd-gold-dark);
}

.dd-footer-column .dd-footer-contact-link {
  margin-top: 5px;
  color: var(--dd-gold-dark);
  font-weight: 700;
}

.dd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 19px;
  border-top: 1px solid #ded5c5;
}

.dd-footer-bottom p,
.dd-footer-bottom a {
  margin: 0;
  color: var(--dd-muted);
  font-size: 11px;
}

/* TABLET */

@media (max-width: 1024px) {
  .dd-container {
    width: min(100% - 40px, 900px);
  }

  .dd-header-inner {
    gap: 14px;
  }

  .dd-nav {
    gap: 12px;
  }

  .dd-nav > a,
  .dd-nav-dropdown > a {
    font-size: 11px;
  }

  .dd-brand-text strong {
    font-size: 13px;
  }

  .dd-hero-grid {
    gap: 40px;
  }

  .dd-hero h1 {
    font-size: clamp(36px, 5vw, 52px);
  }

  .dd-two-column,
  .dd-learning-grid {
    gap: 45px;
  }

  .dd-faq-layout {
    gap: 40px;
  }

  .dd-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }

  .dd-footer-column:last-child {
    grid-column: 2 / 4;
  }
}

/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  .dd-container {
    width: calc(100% - 36px);
  }

  .dd-header-inner {
    min-height: 75px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .dd-brand {
    gap: 9px;
  }

  .dd-brand-mark {
    width: 41px;
    height: 41px;
    font-size: 25px;
  }

  .dd-brand-text strong {
    max-width: 235px;
    font-size: 13px;
  }

  .dd-brand-text small {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .dd-menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .dd-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 5px;
    border-top: 1px solid var(--dd-border);
  }

  .dd-nav.dd-nav-open {
    display: flex;
  }

  .dd-nav > a,
  .dd-nav-dropdown > a {
    display: block;
    padding: 12px 5px;
    font-size: 14px;
  }

  .dd-nav .dd-nav-cta {
    display: inline-flex;
    justify-content: center;
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 18px;
  }

  .dd-nav-dropdown {
    width: 100%;
  }

  .dd-dropdown-menu {
    position: static;
    min-width: 0;
    display: flex;
    gap: 0;
    padding: 4px 0 7px 12px;
    margin-top: 0;
    border: 0;
    border-left: 2px solid var(--dd-gold);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .dd-dropdown-menu a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .dd-hero {
    padding: 58px 0 65px;
  }

  .dd-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dd-hero-content {
    text-align: center;
  }

  .dd-eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .dd-hero h1 {
    max-width: 600px;
    margin-inline: auto;
    font-size: clamp(34px, 8vw, 48px);
    letter-spacing: -0.6px;
  }

  .dd-hero-lead {
    margin-inline: auto;
    font-size: 15px;
  }

  .dd-hero-actions {
    justify-content: center;
  }

  .dd-hero-note {
    justify-content: center;
  }

  .dd-hero-art {
    width: min(100%, 400px);
    justify-self: center;
  }

  .dd-art-frame {
    min-height: 350px;
  }

  .dd-quick-answer {
    padding-bottom: 20px;
  }

  .dd-answer-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 25px 22px;
  }

  .dd-answer-icon {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .dd-answer-card h2 {
    font-size: 24px;
  }

  .dd-section {
    padding: 62px 0;
  }

  .dd-two-column,
  .dd-learning-grid,
  .dd-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dd-intro h2,
  .dd-learning-copy h2,
  .dd-faq-intro h2 {
    font-size: 34px;
  }

  .dd-section-heading {
    margin-bottom: 30px;
  }

  .dd-section-heading h2 {
    font-size: 32px;
  }

  .dd-filter-bar {
    justify-content: flex-start;
    gap: 8px;
  }

  .dd-filter {
    padding: 9px 13px;
    font-size: 11px;
  }

  .dd-dua-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dd-dua-card {
    padding: 23px 20px;
  }

  .dd-dua-card h3 {
    font-size: 22px;
  }

  .dd-arabic {
    padding: 22px 13px;
    font-size: clamp(25px, 6vw, 32px);
  }

  .dd-learning-panel {
    padding: 35px 24px;
  }

  .dd-related-grid {
    grid-template-columns: 1fr;
  }

  .dd-related-card {
    padding: 17px;
    gap: 12px;
  }

  .dd-faq-layout {
    gap: 28px;
  }


  

  .dd-final-decoration {
    right: -5%;
    font-size: 240px;
  }

  .dd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .dd-footer-brand {
    grid-column: 1 / -1;
  }

  .dd-footer-column:last-child {
    grid-column: auto;
  }
}

/* SMALL PHONES */

@media (max-width: 420px) {
  .dd-container {
    width: calc(100% - 28px);
  }

  .dd-brand-text strong {
    max-width: 205px;
    font-size: 12px;
  }

  .dd-hero h1 {
    font-size: 33px;
  }

  .dd-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dd-hero-actions .dd-btn {
    width: 100%;
  }

  .dd-art-frame {
    min-height: 310px;
  }

  .dd-dua-card {
    padding: 20px 16px;
  }

  .dd-arabic {
    font-size: 25px;
  }

  .dd-related-card {
    grid-template-columns: 42px 1fr 15px;
    gap: 10px;
    padding: 14px;
  }

  .dd-related-icon {
    width: 41px;
    height: 41px;
    font-size: 18px;
  }

  .dd-related-card strong {
    font-size: 12px;
  }

  .dd-related-card small {
    font-size: 10px;
  }

  .dd-footer-grid {
    grid-template-columns: 1fr;
  }

  .dd-footer-brand,
  .dd-footer-column:last-child {
    grid-column: auto;
  }

  .dd-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .daily-duas-page *,
  .daily-duas-page *::before,
  .daily-duas-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Fee Details Page
   File: fee-deatils.css
   Champagne Gold + Warm Ivory + Charcoal
   ========================================================= */

.fee-details-page {
  --fd-gold: #d6ad58;
  --fd-gold-dark: #b88d37;
  --fd-gold-light: #f3e7ca;
  --fd-ivory: #faf7ef;
  --fd-cream: #fffdf8;
  --fd-white: #ffffff;
  --fd-charcoal: #24231f;
  --fd-text: #504c43;
  --fd-muted: #797368;
  --fd-border: #e8e0d1;
  --fd-green: #104c3b;
  --fd-green-dark: #093a2d;
  --fd-shadow: 0 16px 45px rgba(48, 39, 20, 0.08);

  background: var(--fd-cream);
  color: var(--fd-text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.fee-details-page *,
.fee-details-page *::before,
.fee-details-page *::after {
  box-sizing: border-box;
}

.fee-details-page a {
  color: inherit;
  text-decoration: none;
}

.fee-details-page h1,
.fee-details-page h2,
.fee-details-page h3 {
  margin-top: 0;
  color: var(--fd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.23;
}

.fee-details-page p {
  margin-top: 0;
}

.fee-details-page button {
  font: inherit;
}

.fee-details-page a:focus-visible,
.fee-details-page button:focus-visible,
.fee-details-page summary:focus-visible {
  outline: 3px solid var(--fd-gold-dark);
  outline-offset: 4px;
}

.fd-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER */

.fee-details-page .site-header {
  position: relative;
  z-index: 100;
}

.fd-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.fd-brand-mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fd-gold);
  border-radius: 50%;
  background: var(--fd-ivory);
  color: var(--fd-gold-dark);
  font-family: "Amiri", Georgia, serif;
  font-size: 29px;
  line-height: 1;
}

.fd-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.fd-brand-text strong {
  color: var(--fd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.fd-brand-text small {
  margin-top: 4px;
  color: var(--fd-muted);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.fd-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.fd-nav > a,
.fd-nav-dropdown > a {
  color: var(--fd-charcoal);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.fd-nav > a:hover,
.fd-nav-dropdown > a:hover,
.fd-nav a[aria-current="page"] {
  color: var(--fd-gold-dark);
}

.fd-nav .fd-nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--fd-gold);
  border-radius: 3px;
  background: var(--fd-gold);
  color: #211d14;
  white-space: nowrap;
}

.fd-nav .fd-nav-cta:hover {
  border-color: var(--fd-gold-dark);
  background: var(--fd-gold-dark);
  color: var(--fd-white);
}

.fd-nav-dropdown {
  position: relative;
}

.fd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 225px;
  display: none;
  flex-direction: column;
  padding: 12px;
  margin-top: 14px;
  border: 1px solid var(--fd-border);
  border-radius: 6px;
  background: var(--fd-white);
  box-shadow: var(--fd-shadow);
}

.fd-nav-dropdown:hover .fd-dropdown-menu,
.fd-nav-dropdown:focus-within .fd-dropdown-menu {
  display: flex;
}

.fd-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--fd-text);
  font-size: 13px;
}

.fd-dropdown-menu a:hover {
  background: var(--fd-ivory);
  color: var(--fd-gold-dark);
}

.fd-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--fd-border);
  border-radius: 5px;
  background: var(--fd-white);
  cursor: pointer;
}

.fd-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--fd-charcoal);
}

/* HERO */

.fd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0 80px;
  background:
    radial-gradient(circle at 87% 17%, rgba(214, 173, 88, 0.17), transparent 29%),
    linear-gradient(120deg, #faf7ef, #fffdf8 57%, #f1e5cd);
}

.fd-hero-decoration {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(184, 141, 55, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.fd-decoration-one {
  top: -190px;
  right: -90px;
  width: 520px;
  height: 520px;
}

.fd-decoration-two {
  top: -145px;
  right: -45px;
  width: 430px;
  height: 430px;
}

.fd-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.82fr;
  align-items: center;
  gap: 75px;
}

.fd-eyebrow,
.fd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fd-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.7;
  text-transform: uppercase;
}

.fd-eyebrow {
  margin-bottom: 21px;
}

.fd-eyebrow > span {
  width: 29px;
  height: 1px;
  background: var(--fd-gold-dark);
}

.fd-hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.3vw, 64px);
  letter-spacing: -1.4px;
}

.fd-hero h1 em {
  display: block;
  color: var(--fd-gold-dark);
  font-style: normal;
}

.fd-hero-lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: #686258;
  font-size: 15px;
  line-height: 2;
}

.fd-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.fd-btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.fd-btn:hover {
  transform: translateY(-2px);
}

.fd-btn-gold {
  border-color: var(--fd-gold);
  background: var(--fd-gold);
  color: #211d14 !important;
}

.fd-btn-gold:hover {
  border-color: var(--fd-gold-dark);
  background: var(--fd-gold-dark);
  color: var(--fd-white) !important;
}

.fd-btn-outline {
  border-color: #d8cebc;
  background: transparent;
  color: var(--fd-charcoal) !important;
}

.fd-btn-outline:hover {
  border-color: var(--fd-gold-dark);
  background: var(--fd-white);
}

.fd-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 25px;
}

.fd-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fd-muted);
  font-size: 10px;
}

.fd-hero-points b {
  color: var(--fd-gold-dark);
  font-size: 13px;
}

.fd-hero-visual {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.fd-hero-frame {
  position: relative;
  min-height: 365px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(184, 141, 55, 0.6);
  border-radius: 185px 185px 5px 5px;
  background:
    radial-gradient(circle at center, rgba(214, 173, 88, 0.18), transparent 52%),
    linear-gradient(145deg, #f5ecd9, #e9d8b8);
  box-shadow: 14px 14px 0 rgba(214, 173, 88, 0.15);
}

.fd-hero-inner-frame {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(184, 141, 55, 0.35);
  border-radius: 165px 165px 3px 3px;
  text-align: center;
}

.fd-hero-arabic {
  display: block;
  color: var(--fd-green);
  font-family: "Amiri", Georgia, serif;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 2;
}

.fd-hero-rule {
  width: 55px;
  height: 2px;
  margin: 18px 0;
  background: var(--fd-gold-dark);
}

.fd-hero-inner-frame p {
  margin-bottom: 8px;
  color: var(--fd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
}

.fd-hero-inner-frame small {
  color: var(--fd-muted);
  font-size: 10px;
}

.fd-visual-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--fd-gold-dark);
  border-style: solid;
}

.fd-corner-top {
  top: 20px;
  left: 20px;
  border-width: 1px 0 0 1px;
}

.fd-corner-bottom {
  right: 20px;
  bottom: 20px;
  border-width: 0 1px 1px 0;
}

.fd-visual-caption {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 86%;
  margin: -1px auto 0;
  padding: 17px 20px;
  border: 1px solid var(--fd-border);
  background: var(--fd-white);
  box-shadow: 0 8px 22px rgba(48, 39, 20, 0.05);
}

.fd-caption-icon {
  color: var(--fd-gold-dark);
  font-size: 23px;
}

.fd-visual-caption strong,
.fd-visual-caption small {
  display: block;
}

.fd-visual-caption strong {
  color: var(--fd-charcoal);
  font-size: 12px;
}

.fd-visual-caption small {
  margin-top: 3px;
  color: var(--fd-muted);
  font-size: 10px;
}

/* BENEFIT STRIP */

.fd-benefit-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--fd-border);
  background: var(--fd-white);
}

.fd-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 20px;
  border-right: 1px solid var(--fd-border);
}

.fd-benefit-item:first-child {
  padding-left: 0;
}

.fd-benefit-item:last-child {
  border-right: 0;
}

.fd-benefit-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--fd-gold);
  border-radius: 50%;
  color: var(--fd-gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
}

.fd-benefit-item strong,
.fd-benefit-item small {
  display: block;
}

.fd-benefit-item strong {
  margin-bottom: 3px;
  color: var(--fd-charcoal);
  font-size: 12px;
}

.fd-benefit-item small {
  color: var(--fd-muted);
  font-size: 10px;
  line-height: 1.7;
}

/* SECTION BASE */

.fd-section {
  padding: 82px 0;
}

.fd-section-heading {
  max-width: 740px;
  margin: 0 auto 35px;
  text-align: center;
}

.fd-section-heading .fd-kicker {
  margin-bottom: 13px;
}

.fd-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 43px);
}

.fd-section-heading > p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--fd-muted);
  font-size: 13px;
  line-height: 1.95;
}

/* PRICING */

.fd-plans-section {
  background: var(--fd-ivory);
}

.fd-pricing-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 16px 19px;
  border: 1px solid #e7d4a7;
  border-radius: 4px;
  background: #fffaf0;
}

.fd-notice-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--fd-gold-dark);
  border-radius: 50%;
  color: var(--fd-gold-dark);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.fd-pricing-notice p {
  margin-bottom: 0;
  color: #6c6048;
  font-size: 11px;
  line-height: 1.9;
}

.fd-pricing-notice strong {
  color: var(--fd-charcoal);
}

.fd-region-selector {
  margin: 0 auto 34px;
  text-align: center;
}

.fd-region-label {
  display: block;
  margin-bottom: 12px;
  color: var(--fd-charcoal);
  font-size: 12px;
  font-weight: 700;
}

.fd-region-tabs {
  display: inline-flex;
  align-items: stretch;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--fd-border);
  border-radius: 5px;
  background: var(--fd-white);
}

.fd-region-tab {
  min-width: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--fd-charcoal);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.fd-region-tab small {
  color: var(--fd-muted);
  font-size: 9px;
  font-weight: 500;
}

.fd-region-tab.active {
  border-color: var(--fd-gold);
  background: var(--fd-gold);
  color: #211d14;
}

.fd-region-tab.active small {
  color: #4d3d1e;
}

.fd-region-message {
  margin: 12px 0 0;
  color: var(--fd-muted);
  font-size: 11px;
}

.fd-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 17px;
}

.fd-plan-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 21px 22px;
  border: 1px solid var(--fd-border);
  border-radius: 5px;
  background: var(--fd-white);
  box-shadow: 0 8px 28px rgba(48, 39, 20, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fd-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 141, 55, 0.65);
  box-shadow: var(--fd-shadow);
}

.fd-plan-popular {
  border: 1.5px solid var(--fd-gold-dark);
  box-shadow: 0 10px 32px rgba(184, 141, 55, 0.12);
}

.fd-popular-ribbon {
  position: absolute;
  top: -1px;
  right: 17px;
  padding: 7px 10px;
  background: var(--fd-gold);
  color: #211d14;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.fd-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.fd-plan-label {
  color: var(--fd-gold-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.fd-plan-frequency {
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--fd-ivory);
  color: var(--fd-muted);
  font-size: 9px;
  font-weight: 600;
}

.fd-plan-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.fd-plan-description {
  min-height: 45px;
  margin-bottom: 18px;
  color: var(--fd-muted);
  font-size: 11px;
  line-height: 1.8;
}

.fd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.fd-price-amount {
  color: var(--fd-charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 2.8vw, 39px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.3;
}

.fd-price-amount.fd-price-unavailable {
  color: var(--fd-gold-dark);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.fd-price-period {
  color: var(--fd-muted);
  font-size: 11px;
}

.fd-class-count {
  margin: 8px 0 0;
  color: var(--fd-muted);
  font-size: 10px;
}

.fd-class-count span {
  color: var(--fd-gold-dark);
}

.fd-plan-divider {
  height: 1px;
  margin: 22px 0;
  background: var(--fd-border);
}

.fd-feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.fd-feature-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 8px;
  color: var(--fd-text);
  font-size: 10px;
  line-height: 1.8;
}

.fd-feature-list li span {
  color: var(--fd-gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.fd-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 12px;
  border: 1px solid var(--fd-gold);
  border-radius: 3px;
  background: transparent;
  color: var(--fd-charcoal) !important;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.fd-plan-btn:hover {
  border-color: var(--fd-gold);
  background: var(--fd-gold);
  color: #211d14 !important;
}

.fd-plan-popular .fd-plan-btn {
  border-color: var(--fd-gold);
  background: var(--fd-gold);
}

.fd-plan-popular .fd-plan-btn:hover {
  border-color: var(--fd-gold-dark);
  background: var(--fd-gold-dark);
  color: var(--fd-white) !important;
}

.fd-price-footnote {
  margin: 22px auto 0;
  color: var(--fd-muted);
  font-size: 10px;
  line-height: 1.9;
  text-align: center;
}

/* INCLUDED FEATURES */

.fd-included-section {
  background: var(--fd-cream);
}

.fd-included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fd-included-card {
  padding: 25px 22px;
  border: 1px solid var(--fd-border);
  border-radius: 4px;
  background: var(--fd-white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.fd-included-card:hover {
  transform: translateY(-3px);
  border-color: var(--fd-gold);
}

.fd-included-number {
  display: block;
  margin-bottom: 21px;
  color: var(--fd-gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
}

.fd-included-card h3 {
  margin-bottom: 11px;
  font-size: 19px;
}

.fd-included-card p {
  margin-bottom: 0;
  color: var(--fd-muted);
  font-size: 11px;
  line-height: 1.95;
}

/* PAYMENT INFORMATION */

.fd-payment-section {
  background: var(--fd-ivory);
}

.fd-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fd-payment-card {
  padding: 28px 25px;
  border: 1px solid var(--fd-border);
  border-radius: 5px;
  background: var(--fd-white);
  text-align: center;
}

.fd-payment-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid var(--fd-gold);
  border-radius: 50%;
  background: var(--fd-cream);
  color: var(--fd-gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
}

.fd-payment-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.fd-payment-card p {
  margin-bottom: 0;
  color: var(--fd-muted);
  font-size: 12px;
  line-height: 1.9;
}

.fd-payment-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 850px;
  margin: 24px auto 0;
  padding: 17px 20px;
  border: 1px solid var(--fd-border);
  border-radius: 4px;
  background: var(--fd-white);
}

.fd-payment-note-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--fd-gold-light);
  color: var(--fd-gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.fd-payment-note p {
  margin-bottom: 0;
  color: var(--fd-muted);
  font-size: 11px;
  line-height: 1.9;
}

/* FAQ */

.fd-faq-section {
  background: var(--fd-cream);
}

.fd-faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 65px;
}

.fd-faq-intro h2 {
  margin: 15px 0;
  font-size: clamp(31px, 3.6vw, 42px);
}

.fd-faq-intro > p {
  margin-bottom: 24px;
  color: var(--fd-muted);
  font-size: 13px;
  line-height: 1.9;
}

.fd-help-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--fd-border);
  border-radius: 5px;
  background: var(--fd-white);
}

.fd-help-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--fd-gold-light);
  color: var(--fd-gold-dark);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.fd-help-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--fd-charcoal);
  font-size: 12px;
}

.fd-help-card p {
  margin-bottom: 8px;
  color: var(--fd-muted);
  font-size: 11px;
}

.fd-help-card a {
  color: var(--fd-gold-dark);
  font-size: 11px;
  font-weight: 700;
}




/* FOOTER */

.fd-footer {
  padding: 52px 0 0;
  border-top: 1px solid var(--fd-border);
  background: #f3efe5;
}

.fd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 40px;
}

.fd-footer-brand > p,
.fd-footer-column > p {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--fd-muted);
  font-size: 11px;
  line-height: 1.95;
}

.fd-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.fd-footer-column h2 {
  margin-bottom: 6px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.fd-footer-column a {
  color: var(--fd-muted);
  font-size: 11px;
  transition: color 0.2s ease;
}

.fd-footer-column a:hover,
.fd-footer-bottom a:hover {
  color: var(--fd-gold-dark);
}

.fd-footer-column .fd-footer-contact {
  margin-top: 4px;
  color: var(--fd-gold-dark);
  font-weight: 700;
}

.fd-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid #ded5c5;
}

.fd-footer-bottom p,
.fd-footer-bottom a {
  margin: 0;
  color: var(--fd-muted);
  font-size: 10px;
}

/* TABLET */

@media (max-width: 1050px) {
  .fd-container {
    width: min(100% - 40px, 930px);
  }

  .fd-nav {
    gap: 12px;
  }

  .fd-nav > a,
  .fd-nav-dropdown > a {
    font-size: 11px;
  }

  .fd-brand-text strong {
    font-size: 13px;
  }

  .fd-hero-grid {
    gap: 40px;
  }

  .fd-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .fd-plan-card {
    padding: 27px 25px 24px;
  }

  .fd-price-amount {
    font-size: 38px;
  }

  .fd-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-faq-layout {
    gap: 38px;
  }

  .fd-footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 28px;
  }

  .fd-footer-column:last-child {
    grid-column: 2 / 4;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .fd-container {
    width: calc(100% - 36px);
  }

  .fd-header-inner {
    min-height: 75px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .fd-brand {
    gap: 9px;
  }

  .fd-brand-mark {
    width: 41px;
    height: 41px;
    font-size: 25px;
  }

  .fd-brand-text strong {
    max-width: 235px;
    font-size: 13px;
  }

  .fd-brand-text small {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .fd-menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .fd-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 5px;
    border-top: 1px solid var(--fd-border);
  }

  .fd-nav.fd-nav-open {
    display: flex;
  }

  .fd-nav > a,
  .fd-nav-dropdown > a {
    display: block;
    padding: 12px 5px;
    font-size: 14px;
  }

  .fd-nav .fd-nav-cta {
    display: inline-flex;
    justify-content: center;
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 18px;
  }

  .fd-nav-dropdown {
    width: 100%;
  }

  .fd-dropdown-menu {
    position: static;
    min-width: 0;
    display: flex;
    gap: 0;
    padding: 4px 0 7px 12px;
    margin-top: 0;
    border: 0;
    border-left: 2px solid var(--fd-gold);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .fd-dropdown-menu a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .fd-hero {
    padding: 56px 0 61px;
  }

  .fd-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fd-hero-copy {
    text-align: center;
  }

  .fd-eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .fd-hero h1 {
    margin-inline: auto;
    font-size: clamp(37px, 8vw, 49px);
    letter-spacing: -0.6px;
  }

  .fd-hero-lead {
    margin-inline: auto;
    font-size: 14px;
  }

  .fd-hero-actions {
    justify-content: center;
  }

  .fd-hero-points {
    justify-content: center;
    gap: 9px 14px;
  }

  .fd-hero-visual {
    width: min(100%, 390px);
    justify-self: center;
  }

  .fd-hero-frame {
    min-height: 335px;
  }

  .fd-hero-inner-frame {
    min-height: 275px;
  }

  .fd-benefit-grid {
    grid-template-columns: 1fr;
  }

  .fd-benefit-item,
  .fd-benefit-item:first-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--fd-border);
  }

  .fd-benefit-item:last-child {
    border-bottom: 0;
  }

  .fd-section {
    padding: 62px 0;
  }

  .fd-section-heading {
    margin-bottom: 29px;
  }

  .fd-section-heading h2 {
    font-size: 32px;
  }

  .fd-pricing-notice {
    padding: 14px;
  }

  .fd-region-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fd-region-tab {
    min-width: 0;
    padding: 10px 5px;
    font-size: 11px;
  }

  .fd-region-tab small {
    font-size: 8px;
  }

  .fd-plan-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .fd-plan-card {
    padding: 26px 23px 23px;
  }

  .fd-plan-description {
    min-height: 0;
  }

  .fd-price-amount {
    font-size: 38px;
  }

  .fd-feature-list li {
    font-size: 12px;
  }

  .fd-plan-btn {
    min-height: 47px;
    font-size: 12px;
  }

  .fd-included-grid,
  .fd-payment-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .fd-included-card {
    padding: 23px;
  }

  .fd-included-number {
    margin-bottom: 12px;
  }

  .fd-included-card p,
  .fd-payment-card p {
    font-size: 12px;
  }

  .fd-payment-card {
    padding: 25px 22px;
  }

  
  

  .fd-final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fd-final-actions .fd-btn {
    width: 100%;
  }

  .fd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .fd-footer-brand {
    grid-column: 1 / -1;
  }

  .fd-footer-column:last-child {
    grid-column: auto;
  }
}

/* SMALL PHONES */

@media (max-width: 420px) {
  .fd-container {
    width: calc(100% - 28px);
  }

  .fd-brand-text strong {
    max-width: 200px;
    font-size: 12px;
  }

  .fd-hero h1 {
    font-size: 35px;
  }

  .fd-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fd-hero-actions .fd-btn {
    width: 100%;
  }

  .fd-hero-frame {
    min-height: 300px;
    padding: 19px;
  }

  .fd-hero-inner-frame {
    min-height: 255px;
    padding: 17px;
  }

  .fd-hero-arabic {
    font-size: 27px;
  }

  .fd-visual-caption {
    width: 94%;
    padding: 14px;
  }

  .fd-section-heading h2 {
    font-size: 29px;
  }

  .fd-region-tab {
    font-size: 10px;
  }

  .fd-plan-card {
    padding: 23px 18px;
  }

  .fd-plan-top {
    gap: 7px;
  }

  .fd-plan-card h3 {
    font-size: 22px;
  }

  .fd-footer-grid {
    grid-template-columns: 1fr;
  }

  .fd-footer-brand,
  .fd-footer-column:last-child {
    grid-column: auto;
  }

  .fd-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .fee-details-page *,
  .fee-details-page *::before,
  .fee-details-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --ml-black: #101010;
  --ml-black-soft: #1b1a17;
  --ml-gold: #D6AD58;
  --ml-gold-dark: #a98030;
  --ml-ivory: #FAF7EF;
  --ml-white: #fffdf8;
  --ml-text: #29261f;
  --ml-muted: #70695e;
  --ml-border: #e5dccb;
}

.library-page {
  margin: 0;
  color: var(--ml-text);
  background: var(--ml-ivory);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.7;
}

.library-page *,
.library-page *::before,
.library-page *::after {
  box-sizing: border-box;
}

.library-page a {
  color: inherit;
  text-decoration: none;
}

.library-page button,
.library-page input {
  font: inherit;
}

.library-page [hidden] {
  display: none !important;
}

.ml-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.ml-header {
  position: relative;
  z-index: 20;
  background: var(--ml-black);
  border-bottom: 1px solid rgba(214, 173, 88, .4);
}

.ml-nav-wrap {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ml-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}

.ml-brand-mark {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ml-gold);
  border-radius: 50%;
  color: var(--ml-gold);
  font-size: 22px;
}

.ml-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.ml-nav a {
  color: #f5f0e7;
  font-size: 13px;
  transition: color .2s;
}

.ml-nav a:hover,
.ml-nav a[aria-current="page"] {
  color: var(--ml-gold);
}

.ml-nav .ml-nav-cta {
  padding: 10px 16px;
  color: var(--ml-black);
  background: var(--ml-gold);
  border-radius: 3px;
  font-weight: 700;
}

.ml-nav .ml-nav-cta:hover {
  color: var(--ml-black);
  background: #e8c77e;
}

.ml-menu-toggle {
  display: none;
  padding: 7px 12px;
  color: var(--ml-gold);
  background: transparent;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  cursor: pointer;
}

.ml-hero {
  position: relative;
  overflow: hidden;
  color: var(--ml-white);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(214,173,88,.18), transparent 40%),
    linear-gradient(130deg, #101010, #211d16 60%, #101010);
}

.ml-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -240px;
  border: 1px solid rgba(214,173,88,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(214,173,88,.04),
              0 0 0 70px rgba(214,173,88,.03);
  pointer-events: none;
}

.ml-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding-top: 95px;
  padding-bottom: 95px;
  text-align: center;
}

.ml-eyebrow {
  margin: 0 0 13px;
  color: var(--ml-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ml-hero h1,
.ml-intro h2,
.ml-section-heading h2,
.ml-how h2,
.ml-course-cta h2,
.ml-faq h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.22;
}

.ml-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  font-size: clamp(36px, 5.5vw, 61px);
  letter-spacing: -.8px;
}

.ml-hero-text {
  max-width: 760px;
  margin: auto;
  color: #e1dbcf;
  font-size: 16px;
}

.ml-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.ml-button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.ml-button:hover {
  transform: translateY(-2px);
}

.ml-button-gold {
  color: var(--ml-black) !important;
  background: var(--ml-gold);
}

.ml-button-gold:hover {
  background: #e8c77e;
}

.ml-button-outline {
  color: var(--ml-white) !important;
  background: transparent;
}

.ml-button-outline:hover {
  color: var(--ml-black) !important;
  background: var(--ml-gold);
}

.ml-small-note {
  margin-top: 20px;
  color: #c8c0b3;
  font-size: 12px;
}

.ml-intro {
  max-width: 900px;
  padding-top: 72px;
  padding-bottom: 60px;
  text-align: center;
}

.ml-intro h2,
.ml-section-heading h2,
.ml-how h2,
.ml-faq h2 {
  margin: 0 0 18px;
  color: var(--ml-black);
  font-size: clamp(29px, 4vw, 42px);
}

.ml-intro p:not(.ml-eyebrow),
.ml-section-heading > p:not(.ml-eyebrow) {
  color: var(--ml-muted);
  font-size: 14px;
}

.ml-library-section {
  padding: 70px 0 80px;
  background: #f1ecdf;
  border-top: 1px solid var(--ml-border);
  border-bottom: 1px solid var(--ml-border);
}

.ml-section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.ml-library-tools {
  margin-bottom: 30px;
  padding: 22px;
  background: var(--ml-white);
  border: 1px solid var(--ml-border);
  border-radius: 7px;
}

.ml-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ml-black);
  font-size: 13px;
  font-weight: 700;
}

#mlSearch {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  border: 1px solid #d5c9b4;
  border-radius: 4px;
  color: var(--ml-text);
  background: white;
  outline: none;
}

#mlSearch:focus {
  border-color: var(--ml-gold-dark);
  box-shadow: 0 0 0 3px rgba(214,173,88,.2);
}

.ml-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.ml-filter {
  padding: 8px 13px;
  border: 1px solid #ded4c2;
  border-radius: 30px;
  color: #494238;
  background: var(--ml-white);
  font-size: 12px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ml-filter:hover,
.ml-filter.active {
  border-color: var(--ml-black);
  color: var(--ml-gold);
  background: var(--ml-black);
}

.ml-results-count {
  margin: 14px 0 0;
  color: var(--ml-muted);
  font-size: 12px;
}

.ml-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ml-resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  background: var(--ml-white);
  border: 1px solid var(--ml-border);
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(36,28,15,.035);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.ml-resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--ml-gold);
  box-shadow: 0 12px 28px rgba(36,28,15,.08);
}

.ml-card-icon {
  min-width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 7px;
  border: 1px solid #e5d2a5;
  border-radius: 50%;
  color: #8d6822;
  background: #faf1dc;
  font-size: 17px;
  text-align: center;
}

.ml-category {
  margin-bottom: 8px;
  color: #8a6829;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.ml-resource-card h3 {
  margin: 0 0 10px;
  color: var(--ml-black);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.35;
}

.ml-resource-card p {
  margin: 0 0 22px;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-download {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  color: var(--ml-black) !important;
  background: #fff9eb;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background .2s;
}

.ml-download:hover {
  background: var(--ml-gold);
}

.ml-no-results {
  margin-top: 25px;
  padding: 30px;
  border: 1px dashed #cbbd9e;
  text-align: center;
}

.ml-no-results h3 {
  margin-top: 0;
}

.ml-how {
  padding-top: 75px;
  padding-bottom: 75px;
  text-align: center;
}

.ml-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
  text-align: left;
}

.ml-step {
  padding: 25px;
  border-top: 2px solid var(--ml-gold);
  background: var(--ml-white);
  box-shadow: 0 5px 22px rgba(25,20,12,.04);
}

.ml-step > span {
  color: var(--ml-gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
}

.ml-step h3 {
  margin: 8px 0;
  color: var(--ml-black);
  font-size: 18px;
}

.ml-step p {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-course-cta {
  padding: 75px 0;
  color: var(--ml-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(214,173,88,.12), transparent 35%),
    var(--ml-black);
}

.ml-cta-inner {
  max-width: 850px;
  text-align: center;
}

.ml-course-cta h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4vw, 44px);
}

.ml-course-cta p:not(.ml-eyebrow) {
  color: #d5cec2;
  font-size: 15px;
}

.ml-faq {
  max-width: 900px;
  padding-top: 75px;
  padding-bottom: 85px;
}

.ml-faq > .ml-eyebrow,
.ml-faq > h2 {
  text-align: center;
}

.ml-faq details {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--ml-border);
  border-radius: 5px;
  background: var(--ml-white);
}

.ml-faq summary {
  color: var(--ml-black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ml-faq summary::marker {
  color: var(--ml-gold-dark);
}

.ml-faq details p {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-faq details a {
  color: #8a6829;
  text-decoration: underline;
}

.ml-footer {
  color: #ded8cc;
  background: #0c0c0c;
  border-top: 1px solid rgba(214,173,88,.45);
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 35px;
  padding-top: 55px;
  padding-bottom: 45px;
}

.ml-footer-brand {
  margin-bottom: 12px;
}

.ml-footer-grid p {
  max-width: 290px;
  color: #bcb4a6;
  font-size: 12px;
}

.ml-footer-grid h2 {
  margin: 0 0 14px;
  color: var(--ml-gold);
  font-size: 13px;
}

.ml-footer-grid > div:not(:first-child) a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #ded8cc;
  font-size: 12px;
}

.ml-footer-grid a:hover {
  color: var(--ml-gold);
}

.ml-footer-bottom {
  padding: 16px 20px;
  border-top: 1px solid #2b2924;
  text-align: center;
}

.ml-footer-bottom p {
  margin: 0;
  color: #bcb4a6;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .ml-nav { gap: 12px; }
  .ml-nav a { font-size: 12px; }
  .ml-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ml-nav-wrap {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .ml-brand {
    max-width: calc(100% - 58px);
    font-size: 10px;
    letter-spacing: .6px;
  }

  .ml-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 20px;
  }

  .ml-menu-toggle { display: block; }

  .ml-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0 0 15px;
  }

  .ml-nav.is-open { display: flex; }

  .ml-nav a {
    padding: 11px 5px;
    border-bottom: 1px solid #292720;
    font-size: 14px;
  }

  .ml-nav .ml-nav-cta {
    width: fit-content;
    margin-top: 10px;
    padding: 10px 15px;
  }

  .ml-hero-content {
    padding-top: 65px;
    padding-bottom: 68px;
  }

  .ml-hero-text { font-size: 15px; }
  .ml-intro { padding-top: 52px; padding-bottom: 42px; }
  .ml-library-section { padding: 50px 0; }
  .ml-library-tools { padding: 16px; }
  .ml-resource-grid, .ml-steps { grid-template-columns: 1fr; }
  .ml-resource-card { padding: 22px; }
  .ml-how, .ml-faq { padding-top: 52px; padding-bottom: 55px; }
  .ml-course-cta { padding: 55px 0; }
}

@media (max-width: 420px) {
  .ml-container, .ml-nav-wrap { width: calc(100% - 28px); }
  .ml-hero h1 { font-size: 34px; }
  .ml-hero-actions { flex-direction: column; }
  .ml-button { width: 100%; }
  .ml-filter-row { gap: 7px; }
  .ml-filter { padding: 7px 10px; font-size: 11px; }
  .ml-footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .library-page *,
  .library-page *::before,
  .library-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

:root {
  --ml-black: #101010;
  --ml-black-soft: #1b1a17;
  --ml-gold: #D6AD58;
  --ml-gold-dark: #a98030;
  --ml-ivory: #FAF7EF;
  --ml-white: #fffdf8;
  --ml-text: #29261f;
  --ml-muted: #70695e;
  --ml-border: #e5dccb;
}

.library-page {
  margin: 0;
  color: var(--ml-text);
  background: var(--ml-ivory);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.7;
}

.library-page *,
.library-page *::before,
.library-page *::after {
  box-sizing: border-box;
}

.library-page a {
  color: inherit;
  text-decoration: none;
}

.library-page button,
.library-page input {
  font: inherit;
}

.library-page [hidden] {
  display: none !important;
}

.ml-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.ml-header {
  position: relative;
  z-index: 20;
  background: var(--ml-black);
  border-bottom: 1px solid rgba(214, 173, 88, .4);
}

.ml-nav-wrap {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ml-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
}

.ml-brand-mark {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ml-gold);
  border-radius: 50%;
  color: var(--ml-gold);
  font-size: 22px;
}

.ml-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.ml-nav a {
  color: #f5f0e7;
  font-size: 13px;
  transition: color .2s;
}

.ml-nav a:hover,
.ml-nav a[aria-current="page"] {
  color: var(--ml-gold);
}

.ml-nav .ml-nav-cta {
  padding: 10px 16px;
  color: var(--ml-black);
  background: var(--ml-gold);
  border-radius: 3px;
  font-weight: 700;
}

.ml-nav .ml-nav-cta:hover {
  color: var(--ml-black);
  background: #e8c77e;
}

.ml-menu-toggle {
  display: none;
  padding: 7px 12px;
  color: var(--ml-gold);
  background: transparent;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  cursor: pointer;
}

.ml-hero {
  position: relative;
  overflow: hidden;
  color: var(--ml-white);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(214,173,88,.18), transparent 40%),
    linear-gradient(130deg, #101010, #211d16 60%, #101010);
}

.ml-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -240px;
  border: 1px solid rgba(214,173,88,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(214,173,88,.04),
              0 0 0 70px rgba(214,173,88,.03);
  pointer-events: none;
}

.ml-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding-top: 95px;
  padding-bottom: 95px;
  text-align: center;
}

.ml-eyebrow {
  margin: 0 0 13px;
  color: var(--ml-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ml-hero h1,
.ml-intro h2,
.ml-section-heading h2,
.ml-how h2,
.ml-course-cta h2,
.ml-faq h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.22;
}

.ml-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  font-size: clamp(36px, 5.5vw, 61px);
  letter-spacing: -.8px;
}

.ml-hero-text {
  max-width: 760px;
  margin: auto;
  color: #e1dbcf;
  font-size: 16px;
}

.ml-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.ml-button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.ml-button:hover {
  transform: translateY(-2px);
}

.ml-button-gold {
  color: var(--ml-black) !important;
  background: var(--ml-gold);
}

.ml-button-gold:hover {
  background: #e8c77e;
}

.ml-button-outline {
  color: var(--ml-white) !important;
  background: transparent;
}

.ml-button-outline:hover {
  color: var(--ml-black) !important;
  background: var(--ml-gold);
}

.ml-small-note {
  margin-top: 20px;
  color: #c8c0b3;
  font-size: 12px;
}

.ml-intro {
  max-width: 900px;
  padding-top: 72px;
  padding-bottom: 60px;
  text-align: center;
}

.ml-intro h2,
.ml-section-heading h2,
.ml-how h2,
.ml-faq h2 {
  margin: 0 0 18px;
  color: var(--ml-black);
  font-size: clamp(29px, 4vw, 42px);
}

.ml-intro p:not(.ml-eyebrow),
.ml-section-heading > p:not(.ml-eyebrow) {
  color: var(--ml-muted);
  font-size: 14px;
}

.ml-library-section {
  padding: 70px 0 80px;
  background: #f1ecdf;
  border-top: 1px solid var(--ml-border);
  border-bottom: 1px solid var(--ml-border);
}

.ml-section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.ml-library-tools {
  margin-bottom: 30px;
  padding: 22px;
  background: var(--ml-white);
  border: 1px solid var(--ml-border);
  border-radius: 7px;
}

.ml-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ml-black);
  font-size: 13px;
  font-weight: 700;
}

#mlSearch {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  border: 1px solid #d5c9b4;
  border-radius: 4px;
  color: var(--ml-text);
  background: white;
  outline: none;
}

#mlSearch:focus {
  border-color: var(--ml-gold-dark);
  box-shadow: 0 0 0 3px rgba(214,173,88,.2);
}

.ml-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.ml-filter {
  padding: 8px 13px;
  border: 1px solid #ded4c2;
  border-radius: 30px;
  color: #494238;
  background: var(--ml-white);
  font-size: 12px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ml-filter:hover,
.ml-filter.active {
  border-color: var(--ml-black);
  color: var(--ml-gold);
  background: var(--ml-black);
}

.ml-results-count {
  margin: 14px 0 0;
  color: var(--ml-muted);
  font-size: 12px;
}

.ml-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ml-resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  background: var(--ml-white);
  border: 1px solid var(--ml-border);
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(36,28,15,.035);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.ml-resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--ml-gold);
  box-shadow: 0 12px 28px rgba(36,28,15,.08);
}

.ml-card-icon {
  min-width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 7px;
  border: 1px solid #e5d2a5;
  border-radius: 50%;
  color: #8d6822;
  background: #faf1dc;
  font-size: 17px;
  text-align: center;
}

.ml-category {
  margin-bottom: 8px;
  color: #8a6829;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.ml-resource-card h3 {
  margin: 0 0 10px;
  color: var(--ml-black);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.35;
}

.ml-resource-card p {
  margin: 0 0 22px;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-download {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  border: 1px solid var(--ml-gold);
  border-radius: 3px;
  color: var(--ml-black) !important;
  background: #fff9eb;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: background .2s;
}

.ml-download:hover {
  background: var(--ml-gold);
}

.ml-no-results {
  margin-top: 25px;
  padding: 30px;
  border: 1px dashed #cbbd9e;
  text-align: center;
}

.ml-no-results h3 {
  margin-top: 0;
}

.ml-how {
  padding-top: 75px;
  padding-bottom: 75px;
  text-align: center;
}

.ml-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
  text-align: left;
}

.ml-step {
  padding: 25px;
  border-top: 2px solid var(--ml-gold);
  background: var(--ml-white);
  box-shadow: 0 5px 22px rgba(25,20,12,.04);
}

.ml-step > span {
  color: var(--ml-gold-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
}

.ml-step h3 {
  margin: 8px 0;
  color: var(--ml-black);
  font-size: 18px;
}

.ml-step p {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-course-cta {
  padding: 75px 0;
  color: var(--ml-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(214,173,88,.12), transparent 35%),
    var(--ml-black);
}

.ml-cta-inner {
  max-width: 850px;
  text-align: center;
}

.ml-course-cta h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4vw, 44px);
}

.ml-course-cta p:not(.ml-eyebrow) {
  color: #d5cec2;
  font-size: 15px;
}

.ml-faq {
  max-width: 900px;
  padding-top: 75px;
  padding-bottom: 85px;
}

.ml-faq > .ml-eyebrow,
.ml-faq > h2 {
  text-align: center;
}

.ml-faq details {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--ml-border);
  border-radius: 5px;
  background: var(--ml-white);
}

.ml-faq summary {
  color: var(--ml-black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ml-faq summary::marker {
  color: var(--ml-gold-dark);
}

.ml-faq details p {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-faq details a {
  color: #8a6829;
  text-decoration: underline;
}

.ml-footer {
  color: #ded8cc;
  background: #0c0c0c;
  border-top: 1px solid rgba(214,173,88,.45);
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 35px;
  padding-top: 55px;
  padding-bottom: 45px;
}

.ml-footer-brand {
  margin-bottom: 12px;
}

.ml-footer-grid p {
  max-width: 290px;
  color: #bcb4a6;
  font-size: 12px;
}

.ml-footer-grid h2 {
  margin: 0 0 14px;
  color: var(--ml-gold);
  font-size: 13px;
}

.ml-footer-grid > div:not(:first-child) a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #ded8cc;
  font-size: 12px;
}

.ml-footer-grid a:hover {
  color: var(--ml-gold);
}

.ml-footer-bottom {
  padding: 16px 20px;
  border-top: 1px solid #2b2924;
  text-align: center;
}

.ml-footer-bottom p {
  margin: 0;
  color: #bcb4a6;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .ml-nav { gap: 12px; }
  .ml-nav a { font-size: 12px; }
  .ml-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ml-nav-wrap {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .ml-brand {
    max-width: calc(100% - 58px);
    font-size: 10px;
    letter-spacing: .6px;
  }

  .ml-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 20px;
  }

  .ml-menu-toggle { display: block; }

  .ml-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0 0 15px;
  }

  .ml-nav.is-open { display: flex; }

  .ml-nav a {
    padding: 11px 5px;
    border-bottom: 1px solid #292720;
    font-size: 14px;
  }

  .ml-nav .ml-nav-cta {
    width: fit-content;
    margin-top: 10px;
    padding: 10px 15px;
  }

  .ml-hero-content {
    padding-top: 65px;
    padding-bottom: 68px;
  }

  .ml-hero-text { font-size: 15px; }
  .ml-intro { padding-top: 52px; padding-bottom: 42px; }
  .ml-library-section { padding: 50px 0; }
  .ml-library-tools { padding: 16px; }
  .ml-resource-grid, .ml-steps { grid-template-columns: 1fr; }
  .ml-resource-card { padding: 22px; }
  .ml-how, .ml-faq { padding-top: 52px; padding-bottom: 55px; }
  .ml-course-cta { padding: 55px 0; }
}

@media (max-width: 420px) {
  .ml-container, .ml-nav-wrap { width: calc(100% - 28px); }
  .ml-hero h1 { font-size: 34px; }
  .ml-hero-actions { flex-direction: column; }
  .ml-button { width: 100%; }
  .ml-filter-row { gap: 7px; }
  .ml-filter { padding: 7px 10px; font-size: 11px; }
  .ml-footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .library-page *,
  .library-page *::before,
  .library-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.qpdf-page {
    --gold: #D6AD58;
    --gold-dark: #B98D39;
    --black: #101010;
    --black-light: #191919;
    --ivory: #FAF7EF;
    --white: #FFFFFF;
    --text: #292929;
    --muted: #706C64;
    --border: #E6DECF;

    margin: 0;
    padding: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.7;
}

.qpdf-page *,
.qpdf-page *::before,
.qpdf-page *::after {
    box-sizing: border-box;
}

.qpdf-page img {
    max-width: 100%;
}

.qpdf-page a {
    transition: color 0.25s ease, background 0.25s ease;
}

.qpdf-container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.qpdf-page h1,
.qpdf-page h2,
.qpdf-page h3 {
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.25;
}

.qpdf-page h2 {
    margin: 0 0 20px;
    color: var(--black);
    font-size: clamp(28px, 4vw, 42px);
}

.qpdf-page p {
    margin-top: 0;
}

/* =========================================
   HEADER
   ========================================= */

.qpdf-header {
    position: relative;
    z-index: 100;
    background: var(--black);
    border-bottom: 1px solid rgba(214, 173, 88, 0.4);
}

.qpdf-nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.qpdf-logo {
    display: flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.qpdf-logo span {
    color: var(--gold);
}

.qpdf-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.qpdf-menu a {
    color: #F7F3EA;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.qpdf-menu a:hover {
    color: var(--gold);
}

.qpdf-menu .qpdf-nav-cta {
    padding: 11px 17px;
    border-radius: 3px;
    background: var(--gold);
    color: var(--black);
    font-weight: 700;
}

.qpdf-menu .qpdf-nav-cta:hover {
    background: #E6C779;
}

.qpdf-menu-button {
    display: none;
    padding: 7px 12px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: transparent;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */

.qpdf-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 88px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(214, 173, 88, 0.17),
            transparent 32%
        ),
        linear-gradient(135deg, #101010, #211D17);
    border-bottom: 4px solid var(--gold);
    color: var(--white);
    text-align: center;
}

.qpdf-hero::after {
    content: "۞";
    position: absolute;
    right: -20px;
    bottom: -150px;
    color: rgba(214, 173, 88, 0.06);
    font-size: clamp(250px, 35vw, 460px);
    pointer-events: none;
}

.qpdf-hero .qpdf-container {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

.qpdf-label {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.qpdf-hero h1 {
    max-width: 900px;
    margin: 0 auto 22px;
    color: var(--white);
    font-size: clamp(34px, 5vw, 59px);
    letter-spacing: -0.7px;
}

.qpdf-hero-text {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #E6E0D5;
    font-size: 16px;
}

.qpdf-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 5px;
    padding: 12px 24px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    background: var(--gold);
    color: var(--black) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qpdf-button:hover {
    background: #E8C979;
    border-color: #E8C979;
}

.qpdf-button-outline {
    background: transparent;
    color: var(--white) !important;
}

.qpdf-button-outline:hover {
    background: rgba(214, 173, 88, 0.12);
}

/* =========================================
   INTRODUCTION
   ========================================= */

.qpdf-section {
    padding: 75px 0;
}

.qpdf-intro {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
    gap: 55px;
}

.qpdf-intro > div:first-child p:not(.qpdf-label) {
    color: var(--muted);
    font-size: 15px;
}

.qpdf-intro a {
    color: #85601F;
    font-weight: 700;
    text-underline-offset: 4px;
}

.qpdf-intro-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: 5px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.qpdf-intro-card span {
    color: var(--gold-dark);
    font-size: 42px;
}

.qpdf-intro-card h3 {
    margin: 12px 0;
    color: var(--black);
    font-size: 24px;
}

.qpdf-intro-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   PDF LIBRARY
   ========================================= */

.qpdf-library {
    background: #F0EADF;
}

.qpdf-heading {
    max-width: 750px;
    margin: 0 auto 35px;
    text-align: center;
}

.qpdf-heading > p:last-child {
    color: var(--muted);
}

.qpdf-search {
    display: block;
    width: 100%;
    max-width: 700px;
    min-height: 54px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border: 1px solid #D7CBB8;
    border-radius: 4px;
    outline: none;
    background: var(--white);
    color: var(--black);
    font: inherit;
    font-size: 14px;
}

.qpdf-search:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(214, 173, 88, 0.18);
}

.qpdf-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 32px;
}

.qpdf-filters button {
    padding: 9px 16px;
    border: 1px solid #D5C8B4;
    border-radius: 30px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.qpdf-filters button:hover,
.qpdf-filters button.active {
    border-color: var(--black);
    background: var(--black);
    color: var(--gold);
}

.qpdf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.qpdf-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qpdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.qpdf-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid #E5D4AC;
    border-radius: 50%;
    background: #FBF4E5;
    color: #8C6827;
    font-size: 25px;
}

.qpdf-category {
    margin: 18px 0 8px;
    color: #896723;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.qpdf-card h3 {
    margin: 0 0 12px;
    color: var(--black);
    font-size: 22px;
}

.qpdf-card p {
    flex: 1;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.qpdf-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #EEE7DB;
    color: #79591F;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qpdf-card > a:hover {
    color: var(--black);
}

.qpdf-card[hidden] {
    display: none !important;
}

/* =========================================
   BLOGS AND ARTICLES
   ========================================= */

#quran-articles {
    background: var(--ivory);
}

#quran-articles .qpdf-heading {
    margin-bottom: 35px;
}

.qpdf-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.qpdf-article {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.qpdf-article:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.qpdf-article-label {
    margin-bottom: 13px;
    color: #896723;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.qpdf-article h3 {
    margin: 0 0 12px;
    color: var(--black);
    font-size: 22px;
}

.qpdf-article p {
    flex: 1;
    color: var(--muted);
    font-size: 13px;
}

.qpdf-article a {
    align-self: flex-start;
    margin-top: 10px;
    color: #79591F;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.qpdf-article a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================
   RESPONSIVE TABLETS
   ========================================= */

@media (max-width: 1000px) {
    .qpdf-menu-button {
        display: block;
    }

    .qpdf-nav {
        min-height: 75px;
    }

    .qpdf-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 4% 22px;
        border-bottom: 1px solid rgba(214, 173, 88, 0.35);
        background: var(--black);
    }

    .qpdf-menu.is-open {
        display: flex;
    }

    .qpdf-menu a {
        padding: 12px 0;
    }

    .qpdf-menu .qpdf-nav-cta {
        width: fit-content;
        padding: 10px 17px;
    }

    .qpdf-grid,
    .qpdf-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qpdf-intro {
        gap: 30px;
    }
}

/* =========================================
   RESPONSIVE MOBILE
   ========================================= */

@media (max-width: 650px) {
    .qpdf-container {
        width: 92%;
    }

    .qpdf-section {
        padding: 52px 0;
    }

    .qpdf-hero {
        padding: 62px 0 55px;
    }

    .qpdf-hero h1 {
        font-size: 34px;
    }

    .qpdf-hero-text {
        font-size: 14px;
    }

    .qpdf-intro,
    .qpdf-grid,
    .qpdf-article-grid {
        grid-template-columns: 1fr;
    }

    .qpdf-intro {
        gap: 25px;
    }

    .qpdf-card,
    .qpdf-article {
        padding: 23px;
    }

    .qpdf-filters {
        gap: 7px;
    }

    .qpdf-filters button {
        padding: 8px 11px;
        font-size: 11px;
    }

    .qpdf-button {
        width: 100%;
        margin: 5px 0;
    }

    .qpdf-logo {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .qpdf-intro-card {
        padding: 25px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .qpdf-page *,
    .qpdf-page *::before,
    .qpdf-page *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   Elite Quran Learning
   Noorani Qaida PDF Page
   Theme: Black + Champagne Gold + White
   ========================================================= */

:root {
  --nqp-black: #111111;
  --nqp-black-soft: #191919;
  --nqp-black-card: #202020;
  --nqp-gold: #D6AD58;
  --nqp-gold-dark: #B78D3D;
  --nqp-white: #FFFFFF;
  --nqp-ivory: #FAF8F3;
  --nqp-text: #292929;
  --nqp-muted: #696969;
  --nqp-border: #E7E2D7;
  --nqp-shadow: 0 16px 45px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--nqp-white);
  color: var(--nqp-text);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--nqp-gold);
  outline-offset: 4px;
}

.nqp-container {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

.nqp-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  padding: 14px max(22px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--nqp-black);
  border-bottom: 1px solid rgba(214, 173, 88, 0.28);
}

.nqp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--nqp-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  line-height: 1.6;
}

.nqp-brand strong {
  display: block;
  color: var(--nqp-gold);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.nqp-brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border: 1px solid var(--nqp-gold);
  border-radius: 50%;
  color: var(--nqp-gold);
  font-size: 26px;
}

.nqp-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
}

.nqp-nav > a {
  color: #EAEAEA;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nqp-nav > a:hover {
  color: var(--nqp-gold);
}

.nqp-nav .nqp-nav-cta {
  padding: 10px 16px;
  color: var(--nqp-black);
  background: var(--nqp-gold);
  border-radius: 3px;
}

.nqp-nav .nqp-nav-cta:hover {
  color: var(--nqp-black);
  background: #E8C879;
}

.nqp-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(214, 173, 88, 0.55);
  border-radius: 4px;
  cursor: pointer;
}

.nqp-menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--nqp-gold);
}

/* HERO */

.nqp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--nqp-black);
  color: var(--nqp-white);
}

.nqp-hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--nqp-gold) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, var(--nqp-gold) 49%, transparent 50%);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, #000 70%);
}

.nqp-hero-grid {
  min-height: 560px;
  padding-top: 70px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 55px;
}

.nqp-hero-copy {
  max-width: 650px;
}

.nqp-eyebrow,
.nqp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nqp-gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.7;
}

.nqp-hero .nqp-eyebrow {
  color: var(--nqp-gold);
}

.nqp-eyebrow > span {
  width: 24px;
  height: 2px;
  background: var(--nqp-gold);
}

.nqp-hero h1 {
  margin: 22px 0 20px;
  color: var(--nqp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(36px, 4.3vw, 57px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -1.1px;
}

.nqp-hero h1 span {
  display: block;
  margin-top: 9px;
  color: var(--nqp-gold);
}

.nqp-hero-description {
  max-width: 570px;
  margin: 0;
  color: #D2D2D2;
  font-size: 14px;
  line-height: 2;
}

.nqp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nqp-btn {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

.nqp-btn:hover {
  transform: translateY(-2px);
}

.nqp-btn-gold {
  background: var(--nqp-gold);
  color: var(--nqp-black);
}

.nqp-btn-gold:hover {
  background: #E8C879;
  color: var(--nqp-black);
}

.nqp-btn-outline {
  color: var(--nqp-white);
  border-color: rgba(214, 173, 88, 0.7);
  background: transparent;
}

.nqp-btn-outline:hover {
  color: var(--nqp-gold);
  background: rgba(214, 173, 88, 0.08);
}

.nqp-hero-note {
  margin-top: 23px;
  color: #C9C9C9;
  font-size: 11px;
}

.nqp-hero-note span {
  margin-right: 8px;
  color: var(--nqp-gold);
}

.nqp-cover-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nqp-cover-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.10);
  filter: blur(35px);
}

.nqp-book {
  position: relative;
  width: min(285px, 100%);
  min-height: 360px;
  padding: 12px;
  background: linear-gradient(125deg, #E9CA81, #B78D3D 35%, #F0D590 55%, #A77B30);
  box-shadow: 18px 24px 38px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.nqp-book-border {
  min-height: 336px;
  padding: 23px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 173, 88, 0.85);
  outline: 1px solid rgba(214, 173, 88, 0.6);
  outline-offset: -7px;
  background:
    radial-gradient(circle at 50% 25%, #292929, transparent 55%),
    #111111;
  color: var(--nqp-white);
  text-align: center;
}

.nqp-book-emblem {
  color: var(--nqp-gold);
  font-size: 46px;
  line-height: 1.2;
}

.nqp-book-kicker {
  margin-top: 10px;
  color: var(--nqp-gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.nqp-arabic {
  margin-top: 24px;
  color: #F0D590;
  font-family: Georgia, serif;
  font-size: 37px;
  line-height: 1.5;
}

.nqp-book-title {
  margin-top: 6px;
  color: var(--nqp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.nqp-book-rule {
  width: 75px;
  height: 1px;
  margin: 19px auto;
  background: var(--nqp-gold);
}

.nqp-book-border > p {
  max-width: 175px;
  color: #E5E5E5;
  font-size: 8px;
  letter-spacing: 1.3px;
}

.nqp-book-bottom {
  margin-top: 23px;
  color: var(--nqp-gold);
  font-size: 7px;
  letter-spacing: 1.4px;
}

.nqp-cover-caption {
  position: relative;
  margin: 28px 0 0;
  color: #D1D1D1;
  font-size: 11px;
  text-align: center;
}

/* BREADCRUMBS */

.nqp-breadcrumbs {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--nqp-border);
  color: var(--nqp-muted);
  font-size: 11px;
}

.nqp-breadcrumbs a:hover {
  color: var(--nqp-gold-dark);
}

.nqp-breadcrumbs span:last-child {
  color: var(--nqp-black);
  font-weight: 700;
}

/* CONTENT */

.nqp-section {
  padding: 82px 0;
}

.nqp-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 60px;
}

.nqp-article {
  min-width: 0;
}

.nqp-article h2,
.nqp-faq-intro h2 {
  margin: 12px 0 18px;
  color: var(--nqp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.45;
}

.nqp-article h2:not(:first-child) {
  margin-top: 48px;
}

.nqp-article > p {
  margin: 0 0 18px;
  color: #555555;
  font-size: 13px;
  line-height: 2.05;
}

.nqp-article strong {
  color: var(--nqp-black);
}

.nqp-topic-list {
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
}

.nqp-topic-list li {
  padding: 19px 0;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid var(--nqp-border);
}

.nqp-topic-list li > span {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--nqp-black);
  color: var(--nqp-gold);
  font-size: 11px;
  font-weight: 800;
}

.nqp-topic-list li > div {
  flex: 1;
  min-width: 0;
}

.nqp-topic-list strong {
  font-size: 13px;
}

.nqp-topic-list p {
  margin: 4px 0 0;
  color: var(--nqp-muted);
  font-size: 12px;
  line-height: 1.8;
}

.nqp-callout {
  margin: 34px 0;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-left: 3px solid var(--nqp-gold);
  background: var(--nqp-ivory);
}

.nqp-callout-icon {
  flex-shrink: 0;
  color: var(--nqp-gold-dark);
  font-size: 26px;
  line-height: 1.4;
}

.nqp-callout h3 {
  margin: 0 0 7px;
  color: var(--nqp-black);
  font-size: 14px;
}

.nqp-callout p {
  margin: 0 0 12px;
  color: #5B5B5B;
  font-size: 12px;
  line-height: 1.9;
}

.nqp-callout a,
.nqp-text-link {
  color: #8A651F;
  font-size: 12px;
  font-weight: 800;
}

.nqp-callout a:hover,
.nqp-text-link:hover {
  color: var(--nqp-black);
}

.nqp-download-panel {
  margin-top: 25px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--nqp-border);
  background: var(--nqp-white);
  box-shadow: 0 8px 25px rgba(17, 17, 17, 0.04);
}

.nqp-download-icon {
  width: 54px;
  height: 60px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--nqp-black);
  color: var(--nqp-gold);
  font-size: 13px;
  font-weight: 800;
}

.nqp-download-info {
  flex: 1;
  min-width: 0;
}

.nqp-download-info h3 {
  margin: 0 0 5px;
  color: var(--nqp-black);
  font-size: 13px;
  line-height: 1.6;
}

.nqp-download-info p {
  margin: 0;
  color: var(--nqp-muted);
  font-size: 11px;
}

.nqp-small-note {
  margin-top: 13px !important;
  font-size: 11px !important;
}

/* SIDEBAR */

.nqp-sidebar {
  display: grid;
  gap: 22px;
}

.nqp-sidebar-card {
  padding: 25px 22px;
  border: 1px solid var(--nqp-border);
  background: var(--nqp-white);
}

.nqp-sidebar-card h3,
.nqp-sidebar-dark h3 {
  margin: 11px 0 20px;
  color: var(--nqp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
}

.nqp-sidebar-card > a {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--nqp-border);
  color: #444444;
  font-size: 11px;
  font-weight: 700;
}

.nqp-sidebar-card > a > span {
  color: var(--nqp-gold-dark);
  font-size: 10px;
}

.nqp-sidebar-card > a b {
  margin-left: auto;
  color: var(--nqp-gold-dark);
}

.nqp-sidebar-card > a:hover {
  color: var(--nqp-gold-dark);
}

.nqp-sidebar-dark {
  padding: 29px 24px;
  background: var(--nqp-black);
  color: var(--nqp-white);
}

.nqp-sidebar-star {
  margin-bottom: 10px;
  color: var(--nqp-gold);
  font-size: 34px;
}

.nqp-sidebar-dark h3 {
  color: var(--nqp-white);
}

.nqp-sidebar-dark p {
  margin: 0 0 23px;
  color: #D2D2D2;
  font-size: 12px;
  line-height: 1.9;
}

.nqp-sidebar-dark .nqp-btn {
  width: 100%;
  padding-inline: 10px;
}

.nqp-related-links h3 {
  margin-top: 0;
  font-size: 17px;
}

/* OTHER PDF CARDS */

.nqp-resources {
  background: var(--nqp-ivory);
}

.nqp-section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.nqp-section-heading h2 {
  margin: 12px 0;
  color: var(--nqp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.45;
}

.nqp-section-heading > p {
  margin: 0;
  color: var(--nqp-muted);
  font-size: 13px;
  line-height: 1.9;
}

.nqp-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nqp-resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #E6E0D4;
  background: var(--nqp-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nqp-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nqp-shadow);
}

.nqp-resource-art {
  min-height: 175px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--nqp-black);
  color: var(--nqp-gold);
  text-align: center;
}

.nqp-art-symbol {
  font-family: Georgia, serif;
  font-size: 43px;
  line-height: 1.5;
}

.nqp-art-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
}

.nqp-art-dua {
  background: linear-gradient(135deg, #202020, #111111);
}

.nqp-art-prayer {
  background: linear-gradient(135deg, #2A2A2A, #111111);
}

.nqp-art-qaida {
  background: linear-gradient(135deg, #1B1B1B, #34302A);
}

.nqp-art-kalima {
  background: linear-gradient(135deg, #2B261C, #111111);
}

.nqp-art-library {
  background: linear-gradient(135deg, #303030, #111111);
}

.nqp-resource-body {
  padding: 23px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.nqp-card-tag {
  color: #97702C;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.nqp-resource-body h3 {
  margin: 9px 0 10px;
  color: var(--nqp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.nqp-resource-body p {
  margin: 0 0 22px;
  color: var(--nqp-muted);
  font-size: 12px;
  line-height: 1.9;
}

.nqp-resource-body .nqp-text-link {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border-top: 1px solid var(--nqp-border);
}

.nqp-resource-body .nqp-text-link span {
  font-size: 16px;
}

.nqp-library-cta {
  margin-top: 42px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--nqp-black);
}

.nqp-library-cta h3 {
  margin: 7px 0;
  color: var(--nqp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}

.nqp-library-cta p {
  margin: 0;
  color: #CECECE;
  font-size: 12px;
}





/* FOOTER */

.nqp-footer {
  background: var(--nqp-black);
  color: var(--nqp-white);
}

.nqp-footer-grid {
  padding-top: 57px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 55px;
}

.nqp-footer-brand > p {
  max-width: 370px;
  margin: 20px 0 0;
  color: #C5C5C5;
  font-size: 12px;
  line-height: 2;
}

.nqp-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.nqp-footer-column h3 {
  margin: 0 0 9px;
  color: var(--nqp-gold);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.nqp-footer-column a {
  color: #CECECE;
  font-size: 11px;
  transition: color 0.2s ease;
}

.nqp-footer-column a:hover {
  color: var(--nqp-gold);
}

.nqp-footer-bottom {
  border-top: 1px solid rgba(214, 173, 88, 0.25);
}

.nqp-footer-bottom > .nqp-container {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.nqp-footer-bottom p,
.nqp-footer-bottom a {
  margin: 0;
  color: #BFBFBF;
  font-size: 10px;
}

.nqp-footer-bottom a:hover {
  color: var(--nqp-gold);
}

/* TABLET */

@media (max-width: 1000px) {
  .nqp-header {
    padding-inline: 22px;
  }

  .nqp-nav {
    gap: 14px;
  }

  .nqp-nav > a {
    font-size: 11px;
  }

  .nqp-hero-grid {
    gap: 30px;
  }

  .nqp-content-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .nqp-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nqp-faq-layout {
    gap: 35px;
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 760px) {
  .nqp-header {
    min-height: 73px;
    padding: 12px 20px;
  }

  .nqp-menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .nqp-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    border-top: 1px solid rgba(214, 173, 88, 0.3);
    background: var(--nqp-black);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  }

  .nqp-nav.nqp-nav-open {
    display: flex;
  }

  .nqp-nav > a {
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
  }

  .nqp-nav .nqp-nav-cta {
    margin-top: 12px;
    padding: 12px;
    text-align: center;
  }

  .nqp-hero-grid {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 55px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .nqp-hero h1 {
    font-size: clamp(34px, 8vw, 47px);
  }

  .nqp-hero-description {
    font-size: 13px;
  }

  .nqp-cover-area {
    padding-top: 5px;
  }

  .nqp-book {
    width: 250px;
    min-height: 320px;
  }

  .nqp-book-border {
    min-height: 296px;
  }

  .nqp-arabic {
    font-size: 32px;
  }

  .nqp-content-grid,
  .nqp-faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .nqp-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .nqp-sidebar-dark {
    grid-row: span 2;
  }

  .nqp-section {
    padding: 60px 0;
  }

  .nqp-library-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .nqp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }

  .nqp-footer-brand {
    grid-column: 1 / -1;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .nqp-container {
    width: calc(100% - 32px);
  }

  .nqp-header {
    padding-inline: 16px;
  }

  .nqp-brand {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .nqp-brand strong {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .nqp-brand-mark {
    width: 37px;
    height: 37px;
    font-size: 22px;
  }

  .nqp-hero-grid {
    padding-top: 43px;
    padding-bottom: 43px;
  }

  .nqp-hero h1 {
    font-size: 33px;
  }

  .nqp-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nqp-btn {
    width: 100%;
  }

  .nqp-breadcrumbs {
    gap: 7px;
    font-size: 10px;
  }

  .nqp-article h2,
  .nqp-faq-intro h2 {
    font-size: 25px;
  }

  .nqp-sidebar {
    grid-template-columns: 1fr;
  }

  .nqp-sidebar-dark {
    grid-row: auto;
  }

  .nqp-resource-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nqp-resource-art {
    min-height: 150px;
  }

  .nqp-download-panel {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 16px;
  }

  .nqp-download-info {
    align-self: center;
  }

  .nqp-download-panel .nqp-btn {
    flex-basis: 100%;
  }

  .nqp-callout {
    padding: 18px;
    gap: 12px;
  }

  .nqp-library-cta {
    padding: 24px 20px;
  }

  .nqp-library-cta h3 {
    font-size: 18px;
  }

  .nqp-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 35px;
  }

  .nqp-footer-brand {
    grid-column: auto;
  }

  .nqp-footer-bottom > .nqp-container {
    padding-block: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* =====================================================
   Elite Quran Learning
   Tajweed Guide | Black + Champagne Gold
   ===================================================== */

:root {
  --tg-black: #101010;
  --tg-black-soft: #171717;
  --tg-black-card: #1d1d1d;
  --tg-gold: #D6AD58;
  --tg-gold-deep: #b98e3d;
  --tg-ivory: #f7f2e8;
  --tg-muted: #bcb7ac;
  --tg-border: rgba(214, 173, 88, 0.24);
  --tg-container: 1180px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body.tajweed-guide-page {
  margin: 0;
  background: var(--tg-black);
  color: var(--tg-ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

.tajweed-guide-page *,
.tajweed-guide-page *::before,
.tajweed-guide-page *::after {
  box-sizing: border-box;
}

.tajweed-guide-page a {
  color: inherit;
  text-decoration: none;
}

.tajweed-guide-page button,
.tajweed-guide-page input {
  font: inherit;
}

.tajweed-guide-page p {
  margin-top: 0;
}

.tajweed-guide-page h1,
.tajweed-guide-page h2,
.tajweed-guide-page h3 {
  line-height: 1.18;
}

.tajweed-guide-page h1,
.tajweed-guide-page h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.035em;
}

.tajweed-guide-page h1 em,
.tajweed-guide-page h2 em {
  color: var(--tg-gold);
  font-style: normal;
}

.tg-container {
  width: min(var(--tg-container), calc(100% - 44px));
  margin-inline: auto;
}

.tg-section {
  padding: 96px 0;
}

.tg-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tg-gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin-bottom: 18px;
}

.tg-eyebrow span {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--tg-gold);
}

.tg-section-heading {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.tg-section-heading .tg-eyebrow {
  justify-content: center;
}

.tg-section-heading h2,
.tg-intro h2,
.tg-practice-panel h2,
.tg-faq-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.tg-section-heading > p:last-child {
  color: var(--tg-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* HEADER */

.tg-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(16, 16, 16, 0.97);
  border-bottom: 1px solid var(--tg-border);
  backdrop-filter: blur(14px);
}

.tg-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tg-ivory);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.tg-brand strong {
  display: block;
  color: var(--tg-gold);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.tg-brand-mark {
  color: var(--tg-gold);
  font-size: 2rem;
  line-height: 1;
}

.tg-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.tg-navigation > a {
  color: #e5e0d5;
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.tg-navigation > a:hover {
  color: var(--tg-gold);
}

.tg-navigation .tg-nav-cta {
  padding: 10px 16px;
  color: var(--tg-black);
  background: var(--tg-gold);
  border-radius: 3px;
  font-weight: 800;
}

.tg-navigation .tg-nav-cta:hover {
  background: #e4c47e;
  color: var(--tg-black);
}

.tg-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--tg-border);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
}

.tg-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--tg-gold);
}

/* BREADCRUMB */

.tg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #a9a397;
  font-size: 0.78rem;
}

.tg-breadcrumb a:hover,
.tg-breadcrumb [aria-current="page"] {
  color: var(--tg-gold);
}

/* HERO */

.tg-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--tg-border);
  background:
    radial-gradient(ellipse at 82% 45%, rgba(214, 173, 88, 0.11), transparent 36%),
    linear-gradient(115deg, #101010 0%, #151515 58%, #1b1914 100%);
}

.tg-hero-layout {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 50px;
  padding-top: 54px;
  padding-bottom: 66px;
}

.tg-hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.05;
}

.tg-hero-lead {
  max-width: 630px;
  color: #c8c2b7;
  font-size: 1.04rem;
  line-height: 1.85;
}

.tg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.tg-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.tg-button:hover {
  transform: translateY(-2px);
}

.tg-button-gold {
  color: var(--tg-black) !important;
  background: var(--tg-gold);
}

.tg-button-gold:hover {
  background: #e4c47e;
}

.tg-button-outline {
  color: var(--tg-ivory) !important;
  border-color: rgba(247, 242, 232, 0.35);
  background: transparent;
}

.tg-button-outline:hover {
  border-color: var(--tg-gold);
}

.tg-hero-note {
  color: #a9a397;
  font-size: 0.78rem;
}

.tg-hero-note span {
  color: var(--tg-gold);
  margin-right: 7px;
}

.tg-hero-art {
  min-height: 350px;
  display: grid;
  place-items: center;
  position: relative;
}

.tg-art-ring {
  position: absolute;
  width: min(340px, 80%);
  aspect-ratio: 1;
  border: 1px solid rgba(214, 173, 88, 0.55);
  border-radius: 50%;
}

.tg-ring-one {
  transform: rotate(28deg) scaleX(0.8);
}

.tg-ring-two {
  transform: rotate(-28deg) scaleX(0.8);
  border-style: dashed;
  opacity: 0.55;
}

.tg-art-center {
  position: relative;
  width: min(280px, 75%);
  aspect-ratio: 1;
  border: 1px solid var(--tg-gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle, #262117, #131313 68%);
  box-shadow: 0 0 70px rgba(214, 173, 88, 0.08);
  padding: 20px;
}

.tg-art-star {
  color: var(--tg-gold);
  font-size: 1.6rem;
}

.tg-art-center p {
  color: var(--tg-gold);
  font-family: "Amiri", serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin: 12px 0;
  line-height: 1.6;
}

.tg-art-rule {
  width: 42px;
  height: 1px;
  background: var(--tg-gold);
  margin-bottom: 12px;
}

.tg-art-center small {
  color: #c4bda9;
  font-size: 0.54rem;
  letter-spacing: 0.15em;
}

/* INTRODUCTION */

.tg-intro {
  background: #151515;
}

.tg-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  align-items: start;
}

.tg-intro h2 {
  max-width: 430px;
}

.tg-intro-text {
  color: #c5c0b5;
}

.tg-intro-text p:last-child {
  margin-bottom: 0;
}

/* RULE CARDS */

.tg-rules-section {
  background: var(--tg-black);
}

.tg-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tg-rule-card {
  min-width: 0;
  padding: 25px 22px 22px;
  background: linear-gradient(145deg, #1e1e1e, #171717);
  border: 1px solid rgba(214, 173, 88, 0.19);
  transition: transform 0.2s, border-color 0.2s;
}

.tg-rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 173, 88, 0.65);
}

.tg-rule-number {
  display: block;
  color: var(--tg-gold);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.tg-rule-symbol {
  display: block;
  min-height: 55px;
  margin: 16px 0;
  color: var(--tg-gold);
  font-family: "Amiri", serif;
  font-size: 2rem;
}

.tg-rule-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}

.tg-rule-card > p {
  min-height: 26px;
  color: var(--tg-muted);
  font-size: 0.78rem;
  margin-bottom: 20px;
}

.tg-rule-card details {
  border-top: 1px solid var(--tg-border);
  padding-top: 13px;
}

.tg-rule-card summary {
  cursor: pointer;
  list-style: none;
}

.tg-rule-card summary::-webkit-details-marker
 {
  display: none;
}

.tg-rule-card summary {
  color: var(--tg-gold);
  font-size: 0.79rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tg-rule-card summary::after {
  content: "+";
  font-size: 1.1rem;
}

.tg-rule-card details[open] summary::after {
  content: "−";
}

.tg-rule-card details > div {
  padding-top: 12px;
  color: #c0baaf;
  font-size: 0.78rem;
  line-height: 1.75;
}

/* DAILY PRACTICE */

.tg-practice-section {
  background: #171717;
  border-block: 1px solid var(--tg-border);
}

.tg-practice-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.tg-practice-panel > p:not(.tg-eyebrow):not(.tg-progress-label) {
  color: var(--tg-muted);
}

.tg-progress {
  height: 5px;
  margin-top: 32px;
  background: #39352c;
  overflow: hidden;
}

.tg-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--tg-gold);
  transition: width 0.25s ease;
}

.tg-progress-label {
  margin-top: 10px;
  color: #aaa396;
  font-size: 0.77rem;
}

.tg-progress-label span {
  color: var(--tg-gold);
  font-weight: 800;
}

.tg-checklist {
  border: 1px solid var(--tg-border);
  padding: 15px 24px;
  background: #111;
}

.tg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.tg-check-item:last-of-type {
  border-bottom: 0;
}

.tg-check-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.tg-checkmark {
  flex: 0 0 21px;
  height: 21px;
  border: 1px solid #777064;
  border-radius: 2px;
  margin-top: 2px;
  display: grid;
  place-items: center;
}

.tg-check-item input:checked + .tg-checkmark {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
}

.tg-check-item input:checked + .tg-checkmark::after {
  content: "✓";
  color: #101010;
  font-size: 0.85rem;
  font-weight: 900;
}

.tg-check-item input:focus-visible + .tg-checkmark {
  outline: 2px solid var(--tg-gold);
  outline-offset: 3px;
}

.tg-check-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.tg-check-item small {
  display: block;
  margin-top: 4px;
  color: var(--tg-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.tg-check-item:has(input:checked) strong {
  color: #a6a093;
  text-decoration: line-through;
}

.tg-reset-button {
  margin: 12px 0 8px 34px;
  padding: 0;
  border: 0;
  color: var(--tg-gold);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.tg-reset-button:hover {
  text-decoration: underline;
}

/* COMMON MISTAKES */

.tg-mistakes-section {
  background: var(--tg-black);
}

.tg-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
}

.tg-mistakes-grid article {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--tg-border);
}

.tg-mistakes-grid article > span {
  flex: 0 0 43px;
  color: var(--tg-gold);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.tg-mistakes-grid h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.tg-mistakes-grid p {
  color: var(--tg-muted);
  font-size: 0.86rem;
  margin: 0;
}



/* RELATED RESOURCES */

.tg-related-section {
  background: #101010;
}

.tg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tg-related-card {
  display: block;
  position: relative;
  padding: 30px;
  border: 1px solid var(--tg-border);
  background: linear-gradient(145deg, #202020, #151515);
  transition: transform 0.2s, border-color 0.2s;
}

.tg-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--tg-gold);
}

.tg-related-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--tg-border);
  color: var(--tg-gold);
  font-size: 1.2rem;
}

.tg-related-label {
  color: var(--tg-gold);
  display: block;
  margin-bottom: 10px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tg-related-card h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.tg-related-card p {
  color: var(--tg-muted);
  font-size: 0.84rem;
  min-height: 48px;
}

.tg-related-card strong {
  color: var(--tg-gold);
  font-size: 0.8rem;
}





/* FOOTER */

.tg-footer {
  padding-top: 62px;
  background: #090909;
  border-top: 1px solid var(--tg-border);
}

.tg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 44px;
}

.tg-footer-brand p {
  max-width: 300px;
  margin-top: 20px;
  color: #a9a397;
  font-size: 0.82rem;
}

.tg-footer-grid h2 {
  color: var(--tg-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 4px 0 19px;
  text-transform: uppercase;
}

.tg-footer-grid > div:not(:first-child) > a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: #c4beb3;
  font-size: 0.81rem;
}

.tg-footer-grid > div:not(:first-child) > a:hover,
.tg-footer-bottom a:hover {
  color: var(--tg-gold);
}

.tg-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #918b80;
  font-size: 0.74rem;
}

.tg-footer-bottom a {
  color: var(--tg-gold);
}

/* ACCESSIBILITY */

.tajweed-guide-page a:focus-visible,
.tajweed-guide-page button:focus-visible,
.tajweed-guide-page summary:focus-visible {
  outline: 2px solid var(--tg-gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .tajweed-guide-page *,
  .tajweed-guide-page *::before,
  .tajweed-guide-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* TABLET */

@media (max-width: 1000px) {
  .tg-navigation {
    gap: 15px;
  }

  .tg-navigation > a {
    font-size: 0.78rem;
  }

  .tg-hero-layout {
    gap: 20px;
  }

  .tg-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tg-practice-grid,
  .tg-faq-layout {
    gap: 38px;
  }

  .tg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .tg-container {
    width: min(var(--tg-container), calc(100% - 32px));
  }

  .tg-section {
    padding: 68px 0;
  }

  .tg-nav {
    min-height: 72px;
  }

  .tg-menu-toggle {
    display: block;
  }

  .tg-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 22px 22px;
    background: #101010;
    border-bottom: 1px solid var(--tg-border);
    align-items: stretch;
    gap: 0;
  }

  .tg-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .tg-navigation > a {
    padding: 12px 0;
    font-size: 0.9rem;
  }

  .tg-navigation .tg-nav-cta {
    text-align: center;
    margin-top: 8px;
    padding: 12px 16px;
  }

  .tg-hero-layout {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-bottom: 46px;
  }

  .tg-hero h1 {
    font-size: clamp(2.5rem, 11vw, 4.1rem);
  }

  .tg-hero-art {
    min-height: 300px;
    margin-top: 8px;
  }

  .tg-art-ring {
    width: min(280px, 75%);
  }

  .tg-art-center {
    width: min(235px, 65%);
  }

  .tg-intro-grid,
  .tg-practice-grid,
  .tg-faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tg-rules-grid {
    gap: 12px;
  }

  .tg-rule-card {
    padding: 20px 16px;
  }

  .tg-mistakes-grid {
    grid-template-columns: 1fr;
  }

  .tg-related-grid {
    grid-template-columns: 1fr;
  }

  .tg-related-card p {
    min-height: 0;
  }

  
  .tg-footer-grid {
    gap: 28px 20px;
  }
}

/* SMALL PHONES */

@media (max-width: 460px) {
  .tg-container {
    width: calc(100% - 28px);
  }

  .tg-brand {
    font-size: 0.64rem;
  }

  .tg-brand strong {
    font-size: 0.75rem;
  }

  .tg-brand-mark {
    font-size: 1.7rem;
  }

  .tg-hero h1 {
    font-size: 2.55rem;
  }

  .tg-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tg-button {
    width: 100%;
  }

  .tg-rules-grid {
    grid-template-columns: 1fr;
  }

  .tg-rule-card > p {
    min-height: 0;
  }

  .tg-checklist {
    padding: 10px 16px;
  }

  .tg-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tg-footer-brand {
    grid-column: 1 / -1;
  }

  .tg-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
} 
/* =========================================================
   Elite Quran Learning
   Daily Duas PDF Page
   Black + Champagne Gold + White
   ========================================================= */

:root {
  --ddp-black: #111111;
  --ddp-black-soft: #191919;
  --ddp-gold: #D6AD58;
  --ddp-gold-dark: #997126;
  --ddp-white: #FFFFFF;
  --ddp-ivory: #FAF8F3;
  --ddp-text: #292929;
  --ddp-muted: #686868;
  --ddp-border: #E6E0D5;
  --ddp-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--ddp-white);
  color: var(--ddp-text);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ddp-gold);
  outline-offset: 4px;
}

.ddp-container {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

/* HEADER */

.ddp-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  padding: 14px max(22px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ddp-black);
  border-bottom: 1px solid rgba(214, 173, 88, 0.3);
}

.ddp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ddp-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 1.6;
}

.ddp-brand strong {
  display: block;
  color: var(--ddp-gold);
  font-size: 13px;
  letter-spacing: 1.4px;
}

.ddp-brand-symbol {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--ddp-gold);
  border-radius: 50%;
  color: var(--ddp-gold);
  font-size: 26px;
}

.ddp-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.ddp-nav > a {
  color: #EEEEEE;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ddp-nav > a:hover {
  color: var(--ddp-gold);
}

.ddp-nav .ddp-nav-cta {
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--ddp-gold);
  color: var(--ddp-black);
}

.ddp-nav .ddp-nav-cta:hover {
  background: #E9C979;
  color: var(--ddp-black);
}

.ddp-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid rgba(214, 173, 88, 0.6);
  border-radius: 4px;
  cursor: pointer;
}

.ddp-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ddp-gold);
}

/* HERO */

.ddp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ddp-black);
  color: var(--ddp-white);
}

.ddp-hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--ddp-gold) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, var(--ddp-gold) 49%, transparent 50%);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black);
}

.ddp-hero-grid {
  min-height: 550px;
  padding-top: 70px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 55px;
}

.ddp-hero-copy {
  max-width: 650px;
}

.ddp-eyebrow,
.ddp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ddp-gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.7;
}

.ddp-hero .ddp-eyebrow {
  color: var(--ddp-gold);
}

.ddp-eyebrow > span {
  width: 23px;
  height: 2px;
  background: var(--ddp-gold);
}

.ddp-hero h1 {
  margin: 23px 0 20px;
  color: var(--ddp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(35px, 4.3vw, 56px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.8px;
}

.ddp-hero h1 > span {
  display: block;
  margin-top: 8px;
  color: var(--ddp-gold);
}

.ddp-hero-description {
  max-width: 570px;
  margin: 0;
  color: #D2D2D2;
  font-size: 14px;
  line-height: 2;
}

.ddp-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ddp-btn {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

.ddp-btn:hover {
  transform: translateY(-2px);
}

.ddp-btn-gold {
  background: var(--ddp-gold);
  color: var(--ddp-black);
}

.ddp-btn-gold:hover {
  background: #E9C979;
  color: var(--ddp-black);
}

.ddp-btn-outline {
  border-color: rgba(214, 173, 88, 0.7);
  background: transparent;
  color: var(--ddp-white);
}

.ddp-btn-outline:hover {
  color: var(--ddp-gold);
  background: rgba(214, 173, 88, 0.08);
}

.ddp-hero-note {
  margin-top: 24px;
  color: #C8C8C8;
  font-size: 11px;
}

.ddp-hero-note span {
  margin-right: 8px;
  color: var(--ddp-gold);
}

/* DECORATIVE COVER */

.ddp-hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ddp-visual-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(214, 173, 88, 0.12);
  filter: blur(35px);
}

.ddp-dua-cover {
  position: relative;
  width: min(285px, 100%);
  min-height: 365px;
  padding: 12px;
  background: linear-gradient(
    125deg,
    #E9CC89,
    #B78D3D 36%,
    #F0D590 57%,
    #A77B30
  );
  box-shadow: 18px 24px 38px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.ddp-cover-inner {
  min-height: 341px;
  padding: 24px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 173, 88, 0.9);
  outline: 1px solid rgba(214, 173, 88, 0.65);
  outline-offset: -7px;
  background:
    radial-gradient(circle at 50% 28%, #2C2C2C, transparent 58%),
    #111111;
  color: var(--ddp-white);
  text-align: center;
}

.ddp-cover-ornament {
  color: var(--ddp-gold);
  font-size: 44px;
  line-height: 1.3;
}

.ddp-cover-kicker {
  margin-top: 11px;
  color: var(--ddp-gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ddp-cover-inner h2 {
  margin: 22px 0 0;
  color: var(--ddp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: 25px;
  line-height: 1.5;
  letter-spacing: 1px;
}

.ddp-cover-line {
  width: 75px;
  height: 1px;
  margin: 19px auto;
  background: var(--ddp-gold);
}

.ddp-cover-inner > p {
  max-width: 180px;
  color: #E4E4E4;
  font-size: 8px;
  letter-spacing: 1.4px;
}

.ddp-cover-arabic {
  margin-top: 15px;
  color: #F0D590;
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1.7;
}

.ddp-cover-footer {
  margin-top: 20px;
  color: var(--ddp-gold);
  font-size: 7px;
  letter-spacing: 1.2px;
}

.ddp-cover-caption {
  position: relative;
  margin: 28px 0 0;
  color: #D0D0D0;
  font-size: 11px;
  text-align: center;
}

/* BREADCRUMBS */

.ddp-breadcrumbs {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ddp-border);
  color: var(--ddp-muted);
  font-size: 11px;
}

.ddp-breadcrumbs a:hover {
  color: var(--ddp-gold-dark);
}

.ddp-breadcrumbs [aria-current="page"] {
  color: var(--ddp-black);
  font-weight: 700;
}

/* ARTICLE AND SIDEBAR */

.ddp-section {
  padding: 82px 0;
}

.ddp-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 60px;
}

.ddp-article {
  min-width: 0;
}

.ddp-article h2,
.ddp-faq-intro h2 {
  margin: 12px 0 18px;
  color: var(--ddp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.45;
}

.ddp-article h2:not(:first-child) {
  margin-top: 45px;
}

.ddp-article > p {
  margin: 0 0 18px;
  color: #555555;
  font-size: 13px;
  line-height: 2.05;
}

.ddp-article strong {
  color: var(--ddp-black);
}

/* DUA CATEGORIES */

.ddp-category-list {
  margin: 27px 0;
}

.ddp-category-item {
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid var(--ddp-border);
}

.ddp-category-item:first-child {
  border-top: 1px solid var(--ddp-border);
}

.ddp-category-number {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  background: var(--ddp-black);
  color: var(--ddp-gold);
  font-size: 11px;
  font-weight: 800;
}

.ddp-category-item > div {
  flex: 1;
  min-width: 0;
}

.ddp-category-item h3 {
  margin: 0 0 5px;
  color: var(--ddp-black);
  font-size: 13px;
  line-height: 1.7;
}

.ddp-category-item p {
  margin: 0;
  color: var(--ddp-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* CALLOUT */

.ddp-callout {
  margin: 34px 0;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-left: 3px solid var(--ddp-gold);
  background: var(--ddp-ivory);
}

.ddp-callout-symbol {
  flex-shrink: 0;
  color: var(--ddp-gold-dark);
  font-size: 26px;
  line-height: 1.4;
}

.ddp-callout h3 {
  margin: 0 0 8px;
  color: var(--ddp-black);
  font-size: 14px;
}

.ddp-callout p {
  margin: 0 0 12px;
  color: #5B5B5B;
  font-size: 12px;
  line-height: 1.9;
}

.ddp-callout a,
.ddp-text-link {
  color: #825F1E;
  font-size: 12px;
  font-weight: 800;
}

.ddp-callout a:hover,
.ddp-text-link:hover {
  color: var(--ddp-black);
}

/* DOWNLOAD PANEL */

.ddp-download-panel {
  margin-top: 25px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--ddp-border);
  background: var(--ddp-white);
  box-shadow: 0 8px 25px rgba(17, 17, 17, 0.04);
}

.ddp-pdf-icon {
  width: 54px;
  height: 60px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--ddp-black);
  color: var(--ddp-gold);
  font-size: 13px;
  font-weight: 800;
}

.ddp-download-info {
  flex: 1;
  min-width: 0;
}

.ddp-download-info h3 {
  margin: 0 0 5px;
  color: var(--ddp-black);
  font-size: 13px;
  line-height: 1.6;
}

.ddp-download-info p {
  margin: 0;
  color: var(--ddp-muted);
  font-size: 11px;
}

.ddp-article > .ddp-small-note {
  margin-top: 12px;
  font-size: 11px;
}

/* SIDEBAR */

.ddp-sidebar {
  display: grid;
  gap: 22px;
}

.ddp-sidebar-card {
  padding: 25px 22px;
  border: 1px solid var(--ddp-border);
  background: var(--ddp-white);
}

.ddp-sidebar-card h3,
.ddp-sidebar-dark h3 {
  margin: 11px 0 20px;
  color: var(--ddp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
}

.ddp-sidebar-card > a {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--ddp-border);
  color: #444444;
  font-size: 11px;
  font-weight: 700;
}

.ddp-sidebar-card > a > span {
  color: var(--ddp-gold-dark);
  font-size: 10px;
}

.ddp-sidebar-card > a b {
  margin-left: auto;
  color: var(--ddp-gold-dark);
}

.ddp-sidebar-card > a:hover {
  color: var(--ddp-gold-dark);
}

.ddp-sidebar-dark {
  padding: 29px 24px;
  background: var(--ddp-black);
  color: var(--ddp-white);
}

.ddp-sidebar-ornament {
  margin-bottom: 10px;
  color: var(--ddp-gold);
  font-size: 34px;
}

.ddp-sidebar-dark h3 {
  color: var(--ddp-white);
}

.ddp-sidebar-dark p {
  margin: 0 0 23px;
  color: #D2D2D2;
  font-size: 12px;
  line-height: 1.9;
}

.ddp-sidebar-dark .ddp-btn {
  width: 100%;
  padding-inline: 10px;
}

/* RELATED PDF CARDS */

.ddp-resources {
  background: var(--ddp-ivory);
}

.ddp-section-heading {
  max-width: 730px;
  margin: 0 auto 42px;
  text-align: center;
}

.ddp-section-heading h2 {
  margin: 12px 0;
  color: var(--ddp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.45;
}

.ddp-section-heading > p {
  margin: 0;
  color: var(--ddp-muted);
  font-size: 13px;
  line-height: 1.9;
}

.ddp-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ddp-resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #E6E0D5;
  background: var(--ddp-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ddp-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ddp-shadow);
}

.ddp-resource-art {
  min-height: 170px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ddp-black);
  color: var(--ddp-gold);
  text-align: center;
}

.ddp-art-symbol {
  font-family: Georgia, serif;
  font-size: 43px;
  line-height: 1.5;
}

.ddp-art-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
}

.ddp-art-qaida {
  background: linear-gradient(135deg, #242424, #111111);
}

.ddp-art-prayer {
  background: linear-gradient(135deg, #302B21, #111111);
}

.ddp-art-kalima {
  background: linear-gradient(135deg, #28241D, #111111);
}

.ddp-art-adhkar {
  background: linear-gradient(135deg, #242424, #111111);
}

.ddp-art-library {
  background: linear-gradient(135deg, #343434, #111111);
}

.ddp-resource-body {
  padding: 23px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.ddp-card-tag {
  color: #8A651F;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.ddp-resource-body h3 {
  margin: 9px 0 10px;
  color: var(--ddp-black);
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.ddp-resource-body p {
  margin: 0 0 22px;
  color: var(--ddp-muted);
  font-size: 12px;
  line-height: 1.9;
}

.ddp-resource-body .ddp-text-link {
  width: 100%;
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--ddp-border);
}

.ddp-resource-body .ddp-text-link span {
  font-size: 16px;
}

.ddp-library-cta {
  margin-top: 42px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--ddp-black);
}

.ddp-library-cta h3 {
  margin: 7px 0;
  color: var(--ddp-white);
  font-family: "Cinzel", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
}

.ddp-library-cta p {
  margin: 0;
  color: #CECECE;
  font-size: 12px;
}

/* FAQ */




/* FOOTER */

.ddp-footer {
  background: var(--ddp-black);
  color: var(--ddp-white);
}

.ddp-footer-grid {
  padding-top: 57px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 55px;
}

.ddp-footer-about > p {
  max-width: 370px;
  margin: 20px 0 0;
  color: #C5C5C5;
  font-size: 12px;
  line-height: 2;
}

.ddp-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ddp-footer-column h3 {
  margin: 0 0 9px;
  color: var(--ddp-gold);
  font-size: 12px;
}

.ddp-footer-column a {
  color: #CECECE;
  font-size: 11px;
  transition: color 0.2s ease;
}

.ddp-footer-column a:hover {
  color: var(--ddp-gold);
}

.ddp-footer-bottom {
  border-top: 1px solid rgba(214, 173, 88, 0.25);
}

.ddp-footer-bottom > .ddp-container {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.ddp-footer-bottom p,
.ddp-footer-bottom a {
  margin: 0;
  color: #BFBFBF;
  font-size: 10px;
}

.ddp-footer-bottom a:hover {
  color: var(--ddp-gold);
}

/* TABLET */

@media (max-width: 1000px) {
  .ddp-header {
    padding-inline: 22px;
  }

  .ddp-nav {
    gap: 14px;
  }

  .ddp-nav > a {
    font-size: 11px;
  }

  .ddp-hero-grid {
    gap: 30px;
  }

  .ddp-content-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .ddp-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ddp-faq-layout {
    gap: 35px;
  }
}

/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  .ddp-header {
    min-height: 73px;
    padding: 12px 20px;
  }

  .ddp-menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .ddp-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    border-top: 1px solid rgba(214, 173, 88, 0.3);
    background: var(--ddp-black);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  }

  .ddp-nav.ddp-nav-open {
    display: flex;
  }

  .ddp-nav > a {
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
  }

  .ddp-nav .ddp-nav-cta {
    margin-top: 12px;
    padding: 12px;
    text-align: center;
  }

  .ddp-hero-grid {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 52px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ddp-hero h1 {
    font-size: clamp(33px, 8vw, 47px);
  }

  .ddp-hero-description {
    font-size: 13px;
  }

  .ddp-hero-visual {
    padding-top: 5px;
  }

  .ddp-dua-cover {
    width: 250px;
    min-height: 330px;
  }

  .ddp-cover-inner {
    min-height: 306px;
  }

  .ddp-content-grid,
  .ddp-faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ddp-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ddp-sidebar-dark {
    grid-row: span 2;
  }

  .ddp-section {
    padding: 60px 0;
  }

  .ddp-library-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ddp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }

  .ddp-footer-about {
    grid-column: 1 / -1;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .ddp-container {
    width: calc(100% - 32px);
  }

  .ddp-header {
    padding-inline: 16px;
  }

  .ddp-brand {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .ddp-brand strong {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .ddp-brand-symbol {
    width: 37px;
    height: 37px;
    font-size: 22px;
  }

  .ddp-hero-grid {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .ddp-hero h1 {
    font-size: 33px;
  }

  .ddp-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ddp-btn {
    width: 100%;
  }

  .ddp-breadcrumbs {
    gap: 7px;
    font-size: 10px;
  }

  .ddp-article h2,
  .ddp-faq-intro h2 {
    font-size: 25px;
  }

  .ddp-sidebar {
    grid-template-columns: 1fr;
  }

  .ddp-sidebar-dark {
    grid-row: auto;
  }

  .ddp-resource-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ddp-resource-art {
    min-height: 150px;
  }

  .ddp-download-panel {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 16px;
  }

  .ddp-download-info {
    align-self: center;
  }

  .ddp-download-panel .ddp-btn {
    flex-basis: 100%;
  }

  .ddp-callout {
    padding: 18px;
    gap: 12px;
  }

  .ddp-library-cta {
    padding: 24px 20px;
  }

  .ddp-library-cta h3 {
    font-size: 18px;
  }

  .ddp-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 35px;
  }

  .ddp-footer-about {
    grid-column: auto;
  }

  .ddp-footer-bottom > .ddp-container {
    padding-block: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Islamic Worksheets Page
   Theme: Black + Champagne Gold + White
   ========================================================= */

:root {
  --black: #080808;
  --black-soft: #101010;
  --black-card: #151515;
  --black-light: #202020;
  --gold: #D6AD58;
  --gold-dark: #b88e3f;
  --white: #ffffff;
  --ivory: #f7f4ed;
  --muted: #bcb8af;
  --border: rgba(214, 173, 88, 0.23);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  --radius: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section-space {
  padding-block: 90px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.22;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 span,
h1 span {
  color: var(--gold);
}

p {
  color: var(--muted);
}

::selection {
  background: var(--gold);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1280px, calc(100% - 44px));
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  letter-spacing: 1.3px;
  font-size: 10px;
}

.brand-name strong {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.brand-name span {
  color: var(--gold);
  font-size: 10px;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
}

.main-navigation a {
  color: #e7e4dd;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.main-navigation a:hover {
  color: var(--gold);
}

.main-navigation .nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.main-navigation .nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold);
}

/* HERO */

.worksheet-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 94px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(214, 173, 88, 0.13), transparent 38%),
    radial-gradient(ellipse at 0% 100%, rgba(214, 173, 88, 0.07), transparent 45%),
    var(--black-soft);
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--gold) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, var(--gold) 49%, transparent 50%);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, black 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--container);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  line-height: 1.6;
}

.eyebrow span {
  display: inline-block;
  width: 25px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--gold);
}

.worksheet-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6.2vw, 5.1rem);
  letter-spacing: -1.6px;
}

.hero-description {
  max-width: 740px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 37px;
  color: #dedbd4;
  font-size: 12px;
}

.hero-highlights i {
  margin-right: 7px;
  color: var(--gold);
  font-style: normal;
}

/* BREADCRUMB */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #a9a49b;
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span:last-child {
  color: var(--gold);
}


.section-copy p:not(.eyebrow) {
  margin-bottom: 18px;
}

.section-copy h2 {
  max-width: 650px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--white);
}

.learning-note {
  position: relative;
  padding: 35px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(214, 173, 88, 0.12), transparent 55%),
    var(--black-card);
}

.note-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-bottom: 25px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 23px;
}

.note-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.learning-note h3 {
  margin-bottom: 15px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
}

.note-divider {
  height: 1px;
  margin: 25px 0 14px;
  background: var(--border);
}

.learning-note .note-small {
  margin-bottom: 0;
  font-size: 11px;
}

/* SECTION HEADINGS */

.section-heading {
  max-width: 730px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

/* WORKSHEET LIBRARY */

.library-section {
  background: #0d0d0d;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.worksheet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(214, 173, 88, 0.18);
  background: var(--black-card);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.worksheet-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 1px solid var(--border);
  background: rgba(214, 173, 88, 0.07);
  color: var(--gold);
  font-size: 26px;
}

.card-tag {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-align: right;
}

.worksheet-card h3 {
  margin-bottom: 13px;
  font-size: 18px;
}

.worksheet-card > p {
  margin-bottom: 17px;
  font-size: 13px;
  line-height: 1.85;
}

.worksheet-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.worksheet-card li {
  position: relative;
  padding-left: 19px;
  color: #d0ccc4;
  font-size: 11px;
}

.worksheet-card li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.card-button:hover {
  background: var(--gold);
  color: var(--black);
}

.card-button span {
  font-size: 16px;
}

.library-disclaimer {
  margin: 25px 0 0;
  font-size: 11px;
  text-align: center;
}

/* HOW TO USE */

.how-section {
  background: var(--black);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}



.step-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
}



/* RELATED RESOURCES */

.related-section {
  background: #0d0d0d;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.related-card {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 17px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--black-card);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.related-card:hover {
  border-color: var(--gold);
  background: #1b1a17;
}

.related-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 21px;
}

.related-card strong,
.related-card small {
  display: block;
}

.related-card strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.related-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.related-arrow {
  color: var(--gold);
  font-size: 17px;
}

/* CTA */

.classes-cta {
  padding-block: 65px;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 100% 50%, rgba(214, 173, 88, 0.13), transparent 45%),
    #12110e;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-inner > div {
  max-width: 720px;
}

.cta-inner h2 {
  margin-bottom: 15px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.cta-inner p:not(.eyebrow) {
  margin-bottom: 0;
}

.cta-inner .btn {
  flex-shrink: 0;
}

/* SEO CONTENT */

.seo-section {
  background: var(--black);
}

.seo-content {
  max-width: 900px;
}

.seo-content h2 {
  margin-bottom: 26px;
}

.seo-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
}

.seo-content p {
  font-size: 14px;
  line-height: 1.95;
}




/* FOOTER */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 65px;
  padding-block: 62px;
}

.footer-brand > p {
  max-width: 340px;
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
}

.footer-column a {
  color: #bcb8af;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--gold);
}


/* RESPONSIVE */

@media (max-width: 1050px) {
  .main-navigation {
    gap: 14px;
  }

  .main-navigation a {
    font-size: 11px;
  }

  .worksheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid {
    gap: 40px;
  }

  .footer-main {
    gap: 35px;
  }
}

@media (max-width: 780px) {
  .section-space {
    padding-block: 65px;
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 20px;
    border-bottom: 1px solid var(--border);
    background: #080808;
  }

  .main-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-navigation a {
    padding: 13px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
  }

  .main-navigation .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .worksheet-hero {
    padding: 75px 0 70px;
  }

  .hero-description {
    font-size: 14px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

 

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .brand-name strong {
    font-size: 10px;
  }

  .brand-name span {
    font-size: 9px;
  }

  .worksheet-hero {
    padding: 61px 0;
  }

  .worksheet-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    letter-spacing: -0.8px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 9px;
  }

  .worksheet-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .worksheet-card {
    padding: 23px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .learning-note {
    padding: 26px;
  }

  .related-card {
    grid-template-columns: 42px 1fr 15px;
    gap: 12px;
    padding: 16px;
  }

  .related-icon {
    width: 40px;
    height: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 45px;
  }

  .footer-brand {
    grid-column: auto;
  }


  .breadcrumbs {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Elite Quran Learning
   Learning Videos | Black + Champagne Gold + White */

:root {
  --black: #080808;
  --black-soft: #101010;
  --card: #151515;
  --gold: #D6AD58;
  --gold-dark: #b88e3f;
  --white: #ffffff;
  --muted: #bcb8af;
  --border: rgba(214, 173, 88, 0.25);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section-space {
  padding-block: 85px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h1 span,
h2 span {
  color: var(--gold);
}

p {
  color: var(--muted);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1280px, calc(100% - 44px));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 27px;
  line-height: 1;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  letter-spacing: 1.2px;
  font-size: 10px;
}

.brand-name strong {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.brand-name span {
  color: var(--gold);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 21px;
}

.main-navigation a {
  color: #e7e4dd;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--gold);
}

.main-navigation .nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.main-navigation .nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gold);
}

/* HERO */

.video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 0 88px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(214, 173, 88, 0.14), transparent 38%),
    radial-gradient(ellipse at 0 100%, rgba(214, 173, 88, 0.07), transparent 45%),
    var(--black-soft);
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 48%, var(--gold) 49%, transparent 50%),
    linear-gradient(150deg, transparent 48%, var(--gold) 49%, transparent 50%);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, transparent, black);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
}

.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--gold);
}

.video-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -1.2px;
}

.hero-description {
  max-width: 740px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.btn {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 32px;
  color: #dedbd4;
  font-size: 12px;
}

.hero-highlights i {
  margin-right: 6px;
  color: var(--gold);
  font-style: normal;
}

/* BREADCRUMBS */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa59c;
  font-size: 11px;
}

.breadcrumbs a:hover,
.breadcrumbs span:last-child {
  color: var(--gold);
}

/* SECTION HEADINGS */

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

/* VIDEO LIBRARY */

.video-library {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-tools {
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 0 17px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gold);
}

.search-box > span {
  font-size: 24px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 13px;
}

.search-box input::placeholder {
  color: #8f8a81;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: transparent;
  color: #d4d0c8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}







.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px;
}

.video-category {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.video-info h3 {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.45;
}

.video-info p {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.85;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.video-link:hover {
  color: var(--white);
}

.library-note {
  margin: 25px 0 0;
  font-size: 11px;
  text-align: center;
}

.no-results {
  padding: 40px 20px;
  border: 1px solid var(--border);
  text-align: center;
}

.no-results h3 {
  margin-bottom: 10px;
}

.no-results p {
  margin-bottom: 0;
}

/* ACCESSIBILITY */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* INSTAGRAM */

.social-section {
  background: var(--black);
}

.instagram-notice {
  display: grid;
  grid-template-columns: 65px 1fr;
  align-items: start;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 25px;
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--card);
}

.social-symbol {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 35px;
}

.instagram-notice h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.instagram-notice p {
  margin-bottom: 18px;
  font-size: 13px;
}

.instagram-placeholder {
  display: grid;
  justify-items: center;
  max-width: 500px;
  min-height: 260px;
  margin: 0 auto;
  padding: 35px;
  align-content: center;
  border: 1px dashed var(--border);
  background: #0e0e0e;
  text-align: center;
}

.placeholder-icon {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 40px;
}

.instagram-placeholder h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.instagram-placeholder p {
  max-width: 350px;
  margin-bottom: 0;
  font-size: 12px;
}

/* LEARNING GUIDE */

.learning-guide {
  background: #0d0d0d;
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-content {
  max-width: 900px;
}

.guide-content h2 {
  margin-bottom: 25px;
}

.guide-content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
}

.guide-content p {
  font-size: 13px;
  line-height: 1.95;
}

.guide-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CLASSES CTA */

.classes-cta {
  padding-block: 62px;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 100% 50%, rgba(214, 173, 88, 0.13), transparent 45%),
    #12110e;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-inner > div {
  max-width: 700px;
}

.cta-inner h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.cta-inner p:not(.eyebrow) {
  margin-bottom: 0;
}

.cta-inner .btn {
  flex-shrink: 0;
}

/* FOOTER */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 55px;
  padding-block: 60px;
}

.footer-brand > p {
  max-width: 340px;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
}

.footer-column a {
  color: var(--muted);
  font-size: 11px;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}


/* TABLET */

@media (max-width: 1050px) {
  .main-navigation {
    gap: 13px;
  }

  .main-navigation a {
    font-size: 11px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    gap: 30px;
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 780px) {
  .section-space {
    padding-block: 62px;
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 20px;
    border-bottom: 1px solid var(--border);
    background: #080808;
  }

  .main-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-navigation a {
    padding: 13px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
  }

  .main-navigation .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .video-hero {
    padding: 72px 0;
  }

  .hero-description {
    font-size: 14px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* SMALL MOBILE */

@media (max-width: 540px) {
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .brand-name strong {
    font-size: 10px;
  }

  .brand-name {
    font-size: 9px;
  }

  .video-hero {
    padding: 60px 0;
  }

  .video-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    letter-spacing: -0.7px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 8px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .filter-button {
    font-size: 10px;
  }

  .video-info {
    padding: 20px;
  }

  .instagram-notice {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .instagram-placeholder {
    min-height: 220px;
    padding: 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 43px;
  }

  .footer-brand {
    grid-column: auto;
  }

 
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Elite Quran Learning
   Salah Guide | Black, Champagne Gold & White
   ========================================================= */

:root {
  --sg-black: #090909;
  --sg-black-soft: #101010;
  --sg-black-card: #151515;
  --sg-gold: #D6AD58;
  --sg-gold-dark: #B98D3F;
  --sg-white: #FFFFFF;
  --sg-text: #E9E5DC;
  --sg-muted: #B8B3A9;
  --sg-border: rgba(214, 173, 88, 0.24);
  --sg-container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--sg-black);
  color: var(--sg-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sg-gold);
  outline-offset: 4px;
}

.sg-container {
  width: min(var(--sg-container), calc(100% - 44px));
  margin-inline: auto;
}

.sg-section {
  padding: 95px 0;
  background: var(--sg-black);
}

.sg-section-dark {
  background: var(--sg-black-soft);
}

.sg-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.sg-section-heading h2,
.sg-two-column h2 {
  margin: 12px 0 18px;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 600;
}

.sg-section-heading p,
.sg-two-column > div > p {
  color: var(--sg-muted);
}

.sg-section-label {
  color: var(--sg-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.sg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 9, 9, 0.97);
  border-bottom: 1px solid var(--sg-border);
  backdrop-filter: blur(14px);
}

.sg-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sg-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sg-gold);
  border-radius: 50%;
  color: var(--sg-gold);
  font-size: 28px;
  line-height: 1;
}

.sg-brand-text {
  display: flex;
  flex-direction: column;
  color: var(--sg-white);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

.sg-brand-text small {
  color: var(--sg-gold);
  font-size: 10px;
  letter-spacing: 2px;
}

.sg-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.sg-navigation > a {
  color: var(--sg-text);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sg-navigation > a:hover {
  color: var(--sg-gold);
}

.sg-navigation .sg-nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--sg-gold);
  color: var(--sg-gold);
}

.sg-navigation .sg-nav-cta:hover {
  background: var(--sg-gold);
  color: var(--sg-black);
}

.sg-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--sg-border);
  background: transparent;
  cursor: pointer;
}

.sg-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--sg-gold);
}

/* HERO */

.sg-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 45%, rgba(214, 173, 88, 0.12), transparent 42%),
    linear-gradient(120deg, #090909 0%, #101010 58%, #17130c 100%);
  border-bottom: 1px solid var(--sg-border);
}

.sg-hero-pattern {
  position: absolute;
  top: 0;
  right: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(214, 173, 88, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.sg-hero-pattern::before,
.sg-hero-pattern::after {
  position: absolute;
  inset: 35px;
  border: 1px solid rgba(214, 173, 88, 0.12);
  border-radius: 50%;
  content: "";
}

.sg-hero-pattern::after {
  inset: 80px;
}

.sg-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 75px;
  padding-bottom: 75px;
}

.sg-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sg-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

.sg-eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--sg-gold);
}

.sg-hero h1 {
  max-width: 800px;
  margin: 25px 0;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.sg-hero h1 span {
  color: var(--sg-gold);
}

.sg-hero-content > p {
  max-width: 670px;
  color: #C9C3B8;
  font-size: 17px;
}

.sg-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sg-btn:hover {
  transform: translateY(-2px);
}

.sg-btn-gold {
  background: var(--sg-gold);
  color: var(--sg-black);
}

.sg-btn-gold:hover {
  background: #E5C77F;
}

.sg-btn-outline {
  border-color: var(--sg-gold);
  color: var(--sg-gold);
}

.sg-btn-outline:hover {
  background: var(--sg-gold);
  color: var(--sg-black);
}

.sg-hero-note {
  margin-top: 27px;
  color: var(--sg-muted);
  font-size: 13px;
}

.sg-hero-note span {
  margin-right: 8px;
  color: var(--sg-gold);
}

/* QUICK LINKS */

.sg-quick-section {
  padding: 0 0 30px;
  background: var(--sg-black);
}

.sg-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--sg-border);
  background: #0D0D0D;
}

.sg-quick-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 25px 22px;
  border-right: 1px solid var(--sg-border);
  transition: background 0.2s ease;
}

.sg-quick-card:last-child {
  border-right: 0;
}

.sg-quick-card:hover {
  background: #18150F;
}

.sg-quick-icon {
  margin-bottom: 7px;
  color: var(--sg-gold);
  font-size: 12px;
  letter-spacing: 2px;
}

.sg-quick-card strong {
  color: var(--sg-white);
  font-size: 15px;
}

.sg-quick-card small {
  color: var(--sg-muted);
  font-size: 12px;
}

/* INTRODUCTION */

.sg-two-column {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 65px;
}

.sg-two-column > div > p {
  margin: 0 0 18px;
}

.sg-feature-panel {
  padding: 38px;
  border: 1px solid var(--sg-border);
  background: linear-gradient(145deg, #181818, #100F0C);
}

.sg-feature-symbol {
  margin-bottom: 14px;
  color: var(--sg-gold);
  font-size: 45px;
  line-height: 1.2;
}

.sg-feature-panel h3 {
  margin: 10px 0 20px;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.sg-check-list,
.sg-bullet-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sg-check-list li,
.sg-bullet-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 26px;
  color: var(--sg-muted);
}

.sg-check-list li::before,
.sg-bullet-list li::before {
  position: absolute;
  left: 0;
  color: var(--sg-gold);
  content: "✓";
  font-weight: 800;
}

/* PREPARATION CARDS */

.sg-preparation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sg-info-card {
  padding: 30px;
  border: 1px solid var(--sg-border);
  background: var(--sg-black-card);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sg-info-card:hover {
  border-color: var(--sg-gold);
  transform: translateY(-3px);
}

.sg-card-number {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--sg-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.sg-info-card h3,
.sg-mistake-card h3,
.sg-resource-card h3 {
  margin: 0 0 12px;
  color: var(--sg-white);
  font-size: 19px;
}

.sg-info-card p,
.sg-mistake-card p,
.sg-resource-card p {
  margin: 0;
  color: var(--sg-muted);
  font-size: 14px;
}

.sg-info-card > a {
  display: inline-block;
  margin-top: 16px;
  color: var(--sg-gold);
  font-size: 13px;
  font-weight: 700;
}

/* PRAYER TABLE */

.sg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sg-border);
}

.sg-prayer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sg-prayer-table th {
  padding: 18px 22px;
  background: #1B1710;
  color: var(--sg-gold);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.sg-prayer-table td {
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sg-muted);
}

.sg-prayer-table tbody tr:hover {
  background: #121212;
}

.sg-prayer-table td strong {
  color: var(--sg-white);
}

.sg-rakat {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  border: 1px solid var(--sg-border);
  color: var(--sg-gold);
  font-weight: 800;
}

.sg-note {
  margin-top: 25px;
  padding: 20px 23px;
  border-left: 3px solid var(--sg-gold);
  background: #15130F;
  color: var(--sg-muted);
  font-size: 14px;
}

.sg-note strong {
  color: var(--sg-gold);
}

/* STEP BY STEP */

.sg-steps-list {
  max-width: 900px;
  margin: 0 auto;
}

.sg-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--sg-border);
}

.sg-step:first-child {
  padding-top: 0;
}

.sg-step-marker {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--sg-gold);
  border-radius: 50%;
  color: var(--sg-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.sg-step-label {
  color: var(--sg-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.sg-step-content h3 {
  margin: 6px 0 10px;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.35;
}

.sg-step-content p {
  margin: 0 0 12px;
  color: var(--sg-muted);
}

.sg-step-content strong {
  color: var(--sg-white);
}

.sg-step-tip {
  padding: 12px 16px;
  border-left: 2px solid var(--sg-gold);
  background: #15130F;
  font-size: 14px;
}

.sg-step-tip strong {
  color: var(--sg-gold);
}

/* BEGINNER SECTION */

.sg-beginner-layout {
  grid-template-columns: 1fr 0.8fr;
}

.sg-learning-card {
  padding: 38px;
  border: 1px solid var(--sg-border);
  background:
    radial-gradient(ellipse at top right, rgba(214, 173, 88, 0.12), transparent 65%),
    #141414;
}

.sg-learning-icon {
  display: block;
  margin-bottom: 12px;
  color: var(--sg-gold);
  font-size: 38px;
}

.sg-learning-card h3 {
  margin: 0 0 15px;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.3;
}

.sg-learning-card p {
  margin-bottom: 25px;
  color: var(--sg-muted);
}

/* COMMON MISTAKES */

.sg-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sg-mistake-card {
  padding: 27px;
  border: 1px solid var(--sg-border);
  background: var(--sg-black-card);
}

/* RELATED RESOURCES */

.sg-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sg-resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--sg-border);
  background: #111111;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sg-resource-card:hover {
  border-color: var(--sg-gold);
  transform: translateY(-3px);
}

.sg-resource-number {
  margin-bottom: 20px;
  color: var(--sg-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.sg-resource-card h3 {
  font-size: 17px;
}

.sg-resource-link {
  margin-top: 20px;
  color: var(--sg-gold);
  font-size: 12px;
  font-weight: 800;
}



/* CTA */

.sg-cta-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 173, 88, 0.16), transparent 65%),
    #17130D;
  border-top: 1px solid var(--sg-border);
  border-bottom: 1px solid var(--sg-border);
}

.sg-cta-content {
  text-align: center;
}

.sg-cta-content h2 {
  margin: 15px 0;
  color: var(--sg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}

.sg-cta-content > p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--sg-muted);
}

.sg-cta-content .sg-hero-buttons {
  justify-content: center;
}

.sg-btn-dark {
  background: var(--sg-gold);
  color: var(--sg-black);
}

.sg-btn-dark:hover {
  background: #E5C77F;
}

.sg-btn-light-outline {
  border-color: var(--sg-gold);
  color: var(--sg-gold);
}

.sg-btn-light-outline:hover {
  background: var(--sg-gold);
  color: var(--sg-black);
}

/* FOOTER */

.sg-footer {
  padding: 45px 0 0;
  background: #070707;
}

.sg-footer-inner > p {
  max-width: 550px;
  margin: 20px 0;
  color: var(--sg-muted);
  font-size: 13px;
}

.sg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 20px 0 30px;
}

.sg-footer-links a,
.sg-footer-bottom a {
  color: var(--sg-muted);
  font-size: 13px;
}

.sg-footer-links a:hover,
.sg-footer-bottom a:hover {
  color: var(--sg-gold);
}

.sg-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--sg-border);
  color: var(--sg-muted);
  font-size: 12px;
}

/* TABLETS */

@media (max-width: 1000px) {
  .sg-navigation {
    gap: 15px;
  }

  .sg-navigation > a {
    font-size: 12px;
  }

  .sg-two-column {
    gap: 35px;
  }

  .sg-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-quick-card {
    padding: 20px 15px;
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .sg-container {
    width: min(100% - 32px, var(--sg-container));
  }

  .sg-nav {
    min-height: 72px;
  }

  .sg-menu-toggle {
    display: block;
  }

  .sg-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--sg-border);
    background: #090909;
  }

  .sg-navigation.sg-navigation-open {
    display: flex;
  }

  .sg-navigation > a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 14px;
  }

  .sg-navigation .sg-nav-cta {
    margin-top: 12px;
    padding: 12px 15px;
    text-align: center;
  }

  .sg-hero {
    min-height: 0;
  }

  .sg-hero-content {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .sg-hero h1 {
    font-size: clamp(39px, 10vw, 58px);
    letter-spacing: -0.8px;
  }

  .sg-hero-content > p {
    font-size: 15px;
  }

  .sg-hero-pattern {
    right: -260px;
    opacity: 0.6;
  }

  .sg-section {
    padding: 65px 0;
  }

  .sg-section-heading {
    margin-bottom: 32px;
  }

  .sg-section-heading h2,
  .sg-two-column h2 {
    font-size: 32px;
  }

  .sg-quick-section {
    padding-bottom: 10px;
  }

  .sg-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-quick-card {
    border-right: 1px solid var(--sg-border);
    border-bottom: 1px solid var(--sg-border);
  }

  .sg-quick-card:nth-child(2n) {
    border-right: 0;
  }

  .sg-quick-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sg-two-column,
  .sg-beginner-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sg-feature-panel,
  .sg-learning-card {
    padding: 28px;
  }

  .sg-preparation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-info-card {
    padding: 23px;
  }

  .sg-prayer-table th,
  .sg-prayer-table td {
    padding: 14px 13px;
    font-size: 13px;
  }

  .sg-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
  }

  .sg-step-marker {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .sg-step-content h3 {
    font-size: 22px;
  }

  .sg-mistakes-grid {
    grid-template-columns: 1fr;
  }

  .sg-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-cta-section {
    padding: 65px 0;
  }

  .sg-footer-links {
    gap: 14px 20px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .sg-brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }

  .sg-brand-text {
    font-size: 11px;
  }

  .sg-brand-text small {
    font-size: 9px;
  }

  .sg-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .sg-hero h1 {
    font-size: 39px;
  }

  .sg-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .sg-btn {
    width: 100%;
  }

  .sg-preparation-grid,
  .sg-resource-grid {
    grid-template-columns: 1fr;
  }

  .sg-info-card {
    padding: 25px;
  }

  .sg-step {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .sg-step-marker {
    width: 42px;
    height: 42px;
  }

  .sg-prayer-table {
    min-width: 450px;
  }

 
  .sg-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
  
/* ==========================================
   Elite Quran Learning
   Quran PDF Page — Gold & Black Theme
   ========================================== */

:root {
  --quran-gold: #D6AD58;
  --quran-gold-dark: #B98C37;
  --quran-black: #080808;
  --quran-panel: #141414;
  --quran-panel-light: #1D1D1D;
  --quran-text: #F5F0E6;
  --quran-muted: #C3BBAE;
  --quran-border: rgba(214, 173, 88, 0.28);
}

.quran-page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--quran-black);
  color: var(--quran-text);
  font-family: "Inter", sans-serif;
  line-height: 1.75;
}

.quran-page *,
.quran-page *::before,
.quran-page *::after {
  box-sizing: border-box;
}

.quran-page a {
  text-decoration: none;
}

.quran-container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* HERO */

.quran-hero {
  position: relative;
  padding: 100px 0 90px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at top,
      rgba(214, 173, 88, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #15120C 0%, #080808 100%);
  border-bottom: 1px solid var(--quran-border);
}

.quran-hero::before {
  content: "۞";
  display: block;
  margin-bottom: 12px;
  color: var(--quran-gold);
  font-size: 48px;
}

.quran-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 17px;
  border: 1px solid var(--quran-border);
  border-radius: 50px;
  color: var(--quran-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.quran-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  color: var(--quran-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
}

.quran-hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--quran-muted);
  font-size: 16px;
}

/* BUTTONS */

.quran-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quran-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--quran-gold);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s ease,
              color 0.25s ease,
              transform 0.25s ease;
}

.quran-btn-primary {
  background: var(--quran-gold);
  color: #080808;
}

.quran-btn-primary:hover {
  transform: translateY(-2px);
  background: #F0D28C;
  color: #080808;
}

.quran-btn-outline {
  background: transparent;
  color: var(--quran-gold);
}

.quran-btn-outline:hover {
  background: var(--quran-gold);
  color: #080808;
}

/* SECTIONS */

.quran-section {
  padding: 76px 0;
  background: var(--quran-black);
}

.quran-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.quran-section-heading > span {
  color: var(--quran-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.quran-section-heading h2 {
  margin: 10px 0 14px;
  color: var(--quran-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.quran-section-heading p {
  margin: 0;
  color: var(--quran-muted);
  font-size: 15px;
}

/* PDF CARDS */

.quran-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.quran-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid var(--quran-border);
  border-radius: 7px;
  background: linear-gradient(145deg, #1A1A1A, #101010);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.quran-card:hover {
  transform: translateY(-5px);
  border-color: var(--quran-gold);
}

.quran-card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--quran-border);
  border-radius: 5px;
  background: rgba(214, 173, 88, 0.1);
  color: var(--quran-gold);
  font-size: 25px;
}

.quran-card h3 {
  margin: 0 0 10px;
  color: var(--quran-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  line-height: 1.25;
}

.quran-card p {
  margin: 0 0 20px;
  color: var(--quran-muted);
  font-size: 14px;
}

.quran-download {
  display: inline-block;
  max-width: 100%;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid var(--quran-gold);
  border-radius: 3px;
  background: var(--quran-gold);
  color: #080808;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.quran-download:hover {
  background: transparent;
  color: var(--quran-gold);
}

/* NOTICE */

.quran-note {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 3px solid var(--quran-gold);
  background: #15130F;
  color: var(--quran-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.quran-note strong {
  color: var(--quran-gold);
}

/* SEO ARTICLE CONTENT */

.quran-content {
  max-width: 900px;
  margin: 0 auto;
}

.quran-content h2 {
  margin: 0 0 18px;
  color: var(--quran-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  line-height: 1.25;
}

.quran-content h3 {
  margin: 28px 0 8px;
  color: var(--quran-gold);
  font-size: 19px;
}

.quran-content p,
.quran-content li {
  color: var(--quran-muted);
  font-size: 15px;
}

.quran-content ul {
  padding-left: 23px;
}

.quran-content li {
  margin-bottom: 8px;
}

/* INTERNAL LINKS */

.quran-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}

.quran-resource-link {
  display: block;
  padding: 17px 20px;
  border: 1px solid var(--quran-border);
  border-radius: 4px;
  background: var(--quran-panel);
  color: var(--quran-gold);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quran-resource-link:hover {
  border-color: var(--quran-gold);
  background: var(--quran-panel-light);
}
.site-footer{ background-color: black;}





/* CALL TO ACTION */

.quran-cta {
  padding: 62px 20px;
  border-top: 1px solid var(--quran-border);
  border-bottom: 1px solid var(--quran-border);
  background: linear-gradient(135deg, #211B10, #100F0C);
  text-align: center;
}

.quran-cta h2 {
  margin: 0 0 14px;
  color: var(--quran-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.2;
}

.quran-cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--quran-muted);
  font-size: 15px;
}

.quran-cta .quran-small-print {
  margin-top: 24px;
  margin-bottom: 0;
  color: #9B9387;
  font-size: 12px;
}

/* ACCESSIBILITY */

.quran-page a:focus-visible,
.quran-page summary:focus-visible {
  outline: 2px solid var(--quran-gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .quran-page *,
  .quran-page *::before,
  .quran-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* TABLET */

@media (max-width: 900px) {
  .quran-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quran-hero {
    padding: 76px 0 68px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .quran-section {
    padding: 52px 0;
  }

  .quran-grid,
  .quran-links {
    grid-template-columns: 1fr;
  }

  .quran-card {
    padding: 23px;
  }

  .quran-hero {
    padding: 60px 0 55px;
  }

  .quran-hero h1 {
    font-size: 43px;
  }

  .quran-hero p {
    font-size: 14px;
  }

  .quran-actions {
    flex-direction: column;
  }

  .quran-actions .quran-btn {
    width: 100%;
    max-width: 320px;
  }

  .quran-content h2 {
    font-size: 31px;
  }

  

/* Individual glass cards */
.overlap-card {
    position: relative;
    z-index: 11;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
}

/* Keep the welcome section behind the cards */
main {
    position: relative;
    z-index: 1;
    padding-top: 60px;
}  /* Remove unwanted gaps around the hero */
html,
body {
    margin: 0;
    padding: 0;
}

#main-content {
    margin-top: 0;
    padding-top: 0;
}

.hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.hero-slides {
    margin: 0;
    padding: 0;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} /* Fix unwanted space below the hero slider */
.hero {
    position: relative;
    height: 600px;
    min-height: 600px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
} 
/* FAQs  for allll */

.faq-section {
  background: var(--white) ;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 75px;
}

.faq-intro { color: #000000;
  position: sticky;
  top: 120px;
}

.faq-intro p { 
  color: black;
  margin-bottom: 20px;
}

.faq-intro .button {
  margin-top: 8px;
}


.faq-item summary {
  position: relative;
  padding: 23px 36px 23px 0;
  color: black;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  color: var(--gold-dark);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 15px 20px 0;
  color: black !important;
}

.faq-answer p {
  margin: 0;
  font-size: 0.93rem;
}

.faq-list {
    border: 1px solid #e5dfd3;
    border-radius: 12px;
    padding: 20px;
}
.faq-answer a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
} /* FAQ container */
.faq-list {
    border: 1px solid #e7dfd0;
    border-radius: 14px;
    overflow: hidden;
    background: #fffdf9;
}

/* Individual FAQ item */
.faq-item {
    border-bottom: 1px solid #eee7dc;
    transition: background-color 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

/* FAQ question */
.faq-question {
    width: 100%;
    padding: 20px;
    border: none;
    background: transparent;
    text-align: left;
}

/* Hover effect */
.faq-item:hover {
    background-color: #faf6ed;
}

.faq-question:hover {
    color: #9c7a3c;
} 
/* ==========================================
   FREE TRIAL FORM — COMPACT LAYOUT
   BLACK + GOLD + WHITE
   FORCE OVERRIDE EXISTING CSS
========================================== */

.ft-form-section .ft-container {
  max-width: 1180px !important;
  width: 100% !important;
  margin-inline: auto !important;
}

/* Wider layout, shorter overall form */
.ft-form-layout {
  display: grid !important;
  grid-template-columns: 0.8fr 1.2fr !important;
  gap: 20px !important;
  align-items: start !important;
}

/* Form card dimensions */
.ft-form-card {
  width: 100% !important;
  max-width: 100% !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Two columns on desktop */
#ft-trial-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 9px !important;
}

/* Prevent fields from overflowing */
#ft-trial-form .ft-field {
  min-width: 0 !important;
  margin: 0 !important;
}

/* Inputs and dropdowns */
#ft-trial-form input:not([type="checkbox"]):not([type="radio"]),
#ft-trial-form select {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
}

/* Compact text area */
#ft-trial-form textarea {
  width: 100% !important;
  min-height: 60px !important;
  padding: 9px 10px !important;
  box-sizing: border-box !important;
}

/* Smaller labels */
#ft-trial-form .ft-field > label,
#ft-trial-form .ft-field > legend {
  margin-bottom: 4px !important;
  font-size: 12px !important;
}

/* Full-width fields */
#ft-trial-form .ft-days-dropdown,
#ft-trial-form .ft-days-field,
#ft-trial-form .ft-consent,
#ft-trial-form button[type="submit"],
#ft-trial-form input[type="submit"] {
  grid-column: 1 / -1 !important;
}

/* Full-width field containing a textarea */
#ft-trial-form .ft-field:has(textarea) {
  grid-column: 1 / -1 !important;
}

/* Preferred-days dropdown */
#ft-trial-form .ft-days-options {
  padding: 4px !important;
}

#ft-trial-form .ft-days-options label {
  min-height: 32px !important;
  padding: 5px 9px !important;
}

/* Consent area */
#ft-trial-form .ft-consent {
  margin: 5px 0 8px !important;
  padding: 8px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* Submit button */
#ft-trial-form button[type="submit"],
#ft-trial-form input[type="submit"] {
  width: 100% !important;
  min-height: 42px !important;
  margin-top: 3px !important;
}

/* Tablet */
@media (max-width: 900px) {
  .ft-form-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ft-form-card {
    padding: 17px !important;
  }
}

/* Mobile */
@media (max-width: 560px) {
  #ft-trial-form {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }

  #ft-trial-form .ft-field,
  #ft-trial-form .ft-days-dropdown,
  #ft-trial-form .ft-days-field,
  #ft-trial-form .ft-consent,
  #ft-trial-form button[type="submit"],
  #ft-trial-form input[type="submit"],
  #ft-trial-form .ft-field:has(textarea) {
    grid-column: 1 / -1 !important;
  }

  .ft-form-card {
    padding: 13px !important;
  }
}
/* =========================================
   COURSES DROPDOWN - SCROLL FIX
   Theme: Black + Gold + White
========================================= */

.primary-navigation .nav-item.has-dropdown {
    position: relative;
}

.primary-navigation .nav-item.has-dropdown > .dropdown-menu {
    max-height: 65vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #D6AD58 #171717;
}

/* Gold scrollbar for Chrome and Edge */
.primary-navigation .dropdown-menu::-webkit-scrollbar {
    width: 7px;
}

.primary-navigation .dropdown-menu::-webkit-scrollbar-track {
    background: #171717;
    border-radius: 10px;
}

.primary-navigation .dropdown-menu::-webkit-scrollbar-thumb {
    background: #D6AD58;
    border-radius: 10px;
}

.primary-navigation .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #F2D58A;
} 
.site-footer a {
  font-size: 15px;
}
.announcement-socials{ margin-right: 100px  }
@media (max-width: 768px) {
    .navbar,
    .navbar-container,
    .header-container,
    header > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }
}
@media (max-width: 768px) {
    .announcement-bar {
        display: none !important;
    }
} @media (min-width: 769px) and (max-width: 1200px) {
    .site-header {
        width: 100% !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        box-sizing: border-box !important;
    }
} 
@media (max-width: 768px) {
    .site-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .hm-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
@media (max-width: 768px) {
    .site-header + main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
@media (max-width: 768px) {

    .faq-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .faq-intro {
        position: static !important;
        width: 100%;
    }

    .faq-intro .button.button-golden {
        position: static !important;
        display: inline-flex !important;
        margin: 25px 0 15px 0 !important;
        transform: none !important;
    }

    .faq-list {
        position: static !important;
        width: 100%;
        margin: 0 !important;
    }
}
@media (max-width: 768px) {
    .hero .slider-dots {
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}
/* MOBILE NAVIGATION - FINAL FIX */
@media (max-width: 900px) {

    .site-header {
        position: relative !important;
        z-index: 99999 !important;
    }

    .primary-navigation.open {
        position: fixed !important;
        top: 73px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        height: calc(100vh - 73px) !important;
        max-height: calc(100vh - 73px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        background: #ffffff !important;

        z-index: 999999 !important;
    }

    .hero {
        position: relative !important;
        z-index: 1 !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }
}
@media (max-width: 900px) {

    /* Keep dropdown inside mobile menu */
    .primary-navigation .nav-item.has-drop {
        position: relative !important;
        width: 100%;
    }

    /* Courses button */
    .primary-navigation .nav-item.has-drop > .dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Dropdown CLOSED */
    .primary-navigation .nav-item.has-drop > .dropdown-menu {
        position: static !important;
        display: none;
        width: 100% !important;
        max-height: 280px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* Dropdown OPEN */
    .primary-navigation .nav-item.has-drop > .dropdown-toggle[aria-expanded="true"]
        + .dropdown-menu {
        display: block !important;
    }

    /* Dropdown links */
    .primary-navigation .dropdown-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ===== COMPACT SIDE-BY-SIDE FEE CALCULATOR ===== */
/* ==========================================
   ONLINE QURAN ACADEMY — FEE CALCULATOR
   Refined sizing inspired by reference image
   Theme: White, Black & Gold
========================================== */

.home-fee-calculator {
    background: whitesmoke !important;
    color: #171717 !important;
    padding: 65px 28px !important;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.home-fee-calculator *,
.home-fee-calculator *::before,
.home-fee-calculator *::after {
    box-sizing: border-box;
}

/* MAIN TWO-COLUMN LAYOUT */

.fee-calc-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 60px;
}

/* LEFT HEADING */

.fee-calc-heading {
    text-align: left !important;
    margin: 0 !important;
    min-width: 0;
}

.fee-calc-label {
    display: inline-block;
    color: #9b762e !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    line-height: 1.6;
    margin-bottom: 13px !important;
}

.fee-calc-heading h2 {
    color: #171717 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(30px, 3.1vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.8px;
    margin: 0 0 15px !important;
    max-width: 540px;
}

.fee-calc-heading p {
    color: #5d5d5d !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
    margin: 0 !important;
    max-width: 480px;
}

/* RIGHT CALCULATOR PANEL */

.fee-calc-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    background: #fffefa !important;
    border: 1px solid #e8dfce !important;
    border-radius: 15px !important;
    padding: 27px 26px 23px !important;

    box-shadow:
        0 12px 36px rgba(36, 29, 17, 0.055),
        0 2px 7px rgba(36, 29, 17, 0.025);

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 17px 18px;

    margin: 0 !important;
}

/* FORM FIELDS */

.fee-calc-field {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.fee-calc-field label {
    display: block !important;
    color: #292929 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
}

/* DROPDOWN BARS */

.fee-calc-field select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 49px !important;
    min-height: 49px !important;

    padding: 0 13px !important;
    margin: 0 !important;

    background-color: #ffffff !important;
    color: #414141 !important;
    border: 1px solid #dedbd4 !important;
    border-radius: 9px !important;

    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: normal !important;

    outline: none !important;
    box-shadow: none;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.fee-calc-field select:hover {
    border-color: #c6a354 !important;
}

.fee-calc-field select:focus {
    border-color: #b18a39 !important;
    box-shadow: 0 0 0 3px rgba(214, 173, 88, 0.16) !important;
}

/* ESTIMATED MONTHLY FEE */

.fee-calc-result {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0;

    background: linear-gradient(
        135deg,
        #fffefa 0%,
        #faf5e9 100%
    ) !important;

    border: 1px solid #e5d8bc !important;
    border-radius: 12px !important;
    padding: 20px 15px 17px !important;

    margin: 1px 0 0 !important;
    text-align: center !important;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.fee-calc-result:hover {
    border-color: #d6ad58 !important;
    box-shadow: 0 5px 18px rgba(120, 87, 28, 0.07);
}

.fee-result-label {
    display: block !important;
    color: #53504a !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
}

.fee-result-price {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 4px;

    color: #171717 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 39px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 10px !important;
}

.fee-result-price > span:first-child {
    color: #a47b29 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
}

.fee-result-price small {
    color: #66615a !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-left: 3px !important;
}

#fee-result-details {
    color: #68635b !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* GOLD FREE TRIAL BUTTON */

.fee-calc-button {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;

    width: 100% !important;
    min-height: 53px !important;
    padding: 14px 20px !important;
    margin: 0 !important;

    background: linear-gradient(
        110deg,
        #e0c17d 0%,
        #d6ad58 50%,
        #c69a43 100%
    ) !important;

    color: #171717 !important;
    border: 1px solid rgba(164, 123, 41, 0.25) !important;
    border-radius: 9px !important;

    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;

    box-shadow: 0 5px 13px rgba(166, 123, 39, 0.12);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.fee-calc-button span {
    display: inline-block;
    font-size: 19px !important;
    line-height: 1;
    transition: transform 0.25s ease;
}

.fee-calc-button:hover {
    color: #171717 !important;
    filter: saturate(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(166, 123, 39, 0.2);
}

.fee-calc-button:hover span {
    transform: translateX(4px);
}

.fee-calc-button:focus-visible {
    outline: 3px solid rgba(166, 123, 39, 0.45) !important;
    outline-offset: 3px;
}

/* PRICING DISCLAIMER */

.fee-calc-note {
    grid-column: 1 / -1 !important;
    width: 100% !important;

    color: #77716a !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;

    text-align: center !important;
    margin: -2px 0 0 !important;
}

/* TABLETS AND SMALL LAPTOPS */

@media (max-width: 950px) {
    .home-fee-calculator {
        padding: 50px 22px !important;
    }

    .fee-calc-container {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 30px;
    }

    .fee-calc-heading h2 {
        font-size: clamp(28px, 3.5vw, 36px) !important;
    }

    .fee-calc-heading p {
        font-size: 14px !important;
    }

    .fee-calc-card {
        padding: 22px 19px 20px !important;
        gap: 15px 12px;
    }

    .fee-calc-field select {
        padding: 0 9px !important;
        font-size: 12px !important;
    }
}

/* MOBILE: STACK HEADING ABOVE CALCULATOR */

@media (max-width: 700px) {
    .home-fee-calculator {
        padding: 42px 18px !important;
    }

    .fee-calc-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 25px !important;
        max-width: 560px !important;
    }

    .fee-calc-heading {
        text-align: left !important;
    }

    .fee-calc-label {
        font-size: 10px !important;
        letter-spacing: 1.7px !important;
        margin-bottom: 10px !important;
    }

    .fee-calc-heading h2 {
        max-width: 480px;
        font-size: clamp(29px, 6vw, 37px) !important;
        line-height: 1.23 !important;
        margin-bottom: 12px !important;
    }

    .fee-calc-heading p {
        max-width: 520px;
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .fee-calc-card {
        width: 100% !important;
        padding: 22px 18px !important;
        gap: 16px 12px;
        border-radius: 13px !important;
    }

    .fee-calc-field label {
        font-size: 12px !important;
        margin-bottom: 7px !important;
    }

    .fee-calc-field select {
        height: 47px !important;
        min-height: 47px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

    .fee-calc-result {
        padding: 19px 10px 16px !important;
    }

    .fee-result-label {
        font-size: 13px !important;
    }

    .fee-result-price {
        font-size: 36px !important;
    }

    .fee-calc-button {
        min-height: 51px !important;
        font-size: 13px !important;
    }

    .fee-calc-note {
        font-size: 10px !important;
    }
}

/* SMALL PHONES */

@media (max-width: 420px) {
    .home-fee-calculator {
        padding: 34px 13px !important;
    }

    .fee-calc-container {
        gap: 21px !important;
    }

    .fee-calc-heading h2 {
        font-size: 28px !important;
        letter-spacing: -0.5px;
    }

    .fee-calc-card {
        padding: 18px 12px !important;
        gap: 14px 9px;
    }

    .fee-calc-field label {
        font-size: 11px !important;
    }

    .fee-calc-field select {
        height: 45px !important;
        min-height: 45px !important;
        font-size: 11px !important;
        padding: 0 5px !important;
    }

    .fee-result-price {
        font-size: 33px !important;
    }

    .fee-result-price > span:first-child {
        font-size: 24px !important;
    }

    #fee-result-details {
        font-size: 10px !important;
    }
}

/* VERY NARROW PHONES */

@media (max-width: 320px) {
    .fee-calc-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .fee-calc-result,
    .fee-calc-button,
    .fee-calc-note {
        grid-column: 1 !important;
    }
}

/* ACCESSIBILITY: RESPECT REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .fee-calc-field select,
    .fee-calc-result,
    .fee-calc-button,
    .fee-calc-button span {
        transition: none !important;
    }
}

/* ========== PREMIUM REVIEWS SECTION ========== */

.academy-reviews {
  background: whitesmoke !important;
  color: #171717 !important;
  padding: 75px 20px !important;
  font-family: 'DM Sans', Arial, sans-serif;
  overflow: hidden;
}

.reviews-container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.reviews-heading {
  max-width: 800px;
  margin: 0 auto 42px;
  text-align: center;
}

.reviews-eyebrow {
  display: inline-block;
  color: #98701e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.reviews-heading h2 {
  margin: 0 0 18px;
  color: #171717 !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.22;
}

.reviews-heading h2 span {
  color: #ad812d;
}

.reviews-heading > p {
  max-width: 720px;
  margin: 0 auto;
  color: #4e4e4e !important;
  font-size: 17px;
  line-height: 1.85;
}

/* Platform cards */

.review-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 65px;
}

.platform-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 145px;
  padding: 23px 20px;
  overflow: hidden;
  border: 1px solid #e8dfcd;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(22, 22, 22, .06);
  color: #171717 !important;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 34px rgba(22, 22, 22, .12);
}

.facebook-card {
  border-top: 4px solid #1877f2;
}

.google-card {
  border-top: 4px solid #4285f4;
}

.trustpilot-card {
  border-top: 4px solid #00a878;
}

.platform-icon {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 55px;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.facebook-icon {
  background: #1877f2;
  color: #fff;
  font-family: Arial, sans-serif;
}

.google-icon {
  background: #f3f6ff;
  border: 1px solid #e1e7fb;
  color: #4285f4;
  font-family: Arial, sans-serif;
}

.trustpilot-icon {
  background: #00a878;
  color: #fff;
  font-size: 27px;
}

.platform-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.platform-info strong {
  color: #171717;
  font-size: 16px;
  line-height: 1.4;
}

.platform-info small {
  color: #626262;
  font-size: 12px;
  line-height: 1.6;
}

.platform-cta {
  color: #8c671f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.platform-decoration {
  position: absolute;
  z-index: 0;
  right: -8px;
  bottom: -35px;
  color: rgba(24, 119, 242, .07);
  font-family: Arial, sans-serif;
  font-size: 120px;
  font-weight: 900;
  pointer-events: none;
}

.google-dots {
  position: absolute;
  right: 18px;
  top: 10px;
  color: #4285f4;
  font-size: 22px;
  letter-spacing: 2px;
  opacity: .7;
}

.trustpilot-decoration {
  position: absolute;
  right: 13px;
  bottom: 2px;
  color: rgba(0, 168, 120, .12);
  font-size: 65px;
  pointer-events: none;
}

/* Supporting content */

.reviews-subheading {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.reviews-subheading h3 {
  margin: 0 0 12px;
  color: #171717;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.3;
}

.reviews-subheading p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 730px;
}

/* Review content cards */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 27px 24px;
  background: #fff;
  border: 1px solid #e8dfcd;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .055);
  transition: transform .25s ease, box-shadow .25s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, .09);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.review-quote-mark {
  color: #d6ad58;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: .8;
}

.review-type {
  padding: 7px 10px;
  border-radius: 6px;
  background: #faf3e3;
  color: #76571c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.review-card h4 {
  color: #171717;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 13px;
}

.review-card > p {
  flex: 1;
  color: #484848;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid #eee6d8;
}

.review-avatar {
  display: flex;
  flex: 0 0 45px;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f5ecd8;
  border: 1px solid #e9d7af;
  color: #805e1d;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.review-author > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.review-author strong {
  color: #171717;
  font-size: 13px;
}

.review-author small {
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}

/* Action buttons */

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

.reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid #d6ad58;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.reviews-btn-primary {
  background: #d6ad58;
  color: #171717 !important;
}

.reviews-btn-primary:hover {
  background: #c69a3d;
  transform: translateY(-2px);
}

.reviews-btn-outline {
  background: #fff;
  color: #171717 !important;
}

.reviews-btn-outline:hover {
  background: #faf4e7;
  transform: translateY(-2px);
}

.reviews-disclaimer {
  max-width: 750px;
  margin: 22px auto 0;
  color: #696969;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

/* Tablet */

@media (max-width: 900px) {
  .review-platforms {
    gap: 12px;
  }

  .platform-card {
    padding: 18px 13px;
    gap: 10px;
  }

  .platform-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 25px;
  }

  .platform-info strong {
    font-size: 14px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .academy-reviews {
    padding: 48px 15px !important;
  }

  .reviews-heading {
    margin-bottom: 30px;
  }

  .reviews-heading h2 {
    font-size: 31px;
  }

  .reviews-heading > p {
    font-size: 15px;
  }

  .review-platforms {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 45px;
  }

  .platform-card {
    min-height: 115px;
    padding: 20px;
  }

  .platform-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .platform-info strong {
    font-size: 16px;
  }

  .platform-info small {
    font-size: 13px;
  }

  .platform-cta {
    font-size: 13px;
  }

  .reviews-subheading p {
    font-size: 15px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card:last-child {
    grid-column: auto;
  }

  .review-card {
    padding: 24px 21px;
  }

  .review-card h4 {
    font-size: 23px;
  }

  .review-card > p {
    font-size: 16px;
  }

  .reviews-actions {
    flex-direction: column;
    gap: 12px;
  }

  .reviews-btn {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-card,
  .review-card,
  .reviews-btn {
    transition: none;
  }
}
 
/* ========== FACULTY SECTION ========== */

.academy-faculty {
    background: #f7f7f5 !important;
    color: #171717 !important;
    padding: 70px 20px !important;
    font-family: 'DM Sans', Arial, sans-serif;
}

.faculty-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.faculty-heading {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 38px;
}

.faculty-eyebrow {
    display: inline-block;
    color: #98701e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.faculty-heading h2 {
    color: #171717 !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.25;
    margin: 0 0 15px;
}

.faculty-heading h2 span {
    color: #a77c2c;
}

.faculty-heading p {
    max-width: 700px;
    color: #555 !important;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 auto;
}

/* Teacher cards */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.faculty-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e4db;
    border-radius: 15px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.10);
}

/* Uploaded teacher photos */

.faculty-image-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #e9e7e1;
}

.faculty-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform .4s ease;
}

.faculty-card:hover .faculty-image {
    transform: scale(1.045);
}

.faculty-subject {
    position: absolute;
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    border-radius: 6px;
    background: #d6ad58;
    color: #171717;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

/* Teacher details */

.faculty-info {
    padding: 23px 21px 25px;
}

.faculty-role {
    display: inline-block;
    color: #98701e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.faculty-info h3 {
    color: #171717;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 25px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.faculty-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 19px;
}

.faculty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.faculty-tags span {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #e9dfca;
    border-radius: 5px;
    background: #faf7f0;
    color: #5a4825;
    font-size: 11px;
    font-weight: 700;
}

/* Bottom button area */

.faculty-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 35px;
    padding: 22px 25px;
    background: #fff;
    border: 1px solid #e8e1d3;
    border-radius: 12px;
}

.faculty-bottom p {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.faculty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid #d6ad58;
    border-radius: 7px;
    background: #d6ad58;
    color: #171717 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.faculty-button:hover {
    background: #c69a3d;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 850px) {
    .academy-faculty {
        padding: 55px 18px !important;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .faculty-card:last-child {
        grid-column: 1 / -1;
    }

    .faculty-card:last-child .faculty-image-wrap {
        height: 300px;
    }

    .faculty-image-wrap {
        height: 245px;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .academy-faculty {
        padding: 45px 15px !important;
    }

    .faculty-heading {
        margin-bottom: 27px;
    }

    .faculty-heading h2 {
        font-size: 30px;
    }

    .faculty-heading p {
        font-size: 14px;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .faculty-card:last-child {
        grid-column: auto;
    }

    .faculty-image-wrap,
    .faculty-card:last-child .faculty-image-wrap {
        height: 290px;
    }

    .faculty-info {
        padding: 22px 20px;
    }

    .faculty-info h3 {
        font-size: 26px;
    }

    .faculty-info p {
        font-size: 15px;
    }

    .faculty-bottom {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 22px 18px;
    }

    .faculty-button {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faculty-card,
    .faculty-image,
    .faculty-button {
        transition: none;
    }
}
/* ---------- Faculty ---------- */
.tutors-section { background: whitesmoke; padding: 80px 20px; border-top: 1px solid var(--border-color); }

.tutors-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.tutor-card { 
  color: black;
    background:white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border: 1px solid white;
    
}

.tutor-card {
    transition: all 0.3s ease;
    border: 1px solid #e8e1d3;
}

.tutor-card:hover {
  
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}


.tutor-img { position: relative; height: 250px; }
.tutor-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tutor-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;

    color: black;
}

.tutor-info { padding: 20px; }
.tutor-spec { color: var(--gold-primary); font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.tutor-exp { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; }
.rating { color:gold; margin-bottom: 10px; }
/* =========================================
   ONLINE QURAN ACADEMY - REVIEWS CSS
   All selectors use roa- to avoid conflicts
========================================= */

/* Main section and shared colors */
.roa-reviews {
  --roa-gold: #d99a49;
  --roa-gold-light: #f4c58b;
  --roa-dark: #171717;
  --roa-text: #282828;
  --roa-muted: #737373;
  --roa-border: #e8e3dc;
  --roa-green: #27a77b;

  width: 100%;
  padding: 70px 5%;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--roa-text);
  font-family: inherit;
  overflow: hidden;
}

/* Keep all sizing predictable */
.roa-reviews *,
.roa-reviews *::before,
.roa-reviews *::after {
  box-sizing: border-box;
}

/* Consistent heading styles */
.roa-reviews h1,
.roa-reviews h2,
.roa-reviews h3,
.roa-reviews p {
  margin-top: 0;
}

.roa-reviews h1,
.roa-reviews h2,
.roa-reviews h3 {
  line-height: 1.3;
}

/* =========================================
   1. HERO / INTRODUCTION
========================================= */

.roa-hero {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}

.roa-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
  padding: 10px 17px;
  border: 1px solid #eee3d5;
  border-radius: 50px;
  background: #fffaf3;
  color: #655443;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.roa-badge-icon {
  color: var(--roa-gold);
}

.roa-hero h1 {
  margin-bottom: 20px;
  color: #252525;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.roa-hero h1 span {
  color: var(--roa-gold);
}

.roa-hero > p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--roa-muted);
  font-size: 17px;
  line-height: 1.9;
}

/* =========================================
   2. PLATFORM CARDS AND GRID
========================================= */

.roa-platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 85px;
}

.roa-platform-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px 22px;
  border: 1px solid var(--roa-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 7px 25px rgb(30 25 20 / 5%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roa-platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 30px rgb(30 25 20 / 9%);
}

.roa-platform-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.roa-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f7f4f0;
  font-size: 24px;
  font-weight: 800;
}

.roa-google-icon {
  color: #4285f4;
}

.roa-trustpilot-icon {
  color: #00a878;
}

.roa-facebook-icon {
  color: #1877f2;
}

.roa-platform-heading h3 {
  margin-bottom: 4px;
  color: #252525;
  font-size: 17px;
}

.roa-platform-heading p {
  margin-bottom: 0;
  color: var(--roa-muted);
  font-size: 12px;
}

.roa-platform-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.roa-platform-rating strong {
  color: #282828;
  font-size: 35px;
  line-height: 1;
}

.roa-stars,
.roa-review-stars {
  color: var(--roa-gold);
  letter-spacing: 2px;
}

.roa-green-stars {
  color: #00a878;
}

.roa-platform-description {
  min-height: 55px;
  margin-bottom: 22px;
  color: var(--roa-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Buttons linking to external review profiles */
.roa-platform-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 10px;
  border: 1px solid #e8e4df;
  border-radius: 10px;
  background: #ffffff;
  color: #292929;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.roa-platform-button:hover {
  border-color: var(--roa-gold);
  background: #fff7ed;
  color: #8b571d;
}

/* =========================================
   3. DARK PARENT RANKING PANEL
========================================= */

.roa-ranking-panel {
  min-width: 0;
  padding: 25px 22px;
  border: 1px solid #343434;
  border-radius: 18px;
  background: linear-gradient(145deg, #252525, #111111);
  color: #ffffff;
  box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
}

.roa-ranking-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.roa-ranking-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
}

.roa-ranking-heading small {
  margin-left: auto;
  color: var(--roa-gold-light);
  font-size: 9px;
  font-weight: 800;
}

.roa-muted-label {
  margin-bottom: 10px;
  color: #c4c4c4;
  font-size: 12px;
}

.roa-ranking-score {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.roa-ranking-score strong {
  color: var(--roa-gold-light);
  font-size: 36px;
}

.roa-gold-stars {
  color: var(--roa-gold-light);
  letter-spacing: 1px;
}

.roa-rating-selector {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #3c3c3c;
}

.roa-rating-selector > p:first-child {
  margin-bottom: 12px;
  color: #f3f3f3;
  font-size: 13px;
}

/* Clickable rating stars */
.roa-select-stars {
  display: flex;
  gap: 7px;
}

.roa-select-stars button {
  padding: 0;
  border: none;
  background: transparent;
  color: #656565;
  cursor: pointer;
  font-size: 28px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.roa-select-stars button:hover,
.roa-select-stars button.selected {
  color: var(--roa-gold-light);
}

.roa-select-stars button:hover {
  transform: scale(1.12);
}

#roa-rating-message {
  min-height: 34px;
  margin: 12px 0 0;
  color: #c8c8c8;
  font-size: 12px;
  line-height: 1.6;
}

.roa-submit-rating {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(100deg, #f1b86f, #d99042);
  color: #281a0c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: opacity 0.2s ease;
}

.roa-submit-rating:hover {
  opacity: 0.88;
}

/* =========================================
   4. TESTIMONIALS HEADER AND FILTERS
========================================= */

.roa-testimonials {
  max-width: 1400px;
  margin: 0 auto 80px;
}

.roa-testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e9e5df;
}

.roa-testimonials-header h2 {
  margin-bottom: 8px;
  color: #282828;
  font-size: clamp(23px, 3vw, 30px);
}

.roa-testimonials-header p {
  margin-bottom: 0;
  color: var(--roa-muted);
  font-size: 14px;
  line-height: 1.7;
}

.roa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.roa-filter {
  padding: 10px 15px;
  border: 1px solid #e5e0d8;
  border-radius: 30px;
  background: #ffffff;
  color: #4c4c4c;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.roa-filter:hover,
.roa-filter.active {
  border-color: var(--roa-gold);
  background: #f4c58b;
  color: #302010;
}

/* =========================================
   5. TESTIMONIAL CARDS
========================================= */

.roa-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.roa-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--roa-border);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgb(30 25 20 / 4%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roa-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgb(30 25 20 / 8%);
}

/* Hide cards that don't match the chosen filter */
.roa-review-card[hidden] {
  display: none;
}

.roa-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.roa-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e8e3db;
  color: #504538;
  font-size: 13px;
  font-weight: 800;
}

.roa-review-person h3 {
  margin-bottom: 5px;
  color: #2b2b2b;
  font-size: 15px;
}

.roa-review-person p {
  margin-bottom: 0;
  color: var(--roa-muted);
  font-size: 11px;
  line-height: 1.6;
}

.roa-check {
  margin-left: auto;
  color: var(--roa-green);
  font-size: 13px;
}

.roa-review-stars {
  margin-bottom: 15px;
  font-size: 17px;
}

.roa-review-card blockquote {
  flex: 1;
  margin: 0 0 25px;
  color: #555555;
  font-size: 14px;
  line-height: 1.9;
}

.roa-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #f0ece6;
  color: #777777;
  font-size: 11px;
}

.roa-verified {
  color: #39866e;
  font-weight: 700;
}

/* =========================================
   6. DARK FEEDBACK CALL-TO-ACTION BANNER
========================================= */

.roa-feedback-banner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 55px 25px;
  border: 1px solid #333333;
  border-radius: 24px;
  background: linear-gradient(130deg, #242424, #101010);
  color: #ffffff;
  text-align: center;
}

.roa-feedback-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--roa-gold-light);
  font-size: 26px;
}

.roa-feedback-banner h2 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: clamp(24px, 3.5vw, 35px);
}

.roa-feedback-banner p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: #dddddd;
  font-size: 15px;
  line-height: 1.9;
}

.roa-feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 27px;
  border-radius: 50px;
  background: linear-gradient(100deg, #f4c58b, #e4a052);
  color: #2d1d0e;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roa-feedback-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgb(217 154 73 / 25%);
}

/* =========================================
   7. RESPONSIVE TABLET LAYOUT
========================================= */

@media (max-width: 1100px) {
  .roa-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roa-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roa-testimonials-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================
   8. RESPONSIVE MOBILE LAYOUT
========================================= */

@media (max-width: 600px) {
  .roa-reviews {
    padding: 45px 18px;
  }

  .roa-hero {
    margin-bottom: 38px;
  }

  .roa-trust-badge {
    padding: 9px 12px;
    font-size: 10px;
    line-height: 1.6;
  }

  .roa-hero h1 {
    font-size: 32px;
    letter-spacing: -0.7px;
  }

  .roa-hero > p {
    font-size: 14px;
    line-height: 1.8;
  }

  .roa-platforms {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 60px;
  }

  .roa-platform-card,
  .roa-ranking-panel {
    padding: 23px 20px;
  }

  .roa-review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .roa-testimonials {
    margin-bottom: 55px;
  }

  .roa-testimonials-header {
    gap: 18px;
    margin-bottom: 25px;
  }

  .roa-filters {
    width: 100%;
    gap: 8px;
  }

  .roa-filter {
    padding: 9px 12px;
    font-size: 11px;
  }

  .roa-review-card {
    padding: 22px;
  }

  .roa-feedback-banner {
    padding: 40px 20px;
    border-radius: 18px;
  }

  .roa-feedback-banner p {
    font-size: 14px;
  }

  .roa-feedback-button {
    width: 100%;
    padding: 14px 16px;
  }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .roa-reviews *,
  .roa-reviews *::before,
  .roa-reviews *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}/* =========================================
   FIX: ALL FOUR RATING CARDS SAME SIZE
   Compact cards with all content visible
========================================= */

/* Four equal-width columns with equal-height cards */
.roa-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

/* Make every card the same height */
.roa-platform-card,
.roa-ranking-panel {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    min-width: 0;
    padding: 18px 15px;
    border-radius: 15px;
    box-sizing: border-box;
}

/* Arrange platform card content consistently */
.roa-platform-card {
    display: flex;
    flex-direction: column;
}

/* Compact platform heading */
.roa-platform-heading {
    gap: 9px;
    margin-bottom: 18px;
}

.roa-platform-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 21px;
}

.roa-platform-heading h3 {
    margin-bottom: 3px;
    font-size: 15px;
}

.roa-platform-heading p {
    margin-bottom: 0;
    font-size: 11px;
}

/* Rating and stars */
.roa-platform-rating {
    gap: 7px;
    margin-bottom: 10px;
}

.roa-platform-rating strong {
    font-size: 30px;
}

.roa-stars {
    font-size: 12px;
    letter-spacing: 1px;
}

/* Show the full description without reserving excess space */
.roa-platform-description {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.6;
}

/* Keep all three platform buttons aligned at the bottom */
.roa-platform-button {
    min-height: 40px;
    margin-top: auto;
    padding: 9px 6px;
    font-size: 11px;
}

/* Compact ranking panel while retaining its content */
.roa-trustpilot-icon {
    background: #ffffff;
    color: #00b67a;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
}

.roa-ranking-heading {
    gap: 6px;
    margin-bottom: 20px;
}

.roa-ranking-heading h3 {
    font-size: 13px;
}

.roa-ranking-heading small {
    font-size: 8px;
}

.roa-ranking-score {
    gap: 7px;
    margin-bottom: 10px;
}

.roa-ranking-score strong {
    font-size: 30px;
}

.roa-gold-stars {
    font-size: 12px;
}

.roa-muted-label {
    margin-bottom: 8px;
    font-size: 11px;
}

.roa-rating-selector {
    margin-top: 14px;
    padding-top: 12px;
}

.roa-rating-selector > p:first-child {
    margin-bottom: 8px;
    font-size: 11px;
}

.roa-select-stars {
    gap: 5px;
}

.roa-select-stars button {
    font-size: 22px;
}

#roa-rating-message {
    min-height: 0;
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.4;
}

.roa-submit-rating {
    flex-shrink: 0;
    min-height: 36px;
    margin-top: auto;
    padding: 9px;
    font-size: 11px;
}

/* Tablet: two cards per row */
@media (max-width: 1050px) {
    .roa-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: one card per row */
@media (max-width: 600px) {
    .roa-platforms {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .roa-platform-card,
    .roa-ranking-panel {
        height: auto;
        min-height: 260px;
        max-height: none;
        padding: 22px;
    }

    .roa-platform-heading h3 {
        font-size: 16px;
    }

    .roa-platform-description {
        font-size: 13px;
    }

    .roa-platform-button {
        min-height: 42px;
        font-size: 12px;
    }

    .roa-ranking-panel {
        overflow-y: visible;
    }

    .roa-ranking-heading h3 {
        font-size: 15px;
    }
} 

/* TikTok social media icon */
.announcement-socials a:has(.fa-tiktok) {
    color: white;
    background-color: black;
    transition: color 0.3s ease, transform 0.3s ease;
}

.announcement-socials a:has(.fa-tiktok):hover {
    color: #ffffff;
    transform: translateY(-3px);
}


/* PERFECT CIRCULAR FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    aspect-ratio: 1 / 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;

    background: #25D366 !important;
    color: #ffffff !important;
    text-decoration: none !important;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp SVG icon */
.whatsapp-float svg {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    color: #ffffff !important;
}

/* Hide the text to keep the button circular */
.whatsapp-float span {
    display: none !important;
}

/* Hover effect */
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float svg {
        width: 31px !important;
        height: 31px !important;
        flex-basis: 31px !important;
    }
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.footer-socials i {
    font-size: 20px;
} /* Fix mobile footer and social icons */
@media (max-width: 768px) {

    .site-footer {
        height: auto;
        overflow: visible;
    }

    .footer-container {
        height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 25px;
    }

    .footer-column {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .announcement-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        position: static;
        margin-top: 15px;
    }

    .footer-bottom {
        position: relative;
        width: 100%;
        margin-top: 20px;
    }
}/* Mobile Footer Social Media Layout */
@media screen and (max-width: 768px) {

    .contact-column {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .contact-column h3,
    .contact-column > .contact-item {
        grid-column: 1 / -1;
    }

    .contact-column h4 {
        grid-column: 1;
        margin: 15px 0 !important;
        white-space: nowrap;
    }

    .announcement-socials {
        grid-column: 2;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        position: static !important;
        margin: 10px 0 !important;
    }

    .announcement-socials a {
        position: static !important;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }
}/* Mobile: center social icons across the footer */
@media screen and (max-width: 768px) {

    .site-footer .contact-column {
        width: 100% !important;
        box-sizing: border-box;
    }

    .site-footer .contact-column h4 {
        display: none !important;
    }

    .site-footer .contact-column .announcement-socials {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;

        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;

        position: static !important;
        transform: none !important;
        margin: 15px auto 20px !important;
        padding: 0 !important;

        gap: 15px;
        z-index: 10;
    }

} 
/* Mobile footer social icons alignment */
@media screen and (max-width: 768px) {

    .site-footer .contact-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .site-footer .contact-column h4 {
        display: none !important;
    }

    .site-footer .contact-column .announcement-socials {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;

        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        margin: 15px auto 20px !important;
        padding: 0 !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: -20px;
        transform: none !important;

        gap: 15px !important;
    }
}