/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #F5EFE6;
}

body {
    background-color: #F5EFE6; /* The color requested by the user */
    font-family: 'Inter', sans-serif;
    color: #333; /* Default text color for contrast */
    
    /* Enforce mobile view on all screens */
    max-width: 430px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

/* ==================== Hero Section ==================== */
.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37, #FFF8DC, #D4AF37);
    background-size: 200% auto;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.05rem; /* Smaller and more elegant */
    font-weight: 700; /* Refined weight */
    padding: 12px 32px; /* More compact padding */
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    text-align: center;
    direction: rtl;
    font-family: 'Noto Naskh Arabic', serif;
    animation: shimmerWave 3s linear infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: auto; /* Fit to content */
    max-width: 90%; /* Prevent stretching across the whole screen on tiny devices */
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.cta-button.small {
    font-size: 0.95rem;
    padding: 10px 24px;
}

.cta-button.slim {
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 35px; /* Thin vertically, keeps width horizontally */
    border-radius: 20px; /* Slightly smaller radius for a slimmer look */
}

.hero .cta-button {
    position: absolute;
    bottom: 4%;
}

/* Desktop media query removed to keep strict mobile view everywhere */

/* ==================== Info Section ==================== */
.info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px;
    background-color: transparent; /* Seamlessly blend with body #F5EFE6 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    direction: rtl; /* Arabic reading direction */
}

.info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 5px;
}

.info-icon {
    width: 26px;
    height: 26px;
    color: #641C2B; /* Deep burgundy */
    margin-bottom: 15px;
}

.info-main {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #641C2B;
    margin-bottom: 5px;
    line-height: 1.2;
}

.info-sub {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    line-height: 1.4;
    opacity: 0.85; /* Slightly softer black */
}

/* ==================== Luxury Background Section ==================== */
.luxury-section {
    background-color: #641C2B;
    background-image: url('../images/background millions.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px; /* Reduced padding */
    min-height: 400px; /* Slightly shorter */
    text-align: center;
    direction: rtl;
    position: relative;
    color: #F5EFE6; 
}

.luxury-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    backdrop-filter: blur(15px); /* The frosted glass blur effect */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle light border */
    border-radius: 24px;
    padding: 30px 20px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff; /* White text looks best on dark frosted glass */
}

.glass-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.4rem; /* Made smaller */
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Reusable Animated Gold Text Class */
.text-gold-animated {
    /* Gold Gradient Wave Effect (Exact CTA Colors) */
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerWave 3s linear infinite;
}

@keyframes shimmerWave {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}



.glass-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 400; /* Normal weight (not bold) */
    color: #F5EFE6;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37);
    margin: 20px auto;
    border-radius: 2px;
    opacity: 0.8;
}

/* ==================== Quote Section ==================== */
.quote-section {
    padding: 30px 20px;
    text-align: center;
    direction: rtl;
    background-color: transparent; /* Uses the body's #F5EFE6 */
}

.quote-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 380px;
}

.quote-black {
    color: #1a1a1a; /* Black */
    display: inline-block;
    margin-bottom: 8px;
}

/* Burgundy Animated Wave Text */
.text-burgundy-animated {
    display: inline-block;
    /* Burgundy base with a bright elegant shine passing through */
    background: linear-gradient(to right, #641C2B 0%, #641C2B 40%, #E57388 50%, #641C2B 60%, #641C2B 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerWave 3s linear infinite;
}

/* ==================== Gallery Marquee Section ==================== */
.gallery-section {
    padding: 20px 0 60px 0;
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    direction: ltr; /* Ensure scrolling goes left-to-right structurally */
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 60s linear infinite; /* Slowed down significantly */
}

.marquee-track:hover {
    animation-play-state: paused; /* Pause on hover */
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 15px;
    padding-right: 15px; /* Necessary to keep spacing identical during the loop jump */
}

.gallery-image {
    width: 160px; /* Made smaller */
    height: 220px; /* Made smaller */
    object-fit: cover; /* Prevents bad cropping/stretching */
    border-radius: 14px; /* Elegant rounded corners suited for smaller size */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: grab;
}

.gallery-image:hover {
    transform: scale(1.02); /* Slight scale to make it feel interactive */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image:active {
    cursor: grabbing;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half the track width (one group) to loop seamlessly */
}

/* ==================== Testimonials Section ==================== */
.testimonials-section {
    padding: 30px 20px 40px 20px;
    direction: rtl;
    text-align: center;
    background-color: transparent;
}

.testimonials-section .section-subtitle {
    color: #4A4A4A;
    margin-bottom: 50px;
}

.section-grand-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.section-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 35px;
}

.audio-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 440px;
    margin: 0 auto;
}

