/* ============================================
   CityAzan Custom Styles - Multi-Page
   ============================================ */
:root {
    --theme-colour: #d4a853;
    --common-colour: #047857;
    --common-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --emerald-deep: #064e3b;
    --emerald-light: #10b981;
    --gold-light: #f5d485;
}

/* Paid Initiative Banner */
.paid-initiative-banner {
    background: linear-gradient(135deg, #1a0a00, #3d1f00);
    border-bottom: 2px solid var(--theme-colour);
    padding: 12px 0;
    text-align: center;
}
.paid-initiative-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}
.paid-initiative-banner strong { color: var(--theme-colour); }
.paid-initiative-banner a { color: var(--emerald-light); text-decoration: underline; }

/* Video Section */
.promo-video-section {
    position: relative;
    background: #000;
    overflow: hidden;
}
.video-container-full {
    position: relative;
    width: 100%;
    max-height: 90vh;
    min-height: 600px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.video-container-full video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
}
/* Mute / Unmute Speaker Button */
.video-mute-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--body-font);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: muteGentlePulse 2.5s ease-in-out infinite;
}
.video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(212, 168, 83, 0.6);
    transform: scale(1.05);
}
.video-mute-btn i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}
.video-mute-btn .mute-label {
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.video-mute-btn.is-unmuted {
    background: rgba(4, 120, 87, 0.7);
    border-color: rgba(16, 185, 129, 0.5);
    animation: none;
}
.video-mute-btn.is-unmuted .mute-label {
    display: none;
}
@keyframes muteGentlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 168, 83, 0); }
}
.video-badge {
    display: inline-block;
    background: rgba(212,168,83,0.2);
    border: 1px solid rgba(212,168,83,0.5);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.video-title {
    font-family: var(--common-font);
    font-size: clamp(42px, 8vw, 72px);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 14px;
}
.video-title span { color: var(--theme-colour); }
.video-tagline {
    color: rgba(255,255,255,0.85);
    font-size: clamp(15px, 2.5vw, 20px);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
}
.video-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 28px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-learn-more:hover {
    border-color: var(--theme-colour);
    color: var(--theme-colour);
}

/* Screenshots Section */
.screenshots-section .section-header { margin-bottom: 40px; }
.screenshot-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.06);
}
.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.screenshot-card img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: linear-gradient(135deg, #e8e0d0, #d4ccbc);
}
.screenshot-caption {
    padding: 24px;
}
.screenshot-caption h4 {
    font-family: var(--body-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 10px;
}
.screenshot-caption p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Content Block */
.content-block p {
    font-size: 15.5px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 18px;
}
.content-block strong { color: var(--emerald-deep); }

/* Hadith Box */
.hadith-box {
    background: linear-gradient(135deg, rgba(212,168,83,0.08), rgba(212,168,83,0.03));
    border-left: 4px solid var(--theme-colour);
    border-radius: 0 16px 16px 0;
    padding: 28px 30px;
    margin: 28px 0;
}
.hadith-box .arabic-text {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--theme-colour);
    direction: rtl;
    text-align: right;
    line-height: 2;
    margin-bottom: 12px;
}
.hadith-box .hadith-translation {
    font-style: italic;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}
.hadith-box .hadith-ref {
    font-size: 12.5px;
    color: #888;
}

/* Info Highlight Card */
.info-highlight-card {
    background: #fff;
    border: 2px solid rgba(4,120,87,0.15);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.info-highlight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.info-highlight-header i {
    color: var(--theme-colour);
    font-size: 22px;
}
.info-highlight-header h3 {
    font-size: 20px;
    color: var(--emerald-deep);
    margin: 0;
}
.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.info-item i {
    color: var(--common-colour);
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}
.info-item strong {
    display: block;
    color: #1a1a1a;
    font-size: 14.5px;
    margin-bottom: 4px;
}
.info-item p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* Stats Card Dark */
.stats-card-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.stat-box {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}
.stat-number {
    font-family: var(--common-font);
    font-size: 42px;
    font-weight: 700;
    color: var(--theme-colour);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}
.trust-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-note i {
    color: var(--emerald-light);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}
.trust-note p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}
.trust-note strong { color: #fff; }

/* Pricing Cards New */
.pricing-card-new {
    background: #fff;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 40px 35px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}
.pricing-card-new:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.pricing-card-new.featured {
    border-color: var(--theme-colour);
    box-shadow: 0 10px 40px rgba(212,168,83,0.15);
}
.best-value-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--theme-colour), var(--gold-light));
    color: #000;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}
.pricing-header {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--common-colour);
    margin-bottom: 16px;
}
.pricing-price {
    font-family: var(--common-font);
    font-size: 52px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 12px;
}
.pricing-price span {
    font-size: 18px;
    font-weight: 400;
    color: #888;
}
.pricing-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* CTA Buttons consistent */
.btn-cityazan {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--common-colour), var(--emerald-light));
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}
.btn-cityazan:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.5);
    color: #fff;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: #fff;
}
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-call:hover {
    border-color: var(--theme-colour);
    color: var(--theme-colour);
}

/* Page Header for Inner Pages */
.page-hero {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.9));
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%23d4a853' stroke-width='0.3'/%3E%3C/svg%3E");
    opacity: 0.1;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    position: relative;
}
.page-hero h1 span { color: var(--theme-colour); }
.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    max-width: 700px;
    line-height: 1.8;
    position: relative;
}
.page-hero .breadcrumb-nav {
    margin-bottom: 20px;
    position: relative;
}
.page-hero .breadcrumb-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
}
.page-hero .breadcrumb-nav a:hover { color: var(--theme-colour); }
.page-hero .breadcrumb-nav span { color: rgba(255,255,255,0.4); margin: 0 8px; }
.page-hero .breadcrumb-nav .current { color: var(--gold-light); font-weight: 500; }

