* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Using the new image provided by the user */
    background-image: url("images/new bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #FDFBF7;
    
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Changed from overflow: hidden to allow vertical scrolling */
    
    /* Flex layout to align main content at the top */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligned to top instead of center */
    align-items: center;
}

/* =========================================
   TOP MARQUEE BAR
   ========================================= */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Soft Caramel/Gold color from the user's photo */
    background: #c09968; 
    
    /* Thin bar */
    padding: 6px 0;
    
    color: #FFFFFF;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.marquee {
    display: flex;
    width: max-content;
    /* Smooth, relaxed loop animation */
    animation: scroll 60s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Perfect equal space between text and stars */
    padding-right: 30px; 
}

.marquee-content span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.star {
    font-size: 0.55rem;
    opacity: 0.85;
    transform: translateY(-1px); /* Slight vertical adjustment for optical centering */
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive adjustment for smaller screens */
@media screen and (max-width: 768px) {
    .top-bar {
        font-size: 0.7rem;
        padding: 5px 0;
    }
}

/* =========================================
   QUEST HERO SECTION
   ========================================= */
.quest-hero {
    width: 100%;
    margin-top: 26px; /* Offset to sit exactly below the fixed top-bar */
    position: relative;
    display: flex;
    justify-content: center;
    background-color: transparent;
}

.quest-hero-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    object-fit: contain;
    /* Extremely subtle transition only at the very bottom edge */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.quest-hero-text {
    position: absolute;
    top: 7%; /* Moved up to ensure breathing room between the text group and Safia's head */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quest-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0px; /* Elegant balanced gap */
}

.quest-title {
    font-size: 8rem; /* Made larger than default 6rem for more visual impact */
    line-height: 1.1; /* Reduces natural empty space from font */
    margin: 5px 0 10px 0; /* Elegant balanced gap */
}

.quest-pill {
    display: inline-block;
    background-color: #c09968; /* Solid warm muted gold / caramel-tan */
    color: #FDFBF7; /* Light warm cream / ivory */
    border-radius: 50px;
    padding: 10px 28px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 15px; /* Elegant comfortable spacing */
}

/* Responsive adjustment for smaller screens */
@media screen and (max-width: 768px) {
    .quest-hero {
        margin-top: 24px; /* Top bar padding is slightly smaller on mobile */
    }
    .quest-hero-img {
        -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
    }
    .quest-hero-text {
        top: 6%; /* Moved up on mobile */
    }
    .quest-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0px;
    }
    .quest-title.title-naskh {
        font-size: 4.2rem; /* Ensure it's larger on mobile too */
        line-height: 1.1;
        margin: 5px 0 10px 0;
    }
    .quest-pill {
        font-size: 0.9rem;
        padding: 6px 18px;
        margin-top: 10px;
    }
    .overlap-card-container {
        margin-top: -20px; /* Scaled down overlap for mobile */
        padding: 0 15px;
        margin-bottom: 40px;
    }
    .editorial-content-card {
        padding: 40px 20px;
        border-radius: 30px;
    }
}

/* =========================================
   OVERLAPPING CONTENT CARD
   ========================================= */
.overlap-card-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
    margin-top: -35px; /* Subtle elegant overlap, starts below Safia's hands */
    padding: 0 20px;
    margin-bottom: 60px;
}

.editorial-content-card {
    width: 100%;
    max-width: 900px;
    background-color: #FBF3E3; /* Subtle warm cream tone distinguishable from background */
    border-radius: 40px; /* Large elegant rounded corners */
    padding: 60px 40px; /* Generous internal padding */
    box-shadow: 0 20px 50px rgba(168, 126, 67, 0.06), 0 5px 15px rgba(168, 126, 67, 0.04); /* Very subtle warm shadow */
    min-height: 200px;
}

/* Card Layout Styles */
.card-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 25px;
}

.card-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-info-separator {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(168, 126, 67, 0) 0%, rgba(168, 126, 67, 0.3) 50%, rgba(168, 126, 67, 0) 100%);
    margin: 10px 15px 0 15px;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-info-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0;
}

.card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(168, 126, 67, 0) 0%, rgba(168, 126, 67, 0.4) 50%, rgba(168, 126, 67, 0) 100%);
    position: relative;
    margin: 35px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-divider-diamond {
    width: 6px;
    height: 6px;
    background-color: #A87E43;
    transform: rotate(45deg);
    position: absolute;
}

