/* ========================================
   Islam Why? - Professional CSS Stylesheet
   Mobile-First Responsive Design
   RTL-Ready for Arabic Language
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors */
    --color-primary: #e3bc3b;
    --color-primary-hover: #ebd075;
    --color-primary-dark: #c5a028;

    /* Background Colors */
    --color-bg-light: #f8f7f6;
    --color-bg-dark: #171611;
    --color-bg-darker: #0b0f15;
    --color-surface-dark: #232018;
    --color-surface-light: #ffffff;

    /* Pillar Colors */
    --color-mandala-navy: #0f1419;
    --color-pillar-shahada: #d4af37;
    --color-pillar-salah: #1a5f5f;
    --color-pillar-salah-hover: #247f7f;
    --color-pillar-zakat: #b87333;
    --color-pillar-zakat-hover: #d98a40;
    --color-pillar-sawm: #0d4d4d;
    --color-pillar-sawm-hover: #156e6e;
    --color-pillar-hajj: #c9a961;
    --color-pillar-hajj-hover: #dbbe7a;

    /* FAQ Colors */
    --color-faq-navy: #1a2332;
    --color-faq-gold: #d4af37;
    --color-faq-cream: #f8f6f0;

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b7b29e;
    --color-text-muted: #dcdcdc;
    --color-text-dark: #171611;

    /* UI Colors */
    --color-border: #383429;
    --color-border-light: rgba(56, 52, 41, 0.3);

    /* Typography */
    --font-display: "Noto Kufi Arabic", "Manrope", sans-serif;
    --font-body: "Cairo", "Manrope", sans-serif;

    /* Layout */
    --max-width: 1280px;
    --max-width-wide: 1400px;

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

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::selection {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

/* ========================================
   BACKGROUND PATTERNS
   ======================================== */
.bg-islamic-pattern {
    background-image:
        linear-gradient(rgba(168, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ========================================
   LAYOUT
   ======================================== */
.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--wide {
    max-width: var(--max-width-wide);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(23, 22, 17, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-primary);
    transition: all var(--transition-base);
}



.header__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-lg);
    background-color: transparent;
    color: var(--color-primary);
    transition: all var(--transition-base);
    overflow: hidden;


}

.header__logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
}

.header__logo-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.header__logo-subtitle {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
}

/* Navigation */
.header__nav {
    display: none;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.header__nav-link {
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link--active {
    color: var(--color-primary);
}

/* Right side actions */
.header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__search {
    position: relative;
    display: none;
}

.header__search-input {
    width: 16rem;
    height: 2.5rem;
    padding: 0 1rem 0 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background-color: var(--color-surface-dark);
    color: var(--color-text-primary);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.header__search-input::placeholder {
    color: var(--color-text-secondary);
}

.header__search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

.header__search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    pointer-events: none;
}

.header__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: color var(--transition-base);
}

.header__menu-toggle:hover {
    color: var(--color-primary);
}

/* Responsive Header */
@media (min-width: 1024px) {
    .header__search {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .header__nav {
        display: flex;
    }

    .header__menu-toggle {
        display: none;
    }

    .header__left {
        gap: 2rem;
    }
}

/* Mobile Menu Dropdown (for screens < 1280px) */
@media (max-width: 1279px) {
    .header__nav {
        display: flex;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        background-color: var(--color-bg-dark);
        border: 1px solid var(--color-border);
        border-top: 2px solid var(--color-primary);
        padding: 0;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        overflow-y: auto;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 9999 !important;
    }

    .header__nav.mobile-open {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        padding: 1.5rem;
    }

    .header__nav-link {
        padding: 0.875rem 1.25rem;
        border-radius: var(--radius-md);
        transition: all var(--transition-base);
        display: block;
        background-color: rgba(26, 31, 41, 0.5);
        border: 1px solid transparent;
        text-align: center;
        min-width: 200px;
        width: auto;
    }

    .header__nav-link:hover,
    .header__nav-link--active {
        background-color: rgba(227, 188, 59, 0.15);
        border-color: var(--color-primary);
        color: var(--color-primary);
        transform: scale(1.02);
    }
}

/* ========================================
   NAVIGATION DROPDOWNS
   ======================================== */

/* Nav Item Wrapper */
.header__nav-item {
    position: relative;
}

.header__nav-link--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.header__dropdown-arrow {
    font-size: 1.125rem;
    transition: transform var(--transition-base);
}

/* Arrow rotation on hover/open */
.header__nav-item--dropdown:hover .header__dropdown-arrow,
.header__nav-item--dropdown.dropdown-open .header__dropdown-arrow {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.header__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base) ease;
    z-index: 100;
}

/* Show dropdown on hover (desktop) */
@media (min-width: 1280px) {
    .header__nav-item--dropdown:hover .header__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(8px);
    }
}

/* Dropdown Links */
.header__dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
}

