/* ===== NAVBAR CONTENT TAKES 75% WIDTH ===== */
@media (min-width: 992px) {
    #navbarContent {
        min-width: 75%;
        flex-grow: 1;
    }
}

/* ===== NAV ITEMS CLOSER TOGETHER ===== */
#navbarContent .navbar-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    width: 100%;
    justify-content: flex-start; /* items sit close together from the start */
    gap: 4px;                    /* tight but breathable spacing */
}

#navbarContent .navbar-nav > li {
    flex: 0 0 auto;             /* don't stretch, sit naturally */
    text-align: center;
}

/* ===== NAV LINKS ===== */
#navbarContent .navbar-nav .nav-link {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 10px 20px;         /* horizontal padding controls spacing between items */
    position: relative;
    transition: color 0.2s ease;
}

#navbarContent .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

#navbarContent .navbar-nav .nav-link:hover {
    color: var(--primary);
}

#navbarContent .navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* ===== DROPDOWN CATEGORY ITEMS ===== */
.menu-category > ul > li {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 10px 20px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.menu-category > ul > li:hover {
    color: var(--primary);
}
.logo{
    height: calc(50px + 2vw) !important;
    width: calc(60px + 5vw);
}


/* ===== TRENDING CATEGORIES - CIRCLE DESIGN ===== */

/* الدائرة الرئيسية للبطاقة */
.trending-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px;
    transition: transform 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-6px);
}

/* صورة/أيقونة الدائرة */
.trending-image {
    /*width: 120px !important;*/
    /*height: 120px !important;*/
    width: calc(120px + 2vw)!important;
    height: calc(120px + 2vw)!important;
    border-radius: 50% !important;        /* الشكل الدائري */
    margin: 0 auto 12px auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.trending-card:hover .trending-image {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

/* الأيقونة داخل الدائرة */
.trending-image .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.trending-image .icon img {
    width: calc(48px + 2vw) !important;
    height: calc(48px + 2vw) !important;
    object-fit: contain;
    /*filter: brightness(0) invert(1); !* أيقونة بيضاء *!*/
}

/* عدد الدورات */
.trending-card .item-count {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 3px 12px !important;
    margin-bottom: 6px;
    text-align: center;
}

/* اسم المجال */
.trending-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0;
    max-width: 130px;
    line-height: 1.4;
}

/* الـ swiper slide محاذاة مركزية */
.trend-categories-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* رابط البطاقة */
.trend-categories-swiper .swiper-slide a {
    display: flex;
    justify-content: center;
    text-decoration: none;
}



/* ===== STATS SECTION ===== */
.stats-section {
    padding: 0 0 60px;
    position: relative;
}

/*.stats-section-inner {*/
/*    !*background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 60%, #0f1923 100%);*!*/
/*    background: linear-gradient(135deg, #006aa3 0%, #006aa3 60%, #006aa3 100%);*/
/*    border-radius: 24px;*/
/*    margin: 0 auto;*/
/*    max-width: 1200px;*/
/*    padding: 56px 48px;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*!* Background decorative dots *!*/
/*.stats-section-inner::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);*/
/*    background-size: 28px 28px;*/
/*    pointer-events: none;*/
/*}*/

/*!* Glow blob *!*/
/*.stats-section-inner::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 400px;*/
/*    height: 400px;*/
/*    background: radial-gradient(circle, rgba(var(--primary-rgb, 24,144,255), 0.12) 0%, transparent 70%);*/
/*    top: -100px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    pointer-events: none;*/
/*    border-radius: 50%;*/
/*}*/

.stats-section-inner {
    background: #1A6B65;
    border-radius: 24px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

/* Keep the dot pattern but make it suit the solid color */
.stats-section-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Update glow blob to match */
.stats-section-inner::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    border-radius: 50%;
}
/* ===== GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

/* Vertical divider between cards */
.stat-card:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== STAT CARD ===== */
.stat-card {
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
}

/* Animated bottom accent line */
.stat-card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 0;
    background: var(--primary, #1890ff);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.stat-card:hover .stat-card-line {
    width: 60%;
}

/* ===== ICON ===== */
.stat-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1);
    background: rgba(var(--primary-rgb, 24,144,255), 0.15);
}