.card-quote {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #444;
    text-align: center;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.card-cta {
    font-size: 1.1rem;
    padding: 12px 40px;
    display: inline-block;
}

/* Responsive adjustment for the card */
@media screen and (max-width: 768px) {
    .editorial-content-card {
        padding: 40px 20px;
    }
    
    .card-info-text {
        font-size: 0.85rem; /* Slightly smaller for mobile */
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
        margin-bottom: 5px; /* Tighter gap on mobile */
    }
    
    .card-info-separator {
        margin: 10px 5px 0 5px;
        height: 40px;
    }
    
    .card-quote {
        font-size: 1.1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .card-divider {
        margin: 25px 0;
    }
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.main-content {
    text-align: center;
    z-index: 2; /* Ensure it stays above the background */
    padding: 0 20px;
    margin-top: 0; /* Adjusted since the new card provides margin-bottom */
    color: #000000; /* Black text as requested */
    width: 100%;
}

.video-headline-naskh {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 2.2rem; /* Like the other glass-title on the landing page */
    font-weight: 700;
    color: #111;
    margin-bottom: 30px; /* Space above the video */
    margin-top: 20px; /* Space below the card container */
    line-height: 1.5;
}

/* Responsive adjustment for the headline */
@media screen and (max-width: 768px) {
    .video-headline-naskh {
        font-size: 1.8rem;
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

.subtitle-tajawal {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.2rem; /* Larger for desktop */
    font-weight: 700;
    margin-bottom: 5px;
}

.title-naskh {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 6rem; /* Huge title for desktop */
    font-weight: 700;
    margin-bottom: 0px; /* Reduced to bring description closer */
    
    /* Gold Wave Animation */
    background: linear-gradient(
        -45deg, 
        #986832 0%, 
        #A87E43 40%, 
        #FFF2D8 50%, 
        #A87E43 60%, 
        #986832 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Wave moving right to left */
    animation: shineWave 4s linear infinite;
}

@keyframes shineWave {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.desc-tajawal {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem; /* Larger for desktop */
    font-weight: 700;
    white-space: nowrap; /* Force on one single line */
}

/* =========================================
   VIDEO EMBED
   ========================================= */
.video-container {
    margin-top: 40px;
    position: relative;
    width: 100%;
    max-width: 1100px; /* Much wider for desktop */
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(168, 126, 67, 0.4); /* Subtle gold edge */
}

.video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   INFO SECTION
   ========================================= */
.info-section {
    width: 100%;
    max-width: 1100px; /* Matches video width to spread items across the screen */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-around; /* Spreads items evenly */
    gap: 0; 
    margin-top: 40px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1; /* Distribute boxes evenly */
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #A87E43; /* Gold color matching the theme */
    margin-bottom: 12px;
    /* Optional: subtle drop shadow for luxury feel */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.info-icon svg {
    width: 32px;
    height: 32px;
}

.info-text {
    width: 100%;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem; /* Larger for desktop */
    font-weight: 700;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   GLASS SECTION
   ========================================= */
.glass-section {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 80px auto;
    padding: 50px;
    border-radius: 20px;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 126, 67, 0.4); /* Gold tint border */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Content Styling */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glass-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 2.2rem; /* Made bigger as requested */
    font-weight: 700;
    margin-bottom: 20px; /* Adjusted spacing */
    white-space: nowrap; /* Force on one line */
}

.glass-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem; /* Medium size */
    font-weight: 700;
    margin-bottom: 15px;
    white-space: nowrap;
}

.black-text {
    color: #000;
}

.gold-wave-text {
    background: linear-gradient(
        -45deg, 
        #986832 0%, 
        #A87E43 40%, 
        #FFF2D8 50%, 
        #A87E43 60%, 
        #986832 100%
    );
    background-size: 200% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineWave 4s linear infinite;
}

.rtl-wave {
    animation: shineWaveRTL 4s linear infinite;
}

@keyframes shineWaveRTL {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 0 center;
    }
}

.glass-text-small {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem; /* Made much smaller */
    font-weight: 500;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.8;
}

.nowrap-text {
    white-space: nowrap;
}

.decorative-line {
    margin: 10px 0 25px 0;
    display: flex;
    justify-content: center;
}

.glass-text-list {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem; /* Made much smaller */
    line-height: 1.8;
    color: #111;
    font-weight: 500;
}

.glass-text-list p {
    margin: 10px 0;
}

.questions-list {
    display: inline-block; /* Centers the block itself */
    text-align: right; /* Aligns the text to a straight right edge */
    direction: rtl;
    max-width: 650px; /* Constrains width to bring the right edge closer to the center */
}

.questions-list p {
    margin: 15px 0;
    line-height: 2;
}

.gold-bold {
    color: #986832;
    font-weight: 700;
}

.highlight-love {
    font-size: 1.25rem; /* Make it bigger than the rest of the list */
    font-weight: 700;
    margin-top: 15px !important;
}

/* CTA Button */
.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Space inside the frame */
    margin-bottom: 10px;
    width: 100%;
}

@keyframes smoothGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes smoothPulse {
    0% { box-shadow: 0 4px 10px rgba(228, 199, 152, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(228, 199, 152, 0.8); }
    100% { box-shadow: 0 4px 10px rgba(228, 199, 152, 0.4); }
}

.cta-button {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem; /* Smaller font */
    font-weight: 700;
    color: #111;
    text-decoration: none;
    /* Lighter champagne gold */
    background: linear-gradient(45deg, #e4c798, #f5dfba, #ffffff, #f5dfba, #e4c798);
    background-size: 300% 300%;
    padding: 8px 30px; /* Smaller, thinner button */
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: smoothGradient 5s ease-in-out infinite, smoothPulse 3s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 199, 152, 0.9);
    color: #000;
}

/* Audience Section */
.audience-section {
    width: 100%;
    margin: 80px 0 100px 0;
    text-align: center;
}

.audience-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

/* =========================================
   GIFT SECTION
   ========================================= */
.gift-section {
    text-align: center;
}

.gift-card-content {
    text-align: right;
    direction: rtl;
    overflow: visible !important; /* Ensure the overlapping image isn't clipped */
}

.gift-editorial-layout {
    width: 100%;
}

.gift-book-cover-portrait {
    float: left; /* Puts image on visual left, Arabic text wraps around its right side */
    width: 38%; /* Larger and more prominent product visual */
    max-width: 210px;
    height: auto;
    /* Pull the image heavily up and left so it visually breaks out of the card container */
    margin: -85px 40px 10px -55px; 
    transform: rotate(-4deg); /* Subtle realistic rotation */
    filter: drop-shadow(-8px 20px 30px rgba(0, 0, 0, 0.2)); /* Refined deeper shadow */
    border-radius: 4px;
    position: relative;
    z-index: 10; /* Higher z-index to clearly sit above the card edge */
    display: block;
}

.gift-title {
    color: #986832;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem; /* Refined medium heading size */
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    padding-top: 5px; /* Slight alignment adjustment */
}

.gift-desc {
    color: #333;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.8;
    font-size: 1.05rem; /* Smaller and lighter than title */
    font-weight: 500;
    margin: 0;
}

@media screen and (max-width: 600px) {
    .gift-book-cover-portrait {
        width: 42%;
        margin: -60px 15px 10px -25px; /* Less extreme overlap on smaller screens */
    }
    .gift-title {
        font-size: 1.3rem;
    }
}

/* Cards Carousel */
.cards-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 40px 0; /* Vertical padding, horizontal handled by pseudo elements */
    margin: 0 auto 50px auto;
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    direction: rtl; /* RTL scrolling */
}

/* Spacer elements to allow first and last cards to reach the exact center of the screen */
.cards-carousel::before,
.cards-carousel::after {
    content: '';
    flex: 0 0 calc(50vw - 160px); /* 50vw minus half the card width roughly */
}

.cards-carousel::-webkit-scrollbar {
    display: none;
}

.glass-card {
    scroll-snap-align: center;
    flex: 0 0 280px; /* Fixed width for cards */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none; /* Removed standard border to use animated one */
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, background 0.4s ease;
    transform: scale(0.9) translateY(10px); /* Inactive by default */
    opacity: 0.6; /* Dimmed */
    position: relative;
    overflow: hidden;
    z-index: 1; /* For layering the design */
}

/* Animated Flowing Gold Border */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px; /* Border thickness */
    background: linear-gradient(135deg, rgba(255,255,255,0.2), #A87E43, rgba(255,255,255,0.2), #A87E43);
    background-size: 300% 300%;
    animation: borderRun 5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 10;
    pointer-events: none;
}

@keyframes borderRun {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Visible Floating Design inside the card */
.glass-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 126, 67, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: -1; /* Goes behind the text */
    animation: floatOrb 7s infinite ease-in-out alternate;
    pointer-events: none;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, 80px) scale(1.3); }
    100% { transform: translate(-20px, 150px) scale(0.8); }
}

/* Active State when in center */
.glass-card.active {
    transform: scale(1.05) translateY(-10px); /* Zooms in and goes up */
    opacity: 1;
    background: rgba(255, 255, 255, 0.6); /* Brighter glass */
    box-shadow: 0 15px 35px rgba(168, 126, 67, 0.3);
}

.glass-card.active::before {
    /* Make the border brighter and faster when active */
    background: linear-gradient(135deg, #FFF2D8, #986832, #FFF2D8, #A87E43);
    background-size: 200% 200%;
    animation-duration: 3s;
}

.glass-card.active::after {
    background: radial-gradient(circle, rgba(168, 126, 67, 0.8) 0%, transparent 70%);
    animation-duration: 4s; /* Moves slightly faster when active */
}

.glass-card p {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem; /* Smaller text as requested */
    line-height: 1.8;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* Text CTA */
.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #986832; /* Gold */
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    direction: rtl; /* Ensure arrow flows correctly */
}

.text-cta svg {
    transition: transform 0.3s ease;
}

.text-cta:hover {
    transform: translateY(-5px); /* Tle3 (goes up) on hover */
    color: #A87E43;
}

.text-cta:hover svg {
    transform: translateX(-5px); /* Arrow moves to the left */
}

/* Benefits Section */
.benefits-section {
    width: 100%;
    margin: 100px 0 120px 0;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Reduced gap */
    margin-top: 50px;
}

.benefit-item {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #986832; /* Gold icon */
    margin-bottom: 10px; /* Reduced spacing */
    transition: transform 0.3s ease;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-item:hover .benefit-icon {
    transform: translateY(-5px) scale(1.1);
}

.benefit-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.15rem; /* Smaller title */
    color: #111;
    margin-bottom: 8px;
}

.benefit-desc {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    font-size: 0.95rem; /* Smaller description */
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Testimonials Audio Section */
.testimonials-section {
    width: 100%;
    margin: 80px 0;
    text-align: center;
}

.audio-list {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Very tight gap like the photo */
    align-items: center;
    max-width: 580px; /* Longer cards */
    margin: 0 auto;
    padding: 0 20px;
}

.audio-card {
    width: 100%;
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between; 
    background: linear-gradient(135deg, #B89A6A, #936830); /* Solid Gold Background */
    border: none;
    border-radius: 50px; 
    padding: 8px 16px; /* Same thinness */
    box-shadow: 0 6px 15px rgba(147, 104, 48, 0.3); /* Gold glowing shadow */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    direction: rtl; 
}

.audio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 104, 48, 0.4);
    filter: brightness(1.05);
}

.play-btn {
    width: 32px; 
    height: 32px;
    border-radius: 50%;
    background: #ffffff; /* White button */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #936830; /* Gold icon */
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.play-icon, .pause-icon {
    width: 14px;
    height: 14px;
    margin-left: -2px; 
}
.pause-icon {
    margin-left: 0;
}

.audio-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500; 
    font-size: 0.9rem; 
    color: #ffffff; /* White text */
    flex-grow: 1; 
    text-align: right;
    margin: 0 14px;
    white-space: nowrap; 
}

/* Simulated Waveform */
.waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 14px; 
    margin: 0 8px;
    flex-shrink: 0;
}

.bar {
    width: 1px; 
    background: rgba(255, 255, 255, 0.4); /* Faint white bars */
    border-radius: 2px;
}

.bar:nth-child(1) { height: 4px; }
.bar:nth-child(2) { height: 8px; }
.bar:nth-child(3) { height: 3px; }
.bar:nth-child(4) { height: 12px; }
.bar:nth-child(5) { height: 6px; }
.bar:nth-child(6) { height: 10px; }
.bar:nth-child(7) { height: 3px; }
.bar:nth-child(8) { height: 8px; }

/* Playing state animation for waveform */
.audio-card.playing .bar {
    animation: soundWave 0.8s infinite alternate ease-in-out;
    background: #ffffff; /* Solid white when playing */
}
.audio-card.playing .bar:nth-child(even) {
    animation-duration: 0.6s;
    animation-direction: alternate-reverse;
}

@keyframes soundWave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.3); }
}



