/* ============================================
   DeenNetwork — Stylesheet
   Modern Islamic Landing Page (Multi-Page)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #121111;
    --primary-light: #333333;
    --primary-dark: #000000;
    --accent: #121111;
    --accent-light: #444444;
    --bg-dark: #ffffff;
    --bg-section: #f7f7f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-primary: #121111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-color: rgba(18, 17, 17, 0.12);
    --border-subtle: rgba(18, 17, 17, 0.08);
    --glass: rgba(18, 17, 17, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(18, 17, 17, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-arabic: 'Amiri', serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    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-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled,
.navbar.scrolled-always {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent);
    filter: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--text-primary) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(18, 17, 17, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Page Header (Sub Pages) ---------- */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(160deg, #121111 0%, #1a1a1a 50%, #121111 100%);
    overflow: hidden;
}

.page-header-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.page-header .section-tag {
    position: relative;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #ffffff;
    margin-top: 12px;
    margin-bottom: 16px;
    position: relative;
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #121111 0%, #1a1a1a 40%, #121111 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: patternPulse 8s ease-in-out infinite alternate;
}

@keyframes patternPulse {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.015) 100px,
            rgba(255, 255, 255, 0.015) 101px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.015) 100px,
            rgba(255, 255, 255, 0.015) 101px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    font-family: var(--font-arabic);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    opacity: 0.9;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #121111;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(18, 17, 17, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(18, 17, 17, 0.3);
    background: #333333;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(18, 17, 17, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Inverted buttons for dark sections (hero, page-header) */
.hero .btn-primary,
.page-header .btn-primary {
    background: #ffffff;
    color: #121111;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.hero .btn-primary:hover,
.page-header .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.hero .btn-outline,
.page-header .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-outline:hover,
.page-header .btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero Stats ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ---------- Hero Scroll ---------- */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-icon {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* ---------- Section Common ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--glass);
}

.page-header .section-tag {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- About Section ---------- */
.about {
    padding: 100px 0;
    background: var(--bg-section);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #121111;
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 17, 17, 0.15);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    background: rgba(18, 17, 17, 0.08);
    transform: scale(1.05);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Story Section (About Page) ---------- */
.story-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.story-content .section-tag {
    margin-bottom: 20px;
}

.story-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.story-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-item:hover {
    border-color: rgba(18, 17, 17, 0.15);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 40px;
    transition: var(--transition);
}

.value-item:hover .value-number {
    color: var(--primary-light);
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Features Section ---------- */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.features-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    padding-left: 12px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 64px;
    transition: var(--transition);
}

.feature-item:hover .feature-number {
    color: var(--primary-light);
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Feature Detail Cards (Features Page) ---------- */
.features-detail {
    padding: 100px 0;
    background: var(--bg-section);
    position: relative;
}

.features-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-detail-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #121111;
    opacity: 0;
    transition: var(--transition);
}

.feature-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 17, 17, 0.15);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.feature-detail-card:hover::after {
    opacity: 1;
}

.feature-detail-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.feature-detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-detail-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Mini CTA (Features Page) ---------- */
.mini-cta {
    padding: 80px 0;
    background: var(--bg-dark);
}

.mini-cta-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.mini-cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #121111;
}

.mini-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mini-cta-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.92rem;
}

/* ---------- Verse Banner ---------- */
.verse-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #121111, #1a1a1a);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.verse-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 60%);
}

.verse-arabic {
    font-family: var(--font-arabic);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.8;
    position: relative;
}

.verse-translation {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 12px;
    opacity: 0.9;
    position: relative;
}

