/*
 * stylino.css — custom overrides for Spirit theme
 * Location: /themes/spirit/views
 * Loaded after Bootstrap and theme custom.css.
 * Scope: Only home page styles via .bb2022-home wrapper.
 */

/* Arabic display font (Tajawal) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

/* Global font override: apply Tajawal site‑wide */
/* html,
body {
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
} */
html,
body {
    font-family: 'Tajawal' !important;
}

/* العناوين */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
button,
input,
textarea {
    font-family: 'Tajawal' !important;
}

/* Bootstrap 5 theme variables */
:root {
    --bs-primary: #1c3faa;
    --bs-primary-rgb: 28, 63, 170;
    --bb-primary: #1c3faa;
    --bb-secondary: #1ca9e6;
    --bb-hero-gradient: linear-gradient(
        135deg,
        var(--bb-primary),
        var(--bb-secondary)
    );
    --bb-accent: #38bdf8;
}

/* Global max content width: cap containers at 1400px on very wide screens */
@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1400px;
    }
}

/* Home wrapper */
.bb2022-home {
    /* prevent global bleed */
}

/* Main navbar (Bootstrap 5) */
.main-navbar {
    background: var(--bb-hero-gradient);
}
.main-navbar .navbar-brand img {
    max-height: 44px;
}
.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #fff;
}
.main-navbar .dropdown-menu {
    text-align: start;
}
.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}
.main-navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.35rem 0.6rem;
    border-radius: 0.375rem;
    background: transparent;
}
.main-navbar .navbar-collapse {
    justify-content: space-between;
}
/* RTL: brand right, toggler left */
html[dir='RTL'] .main-navbar > .container {
    flex-direction: row-reverse;
}

/* Improve collapsed menu look on mobile */
@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse.collapse.show {
        background: var(--bb-hero-gradient);
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    .main-navbar .nav-link {
        padding: 0.5rem 0;
    }
    .main-navbar .btn {
        margin-top: 0.25rem;
    }
}

/* subtle visual when page scrolled */
.main-navbar.scrolled {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: saturate(140%) blur(6px);
}

/* Topbar strip */
.header-topbar {
    background: linear-gradient(
        90deg,
        rgba(12, 60, 170, 0.95),
        rgba(28, 169, 230, 0.95)
    );
}
.header-topbar a {
    color: #fff;
    opacity: 0.95;
}
.header-topbar a:hover {
    opacity: 1;
}
.header-topbar .top-stats span {
    opacity: 0.95;
}
.header-topbar .top-stats i {
    opacity: 0.9;
}

/* FAQ page */
.page-faq .faq-hero {
    background: linear-gradient(
        135deg,
        rgba(28, 63, 170, 0.06),
        rgba(28, 169, 230, 0.06)
    );
    border: 1px solid rgba(28, 111, 226, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
}
.page-faq h1 {
    font-weight: 800;
}
.page-faq .accordion-item {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
.page-faq .accordion-button {
    font-weight: 700;
}
.page-faq .accordion-button:focus {
    box-shadow: none;
}
.page-faq .accordion-button:not(.collapsed) {
    background: rgba(28, 111, 226, 0.08);
}

/* Upgrade page */
.page-upgrade.upgrade-hero {
    background: var(--bb-hero-gradient);
}
.page-upgrade .pricing-card .card-header.bg-gradient {
    background: linear-gradient(
        135deg,
        rgba(28, 63, 170, 0.06),
        rgba(28, 169, 230, 0.06)
    );
}
.page-upgrade .pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.page-upgrade .pricing-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.page-upgrade .pricing-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-upgrade .gateway-box-wrapper {
    text-align: center;
}

/* Search page */
.page-search .search-tabs .nav-link {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.06);
}
.page-search .search-tabs .nav-link.active {
    color: #fff;
    background: #0d6efd;
}
.page-search .search-tabs .badge {
    font-weight: 700;
}

/* DataTables pagination (Arabic friendly) */
.dataTables_paginate.paging_full_numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}
.dataTables_paginate .paginate_button,
.dataTables_paginate .first,
.dataTables_paginate .previous,
.dataTables_paginate .next,
.dataTables_paginate .last {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem; /* Bootstrap btn default */
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    background: #fff;
    color: #0d6efd;
    white-space: nowrap; /* لا تقطع الكلمات العربية */
    min-width: 2.5rem; /* يسمح للأرقام أن تبدو متساوية، والكلمات تتوسع ذاتياً */
    line-height: 1.25;
}
.dataTables_paginate .paginate_button:hover,
.dataTables_paginate .first:hover,
.dataTables_paginate .previous:hover,
.dataTables_paginate .next:hover,
.dataTables_paginate .last:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
    color: #0a58ca;
}
.dataTables_paginate .paginate_active,
.dataTables_paginate .paginate_button.current {
    /* بعض الإضافات تستخدم current */
    background: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}