.listen-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.8rem; 
    font-weight: 600;
    color: #ffffff; /* White text */
    flex-shrink: 0;
}

/* Final CTA at the bottom */
.final-cta-container {
    margin-top: 100px;
}

.final-cta-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    /* Strict scaling for narrow mobile (320px, 375px) to ensure no wrapping */
    .audio-card {
        padding: 6px 10px;
    }
    .audio-title {
        font-size: clamp(0.65rem, 3.2vw, 0.85rem); /* Dynamically shrinks slightly more */
        margin: 0 8px;
    }
    .listen-text {
        font-size: clamp(0.6rem, 2.8vw, 0.75rem);
    }
    .waveform {
        margin: 0 6px;
    }
    .play-btn {
        width: 28px;
        height: 28px;
    }
    .main-content {
        margin-top: 7vh;
    }
    .title-naskh {
        font-size: 3rem;
    }
    .subtitle-tajawal {
        font-size: 1.4rem;
    }
    .desc-tajawal {
        font-size: 0.75rem; /* Even smaller to fit one line on mobile */
    }
    .video-container {
        width: 95%;
        margin-top: 25px;
        border-radius: 8px;
    }
    .info-section {
        justify-content: center;
        gap: 15px; /* Tightly packed for mobile */
        margin-top: 25px;
        flex-wrap: nowrap; /* Force 1 row */
    }
    .info-text {
        font-size: 0.75rem; /* Small font to guarantee fit */
        line-height: 1.3;
    }
    .info-icon {
        margin-bottom: 8px;
    }
    .info-icon svg {
        width: 22px;
        height: 22px;
    }
    .glass-section {
        width: 95%;
        padding: 30px 20px;
        margin: 40px auto 60px auto;
        border-radius: 12px;
    }
    .glass-title {
        font-size: 1.4rem; /* Adjusted to prevent overflow and ensure perfect centering */
    }
    .glass-subtitle {
        font-size: 1.15rem; /* Scaled down to prevent overflow */
    }
    .highlight-love {
        font-size: 1.05rem !important; /* Mobile specific size for love text */
    }
    .glass-text-small {
        font-size: 0.85rem; /* Even smaller on mobile */
    }
    .glass-text-small.nowrap-text {
        font-size: 0.7rem; /* Extremely small to fit one line on mobile screens as requested */
    }
    .glass-text-list {
        font-size: 0.85rem; /* Even smaller on mobile */
    }
    .audience-subtitle {
        font-size: 1.1rem;
    }
    .cards-carousel {
        padding: 10px 20px; /* Less padding on sides */
        gap: 15px;
    }
    .glass-card {
        flex: 0 0 220px; /* Narrower cards on mobile */
        padding: 25px 20px;
    }
    .glass-card p {
        font-size: 0.85rem; /* Smaller on mobile */
    }
    .text-cta {
        font-size: 1.15rem;
    }
    .benefit-item {
        padding: 0 20px;
    }
    .benefit-icon svg {
        width: 24px;
        height: 24px;
    }
    .benefit-title {
        font-size: 1.05rem; /* Even smaller on mobile */
    }
    .benefit-desc {
        font-size: 0.85rem; /* Even smaller on mobile */
    }
    
    .final-cta-text {
        font-size: 1.2rem;
    }
}