.stat-card-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ===== NUMBER ===== */
.stat-card-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

/* ===== TITLE ===== */
.stat-card-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
}

/* ===== DESC ===== */
.stat-card-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:not(:last-child) {
        border-right: none;
    }

    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-card:nth-child(1),
    .stat-card:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stats-section-inner {
        padding: 40px 24px;
    }
}

@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card-number {
        font-size: 32px;
    }

    .stats-section-inner {
        border-radius: 16px;
        padding: 32px 16px;
    }
}


/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 60px 0 80px;
}

/* --- Header --- */
.events-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.events-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1A6B65;
    background: #E8F8F7;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.events-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1A2E2D;
    margin: 0;
    line-height: 1.2;
}

/* --- Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .events-grid { grid-template-columns: 1fr; }

    .event-card-meta {
        grid-template-columns: 1fr;
    }

    .event-meta-item + .event-meta-item {
        border-inline-start: 0;
        border-top: 1px solid #D7E7E5;
    }
}

/* --- Card --- */
.event-card {
    background: #fff;
    border: 1px solid #D7E7E5;
    border-radius: 8px;
    overflow: visible;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(20, 65, 70, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card:hover {
    border-color: rgba(73, 180, 174, .55);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(20, 65, 70, 0.12);
}

/* --- Image --- */
.event-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.event-card-image::after {
    background: linear-gradient(180deg, rgba(26, 46, 45, 0) 42%, rgba(26, 46, 45, .52) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

/* Status badge */
.event-status {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    background: var(--status-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    z-index: 2;
}

.event-status--ended {
    background: #f1f5f9;
    color: #666666;
    box-shadow: none;
}

/* Pulsing dot for current */
.event-status-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.4s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Date chip */
.event-date-chip {
    position: absolute;
    bottom: -24px;
    inset-inline-start: 14px;
    background: #fff;
    border: 1px solid #D7E7E5;
    border-radius: 8px;
    padding: 8px 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(20, 65, 70, 0.13);
    min-width: 58px;
    z-index: 3;
}

.event-date-day {
    font-size: 18px;
    font-weight: 800;
    color: #1A6B65;
    line-height: 1.1;
}

.event-date-month {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- Body --- */
.event-card-body {
    padding: 38px 10px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-title-link {
    text-decoration: none;
}

.event-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #1A2E2D;
    margin: 0 0 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.event-card-title-link:hover .event-card-title {
    color: #1A6B65;
}

.event-card-desc {
    font-size: 13px;
    color: #5F6B6A;
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.event-card-meta {
    background: #E0F2F1;
    border: 1px solid #D7E7E5;
    border-radius: 8px;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
    overflow: hidden;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #333333;
    font-weight: 700;
    min-width: 0;
    padding: 10px;
}

.event-meta-item + .event-meta-item {
    border-inline-start: 1px solid #D7E7E5;
}

.event-meta-item svg {
    color: #1A6B65;
    flex: 0 0 auto;
    stroke: #1A6B65;
}

.event-meta-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* CTA Button */
.event-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 11px 14px;
    background: #E8F8F7;
    color: #1A6B65;
    border: 1px solid #D7E7E5;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    align-self: stretch;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.event-card-btn:hover {
    background: #1A6B65;
    border-color: #1A6B65;
    color: #fff;
}

/* ============================================
   FOOTER — DIRECTION-AWARE (LTR + RTL)
   Uses logical CSS properties so layout
   mirrors naturally without overrides.
   ============================================ */

.footer-new {
    position: relative;
    margin-top: 0;
    background: #fff;
}

/* --- Main body --- */
.footer-main {
    background:
        linear-gradient(180deg, var(--hft-soft) 0%, #fff 70%);
    padding: 26px 0 42px;
}

.footer-top-panel {
    align-items: center;
    background:
        linear-gradient(135deg, var(--hft-teal-deep) 0%, #247E77 58%, var(--hft-teal) 120%);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(20, 65, 70, 0.12);
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) auto;
    margin-bottom: 18px;
    overflow: hidden;
    padding: 28px 32px;
    position: relative;
}

.footer-top-panel::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 100%),
        linear-gradient(0deg, rgba(255, 255, 255, .10) 0 1px, transparent 1px 100%);
    background-size: 34px 34px;
    content: "";
    inset: 0;
    opacity: .22;
    pointer-events: none;
    position: absolute;
}

.footer-top-copy,
.footer-top-actions {
    position: relative;
    z-index: 1;
}

.footer-top-label {
    align-items: center;
    color: rgba(255, 255, 255, .86);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-top-label::before {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 2px;
    width: 28px;
}

.footer-top-copy h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 8px;
}

.footer-top-copy p {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
    max-width: 680px;
}

.footer-top-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.footer-top-btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}

.footer-top-btn:hover {
    transform: translateY(-2px);
}

.footer-top-btn-primary {
    background: #fff;
    border: 1px solid #fff;
    color: var(--hft-teal-deep);
}

.footer-top-btn-primary:hover {
    background: var(--hft-soft);
    color: var(--hft-teal-deep);
}

.footer-top-btn-secondary {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .38);
    color: #fff;
}

.footer-top-btn-secondary:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* --- Grid --- */
.footer-grid {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(20, 65, 70, 0.08);
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.3fr 1.8fr;
    gap: 34px;
    align-items: start;
    padding: 34px;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

    .footer-top-panel {
        grid-template-columns: 1fr;
    }

    .footer-top-actions {
        justify-content: flex-start;
    }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .footer-top-panel {
        padding: 24px 20px;
    }

    .footer-top-copy h2 {
        font-size: 22px;
    }

    .footer-top-actions,
    .footer-top-btn {
        width: 100%;
    }
}

/* --- Column --- */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    align-items: center;
    background: #fff;
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    margin-bottom: 18px;
    max-width: 168px;
    padding: 10px 14px;
}

.footer-brand img {
    display: block;
    height: auto;
    max-height: 64px;
    max-width: 136px;
    object-fit: contain;
}

/* --- Title --- */
.footer-col-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--hft-ink);
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
    text-align: start;           /* natural start for both directions */
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;      /* left in LTR, right in RTL */
    width: 36px;
    height: 3px;
    background: var(--hft-teal);
    border-radius: 2px;
}

/* --- About text --- */
.footer-about-text {
    font-size: 13px;
    color: var(--hft-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: start;
}

/* --- Social --- */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--hft-soft);
    border: 1px solid var(--hft-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--hft-teal-deep);
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--hft-teal-deep);
    transform: translateY(-2px);
    color: #fff;
}

