/* Public chrome/footer + homepage platform — tokens on body.has-home-chrome so header/footer work site-wide */

.has-home-chrome,
.home-platform {
    --hp-cream: #faf8f2;
    --hp-white: #ffffff;
    --hp-teal: #337978;
    --hp-teal-deep: #266160;
    --hp-gold: #c5a872;
    --hp-gold-bright: #d4af37;
    --hp-gold-light: #f2e5c7;
    --hp-gold-soft: #f2ece0;
    --hp-border: #eaddc6;
    --hp-dark: #0b2b1b;
    --hp-title: #1f4e5b;
    --hp-muted: #4a4a46;
    --hp-gold-muted: #9e824f;
    --hp-cream-text: #f6e6c2;
    --hp-footer-1: #071a1f;
    --hp-footer-2: #0b2b2e;
    --hp-footer-3: #0f3d3f;
    --hp-pad: 80px;
    --hp-wrap: 1280px;
    --hp-chrome: 138px;
}

.home-platform {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    background: var(--hp-cream);
    color: var(--hp-dark);
    font-family: iran, Tahoma, sans-serif;
}

.home-chrome,
.home-footer,
.home-support {
    font-family: iran, Tahoma, sans-serif;
}

body.has-home-chrome {
    background-image: none;
    background-color: var(--hp-cream, #faf8f2);
    z-index: auto;
    color: var(--hp-dark);
}

body.has-home-chrome::before,
body.has-home-chrome::after {
    display: none;
}

.home-platform a {
    color: inherit;
    text-decoration: none;
}

.home-chrome a,
.home-footer a {
    text-decoration: none;
}

.home-chrome a.home-logo {
    color: inherit;
}

.home-chrome a:focus-visible,
.home-chrome button:focus-visible,
.home-chrome input:focus-visible,
.home-footer a:focus-visible,
.home-support button:focus-visible,
.home-platform a:focus-visible,
.home-platform button:focus-visible,
.home-platform input:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 3px;
}

.home-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.home-skip {
    position: absolute;
    right: 16px;
    top: -40px;
    z-index: 200;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--hp-gold);
    color: var(--hp-dark);
}

.home-skip:focus {
    top: 8px;
}

.home-wrap {
    width: min(var(--hp-wrap), calc(100% - 48px));
    margin-inline: auto;
}

.home-chrome {
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: visible;
}

.home-topbar {
    display: flex;
    height: 48px;
    align-items: center;
    background: linear-gradient(180deg, #2a6d6c 0%, var(--hp-teal-deep) 100%);
    border-bottom: 1px solid var(--hp-teal-deep);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.home-topbar-inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--hp-pad);
    gap: 16px;
}

.home-topbar-brand {
    display: flex;
    margin: 0;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.home-topbar-brand span {
    opacity: 0.9;
}

.home-topbar-brand strong {
    font-size: 12px;
    font-weight: 800;
    opacity: 1;
}

.home-topbar-star {
    opacity: 0.9;
}

.home-topbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.home-topbar-end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-chrome a.home-topbar-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.home-chrome a.home-topbar-chip span {
    color: #fff;
}

.home-topbar-chip img {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.home-chrome a.home-topbar-chip:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.home-chrome a.home-topbar-chip:active {
    transform: scale(0.97);
}

.home-topbar-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.45);
}

.home-header {
    position: relative;
    display: flex;
    height: 90px;
    align-items: center;
    overflow: visible;
    background-color: #faf8f2;
    background-image: linear-gradient(
        90deg,
        #337978 0%,
        #337978 55%,
        rgba(51, 121, 120, 0.72) 70%,
        rgba(51, 121, 120, 0.38) 82%,
        rgba(51, 121, 120, 0.14) 93%,
        #faf8f2 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.15);
}

.home-header-inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--hp-pad);
    gap: 24px;
}

.home-logo {
    display: flex;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
}

.home-logo img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: cover;
}

.home-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.home-chrome a.home-nav-link {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-shadow:
        0 1px 2px rgba(11, 43, 27, 0.55),
        0 2px 6px rgba(11, 43, 27, 0.35);
    transition: color 160ms ease-out, text-shadow 160ms ease-out;
}

.home-chrome a.home-nav-link:hover:not(.is-active) {
    color: #f5ebe0;
    text-shadow:
        0 1px 3px rgba(11, 43, 27, 0.6),
        0 2px 8px rgba(11, 43, 27, 0.4);
}

.home-chrome a.home-nav-link.is-active {
    color: #f8e5b0;
    font-weight: 800;
    text-shadow:
        0 1px 3px rgba(11, 43, 27, 0.7),
        0 0 16px rgba(212, 175, 55, 0.55);
}

.home-nav-burger {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    cursor: pointer;
}

.home-nav-drawer {
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    border: none;
    background: var(--hp-cream);
    box-shadow: -12px 0 40px rgba(11, 43, 27, 0.16);
    font-family: iran, Tahoma, sans-serif;
    color: var(--hp-dark);
}

.home-nav-drawer-head {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--hp-teal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-nav-drawer-brand {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.home-nav-drawer-brand img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.home-nav-drawer-title {
    flex: 1 1 auto;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.home-nav-drawer-close {
    display: flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.home-nav-drawer-close span {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
}

.home-nav-drawer-close span::before,
.home-nav-drawer-close span::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    content: "";
}

.home-nav-drawer-close span::before {
    transform: rotate(45deg);
}

.home-nav-drawer-close span::after {
    transform: rotate(-45deg);
}

.home-nav-drawer-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    overflow-y: auto;
}

.home-nav-drawer a.home-nav-drawer-link {
    display: block;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--hp-title);
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
    transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.home-nav-drawer a.home-nav-drawer-link:hover {
    background: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
}

.home-nav-drawer a.home-nav-drawer-link.is-active {
    border-color: var(--hp-gold);
    background: var(--hp-gold-light);
    color: var(--hp-teal-deep);
    font-weight: 800;
}

.home-nav-drawer-foot {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--hp-border);
    background: var(--hp-cream);
}

.home-nav-drawer a.home-nav-drawer-chip {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 160ms ease-out, transform 160ms ease-out;
}

.home-nav-drawer a.home-nav-drawer-chip:hover {
    background: var(--hp-teal-deep);
    color: #fff;
}

.home-nav-drawer a.home-nav-drawer-chip:active {
    transform: scale(0.97);
}

.home-nav-drawer a:focus-visible,
.home-nav-drawer button:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 3px;
}

.home-nav-burger-lines,
.home-nav-burger-lines::before,
.home-nav-burger-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    content: "";
}

.home-nav-burger-lines {
    position: relative;
}

.home-nav-burger-lines::before {
    position: absolute;
    top: -6px;
}

.home-nav-burger-lines::after {
    position: absolute;
    top: 6px;
}

.home-header-search {
    display: flex;
    flex: 0 0 360px;
    width: 360px;
    height: 52px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 9px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.home-header-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.home-header-search-input::placeholder {
    color: #e5e7eb;
    opacity: 0.9;
}

.home-header-search-input:focus {
    outline: none;
}

.home-header-search-btn {
    display: flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #337978;
    border-radius: 16px;
    background: #337978;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 160ms ease-out;
}

.home-header-search-btn img {
    display: block;
    width: 18px;
    height: 18px;
}

.home-header-search-btn:active {
    transform: scale(0.97);
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 760px;
}

.home-hero-swiper {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: 100%;
    margin: 0;
    overflow: hidden;
    list-style: none;
    padding: 0;
}

.home-hero-swiper .swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: content-box;
    transition-property: transform;
}

.home-hero-swiper .swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.home-hero-slide-link {
    display: block;
    height: 100%;
}

.home-hero-swiper picture {
    display: block;
    height: 100%;
}

.home-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(197, 168, 114, 0.056) 0%, rgba(197, 168, 114, 0) 55%, rgba(197, 168, 114, 0.039) 100%),
        radial-gradient(ellipse at center, rgba(51, 121, 120, 0.36) 0%, rgba(51, 121, 120, 0) 68%),
        linear-gradient(180deg, rgba(11, 43, 27, 0.92) 0%, rgba(11, 43, 27, 0) 55%, rgba(11, 43, 27, 0.736) 100%);
}