/* =========================================
   GIFT SECTION
   ========================================= */
.gift-section {
    text-align: center;
    width: 100%;
}

.gift-box-container {
    position: relative;
    width: 90%;
    max-width: 550px;
    margin: 70px auto 40px auto; /* Extra top margin for the bow */
    transition: transform 0.4s ease;
}

.gift-box-container:hover {
    transform: translateY(-5px);
}

/* The Lid of the gift box */
.gift-lid {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(168, 126, 67, 0.6);
    border-radius: 12px;
    height: 55px;
    width: calc(100% + 40px); /* Hangs over the edges */
    margin-right: -20px; /* RTL centering */
    margin-left: -20px;  /* LTR centering */
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12), inset 0 2px 15px rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ribbon wrapping the lid */
.lid-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 100%;
    background: linear-gradient(90deg, #986832, #f5dfba, #A87E43);
    box-shadow: 0 0 15px rgba(168, 126, 67, 0.5);
    z-index: 1;
}

/* The Bow sitting on top of the lid */
.gift-bow {
    position: absolute;
    top: -45px; /* Protrudes above the lid */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    filter: drop-shadow(0 10px 15px rgba(168, 126, 67, 0.4));
    animation: bowFloat 3s ease-in-out infinite;
}

@keyframes bowFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    50% { transform: translateX(-50%) translateY(-4px) scale(1.03); }
}