.header__dropdown-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.header__dropdown-link:hover {
    color: var(--color-primary);
    background-color: rgba(227, 188, 59, 0.1);
    padding-right: 1.5rem;
}

.header__dropdown-link:hover::before {
    transform: translateY(-50%) scaleY(1);
}

/* Mobile Dropdown Adjustments */
@media (max-width: 1279px) {
    .header__nav-item--dropdown {
        width: auto;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header__nav-link--dropdown {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.875rem 1.25rem;
        background-color: rgba(26, 31, 41, 0.5);
        border-radius: var(--radius-md);
        border: 1px solid transparent;
        text-align: center;
    }

    .header__nav-link--dropdown:hover,
    .header__nav-item--dropdown.dropdown-open .header__nav-link--dropdown {
        background-color: rgba(227, 188, 59, 0.15);
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

    .header__dropdown {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0;
        margin-top: 0;
        background-color: rgba(17, 19, 25, 0.8);
        border: none;
        border-radius: var(--radius-md);
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        box-shadow: none;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .header__nav-item--dropdown.dropdown-open .header__dropdown {
        max-height: 500px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        border: 1px solid var(--color-border);
    }

    .header__dropdown-link {
        padding: 0.625rem 1.5rem;
        font-size: 0.8125rem;
        text-align: center;
    }

    .header__dropdown-link:hover {
        padding-right: 1.5rem;
    }

    .header__dropdown-link::before {
        display: none;
    }
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    width: 100%;
    padding: 2.5rem 1.5rem;
    overflow: hidden;
}

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

.hero__bg-overlay-vertical {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-dark), rgba(23, 22, 17, 0.8), transparent);
    z-index: 10;
}

.hero__bg-overlay-horizontal {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-bg-dark), transparent, var(--color-bg-dark));
    z-index: 10;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.hero__content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(227, 188, 59, 0.3);
    background-color: rgba(227, 188, 59, 0.1);
    backdrop-filter: blur(4px);
}

.hero__badge-icon {
    margin-left: 0.5rem;
    color: var(--color-primary);
}

.hero__badge-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
}