/* --- Links --- */
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links li a {
    font-size: 13px;
    color: var(--hft-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    text-align: start;
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
}



.footer-links li a:hover {
    color: var(--hft-teal-deep);
    padding-inline-start: 6px;
}



/* --- Newsletter --- */
.footer-newsletter-hint {
    font-size: 12px;
    color: var(--hft-muted);
    margin-bottom: 14px;
    text-align: start;
}

.footer-newsletter-form { margin-bottom: 20px; }

.footer-newsletter-input {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--hft-line);
}

/* LTR: [Subscribe btn][___input___]  is wrong — keep natural order */
/* LTR: [___input___][Subscribe btn]  ← correct */
/* RTL: [Subscribe btn][___input___]  ← correct (reversed by flex-direction) */
html[dir="ltr"] .footer-newsletter-input {
    flex-direction: row;          /* input first, button last */
}

html[dir="rtl"] .footer-newsletter-input {
    flex-direction: row-reverse;  /* button on the right (end) in RTL */
}

.footer-newsletter-input input {
    flex: 1;
    background: #fff;
    border: none; outline: none;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--hft-ink);
    min-width: 0;
    text-align: start;
}

.footer-newsletter-input input::placeholder {
    color: #9A9A9A;
}

.footer-newsletter-input button {
    background: var(--hft-teal-deep);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.footer-newsletter-input button:hover { background: var(--primary-hover); }

/* --- Contact items --- */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-contact-items--compact {
    margin-bottom: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hft-muted);
    /* Icon always before text regardless of direction */
    flex-direction: row;
}

.footer-contact-item svg {
    stroke: var(--hft-teal-deep);
    flex-shrink: 0;
}

/* --- Payment --- */
.footer-payment img {
    max-width: 180px;
    border-radius: 8px;
    opacity: 0.92;
    display: block;
}

/* ============================================
   BOTTOM BAR
   ============================================ */