/* The Body of the gift box (Content Area) */
.gift-box-body {
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 126, 67, 0.4);
    border-top: none; /* Merges seamlessly under the lid */
    border-radius: 0 0 20px 20px;
    padding: 50px 30px 40px 30px;
    min-height: 220px; /* Adapts to content */
    box-shadow: 0 25px 50px rgba(0,0,0,0.08), inset 0 0 30px rgba(255,255,255,0.4);
    z-index: 1;
    margin-top: -5px; /* Tuck under the lid to avoid gaps */
}

/* Very faint watermark ribbon going down the body (so text is perfectly readable) */
.gift-box-body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    background: linear-gradient(90deg, #986832, #f5dfba, #A87E43);
    opacity: 0.1; /* Almost invisible, just a luxurious hint */
    pointer-events: none;
    z-index: 0;
}

.gift-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .gift-lid {
        width: calc(100% + 20px);
        margin-right: -10px;
        margin-left: -10px;
    }
    .gift-bow svg {
        width: 65px;
        height: 65px;
    }
    .gift-bow {
        top: -35px;
    }
}

/* =========================================
   ABOUT SAFIA SECTION (SPLIT)
   ========================================= */
.about-safia-split {
    display: flex;
    width: 100%;
    min-height: 500px;
    background: transparent;
    direction: rtl; /* Text on right, Image on left */
    margin-top: 40px;
    align-items: stretch; /* Make both sides equal height */
}