.hero__description {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 42rem;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    min-width: 10rem;
    padding: 0 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.articles-section__cta .hero__btn-icon {
    transition: all var(--transition-base);
}

.articles-section__cta:hover .hero__btn-icon {
    transform: rotate(90deg);
}


.hero__btn--secondary {
    background-color: rgba(35, 32, 24, 0.5);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(4px);
}

.hero__btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hero__btn-icon {
    font-size: 1.25rem;
}

/* RTL support for arrow icons */
[dir="rtl"] .rtl-flip {
    transform: scaleX(-1);
}

/* Responsive Hero */
@media (min-width: 768px) {
    .hero {
        padding: 5rem 1.5rem;
    }

    .hero__title img {
        max-width: 25rem;
    }

    .hero__description {
        font-size: 1.25rem;
    }

    .hero__actions {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .hero__title img {
        max-width: 21rem;
    }
}

@media (min-width: 1024px) {
    .hero__title img {
        max-width: 30rem;
    }
}



/* ========================================
   VERSE OF THE DAY SECTION
   ======================================== */
.verse-section {
    position: relative;
    z-index: 20;
    margin-top: -5rem;
    padding: 0 1.5rem 5rem;
    background-image:
        linear-gradient(rgba(194, 190, 190, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(194, 190, 190, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.verse-card {
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(227, 188, 59, 0.2);
    background-color: var(--color-surface-dark);
    box-shadow: var(--shadow-2xl);
}

.verse-card__inner {
    display: flex;
    flex-direction: column;
}

.verse-card__content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verse-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.verse-card__line {
    width: 2.5rem;
    height: 1px;
    background-color: var(--color-primary);
}

.verse-card__label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.verse-card__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.verse-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verse-card__citation {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    font-style: normal;
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.verse-card__citation:hover {
    color: var(--color-primary);
}

.verse-card__share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    color: var(--color-text-secondary);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0.6;
}

.verse-card__share-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    opacity: 0.9;
}

.verse-card__image {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.verse-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--color-surface-dark), transparent);
}

/* Responsive Verse Card */
@media (min-width: 768px) {
    .verse-card__inner {
        flex-direction: row;
    }

    .verse-card__content {
        padding: 3rem;
    }

    .verse-card__text {
        font-size: 2.25rem;
    }

    .verse-card__image {
        width: 33.333%;
    }

    .verse-card__image-overlay {
        background: linear-gradient(to left, var(--color-surface-dark), transparent);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes spin-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 188, 59, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(227, 188, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(227, 188, 59, 0);
    }
}

.animate-glow-pulse {
    animation: glow-pulse 2s infinite;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    position: relative;
    padding: 5rem 1.5rem;
    background-color: var(--color-faq-navy);
    overflow: hidden;
}

/* Decorative question marks */
.faq-section__bg-decoration {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-faq-gold);
    opacity: 0.05;
    pointer-events: none;
}

.faq-section__bg-decoration--1 {
    top: 11rem;
    left: 5rem;
    font-size: 9rem;
    animation: bounce 4s infinite ease-in-out;
}

.faq-section__bg-decoration--2 {
    bottom: 4rem;
    right: 5rem;
    font-size: 8rem;
    animation: bounce 4s infinite ease-in-out;
}


@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.faq-section__content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
}

.faq-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-section__title-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.faq-section__title-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.faq-section__title-border--rotated {
    transform: rotate(45deg);
}

.faq-section__title-border--rotated-reverse {
    transform: rotate(-45deg);
}

.faq-section__title {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-faq-cream);
}

.faq-section__description {
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.75;
    color: var(--color-text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-radius: var(--radius-xl);
    background-color: #232a3b;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item__summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    overflow: hidden;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__pattern {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.75rem;
    opacity: 0.3;
}

.faq-item__summary-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.faq-item__number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-faq-gold);
}

.faq-item__question {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-faq-cream);
    transition: color var(--transition-base);
}

.faq-item:hover .faq-item__question {
    color: var(--color-faq-gold);
}

.faq-item__summary-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.faq-item__icon-q {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.25rem;
    color: rgba(212, 175, 55, 0.2);
}

.faq-item:hover .faq-item__icon-q {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.faq-item__icon-expand {
    color: var(--color-faq-gold);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-item__icon-expand {
    transform: rotate(-180deg);
}

.faq-item__content {
    padding: 0 1.5rem 1.5rem;
    background-color: #232a3b;
    border-top: 1px solid transparent;
    position: relative;
    transition: all var(--transition-base);
}

.faq-item[open] .faq-item__content {
    background-color: #283042;
    border-top-color: rgba(212, 175, 55, 0.2);
}

.faq-item__divider {
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.faq-item__answer {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 2;
    color: #e2e0d9;
}

details[open] .faq-item__content {
    animation: slideDown 0.3s ease-in-out;
}

.faq-section__footer {
    margin-top: 3rem;
    text-align: center;
}

/* .faq-section__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 2rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(227, 188, 59, 0.3);
} */

/* .faq-section__cta-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 188, 59, 0.4);
} */

/* Responsive FAQ */
@media (min-width: 768px) {
    .faq-item__question {
        font-size: 1.25rem;
    }
}

/* ========================================
   ARTICLES CAROUSEL SECTION
   ======================================== */
.articles-section {
    position: relative;
    width: 100%;
    padding: 6rem 1.5rem;
    background-color: var(--color-mandala-navy);
    overflow: hidden;
}

.articles-section__bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.1), var(--color-mandala-navy), var(--color-mandala-navy));
    opacity: 0.6;
}

