/* ====================================
   CUSTOM FONTS
   ==================================== */

/* Delight Font (English) */
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Delight';
    src: url('../fonts/Delight-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Watershed Font */
@font-face {
    font-family: 'Watershed';
    src: url('../fonts/Watershed Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ====================================
   ARABIC FONT: TheYearofHandicrafts
   ==================================== */
@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/TheYearofHandicrafts-Regular.woff2') format('woff2'),
         url('../fonts/TheYearofHandicrafts-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/TheYearofHandicrafts-Medium.woff2') format('woff2'),
         url('../fonts/TheYearofHandicrafts-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/TheYearofHandicrafts-SemiBold.woff2') format('woff2'),
         url('../fonts/TheYearofHandicrafts-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheYearofHandicrafts';
    src: url('../fonts/TheYearofHandicrafts-Black.woff2') format('woff2'),
         url('../fonts/TheYearofHandicrafts-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ====================================
   GLOBAL STYLES
   ==================================== */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Delight', sans-serif;
    font-weight: 400;
    color: #333;
    background: url("img-vid/photograph-wooden-surface.webp") center/cover no-repeat fixed;
    overflow-x: hidden;
    transition: overflow 0.3s ease;
}
body.arabic {
    font-family: 'TheYearofHandicrafts', 'Delight', sans-serif;
    font-weight: 700;
    direction: rtl;
}

/* تطبيق الخط العربي الثقيل والواضح على جميع العناصر */
body.arabic .taiba-paragraph,
body.arabic .taiba-feature span,
body.arabic .taiba-stat p,
body.arabic .taiba-story-item p,
body.arabic .card-content .bio,
body.arabic .footer-links a,
body.arabic .footer-contact p {
    font-family: 'TheYearofHandicrafts', 'Delight', sans-serif !important;
    font-weight: 600 !important;
}

body.arabic .taiba-main-title,
body.arabic .taiba-subtitle,
body.arabic h1, body.arabic h2, body.arabic h3, body.arabic h4,
body.arabic .taiba-board-title,
body.arabic .taiba-section-title,
body.arabic .taiba-exhibitions-title,
body.arabic .nav-links li a {
    font-family: 'TheYearofHandicrafts', 'Delight', sans-serif !important;
    font-weight: 900 !important;
}

body.arabic .taiba-cta-btn,
body.arabic .lang-switch,
body.arabic .exhibition-name {
    font-family: 'TheYearofHandicrafts', 'Delight', sans-serif !important;
    font-weight: 800 !important;
}

/* ====================================
   LOADING SCREEN
   ==================================== */
.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.loader.fade-out {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
}
.loader-content {
    position: relative;
    width: 160px;
    height: 160px;
}
.loader-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    object-fit: contain;
    z-index: 3;
    animation: pulse 1.8s ease-in-out infinite;
}
.loader-circle {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.circle-track { opacity: 0.2; }
.circle-progress {
    stroke-dashoffset: 439.8;
    animation: loading 2s ease-in-out infinite, spin 4s linear infinite;
    transform-origin: center;
}
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes spin {
    from { transform: rotate(-90deg); }
    to { transform: rotate(270deg); }
}
@keyframes loading {
    0% { stroke-dashoffset: 439.8; }
    50% { stroke-dashoffset: 110; }
    100% { stroke-dashoffset: 439.8; }
}

/* NAVBAR */
.navbar {
    background-color: white !important;
    height: 100px;
    width: calc(100% - 30px);
    max-width: 2000px;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}
.container {
    width: 100%;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.logo:hover { transform: scale(1.05) rotate(1deg); }
.logo-icon img { 
    width: 300px; 
    height: 100px; 
    object-fit: contain; 
}

.mobile-branding {
    display: none;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #333;
}
.mobile-branding .logo-icon img { 
    width: 80px; 
    height: 80px; 
    object-fit: contain;
}

/* Nav Links - Dark Text */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
    margin-right: 20%;
}
.nav-links li a {
    color: #333;
    font-family: 'Delight', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 4px;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #0e71aa;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links li a:hover { 
    color: #0e71aa; 
    transform: translateY(-2px); 
}
.nav-links li a:hover::after { width: 100%; }

/* Language Button */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #0e71aa;
    border: none;
    color: white;
    font-family: 'Delight', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.lang-switch:hover { 
    background: #e4771e; 
    transform: scale(1.05); 
}

/* Mobile Elements */
.nav-actions { display: none; }



.taiba-about-section {
    position: relative;
    padding: 140px 0 160px;
    background: #ffffff;
    overflow: hidden;
    z-index: 2;
}

.taiba-about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.taiba-about-header {
    text-align: center;
    margin-bottom: 100px;
}

.taiba-main-title {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 6.8rem;
    line-height: 1.05;
    color: #111;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    display: inline-block;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.taiba-subtitle {
    font-family: 'Delight', sans-serif;
    font-size: 2.4rem;
    color: #0e71aa;
    font-weight: normal;
    letter-spacing: 1px;
    opacity: 0.95;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    margin: 0;
}

.taiba-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    margin-bottom: 120px;
}

.taiba-text-content {
    padding-top: 40px;
}

.taiba-paragraph {
    font-size: 1.22rem;
    line-height: 2;
    color: #444;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.taiba-paragraph.visible {
    opacity: 1;
    transform: translateY(0);
}

.taiba-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 60px 0 50px;
}

.taiba-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    background: #fdfbfb;
    border-radius: 18px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.taiba-feature.visible { opacity: 1; transform: translateY(0); }

.taiba-feature:hover {
    background: #e4771e;
    color: white !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(228, 119, 30, 0.3);
}

.taiba-feature i {
    font-size: 2rem;
    color: #e4771e;
    width: 68px;
    height: 68px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.taiba-feature:hover i {
    color: white;
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.taiba-feature span {
    font-weight: 700;
    font-size: 1.18rem;
    color: #333;
    transition: color 0.5s ease;
}

.taiba-feature:hover span { color: white; }

.taiba-cta-btn {
    display: inline-block;
    background: #0e71aa;
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(228, 119, 30, 0.35);
}

.taiba-cta-btn:hover {
    background: #0e71aa;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(228, 119, 30, 0.45);
}

.taiba-image-wrapper {
    text-align: right;
    padding-left: 40px;
}

.taiba-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
    transition: all 1.4s ease;
    opacity: 0;
    transform: translateY(60px) scale(0.94);
}

.taiba-main-image.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ====================================
   VIDEO SECTION - تحت صورة الهيرو
   ==================================== */
.taiba-video-wrapper {
    position: relative;
    margin-top: 40px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
    background: #000;
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: all 1.4s ease;
}

.taiba-video-wrapper.visible,
.taiba-main-video.visible + .video-overlay,
.taiba-video-wrapper:has(.taiba-main-video.visible) {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.taiba-main-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    min-height: 300px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: all 1.4s ease;
}

.taiba-main-video.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 10;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0e71aa 0%, #e4771e 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(14, 113, 170, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.video-play-btn::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite 0.5s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.video-play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(14, 113, 170, 0.7);
}

.video-play-btn i {
    margin-left: 5px;
}

/* Responsive Video */
@media (max-width: 992px) {
    .taiba-video-wrapper {
        margin-top: 30px;
    }
    
    .video-play-btn {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .video-play-btn::before {
        width: 110px;
        height: 110px;
    }
    
    .video-play-btn::after {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 576px) {
    .taiba-video-wrapper {
        margin-top: 25px;
        border-radius: 20px;
    }
    
    .taiba-main-video {
        border-radius: 20px;
        min-height: 200px;
    }
    
    .video-play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .video-play-btn::before {
        width: 95px;
        height: 95px;
    }
    
    .video-play-btn::after {
        width: 120px;
        height: 120px;
    }
}

.taiba-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    padding: 90px 60px;
    background: linear-gradient(135deg, #fdfcfc 0%, #f8f8f8 100%);
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    margin: 80px auto 0;
    max-width: 1200px;
}

.taiba-stat {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease;
}

.taiba-stat.visible { opacity: 1; transform: translateY(0); }

.taiba-stat .num {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 4.8rem;
    color: #e4771e;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.taiba-stat span:not(.num) {
    font-size: 2.4rem;
    color: #e4771e;
    font-weight: 900;
}

.taiba-stat p {
    font-size: 1.25rem;
    color: #555;
    margin-top: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* تأثير الماوس + الأنيميشن */
.taiba-about-section:hover .taiba-main-title { transform: translateY(-10px); }
.taiba-about-section:hover .taiba-subtitle { transform: translateY(6px); }

/* ====================================
   EXHIBITIONS SECTION - قسم المعارض مع النص المتراكب
   ==================================== */

.taiba-exhibitions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 60px;
}

/* ===== Title ===== */
.taiba-exhibitions-title {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #0e71aa, #e4771e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* ===== Grid Layout ===== */
.taiba-exhibitions-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Card - مع النص المتراكب ===== */
.taiba-exhibition-card {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    width: 580px;
    height: 580px;
    overflow: hidden;
    flex-shrink: 0;
}

.taiba-exhibition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(14, 113, 170, 0.15);
}

/* ===== Image ===== */
.taiba-exhibition-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background: #f9f9f9;
    padding: 0px;
}

.taiba-exhibition-card:hover img {
    transform: scale(1.05);
}

/* ===== النص المتراكب - في أسفل الصورة ===== */
.exhibition-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.exhibition-name {
    font-family: 'Delight', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* تأثير Hover على النص */
.taiba-exhibition-card:hover .exhibition-overlay {
    background: rgba(14, 113, 170, 0.9);
}

.taiba-exhibition-card:hover .exhibition-name {
    transform: scale(1.05);
    color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .taiba-exhibitions-title {
        font-size: 3rem;
        margin-bottom: 40px;
    }

    .taiba-exhibitions-grid {
        flex-direction: column;
        gap: 25px;
        padding: 0 30px;
    }
    
    .taiba-exhibition-card {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }
    
    .exhibition-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .taiba-exhibitions-section {
        padding: 60px 0;
    }

    .taiba-exhibitions-title {
        font-size: 2.5rem;
        margin-bottom: 35px;
    }

    .taiba-exhibitions-grid {
        padding: 0 20px;
    }
    
    .taiba-exhibition-card {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
    
    .exhibition-overlay {
        padding: 15px 20px;
    }
    
    .exhibition-name {
        font-size: 1.15rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .taiba-content-grid { grid-template-columns: 1fr; gap: 80px; text-align: center; }
    .taiba-text-content { padding: 0 20px; padding-top: 0; }
    .taiba-image-wrapper { text-align: center; padding-left: 0; order: -1; }
    .taiba-features { grid-template-columns: 1fr; }
    .taiba-main-title { font-size: 5rem; }
    .taiba-subtitle { font-size: 1.9rem; }
    .taiba-stats { grid-template-columns: 1fr 1fr; gap: 50px; padding: 70px 30px; }
    .taiba-stat .num { font-size: 4rem; }
}

@media (max-width: 576px) {
    .taiba-main-title { font-size: 3.8rem; }
    .taiba-subtitle { font-size: 1.6rem; }
    .taiba-stats { grid-template-columns: 1fr; padding: 60px 20px; }
    .taiba-about-container { padding: 0 20px; }
}


.taiba-story-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.taiba-story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit), minmax(320px);
    gap: 50px;
    justify-content: center;
}

.taiba-story-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(40px);
}

.taiba-story-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.taiba-story-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(228, 119, 30, 0.2);
}

.story-icon {
    width: 90px;
    height: 90px;
    background: #0e71aa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.4rem;
    box-shadow: 0 10px 30px rgba(228, 119, 30, 0.4);
}

.taiba-story-item h3 {
    font-family: 'Delight', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 18px;
}

.taiba-story-item p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}


/* ====================================
   مجلس الإدارة - صورة كاملة + ريسبونسيف مثالي 100%
   ==================================== */
.taiba-board-section {
    padding: 160px 0 120px;
    background: #0f0f0f;
    color: white;
    position: relative;
    overflow: hidden;
}

.taiba-board-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(228,119,30,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.taiba-board-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.taiba-board-title {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #0e71aa, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.taiba-board-subtitle {
    font-family: 'Watershed', sans-serif;
    font-size: 1.8rem;
    color: #e4771e;
    margin-bottom: 80px;
    opacity: 0.9;
}

/* الجريد مع محاذاة وسط مثالية */
.taiba-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 60px;
    justify-content: center;
    align-items: stretch;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الكارت الرئيسي */
.taiba-board-card {
    background: rgba(255,255,255,0.07);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(228,119,30,0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* الصورة تظهر كاملة بدون قص */
.card-image {
    position: relative;
    width: 100%;
    padding-top: 120%; /* نسبة 5:6 → صورة طولية حلوة ومش بتتاكل */
    overflow: hidden;
    background: #000;
}

.card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;     /* ← ده اللي بيخلي الصورة كاملة 100% */
    object-position: center;
    transition: transform 0.8s ease;
    background: #111;
}

.taiba-board-card:hover img {
    transform: scale(1.08);
}

/* الـ overlay والواتساب */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.taiba-board-card:hover .card-overlay {
    opacity: 1;
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: #25D366;
    transform: translateY(-10px) scale(1.15);
    box-shadow: 0 20px 40px rgba(37,211,102,0.7);
}

/* المحتوى تحت الصورة */
.card-content {
    padding: 32px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h4 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e71aa;
}

.card-content .position {
    font-size: 1.2rem;
    color: #e4771e;
    margin-bottom: 16px;
    font-style: italic;
}

.card-content .bio {
    font-size: 1.05rem;
    color: #ddd;
    line-height: 1.8;
}

/* ====================================
   Responsive - صورة كاملة + وسط مثالي
   ==================================== */
@media (max-width: 1200px) {
    .taiba-board-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
}

@media (max-width: 992px) {
    .taiba-board-title { font-size: 4.5rem; }
    .taiba-board-subtitle { font-size: 1.6rem; }
    .card-image { padding-top: 125%; }
}

@media (max-width: 768px) {
    .taiba-board-title { font-size: 4rem; }
    .taiba-board-subtitle { font-size: 1.5rem; margin-bottom: 60px; }
    .card-image { padding-top: 130%; }
    .social-links a { margin-bottom: 25px; }
    .social-links a { width: 58px; height: 58px; font-size: 2.1rem; }
}

@media (max-width: 576px) {
    .taiba-board-title { font-size: 3.5rem; }
    .taiba-board-subtitle { font-size: 1.4rem; }
    .card-image { padding-top: 135%; }
    .social-links a { width: 55px; height: 55px; font-size: 2rem; }
}

/* موبايل صغير جدًا → كارت واحد في النص */
@media (max-width: 480px) {
    .taiba-board-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .card-image { padding-top: 140%; }
}


.taiba-cert-section {
    padding: 160px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
}

.taiba-cert-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.taiba-section-title {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #0e71aa, #b48d64);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.taiba-section-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 80px;
    font-weight: 500;
}

.taiba-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.taiba-cert-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    cursor: pointer;
}

.taiba-cert-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(228,119,30,0.25);
}

.taiba-cert-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    padding-bottom: 30px;
}

