/* ==========================================================================
   components.css — Extracted global inline styles from all HTML pages
   Chat widget, social icons, buttons, language dropdown, numbers section
   ========================================================================== */

/* ---------- Chat Widget Overrides (was repeated in <style> on 12 pages) ---------- */

.footer-title p {
    color: white;
}

.description-item {
    transition: all 0.3s ease-in-out;
}

.btn-show-more {
    background-color: #c6a15b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-show-more:hover {
    background-color: #a98648;
}

.chat-window-wrapper .chat-window-toggle {
    flex: 0 0 auto;
    background: #0b5d3b;
    color: var(--chat--toggle--color);
    cursor: pointer;
    width: var(--chat--toggle--width);
    height: var(--chat--toggle--height);
    border-radius: var(--chat--toggle--border-radius, 50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: transform var(--chat--transition-duration) ease, background var(--chat--transition-duration) ease;
}

.chat-window-wrapper .chat-window-toggle:hover,
.chat-window-wrapper .chat-window-toggle:focus {
    transform: scale(1.05);
    background: #063d2a;
}

.chat-layout .chat-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    height: var(--chat--header-height);
    padding: var(--chat--header--padding);
    background: #0b5d3b;
    color: var(--chat--header--color);
    border-top: var(--chat--header--border-top);
    border-bottom: var(--chat--header--border-bottom);
    border-left: var(--chat--header--border-left);
    border-right: var(--chat--header--border-right);
}

#n8n-chat,
.n8n-chat-container,
.n8n-chat-bubble,
.n8n-chat-user-bubble,
.n8n-chat-footer input {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Tajawal', sans-serif;
}

.chat-input-send-button[disabled][data-v-31e29ba2],
.chat-input-file-button[disabled][data-v-31e29ba2] {
    cursor: no-drop;
    color: #0b5d3b;
}

/* ---------- Social Icon Brand Colors (was inline style="color:..." on 13 pages) ---------- */

.social-icon .ic.fa-facebook-f,
.social-icon .fa-brands.fa-facebook-f.ic {
    color: #1877F2;
}

.social-icon .ic.fa-instagram,
.social-icon .fa-brands.fa-instagram.ic {
    color: #DD2A7B;
}

.social-icon .ic.fa-youtube,
.social-icon .fa-brands.fa-youtube.ic {
    color: #FF0000;
}

/* ---------- Language Dropdown Cursor (was inline style="cursor:pointer" on 13 pages) ---------- */

.drop-lang li {
    cursor: pointer;
}

/* ---------- Numbers Section Background (was inline style="background-image:..." on index + about) ---------- */

.our-numbers {
    background-image: url('../images/photo1jpg.webp');
}

/* ---------- Certificate Card Image Radius (was inline style="border-radius:5px" on 6 images in index) ---------- */

.certificate_card .image img {
    border-radius: 5px;
}

/* ---------- Blog Article Styles (was inline in blog-detail.html) ---------- */

.blog-article {
    max-width: 850px;
    margin: 0 auto;
}

.blog-article-hero {
    width: 100%;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    max-height: 450px;
    object-fit: cover;
}

.blog-article-meta {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-family-bold);
}

.blog-article-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.blog-article-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.blog-article-content ul {
    list-style: disc;
    padding-right: 1.5rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.blog-article-cta {
    background-color: var(--color-light-bg);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    margin-top: 3rem;
    text-align: center;
}

.blog-article-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.blog-article-cta p {
    margin-bottom: 1.2rem;
}

/* ---------- Wow Animation Fallback (was inline style="visibility: visible; animation-name:..." on 2 h4 elements in index) ---------- */

.wow.fadeInDown {
    visibility: visible;
    animation-name: fadeInDown;
}

/* ---------- Contact Info Card (replaces old contact-form) ---------- */

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b5d3b;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-detail {
    display: flex;
    flex-direction: column;
}

.contact-info-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.15rem;
}

.contact-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}

.contact-info-value:hover {
    color: #0b5d3b;
}
