/* Arabic — Tajawal is self-hosted (no external font CDN) */
@import url('../google-fonts.css');

/* English */
body {
    background: #F4F6F8;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #333;
}

/* Arabic */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 8px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    transition: background 0.3s ease;
}

/* English */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

/* Arabic */
.faq-item:hover {
    background: #f9fafb;
}

/* English */
.faq-item:hover {
    background: #f3f4f6;
}




/* Arabic */
.faq-question {
    align-items: center;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    font-size: 18px;
    color: #333;
}

/* English */
.faq-question {
    align-items: center;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.faq-question:hover {
    color: #000;
}

/* Arabic */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 15px; /* Inner padding for content */
}

/* English */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 10px;
}

/* Arabic */
.faq-answer.open {
    /* Padding is handled in JS or strictly via max-height,
       but we can add a wrapper padding if needed.
       Keeping it simple here to allow smooth slide. */
}

/* English */
.faq-answer.open {
    padding-top: 15px;
}

/* Arabic */
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
}

/* English */
.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin: 0 0 15px 0;
    font-family: regularfont;
}

/* Arabic */
.faq-answer ul,
.faq-answer ol {
    padding-right: 25px;
}

/* English */
.faq-answer ul,
.faq-answer ol {
    padding-right: 20px;
}

/* --- Arrow Styles --- */

/* Arabic */
.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 15px;
}

/* English */
.arrow-icon {
    transition: .3s;
}

/* Arabic */
.arrow-icon.rotate {
    transform: rotate(180deg);
}




/* Arabic */
.arrow-icon svg {
    width: 100%;
    height: 100%;
    fill: #003C6D;
}

/* English */
.arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
}

/* English */
.arrow.rotate {
    transform: rotate(-90deg);
}




/* --- Layout Styles --- */

.Faq-header {
    background: #003C6D;
    color: #fff;
    padding: 35px 40px;
}

.Faq-h {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

/* Arabic */
.Faq-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 0;
    direction: rtl;
}

/* English */
.Faq-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 50px;
}

/* Arabic */
.breadcrumb {
    direction: rtl;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    background: #f3fcf6 !important;
    padding-right: 5%;
}

/* English */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    background: #f3fcf6 !important;
    padding-right: 5%;
}

/* Arabic */
hr {
    margin: 0px !important;
    color: #f3fcf6 !important;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 1;
}

/* English */
hr {
    margin: 0px !important;
    color: #f3fcf6 !important;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

/* Arabic — scoped to page content: bare `ol, ul` rules leak into the
   master header dropdown sub-items on FAQ pages, painting bullet
   markers onto the chrome. */
#main-content ol,
#main-content ul {
    list-style-type: disc;
    margin: 0;
    padding: 0;
}

/* English */
#main-content ol,
#main-content ul {
    list-style-type: circle;
    margin: 0;
    padding: 0;
    font-family: regularfont;
}

/* Arabic — scoped to page content a bare `a` rule leaks into the
   master header/footer on FAQ pages, repainting chrome links dark-blue/bold. */
:where(#main-content) a {
    color: #003C6D;
    text-decoration: none;
    font-weight: bold;
}

/* Arabic */
:where(#main-content) a:hover {
    text-decoration: underline;
}
    

/* English */
.faq-item:visited {
    background: #f3f4f6;
}
    

/* English */
.arrow-icon:active {
    transform: rotate(180deg);
}
    

/* English */
.transition-in-out:active {
    transform: rotate(180deg);
}