/* Audio Card */
.audio-card {
    background: linear-gradient(135deg, #88243A, #641C2B); /* Rich, elegant brand burgundy */
    border-radius: 50px;
    padding: 10px 15px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.1), 0 6px 20px rgba(100, 28, 43, 0.2); /* Soft premium shadow */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle edge */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audio-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 3px;
    opacity: 0.7;
}

.audio-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.2), 0 10px 25px rgba(138, 62, 78, 0.25);
}

/* Custom Play Button */
.audio-play-btn {
    order: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37);
    background-size: 200% auto;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.audio-play-btn:active {
    transform: scale(0.92);
}

.audio-play-btn svg {
    width: 18px;
    height: 18px;
    fill: #641C2B;
}

.audio-main {
    order: 2;
    flex-grow: 1;
    text-align: right;
    padding-right: 18px;
}

.audio-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF; /* White for strong contrast on burgundy */
    margin: 0;
}

.audio-left {
    order: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    color: #D4AF37;
    font-weight: 700;
}

/* Simulated Waveform */
.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.waveform span {
    display: block;
    width: 2px;
    background-color: #D4AF37;
    border-radius: 2px;
    animation: waveAnim 1s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.waveform span:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.waveform span:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.waveform span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.waveform span:nth-child(4) { height: 100%; animation-delay: 0.4s; }
.waveform span:nth-child(5) { height: 40%; animation-delay: 0.5s; }

.audio-card.playing .waveform span {
    animation-play-state: running;
}

@keyframes waveAnim {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.1); }
}

/* ==================== Program Schedule Section ==================== */
.program-section {
    position: relative;
    padding: 30px 20px;
    z-index: 1;
    overflow: hidden;
    background-color: transparent; /* Uses the default landing page #F5EFE6 */
}

.program-card {
    background: transparent; /* Changed to transparent so pseudo elements show */
    border-radius: 28px;
    padding: 40px 25px;
    position: relative;
    overflow: hidden;
    /* Soft elegant gold glow around the edges combined with standard depth shadow */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 
                0 0 25px rgba(212, 175, 55, 0.15); 
    margin: 0 auto 30px auto;
    max-width: 350px;
    text-align: center;
    direction: rtl;
    border: none; /* Removed static border in favor of animated pseudo-element */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* The rotating animated gradient behind */
.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.4) 30%, 
        #D4AF37 45%, 
        #FFF8DC 50%, /* Bright glow at the tip */
        #D4AF37 55%, 
        rgba(212, 175, 55, 0.4) 70%, 
        transparent 100%
    );
    animation: rotateBorder 3s linear infinite; /* Slightly faster */
    z-index: 0;
}

/* The inner white card that acts as the "fill", exposing the edge */
.program-card::after {
    content: '';
    position: absolute;
    top: 3px; /* Increased border thickness */
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #FFFFFF;
    border-radius: 25px; /* Adjusted to perfectly follow the outer 28px radius */
    z-index: 1;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.program-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 
                0 0 45px rgba(212, 175, 55, 0.4); /* Stronger glow on hover */
}

.program-card:hover::before {
    background: conic-gradient(
        from 0deg, 
        rgba(212, 175, 55, 0.3) 0%, 
        #D4AF37 30%, 
        #FFFFFF 50%, 
        #D4AF37 70%, 
        rgba(212, 175, 55, 0.3) 100%
    ); /* Make it shine very bright on hover */
}

.card-bg-number {
    position: absolute;
    top: 5px; /* High near the top area */
    right: 15px;
    font-size: 160px;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.15); /* Soft transparent gold */
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    z-index: 2; /* Increased z-index to be above the ::after background */
    pointer-events: none;
    letter-spacing: -5px;
}

.card-content {
    position: relative;
    z-index: 3; /* Increased z-index to be above the ::after background */
}

.program-day {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a; /* Black, prominent and clear */
    margin-bottom: 5px;
}

.program-theme {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.15rem; /* Elegant and readable */
    font-weight: 700;
    color: #641C2B; /* Burgundy brand color */
    margin-bottom: 8px;
}

.program-time {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 500; /* Lighter weight, clean */
    color: #1a1a1a; /* Black */
    margin-bottom: 25px;
}