.safia-split-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 10%; /* Give it breathing room */
}

.safia-split-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.safia-split-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Chada espace kamel f jenb */
    object-position: center top;
}

@media screen and (max-width: 768px) {
    .about-safia-split {
        flex-direction: column;
    }
    .safia-split-text {
        padding: 40px 20px;
        justify-content: center;
    }
    .safia-split-text .glass-title {
        text-align: center !important;
    }
    .safia-split-image {
        min-height: 400px;
    }
}

/* =========================================
   PREMIUM PRICING CARD
   ========================================= */
.pricing-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.premium-pricing-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(160deg, #986832 0%, #A87E43 50%, #8A5A27 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(152, 104, 50, 0.25);
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: center;
    color: #FFF2D8; /* Warm ivory for text */
}

/* Static light reflection simulating studio light */
.pricing-light-reflection {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 150%;
    height: 150%;
    /* Very soft, non-animated gradient */
    background: radial-gradient(ellipse at 40% 10%, rgba(255, 242, 216, 0.2) 0%, rgba(255, 242, 216, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

.pricing-top-half,
.pricing-bottom-half {
    position: relative;
    z-index: 2; /* above reflection */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-top-half {
    padding-bottom: 30px;
}

.pricing-bottom-half {
    padding-top: 35px;
    padding-bottom: 45px;
}

.pricing-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* Original Price */
.pricing-original {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: rgba(255, 242, 216, 0.45); /* faded lower-opacity ivory */
    position: relative;
    display: inline-block;
    line-height: 1;
    margin-top: 5px;
}

.pricing-original .strike-through {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 3px;
    background-color: rgba(255, 242, 216, 0.6);
    transform: translateY(-50%);
    border-radius: 2px;
}

/* Launch Price */
.pricing-launch {
    font-family: 'Outfit', sans-serif; /* Clean numeric font */
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: #FFF2D8;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
}

/* Ticket Divider */
.pricing-divider {
    position: relative;
    width: 100%;
    height: 1px;
    z-index: 2;
}

/* Circular cutouts (left and right edges) mimicking the page background */
.pricing-divider::before,
.pricing-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    background-color: #FDFBF7; /* Page background color to create faux-cutout */
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.05); /* Slight shadow to make cutout look real */
}

.pricing-divider::before {
    left: -16px; /* Halfway outside */
}

.pricing-divider::after {
    right: -16px; /* Halfway outside */
}

/* Perforated dotted line connecting the cutouts */
.divider-notches {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 242, 216, 0.3) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    transform: translateY(-50%);
}

/* =========================================
   TEXT CTA (UNDER PRICING)
   ========================================= */
.text-cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #986832;
    text-decoration: none;
    direction: rtl; /* Arrow will be on the left of text */
    animation: textZoomPulse 2s infinite ease-in-out;
    transition: color 0.3s ease;
}

