:root {
    --primary-navy: #0f172a;
    --secondary-navy: #1e293b;
    --accent-gold: #b45309;
    --accent-gold-border: #d4af37;
    --accent-gold-light: #fef3c7;
    --accent-gold-glow: rgba(180, 83, 9, 0.15);
    --emerald: #065f46;
    --emerald-glow: rgba(6, 95, 70, 0.15);
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --card-border: rgba(212, 175, 55, 0.32);
    --card-hover-border: rgba(180, 83, 9, 0.6);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: #f8fafc;
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 12%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(14, 131, 92, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #fdfbf7 0%, #f4f6fa 50%, #edf1f7 100%);
    background-attachment: fixed;
}

/* Decorative Islamic Geometric Pattern Overlay */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: radial-gradient(#b45309 1.5px, transparent 1.5px), radial-gradient(#b45309 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

/* Floating Literary Particles */
.particles-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(180, 83, 9, 0.12);
    font-size: 1.6rem;
    animation: floatUpward 22s infinite linear;
}

@keyframes floatUpward {
    0% {
        transform: translateY(105vh) rotate(0deg) scale(0.9);
        opacity: 0;
    }

    15% {
        opacity: 0.7;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-80px) rotate(360deg) scale(1.1);
        opacity: 0;
    }
}

/* Container Layout */
.page-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 35px 20px 70px 20px;
}

/* Section Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 42px 36px;
    margin-bottom: 32px;
    box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-border), transparent);
    opacity: 0.65;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 22px 50px -10px rgba(15, 23, 42, 0.12), 0 0 25px var(--accent-gold-glow);
    transform: translateY(-3px);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Basmala & Spiritual Opening Section */
.spiritual-header {
    text-align: center;
    padding: 42px 32px 36px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.ornament-divider::before,
.ornament-divider::after {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-border));
}

.ornament-divider::before {
    background: linear-gradient(270deg, transparent, var(--accent-gold-border));
}

.basmala {
    font-family: 'Amiri', serif;
    font-size: 2.35rem;
    font-weight: 700;
    color: #78350f;
    text-shadow: 0 1px 2px rgba(120, 53, 15, 0.12);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.spiritual-body {
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
    line-height: 2.3;
    color: #334155;
    max-width: 900px;
    margin: 0 auto;
}

.spiritual-body p {
    margin-bottom: 12px;
}

.highlight-phrase {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Hero / House Identity */
.hero-section {
    text-align: center;
    padding: 50px 30px 45px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf9f4 100%);
}

.logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    transition: var(--transition-smooth);
}

.logo-wrap:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.18);
}