.articles-section__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/4-2.png');
    background-size: 200px;
    opacity: 0.1;
}

.articles-section__decorative-dots {
    position: absolute;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
}

.articles-section__dot--1 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    opacity: 0.4;
    filter: blur(1px);
}

.articles-section__dot--2 {
    bottom: 33.333%;
    right: 20%;
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0.2;
    filter: blur(2px);
}

.articles-section__dot--3 {
    top: 50%;
    right: 2.5rem;
    width: 0.25rem;
    height: 0.25rem;
    opacity: 0.5;
}

.articles-section__header {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto 4rem;
    text-align: center;
}

.articles-section__header-decoration {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.articles-section__divider {
    width: 1px;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    opacity: 0.5;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.articles-section__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.articles-section__title-highlight {
    color: var(--color-primary);
    position: relative;
}

.articles-section__title-underline {
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 100%;
    height: 0.5rem;
    color: var(--color-primary);
    opacity: 0.5;
}

.articles-section__description {
    max-width: 32rem;
    margin: 0 auto;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-secondary);
}

.articles-carousel {
    position: relative;
    z-index: 10;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.articles-carousel__nav-btn {
    position: absolute;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(227, 188, 59, 0.3);
    background-color: rgba(26, 35, 50, 0.8);
    color: var(--color-primary);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.articles-carousel__nav-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-mandala-navy);
}

.articles-carousel__nav-btn--next {
    right: 1rem;
}

.articles-carousel__nav-btn--prev {
    left: 1rem;
}

.articles-carousel__card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background-color: #1a1f29;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.articles-carousel__card--side {
    display: none;
    position: absolute;
    width: 400px;
    height: 500px;
    transform: scale(0.85);
    opacity: 0.6;
    z-index: 10;
}

.articles-carousel__card--side:hover {
    opacity: 1;
    transform: scale(0.88);
    z-index: 40;
}

.articles-carousel__card--right {
    transform: translateX(60%) scale(0.85);
}

.articles-carousel__card--left {
    transform: translateX(-60%) scale(0.85);
}

.articles-carousel__card--center {
    position: relative;
    z-index: 30;
    width: 100%;
    max-width: 340px;
    height: 550px;
    border: 1px solid rgba(227, 188, 59, 0.4);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
}

.articles-carousel__card--center:hover {
    transform: translateY(-0.5rem);
}

.articles-carousel__card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
    transition: all var(--transition-slow);
}

.articles-carousel__card:hover .articles-carousel__card-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.articles-carousel__card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: all 700ms;
}

.articles-carousel__card:hover .articles-carousel__card-image {
    filter: grayscale(0);
    transform: scale(1.1);
}

.articles-carousel__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 20;
    transform: translateY(1rem);
    transition: transform var(--transition-base);
}

.articles-carousel__card:hover .articles-carousel__card-content {
    transform: translateY(0);
}

.articles-carousel__card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(227, 188, 59, 0.2);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(227, 188, 59, 0.2);
}

.articles-carousel__card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-carousel__card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.articles-carousel__card:hover .articles-carousel__card-meta {
    opacity: 1;
}