.program-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37); /* Gold feeling of CTA button */
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(100, 28, 43, 0.06); /* Soft burgundy-tinted circle */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #641C2B; /* Clear burgundy check mark */
    margin-top: 3px;
    border: 1px solid rgba(100, 28, 43, 0.15); /* Refined circle edge */
}

.check-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.list-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a; /* Black text */
    line-height: 1.6;
}

/* ==================== Conclusion Section ==================== */
.conclusion-section {
    padding: 10px 20px 20px 20px;
    text-align: center;
    direction: rtl;
    background: transparent;
}

.conclusion-text {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.8;
    margin-bottom: 10px; /* Space before CTA button */
}

.conclusion-black {
    color: #1a1a1a; /* Black */
    display: inline-block;
}

.conclusion-animated {
    display: inline-block;
    /* Grouna (Burgundy) gradient for the wave effect */
    background: linear-gradient(to right, #641C2B, #A52A4A, #641C2B, #A52A4A, #641C2B);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    /* Alternate goes left and right repeatedly */
    animation: waveAlt 4s ease-in-out infinite alternate;
}

@keyframes waveAlt {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

/* ==================== About Bio & Stats Section ==================== */
.bio-quote-container {
    position: relative;
    padding: 30px 0;
    margin-bottom: 20px;
}

.bio-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    text-align: center; /* Centered as requested */
    color: #F5EFE6;
    opacity: 0.95;
}

.bio-highlight {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
    margin-top: 25px;
    margin-bottom: 5px;
    text-align: center;
}

.quote-icon {
    color: rgba(212, 175, 55, 0.15); /* Soft transparent gold */
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.quote-icon.top-quote {
    top: -10px;
}

.quote-icon.bottom-quote {
    bottom: -10px;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08); /* Transparent white glass */
    border: 1px solid rgba(212, 175, 55, 0.25); /* Subtle gold border */
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(212, 175, 55, 0.15); /* Slightly brighter gold on hover */
}

.stat-number {
    display: block;
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37; /* Gold numbers */
    margin-bottom: 5px;
    direction: ltr; /* Ensure numbers like +8 format correctly */
}

.stat-label {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #F5EFE6;
    line-height: 1.3;
}

/* ==================== Written Testimonials Carousel ==================== */
.testimonial-carousel {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 20px;
}

.carousel-track {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px; /* Tall enough for the longest text */
    width: 100%;
}

.carousel-card {
    position: absolute;
    width: 82%;
    max-width: 380px;
    background-color: rgba(135, 42, 63, 0.95); /* Light burgundy (Grouna khfif) */
    border-radius: 20px;
    padding: 25px 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, filter 0.5s ease;
    opacity: 0;
    z-index: 1;
    direction: rtl;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated Gold Corners */
.carousel-card::before, .carousel-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #D4AF37;
    border-style: solid;
    animation: cornerPulse 2s ease-in-out infinite alternate;
}

/* Top Right Corner (in RTL, it looks better on the top right and bottom left) */
.carousel-card::before {
    top: -2px;
    right: -2px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 20px;
}

/* Bottom Left Corner */
.carousel-card::after {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 20px;
}

@keyframes cornerPulse {
    0% { transform: scale(1); opacity: 0.6; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.5)); }
    100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 8px rgba(212, 175, 55, 1)); }
}

.card-inner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.quote-icon-top {
    color: rgba(212, 175, 55, 0.8);
    width: 30px;
    height: 30px;
    margin: 0 auto 15px auto;
}

.quote-icon-top svg {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #FFFFFF; /* Text in white */
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: 'Noto Naskh Arabic', serif;
    font-weight: 700;
    color: #F5EFE6; /* Off-white for author */
    font-size: 1.1rem;
}

/* Carousel States */
.carousel-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 3;
}

.carousel-card.prev {
    transform: translateX(55%) scale(0.85); /* Right side in RTL */
    opacity: 0.5;
    filter: blur(4px);
    z-index: 2;
}

.carousel-card.next {
    transform: translateX(-55%) scale(0.85); /* Left side in RTL */
    opacity: 0.5;
    filter: blur(4px);
    z-index: 2;
}