.taiba-cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.cert-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Modal */
.taiba-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.taiba-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: modalZoom 0.6s ease;
}

.taiba-modal-image {
    width: 100%;
    height: 580PX;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.taiba-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
}

.taiba-modal-close:hover {
    color: #e4771e;
    transform: scale(1.2);
}

@keyframes modalZoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: #0e71aa;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(228,119,30,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(228,119,30,0.5);
}


.site-footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 80px 0 30px;
    margin-top: 0 !important;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
}

.footer-logo img {
    width: 270px;
    height: auto;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: 'Delight', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #0e71aa;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    inset-inline-start: 0;
    width: 50px;
    height: 3px;
    background: #0e71aa;
}



.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #0e71aa;
}

.footer-contact p {
    margin-bottom: 14px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #0e71aa;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #0e71aa;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(228, 119, 30, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        display: none;
    }

    .social-icons {
        justify-content: center;
    }
}


/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 992px) {
    .navbar { 
        height: 90px; 
        top: 0; 
        border-radius: 0; 
        width: 100%; 
    }
    .container { 
        padding: 0 25px; 
        gap: 12px; 
    }
    .desktop-only { display: none !important; }
    .nav-actions, .mobile-branding { display: flex; }
    .burger-menu { font-size: 1.6rem; cursor: pointer; z-index: 1002; }
    .mobile-branding .logo-icon img { 
        width: 220px; 
        height: 60px; 
    }
    .nav-links {
        position: fixed;
        top: 90px;
        left: 50%;
        width: 92%;
        max-width: 370px;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 22px;
        padding: 30px 20px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        transform: translateX(-50%) scale(0.8);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
    }
    .nav-links.active {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
    .hero-section { height: 20vh; min-height: 250px; }
    .hero-content { display: none; }
    .section-card { max-width: 92%; margin: 60px auto; border-radius: 28px; }
    .section-card > .container { padding: 40px 25px; }
    .about-section.section-card { margin-top: -60px; padding-top: 20px; margin-bottom: 0; }
    .about-section.section-card > .container { grid-template-columns: 1fr; padding: 0; }
    .about-text { padding: 45px 30px; text-align: center; }
    body.menu-open { overflow: hidden; }

    .products-container { padding: 40px 20px; }
    .products-slider {
        height: 560px;
    }
    .slide-overlay {
        padding: 1.5rem 1rem;
    }
    .slide-overlay h3 { font-size: 1.45rem; }
    .slide-overlay p { font-size: .9rem; }

    .about-image { 
        width: 80%; 
        max-width: 400px; 
        margin: 0 auto; 
        min-height: 250px; 
        max-height: 300px; 
        border-radius: 20px; 
    }
    .about-image img { border-radius: 20px; }

    .stats-section { padding: 50px 20px; border-radius: 0 0 28px 28px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stat-item i { font-size: 2.4rem; }
    .stat-number { font-size: 2.6rem; }
    .stat-item p { font-size: 1rem; }
    .stat-desc { font-size: 0.85rem; }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; gap: 25px; }
    .stat-number { font-size: 2.8rem; }
    .stat-item p { font-size: 1.05rem; }
}

@media (min-width: 993px) {
    .about-section.section-card > .container { grid-template-columns: 1fr 1fr; }
}

.taiba-features-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 50px 0 40px;
}