.home-hero-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.home-hero-glow-gold {
    top: 120px;
    left: -120px;
    width: 320px;
    height: 320px;
    opacity: 0.35;
    background: radial-gradient(circle, rgba(197, 168, 114, 0.4) 0%, rgba(197, 168, 114, 0) 70%);
}

.home-hero-glow-teal {
    right: -120px;
    bottom: 120px;
    width: 320px;
    height: 320px;
    opacity: 0.35;
    background: radial-gradient(circle, rgba(51, 121, 120, 0.333) 0%, rgba(51, 121, 120, 0) 70%);
}

.home-hero-glow-gold-corner {
    top: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    opacity: 0.55;
    background: linear-gradient(90deg, rgba(197, 168, 114, 0.2) 0%, rgba(197, 168, 114, 0) 100%);
}

.home-hero-glow-teal-corner {
    right: -120px;
    bottom: -120px;
    width: 420px;
    height: 420px;
    opacity: 0.55;
    background: linear-gradient(180deg, rgba(51, 121, 120, 0.2) 0%, rgba(51, 121, 120, 0) 100%);
}

.home-hero-inner {
    position: relative;
    z-index: auto;
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 760px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 72px 80px 88px;
    box-sizing: border-box;
    pointer-events: none;
}

.home-hero-inner a,
.home-hero-inner form {
    pointer-events: auto;
}

.home-hero-copy {
    display: flex;
    width: 100%;
    max-width: 733px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.home-hero-copy .home-eyebrow {
    align-self: flex-start;
}

.home-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--hp-gold);
    font-size: 14px;
    font-weight: 700;
}

.home-eyebrow-on-dark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
}

.home-eyebrow-on-dark span:not(.home-eyebrow-line) {
    background: linear-gradient(90deg, #c5a872, #f2e5c7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-eyebrow-on-dark .home-eyebrow-line {
    flex: 0 0 40px;
}

.home-eyebrow-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #c5a872, #f2e5c7);
}

.home-hero-title {
    margin: 0;
    width: 100%;
    color: #fff;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.05;
    text-align: right;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 18px rgba(197, 168, 114, 0.4);
}

.home-hero-lead {
    margin: 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.7;
    text-align: right;
}

.home-hero-ctas {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 16px;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out;
}

.home-pill:active {
    transform: scale(0.97);
}