.footer-bottom {
    background: var(--hft-teal-deep);
    padding: 14px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.78);
    text-align: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;  /* text on start, arrow on end */
}


/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 72px 0 80px;
    direction: rtl;
}

/* Header */
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1A6B65;
    background: #E8F8F7;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.faq-title {
    font-size: 30px;
    font-weight: 800;
    color: #1A2E2D;
    margin: 0 0 10px;
}

.faq-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* List */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Item */
.faq-item {
    background: #fff;
    border: 1.5px solid #e8f0f7;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: #3BBFB2;
    box-shadow: 0 4px 20px rgba(59, 191, 178, 0.18);
}

/* Question button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
}

.faq-question span:first-child {
    font-size: 15px;
    font-weight: 700;
    color: #1A2E2D;
    line-height: 1.5;
    flex: 1;
    transition: color 0.2s ease;
}

.faq-item.active .faq-question span:first-child {
    color: #1A6B65;
}

/* Icon */
.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f7fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
    color: #1A6B65;
}

.faq-item.active .faq-icon {
    background: #1A6B65;
    color: #fff;
    transform: rotate(180deg);
}

.faq-icon svg {
    stroke: currentColor;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
    border-top: 1px solid #f0f7fc;
    padding-top: 16px;
}


/*new font*/
/* HFT brand layer */
:root {
    --color-primary: #49B4AE;
    --color-primary-dark: #2A9D8F;
    --color-primary-deep: #1A6B65;
    --color-primary-light: #A8E0DA;
    --color-primary-ultra: #E0F2F1;
    --color-border: #D7E7E5;
    --color-accent: #2E7D32;
    --color-text-dark: #333333;
    --color-text-medium: #5F6B6A;
    --color-bg-light: #F6FAFA;
    --color-white: #FFFFFF;
    --hft-teal: var(--color-primary);
    --hft-teal-dark: var(--color-primary-dark);
    --hft-teal-deep: var(--color-primary-deep);
    --hft-ink: var(--color-text-dark);
    --hft-muted: var(--color-text-medium);
    --hft-light-muted: #6B7280;
    --hft-soft: var(--color-primary-ultra);
    --hft-line: var(--color-border);
    --hft-success: var(--color-accent);
    --hft-warning: #FF8F00;
    --primary: var(--color-primary-deep);
    --primary-border: var(--color-primary-deep);
    --primary-hover: #14544F;
}

body {
    color: var(--hft-ink);
}

.btn-primary,
.hero-btn-primary {
    background-color: var(--hft-teal-deep) !important;
    border-color: var(--hft-teal-deep) !important;
}

.btn-primary:hover,
.hero-btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    border-color: var(--hft-teal-deep) !important;
    color: var(--hft-teal-deep) !important;
}

.btn-outline-primary:hover {
    background-color: var(--hft-teal-deep) !important;
    color: #fff !important;
}

.footer-new {
    border-top: 1px solid var(--hft-line);
}

.hft-identity-section,
.hft-content-section,
.hft-contact-band {
    padding: 72px 0;
}

.hft-muted-band,
.hft-stats-section {
    background: var(--hft-soft);
}

.hft-identity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 36px;
    align-items: center;
}

.hft-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hft-teal-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.hft-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--hft-teal);
}