.taiba-feature-h {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.taiba-feature-h:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(228, 119, 30, 0.25);
    background: #0e71aa;
    color: white !important;
    border-color: #0e71aa;
}

.feature-icon {
    width: 76px;
    height: 76px;
    background: #0e71aa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(228, 119, 30, 0.3);
    transition: all 0.4s ease;
}

.taiba-feature-h:hover .feature-icon {
    background: white;
    color: #0e71aa;
    transform: scale(1.1);
}

.taiba-feature-h h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #222;
    transition: color 0.4s ease;
}

.taiba-feature-h p {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
    transition: color 0.4s ease;
}

.taiba-feature-h:hover h4,
.taiba-feature-h:hover p {
    color: white;
}

.taiba-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    padding: 90px 60px;
    background: linear-gradient(135deg, #fdfcfc 0%, #f8f8f8 100%);
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    margin: 80px auto 0;
    max-width: 1200px;
}

.taiba-stat {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.taiba-stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.taiba-stat .num {
    font-family: 'Delight', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    color: #0e71aa;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.taiba-stat span:not(.num) {
    font-size: 2.6rem;
    color: #0e71aa;
    font-weight: 900;
    margin-left: 4px;
}

.taiba-stat p {
    font-size: 1.3rem;
    color: #444;
    margin-top: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .taiba-features-horizontal {
        grid-template-columns: 1fr;
    }
    .taiba-stats {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding: 70px 30px;
    }
    .taiba-stat .num { font-size: 4rem; }
}

@media (max-width: 576px) {
    .taiba-stats {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
}
/* Scroll to Top Button - Mobile Fix */
@media (max-width: 576px) {
    .scroll-top-btn {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .scroll-top-btn {
        right: 15px;
        bottom: 15px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: white;
    color: #25D366;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}
.ltr-phone {
    direction: ltr !important;      
    unicode-bidi: embed !important; 
    display: inline-block;          
}

.taiba-cta-center {
    text-align: center;
    margin-top: 30px;
}