/*
  =============================================================================
  PROJECT: Jasser AI - CSS Stylesheet
  =============================================================================
  ARCHITECTURE & DESIGN SYSTEM:
  This stylesheet is built using a modern CSS architecture focusing on native CSS variables 
  for theming and design tokens. It relies on vanilla CSS without preprocessors.

  KEY DESIGN TOKENS:
  - Colors: Pure white (#FFFFFF) for cards, deep dark blue (#11182A) for backgrounds, 
    and Jasser Orange (#EE8A22) for primary accents and glowing elements.
  - Typography: 'Cairo' for headings, 'Kufam' for body text. Both are loaded via Google Fonts.
  - Animations: We use advanced `cubic-bezier(0.16, 1, 0.3, 1)` easing functions, 
    popularized by Apple, for ultra-smooth buttery reveal animations.

  STRUCTURE:
  1. CSS Variables (:root) - Global design tokens.
  2. Base Styles - Reset, body typography, and utility classes.
  3. Splash Screen - Keyframe animations for the initial loading sequence.
  4. Header/Navbar - Fixed blurred navigation.
  5. Hero Section - Dynamic background and levitating centerpiece logo.
  6. Components - Reusable styles (Cards, Buttons, Badges).
  7. Section Specific Styles - About, Modes, Features, Preview (Tabbed UI), FAQ.
  8. Animations - Keyframes for organic levitation and reveal effects.
  9. Responsive Queries - Media queries for tablet and mobile devices.
  =============================================================================
*/

/* ============================================
   JASSER — Istiqbal-Inspired Theme
   Authentic clone of the Istiqbal Islamic Center
   WordPress theme, adapted for Jasser.
   ============================================ */

:root {
    /* Brand Colors */
    --primary-orange: #ee8a22;
    --primary-orange-hover: #d67a1c;
    --primary-dark: #11182a;
    --primary-dark-light: #1a2332;
    --primary-white: #ffffff;

    /* Theme Colors (Istiqbal-matched) */
    --bg-white: #ffffff;
    --bg-light: #f4f7f6;
    --text-heading: #11182a;
    --text-body: #5a6b80;
    --text-muted: #8896a6;
    --card-border: rgba(0, 0, 0, 0.06);

    /* Fonts */
    --font-heading: 'Kufam', sans-serif;
    --font-body: 'Cairo', sans-serif;

    /* Shadows (Istiqbal-style) */
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-navbar: 0 2px 15px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --dir-flip: -1;
    /* -1 for RTL, 1 for LTR */
}

/* LTR Support */
html[dir="ltr"] {
    --dir-flip: 1;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Add real-quran.jpg as background with dark overlay */
    background-image: linear-gradient(rgba(11, 17, 32, 0.75), rgba(11, 17, 32, 0.85)), url('../imgs/real-quran.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(11, 17, 32, 0.85);
    /* Soft blur to keep focus on logo */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: organicLevitate 6s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

.splash-logo {
    width: 340px;
    max-width: 80vw;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation:
        cinematicReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        goldenPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate 1.5s;
}

.splash-verse {
    color: var(--primary-orange);
    font-size: 2.1rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    opacity: 0;
    text-shadow: 0 0 15px rgba(238, 138, 34, 0.4);
    animation: cinematicReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes goldenPulse {
    0% {
        filter: drop-shadow(0 0 15px rgba(238, 138, 34, 0));
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(238, 138, 34, 0.5));
    }
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* ============================================
   SECTION TITLES (Istiqbal Style)
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-heading);
    position: relative;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Dark Section Title Override */
.dark-section .section-title .subtitle {
    color: var(--primary-orange);
}

.dark-section .section-title h2 {
    color: var(--primary-white);
}

.dark-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BUTTONS (Istiqbal theme-btn style)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    cursor: pointer;
    will-change: transform;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--primary-white);
    box-shadow: 0 4px 15px rgba(238, 138, 34, 0.25);
}