.articles-carousel__card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Featured article badge */
.articles-carousel__featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 0;
    z-index: 30;
    background-color: var(--color-primary);
    color: var(--color-mandala-navy);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    box-shadow: var(--shadow-lg);
}

.articles-carousel__featured-badge::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    border-bottom: 14px solid transparent;
    border-top: 14px solid transparent;
    border-left: 10px solid var(--color-primary);
}

/* Carousel indicators */
.articles-carousel__indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.articles-carousel__indicator {
    height: 0.5rem;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-base);
}

.articles-carousel__indicator--active {
    width: 2rem;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.articles-carousel__indicator:not(.articles-carousel__indicator--active) {
    width: 0.5rem;
}

.articles-carousel__indicator:hover {
    background-color: var(--color-primary);
}

.articles-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.articles-section__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 2rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(227, 188, 59, 0.3);
    z-index: 1;
}

.articles-section__cta:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 188, 59, 0.4);
}

/* Video Section CTA Button */
.video-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.video-section__cta {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 2rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark) !important;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(227, 188, 59, 0.3);

}

.video-section__cta:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 188, 59, 0.4);
}

/* Responsive Articles */
@media (min-width: 768px) {
    .articles-section__title {
        font-size: 3rem;
    }

    .articles-carousel__card--center {
        max-width: 450px;
        height: 580px;
    }
}

@media (min-width: 1024px) {
    .articles-carousel__card--side {
        display: block;
    }

    .articles-carousel__card--center {
        max-width: 500px;
    }

    .articles-carousel__nav-btn--next {
        right: 3rem;
    }

    .articles-carousel__nav-btn--prev {
        left: 3rem;
    }
}

/* ========================================
   VIDEO LIBRARY SECTION
   ======================================== */
.video-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--color-bg-darker);
    overflow: hidden;
}

.video-section__bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

.video-section__container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.video-section__header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.video-section__header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.video-section__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.video-section__title-underline {
    width: 6rem;
    height: 0.25rem;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 0 15px rgba(227, 188, 59, 0.5);
}

.video-section__filters {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* width: 100%; */
}

.video-section__filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-section__filter-btn--active {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
    box-shadow: 0 0 10px rgba(227, 188, 59, 0.2);
}

.video-section__filter-btn:not(.video-section__filter-btn--active) {
    background-color: var(--color-surface-dark);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.video-section__filter-btn:not(.video-section__filter-btn--active):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.video-featured {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    margin-bottom: 3rem;
    border: 1px solid rgba(56, 52, 41, 0.5);
}

.video-featured__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.video-featured:hover .video-featured__image {
    transform: scale(1.05);
}

.video-featured__overlay-gradient-t {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-darker), rgba(11, 15, 21, 0.4), transparent);
}

.video-featured__overlay-gradient-l {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--color-bg-darker), rgba(11, 15, 21, 0.6), transparent);
}

.video-featured__content {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
}

.video-featured__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 10px rgba(227, 188, 59, 0.4);
    animation: pulse 2s infinite;
}

.video-featured__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-featured__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.video-featured__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-featured__quality-badge {
    padding: 0.125rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.video-featured__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 20;
}

.video-featured__btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.video-featured__btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 0 20px rgba(227, 188, 59, 0.3);
}

.video-featured__btn--primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: 0 0 30px rgba(227, 188, 59, 0.5);
}


.video-featured__btn--icon-only {
    width: 3rem;
    height: 3rem;
    padding: 0;
    justify-content: center;
}

.video-featured__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.video-featured__play-button {
    width: 6rem;
    height: 6rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow-pulse 2s infinite;
}

.video-featured__play-button-inner {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-full);
    background-color: rgba(227, 188, 59, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
    color: var(--color-text-dark);
    transition: transform var(--transition-base);
    cursor: pointer;
    pointer-events: auto;
}

.video-featured:hover .video-featured__play-button-inner {
    transform: scale(1.1);
}

/* Video grid */
.video-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
    overflow-y: hidden;
}