.hft-identity-copy h2,
.hft-section-heading h2 {
    color: var(--hft-ink);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.hft-identity-copy p,
.hft-logo-panel p,
.hft-feature-grid p,
.hft-office p {
    color: var(--hft-muted);
    line-height: 1.85;
}

.hft-identity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hft-logo-panel,
.hft-feature-grid article,
.hft-partner-group,
.hft-office {
    background: #fff;
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(20, 65, 70, 0.07);
}

.hft-logo-panel {
    padding: 28px;
    text-align: center;
}

.hft-logo-panel img {
    width: min(260px, 100%);
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.hft-stats-section {
    padding: 28px 0;
}

.hft-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.hft-stat-item {
    min-height: 112px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hft-line);
    border-radius: 8px;
}

.hft-stat-item strong {
    display: block;
    color: var(--hft-teal-dark);
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hft-stat-item span {
    color: var(--hft-ink);
    font-weight: 600;
}

.hft-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.hft-feature-grid,
.hft-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hft-feature-grid article,
.hft-office {
    padding: 24px;
}

.hft-feature-grid h3,
.hft-office h3 {
    color: var(--hft-ink);
    font-weight: 800;
    margin-bottom: 12px;
}

.hft-list-grid,
.hft-package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hft-list-item,
.hft-package {
    background: #fff;
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    padding: 18px;
    min-height: 96px;
    color: var(--hft-ink);
    font-weight: 700;
    line-height: 1.6;
}

.hft-package {
    border-left: 4px solid var(--hft-teal);
}

.rtl .hft-package {
    border-left: 1px solid var(--hft-line);
    border-right: 4px solid var(--hft-teal);
}

.hft-contact-band {
    background: var(--hft-ink);
}

.hft-partner-slider-block {
    margin-top: 28px;
}

.hft-partner-slider-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.hft-partner-slider-heading h3 {
    margin: 0;
    color: var(--hft-ink);
    font-weight: 800;
}

.hft-partner-slider-controls {
    display: flex;
    gap: 8px;
}

.hft-partner-heading-actions {
    gap: 10px;
}

.hft-partner-nav {
    width: 38px;
    height: 38px;
    border: 1px solid var(--hft-line);
    border-radius: 50%;
    background: #fff;
    color: var(--hft-teal-dark);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hft-partner-card {
    height: 100%;
    min-height: 220px;
    background: #fff;
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(20, 65, 70, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hft-partner-logo-wrap {
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hft-partner-logo-wrap img {
    max-width: 128px;
    max-height: 82px;
    object-fit: contain;
}

.hft-partner-card h4 {
    color: var(--hft-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 8px;
}

.hft-partner-card p {
    color: var(--hft-muted);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
}

/* HFT category cards */
.trend-categories-swiper .swiper-slide {
    align-items: stretch;
}

.trend-categories-swiper .swiper-slide a {
    width: 100%;
}

.trending-card {
    min-height: 188px;
    height: 100%;
    padding: 18px !important;
    background: #fff !important;
    border: 1px solid #dfeaf0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(59, 191, 178, 0.10) !important;
    justify-content: flex-start;
}

.trending-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(59, 191, 178, 0.18) !important;
}

.trending-image {
    width: 68px !important;
    height: 68px !important;
    border-radius: 8px !important;
    margin: 0 auto 14px !important;
    background: linear-gradient(135deg, rgba(59, 191, 178, 0.14), rgba(232, 248, 247, 0.95)) !important;
    box-shadow: none !important;
}

.trending-card:hover .trending-image {
    transform: none;
    box-shadow: none !important;
}

.trending-image .icon img {
    width: 42px !important;
    height: 42px !important;
}

.trending-card .item-count {
    color: #1A6B65 !important;
    background: #E8F8F7 !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}

.trending-card h3 {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: #1A2E2D !important;
}

.hft-contact-band .hft-office {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.hft-contact-band .hft-office h3,
.hft-contact-band .hft-office p,
.hft-contact-band .hft-office a {
    color: #fff;
}

.hft-office a {
    display: block;
    color: var(--hft-teal-dark);
    font-weight: 700;
    margin-top: 8px;
}

@media (max-width: 991px) {
    .hft-identity-grid,
    .hft-feature-grid,
    .hft-contact-grid {
        grid-template-columns: 1fr;
    }

    .hft-stats-grid,
    .hft-list-grid,
    .hft-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hft-identity-section,
    .hft-content-section,
    .hft-contact-band {
        padding: 48px 0;
    }

    .hft-stats-grid,
    .hft-list-grid,
    .hft-package-grid {
        grid-template-columns: 1fr;
    }
}

/* HFT homepage refinement */
.home-sections {
    margin-top: 72px;
}

.hft-home-statistics {
    margin-top: 0;
}

.hft-featured-courses {
    margin-top: 76px;
}

.hft-section-header,
.home-sections > .d-flex.justify-content-between {
    gap: 18px;
}

.section-title {
    color: var(--hft-ink) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}

.section-hint {
    color: var(--hft-muted) !important;
    line-height: 1.75 !important;
    margin-bottom: 0 !important;
}

.btn,
.hero-btn,
.event-card-btn {
    border-radius: 8px !important;
}

.btn-border-white {
    align-items: center !important;
    background: var(--hft-teal-deep) !important;
    border: 1px solid var(--hft-teal-deep) !important;
    box-shadow: 0 10px 24px rgba(26, 107, 101, 0.18) !important;
    color: #fff !important;
    display: inline-flex !important;
    gap: 8px !important;
    font-weight: 800 !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 18px !important;
    white-space: nowrap !important;
}

.btn-border-white::after {
    content: "\2192";
    font-size: 15px;
    line-height: 1;
    transition: transform .2s ease;
}

.rtl .btn-border-white::after,
html[dir="rtl"] .btn-border-white::after {
    content: "\2190";
}

.btn-border-white:hover {
    background: #fff !important;
    border-color: var(--hft-teal) !important;
    color: var(--hft-teal-deep) !important;
    box-shadow: 0 14px 30px rgba(26, 107, 101, 0.22) !important;
}

.btn-border-white:hover::after {
    transform: translateX(3px);
}

.rtl .btn-border-white:hover::after,
html[dir="rtl"] .btn-border-white:hover::after {
    transform: translateX(-3px);
}

.hero-btn-primary {
    background: var(--hft-teal-deep) !important;
    box-shadow: 0 14px 30px rgba(26, 107, 101, .24) !important;
}

.hero-btn-secondary {
    border-color: rgba(255, 255, 255, .42) !important;
}

.stats-section {
    padding: 46px 0 34px;
}

.stats-section-inner {
    background: var(--hft-soft);
    border: 1px solid var(--hft-line);
    border-radius: 8px;
    box-shadow: none;
}

.stats-section-inner::before,
.stats-section-inner::after {
    display: none;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--hft-line) !important;
    border-radius: 8px;
    margin: 0 7px;
}

.stat-card:hover {
    background: #fff;
}

.stat-card-icon {
    background: var(--hft-soft);
    border-color: var(--hft-line);
}

.stat-card-icon img {
    filter: none;
    opacity: .9;
}

.stat-card-number {
    color: var(--hft-teal-deep);
    letter-spacing: 0;
}

.stat-card-title {
    color: var(--hft-ink);
}

.stat-card-desc {
    color: var(--hft-muted);
}

.stat-card-line {
    background: var(--hft-teal);
}

.webinar-card,
.grid-card,
.event-card,
.hft-partner-card,
.hft-logo-panel,
.hft-stat-item {
    border-radius: 8px !important;
}

.event-card {
    border: 1px solid var(--hft-line);
    box-shadow: 0 12px 30px rgba(20, 65, 70, 0.08);
}

.event-card:hover {
    box-shadow: 0 16px 36px rgba(20, 65, 70, 0.12);
}

.events-section {
    padding: 76px 0 70px;
}

.events-section-label {
    background: var(--hft-soft);
    color: var(--hft-teal-deep);
}

.events-section-title,
.event-card-title {
    color: var(--hft-ink);
}

.event-date-day,
.event-card-title-link:hover .event-card-title,
.event-card-btn {
    color: var(--hft-teal-deep);
}

.event-card-btn {
    border-color: var(--hft-line);
}

.event-card-btn:hover {
    background: var(--hft-teal-deep);
}

.hft-partners-section {
    margin-top: 0;
    padding-top: 76px;
}

.hft-partner-slider-block-preview {
    margin-top: 22px;
}

@media (max-width: 991px) {
    .home-sections,
    .hft-featured-courses {
        margin-top: 56px;
    }

    .hft-section-header,
    .home-sections > .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .stats-section-inner {
        padding: 28px 18px;
    }

    .stat-card {
        margin: 7px;
    }

    .hft-partner-slider-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .home-sections,
    .hft-featured-courses {
        margin-top: 44px;
    }

    .stats-section {
        padding: 24px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        margin: 6px 0;
    }

    .events-section {
        padding: 52px 0;
    }

    .event-card-meta {
        grid-template-columns: 1fr;
    }

    .event-meta-item + .event-meta-item {
        border-inline-start: 0;
        border-top: 1px solid var(--hft-line);
    }

    .hft-partner-heading-actions {
        align-items: stretch !important;
        flex-direction: column;
        width: 100%;
    }

    .hft-partner-heading-actions .btn {
        width: 100%;
    }
}