.carousel-card.hidden {
    transform: scale(0.7);
    opacity: 0;
    z-index: 1;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(100, 28, 43, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #641C2B;
    width: 20px;
    border-radius: 10px;
}

/* ==================== Packages / Pricing Section ==================== */
.packages-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.package-card {
    background: #FFFFFF;
    border-radius: 15px;
    width: 90%;
    max-width: 340px;
    margin: 0 auto 35px auto; /* Center horizontally, add bottom spacing */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    direction: rtl;
    padding-bottom: 30px;
    overflow: hidden;
}

.package-header {
    background: linear-gradient(to bottom, #A1A5B1, #F4F5F7);
    padding: 30px 0 45px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
    text-align: center;
}

.virtual-header {
    background: linear-gradient(to bottom, #e3dac9, #f9f6f0); /* Softer neutral beige */
}

.gold-header {
    background: linear-gradient(to bottom, #D4AF37, #FFF8DC);
}

.platinum-header {
    background: linear-gradient(to bottom, #1A1F29, #3A4556);
}

.platinum-header .package-name {
    color: #FFFFFF;
}

.platinum-badge {
    background: linear-gradient(to right, #D4AF37, #B8860B);
    color: #FFFFFF;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.package-name {
    font-family: 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A1F29;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.package-price-container {
    margin-top: -15px; /* Overlap the clipped header */
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    direction: ltr; /* Force Left-To-Right so $ stays on the right */
}

.package-price {
    font-family: 'Tajawal', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(to right, #641C2B 0%, #641C2B 40%, #E57388 50%, #641C2B 60%, #641C2B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerWave 3s linear infinite;
    display: inline-block;
    line-height: 0.9;
}

.package-currency {
    font-family: 'Tajawal', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(to right, #641C2B 0%, #641C2B 40%, #E57388 50%, #641C2B 60%, #641C2B 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerWave 3s linear infinite;
    margin-top: 5px;
    margin-left: 2px;
}

.package-features {
    list-style: none;
    padding: 0 25px;
    margin: 0;
    text-align: right;
}

.package-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.package-features li.excluded {
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 500;
}

.feature-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.feature-icon.check {
    color: #641C2B; /* Burgundy checkmark */
}

.feature-icon.cross {
    color: #E57388; /* Soft red/burgundy cross */
}

.package-btn-container {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
}

.package-btn-text {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #D4AF37; /* Static gold */
}

.package-btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(to right, #D4AF37, #FFF8DC, #D4AF37);
    background-size: 200% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #641C2B; /* Burgundy arrow, matches audio play btn */
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.package-btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Agents Section */
.agents-section {
    padding: 30px 20px;
    text-align: center;
    direction: rtl;
    position: relative;
}

.agents-content {
    position: relative;
    z-index: 2;
}

.agents-grand-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #FFFFFF;
}
.agents-grand-title span {
    color: #D4AF37;
}

.agents-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #FFF8DC;
    max-width: 500px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.agents-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.agent-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 340px;
    padding: 25px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.agent-title {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}

.agent-country {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #D4AF37, #EAC89C);
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 25px;
    width: auto;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
.agent-btn svg {
    width: 18px; height: 18px;
}

/* ==================== FAQ Section ==================== */
.faq-section {
    padding: 30px 20px 40px 20px;
    direction: rtl;
    text-align: center;
    background-color: transparent;
}

.faq-section .section-grand-title {
    margin-bottom: 45px;
}

.faq-container {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    outline: none;
}

.faq-text {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #641C2B;
    padding-left: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(100, 28, 43, 0.08);
    color: #641C2B;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    text-align: right;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 25px 25px 25px;
    opacity: 1;
}

.faq-answer p {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 18px;
}

/* ==================== Video Embed Section ==================== */
.video-section {
    padding: 30px 20px;
    background-color: transparent;
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2); /* Soft gold border */
    background-color: #000;
}

/* Responsive iframe container (16:9 aspect ratio) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==================== Sticky Countdown ==================== */
.sticky-countdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Soft transparent burgundy tint for dark glass effect */
    background: rgba(70, 15, 25, 0.45); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    direction: rtl;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* For restricting to the mobile view layout matching the rest of the site */
    max-width: 430px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, -100%);
}

/* When visible, keep horizontal center but move down into view */
.sticky-countdown.visible {
    transform: translate(-50%, 0);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #F5EFE6;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: #D4AF37; /* Gold */
}

.time-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #F5EFE6;
    opacity: 0.9;
}

.time-divider {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.5);
    margin-top: -14px;
}

@media (max-width: 380px) {
    .sticky-countdown {
        padding: 10px 15px;
    }
    .countdown-timer {
        gap: 8px;
    }
    .time-value {
        font-size: 1.1rem;
    }
    .time-label {
        font-size: 0.7rem;
    }
    .sticky-countdown .cta-button.small {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