.video-card {
    flex-shrink: 0;
    width: 100%;
    cursor: pointer;
}

.video-card__thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-dark);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.video-card:hover .video-card__thumbnail {
    border-color: var(--color-primary);
}

.video-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: all 700ms;
}

.video-card:hover .video-card__image {
    transform: scale(1.1);
    filter: grayscale(0);
    opacity: 0.6;
}

.video-card__quality {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card__duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.video-card__corner-decoration {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-color: transparent;
    transition: border-color var(--transition-base);
}

.video-card__corner-decoration--tr {
    top: 0;
    right: 0;
    border-top: 2px solid;
    border-right: 2px solid;
    border-top-right-radius: var(--radius-xl);
}

.video-card__corner-decoration--bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: var(--radius-xl);
}

.video-card:hover .video-card__corner-decoration {
    border-color: var(--color-primary);
}

.video-card__play-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.video-card:hover .video-card__play-icon-overlay {
    opacity: 1;
}

.video-card__info {
    margin-top: 1rem;
    padding: 0 0.25rem;
}

.video-card__info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.video-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

.video-card:hover .video-card__title {
    color: var(--color-primary);
}

.video-card__views {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
}

.video-card__description {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.video-section__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(227, 188, 59, 0.3);
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-section__cta:hover {
    border-bottom-color: var(--color-primary);
}

/* Responsive Video Section - Mobile Only Card Format */
@media (max-width: 767px) {

    /* Hide the featured overlay design on mobile */
    .video-featured {
        display: none !important;
    }

    /* Show the mobile card version */
    .video-card--mobile-featured {
        display: block;
        margin-bottom: 1.25rem;
    }

    /* Ensure uniform video grid on mobile */
    .video-grid {
        gap: 1.25rem;
    }

    .video-card {
        width: 100%;
    }

    .video-section__container {
        padding: 0 1rem;
    }

    .video-section__title {
        font-size: 1.75rem;
    }

    .video-card__play-icon-overlay {
        opacity: 1;
    }
}

/* Desktop: Hide mobile card, show featured overlay */
@media (min-width: 768px) {
    .video-card--mobile-featured {
        display: none;
    }
}

@media (min-width: 768px) {
    .video-grid {
        flex-direction: row;
        overflow-x: auto;
    }

    .video-card {
        width: 320px;
    }

    .video-featured__title {
        font-size: 2rem;
    }

    .video-featured__meta {
        font-size: 1rem;
    }

    .video-section__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

@media (min-width: 1024px) {
    .video-featured {
        aspect-ratio: 2.4 / 1;
    }

    .video-featured__content {
        width: 75%;
    }

    .video-featured__title {
        font-size: 2rem;
    }
}

/* ========================================
   PODCAST SECTION
   ======================================== */
.podcast-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(210deg, var(--color-bg-darker), var(--color-pillar-salah));
    color: var(--color-faq-cream);
    position: relative;
    overflow: hidden;

}

.podcast-section__bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.podcast-section__glow {
    position: absolute;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.1);
    filter: blur(80px);
    pointer-events: none;
}

.podcast-section__glow--tl {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    transform: translate(-50%, -50%);
}

.podcast-section__glow--br {
    bottom: 0;
    right: 0;
    width: 20rem;
    height: 20rem;
    transform: translate(50%, 50%);
}

.podcast-section__container {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
}

.podcast-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    text-align: center;
}

.podcast-section__header-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.podcast-section__header-line {
    width: 4rem;
    height: 1px;
    background: linear-gradient(to left, transparent, var(--color-pillar-shahada));
}

.podcast-section__header-line--reverse {
    background: linear-gradient(to right, transparent, var(--color-pillar-shahada));
}

.podcast-section__header-icon-border {
    padding: 0.375rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.podcast-section__title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-faq-cream);
    padding: 0.5rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(13, 77, 77, 0.3);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    position: relative;
    margin-bottom: 1rem;
}

.podcast-section__title-corner {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-color: var(--color-pillar-shahada);
}