.text-cta:hover {
    color: #A87E43;
}

.text-cta svg {
    width: 24px;
    height: 24px;
    /* Arrow points left for RTL reading */
    transform: rotate(180deg);
}

@keyframes textZoomPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* =========================================
   TEXT TESTIMONIALS CAROUSEL
   ========================================= */
.text-testimonials-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 40px 60px 40px;
    width: 100%;
    max-width: 1200px;
    direction: rtl; /* Scroll right to left for Arabic */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.text-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.text-card {
    flex: 0 0 320px;
    height: 380px; /* Fixed height for consistency */
    scroll-snap-align: center;
    background: #FCFAf5; /* Warm ivory/cream background */
    border-radius: 24px; /* Refined rounded corners */
    padding: 30px 25px 25px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
    box-shadow: 0 10px 30px rgba(168, 126, 67, 0.08); /* Very soft shadow */
    border: 1px solid rgba(168, 126, 67, 0.1); /* Subtle border for separation */
    transition: transform 0.3s ease;
}

.text-card:hover {
    transform: translateY(-3px);
}

.quote-icon {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #A87E43; /* Gold/caramel accent */
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 15px;
}

.testimonial-scroll-area {
    flex: 1; /* Take up remaining space */
    overflow-y: auto; /* Internal scrolling */
    padding-left: 10px; /* Space for scrollbar */
    margin-bottom: 20px;
    /* Custom thin scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 126, 67, 0.3) transparent;
}

/* Custom Scrollbar Webkit */
.testimonial-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.testimonial-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(168, 126, 67, 0.3); /* Muted gold/caramel */
    border-radius: 10px;
}

.testimonial-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 126, 67, 0.5);
}

.testimonial-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem; /* Comfortable medium reading size */
    font-weight: 400; /* Regular weight */
    line-height: 1.85; /* Comfortable Arabic line-height */
    color: #4A4A4A; /* Dark neutral text */
    margin: 0;
}

.testimonial-author {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #A87E43;
    padding-top: 15px;
    border-top: 1px solid rgba(168, 126, 67, 0.1); /* Subtle separator */
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .text-carousel {
        padding: 20px 20px 40px 20px;
    }
    .text-card {
        flex: 0 0 280px;
    }
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    width: 100%;

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-container {
    width: 100%;
    max-width: 650px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(168, 126, 67, 0.05);
    direction: rtl;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 126, 67, 0.05);
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(168, 126, 67, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #333333;
    flex: 1;
    text-align: right;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FCFAf5;
    border: 1px solid rgba(168, 126, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon {
    color: #A87E43;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(168, 126, 67, 0.08);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
    margin-top: 15px;
}

.faq-answer p {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #555555;
    line-height: 1.8;
    margin: 0;
    padding-right: 15px;
    border-right: 2px solid rgba(168, 126, 67, 0.3);
}


/* =========================================
   STRICT DESKTOP HERO STYLES
   ========================================= */
.desktop-hero-container {
    display: none;
}

@media screen and (min-width: 769px) {
    .mobile-hero-container {
        display: none !important;
    }

    .desktop-hero-container {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 60px auto 40px auto;
        padding: 0 40px;
        min-height: 85vh;
        background-color: transparent;
    }

    .desktop-hero-text {
        width: 45%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: right;
        z-index: 10;
        padding-left: 20px;
    }

    .quest-subtitle-desktop {
        font-family: 'Tajawal', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: #111;
        margin-bottom: -10px;
    }

    .quest-title-desktop {
        font-size: 8rem;
        line-height: 1.1;
        margin: 10px 0 15px 0;
    }

    .quest-pill-desktop {
        display: inline-block;
        background-color: #c09968;
        color: #FDFBF7;
        font-family: 'Tajawal', sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        padding: 8px 24px;
        border-radius: 50px;
        align-self: flex-start;
    }

    .desktop-hero-img-container {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .desktop-hero-img {
        width: 100%;
        max-width: 600px;
        height: auto;
        object-fit: contain;
        -webkit-mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
        mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
    }
}



html {
    scroll-behavior: smooth;
}