/* Content Page Sections */
.content-section {
    padding: 80px 0;
}
.content-section h2 {
    font-size: clamp(24px, 4vw, 36px);
    color: #1a1a1a;
    margin-bottom: 20px;
}
.content-section h3 {
    font-size: clamp(20px, 3vw, 28px);
    color: #1a1a1a;
    margin-bottom: 16px;
}
.content-section p {
    font-size: 15.5px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 18px;
}
.content-section strong { color: var(--emerald-deep); }

/* Feature Card from original */
.feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--common-colour);
}
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(4,120,87,0.1), rgba(16,185,129,0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--common-colour), var(--emerald-light));
}
.feature-icon i {
    font-size: 32px;
    color: var(--common-colour);
    transition: all 0.4s ease;
}
.feature-card:hover .feature-icon i { color: #fff; }
.feature-card h4 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: var(--body-font);
    font-weight: 600;
}
.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* Section styling from original */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--common-colour);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.section-label i { color: var(--theme-colour); }
.section-title {
    font-size: clamp(28px, 5vw, 48px);
    color: #1a1a1a;
    margin-bottom: 15px;
}
.section-subtitle {
    color: #666;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 80px 0;
}
.contact-cta-content { text-align: center; }
.contact-cta-content h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 15px; }
.contact-cta-content p { color: rgba(255,255,255,0.7); font-size: 18px; margin-bottom: 35px; }
.contact-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }

/* FAQ Styles */
.faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.faq-question {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 15.5px;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-question:hover { background: rgba(4,120,87,0.02); }
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--common-colour);
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 800px;
    padding: 0 28px 24px;
}
.faq-answer p {
    font-size: 14.5px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 12px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 14px;
}
.comparison-table thead th {
    background: var(--emerald-deep);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.comparison-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.015); }
.comparison-table tbody td { border-bottom: 1px solid rgba(0,0,0,0.05); }

/* Active link */
.active-link { color: var(--theme-colour) !important; }

/* Mobile Nav styles from original */
/* Mobile nav styles consolidated in section below */

/* Footer styles */
.footer-contact-link {
    display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
    padding: 10px 20px; border-radius: 8px; transition: all 0.3s ease; margin-bottom: 10px;
}
.footer-contact-link:hover { background: rgba(255,255,255,0.1); color: var(--theme-colour); }

/* Responsive */
@media (max-width: 991px) {
    .video-container-full { min-height: 500px; }
    .video-container-full video { min-height: 500px; }
    .stats-card-dark { margin-top: 40px; }
}
@media (max-width: 767px) {
    .video-container-full { min-height: 450px; }
    .video-container-full video { min-height: 450px; }
    .video-title { margin-bottom: 10px; }
    .video-cta-row { flex-direction: column; }
    .video-cta-row a { width: 100%; justify-content: center; text-align: center; }
    .contact-buttons { flex-direction: column; align-items: center; }
    .contact-buttons a { width: 100%; max-width: 300px; justify-content: center; }
    .stat-row { grid-template-columns: 1fr; }
    .paid-initiative-banner p { font-size: 12px; }
    .video-mute-btn { bottom: 16px; right: 16px; padding: 8px 14px; font-size: 12px; }
    .video-mute-btn i { font-size: 16px; }
}

/* ===== Mobile Nav Touch Fixes ===== */
.bar-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    touch-action: manipulation;
    background: none;
    border: none;
}
@media(min-width:992px) { .bar-menu { display: none !important; } }

/* Override style.css left/transform approach — use right-slide instead */
.mobile-nav {
    position: fixed !important;
    top: 0;
    right: -300px;
    left: auto !important;
    width: 280px !important;
    height: 100%;
    background: #064e3b !important;
    z-index: 100000 !important;
    transition: right .3s ease !important;
    transform: none !important;
    -webkit-transform: none !important;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
}
.mobile-nav.active {
    right: 0 !important;
    left: auto !important;
    pointer-events: auto !important;
}
.mobile-nav.active * {
    pointer-events: auto !important;
}
.mobile-nav ul { margin-top: 20px !important; padding: 0 !important; }
.mobile-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    display: block !important;
}
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999 !important;
    display: none;
    pointer-events: none !important;
}
.mobile-overlay.active {
    display: block;
}
.mobile-nav ul li a {
    display: block !important;
    padding: 15px 10px !important;
    color: #fff !important;
    font-size: 16px !important;
    text-decoration: none !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
    min-height: 44px;
    transition: all 0.3s ease;
    background: transparent !important;
}
.mobile-nav ul li a:hover { color: var(--theme-colour) !important; }
.mobile-nav .res-log { padding-bottom: 20px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
.mobile-contact a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 10px !important;
    color: #fff !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    min-height: 44px;
    justify-content: center;
    border-radius: 8px !important;
    border-bottom: none !important;
}
.mobile-nav .mobile-contact { margin-top: 20px !important; padding-top: 20px !important; border-top: 1px solid rgba(255,255,255,0.1) !important; }
.mobile-nav .mobile-contact a.whatsapp-link { color: #25D366 !important; }
.mobile-nav .mobile-contact a.call-link { color: var(--theme-colour) !important; }
#res-cross {
    position: absolute !important;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    z-index: 2;
    cursor: pointer;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Override style.css FA icon close — use CSS X instead */
.mobile-nav a#res-cross:before {
    content: '' !important;
    font-family: inherit !important;
    font-size: 0 !important;
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
#res-cross::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