.btn-primary:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 138, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-heading);
    border: 2px solid var(--card-border);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* ============================================
   NAVBAR (Istiqbal Header Style)
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(17, 24, 42, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar:hover {
    background: rgba(17, 24, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled {
    top: 15px;
    background: var(--primary-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0;
    border-color: rgba(238, 138, 34, 0.3);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 100%;
    transition: opacity 0.4s ease;
    margin-inline-end: 50px;
}

.logo-light {
    position: relative;
    opacity: 1;
}

.logo-dark {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-start;
}

.nav-links a {
    color: var(--primary-white);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a,
.navbar:hover .nav-links a {
    color: var(--primary-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-lang,
.nav-login {
    color: var(--primary-white);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-lang:hover,
.nav-login:hover {
    color: var(--primary-orange);
}

.nav-lang i {
    font-size: 1.5rem;
}

.mobile-only {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn,
.navbar:hover .mobile-menu-btn {
    color: var(--primary-white);
}

/* ============================================
   HERO SECTION (Light Theme + Background Image)
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--text-body);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 160px;
    /* Increased to push content below the floating pill header */
    padding-bottom: 60px;
    z-index: 1;
}

/* Hero Slideshow Background */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 24s infinite;
}

.hero-slideshow .slide-1 {
    background-image: url('../imgs/bg_islamic_tech.png');
    animation-delay: 0s;
}

.hero-slideshow .slide-2 {
    /* Radial gradient adds a glowing Jasser orange tint over the image */
    background-image: radial-gradient(circle at 50% 50%, rgba(238, 138, 34, 0.35) 0%, rgba(17, 24, 42, 0.8) 100%), url('../imgs/real-quran.jpg');
    background-blend-mode: overlay, normal;
    background-size: cover;
    background-position: center;
    animation-delay: 8s;
}

.hero-slideshow .slide-3 {
    background-image: radial-gradient(circle at 50% 50%, rgba(238, 138, 34, 0.2) 0%, rgba(17, 24, 42, 0.7) 100%), url('../imgs/hero-bg-child.png');
    background-blend-mode: overlay, normal;
    background-size: cover;
    background-position: center;
    animation-delay: 16s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    10% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    43.33% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 42, 0.8) 0%, rgba(17, 24, 42, 0.6) 100%);
    z-index: -1;
}

/* Removed SVG overlay for cleaner background */

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: start;
    /* logo top aligns with text top */
    text-align: start;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* logo anchored at top */
    padding-top: 4rem;
}

.hero-logo-levitate-container {
    animation: organicLevitate 14s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
    /* very slow gentle float */
}

.hero-logo-centerpiece {
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(238, 138, 34, 0.4));
    margin-top: 0;
    /* grid top-aligns, no need for negative offset */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(238, 138, 34, 0.2);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    line-height: 1.45;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero .btn-secondary {
    color: var(--primary-white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(238, 138, 34, 0.15);
}

/* Removed Logo/Glass Card CSS since logo was removed from hero */

.modern-motion {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ai-aura {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(238, 138, 34, 0.1), rgba(255, 255, 255, 0.4), rgba(238, 138, 34, 0.1), rgba(255, 255, 255, 0));
    animation: slowRotateAura 20s linear infinite;
    filter: blur(25px);
    z-index: 1;
}

@keyframes slowRotateAura {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.wave-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--primary-orange);
    z-index: 2;
    opacity: 0;
}

.wave-1 {
    width: 280px;
    height: 280px;
    animation: pulseWave 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.wave-2 {
    width: 280px;
    height: 280px;
    animation: pulseWave 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 1.3s;
}

.wave-3 {
    width: 280px;
    height: 280px;
    animation: pulseWave 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite 2.6s;
}

@keyframes pulseWave {
    0% {
        width: 260px;
        height: 260px;
        opacity: 0.8;
        border-width: 2px;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
        border-width: 0px;
    }
}

.hero-logo-levitate {
    max-width: 320px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: organicLevitate 6s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

@keyframes organicLevitate {
    0% {
        transform: translateY(0) scale(1);
    }

    33% {
        transform: translateY(-15px) scale(1.02);
    }

    66% {
        transform: translateY(5px) scale(0.98);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* Hero features strip */
.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.hero-feature-item i {
    color: var(--primary-orange);
    font-size: 1rem;
}

/* ============================================
   HIGHLIGHTS STRIP (4 Feature Cards)
   ============================================ */
.highlights-strip {
    background: var(--primary-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-card {
    background: #f7f9f9;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.highlight-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    text-align: start;
    line-height: 1.4;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: var(--primary-white);
    border-color: rgba(238, 138, 34, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(238, 138, 34, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.1rem;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    background: var(--primary-orange);
    color: var(--primary-white);
}

.highlight-card h4 {
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.4;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    padding-inline-start: 40px;
    padding-bottom: 40px;
}

.about-img-main {
    width: 90%;
    border-radius: 40px 150px 40px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.about-img-float {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 55%;
    border-radius: 40px;
    border: 15px solid var(--bg-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.about-content .subtitle {
    display: block;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 800;
}

.about-content p {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.about-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(238, 138, 34, 0.3);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.contact-icon:hover {
    background: var(--primary-orange);
    color: var(--primary-white);
    border-color: var(--primary-orange);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 2px;
}

.contact-text strong {
    font-size: 1.3rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
}

/* ============================================
   MODE CARDS (Istiqbal Service Cards)
   ============================================ */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mode-card {
    background: var(--primary-white);
    border: none;
    border-radius: 32px;
    padding: 40px 35px;
    text-align: start;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Number badge — inline row with icon */
.mode-card .card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.35;
    pointer-events: none;
    /* sits beside the icon via the flex row below */
}

/* Row that holds number + icon side‑by‑side */
.mode-card .card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.mode-icon {
    width: 65px;
    height: 65px;
    background: rgba(238, 138, 34, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0;
    /* row handles spacing now */
}

.mode-icon i {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: var(--transition);
}

.mode-card h3 {
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    transition: var(--transition);
}

.mode-card p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    text-decoration: none;
    transition: var(--transition);
}

.read-more-btn::before {
    content: '-';
    font-size: 0.8rem;
    letter-spacing: -2px;
    color: var(--primary-orange);
}

.read-more-btn i {
    transition: transform 0.3s;
}

.mode-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.mode-card:hover .mode-icon {
    background: var(--primary-orange);
}

.mode-card:hover .mode-icon i {
    color: var(--primary-white);
}

.mode-card:hover .read-more-btn i {
    transform: translateX(-5px);
}

/* ============================================
   FEATURES SECTION (Istiqbal About-style 2-col)
   ============================================ */
.features-section {
    display: flex;
    align-items: stretch;
    gap: 4rem;
}

.features-image {
    flex: 1;
    position: relative;
    background: transparent;
    border: 3px solid var(--primary-orange);
    border-radius: 30px;
    overflow: hidden;
    padding: 0;
    display: flex;
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.features-content {
    flex: 1;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--primary-white);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.feature-list-item:last-child {
    margin-bottom: 0;
}

.feature-list-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-card-hover);
}

.feature-list-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(238, 138, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-list-icon i {
    font-size: 1.1rem;
    color: var(--primary-orange);
    transition: var(--transition);
}

.feature-list-item:hover .feature-list-icon {
    background: var(--primary-orange);
}

.feature-list-item:hover .feature-list-icon i {
    color: var(--primary-white);
}

.feature-list-text {
    text-align: right;
}

.feature-list-text h4 {
    font-size: 1.1rem;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.feature-list-text p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ============================================
   DARK SECTION (Stats / Highlights)
   ============================================ */
.dark-section {
    background: var(--primary-dark);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 42, 0.95), rgba(17, 24, 42, 0.85));
    z-index: 1;
}

.dark-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   INTERACTIVE PREVIEW SECTION (Tabbed Design)
   ============================================ */
.preview-layout {
    max-width: 1050px;
    margin: 0 auto;
}

/* Tabs */
.preview-tabs {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    max-width: 450px;
    margin: 0 auto 3rem;
}

.preview-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.preview-tab.active,
.preview-tab:hover {
    background: linear-gradient(135deg, var(--primary-orange), #f5a623);
    color: var(--primary-white);
    box-shadow: 0 5px 20px rgba(238, 138, 34, 0.4);
}

/* Content Grid (2 columns: left stacked cards, right detailed view) */
.preview-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.preview-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.preview-mode-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 1.25rem;
    row-gap: 0.35rem;
    transition: var(--transition);
    cursor: pointer;
}

.preview-mode-card:hover,
.preview-mode-card.active-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(238, 138, 34, 0.2);
}

.preview-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(238, 138, 34, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.25rem;
    grid-column: 1;
    grid-row: 1;
}

.preview-card-text {
    display: contents;
}

.preview-card-text h4 {
    color: var(--primary-white);
    font-size: 1.2rem;
    margin-bottom: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    text-align: right;
}

.preview-card-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
    grid-column: 2;
    grid-row: 2;
    text-align: right;
}

.preview-card-text .read-more-btn {
    font-size: 0.85rem;
    grid-column: 2;
    grid-row: 3;
    text-align: right;
    justify-self: start;
}

/* Detail Right Column (Verse + Feature Checklist) */
.preview-detail-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.preview-detail {
    display: none;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.preview-detail.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-verse {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-orange);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(238, 138, 34, 0.06);
    border-radius: 16px;
    border: 1px dashed rgba(238, 138, 34, 0.2);
}

.preview-features {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.preview-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 600;
}

.preview-features li i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    background: rgba(238, 138, 34, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   FAQ / ACCORDION (Istiqbal Style)
   ============================================ */
.faq-section {
    position: relative;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-white);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-heading);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: start;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-question i {
    color: var(--primary-orange);
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =========================================
   SUBSCRIBE SECTION
========================================= */

.subscribe-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f47d18 0%, #ee8a22 45%, #d96812 100%);
    isolation: isolate;
}

/* Decorative background */
.subscribe-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../imgs/bg_islamic_tech1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
}

/* Soft overlays */
.subscribe-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    left: -200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.subscribe-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    right: -200px;
    bottom: -250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
    z-index: -1;
    pointer-events: none;
}


/* =========================================
   CONTENT
========================================= */

.subscribe-content {
    position: relative;
    z-index: 2;
}

.subscribe-section .section-title {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.subscribe-section .section-title .subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.subscribe-section .section-title h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.subscribe-section .section-title p {
    color: rgba(255, 255, 255, 0.82);
}


/* =========================================
   CARD
========================================= */

.subscribe-container {
    max-width: 760px;
    margin: 0 auto;
}

.subscribe-card {
    position: relative;
    padding: 3rem 3.5rem;
    background: rgba(17, 24, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.subscribe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}


/* Subtle card glow */
.subscribe-card::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(238, 138, 34, 0.25), transparent 70%);
    pointer-events: none;
}


/* =========================================
   ICON
========================================= */

.subscribe-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
}

.subscribe-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-orange), #f6a23a);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 10px 30px rgba(238, 138, 34, 0.35);
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    background: #fff;
    border: 4px solid #11182a;
    border-radius: 50%;
}


/* =========================================
   TEXT
========================================= */

.subscribe-card h3 {
    position: relative;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.subscribe-description {
    position: relative;
    max-width: 550px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.8;
}


/* =========================================
   FORM
========================================= */

.subscribe-form {
    position: relative;
}

.subscribe-form .form-group {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin: 0;
}

.input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    inset-inline-start: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    pointer-events: none;
}

.form-input {
    width: 100%;
    height: 56px;
    padding: 0 1rem 0 2.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.11);
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(238, 138, 34, 0.12);
}


/* =========================================
   BUTTON
========================================= */

.subscribe-btn {
    height: 56px;
    min-width: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(238, 138, 34, 0.28);
}

.subscribe-btn i {
    font-size: 0.85rem;
}

[dir="rtl"] .subscribe-btn i {
    transform: rotate(0deg);
}

[dir="ltr"] .subscribe-btn i {
    transform: rotate(180deg);
}


/* =========================================
   NOTE
========================================= */

.subscribe-note {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.78rem;
}

.subscribe-note i {
    color: var(--primary-orange);
    font-size: 0.75rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .subscribe-section .section-title {
        margin-bottom: 2rem;
    }

    .subscribe-card {
        padding: 2.25rem 1.5rem;
        border-radius: 22px;
    }

    .subscribe-card h3 {
        font-size: 1.35rem;
    }

    .subscribe-description {
        font-size: 0.9rem;
    }

    .subscribe-form .form-group {
        flex-direction: column;
    }

    .form-input,
    .subscribe-btn {
        width: 100%;
    }

    .subscribe-btn {
        min-width: 0;
    }

    .subscribe-note {
        line-height: 1.6;
    }
}

@media (max-width: 480px) {

    .subscribe-card {
        padding: 2rem 1.1rem;
    }

    .subscribe-icon-wrapper,
    .subscribe-icon {
        width: 64px;
        height: 64px;
    }

    .subscribe-icon {
        font-size: 1.4rem;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: var(--primary-orange);
    color: var(--primary-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../imgs/bg_islamic_tech1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    /* Subtle blend with primary orange */
    mix-blend-mode: overlay;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    color: var(--primary-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-inline: auto;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    color: var(--primary-white);
    padding: 12px 24px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-text {
    text-align: start;
}

.store-text span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ============================================
   FOOTER (Istiqbal Footer Style)
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 160px;
    margin-bottom: 1.5rem;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-links a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--primary-white);
}

.footer-links h4 {
    color: var(--primary-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '\00BB';
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-inline-start: 5px;
}

/* Newsletter */
.footer-newsletter h4 {
    color: var(--primary-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--primary-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    background: var(--primary-orange);
    border: none;
    color: var(--primary-white);
    padding: 12px 18px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.newsletter-form button:hover {
    background: var(--primary-orange-hover);
}

/* Copyright bar */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--primary-orange);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-element {
    opacity: 0;
    /* Very slow, premium reveal — Apple-style bezier */
    transition: opacity 2.4s cubic-bezier(0.16, 1, 0.3, 1), transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(calc(40px * var(--dir-flip) * -1));
}

.fade-right {
    transform: translateX(calc(40px * var(--dir-flip)));
}

.animate-element.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        padding-top: 100px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-content {
        order: 2;
        align-items: center;
    }

    .hero-visual {
        display: flex;
        order: 1;
        padding-top: 0;
        margin-bottom: 0;
    }

    .hero-logo-centerpiece {
        max-width: 200px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-actions {
        justify-content: center;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-content-grid {
        grid-template-columns: 1fr;
    }

    .features-section {
        flex-direction: column;
    }



    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-lang,
    .nav-login {
        display: none;
    }

    .logo img {
        transform: scale(1.6);
        transform-origin: right center;
        margin-inline-end: 0;
    }

    .mobile-only {
        display: block;
    }

    /* Move Navigation to Hamburger on 992px */
    /* Full-Screen Glassmorphism Overlay Menu */
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 24, 42, 0.95);
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        border-radius: 0;
        z-index: -1;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        padding: 4rem 0 2rem;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(8) {
        transition-delay: 0.45s;
    }

    .nav-links.active li:nth-child(9) {
        transition-delay: 0.5s;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 1.5rem;
        font-weight: 700;
        transition: var(--transition);
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-orange) !important;
        transform: scale(1.05);
    }

    .mobile-download-btn {
        padding: 0 1rem;
        margin-top: 0.5rem;
    }

    .mobile-download-btn a.btn {
        display: inline-flex !important;
        width: calc(100% - 2rem);
        margin: 0.5rem auto 0;
        padding: 0.8rem !important;
        background: var(--primary-orange) !important;
        color: var(--primary-white) !important;
        border-radius: 50px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {


    .section-title h2 {
        font-size: 1.6rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary-orange);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    z-index: 1000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.scroll-to-top .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-dasharray: 144.5;
    stroke-dashoffset: 144.5;
    transition: stroke-dashoffset 0.1s linear;
}

.scroll-to-top .arrow-icon {
    position: relative;
    z-index: 1;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(238, 138, 34, 0.3);
}


html[dir="rtl"] .scroll-to-top {
    left: 2rem;
    right: auto;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:focus {
    outline: 2px solid rgba(255, 255, 255, .9);
    outline-offset: 2px;
}

/* ============================================
   SWEETALERT2 PREMIUM OVERRIDES
   ============================================ */
.swal2-popup {
    border-radius: 20px !important;
    background: #11182a !important;
    /* dark navy */
    border: 1px solid rgba(238, 138, 34, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    font-family: 'Cairo', sans-serif !important;
    padding: 2.2rem 1.8rem !important;
}

.swal2-title {
    color: #ffffff !important;
    font-family: 'Kufam', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.6rem !important;
}

.swal2-html-container {
    color: #94a3b8 !important;
    /* slate-400 */
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
}

.swal2-confirm {
    border-radius: 12px !important;
    padding: 0.7rem 1.8rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease-out !important;
    background-color: var(--primary-orange, #ee8a22) !important;
    box-shadow: 0 4px 12px rgba(238, 138, 34, 0.25) !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(238, 138, 34, 0.35) !important;
}

.swal2-cancel {
    border-radius: 12px !important;
    padding: 0.7rem 1.8rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease-out !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
}

.swal2-cancel:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.swal2-icon {
    border-color: var(--primary-orange, #ee8a22) !important;
    margin-bottom: 1.2rem !important;
}

/* ============================================

/* ============================================
   GLOBAL RESPONSIVE FIXES (CLEAN)
   ============================================ */
html,
body {
    overflow-x: hidden !important;
}

@media (max-width: 1024px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }

    .hero p.hero-subtitle {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px !important;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .hero p.hero-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 10px 24px;
        margin-bottom: 1.5rem;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .footer-logo {
        margin: 0 auto 1.5rem auto !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .preview-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .preview-tab {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem !important;
    }

    .hero p.hero-subtitle {
        font-size: 0.95rem !important;
    }

    .section-title h2 {
        font-size: 1.4rem !important;
    }

    .section-title p {
        font-size: 0.95rem !important;
    }

    .logo-dark,
    .logo-light {
        height: 35px !important;
    }
}

/* Mobile Menu Adjustments */
.mobile-only-nav {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-only-nav {
        display: block;
    }

    .nav-actions {
        margin-right: auto;
        margin-left: 0;
    }
}

/* Navbar Slimming for Mobile and Tablet */
@media (max-width: 1024px) {
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        padding: 1rem 1.5rem !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar:hover {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .navbar.scrolled {
        background: rgba(17, 24, 42, 0.95) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0.6rem 1.5rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        top: 0 !important;
    }

    .navbar:has(.nav-links.active) {
        background: rgba(17, 24, 42, 0.95) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .logo-dark,
    .logo-light {
        height: 30px !important;
    }
}