.podcast-section__title-corner--tl {
    top: 0;
    left: 0;
    border-top: 1px solid;
    border-left: 1px solid;
}

.podcast-section__title-corner--tr {
    top: 0;
    right: 0;
    border-top: 1px solid;
    border-right: 1px solid;
}

.podcast-section__title-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid;
    border-left: 1px solid;
}

.podcast-section__title-corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.podcast-section__description {
    font-weight: 300;
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-muted);
}

.podcast-section__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

/* Featured podcast */
.podcast-featured {
    width: 100%;
}

.podcast-featured__card {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: #111620;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-slow);
}

.podcast-featured__card:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.podcast-featured__corner-decoration {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-color: var(--color-pillar-shahada);
    z-index: 20;
}

.podcast-featured__corner-decoration--tl {
    top: 1rem;
    left: 1rem;
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-left-radius: var(--radius-lg);
}

.podcast-featured__corner-decoration--tr {
    top: 1rem;
    right: 1rem;
    border-top: 2px solid;
    border-right: 2px solid;
    border-top-right-radius: var(--radius-lg);
}

.podcast-featured__corner-decoration--bl {
    bottom: 1rem;
    left: 1rem;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: var(--radius-lg);
}

.podcast-featured__corner-decoration--br {
    bottom: 1rem;
    right: 1rem;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-bottom-right-radius: var(--radius-lg);
}

.podcast-featured__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.podcast-featured__bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.podcast-featured__card:hover .podcast-featured__bg-image {
    transform: scale(1.05);
}

.podcast-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0b0f16, rgba(11, 15, 22, 0.6), transparent);
}

.podcast-featured__overlay--horizontal {
    background: linear-gradient(to right, rgba(11, 15, 22, 0.8), transparent, transparent);
    opacity: 0.8;
}

.podcast-featured__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;
}

.podcast-featured__badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.podcast-featured__badge {
    padding: 0.25rem 0.75rem;
    background-color: var(--color-pillar-shahada);
    color: #111620;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.podcast-featured__duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.podcast-featured__title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.podcast-featured__card:hover .podcast-featured__title {
    color: var(--color-pillar-shahada);
}

.podcast-featured__description {
    max-width: 42rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-featured__footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.podcast-featured__host {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.podcast-featured__host-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.podcast-featured__host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-featured__host-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.podcast-featured__host-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-text-primary);
}

.podcast-featured__play-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--color-pillar-shahada);
    color: #111620;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border: none;
    align-self: flex-start;
}

.podcast-featured__play-btn:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.podcast-featured__play-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #111620;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pillar-shahada);
    transition: transform var(--transition-base);
}

.podcast-featured__play-btn:hover .podcast-featured__play-icon-wrapper {
    transform: scale(1.1);
}