.verse-reference {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

/* ---------- Privacy Section ---------- */
.privacy {
    padding: 100px 0;
    background: var(--bg-section);
    position: relative;
}

.privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.privacy-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.privacy-block {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.privacy-block:hover {
    border-color: rgba(18, 17, 17, 0.15);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.privacy-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: var(--radius-sm);
}

.privacy-block h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.privacy-block p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.privacy-block a {
    color: var(--primary-light);
    border-bottom: 1px solid transparent;
}

.privacy-block a:hover {
    border-color: var(--primary-light);
}

/* ---------- Privacy Extended Text ---------- */
.privacy-extended {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
    padding-top: 48px;
}

.privacy-text-block {
    margin-bottom: 36px;
}

.privacy-text-block h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.privacy-text-block p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.privacy-text-block a {
    color: var(--primary-light);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.privacy-text-block a:hover {
    border-color: var(--primary-light);
}

.privacy-updated {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #121111;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-form-wrapper>p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--bg-section);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Form Alerts */
.form-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-alert-success {
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    color: #2d6a2d;
}

.form-alert-error {
    background: #fef0f0;
    border: 1px solid #f0c3c3;
    color: #8b2d2d;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18, 17, 17, 0.08);
}

/* ---------- Contact Info Cards ---------- */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
    border-color: rgba(18, 17, 17, 0.15);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.contact-info-icon {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-info-card a {
    font-size: 0.85rem;
    color: var(--primary-light);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.contact-info-card a:hover {
    border-color: var(--primary-light);
}

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-section);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-dua {
    font-family: var(--font-arabic);
    font-size: 0.9rem !important;
    color: var(--accent) !important;
    opacity: 0.7;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.about-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.about-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.about-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-item.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-item.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-item.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.privacy-block.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.privacy-block.reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.privacy-block.reveal:nth-child(4) {
    transition-delay: 0.2s;
}

.privacy-block.reveal:nth-child(5) {
    transition-delay: 0.25s;
}

.privacy-block.reveal:nth-child(6) {
    transition-delay: 0.3s;
}

.feature-detail-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-detail-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-detail-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-detail-card.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.feature-detail-card.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

.value-item.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.value-item.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.value-item.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.contact-info-card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-info-card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.contact-info-card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .privacy-content {
        grid-template-columns: 1fr;
    }

    .features-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 90px 32px 40px;
        gap: 6px;
        transition: var(--transition-slow);
        border-left: 1px solid var(--border-subtle);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 10px;
        color: var(--text-primary);
        transition: 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: #f0f0f0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        width: 1px;
        height: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        gap: 16px;
    }

    .features-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .page-header {
        padding: 120px 0 50px;
    }

    .page-header-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .page-header-title {
        font-size: 1.5rem;
    }

    .page-header-subtitle {
        font-size: 0.85rem;
    }

    .about-card {
        padding: 24px 18px;
    }

    .privacy-block {
        flex-direction: column;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 110px 0 40px;
    }
}

/* ============================================
   VERSE BANNER (Home Page)
   ============================================ */
.verse-banner {
    padding: 60px 0;
    background: #121111;
    text-align: center;
    color: #fff;
}

.verse-arabic {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    line-height: 2;
    direction: rtl;
    margin: 20px 0 16px;
    color: #fff;
}

.verse-translation {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 12px;
}

.verse-reference {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .verse-banner {
        padding: 40px 0;
    }

    .verse-arabic {
        font-size: 1.4rem;
    }

    .verse-translation {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .verse-arabic {
        font-size: 1.2rem;
    }

    .verse-translation {
        font-size: 0.85rem;
    }
}

/* ============================================
   PRAYER TIMES SECTION
   ============================================ */
.prayer-times-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.prayer-hijri {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.prayer-card {
    background: #fff;
    border: 1px solid rgba(18, 17, 17, 0.06);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.prayer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.prayer-card.active {
    background: #121111;
    color: #fff;
    border-color: #121111;
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(18, 17, 17, 0.2);
}

.prayer-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.prayer-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    margin-bottom: 8px;
}

.prayer-time {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.prayer-card.active .prayer-time {
    color: #fff;
}

.prayer-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    background: #121111;
    color: #fff;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    max-width: 500px;
    margin: 0 auto;
}

.countdown-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.countdown-name {
    font-weight: 700;
    font-size: 1rem;
}

.countdown-timer {
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

/* ============================================
   QUICK ACCESS CARDS
   ============================================ */
.quick-access {
    padding: 80px 0;
    background: var(--bg-dark);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.qa-card {
    background: #fff;
    border: 1px solid rgba(18, 17, 17, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.qa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #121111;
}

.qa-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.qa-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #121111;
}

.qa-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

.qa-arrow {
    display: inline-block;
    margin-top: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #121111;
    transition: 0.2s;
}

.qa-card:hover .qa-arrow {
    transform: translateX(5px);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 80px 0;
    background: #121111;
    color: #fff;
}

.newsletter-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin: 16px 0 12px;
    color: #fff;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form-wrap {
    flex: 0 0 420px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form .btn {
    white-space: nowrap;
    background: #fff;
    color: #121111;
    border: none;
    font-weight: 700;
}

.newsletter-form .btn:hover {
    background: #f0f0f0;
}

.nl-success {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.nl-error {
    color: #ff6b6b;
    font-size: 0.82rem;
    margin-top: 8px;
}

/* ============================================
   RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 900px) {
    .prayer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .qa-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-wrap {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form-wrap {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .prayer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prayer-card {
        padding: 20px 12px;
    }

    .prayer-countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
        padding: 14px 18px;
    }

    .qa-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .prayer-times-section,
    .quick-access,
    .newsletter-section {
        padding: 50px 0;
    }
}