.dataTables_paginate .paginate_button_disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* RTL tweaks: تأكد أن الحواف والمسافات منطقية */
html[dir='RTL'] .dataTables_paginate.paging_full_numbers {
    direction: rtl;
}

/* ==============================
   Account Edit (modern look)
============================== */
.account-edit .tile-stats {
    position: relative;
    border-radius: 14px;
    padding: 16px 16px 12px 16px;
    color: #fff;
    min-height: 110px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.account-edit .tile-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
}
.account-edit .tile-green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.account-edit .tile-aqua {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
}
.account-edit .tile-blue {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
}
.account-edit .tile-stats .icon {
    position: absolute;
    inset-inline-start: 12px;
    inset-block-start: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.account-edit .tile-stats .num {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: end;
}
.account-edit .tile-stats h3 {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
    text-align: end;
}
.account-edit .responsive-column {
    display: flex;
}
.account-edit .responsive-column > .tile-stats {
    width: 100%;
}

/* Tabs modern */
.account-edit .nav-tabs .nav-link {
    font-weight: 600;
}
.account-edit .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Panels mapped to cards already; ensure spacing */
.account-edit .panel .form-group {
    margin-bottom: 1rem;
}
.account-edit .settings-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Contact page */
.page-contact .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.page-contact .icon-circle.sm {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}
.nav-container.clear-adblock {
    background: linear-gradient(135deg, #2563eb, #355db4);
}

/* Hero */

/* Footer tweaks (non-invasive) */
footer .list-inline a {
    color: rgba(0, 0, 0, 0.7);
}
footer .list-inline a:hover {
    color: rgba(0, 0, 0, 0.95);
}

/* dmca.html css */
.dmca-section {
    background-color: #f9fafe;
}
.section-title {
    color: #1c3faa;
    font-size: 2rem;
}
.dmca-box {
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
}
.dmca-list li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* adv.html css (kept here for convenience if used later) */
.adv-section {
    background-color: #f4f7fb;
}
.adv-title {
    color: #1c3faa;
    font-size: 2rem;
}
.adv-info {
    border: 1px solid #e1e1e1;
}
.adv-features li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.animate-fade-up {
    animation: fadeUp 1.2s ease-in-out;
}
@keyframes fadeUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Extras for a more polished look */
.adv-section {
    background-image: radial-gradient(
        40rem 18rem at 110% -10%,
        rgba(37, 99, 235, 0.08),
        transparent 70%
    );
}
.adv-title {
    background: linear-gradient(90deg, var(--bb-primary), var(--bb-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.adv-info {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.adv-features li i {
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}
.adv-section .btn.btn-primary {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

/* about.html css */
.about-section {
    background: #f9fbff;
}
.about-section .section-title {
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(90deg, var(--bb-primary), var(--bb-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.about-card {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.about-card ul li {
    padding: 6px 0;
    font-weight: 500;
    color: #333;
}
.about-section .link-primary {
    text-decoration: none;
}
.about-section .link-primary:hover {
    text-decoration: underline;
}
/* bb2022-style hero section for home only */
.bb2022-home .hero-section {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    color: #fff;
    background: var(--bb-hero-gradient);
    background-image: radial-gradient(
            60rem 20rem at -10% 0%,
            rgba(255, 255, 255, 0.12),
            transparent 70%
        ),
        radial-gradient(
            40rem 16rem at 110% 10%,
            rgba(255, 255, 255, 0.1),
            transparent 70%
        ),
        var(--bb-hero-gradient);
}

/* ===== Guide page styles ===== */
.guide-hero {
    position: relative;
    background: var(--bb-hero-gradient);
}
.guide-hero .shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 20px;
    color: #fff;
    opacity: 0.15;
}
.guide-section .custom-list {
    list-style: none;
    padding: 0;
}
.guide-section .custom-list li {
    position: relative;
    padding-inline-start: 1.25rem;
    margin-bottom: 0.35rem;
}
.guide-section .custom-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset-inline-start: 0;
    color: var(--bb-primary);
}
.bb2022-home .hero-section .hero-title {
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.bb2022-home .hero-section .lead {
    color: rgba(255, 255, 255, 0.92);
}
.bb2022-home .hero-section .btn-light.text-primary {
    --bs-btn-bg: #fff;
    --bs-btn-hover-bg: #f8f9fa;
}

/* Float animation for hero image */
.bb2022-home .hero-section .hero-image {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    animation: floatUpDown 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .bb2022-home .hero-section .hero-title {
        font-size: 1.8rem;
    }
    .bb2022-home .hero-section .lead {
        font-size: 1rem;
    }
    .bb2022-home .hero-section .btn-primary,
    .bb2022-home .hero-section .btn-light {
        padding: 10px 20px;
    }
}
.bb2022-home .hero-section .btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.15);
    --bs-btn-hover-border-color: #fff;
}

/* ========== Sections under hero (bb2022-inspired) ========== */
.bb2022-home .section-title {
    font-weight: 800;
}
.bb2022-home .section-subtitle {
    max-width: 720px;
    margin-inline: auto;
}

/* Why Us */
.bb2022-home .why-us-section {
    color: #fff;
    background: var(--bb-hero-gradient);
}
.bb2022-home .why-us-section .section-title {
    color: #fff;
}
.bb2022-home .why-us-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}
.bb2022-home .why-us-section .why-us-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.bb2022-home .why-us-section .why-us-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.bb2022-home .why-us-section .why-us-box img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}
.bb2022-home .why-us-section .why-us-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
/* (icon-wrap rules removed — not used in new markup) */

/* Advantages */
.bb2022-home .our-advantages-section .adv-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.bb2022-home .our-advantages-section .adv-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* FAQ */
.bb2022-home .faq-section .accordion-item {
    border: 0;
}
.bb2022-home .faq-section .accordion-button {
    font-weight: 600;
}
.bb2022-home .faq-section .accordion-button:focus {
    box-shadow: none;
}
.bb2022-home .faq-section .accordion-button:not(.collapsed) {
    background: rgba(28, 111, 226, 0.08);
}

/* Contact */
.bb2022-home .contact-section .contact-box {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Testimonials */
.bb2022-home .testimonials-section .testimonial-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
}
.bb2022-home .testimonials-section .testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== Footer (bb2022 style) ===== */
.footer-modern {
    background: var(--bb-hero-gradient);
    color: #fff;
}
.footer-modern h6 {
    color: white;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.footer-modern .footer-links li {
    margin-bottom: 0.35rem;
}
.footer-modern .footer-links a,
.footer-modern .footer-links a:visited {
    color: #fff;
    text-decoration: none;
}
.footer-modern .footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.footer-modern .icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bb-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.footer-modern .footer-links a:hover .icon-circle {
    background: #2563eb;
    transform: scale(1.08);
}
.footer-modern .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-modern .footer-links a i {
    color: inherit;
}
footer a {
    color: white !important;
}
.back-to-top {
    position: fixed;
    inset-inline-end: 20px;
    inset-block-end: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--bb-primary);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1030;
}
.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

/* Ensure brand icons inherit white color */
.footer-modern a.text-white i {
    color: #fff;
}
/* تقوية قابلية القراءة للنصوص داخل الفوتر فوق الخلفية الزرقاء */
.footer-modern p,
.footer-modern .small,
.footer-modern .text-white-50 {
    color: var(--bb-muted-on-gradient) !important;
}

/* Social icons brand colors */
.footer-modern .social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.footer-modern .social-icons a:hover {
    transform: scale(1.1) rotate(5deg);
}
.footer-modern .social-icons a.facebook {
    background: #1877f2;
}
.footer-modern .social-icons a.x-twitter {
    background: #1da1f2;
}
.footer-modern .social-icons a.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.footer-modern .social-icons a.youtube {
    background: #ff0000;
}
.footer-modern .social-icons a.telegram {
    background: #229ed9;
}
.footer-modern .social-icons a.email {
    background: #0d6efd;
}

/* ==============================
   ✅ قسم لماذا نحن
============================== */
.why-us-section {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    color: #fff;
}
.why-us-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.why-us-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.why-us-box img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}
.why-us-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* ==============================
   ✅ قسم التطبيقات
============================== */
.download-app-section {
    background: linear-gradient(135deg, #f0faff, #ffffff);
    border-top: 1px solid #e0eff7;
    border-bottom: 1px solid #e0eff7;
}
.download-app-section img {
    max-width: 180px;
    transition: transform 0.3s ease;
}
.download-app-section img:hover {
    transform: scale(1.05);
}
.floating-img {
    animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ==============================
   ✅ قسم برنامج سطح المكتب
============================== */
.program-windows-section {
    background: linear-gradient(135deg, #3f51b5, #5a91d6);
    border-radius: 12px;
    padding: 60px 20px;
    color: white;
}
.program-windows-section .btn-light {
    background: #fff;
    color: #1c3faa;
    font-weight: bold;
    border-radius: 6px;
}
.program-windows-section .btn-light:hover {
    background: #f1f1f1;
}

/* ==============================
   ✅ قسم المميزات
============================== */
.our-advantages-section {
    background: linear-gradient(to bottom, #f0f8ff, #ffffff);
    border-top: 1px solid #e2e8f0;
}
.advantages-list .icon {
    width: 60px;
    height: 60px;
    background-color: #e9f3fc;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advantages-list .icon img {
    width: 30px;
    height: 30px;
}
.advantages-list h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

/* ==============================
   ✅ قسم آراء العملاء
============================== */
.testimonials-section {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    color: #fff;
}
.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.testimonial-text {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==============================
   ✅ قسم FAQ
============================== */
.faq-section .accordion-button {
    background-color: #ffffff;
    color: #1c3faa;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-section .accordion-button:not(.collapsed) {
    background-color: #e9f3ff;
    color: #0d47a1;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.faq-section .accordion-button::after {
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}
.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}
.faq-section .accordion-body {
    background: #fff;
    border-top: 1px solid #eaeaea;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 1rem 1.25rem;
}
/* Privacy page */
.privacy-section {
    background-color: #f9fbff;
}
.privacy-section .section-title {
    font-weight: 800;
    font-size: 2.3rem;
    color: #1c3faa;
}
.privacy-content h4 {
    color: #1c3faa;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.privacy-content p {
    color: #333;
    line-height: 1.8;
}
.privacy-content .custom-list {
    padding-inline-start: 1.2rem;
    margin-top: 0.5rem;
}
.privacy-content .custom-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-inline-start: 1.5rem;
    list-style: none;
}
\.privacy-content \.custom-list li::before {
    content: '??';
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    color: #1c3faa;
}
@media (max-width: 768px) {
    .privacy-section .section-title {
        font-size: 1.7rem;
    }
}

/* Terms page (reuse privacy palette) */
.terms-hero {
    /* background: var(--bb-hero-gradient); */
}
.terms-section {
    background-color: #f9fbff;
}
.terms-toc .nav-link {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.06);
    border-radius: 0.5rem;
}
.terms-toc .nav-link:hover,
.terms-toc .nav-link.active {
    background: #0d6efd;
    color: #fff;
}

/* Report page */
.report-hero {
    background: var(--bb-hero-gradient);
}
.report-section {
    background-color: #f9fbff;
}
.report-tips .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Link checker */
.link-hero {
    background: var(--bb-hero-gradient);
}
.link-section {
    background-color: #f9fbff;
}
.link-results .text-truncate {
    direction: ltr;
}

/* API page */
.api-hero {
    background: var(--bb-hero-gradient);
}
.api-section {
    background-color: #f9fbff;
}
.api-section .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.api-section .icon-circle.sm {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}
/* ===== Spirit theme – navbar polish and desktop-only toggler ===== */
:root {
    --brand-gradient-start: #0ea5e9; /* sky-500 */
    --brand-gradient-mid: #2563eb; /* indigo-600 */
    --brand-gradient-end: #1d4ed8; /* indigo-700 */
    --brand-primary: #1d4ed8;
}

/* Main navbar: modern gradient and subtle effects */
.main-navbar {
    background: linear-gradient(
        90deg,
        var(--brand-gradient-start) 0%,
        var(--brand-gradient-mid) 50%,
        var(--brand-gradient-end) 100%
    );
}
.main-navbar.scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.navbar-brand img {
    height: 44px !important;
}

/* Links */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.85rem;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Toggler: show on mobile only (extra safety in case markup changes) */
@media (min-width: 992px) {
    .navbar .navbar-toggler {
        display: none !important;
    }
}
.main-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}
.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* CTAs (login/register) */
.btn.btn-outline-light.btn-sm {
    border-color: #e6f0ff;
    color: #e6f0ff;
}
.btn.btn-outline-light.btn-sm:hover {
    background: #e6f0ff;
    color: var(--brand-primary);
}
.btn.btn-light.text-primary.btn-sm {
    background: #fff;
    border-color: #fff;
    color: var(--brand-primary) !important;
}

/* Topbar */
.header-topbar {
    background: rgba(15, 23, 42, 0.9);
}
.header-topbar a {
    color: #e6f0ff;
}
.top-stats i {
    opacity: 0.9;
}

/* Footer quick polish */
.footer-modern {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
}
.footer-modern a {
    color: #cbd5e1;
}
.footer-modern a:hover {
    color: #fff;
}

/* Search icon sizing */
.navbar .fa-magnifying-glass {
    font-size: 1rem;
}

/*faq.html css*/
.faq-section {
    background-color: #f8faff;
}

.section-title {
    font-size: 2.2rem;
    color: #1c3faa;
}

.accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    background-color: #fff;
    color: #1c3faa;
    transition: all 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f3ff;
    box-shadow: none;
}

.accordion-button i {
    min-width: 20px;
}

.accordion-body {
    background-color: #fdfdfd;
    color: #444;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    line-height: 1.8;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.7rem;
    }
}