.main-logo {
    position: relative;
    z-index: 1;
    max-width: 215px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.welcome-lead {
    font-family: 'Amiri', serif;
    font-size: 1.45rem;
    color: #b45309;
    margin-bottom: 10px;
    font-weight: 600;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.en-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.25rem;
    color: var(--emerald);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    direction: ltr;
    display: inline-block;
}

.flag-dz {
    vertical-align: -3px;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin: 0 6px;
}

.slogan-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #fef3c7 0%, #ecfdf5 100%);
    border: 1.5px solid var(--accent-gold-border);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.slogan-pill i {
    color: var(--accent-gold);
}

.mission-quote {
    font-family: 'Amiri', serif;
    font-size: 1.45rem;
    line-height: 2.2;
    color: #1e293b;
    max-width: 820px;
    margin: 0 auto 30px auto;
    position: relative;
    padding: 18px 28px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mission-quote .quote-icon {
    color: var(--accent-gold);
    font-size: 1.15rem;
    opacity: 0.85;
    margin: 0 8px;
}

/* Website Link Pill */
.website-badge-wrap {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.website-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: #ffffff;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.website-badge .globe-icon {
    font-size: 1.35rem;
    color: #0284c7;
    animation: spinGlobe 15s linear infinite;
}

@keyframes spinGlobe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.website-badge:hover {
    border-color: var(--accent-gold);
    background: #fffbeb;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
    color: #78350f;
}

.website-badge .arrow-icon {
    font-size: 0.95rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.website-badge:hover .arrow-icon {
    transform: translateX(-4px);
}

/* Section Headings */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.section-icon-wrap {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #ecfdf5 100%);
    border: 1.5px solid var(--accent-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Store & Location Section */
.location-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.address-card {
    background: #fcfbf8;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.address-pin {
    font-size: 2rem;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.address-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 800;
}

.address-content p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.9;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.btn-map:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.opening-notice {
    background: #fffbeb;
    border: 1.5px dashed #f59e0b;
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #92400e;
    font-size: 1.1rem;
    line-height: 1.9;
    font-weight: 600;
}

.opening-notice i {
    font-size: 1.8rem;
    color: #d97706;
    min-width: 32px;
}

/* Social Networks & Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: var(--transition-smooth);
}

.channel-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.channel-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.channel-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    direction: ltr;
    text-align: right;
}

.channel-arrow {
    margin-right: auto;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

/* Specific Social Card Themes */
.channel-fb .channel-icon {
    background: linear-gradient(135deg, #1877f2, #0d5cb6);
}

.channel-fb:hover {
    border-color: #1877f2;
}

.channel-fb:hover::before {
    background: #1877f2;
}

.channel-insta .channel-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.channel-insta:hover {
    border-color: #dc2743;
}

.channel-insta:hover::before {
    background: #dc2743;
}

.channel-x .channel-icon {
    background: linear-gradient(135deg, #2a2a2a, #000000);
}

.channel-x:hover {
    border-color: #0f172a;
}

.channel-x:hover::before {
    background: #0f172a;
}

.channel-wa-chan .channel-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.channel-wa-chan:hover {
    border-color: #25d366;
}

.channel-wa-chan:hover::before {
    background: #25d366;
}

.channel-tg .channel-icon {
    background: linear-gradient(135deg, #229ed9, #0088cc);
}

.channel-tg:hover {
    border-color: #229ed9;
}

.channel-tg:hover::before {
    background: #229ed9;
}

.channel-yt .channel-icon {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.channel-yt:hover {
    border-color: #ff0000;
}

.channel-yt:hover::before {
    background: #ff0000;
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.channel-card:hover .channel-icon {
    transform: scale(1.1) rotate(-5deg);
}

.channel-card:hover .channel-arrow {
    color: var(--accent-gold);
    transform: translateX(-5px);
}

.channels-invitation {
    background: #fffdfa;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    font-size: 1.15rem;
    color: #92400e;
    line-height: 1.8;
    font-weight: 700;
}

/* Direct Contact Section (3 Cards in one row on large screens) */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-card:hover {
    border-color: var(--accent-gold-border);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon-bubble {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-icon-phone {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.contact-icon-wa {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.contact-icon-tg {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.contact-icon-email {
    background: linear-gradient(135deg, #e11d48, #be123c);
}

.contact-details h5 {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 2px;
}

.contact-details p {
    font-size: 0.98rem;
    color: var(--text-muted);
    direction: ltr;
    text-align: right;
    word-break: break-all;
    font-weight: 600;
}

.contact-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary-action {
    background: linear-gradient(135deg, #d4af37 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35);
    color: #ffffff;
}

.btn-copy {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-copy:hover {
    background: #e2e8f0;
    color: var(--text-dark);
    border-color: #94a3b8;
}

/* Footer & Conclusion */
.footer-card {
    text-align: center;
    padding: 48px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.conclusion-quote {
    font-family: 'Amiri', serif;
    font-size: 1.45rem;
    color: #1e293b;
    line-height: 2.2;
    margin-bottom: 20px;
}

.final-motto {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 25px;
    border-bottom: 2.5px solid var(--accent-gold-border);
    padding-bottom: 6px;
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 15px;
    font-weight: 500;
}

/* Toast Notification for Clipboard Copy */
.toast-notify {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    border: 1px solid var(--accent-gold-border);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.toast-notify.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 20px 14px 50px 14px;
    }

    .glass-card {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .basmala {
        font-size: 1.85rem;
    }

    .spiritual-body {
        font-size: 1.2rem;
        line-height: 2;
    }

    .main-title {
        font-size: 1.95rem;
    }

    .welcome-lead {
        font-size: 1.25rem;
    }

    .en-title {
        font-size: 1.05rem;
    }

    .slogan-pill {
        font-size: 1.1rem;
        padding: 8px 20px;
    }

    .mission-quote {
        font-size: 1.25rem;
        padding: 14px 18px;
    }

    .address-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .address-pin {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.6rem;
    }

    .channels-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .final-motto {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .basmala {
        font-size: 1.6rem;
    }

    .main-title {
        font-size: 1.65rem;
    }

    .main-logo {
        max-width: 170px;
    }

    .website-badge {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 18px;
    }

    .btn-map {
        width: 100%;
        justify-content: center;
    }
}