/* Podcast episode list */
.podcast-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.podcast-list__header {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-faq-cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.podcast-episode {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(17, 22, 32, 0.8);
    backdrop-filter: blur(12px);
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.podcast-episode:hover {
    border-color: var(--color-pillar-shahada);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
    background-color: #151b26;
}

.podcast-episode__thumbnail {
    position: relative;
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.podcast-episode__thumbnail-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.podcast-episode:hover .podcast-episode__thumbnail-image {
    transform: scale(1.1);
}

.podcast-episode__thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.podcast-episode:hover .podcast-episode__thumbnail-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

.podcast-episode__play-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background-color: rgba(212, 175, 55, 0.9);
    color: #1a2332;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-base);
}

.podcast-episode:hover .podcast-episode__play-icon {
    opacity: 1;
    transform: scale(1);
}

.podcast-episode__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

.podcast-episode__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.podcast-episode__category {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-pillar-shahada);
    background-color: rgba(212, 175, 55, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.podcast-episode__duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.podcast-episode__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-base);
}

.podcast-episode:hover .podcast-episode__title {
    color: var(--color-pillar-shahada);
}

.podcast-episode__description {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-section__footer {
    margin-top: auto;
}

.podcast-section__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(17, 22, 32, 0.5);
    color: var(--color-pillar-shahada);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.podcast-section__cta:hover {
    background-color: var(--color-pillar-shahada);
    color: #111620;
}

/* Responsive Podcast */
@media (min-width: 768px) {
    .podcast-featured__description {
        -webkit-line-clamp: none;
    }

    .podcast-featured__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .podcast-section__content {
        flex-direction: row;
    }

    .podcast-featured {
        width: 60%;
    }

    .podcast-list {
        width: 40%;
    }

    .podcast-featured__title {
        font-size: 3rem;
    }

    .podcast-featured__content {
        padding: 3rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--color-bg-dark);
    padding: 3rem 1.5rem;
    padding-top: 4rem;
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer__brand {
    grid-column: 1;
}

.footer__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;

    border-radius: var(--radius-lg);
    background-color: transparent;
    color: var(--color-text-dark);
    /* padding: 0.25rem; */
    overflow: hidden;
}

.footer__logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__logo-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.footer__description {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a img {
    padding: 5px;
    transition: all var(--transition-base);
}

.footer__social a:hover>img {
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
}

.footer__social-link {
    color: var(--color-text-secondary);
    transition: color var(--transition-base);

}

.footer__social-link:hover {
    color: var(--color-primary);
}

.footer__social-link img ,
.footer__social-link svg{
    width: 32px;
    height: 32px;
}

.footer__section-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.footer__link:hover {
    color: var(--color-primary);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.footer__copyright {
    text-align: center;
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-link:hover {
    color: var(--color-text-primary);
}

/* Responsive Footer */
@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5rem;
    }

    .footer__bottom {
        flex-direction: row;
    }
}

/* ========================================
   RTL SUPPORT
   ======================================== */
[dir="rtl"] .rtl-flip {
    transform: scaleX(-1);
}

/* Adjust padding and margin for RTL */
[dir="rtl"] .header__search-icon {
    right: auto;
    left: 0.75rem;
}

[dir="rtl"] .header__search-input {
    padding: 0 2.5rem 0 1rem;
}

[dir="rtl"] .hero__badge-icon {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .podcast-featured__play-btn {
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

/* Mirror transformations for carousel */
[dir="rtl"] .articles-carousel__card--right {
    transform: translateX(-60%) scale(0.85);
}

[dir="rtl"] .articles-carousel__card--left {
    transform: translateX(60%) scale(0.85);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

/* Hide elements on specific breakpoints */
@media (max-width: 1023px) {
    .lg-only {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none !important;
    }
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Aspect ratio utilities */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Display utilities */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

/* Responsive utilities */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }

    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }

    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }
}

/* ========================================
   SCROLL ANIMATIONS & KEYFRAMES
   ======================================== */

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll[data-animation="fadeIn"].animated {
    animation-name: fadeIn;
}

.animate-on-scroll[data-animation="slideUp"].animated {
    animation-name: slideUp;
}

.animate-on-scroll[data-animation="slideInRight"].animated {
    animation-name: slideInRight;
}

.animate-on-scroll[data-animation="slideInLeft"].animated {
    animation-name: slideInLeft;
}

.animate-on-scroll[data-animation="zoomIn"].animated {
    animation-name: zoomIn;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(227, 188, 59, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-hover));
    width: 0%;
    z-index: 9998;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(227, 188, 59, 0.5);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(227, 188, 59, 0.4);
    z-index: 1000;
}

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

.back-to-top:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(227, 188, 59, 0.6);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* RTL Support for Back to Top */
[dir="rtl"] .back-to-top {
    right: auto;
    left: 2rem;
}

/* ========================================
   NAVBAR SCROLL EFFECT
   ======================================== */
.header.scrolled {
    background-color: rgba(23, 22, 17, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ENHANCED HOVER EFFECTS
   ======================================== */
.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(227, 188, 59, 0.5);
}