.home-platform .home-hero-ctas a.home-pill-solid,
.home-platform .home-hero-ctas a.home-pill-ghost,
.home-platform .home-hero-ctas a.home-pill-gold {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-height: 50px;
    padding: 14px 32px;
    overflow: visible;
    border: 1.5px solid rgba(197, 168, 114, 0.4);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.home-platform .home-hero-ctas a.home-pill-solid {
    border-color: #c5a872;
    background: #978b65;
    color: #fff;
    box-shadow: 0 0 18px rgba(197, 168, 114, 0.4), 0 12px 28px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-platform .home-hero-ctas a.home-pill-ghost,
.home-platform .home-hero-ctas a.home-pill-gold {
    border-color: rgba(197, 168, 114, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 0 18px rgba(197, 168, 114, 0.2), 0 10px 24px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.home-platform .home-hero-ctas a.home-pill-gold {
    border-color: rgba(197, 168, 114, 0.65);
    background: #b8a078;
    color: #fff;
    box-shadow: 0 0 18px rgba(197, 168, 114, 0.35), 0 10px 24px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-platform .home-hero-ctas a.home-pill-solid:hover {
    color: #fff;
    background: #a0906c;
}

.home-platform .home-hero-ctas a.home-pill-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.home-platform .home-hero-ctas a.home-pill-gold:hover {
    color: #fff;
    background: #c5a872;
}

.home-platform a.home-pill-ghost {
    min-height: 50px;
    padding: 14px 32px;
    border: 1.5px solid rgba(197, 168, 114, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 18px rgba(197, 168, 114, 0.2), 0 10px 24px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.home-platform a.home-pill-gold {
    min-height: 50px;
    padding: 14px 32px;
    border: 1.5px solid rgba(197, 168, 114, 0.65);
    background: #b8a078;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 18px rgba(197, 168, 114, 0.35), 0 10px 24px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-platform a.home-pill-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.home-platform a.home-pill-gold:hover {
    color: #fff;
    background: #c5a872;
}

.home-platform a.home-pill-teal,
a.home-pill-teal,
.home-card .home-pill-teal {
    height: 40px;
    min-height: 40px;
    padding: 10px 18px;
    background: var(--hp-teal);
    color: #fff;
    box-shadow: 0 8px 9px rgba(51, 121, 120, 0.2);
}

.home-platform a.home-pill-teal:hover,
a.home-pill-teal:hover,
.home-card:hover .home-pill-teal {
    background: var(--hp-teal-deep);
    color: #fff;
}

.home-pill-pulse {
    transform-origin: 50% 50%;
    animation: home-pill-pulse 2s linear infinite;
}

@keyframes home-pill-pulse {
    0% {
        animation-timing-function: ease-in-out;
        scale: 1 1;
    }
    25% {
        animation-timing-function: ease-in-out;
        scale: 1.03 1.03;
    }
    50%,
    100% {
        scale: 1 1;
    }
}

.home-hero-search {
    display: flex;
    width: min(800px, 100%);
    height: 60px;
    overflow: hidden;
    border: 1.5px solid rgba(197, 168, 114, 0.4);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 18px 6px rgba(197, 168, 114, 0.2), 0 10px 26px -12px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.home-hero-search-field {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 60px;
    padding: 0 20px;
    gap: 12px;
}

.home-hero-search-field img {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.home-hero-search-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    text-align: right;
    -webkit-appearance: none;
    appearance: none;
}

.home-hero-search-field input::placeholder {
    color: #9ca3af;
}

.home-hero-search-field input:focus {
    outline: none;
}

.home-hero-search-field input::-webkit-search-decoration,
.home-hero-search-field input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.home-hero-search-divider {
    width: 1px;
    height: 60px;
    flex: 0 0 1px;
    background: #eaddc6;
}

.home-hero-search-submit {
    display: flex;
    width: 120px;
    height: 60px;
    flex: 0 0 120px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 14px 0 0 14px;
    background: #337978;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(197, 168, 114, 0.4), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.home-hero-search-submit:hover {
    background: var(--hp-teal-deep);
}

.home-hero-search-submit img {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.home-hero-pagination {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    cursor: pointer;
    transition: transform 160ms ease-out, background-color 160ms ease-out, width 160ms ease-out;
}

.home-hero-pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: var(--hp-gold);
}

.home-hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    padding: 0;
    border: 1.5px solid rgba(197, 168, 114, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.home-hero-nav:after {
    display: none;
    content: none;
}

.home-hero-nav:hover {
    background: rgba(255, 255, 255, 0.16);
}

.home-hero-nav:active {
    transform: scale(0.97);
}

.home-hero-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.home-hero-prev {
    right: 24px;
    left: auto;
}

.home-hero-next {
    left: 24px;
    right: auto;
}

.home-stats {
    display: flex;
    min-height: 140px;
    align-items: center;
    background: linear-gradient(90deg, var(--hp-teal) 0%, var(--hp-teal-deep) 100%);
    box-shadow: 0 18px 60px -18px rgba(0, 0, 0, 0.15);
}

.home-stats-inner {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    padding-inline: var(--hp-pad);
    gap: 8px;
}

.home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.home-stat-num {
    margin: 0;
    background: linear-gradient(90deg, var(--hp-gold), #fde68a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 44px;
    font-weight: 800;
}

.home-stat-label {
    margin: 0;
    color: #fff;
    font-size: 14px;
    opacity: 0.75;
}

.home-section {
    padding: 100px 0;
}

.home-section-white {
    background: var(--hp-white);
}

.home-courses {
    background: var(--hp-white);
    padding: 120px;
}

.home-courses-inner {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
}

.home-courses .home-section-head {
    width: 100%;
    margin-bottom: 0;
    align-items: stretch;
}

.home-courses .home-section-head h2 {
    width: 100%;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
}

.home-courses .home-eyebrow {
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.home-courses .home-eyebrow-line {
    width: 32px;
    flex: 0 0 32px;
    background: var(--hp-gold);
}

.home-courses-en {
    font-size: 16px;
    font-weight: 600;
}

.home-courses-fa {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-books {
    background: #faf8f2;
    padding: 160px;
}

.home-books-inner {
    display: flex;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
}

.home-books .home-section-head {
    width: 100%;
    margin-bottom: 0;
    gap: 16px;
    align-items: stretch;
}

.home-books .home-section-head h2 {
    width: 100%;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
}

.home-books .home-eyebrow {
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.home-books .home-eyebrow-line {
    width: 40px;
    flex: 0 0 40px;
    height: 2px;
    background: #c5a872;
}

.home-books-en {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
}

.home-books-fa {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-books .home-grid-4 {
    width: 100%;
}

.home-books .home-card {
    justify-content: space-between;
}

.home-books .home-card-body {
    padding: 24px;
}

.home-books .home-card-title {
    line-height: 1.3;
}

.home-books .home-card-foot {
    padding: 20px;
    direction: ltr;
}

.home-books .home-card-price {
    direction: rtl;
    unicode-bidi: isolate;
}

.home-platform .home-books .home-pill-teal {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08);
}

.home-articles {
    padding: 140px;
    background-color: #faf8f2;
    background-image: linear-gradient(90deg, rgba(197, 168, 114, 0.036) 0%, rgba(197, 168, 114, 0) 100%);
}

.home-articles-inner {
    display: flex;
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
}

.home-articles .home-section-head {
    width: 100%;
    margin-bottom: 0;
    gap: 12px;
    align-items: stretch;
}

.home-articles .home-section-head h2 {
    width: 100%;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
}

.home-articles .home-eyebrow {
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.home-articles .home-eyebrow-line {
    width: 24px;
    flex: 0 0 24px;
    height: 1px;
    border-radius: 1px;
    background: #c5a872;
}

.home-articles-en {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 600;
}

.home-articles-fa {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-articles .home-grid-3 {
    width: 100%;
}

.home-articles .home-card {
    justify-content: space-between;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.05);
}

.home-articles .home-card-body {
    padding: 24px;
}

.home-articles .home-card-title {
    line-height: 1.4;
}

.home-articles .home-article-row {
    direction: ltr;
}

.home-articles .home-card-foot {
    padding: 16px;
    direction: ltr;
}

.home-platform a.home-article-link,
a.home-article-link,
.home-card .home-article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #337978;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 160ms ease-out, transform 160ms ease-out;
}

.home-article-link-arrow {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.home-platform a.home-article-link:hover,
a.home-article-link:hover,
.home-card:hover .home-article-link {
    color: var(--hp-teal-deep);
}

.home-platform a.home-article-link:active,
a.home-article-link:active,
.home-card:active .home-article-link {
    transform: scale(0.97);
}

.home-voices {
    padding: 120px;
    background-color: #fff;
    background-image: linear-gradient(90deg, rgba(197, 168, 114, 0.022) 0%, rgba(197, 168, 114, 0) 100%);
}

.home-voices-inner {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
}

.home-voices .home-section-head {
    width: 100%;
    margin-bottom: 0;
    gap: 12px;
    align-items: stretch;
}

.home-voices .home-section-head h2 {
    width: 100%;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.home-voices .home-eyebrow {
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.home-voices .home-eyebrow-line {
    width: 24px;
    flex: 0 0 24px;
    height: 1px;
    background: #c5a872;
}

.home-voices-en {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
}

.home-voices-fa {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-voices .home-grid-2 {
    width: 100%;
}

.home-voice-icon {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.home-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

.home-section-head h2 {
    margin: 0;
    color: var(--hp-dark);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
}

.home-platform a.home-start-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    width: max-content;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0 16px 0 15px;
    border: 1px solid var(--hp-border);
    border-radius: 999px;
    background: var(--hp-gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 8px rgba(11, 43, 27, 0.08);
    transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.home-platform a.home-start-pill:hover {
    color: #fff;
    background: #b8975e;
}

.home-platform a.home-start-pill:active {
    transform: scale(0.97);
}

.home-start-pill-arrow {
    display: block;
    width: 25px;
    height: 10px;
    transform: rotate(180deg);
}

.home-grid-3,
.home-grid-4,
.home-grid-2 {
    display: grid;
    gap: 32px;
}

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

.home-courses .home-grid-3 {
    width: 100%;
}

.home-courses .home-card {
    justify-content: space-between;
}

.home-courses .home-card-meta {
    width: 100%;
    justify-content: flex-start;
}

.home-courses .home-card-foot {
    direction: ltr;
}

.home-courses .home-card-price {
    direction: rtl;
    unicode-bidi: isolate;
}

.home-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.home-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    background: var(--hp-white);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.07);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .home-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 48px -18px rgba(11, 43, 27, 0.2);
    }
}

.home-card-media {
    overflow: hidden;
    background: #f7f3ea;
}

.home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-card-media-course {
    height: 220px;
}

.home-card-media-book {
    height: 240px;
}

.home-card-media-article {
    height: 200px;
}

.home-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.home-card-title {
    margin: 0;
    color: var(--hp-dark);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
}

.home-card-meta-gold {
    margin: 0;
    color: var(--hp-gold-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.home-card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    margin: 0;
    color: var(--hp-muted);
    font-size: 13px;
}

.home-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.home-card-meta-item img {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.home-card-excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--hp-muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.home-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-top: 1px solid var(--hp-border);
    background: var(--hp-cream);
    gap: 12px;
}

.home-card-price {
    margin: 0;
    color: var(--hp-dark);
    font-size: 16px;
    font-weight: 800;
}

.home-article-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.home-badge {
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--hp-gold-soft);
    color: var(--hp-gold-muted);
    font-size: 11px;
    font-weight: 600;
}

.home-article-date {
    color: #808076;
    font-size: 14px;
}

.home-card-author {
    margin: 0;
    color: var(--hp-muted);
    font-size: 14px;
}

.has-home-chrome .hp-card-col {
    display: flex;
}

.has-home-chrome .hp-card-col > .home-card {
    width: 100%;
    height: 100%;
}

.has-home-chrome .hp-course-grid {
    --bs-gutter-x: 32px;
    --bs-gutter-y: 32px;
}

.has-home-chrome .home-card:has(.home-card-media-course) .home-card-body {
    min-height: 118px;
}

.has-home-chrome .home-card-foot {
    direction: ltr;
}

.has-home-chrome .home-card-price {
    direction: rtl;
    unicode-bidi: isolate;
}

.has-home-chrome .home-article-row {
    direction: ltr;
}

.has-home-chrome .owl-carousel .home-card {
    height: auto;
}

.home-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 320px;
    padding: 40px 120px;
}

.home-quote-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-quote-layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-quote-layer::after {
    content: "";
    position: absolute;
    inset: 0;
}

.home-quote-layer-photo::after {
    background: rgba(11, 43, 27, 0.18);
}

.home-quote-layer-pattern::after {
    background: rgba(11, 43, 27, 0.25);
}

.home-quote-glow {
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    z-index: 1;
    width: 680px;
    height: 380px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home-quote-glow img {
    display: block;
    width: 680px;
    height: 380px;
    max-width: none;
}

.home-quote-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.home-quote-ayah {
    margin: 0;
    width: 100%;
    color: var(--hp-dark);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.home-quote-inner footer {
    margin: 0;
    width: 100%;
    max-width: 700px;
    color: var(--hp-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.home-voice {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    margin: 0;
    padding: 32px;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-cream);
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.06);
}

.home-voice p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: right;
}

.home-voice footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.home-voice cite {
    color: var(--hp-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.home-voice footer span {
    color: #808076;
    font-size: 12px;
}

.home-maktab-banner {
    position: relative;
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 28px 24px;
}

.home-maktab-banner-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-maktab-banner::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 43, 27, 0.8) 0%, rgba(51, 121, 120, 0.9) 55%, #0b2b1b 100%);
    content: "";
}

.home-maktab-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.home-maktab-banner-inner h2 {
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 900;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.home-maktab-banner-tagline {
    margin: 0;
    color: #f9faf7;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.home-maktab-banner-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-maktab,
.home-maktab-diagram {
    scroll-margin-top: var(--hp-chrome, 138px);
}

.home-maktab-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 56px 24px;
    text-align: center;
}

.home-maktab-head {
    width: 100%;
    max-width: 900px;
    margin-bottom: 0;
    align-items: center;
    gap: 14px;
}

.home-maktab-intro {
    max-width: 900px;
    margin: 0 auto 28px;
    color: var(--hp-title);
    font-size: 17px;
    line-height: 1.85;
}

.home-maktab-lead {
    max-width: 900px;
    margin: 20px auto 0;
    color: var(--hp-muted);
    font-size: 16px;
    line-height: 1.85;
}

.home-maktab-lead strong {
    color: var(--hp-gold-muted);
    font-weight: 800;
}

.home-maktab-body .home-badge-lg {
    display: inline-block;
    margin-bottom: 0;
    padding: 6px 20px;
    border: 1px solid #d8b478;
    border-radius: 20px;
    background: #faf5eb;
    color: #9e824f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-maktab-title {
    margin: 0;
    color: #1f4e5b;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
}

.home-maktab-diagram {
    --maktab-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --maktab-stagger: 300ms;
    --maktab-ring: 640ms;
    --maktab-fade: 480ms;
    width: min(1440px, 100%);
    margin-inline: auto;
    padding-bottom: 140px;
}

.home-maktab-fit {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 640;
    overflow: visible;
}

.home-maktab-stage {
    position: absolute;
    inset: 0;
}

.home-maktab-rings {
    position: absolute;
    top: 0;
    left: 29.306%;
    width: 41.389%;
    height: 93.281%;
    overflow: visible;
}

.home-maktab-ring {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.home-maktab-ring img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transform-origin: 50% 100%;
}

.home-maktab-ring-8 { top: 0; z-index: 1; width: 87.416%; height: 87.27%; }
.home-maktab-ring-7 { top: 11.055%; z-index: 2; width: 74.832%; height: 74.706%; }
.home-maktab-ring-6 { top: 21.106%; z-index: 3; width: 65.604%; height: 65.494%; }
.home-maktab-ring-5 { top: 31.156%; z-index: 4; width: 55.034%; height: 54.941%; }
.home-maktab-ring-4 { top: 42.379%; z-index: 5; width: 44.128%; height: 44.221%; }
.home-maktab-ring-3 { top: 52.596%; z-index: 6; width: 33.893%; height: 33.668%; }
.home-maktab-ring-2 { top: 62.312%; z-index: 7; width: 25.168%; height: 24.791%; }
.home-maktab-ring-1 { top: 74.037%; z-index: 8; width: 13.255%; height: 13.4%; }

.home-maktab-ring-name,
.home-maktab-arc {
    position: absolute;
    z-index: 9;
    pointer-events: none;
}

.home-maktab-ring-name {
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.home-maktab-ring-name-7 {
    top: 13.9%;
    left: 50%;
    font-size: 26px;
    transform: translate(-50%, 0);
}

.home-maktab-ring-name-6 {
    top: 24.1%;
    left: 50%;
    font-size: 22px;
    transform: translate(-50%, 0);
}

.home-maktab-ring-name-1 {
    top: 76.88%;
    left: 50%;
    width: 13.09%;
    font-size: 16px;
    line-height: 1.2;
    transform: translate(-50%, 0);
}

.home-maktab-arc {
    display: block;
    max-width: none;
}

.home-maktab-labels {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.home-maktab-lines {
    position: absolute;
    inset: 0;
    z-index: 11;
    pointer-events: none;
}

.home-maktab-line {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: fill;
}

.home-maktab-line.is-end {
    transform: none;
}

.home-maktab-line.is-start {
    transform: none;
}

.home-maktab-line.is-flip {
    transform: rotate(180deg);
}

.home-maktab-line[data-step="1"] { top: 73.125%; left: 23.958%; width: 24.72%; height: 6.875%; }
.home-maktab-line[data-step="2"] { top: 71.72%; left: 53.96%; width: 19.58%; height: 7.19%; }
.home-maktab-line[data-step="3"] { top: 59.69%; left: 23.26%; width: 22.08%; height: 7.03%; }
.home-maktab-line[data-step="4"] { top: 49.06%; left: 54.375%; width: 19.58%; height: 7.19%; }
.home-maktab-line[data-step="5"] { top: 35.31%; left: 23.125%; width: 22.08%; height: 7.03%; }
.home-maktab-line[data-step="6"] { top: 24.53%; left: 58%; width: 18.96%; height: 5.94%; }
.home-maktab-line[data-step="7"] { top: 15%; left: 23.26%; width: 19.58%; height: 7.03%; }
.home-maktab-line[data-step="8"] { top: 6.41%; left: 54.93%; width: 21.6%; height: 4.22%; }

.home-maktab-callouts {
    position: absolute;
    inset: 0;
    z-index: 12;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-maktab-callout {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 19.44%;
}

.home-maktab-callout.is-start {
    align-items: flex-end;
    text-align: right;
}

.home-maktab-callout.is-end {
    align-items: flex-start;
    text-align: right;
}

.home-maktab-callout.is-end .home-maktab-callout-row {
    direction: ltr;
}

.home-maktab-callout.is-end strong,
.home-maktab-callout.is-end p {
    direction: rtl;
    text-align: right;
}

.home-maktab-callout[data-step="1"] { top: 77.19%; left: 4.65%; }
.home-maktab-callout[data-step="2"] { top: 76.88%; left: 73.125%; }
.home-maktab-callout[data-step="3"] { top: 56.25%; left: 4.03%; }
.home-maktab-callout[data-step="4"] { top: 47.5%; left: 72.15%; }
.home-maktab-callout[data-step="5"] { top: 32.34%; left: 4.03%; }
.home-maktab-callout[data-step="6"] { top: 22.5%; left: 76.32%; }
.home-maktab-callout[data-step="7"] { top: 12.34%; left: 3.96%; }
.home-maktab-callout[data-step="8"] { top: 3.28%; left: 76.32%; }

.home-maktab-callout-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.home-maktab-callout.is-start .home-maktab-callout-row {
    flex-direction: row;
}

.home-maktab-num {
    display: flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border: 2px solid #d8b478;
    border-radius: 14px;
    background: #fff;
    color: #d8b478;
    font-size: 14px;
    font-weight: 800;
}

.home-maktab-callout strong {
    flex: 1 1 auto;
    color: var(--hp-gold);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.home-maktab-callout p {
    margin: 0;
    color: #3d5a4c;
    font-size: 12px;
    line-height: 1.5;
}

.home-maktab-steps-title {
    display: none;
    margin: 0;
    color: var(--hp-title);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.home-maktab-diagram [data-step="1"] { --maktab-i: 0; }
.home-maktab-diagram [data-step="2"] { --maktab-i: 1; }
.home-maktab-diagram [data-step="3"] { --maktab-i: 2; }
.home-maktab-diagram [data-step="4"] { --maktab-i: 3; }
.home-maktab-diagram [data-step="5"] { --maktab-i: 4; }
.home-maktab-diagram [data-step="6"] { --maktab-i: 5; }
.home-maktab-diagram [data-step="7"] { --maktab-i: 6; }
.home-maktab-diagram [data-step="8"] { --maktab-i: 7; }

@keyframes maktab-grow {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes maktab-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes maktab-name-cx {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes maktab-line-start {
    from {
        opacity: 0;
        transform: translateX(18px);
        clip-path: inset(0 0 0 100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes maktab-line-end {
    from {
        opacity: 0;
        transform: translateX(-18px);
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes maktab-line-flip {
    from {
        opacity: 0;
        transform: rotate(180deg) translateX(18px);
        clip-path: inset(0 0 0 100%);
    }
    to {
        opacity: 1;
        transform: rotate(180deg);
        clip-path: inset(0 0 0 0);
    }
}

.home-maktab-diagram:not(.is-on) .home-maktab-ring img,
.home-maktab-diagram:not(.is-on) .home-maktab-ring-name,
.home-maktab-diagram:not(.is-on) .home-maktab-arc,
.home-maktab-diagram:not(.is-on) .home-maktab-line,
.home-maktab-diagram:not(.is-on) .home-maktab-callout {
    opacity: 0;
}

.home-maktab-diagram:not(.is-on) .home-maktab-ring img {
    transform: scale(0.88);
}

.home-maktab-diagram:not(.is-on) .home-maktab-ring-name {
    transform: translate(-50%, 10px);
}

.home-maktab-diagram.is-on .home-maktab-ring img {
    animation: maktab-grow var(--maktab-ring) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger));
}

.home-maktab-diagram.is-on .home-maktab-arc {
    animation: maktab-rise var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 140ms);
}

.home-maktab-diagram.is-on .home-maktab-ring-name {
    animation: maktab-name-cx var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 140ms);
}

.home-maktab-diagram.is-on .home-maktab-line.is-start:not(.is-flip) {
    animation: maktab-line-start var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 90ms);
}

.home-maktab-diagram.is-on .home-maktab-line.is-end:not(.is-flip) {
    animation: maktab-line-end var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 90ms);
}

.home-maktab-diagram.is-on .home-maktab-line.is-flip {
    animation: maktab-line-flip var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 90ms);
}

.home-maktab-diagram.is-on .home-maktab-callout {
    animation: maktab-rise var(--maktab-fade) var(--maktab-ease) both;
    animation-delay: calc(var(--maktab-i, 0) * var(--maktab-stagger) + 200ms);
}

@media (prefers-reduced-motion: reduce) {
    .home-maktab-diagram:not(.is-on) .home-maktab-ring img,
    .home-maktab-diagram:not(.is-on) .home-maktab-ring-name,
    .home-maktab-diagram:not(.is-on) .home-maktab-arc,
    .home-maktab-diagram:not(.is-on) .home-maktab-line,
    .home-maktab-diagram:not(.is-on) .home-maktab-callout,
    .home-maktab-diagram.is-on .home-maktab-ring img,
    .home-maktab-diagram.is-on .home-maktab-ring-name,
    .home-maktab-diagram.is-on .home-maktab-arc,
    .home-maktab-diagram.is-on .home-maktab-line,
    .home-maktab-diagram.is-on .home-maktab-callout {
        opacity: 1;
        animation: none;
        clip-path: none;
    }

    .home-maktab-diagram .home-maktab-ring img {
        transform: none;
    }

    .home-maktab-diagram .home-maktab-ring-name {
        transform: translate(-50%, 0);
    }

    .home-maktab-diagram .home-maktab-line.is-flip {
        transform: rotate(180deg);
    }
}

.home-footer {
    position: relative;
    z-index: 4;
    overflow: visible;
    color: var(--hp-cream-text);
}

body:not(.is-home-platform) .home-footer {
    margin-top: 100px;
}

.home-footer-logo {
    --home-footer-logo-size: 180px;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 6;
    display: block;
    overflow: visible;
    width: var(--home-footer-logo-size);
    height: var(--home-footer-logo-size);
    margin-top: calc(var(--home-footer-logo-size) / -2);
    margin-left: calc(var(--home-footer-logo-size) / -2);
}

.home-footer-logo-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: 58%;
    height: 82%;
    background: #05090a;
    border-radius: 50%;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    filter: blur(20px);
    pointer-events: none;
}

.home-footer-logo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(5, 9, 10, 0.4))
        drop-shadow(0 8px 16px rgba(5, 9, 10, 0.32));
}

.home-footer-panel {
    position: relative;
    overflow: hidden;
    padding: 0 0 130px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, var(--hp-footer-1) 0%, var(--hp-footer-2) 55%, var(--hp-footer-3) 100%);
}

.home-footer-glow {
    position: absolute;
    top: -120px;
    z-index: 0;
    width: 820px;
    height: 820px;
    pointer-events: none;
}

.home-footer-glow img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-footer-glow-start {
    left: -220px;
}

.home-footer-glow-end {
    right: -220px;
}

.home-footer-shade {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.home-footer-inner {
    position: relative;
    z-index: 1;
    padding-top: 156px;
}

.home-footer-about {
    max-width: 922px;
    margin: 0 auto;
    padding-bottom: 20px;
    text-align: center;
}

.home-footer-about-title {
    margin: 0 0 12px;
    color: var(--hp-cream-text);
    font-size: 16px;
    font-weight: 700;
}

.home-footer-about-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.92;
}

.home-footer-diamond {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-footer-diamond::before,
.home-footer-diamond::after {
    flex: 1 1 auto;
    height: 1px;
    background: var(--hp-cream-text);
    opacity: 0.18;
    content: "";
}

.home-footer-diamond span {
    width: 8px;
    height: 8px;
    background: var(--hp-cream-text);
    opacity: 0.6;
    transform: rotate(45deg);
}

.home-footer-cols {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 0;
}

.home-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: right;
}

.home-footer-col-contact {
    flex: 0 1 280px;
    width: 280px;
}

.home-footer-col-services,
.home-footer-col-education {
    flex: 0 1 160px;
    width: 160px;
}

.home-footer-col-links {
    flex: 0 1 180px;
    width: 180px;
}

.home-footer-col h2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--hp-gold);
    font-size: 15px;
    font-weight: 700;
}

.home-footer-col h2::after {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--hp-gold);
    opacity: 0.55;
    content: "";
}

.home-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-footer-col-contact ul {
    gap: 12px;
}

.home-footer-col li {
    margin: 0;
    color: var(--hp-cream-text);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
}

.home-footer-col a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
    transition: color 150ms ease-out;
}

.home-footer-col a:hover {
    color: var(--hp-gold);
}

.home-footer-rule {
    position: relative;
    z-index: 1;
    height: 1px;
    background: var(--hp-cream-text);
    opacity: 0.12;
}

.home-footer-bottom {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--hp-footer-1), var(--hp-footer-2));
}

.home-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding-top: 24px;
    padding-bottom: 24px;
    color: var(--hp-cream-text);
    font-size: 12px;
}

.home-footer-bottom-inner p {
    margin: 0;
}

.home-footer-copy {
    opacity: 0.65;
}

.home-footer-credit {
    opacity: 0.75;
}

.home-footer-waves {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: 153px;
    pointer-events: none;
}

.home-footer-wave {
    position: absolute;
    display: block;
    max-width: none;
}

.home-footer-wave-1 {
    top: 0;
    left: -5.56%;
    width: 111.11%;
    height: 140px;
}

.home-footer-wave-2 {
    top: 25px;
    left: -13.89%;
    width: 125%;
    height: 150px;
}

.home-footer-wave-3 {
    top: 50px;
    left: -8.33%;
    width: 116.67%;
    height: 160px;
}

.home-footer-wave-base {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    background: linear-gradient(180deg, #7a5530, #5f3b1b);
    opacity: 0.9;
}

.home-support {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    z-index: 40;
}

.home-support-btn {
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--hp-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 43, 27, 0.25);
    transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.home-support-btn:hover {
    background: var(--hp-teal-deep);
}

.home-support-btn:active {
    transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
    .home-card,
    .home-pill,
    .home-start-pill,
    .home-topbar-chip,
    .home-support-btn,
    .home-header-search-btn {
        transition: none;
    }

    .home-card:hover {
        transform: none;
    }

    .home-pill-pulse {
        animation: none;
    }

    .home-hero-nav,
    .home-hero-pagination .swiper-pagination-bullet {
        transition: none;
    }
}

@media (max-width: 1199px) {
    .has-home-chrome,
    .home-platform {
        --hp-pad: 40px;
    }

    .home-hero-title {
        font-size: 42px;
    }

    .home-hero {
        min-height: 640px;
    }

    .home-hero-inner {
        min-height: 640px;
        padding: 56px 40px 80px;
    }

    .home-quote {
        padding: 40px 40px;
    }

    .home-courses {
        padding: 80px 40px;
    }

    .home-books,
    .home-articles,
    .home-voices {
        padding: 80px 40px;
    }

    .home-courses .home-section-head h2 {
        font-size: 36px;
    }

    .home-books .home-section-head h2,
    .home-articles .home-section-head h2 {
        font-size: 32px;
    }

    .home-voices .home-section-head h2 {
        font-size: 28px;
    }

    .home-section-head h2 {
        font-size: 32px;
    }

    .home-maktab-banner-inner h2,
    .home-maktab-title {
        font-size: 40px;
    }

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

    .home-header-search {
        flex-basis: 260px;
        width: 260px;
    }

    .home-nav {
        gap: 16px;
    }

    .home-nav-link {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .has-home-chrome,
    .home-platform {
        --hp-chrome: 104px;
    }

    .home-topbar-brand {
        display: none;
    }

    .home-topbar .home-nav-burger {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 10px;
    }

    .home-header {
        height: auto;
        min-height: 56px;
        padding-block: 6px;
    }

    .home-header-inner {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .home-logo {
        flex: 0 0 52px;
        order: 2;
        margin-inline-start: auto;
    }

    .home-logo,
    .home-logo img {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .home-header-search {
        flex: 1 1 auto;
        order: 1;
        width: auto;
        min-width: 0;
        height: 40px;
        padding: 0 10px 0 12px;
        border-color: var(--hp-border);
        background: #fff;
        box-shadow: 0 2px 8px rgba(11, 43, 27, 0.08);
        gap: 8px;
    }

    .home-header-search-input {
        color: var(--hp-dark);
        font-size: 13px;
        font-weight: 600;
    }

    .home-header-search-input::placeholder {
        color: var(--hp-muted);
        opacity: 0.72;
    }

    .home-header-search-btn {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 999px;
    }

    .home-header-search-btn img {
        width: 14px;
        height: 14px;
    }

    .home-hero {
        padding: 0;
        min-height: 0;
        height: auto;
    }

    .home-hero-inner {
        min-height: 0;
        padding: 40px 20px 72px;
        gap: 28px;
    }

    .home-hero-title {
        font-size: 32px;
    }

    .home-hero-lead {
        font-size: 15px;
    }

    .home-stats-inner,
    .home-grid-3,
    .home-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .home-footer-panel {
        padding-bottom: 110px;
        border-radius: 20px 20px 0 0;
    }

    .home-footer-logo {
        --home-footer-logo-size: 140px;
    }

    .home-footer-inner {
        padding-top: 120px;
    }

    .home-footer-cols {
        flex-wrap: wrap;
        padding: 40px 0 24px;
    }

    .home-footer-col-contact,
    .home-footer-col-services,
    .home-footer-col-education,
    .home-footer-col-links {
        flex: 1 1 calc(50% - 16px);
        width: calc(50% - 16px);
    }

    .home-stat-num {
        font-size: 28px;
    }

    .home-quote {
        padding: 36px 20px;
    }

    .home-quote-ayah {
        font-size: 22px;
    }

    .home-quote-glow {
        width: 100%;
        max-width: 680px;
        height: 280px;
    }

    .home-quote-glow img {
        width: 100%;
        height: 100%;
    }

    .home-section {
        padding: 64px 0;
    }

    .home-courses {
        padding: 64px 20px;
        gap: 40px;
    }

    .home-books,
    .home-articles,
    .home-voices {
        padding: 64px 20px;
    }

    .home-courses-inner {
        gap: 32px;
    }

    .home-books-inner,
    .home-articles-inner,
    .home-voices-inner {
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .has-home-chrome,
    .home-platform {
        --hp-pad: 16px;
    }

    .home-topbar {
        height: 48px;
    }

    .home-topbar-inner {
        padding: 0 16px;
    }

    .home-topbar-brand span:first-child {
        display: none;
    }

    .home-topbar-chip span {
        display: none;
    }

    .home-topbar-actions {
        gap: 12px;
    }

    .home-hero-copy {
        align-items: center;
    }

    .home-hero-copy .home-eyebrow {
        align-self: center;
    }

    .home-hero-ctas {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .home-hero-inner {
        align-items: center;
        text-align: center;
    }

    .home-hero-title,
    .home-hero-lead {
        text-align: center;
    }

    .home-platform .home-hero-ctas a.home-pill-solid,
    .home-platform .home-hero-ctas a.home-pill-ghost,
    .home-platform .home-hero-ctas a.home-pill-gold {
        width: 100%;
        height: auto;
        min-height: 50px;
        padding: 12px 16px;
        font-size: 14px;
        white-space: normal;
    }

    .home-hero-search {
        flex-direction: column-reverse;
        height: auto;
    }

    .home-hero-search-divider {
        display: none;
    }

    .home-hero-search-field {
        min-height: 52px;
        height: 52px;
    }

    .home-hero-search-submit {
        width: 100%;
        height: 48px;
        flex-basis: auto;
        min-height: 48px;
        border-radius: 0 0 14px 14px;
    }

    .home-hero-nav {
        display: none;
    }

    .home-hero-pagination {
        bottom: 16px;
    }

    .home-stats-inner,
    .home-grid-3,
    .home-grid-4,
    .home-grid-2 {
        grid-template-columns: 1fr;
    }

    .home-maktab-banner-ctas {
        width: 100%;
        max-width: 360px;
    }

    .home-platform .home-maktab-banner-ctas .home-pill-ghost,
    .home-platform .home-maktab-banner-ctas .home-pill-gold {
        flex: 1 1 auto;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
    }

    .home-maktab-body {
        padding-block: 48px 20px;
    }

    .home-maktab-intro {
        font-size: 16px;
    }

    .home-maktab-fit {
        height: auto;
        overflow: visible;
        aspect-ratio: auto;
    }

    .home-maktab-stage {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        transform: none;
        gap: 20px;
    }

    .home-maktab-rings {
        position: relative;
        left: auto;
        width: min(596px, 100%);
        height: auto;
        aspect-ratio: 596 / 597;
        transform: scale(1);
        overflow: visible;
    }

    .home-maktab-ring-8,
    .home-maktab-ring-7,
    .home-maktab-ring-6,
    .home-maktab-ring-5,
    .home-maktab-ring-4,
    .home-maktab-ring-3,
    .home-maktab-ring-2,
    .home-maktab-ring-1 {
        height: auto;
        aspect-ratio: 1;
    }

    .home-maktab-ring-8 { width: 87.42%; }
    .home-maktab-ring-7 { width: 74.83%; top: 11.06%; }
    .home-maktab-ring-6 { width: 65.6%; top: 21.11%; }
    .home-maktab-ring-5 { width: 55.03%; top: 31.16%; }
    .home-maktab-ring-4 { width: 44.13%; top: 42.38%; }
    .home-maktab-ring-3 { width: 33.89%; top: 52.6%; }
    .home-maktab-ring-2 { width: 25.17%; top: 62.31%; }
    .home-maktab-ring-1 { width: 13.26%; top: 74.04%; }

    .home-maktab-labels {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .home-maktab-ring-name-7 {
        top: 13.5%;
        font-size: clamp(15px, 4.8vw, 22px);
    }

    .home-maktab-ring-name-6 {
        top: 23.8%;
        font-size: clamp(13px, 4.2vw, 18px);
    }

    .home-maktab-ring-name-1 {
        top: 76.5%;
        width: auto;
        min-width: 16%;
        font-size: clamp(10px, 2.9vw, 13px);
        line-height: 1.25;
        white-space: nowrap;
    }

    .home-maktab-ring-name,
    .home-maktab-arc {
        text-shadow: 0 1px 6px rgba(11, 43, 27, 0.35);
    }

    .home-maktab-lines {
        display: none;
    }

    .home-maktab-steps-title {
        display: block;
        width: 100%;
        margin: 4px 0 0;
        padding: 0 4px;
        font-size: 18px;
    }

    .home-maktab-callouts {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        padding: 0 8px;
    }

    .home-maktab-callout[data-step="1"],
    .home-maktab-callout[data-step="2"],
    .home-maktab-callout[data-step="3"],
    .home-maktab-callout[data-step="4"],
    .home-maktab-callout[data-step="5"],
    .home-maktab-callout[data-step="6"],
    .home-maktab-callout[data-step="7"],
    .home-maktab-callout[data-step="8"] {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        align-items: stretch;
        text-align: right;
    }

    .home-maktab-callout.is-end .home-maktab-callout-row {
        direction: rtl;
    }

    .home-maktab-callout {
        padding: 16px 18px;
        border: 1px solid var(--hp-border);
        border-radius: 16px;
        background: var(--hp-white);
        box-shadow: 0 8px 24px -10px rgba(11, 43, 27, 0.12);
    }

    .home-maktab-callout p {
        padding-inline-start: 0;
        font-size: 14px;
        line-height: 1.75;
        color: var(--hp-muted);
    }

    .home-maktab-callout strong {
        font-size: 16px;
        color: var(--hp-title);
    }

    body:not(.is-home-platform) .home-footer {
        margin-top: 48px;
    }

    .home-footer {
        padding-top: 48px;
    }

    .home-footer-panel {
        padding-bottom: 72px;
        border-radius: 16px 16px 0 0;
    }

    .home-footer-logo {
        --home-footer-logo-size: 96px;
        top: 0;
        margin-top: 0;
    }

    .home-footer-inner {
        padding-top: 52px;
    }

    .home-footer-about {
        padding-bottom: 12px;
    }

    .home-footer-about-text {
        font-size: 13px;
        line-height: 1.55;
    }

    .home-footer-diamond {
        gap: 12px;
    }

    .home-footer-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
        padding: 24px 0 12px;
    }

    .home-footer-col {
        gap: 14px;
    }

    .home-footer-col-contact,
    .home-footer-col-services {
        grid-column: 1 / -1;
    }

    .home-footer-col-contact,
    .home-footer-col-services,
    .home-footer-col-education,
    .home-footer-col-links {
        flex: none;
        width: auto;
    }

    .home-footer-col h2 {
        font-size: 14px;
        gap: 8px;
    }

    .home-footer-col ul {
        gap: 10px;
    }

    .home-footer-col li {
        font-size: 12px;
        line-height: 1.55;
    }

    .home-footer-col-contact li,
    .home-footer-col-contact a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .home-footer-waves {
        height: 96px;
    }

    .home-footer-wave-1 {
        height: 88px;
    }

    .home-footer-wave-2 {
        top: 16px;
        height: 96px;
    }

    .home-footer-wave-3 {
        top: 32px;
        height: 104px;
    }

    .home-footer-wave-base {
        height: 52px;
    }

    .home-footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        min-height: 0;
        padding-top: 14px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }

    .home-footer-copy,
    .home-footer-credit {
        opacity: 0.78;
    }

    .home-support {
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .home-maktab-banner {
        min-height: 220px;
        padding: 32px 16px 28px;
    }

    .home-maktab-banner-inner {
        gap: 10px;
        width: 100%;
    }

    .home-maktab-banner-inner h2 {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .home-maktab-banner-tagline {
        max-width: 22ch;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.55;
        opacity: 0.95;
    }

    .home-maktab-banner-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 10px;
        margin-top: 6px;
    }

    .home-platform .home-maktab-banner-ctas .home-pill-ghost,
    .home-platform .home-maktab-banner-ctas .home-pill-gold {
        width: 100%;
        min-height: 46px;
        padding: 11px 16px;
        font-size: 13px;
        text-align: center;
    }

    .home-maktab-body {
        width: calc(100% - 32px);
        padding-block: 36px 12px;
        text-align: right;
        align-items: stretch;
    }

    .home-maktab-head {
        align-items: flex-start;
        gap: 10px;
    }

    .home-maktab-intro {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.85;
        text-align: justify;
        text-align-last: right;
        color: var(--hp-muted);
    }

    .home-maktab-body .home-badge-lg {
        padding: 5px 14px;
        font-size: 12px;
    }

    .home-maktab-title {
        font-size: 28px;
        text-align: right;
        width: 100%;
    }

    .home-maktab-lead {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.8;
        text-align: justify;
        text-align-last: right;
    }

    .home-maktab-diagram {
        padding-bottom: 40px;
        padding-inline: 8px;
    }

    .home-maktab-stage {
        gap: 24px;
    }

    .home-maktab-callouts {
        gap: 10px;
        padding: 0;
    }

    .home-maktab-callout {
        padding: 16px;
        gap: 10px;
    }

    .home-maktab-num {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        font-size: 15px;
    }

    .home-maktab-callout strong {
        font-size: 16px;
        line-height: 1.5;
    }

    .home-maktab-callout p {
        padding-inline-start: 0;
        font-size: 14px;
        line-height: 1.75;
    }

    .home-section-head h2 {
        font-size: 26px;
    }

    .home-quote {
        padding: 32px 16px;
    }

    .home-quote-ayah {
        font-size: 20px;
    }

    .home-quote-inner footer {
        font-size: 14px;
    }

    .home-courses {
        padding: 48px 16px;
    }

    .home-books,
    .home-articles,
    .home-voices {
        padding: 48px 16px;
    }

    .home-courses .home-section-head h2 {
        font-size: 28px;
    }

    .home-books .home-section-head h2,
    .home-articles .home-section-head h2,
    .home-voices .home-section-head h2 {
        font-size: 26px;
    }
}

/* Inner public pages — homepage tokens on existing Blade/Bootstrap markup.
   Homepage (.is-home-platform / .home-platform) is left untouched. */

body.has-home-chrome:not(.is-home-platform) {
    font-family: iran, Tahoma, sans-serif;
}

body.has-home-chrome .bi::before,
body.has-home-chrome [class^="bi-"]::before,
body.has-home-chrome [class*=" bi-"]::before {
    font-family: bootstrap-icons !important;
}

body.has-home-chrome:not(.is-home-platform) #site-main {
    min-height: 48vh;
}

body.has-home-chrome:not(.is-home-platform) .content,
body.has-home-chrome:not(.is-home-platform) .auth,
body.has-home-chrome:not(.is-home-platform) .panel {
    color: var(--hp-muted);
}

body.has-home-chrome:not(.is-home-platform) .tahrir,
body.has-home-chrome:not(.is-home-platform) .content .tahrir {
    font-family: iran, Tahoma, sans-serif !important;
    font-size: 36px !important;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--hp-title) !important;
}

body.has-home-chrome:not(.is-home-platform) h1.text-dark,
body.has-home-chrome:not(.is-home-platform) h2.text-dark,
body.has-home-chrome:not(.is-home-platform) .edu-item .text-dark,
body.has-home-chrome:not(.is-home-platform) .edu-item p.text-dark {
    color: var(--hp-title) !important;
}

body.has-home-chrome:not(.is-home-platform) .text-one {
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .text-two,
body.has-home-chrome:not(.is-home-platform) .textCustom1 {
    color: var(--hp-gold);
}

body.has-home-chrome:not(.is-home-platform) .brsd {
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .card,
body.has-home-chrome:not(.is-home-platform) .edu-item,
body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item,
body.has-home-chrome:not(.is-home-platform) .cat,
body.has-home-chrome:not(.is-home-platform) .contactus .contact-form,
body.has-home-chrome:not(.is-home-platform) .cart .cart-body,
body.has-home-chrome:not(.is-home-platform) .cart .side-cart,
body.has-home-chrome:not(.is-home-platform) .cart .location,
body.has-home-chrome:not(.is-home-platform) .cart-address-box,
body.has-home-chrome:not(.is-home-platform) .detail-course .img-course,
body.has-home-chrome:not(.is-home-platform) .detail-course .zoom,
body.has-home-chrome:not(.is-home-platform) .bg-three {
    overflow: hidden;
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.07);
}

body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item {
    height: auto !important;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
    body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item:hover,
    body.has-home-chrome:not(.is-home-platform) .edu-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px -12px rgba(11, 43, 27, 0.14);
    }
}

body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item h4,
body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item p {
    height: auto;
    min-height: 0;
    padding: 8px 12px 12px;
    color: var(--hp-title);
}

body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item img,
body.has-home-chrome:not(.is-home-platform) .edu-item img {
    border-radius: 20px 20px 0 0;
}

body.has-home-chrome:not(.is-home-platform) .btn-custom,
body.has-home-chrome:not(.is-home-platform) .btn-detail,
body.has-home-chrome:not(.is-home-platform) .modal-aval-a,
body.has-home-chrome:not(.is-home-platform) .btn-success,
body.has-home-chrome:not(.is-home-platform) .btn-primary,
body.has-home-chrome:not(.is-home-platform) .detail-course .price .btn-detail {
    --bs-btn-bg: var(--hp-teal);
    --bs-btn-border-color: var(--hp-teal);
    --bs-btn-hover-bg: var(--hp-teal-deep);
    --bs-btn-hover-border-color: var(--hp-teal-deep);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--hp-teal-deep);
    --bs-btn-active-color: #fff;
    background: var(--hp-teal);
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: none;
    outline: none;
    transition: background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

body.has-home-chrome:not(.is-home-platform) .btn-custom:hover,
body.has-home-chrome:not(.is-home-platform) .btn-detail:hover,
body.has-home-chrome:not(.is-home-platform) .modal-aval-a:hover,
body.has-home-chrome:not(.is-home-platform) .btn-success:hover,
body.has-home-chrome:not(.is-home-platform) .btn-primary:hover,
body.has-home-chrome:not(.is-home-platform) .detail-course .price .btn-detail:hover {
    background: var(--hp-teal-deep);
    color: #fff;
    outline: none;
    box-shadow: 0 8px 20px -8px rgba(51, 121, 120, 0.55);
}

body.has-home-chrome:not(.is-home-platform) .btn-custom:active,
body.has-home-chrome:not(.is-home-platform) .btn-detail:active,
body.has-home-chrome:not(.is-home-platform) .modal-aval-a:active,
body.has-home-chrome:not(.is-home-platform) .btn-success:active,
body.has-home-chrome:not(.is-home-platform) .btn-primary:active {
    transform: scale(0.97);
}

body.has-home-chrome:not(.is-home-platform) .btn-outline-success,
body.has-home-chrome:not(.is-home-platform) .btn-outline-primary {
    color: var(--hp-teal);
    border-color: var(--hp-teal);
    border-radius: 14px;
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) .btn-outline-success:hover,
body.has-home-chrome:not(.is-home-platform) .btn-outline-primary:hover {
    background: var(--hp-teal);
    border-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .form-control,
body.has-home-chrome:not(.is-home-platform) .form-select,
body.has-home-chrome:not(.is-home-platform) .form-floating > .form-control {
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-white);
    color: var(--hp-dark);
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .form-control:focus,
body.has-home-chrome:not(.is-home-platform) .form-select:focus,
body.has-home-chrome:not(.is-home-platform) .auth input:focus,
body.has-home-chrome:not(.is-home-platform) .auth textarea:focus,
body.has-home-chrome:not(.is-home-platform) .auth select:focus,
body.has-home-chrome:not(.is-home-platform) .contactus input:focus,
body.has-home-chrome:not(.is-home-platform) .contactus textarea:focus,
body.has-home-chrome:not(.is-home-platform) .panel input:focus,
body.has-home-chrome:not(.is-home-platform) .panel textarea:focus,
body.has-home-chrome:not(.is-home-platform) .panel select:focus,
body.has-home-chrome:not(.is-home-platform) .detail-course .courses input:focus,
body.has-home-chrome:not(.is-home-platform) .detail-course .courses textarea:focus {
    border-color: var(--hp-teal) !important;
    box-shadow: 0 0 0 3px rgba(51, 121, 120, 0.18);
}

body.has-home-chrome:not(.is-home-platform) .content a:focus-visible,
body.has-home-chrome:not(.is-home-platform) .content button:focus-visible,
body.has-home-chrome:not(.is-home-platform) .auth a:focus-visible,
body.has-home-chrome:not(.is-home-platform) .auth button:focus-visible,
body.has-home-chrome:not(.is-home-platform) .panel a:focus-visible,
body.has-home-chrome:not(.is-home-platform) .panel button:focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 3px;
}

body.has-home-chrome:not(.is-home-platform) .panel .panel-side {
    overflow: hidden;
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.07);
}

body.has-home-chrome:not(.is-home-platform) .panel-side .card-header {
    height: auto;
    min-height: 7rem;
    padding: 16px;
    background: linear-gradient(180deg, var(--hp-teal) 52%, var(--hp-cream) 52%);
    border: 0;
}

body.has-home-chrome:not(.is-home-platform) .panel-side .card-body {
    margin-top: 0;
    padding: 12px;
    background: var(--hp-white);
    border: 0;
    border-radius: 0 0 20px 20px;
}

body.has-home-chrome:not(.is-home-platform) .panel-side .card-body ul li {
    border-bottom: 1px solid var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .panel-side .card-body ul li a {
    background: var(--hp-cream);
    color: var(--hp-muted);
    border-radius: 10px;
    margin-bottom: 4px;
}

body.has-home-chrome:not(.is-home-platform) .panel-side .card-body ul li a.active,
body.has-home-chrome:not(.is-home-platform) .panel-side .card-body ul li a:hover {
    background: var(--hp-gold-soft);
    border-right: 3px solid var(--hp-gold);
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .table-custom {
    --bs-table-bg: var(--hp-teal);
    --bs-table-striped-bg: var(--hp-teal-deep);
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: var(--hp-teal-deep);
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: var(--hp-teal-deep);
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .table {
    border-color: var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .table thead th {
    color: var(--hp-title);
    border-bottom-color: var(--hp-gold);
    font-weight: 700;
}

body.has-home-chrome:not(.is-home-platform) ul.pagination li a,
body.has-home-chrome:not(.is-home-platform) .pagination .page-link {
    margin: 4px;
    color: var(--hp-teal);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) ul.pagination li a.active,
body.has-home-chrome:not(.is-home-platform) .pagination .page-item.active .page-link {
    background-color: var(--hp-teal);
    border-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) ul.pagination li a:hover:not(.active),
body.has-home-chrome:not(.is-home-platform) .pagination .page-link:hover {
    background-color: var(--hp-gold-soft);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .detail-course .courses .nav-tabs .nav-link {
    color: var(--hp-muted);
    border-color: var(--hp-border) !important;
    border-radius: 12px 12px 0 0;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .courses .nav-tabs .nav-link.active {
    color: #fff;
    background: var(--hp-teal);
    border-color: var(--hp-gold) !important;
}

body.has-home-chrome:not(.is-home-platform) .detail-course .courses .nav-tabs .nav-link.active::after {
    display: none;
}

body.has-home-chrome:not(.is-home-platform) .accordion-button:not(.collapsed),
body.has-home-chrome:not(.is-home-platform) .detail-course .courses .accordion-button:not(.collapsed) {
    background: var(--hp-gold-soft);
    color: var(--hp-teal);
    border-bottom: 1px solid var(--hp-border) !important;
    box-shadow: none;
}

body.has-home-chrome:not(.is-home-platform) .accordion-button:focus,
body.has-home-chrome:not(.is-home-platform) .detail-course .courses .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(51, 121, 120, 0.18);
    border-color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .content .nav-pills .nav-link.active,
body.has-home-chrome:not(.is-home-platform) .content .nav-link.active {
    background-color: var(--hp-teal);
    color: #fff;
}

body.has-home-chrome:not(.is-home-platform) .alert-success {
    background: var(--hp-gold-soft);
    border-color: var(--hp-border);
    color: var(--hp-teal-deep);
}

body.has-home-chrome:not(.is-home-platform) .modal-content {
    background: var(--hp-cream);
    border: 1px solid var(--hp-border);
    border-radius: 20px;
}

body.has-home-chrome:not(.is-home-platform) .modal-header,
body.has-home-chrome:not(.is-home-platform) .modal-footer {
    border-color: var(--hp-border);
}

body.has-home-chrome:not(.is-home-platform) .contweb,
body.has-home-chrome:not(.is-home-platform) .detail-course .description p {
    color: var(--hp-muted);
    line-height: 1.9;
}

body.has-home-chrome:not(.is-home-platform) .contweb a,
body.has-home-chrome:not(.is-home-platform) .description a {
    color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) iframe {
    display: block;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: var(--hp-white);
}

body.has-home-chrome:not(.is-home-platform) .list-group-item.active {
    background-color: var(--hp-teal);
    border-color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .badge.bg-success,
body.has-home-chrome:not(.is-home-platform) .badge.bg-primary {
    background-color: var(--hp-teal) !important;
}

body.has-home-chrome:not(.is-home-platform) .badge.bg-warning {
    background-color: var(--hp-gold) !important;
    color: var(--hp-dark);
}

body.has-home-chrome:not(.is-home-platform) .progress-bar {
    background-color: var(--hp-teal);
}

body.has-home-chrome:not(.is-home-platform) .dropdown-menu {
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.12);
}

body.has-home-chrome:not(.is-home-platform) .dropdown-item:hover,
body.has-home-chrome:not(.is-home-platform) .dropdown-item:focus {
    background: var(--hp-gold-soft);
    color: var(--hp-teal);
}

@media (max-width: 767px) {
    body.has-home-chrome:not(.is-home-platform) .tahrir,
    body.has-home-chrome:not(.is-home-platform) .content .tahrir {
        font-size: 26px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item,
    body.has-home-chrome:not(.is-home-platform) .btn-custom,
    body.has-home-chrome:not(.is-home-platform) .btn-detail,
    body.has-home-chrome:not(.is-home-platform) .btn-success,
    body.has-home-chrome:not(.is-home-platform) .btn-primary {
        transition: none;
    }

    body.has-home-chrome:not(.is-home-platform) .edu-list .edu-item:hover,
    body.has-home-chrome:not(.is-home-platform) .edu-item:hover,
    body.has-home-chrome:not(.is-home-platform) .btn-custom:active,
    body.has-home-chrome:not(.is-home-platform) .btn-detail:active,
    body.has-home-chrome:not(.is-home-platform) .btn-success:active,
    body.has-home-chrome:not(.is-home-platform) .btn-primary:active {
        transform: none;
    }
}
