/* =========================================================
   SOFTWARE PLUS - Professional Stylesheet v2.0
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Cairo', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: 'Poppins', 'Cairo', sans-serif; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Variables ---------- */
:root {
    --navy: #0f2d4d;
    --navy-dark: #071a2e;
    --navy-light: #1a4a7a;
    --red: #d92332;
    --red-dark: #a81725;
    --red-light: #f43f4e;
    --gold: #f5b301;
    --green: #25D366;
    --white: #ffffff;
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --dark: #0f172a;
    --border: #e2e8f0;
    
    --shadow-xs: 0 1px 2px rgba(15,45,77,0.06);
    --shadow-sm: 0 2px 8px rgba(15,45,77,0.08);
    --shadow-md: 0 6px 20px rgba(15,45,77,0.10);
    --shadow-lg: 0 12px 40px rgba(15,45,77,0.14);
    --shadow-xl: 0 24px 60px rgba(15,45,77,0.20);
    
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    
    --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --grad-navy: linear-gradient(135deg, #0f2d4d 0%, #071a2e 100%);
    --grad-red: linear-gradient(135deg, #d92332 0%, #a81725 100%);
    --grad-gold: linear-gradient(135deg, #f5b301 0%, #d99900 100%);
    --grad-hero: linear-gradient(135deg, rgba(7,26,46,0.95) 0%, rgba(15,45,77,0.85) 50%, rgba(217,35,50,0.75) 100%);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.top-info { display: flex; gap: 25px; flex-wrap: wrap; align-items: center; }
.top-info span { display: inline-flex; align-items: center; gap: 8px; opacity: 0.9; }
.top-info i { color: var(--gold); font-size: 13px; }
.top-social { display: flex; gap: 10px; }
.top-social a {
    color: var(--white);
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    transition: var(--t);
}
.top-social a:hover { background: var(--red); transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: var(--t);
}
.main-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}

/* ---------- Logo 3D ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.logo-3d {
    position: relative;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    transform-style: preserve-3d;
}
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,0.95))
        drop-shadow(0 2px 1px rgba(15,45,77,0.18))
        drop-shadow(0 4px 3px rgba(15,45,77,0.22))
        drop-shadow(0 8px 8px rgba(15,45,77,0.15));
    transition: transform var(--t), filter var(--t);
}
.logo:hover .logo-img {
    transform: translateY(-3px) rotateY(-6deg);
    filter:
        drop-shadow(0 2px 0 rgba(255,255,255,0.98))
        drop-shadow(0 4px 2px rgba(15,45,77,0.22))
        drop-shadow(0 8px 6px rgba(15,45,77,0.28))
        drop-shadow(0 14px 14px rgba(15,45,77,0.20));
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--navy);
    text-shadow:
        0 1px 0 #ffffff,
        0 2px 0 #d6dde6,
        0 3px 0 #b6c0cc,
        0 4px 1px rgba(0,0,0,0.10),
        0 5px 3px rgba(0,0,0,0.12),
        0 7px 6px rgba(0,0,0,0.10);
}
.logo-plus { color: var(--red); }
.logo-tagline {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--gray);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

/* ---------- Navigation ---------- */
.main-nav { display: flex; align-items: center; gap: 15px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
    display: block;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    border-radius: 10px;
    position: relative;
    transition: var(--t);
}
.nav-link:hover { color: var(--red); background: rgba(217,35,50,0.05); }
.nav-link.active { color: var(--red); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 14px; left: 14px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.assistant-link {
    background: var(--grad-navy) !important;
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(15,45,77,0.25);
}
.assistant-link::after { display: none; }
.assistant-link:hover {
    background: var(--grad-red) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217,35,50,0.35) !important;
}

/* ---------- Lang Switcher ---------- */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--light);
    padding: 4px;
    border-radius: 30px;
}
.lang-btn {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    color: var(--gray);
    transition: var(--t);
}
.lang-btn.active { background: var(--navy); color: var(--white); }
.lang-btn:hover:not(.active) { color: var(--red); }

/* ---------- Mobile Toggle ---------- */
.mobile-toggle {
    display: none;
    width: 42px; height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    background: var(--light);
}
.mobile-toggle span {
    width: 22px; height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--t);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO SLIDER - Full Professional
   ========================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    min-height: 640px;
    max-height: 900px;
    overflow: hidden;
    background: var(--navy-dark);
}
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 8s ease-out;
    z-index: 1;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    z-index: 2;
}
.slide-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245,179,1,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(217,35,50,0.20) 0%, transparent 50%);
}
.slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 720px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}
html[dir="rtl"] .slide-content { margin-right: 8%; }
html[dir="ltr"] .slide-content { margin-left: 8%; }
.slide.active .slide-content { opacity: 1; transform: translateY(0); }

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(245,179,1,0.15);
    border: 1px solid rgba(245,179,1,0.4);
    color: var(--gold);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
}
.slide-badge i { font-size: 14px; }
.slide-title {
    font-size: clamp(32px, 4.5vw, 62px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}
.slide-title span {
    color: var(--gold);
    position: relative;
    display: inline-block;
}
.slide-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0; left: 0;
    height: 8px;
    background: rgba(245,179,1,0.25);
    border-radius: 4px;
    z-index: -1;
}
.slide-desc {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 620px;
    color: rgba(255,255,255,0.9);
}
.slide-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--t);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn:hover::before { width: 500px; height: 500px; }
.btn i, .btn span { position: relative; z-index: 1; }

.btn-primary {
    background: var(--grad-red);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(217,35,50,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(217,35,50,0.5);
}
.btn-gold {
    background: var(--grad-gold);
    color: var(--navy-dark);
    box-shadow: 0 8px 24px rgba(245,179,1,0.4);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(245,179,1,0.55);
}
.btn-outline {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-3px);
}
.btn-dark {
    background: var(--navy);
    color: var(--white);
}
.btn-dark:hover { background: var(--navy-dark); transform: translateY(-3px); }

/* ---------- Slider Arrows ---------- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--t);
    font-size: 18px;
}
.slider-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(217,35,50,0.45);
}
.slider-prev { right: 30px; }
.slider-next { left: 30px; }
html[dir="ltr"] .slider-prev { right: auto; left: 30px; }
html[dir="ltr"] .slider-next { right: 30px; left: auto; }

/* ---------- Slider Dots ---------- */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--t);
    border: 2px solid transparent;
}
.slider-dot:hover { background: rgba(255,255,255,0.7); }
.slider-dot.active {
    background: var(--gold);
    width: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(245,179,1,0.8);
}

/* ---------- Slider Counter ---------- */
.slider-counter {
    position: absolute;
    bottom: 35px;
    right: 40px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 10;
    opacity: 0.85;
}
html[dir="ltr"] .slider-counter { right: auto; left: 40px; }
.slider-counter .current { font-size: 28px; color: var(--gold); }
.slider-counter .separator { margin: 0 6px; opacity: 0.5; }
.slider-counter .total { opacity: 0.6; }

/* =========================================================
   SECTION
   ========================================================= */
.section { padding: 100px 0; position: relative; }
.section-light { background: var(--light); }
.section-dark { background: var(--grad-navy); color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-inline: auto;
}
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--red);
}
.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 18px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.section-dark .section-title { color: var(--white); }
.section-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.85;
}
.section-dark .section-desc { color: rgba(255,255,255,0.75); }

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.stat-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--t);
    border-bottom: 4px solid var(--red);
}
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.stat-icon {
    width: 65px; height: 65px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(15,45,77,0.25);
}
.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number span { color: var(--red); }
.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

/* =========================================================
   CARDS - Services / Systems
   ========================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid rgba(15,45,77,0.06);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}
.card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--navy);
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.card:hover .card-image img { transform: scale(1.12); }
.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.6) 0%, transparent 60%);
    transition: var(--t);
}
.card:hover .card-image::after { background: linear-gradient(to top, rgba(217,35,50,0.5) 0%, transparent 60%); }

.card-body { padding: 30px 28px; flex: 1; display: flex; flex-direction: column; }

.card-icon {
    position: absolute;
    bottom: -32px;
    right: 28px;
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
    transition: var(--t);
    z-index: 2;
}
html[dir="ltr"] .card-icon { right: auto; left: 28px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin: 22px 0 12px;
    line-height: 1.4;
}
.card-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
    flex: 1;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    transition: var(--t);
}
.card-link i { transition: var(--t); }
.card-link:hover { color: var(--red-dark); gap: 12px; }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    opacity: 0;
    transform: translateY(40px);
}
.project-card.in-view { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.project-card:hover .project-image img { transform: scale(1.12); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95) 0%, rgba(15,45,77,0.3) 40%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--t);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-info-inner { color: var(--white); width: 100%; }
.project-info-inner h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.project-info-inner p { font-size: 13px; opacity: 0.85; }
.project-info { padding: 28px; }
.project-category {
    display: inline-block;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.project-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}
.project-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 18px;
}
.project-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
}
.project-meta span { display: flex; align-items: center; gap: 6px; }
.project-meta i { color: var(--red); }

/* =========================================================
   SYSTEMS - Showcase
   ========================================================= */
.systems-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}
.system-showcase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid rgba(15,45,77,0.06);
}
.system-showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.system-showcase-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--navy);
}
.system-showcase-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.system-showcase-card:hover .system-showcase-image img { transform: scale(1.1); }
.system-showcase-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15,45,77,0.85) 100%);
}
.system-showcase-icon {
    position: absolute;
    bottom: 20px;
    right: 25px;
    width: 55px; height: 55px;
    border-radius: 16px;
    background: var(--grad-red);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
}
html[dir="ltr"] .system-showcase-icon { right: auto; left: 25px; }
.system-showcase-body { padding: 28px; }
.system-showcase-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}
.system-showcase-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}
.system-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.system-feature-tag {
    font-size: 12px;
    background: var(--light);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--t);
}
.system-showcase-card:hover .system-feature-tag {
    background: rgba(217,35,50,0.1);
    color: var(--red);
}

/* =========================================================
   CLIENTS - Premium Grid
   ========================================================= */
.clients-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
}
.client-premium-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 18px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-xs);
    border: 1.5px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.client-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-navy);
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 0;
}
.client-premium-card:hover { transform: translateY(-5px); border-color: var(--red); }
.client-premium-card:hover::before { transform: translateY(0); }
.client-premium-card span {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    transition: var(--t);
}
.client-premium-card:hover span { color: var(--white); }
.client-premium-card img {
    position: relative;
    z-index: 1;
    max-height: 65px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.75);
    transition: var(--t);
}
.client-premium-card:hover img { filter: grayscale(0) opacity(1); }

/* =========================================================
   MARQUEE (Clients Slider)
   ========================================================= */
.marquee-wrap {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 30px;
    animation: marquee 40s linear infinite;
    width: max-content;
}
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    transition: var(--t);
    text-align: center;
}
.marquee-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--red); }
.marquee-item span {
    font-weight: 800;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--t);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(40px);
    overflow: hidden;
}
.testimonial-card.in-view { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--red); }
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 90px;
    font-family: Georgia, serif;
    color: rgba(217,35,50,0.08);
    line-height: 1;
    pointer-events: none;
}
html[dir="ltr"] .testimonial-card::before { right: auto; left: 25px; }
.testimonial-rating { color: var(--gold); margin-bottom: 18px; font-size: 15px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(15,45,77,0.25);
}
.testimonial-info h5 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.testimonial-info span { font-size: 13px; color: var(--red); font-weight: 600; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    background: var(--grad-navy);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(217,35,50,0.3), transparent 70%);
    border-radius: 50%;
    animation: pulse-slow 8s ease-in-out infinite;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,179,1,0.2), transparent 70%);
    border-radius: 50%;
    animation: pulse-slow 8s ease-in-out infinite 4s;
}
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}
.cta-inner { position: relative; z-index: 2; text-align: center; color: var(--white); }
.cta-title {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.35;
}
.cta-desc {
    font-size: 16.5px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 620px;
    margin-inline: auto;
    line-height: 1.8;
}

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
    position: relative;
    background: var(--grad-navy);
    padding: 110px 0 80px;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(217,35,50,0.25), transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(245,179,1,0.15), transparent 70%);
    border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero-subtitle {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-hero-title {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 4px 25px rgba(0,0,0,0.35);
}
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); transition: var(--t); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 10px; opacity: 0.5; }
.breadcrumb span { color: rgba(255,255,255,0.85); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img { width: 100%; height: auto; display: block; }
.about-experience {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--grad-red);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 15px 35px rgba(217,35,50,0.45);
}
html[dir="ltr"] .about-experience { right: auto; left: 25px; }
.exp-number { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.exp-text { display: block; font-size: 12px; margin-top: 5px; font-weight: 600; opacity: 0.9; }
.about-text {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 18px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
}
.about-feature i {
    color: var(--red);
    font-size: 20px;
    flex-shrink: 0;
}

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.vm-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--t);
    border-top: 5px solid var(--red);
    position: relative;
    overflow: hidden;
}
.vm-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,35,50,0.05), transparent 70%);
}
.vm-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.vm-icon {
    width: 85px; height: 85px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 30px rgba(15,45,77,0.3);
    transition: var(--t);
}
.vm-card:hover .vm-icon { transform: rotate(-8deg) scale(1.08); }
.vm-card h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 18px;
}
.vm-card p { font-size: 15.5px; line-height: 1.9; color: var(--gray); }

/* =========================================================
   FILTER TABS
   ========================================================= */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 55px;
}
.filter-btn {
    padding: 11px 24px;
    border-radius: 50px;
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    transition: var(--t);
    border: 2px solid var(--border);
}
.filter-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-btn.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}

/* =========================================================
   SINGLE CONTENT (Detail Pages)
   ========================================================= */
.single-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 55px;
    align-items: start;
}
.single-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 110px;
}
.single-image img { width: 100%; height: auto; display: block; }
.single-title {
    font-size: 34px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 18px;
    line-height: 1.3;
}
.single-lead {
    font-size: 17px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 22px;
    line-height: 1.7;
}
.single-desc {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--gray);
    margin-bottom: 25px;
}
.feature-list {
    background: var(--light);
    padding: 32px;
    border-radius: var(--radius);
    margin-top: 30px;
    border-left: 4px solid var(--red);
}
html[dir="ltr"] .feature-list { border-left: none; border-right: 4px solid var(--red); }
.feature-list h3 {
    font-size: 19px;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 800;
}
.feature-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
}
.feature-list i {
    color: var(--red);
    margin-top: 5px;
    flex-shrink: 0;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    cursor: pointer;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95) 0%, rgba(217,35,50,0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: var(--t);
    text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 30px;
    margin-bottom: 12px;
    color: var(--gold);
    transform: scale(0.5);
    transition: var(--t);
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.gallery-overlay span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================================================
   NEWS
   ========================================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--red); }
.news-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.news-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.news-card:hover .news-image img { transform: scale(1.1); }
.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--grad-red);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(217,35,50,0.4);
    z-index: 2;
}
html[dir="ltr"] .news-date-badge { right: auto; left: 15px; }
.news-date-badge .day { display: block; font-size: 22px; font-weight: 900; line-height: 1; }
.news-date-badge .month { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.news-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.news-category {
    display: inline-block;
    background: rgba(245,179,1,0.15);
    color: #b8860b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-title {
    font-size: 18.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 12px;
    transition: var(--t);
}
.news-card:hover .news-title { color: var(--red); }
.news-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
}
.news-meta span { display: flex; align-items: center; gap: 6px; }
.news-meta i { color: var(--red); }

/* Single Article */
.single-article {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.article-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}
.article-image img { width: 100%; height: auto; }
.article-meta {
    font-size: 14px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 8px; }
.article-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 25px;
}
.article-body {
    font-size: 16px;
    line-height: 2;
    color: var(--dark);
}
.article-body p { margin-bottom: 18px; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 45px;
    align-items: start;
}
.contact-info {
    background: var(--grad-navy);
    color: var(--white);
    padding: 45px 38px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: '';
    position: absolute;
    top: -60%; right: -40%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(217,35,50,0.3), transparent 70%);
    border-radius: 50%;
}
.contact-info-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}
.contact-info-desc {
    font-size: 14.5px;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.75;
    position: relative;
    z-index: 2;
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.contact-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    transition: var(--t);
}
.contact-item:hover .contact-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.08);
}
.contact-item h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
}
.contact-item span {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
}
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}
.contact-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--t);
}
.contact-social a:hover {
    background: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(217,35,50,0.5);
}

.contact-form-wrap {
    background: var(--white);
    padding: 45px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-form-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 28px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    transition: var(--t);
    background: var(--light);
    color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
    transform: translateY(-1px);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.alert {
    padding: 16px 22px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

/* =========================================================
   AI ASSISTANT
   ========================================================= */
.assistant-section { padding: 60px 0 90px; }
.assistant-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
}
.assistant-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.assistant-side-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.assistant-side-title i { color: var(--gold); font-size: 18px; }
.assistant-suggestions { display: flex; flex-direction: column; gap: 10px; }
.suggestion-btn {
    text-align: start;
    padding: 14px 16px;
    background: var(--light);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--t);
    line-height: 1.5;
    font-family: inherit;
    border: 1.5px solid transparent;
}
.suggestion-btn i { color: var(--red); margin-top: 3px; flex-shrink: 0; font-size: 14px; }
.suggestion-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}
html[dir="ltr"] .suggestion-btn:hover { transform: translateX(4px); }
.suggestion-btn:hover i { color: var(--gold); }

.assistant-chat {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 700px;
    border: 1px solid var(--border);
}
.chat-header {
    background: var(--grad-navy);
    color: var(--white);
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.chat-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(217,35,50,0.4), transparent 70%);
    border-radius: 50%;
}
.chat-avatar {
    position: relative;
    width: 50px; height: 50px;
    background: var(--grad-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(217,35,50,0.5);
    z-index: 1;
}
.online-dot {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 13px; height: 13px;
    background: var(--green);
    border: 2.5px solid var(--navy);
    border-radius: 50%;
    animation: online-pulse 2s infinite;
}
@keyframes online-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
.chat-header-info { position: relative; z-index: 1; }
.chat-header-info h4 { font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.chat-header-info span { font-size: 12.5px; opacity: 0.85; display: flex; align-items: center; gap: 6px; }

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.chat-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    animation: fadeInUp 0.35s ease;
    max-width: 85%;
}
.user-message {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.msg-avatar {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--white);
    background: var(--grad-navy);
    box-shadow: 0 4px 12px rgba(15,45,77,0.2);
}
.user-avatar { background: var(--grad-red); box-shadow: 0 4px 12px rgba(217,35,50,0.3); }
.msg-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bot-message .msg-bubble {
    background: var(--white);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--dark);
}
html[dir="rtl"] .bot-message .msg-bubble { border-bottom-left-radius: 18px; border-bottom-right-radius: 4px; }
.user-message .msg-bubble {
    background: var(--grad-navy);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
html[dir="rtl"] .user-message .msg-bubble { border-bottom-right-radius: 18px; border-bottom-left-radius: 4px; }
.msg-time {
    display: block;
    font-size: 10.5px;
    opacity: 0.65;
    margin-top: 6px;
    text-align: end;
}
.bot-message .msg-time { text-align: start; }

.chat-footer {
    padding: 18px 22px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.chat-form { display: flex; gap: 12px; }
.chat-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 14.5px;
    background: var(--light);
    transition: var(--t);
}
.chat-form input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
}
.chat-send {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
    box-shadow: 0 6px 18px rgba(217,35,50,0.4);
}
.chat-send:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(217,35,50,0.55);
}
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.chat-typing { display: flex; gap: 5px; padding: 8px 4px 0; align-items: center; }
.chat-typing span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gray);
    animation: typing 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.main-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
}
.footer-top { padding: 80px 0 55px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 45px;
}
.footer-logo { margin-bottom: 22px; }
.footer-logo img { max-width: 180px; }
.footer-desc { font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}
.footer-social a:hover {
    background: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(217,35,50,0.45);
}

.footer-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 14px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 3px;
    background: var(--grad-red);
    border-radius: 2px;
}
html[dir="ltr"] .footer-title::after { right: auto; left: 0; }

.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--t);
}
.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--red);
    transition: var(--t);
}
html[dir="rtl"] .footer-links a::before { content: '\f104'; }
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { transform: translateX(-3px); }
html[dir="ltr"] .footer-links a:hover::before { transform: translateX(3px); }

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
}
.footer-contact i {
    color: var(--red);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13.5px;
}
.footer-credit strong { color: var(--gold); font-weight: 800; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 62px; height: 62px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 998;
    box-shadow: 0 10px 30px rgba(37,211,102,0.5);
    animation: whatsapp-pulse 2.5s infinite;
    transition: var(--t);
}
html[dir="ltr"] .whatsapp-float { left: auto; right: 28px; }
.whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 15px 40px rgba(37,211,102,0.7);
}
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6), 0 10px 30px rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.5); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.5); }
}
.whatsapp-tooltip {
    position: absolute;
    left: 78px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--t);
    box-shadow: var(--shadow-md);
}
html[dir="ltr"] .whatsapp-tooltip { left: auto; right: 78px; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--t);
    box-shadow: var(--shadow-md);
}
html[dir="ltr"] .back-to-top { right: auto; left: 28px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    background: var(--grad-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217,35,50,0.5);
}

/* =========================================================
   LIGHTBOX (for gallery)
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7,26,46,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    animation: zoomIn 0.4s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 25px; right: 25px;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}
.lightbox-close:hover { background: var(--red); transform: rotate(90deg); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 992px) {
    .header-inner { padding: 12px 18px; }
    .section { padding: 75px 0; }
    .section-header { margin-bottom: 50px; }
    .assistant-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .assistant-sidebar { position: static; }
    .assistant-chat { height: 580px; }
    .contact-wrapper, .about-grid, .single-content { grid-template-columns: 1fr; gap: 35px; }
    .single-image { position: static; }
    .vm-grid { grid-template-columns: 1fr; }
    .feature-list ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { padding: 8px 0; font-size: 12px; }
    .top-info { gap: 15px; }
    .top-info span:nth-child(2) { display: none; }
    
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 90px 25px 30px;
        box-shadow: -15px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 998;
        gap: 0;
    }
    html[dir="ltr"] .main-nav { right: auto; left: -100%; transition: left 0.4s ease; }
    .main-nav.open { right: 0; }
    html[dir="ltr"] .main-nav.open { right: auto; left: 0; }
    .nav-list { flex-direction: column; gap: 5px; width: 100%; }
    .nav-link {
        padding: 14px 18px;
        text-align: start;
        border-radius: 12px;
        font-size: 15px;
        width: 100%;
    }
    .nav-link:hover { background: var(--light); }
    .nav-link.active::after { display: none; }
    .assistant-link { width: 100%; justify-content: center; margin-top: 10px; }
    .lang-switcher { margin-top: 25px; justify-content: center; }
    
    .hero-slider { height: 85vh; min-height: 560px; }
    html[dir="rtl"] .slide-content, html[dir="ltr"] .slide-content {
        margin: 0;
        text-align: center;
    }
    .slide-desc { margin-inline: auto; }
    .slide-buttons { justify-content: center; }
    .slide-buttons .btn { flex: 1 1 auto; max-width: 100%; }
    .slider-arrow { width: 46px; height: 46px; font-size: 15px; }
    .slider-prev { right: 12px; }
    .slider-next { left: 12px; }
    html[dir="ltr"] .slider-prev { left: 12px; right: auto; }
    html[dir="ltr"] .slider-next { right: 12px; left: auto; }
    .slider-counter { display: none; }
    .slider-dots { bottom: 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    
    .stats-grid { margin-top: 0; }
    .whatsapp-float { width: 56px; height: 56px; font-size: 28px; bottom: 20px; left: 20px; }
    html[dir="ltr"] .whatsapp-float { left: auto; right: 20px; }
    .back-to-top { width: 46px; height: 46px; bottom: 20px; right: 20px; }
    html[dir="ltr"] .back-to-top { right: auto; left: 20px; }
    .whatsapp-tooltip { display: none; }
    
    .contact-form .form-row { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .page-hero { padding: 80px 0 55px; }
    .single-article { padding: 25px 22px; }
    .article-title { font-size: 24px; }
    .msg-bubble { max-width: 85%; font-size: 14px; }
    .chat-body { padding: 20px 18px; }
    .chat-footer { padding: 15px 18px; }
    .clients-premium-grid, .partners-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .projects-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .systems-showcase { grid-template-columns: 1fr; }
    .filter-tabs { gap: 8px; }
    .filter-btn { padding: 9px 18px; font-size: 13px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header-inner { padding: 10px 16px; gap: 12px; }
    .logo-text { font-size: 19px; }
    .logo-tagline { font-size: 9.5px; }
    .logo-3d { width: 50px; height: 50px; }
    .slide-title { font-size: 28px; }
    .slide-desc { font-size: 14.5px; margin-bottom: 28px; }
    .btn { padding: 13px 24px; font-size: 14px; }
    .section { padding: 55px 0; }
    .card-body { padding: 22px; }
    .card-title { font-size: 18px; }
    .card-desc { font-size: 14px; }
    .stat-number { font-size: 32px; }
    .stat-icon { width: 55px; height: 55px; font-size: 22px; }
}
/* =========================================================
   AI ASSISTANT - Enhanced Styles
   ========================================================= */

.msg-content {
    font-size: 14.5px;
    line-height: 1.75;
    word-wrap: break-word;
}
.msg-content strong { color: var(--red); font-weight: 800; }
.bot-message .msg-content strong { color: var(--red); }
.user-message .msg-content strong { color: var(--gold); }
.msg-content .bullet {
    color: var(--red);
    font-weight: 900;
    margin-inline-end: 4px;
}

/* Quick action pills in bot message */
.msg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.msg-action-pill {
    font-size: 12px;
    padding: 5px 12px;
    background: var(--light);
    color: var(--navy);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--t);
    border: 1px solid var(--border);
    font-weight: 600;
    font-family: inherit;
}
.msg-action-pill:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
}
/* =========================================================
   HOMEPAGE ENHANCEMENTS v3.0
   ========================================================= */

/* ═══════════ SYSTEMS TABS ═══════════ */
.systems-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}
.system-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
    white-space: nowrap;
}
.system-tab i {
    font-size: 16px;
    color: var(--red);
    transition: var(--t);
}
.system-tab:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.system-tab.active {
    background: var(--grad-navy);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(15,45,77,0.3);
}
.system-tab.active i { color: var(--gold); }

.systems-content { position: relative; }
.system-panel {
    display: none;
    animation: panelFadeIn 0.6s ease;
}
.system-panel.active { display: block; }
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.system-panel-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 45px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.system-panel-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.system-panel-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.system-panel-inner:hover .system-panel-image img { transform: scale(1.06); }
.system-panel-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(217,35,50,0.5);
}
html[dir="ltr"] .system-panel-badge { right: auto; left: 20px; }
.system-panel-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.25;
}
.system-panel-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 25px;
}
.system-features-list {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}
.system-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}
.system-features-list i {
    color: var(--red);
    font-size: 18px;
    flex-shrink: 0;
}
.system-panel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════ WHY US - WITH IMAGES ═══════════ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.why-us-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}
.why-us-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}
.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.why-us-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.why-us-card:hover .why-us-image img { transform: scale(1.15); }
.why-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.9) 0%, rgba(15,45,77,0.4) 50%, transparent 100%);
    transition: var(--t);
}
.why-us-card:hover .why-us-overlay {
    background: linear-gradient(to top, rgba(217,35,50,0.85) 0%, rgba(217,35,50,0.3) 50%, transparent 100%);
}
.why-us-icon {
    position: absolute;
    bottom: -28px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(217,35,50,0.45);
    z-index: 2;
    transition: var(--t);
}
html[dir="ltr"] .why-us-icon { right: auto; left: 25px; }
.why-us-card:hover .why-us-icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--grad-navy);
}
.why-us-content {
    padding: 40px 25px 28px;
}
.why-us-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.35;
}
.why-us-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
}

/* ═══════════ PROJECTS FILTER ═══════════ */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}
.filter-tab {
    padding: 10px 22px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
}
.filter-tab:hover {
    border-color: var(--red);
    color: var(--red);
}
.filter-tab.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(40px);
}
.project-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.project-card.hidden {
    display: none;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}
.project-card .project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}
.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.project-card:hover .project-image img { transform: scale(1.15); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.9) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--t);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay-actions {
    display: flex;
    gap: 12px;
}
.project-btn-view {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--t);
    transform: scale(0);
    box-shadow: var(--shadow-md);
}
.project-card:hover .project-btn-view {
    transform: scale(1);
}
.project-card:hover .project-btn-view:nth-child(2) {
    transition-delay: 0.1s;
}
.project-btn-view:hover {
    background: var(--red);
    color: var(--white);
    transform: scale(1.15) !important;
}
.project-category-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(217,35,50,0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(217,35,50,0.4);
}
html[dir="ltr"] .project-category-badge { right: auto; left: 18px; }
.project-content {
    padding: 26px;
}
.project-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--t);
}
.project-card:hover .project-title { color: var(--red); }
.project-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    flex-wrap: wrap;
    gap: 10px;
}
.project-client,
.project-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.project-client i,
.project-date i { color: var(--red); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}
.empty-state i {
    font-size: 60px;
    color: var(--gray-light);
    margin-bottom: 20px;
}
.empty-state h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}
.empty-state p { color: var(--gray); }

/* ═══════════ MARQUEE ENHANCED ═══════════ */
.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    min-width: 220px;
    height: auto;
}
.marquee-item i {
    color: var(--red);
    font-size: 20px;
    flex-shrink: 0;
}
.marquee-item span {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

/* ═══════════ TESTIMONIALS CAROUSEL ═══════════ */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.testimonials-track {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.testimonial-slide {
    min-width: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.testimonial-card-premium {
    background: var(--white);
    padding: 55px 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
}
.testimonial-quote-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--grad-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(217,35,50,0.4);
}
.testimonial-rating {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 22px;
}
.testimonial-text-premium {
    font-size: 17.5px;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 35px;
    font-style: italic;
    font-weight: 500;
}
.testimonial-author-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-direction: row;
}
.testimonial-avatar-premium {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15,45,77,0.3);
    flex-shrink: 0;
}
.testimonial-author-premium h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3px;
    text-align: start;
}
.testimonial-author-premium span {
    font-size: 13.5px;
    color: var(--red);
    font-weight: 600;
    display: block;
    text-align: start;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--t);
    font-size: 16px;
}
.testimonial-nav-btn:hover {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
}
.testimonial-dots {
    display: flex;
    gap: 10px;
}
.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--t);
    border: none;
}
.testimonial-dot.active {
    background: var(--red);
    width: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(217,35,50,0.4);
}

/* ═══════════ FAQ ACCORDION ═══════════ */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1.5px solid var(--border);
}
.faq-item.active {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: transparent;
    text-align: start;
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
    border: none;
}
.faq-question:hover { background: rgba(217,35,50,0.03); }
.faq-number {
    font-size: 15px;
    font-weight: 900;
    color: var(--red);
    flex-shrink: 0;
    letter-spacing: 1px;
}
.faq-text {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
}
.faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
    flex-shrink: 0;
    font-size: 14px;
}
.faq-item.active .faq-icon {
    background: var(--grad-red);
    color: var(--white);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}
.faq-answer p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray);
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* ═══════════ CTA ENHANCED ═══════════ */
.cta-icon-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(245,179,1,0.15);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--gold);
    animation: ctaFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .system-panel-inner { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .system-panel-image img { height: 300px; }
    .system-panel-title { font-size: 24px; }
    .testimonial-card-premium { padding: 40px 30px; }
    .testimonial-text-premium { font-size: 15.5px; }
}

@media (max-width: 768px) {
    .systems-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; margin: 0 -24px 35px; padding-inline: 24px; }
    .systems-tabs::-webkit-scrollbar { height: 4px; }
    .system-tab { padding: 10px 18px; font-size: 13px; flex-shrink: 0; }
    .system-panel-inner { padding: 25px 20px; }
    .system-panel-image img { height: 220px; }
    .system-panel-badge { width: 55px; height: 55px; font-size: 22px; }
    .system-panel-title { font-size: 20px; }
    .system-panel-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
    
    .why-us-grid { grid-template-columns: 1fr; gap: 20px; }
    .why-us-image { height: 170px; }
    
    .projects-grid { grid-template-columns: 1fr; }
    .projects-filter { justify-content: flex-start; overflow-x: auto; padding: 0 24px 5px; margin: 0 -24px 35px; flex-wrap: nowrap; }
    .projects-filter::-webkit-scrollbar { height: 4px; }
    .filter-tab { flex-shrink: 0; }
    
    .testimonial-card-premium { padding: 35px 25px; }
    .testimonial-quote-icon { width: 55px; height: 55px; font-size: 22px; margin-bottom: 20px; }
    .testimonial-text-premium { font-size: 15px; margin-bottom: 25px; }
    .testimonial-author-premium { flex-direction: column; gap: 12px; }
    .testimonial-author-premium h5,
    .testimonial-author-premium span { text-align: center; }
    
    .faq-question { padding: 18px 20px; gap: 14px; }
    .faq-text { font-size: 15px; }
    .faq-number { font-size: 13px; }
    .faq-icon { width: 32px; height: 32px; font-size: 12px; }
    .faq-answer { padding: 0 20px; }
    .faq-item.active .faq-answer { padding: 0 20px 20px; }
    .faq-answer p { font-size: 14.5px; }
    
    .cta-icon-wrap { width: 70px; height: 70px; font-size: 30px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
    .system-tab { padding: 8px 14px; font-size: 12px; }
    .system-panel-image img { height: 180px; }
    .system-panel-title { font-size: 18px; }
    .project-category-badge { font-size: 10.5px; padding: 5px 10px; }
}
/* =========================================================
   ABOUT PAGE ENHANCEMENTS v3.0
   ========================================================= */

/* ═══════════ COMPANY STORY ═══════════ */
.about-image-wrap {
    position: relative;
    padding: 20px;
}
.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}
.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}
.about-image-secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    z-index: 3;
}
html[dir="ltr"] .about-image-secondary { left: auto; right: -30px; }
.about-image-secondary img { width: 100%; height: 180px; object-fit: cover; display: block; }
.about-experience {
    position: absolute;
    top: 20px;
    right: 10px;
    background: var(--grad-red);
    color: var(--white);
    padding: 22px 26px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 15px 35px rgba(217,35,50,0.45);
    z-index: 4;
    animation: pulse-badge 3s ease-in-out infinite;
}
html[dir="ltr"] .about-experience { right: auto; left: 10px; }
@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.about-experience .exp-number {
    display: block;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}
.about-experience .exp-number span { color: var(--gold); }
.about-experience .exp-text {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 35px;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid var(--red);
}
html[dir="ltr"] .about-highlights { border-left: none; border-right: 4px solid var(--red); }
.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(15,45,77,0.25);
    transition: var(--t);
}
.highlight-item:hover .highlight-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
}
.highlight-item strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.1;
}
.highlight-item span {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    font-weight: 600;
    margin-top: 3px;
}

/* ═══════════ TIMELINE ═══════════ */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--red), var(--gold), var(--red));
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}
.timeline-item {
    position: relative;
    display: flex;
    width: 50%;
    margin-bottom: 55px;
    z-index: 2;
}
.timeline-item.left {
    padding-inline-end: 55px;
    justify-content: flex-end;
}
.timeline-item.right {
    padding-inline-start: 55px;
    margin-inline-start: 50%;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--red);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(217,35,50,0.15);
    animation: pulse-dot 2s infinite;
}
.timeline-item.left::before {
    right: -10px;
}
.timeline-item.right::before {
    left: -10px;
}
html[dir="ltr"] .timeline-item.left::before { right: auto; left: -10px; }
html[dir="ltr"] .timeline-item.right::before { left: auto; right: -10px; }
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 6px rgba(217,35,50,0.15); }
    50% { box-shadow: 0 0 0 12px rgba(217,35,50,0.05); }
}
.timeline-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--t);
    max-width: 480px;
    border: 1px solid var(--border);
}
.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.timeline-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.timeline-content:hover .timeline-image img { transform: scale(1.08); }
.timeline-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15,45,77,0.7));
}
.timeline-icon {
    position: absolute;
    bottom: -22px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(217,35,50,0.45);
    z-index: 2;
}
html[dir="ltr"] .timeline-icon { right: auto; left: 25px; }
.timeline-body {
    padding: 32px 26px 26px;
}
.timeline-year {
    display: inline-block;
    padding: 4px 14px;
    background: var(--grad-navy);
    color: var(--white);
    font-weight: 900;
    font-size: 13px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.timeline-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.timeline-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
}

/* ═══════════ VALUES ═══════════ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}
.value-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--value-color, var(--red));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--value-color, var(--red));
}
.value-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.value-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 22px;
    border-radius: 22px;
    background: var(--value-color, var(--red));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--t);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
}
.value-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: var(--value-color, var(--red));
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}
.value-card:hover .value-icon {
    transform: rotate(-8deg) scale(1.1);
}
.value-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}
.value-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
}

/* ═══════════ WORK ENVIRONMENT ═══════════ */
.work-env-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.work-env-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}
.work-env-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.work-env-card.featured {
    grid-column: span 2;
    flex-direction: row;
}
.work-env-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.work-env-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    flex-shrink: 0;
}
.work-env-card.featured .work-env-image {
    width: 55%;
    height: auto;
}
.work-env-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.work-env-card:hover .work-env-image img { transform: scale(1.1); }
.work-env-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.75), transparent 60%);
    transition: var(--t);
}
.work-env-card:hover .work-env-overlay {
    background: linear-gradient(to top, rgba(217,35,50,0.7), transparent 60%);
}
.work-env-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(217,35,50,0.5);
    z-index: 2;
    transition: var(--t);
}
html[dir="ltr"] .work-env-icon { right: auto; left: 20px; }
.work-env-card:hover .work-env-icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--grad-navy);
}
.work-env-body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.work-env-body h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.35;
}
.work-env-body p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.8;
}

/* ═══════════ TEAM MEMBERS ═══════════ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}
.team-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.team-card:hover .team-image img { transform: scale(1.08); }
.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.9) 0%, rgba(217,35,50,0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    transition: var(--t);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}
.team-card:hover .team-social { transform: translateY(0); }
.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--t);
}
.team-social a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-4px) scale(1.1);
}
.team-info {
    padding: 25px 22px;
    text-align: center;
}
.team-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 5px;
    line-height: 1.3;
}
.team-position {
    display: block;
    font-size: 13.5px;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.team-bio {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ BRAND LOGOS ═══════════ */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.logo-showcase {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--t);
    border: 2px solid var(--border);
    text-align: center;
}
.logo-showcase:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.logo-showcase-img {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: rgba(255,255,255,0.5);
}
.logo-showcase-img img {
    max-width: 85%;
    max-height: 120px;
    object-fit: contain;
    transition: var(--t);
}
.logo-showcase:hover .logo-showcase-img img { transform: scale(1.08); }
.logo-showcase-info {
    padding: 22px 25px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.logo-showcase-info h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}
.logo-showcase-info p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.65;
}

/* ═══════════ MASONRY TESTIMONIALS ═══════════ */
.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial-masonry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--t);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}
.testimonial-masonry-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.testimonial-masonry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.testimonial-quote-small {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(217,35,50,0.08);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
html[dir="ltr"] .testimonial-quote-small { right: auto; left: 22px; }
.testimonial-rating-small {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.testimonial-text-small {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 22px;
    font-style: italic;
}
.testimonial-author-small {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.testimonial-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(15,45,77,0.25);
}
.testimonial-author-small h5 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2px;
}
.testimonial-author-small span {
    font-size: 12.5px;
    color: var(--red);
    font-weight: 600;
}

/* ═══════════ VISION & MISSION GLOW ═══════════ */
.vm-card {
    position: relative;
    overflow: hidden;
}
.vm-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,35,50,0.15), transparent 70%);
    pointer-events: none;
    transition: var(--t);
}
.vm-card:hover .vm-glow {
    top: -30%;
    right: -30%;
    background: radial-gradient(circle, rgba(217,35,50,0.25), transparent 70%);
}
.mission-card .vm-glow {
    background: radial-gradient(circle, rgba(245,179,1,0.15), transparent 70%);
}
.mission-card:hover .vm-glow {
    background: radial-gradient(circle, rgba(245,179,1,0.25), transparent 70%);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .about-image-secondary { width: 50%; bottom: -20px; left: -20px; }
    html[dir="ltr"] .about-image-secondary { right: -20px; left: auto; }
    .about-highlights { grid-template-columns: 1fr; padding: 20px; }
    .work-env-grid { grid-template-columns: 1fr; }
    .work-env-card.featured { grid-column: span 1; flex-direction: column; }
    .work-env-card.featured .work-env-image { width: 100%; height: 240px; }
    .timeline-line { left: 30px; }
    .timeline-item, .timeline-item.right {
        width: 100%;
        padding-inline-start: 70px;
        padding-inline-end: 0;
        margin-inline-start: 0;
        justify-content: flex-start;
    }
    .timeline-item.left { padding-inline-end: 0; padding-inline-start: 70px; justify-content: flex-start; }
    .timeline-item::before,
    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 20px !important;
        right: auto !important;
    }
    .timeline-content { max-width: 100%; }
    .team-image { height: 280px; }
}

@media (max-width: 768px) {
    .about-image-wrap { padding: 0; }
    .about-image-secondary { display: none; }
    .about-experience { top: 15px; right: 15px; padding: 18px 22px; }
    .about-experience .exp-number { font-size: 32px; }
    .timeline-image { height: 140px; }
    .timeline-icon { width: 42px; height: 42px; font-size: 18px; bottom: -20px; }
    .work-env-body { padding: 22px 20px; }
    .work-env-body h3 { font-size: 18px; }
    .team-image { height: 240px; }
    .logo-showcase-img { min-height: 140px; padding: 30px 20px; }
    .testimonial-masonry-card { padding: 26px 22px; }
}

@media (max-width: 480px) {
    .about-highlights { gap: 15px; }
    .highlight-icon { width: 42px; height: 42px; font-size: 17px; }
    .highlight-item strong { font-size: 18px; }
    .timeline-item, .timeline-item.left, .timeline-item.right {
        padding-inline-start: 55px;
    }
    .timeline-content { box-shadow: var(--shadow-sm); }
}
/* =========================================================
   HOMEPAGE v4.0 - Enhanced Interactions
   ========================================================= */

/* ═══════════ SLIDER PROGRESS BAR ═══════════ */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.15);
    z-index: 10;
}
.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    width: 0;
    transition: width 0.3s linear;
    box-shadow: 0 0 15px rgba(245,179,1,0.6);
}

/* ═══════════ WHY US STAT BADGE ═══════════ */
.why-us-stat {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 3;
    text-align: center;
    transition: var(--t);
}
html[dir="ltr"] .why-us-stat { left: auto; right: 18px; }
.why-us-card:hover .why-us-stat {
    background: var(--grad-red);
    transform: scale(1.05);
}
.why-us-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    transition: var(--t);
}
.why-us-stat span {
    display: block;
    font-size: 10px;
    color: var(--gray);
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.5px;
    transition: var(--t);
}
.why-us-card:hover .why-us-stat strong,
.why-us-card:hover .why-us-stat span { color: var(--white); }

/* ═══════════ CLIENTS WITH IMAGES ═══════════ */
.clients-grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
}
.client-image-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
    opacity: 0;
    transform: translateY(20px);
}
.client-image-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.client-image-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.client-image-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.client-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-navy);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 0;
}
.client-image-card:hover .client-image-wrap::before { transform: scaleY(1); }
.client-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: var(--t);
    filter: grayscale(0.3);
}
.client-image-card:hover .client-image-wrap img {
    filter: grayscale(0);
    transform: scale(1.1);
}
.client-image-info {
    padding: 16px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.client-image-info span {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    display: block;
    transition: var(--t);
}
.client-image-card:hover .client-image-info span { color: var(--red); }

/* ═══════════ FAQ MODERN - Grid Design ═══════════ */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.faq-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
}
.faq-cat-btn i { font-size: 13px; }
.faq-cat-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}
.faq-cat-btn.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}

.faq-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}
.faq-modern-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}
.faq-modern-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.faq-modern-card.hidden {
    display: none;
}
.faq-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.faq-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.faq-modern-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.faq-modern-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.2);
}
.faq-modern-card:hover .faq-modern-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.faq-modern-content { flex: 1; min-width: 0; }
.faq-modern-cat {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(217,35,50,0.08);
    color: var(--red);
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.faq-modern-q {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 10px;
}
.faq-modern-a {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}
.faq-modern-arrow {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--light);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--t);
    align-self: center;
}
.faq-modern-card:hover .faq-modern-arrow {
    background: var(--grad-red);
    color: var(--white);
    transform: translateX(-6px);
}
html[dir="ltr"] .faq-modern-card:hover .faq-modern-arrow { transform: translateX(6px); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .clients-grid-images { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .client-image-wrap { height: 120px; }
    .faq-modern-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .clients-grid-images { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .client-image-wrap { height: 110px; padding: 15px; }
    .client-image-info { padding: 12px 10px; }
    .client-image-info span { font-size: 11.5px; }
    .faq-categories { justify-content: flex-start; overflow-x: auto; padding: 0 20px 5px; margin: 0 -24px 30px; flex-wrap: nowrap; }
    .faq-categories::-webkit-scrollbar { height: 4px; }
    .faq-cat-btn { flex-shrink: 0; padding: 8px 16px; font-size: 12.5px; }
    .faq-modern-card { padding: 22px 20px; gap: 15px; }
    .faq-modern-icon { width: 45px; height: 45px; font-size: 18px; }
    .faq-modern-q { font-size: 15px; }
    .faq-modern-a { font-size: 13px; }
    .why-us-stat { padding: 10px 14px; }
    .why-us-stat strong { font-size: 18px; }
}

@media (max-width: 480px) {
    .clients-grid-images { grid-template-columns: 1fr 1fr; gap: 10px; }
    .client-image-wrap { height: 90px; }
    .client-image-info span { font-size: 10.5px; }
    .faq-modern-card { padding: 18px 16px; flex-direction: column; gap: 12px; }
    .faq-modern-arrow { display: none; }
}
/* =========================================================
   CLIENTS - Real Images Gallery
   ========================================================= */

.clients-grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}
.client-image-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}
.client-image-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.client-image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}

/* الصورة */
.client-image-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.client-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.client-image-card:hover .client-image-wrap img {
    transform: scale(1.12);
}

/* طبقة التعتيم العلوية عند المرور */
.client-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15,45,77,0.95) 0%,
        rgba(217,35,50,0.4) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-image-card:hover .client-image-overlay {
    opacity: 1;
}

/* أيقونة عرض الرابط */
.client-image-view {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: transform 0.4s ease 0.1s, background 0.3s ease, color 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    cursor: pointer;
}
.client-image-card:hover .client-image-view {
    transform: scale(1);
}
.client-image-view:hover {
    background: var(--grad-red);
    color: var(--white);
    transform: scale(1.15) !important;
    box-shadow: 0 12px 35px rgba(217,35,50,0.6);
}

/* اسم العميل أسفل الصورة */
.client-image-info {
    padding: 20px 18px;
    text-align: center;
    background: var(--white);
    position: relative;
}
.client-image-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 3px;
    background: var(--grad-red);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.client-image-card:hover .client-image-info::before {
    width: 80px;
}
.client-image-info span {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.4;
    display: block;
    transition: var(--t);
}
.client-image-card:hover .client-image-info span {
    color: var(--red);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .clients-grid-images { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
    .client-image-wrap { height: 170px; }
}

@media (max-width: 768px) {
    .clients-grid-images { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .client-image-wrap { height: 140px; }
    .client-image-info { padding: 14px 12px; }
    .client-image-info span { font-size: 12.5px; }
    .client-image-view { width: 45px; height: 45px; font-size: 16px; }
}

@media (max-width: 480px) {
    .clients-grid-images { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .client-image-wrap { height: 120px; }
    .client-image-info span { font-size: 11px; }
}
/* =========================================================
   SERVICES PAGE v3.0
   ========================================================= */

/* ═══════════ SERVICES STATS BAR ═══════════ */
.services-stats-bar {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 35px 0;
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}
.services-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(217,35,50,0.25), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(245,179,1,0.15), transparent 50%);
    pointer-events: none;
}
.services-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
}
.services-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius);
    transition: var(--t);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.services-stat:hover {
    background: rgba(217,35,50,0.15);
    border-color: var(--red);
    transform: translateY(-4px);
}
.services-stat i {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}
.services-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: var(--gold);
}
.services-stat span {
    display: block;
    font-size: 12.5px;
    opacity: 0.85;
    margin-top: 5px;
    font-weight: 600;
}

/* ═══════════ SERVICES FILTER ═══════════ */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.services-filter .filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    transition: var(--t);
    text-decoration: none;
}
.services-filter .filter-tab i { font-size: 14px; }
.services-filter .filter-tab:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.services-filter .filter-tab.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}
.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
}
.services-filter .filter-tab.active .filter-count {
    background: rgba(255,255,255,0.25);
}

/* ═══════════ SERVICE FULL CARD ═══════════ */
.service-full-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--t);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}
.service-full-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}
.service-full-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.service-full-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.service-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.service-full-card:hover .service-full-image img {
    transform: scale(1.12);
}
.service-full-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.85) 0%, transparent 60%);
    transition: var(--t);
}
.service-full-card:hover .service-full-overlay {
    background: linear-gradient(to top, rgba(217,35,50,0.7) 0%, transparent 60%);
}
.service-full-cat {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}
html[dir="ltr"] .service-full-cat { right: auto; left: 18px; }
.service-full-icon {
    position: absolute;
    bottom: -28px;
    right: 25px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 28px rgba(217,35,50,0.5);
    z-index: 3;
    transition: var(--t);
}
html[dir="ltr"] .service-full-icon { right: auto; left: 25px; }
.service-full-card:hover .service-full-icon {
    transform: rotate(-10deg) scale(1.1);
    background: var(--grad-navy);
    box-shadow: 0 15px 35px rgba(15,45,77,0.5);
}
.service-full-body {
    padding: 40px 25px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-full-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--t);
}
.service-full-card:hover .service-full-title {
    color: var(--red);
}
.service-full-desc {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 22px;
    flex: 1;
}
.service-full-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
    transition: var(--t);
    padding-top: 18px;
    border-top: 1px solid var(--border);
    width: 100%;
    justify-content: space-between;
}
.service-full-link i {
    transition: var(--t);
    color: var(--red);
}
.service-full-card:hover .service-full-link i {
    transform: translateX(-6px);
}
html[dir="ltr"] .service-full-card:hover .service-full-link i {
    transform: translateX(6px);
}
.service-full-card:hover .service-full-link {
    color: var(--navy);
}

/* ═══════════ SERVICE DETAILS PAGE ═══════════ */
.page-hero-service {
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 45px;
    align-items: start;
}
.service-detail-main {
    min-width: 0;
}
.service-detail-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 40px;
}
.service-detail-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.service-detail-icon {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 15px 40px rgba(217,35,50,0.55);
    z-index: 2;
}
html[dir="ltr"] .service-detail-icon { right: auto; left: 25px; }
.service-detail-title {
    font-size: 34px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.service-detail-desc {
    font-size: 16px;
    line-height: 2;
    color: var(--dark);
    margin-bottom: 35px;
}
.service-features-box {
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    padding: 35px 32px;
    border-left: 5px solid var(--red);
    margin-bottom: 40px;
}
html[dir="ltr"] .service-features-box { border-left: none; border-right: 5px solid var(--red); }
.service-features-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-features-title i {
    color: var(--gold);
    font-size: 22px;
}
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.6;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--t);
}
.service-feature-item:hover {
    transform: translateX(-4px);
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(217,35,50,0.08);
}
html[dir="ltr"] .service-feature-item:hover { transform: translateX(4px); }
.service-feature-item i {
    color: var(--red);
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

/* ═══════════ PROCESS STEPS ═══════════ */
.service-process {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.service-process-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-process-title i {
    color: var(--red);
    font-size: 22px;
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    position: relative;
}
.process-step {
    text-align: center;
    padding: 22px 15px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--t);
    position: relative;
    border: 1.5px solid transparent;
}
.process-step:hover {
    background: var(--white);
    border-color: var(--red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.process-step-number {
    font-size: 12px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.process-step-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.2);
}
.process-step:hover .process-step-icon {
    background: var(--grad-red);
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.process-step h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.3;
}
.process-step p {
    font-size: 12.5px;
    color: var(--gray);
    line-height: 1.6;
}

/* ═══════════ SERVICE SIDEBAR ═══════════ */
.service-detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CTA Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.sidebar-cta-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(217,35,50,0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sidebar-cta-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(217,35,50,0.5);
    position: relative;
    z-index: 2;
    animation: pulse-badge 3s ease-in-out infinite;
}
.sidebar-cta-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.sidebar-cta-card p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 22px;
    line-height: 1.65;
    position: relative;
    z-index: 2;
}
.sidebar-cta-card .btn {
    position: relative;
    z-index: 2;
}

/* List Card */
.sidebar-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.sidebar-list-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-list-title i {
    color: var(--red);
    font-size: 18px;
}
.sidebar-services-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-services-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    transition: var(--t);
    background: transparent;
}
.sidebar-services-list a i:first-child {
    color: var(--red);
    font-size: 15px;
    width: 20px;
    text-align: center;
    transition: var(--t);
}
.sidebar-services-list a i:last-child {
    margin-inline-start: auto;
    font-size: 10px;
    opacity: 0;
    transition: var(--t);
    color: var(--red);
}
.sidebar-services-list a span {
    flex: 1;
    line-height: 1.4;
}
.sidebar-services-list a:hover {
    background: var(--light);
    padding-inline-start: 18px;
}
.sidebar-services-list a:hover i:last-child {
    opacity: 1;
}
.sidebar-services-list a.active {
    background: var(--grad-navy);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(15,45,77,0.25);
}
.sidebar-services-list a.active i:first-child {
    color: var(--gold);
}
.sidebar-services-list a.active i:last-child {
    opacity: 1;
    color: var(--gold);
}

/* Contact Card */
.sidebar-contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.sidebar-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sidebar-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--dark);
    font-weight: 600;
    padding: 10px 12px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--t);
    word-break: break-word;
}
.sidebar-contact-list li:hover {
    background: var(--white);
    border: 1px solid var(--red);
    transform: translateX(-4px);
}
html[dir="ltr"] .sidebar-contact-list li:hover {
    transform: translateX(4px);
}
.sidebar-contact-list i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.sidebar-contact-list span {
    flex: 1;
}

/* ═══════════ RELATED SERVICES ═══════════ */
.related-services-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px dashed var(--border);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
    .service-detail-grid {
        grid-template-columns: 1fr 320px;
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-sidebar {
        position: static;
        grid-row: 1;
    }
    .service-detail-image img { height: 320px; }
    .service-detail-title { font-size: 26px; }
    .service-features-grid { grid-template-columns: 1fr; }
    .service-detail-icon { width: 65px; height: 65px; font-size: 26px; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .services-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 24px 10px;
        margin: 0 -24px 35px;
        flex-wrap: nowrap;
    }
    .services-filter::-webkit-scrollbar { height: 4px; }
    .services-filter::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
    .services-filter .filter-tab { flex-shrink: 0; padding: 10px 18px; font-size: 12.5px; }
    .services-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .services-stat { padding: 12px 15px; gap: 12px; }
    .services-stat i { width: 45px; height: 45px; font-size: 18px; }
    .services-stat strong { font-size: 20px; }
    .services-stat span { font-size: 11px; }
    
    .service-full-image { height: 200px; }
    .service-full-icon { width: 55px; height: 55px; font-size: 22px; bottom: -24px; }
    .service-full-body { padding: 35px 22px 25px; }
    .service-full-title { font-size: 18px; }
    
    .service-detail-image img { height: 240px; }
    .service-detail-title { font-size: 22px; }
    .service-detail-icon { width: 55px; height: 55px; font-size: 22px; bottom: 15px; }
    .service-features-box { padding: 25px 22px; }
    .service-features-title { font-size: 17px; }
    .service-process { padding: 30px 22px; }
    .service-process-title { font-size: 17px; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .process-step { padding: 18px 12px; }
    .process-step-icon { width: 44px; height: 44px; font-size: 17px; }
    .process-step h4 { font-size: 13px; }
    .process-step p { font-size: 11.5px; }
    
    .sidebar-cta-card { padding: 28px 22px; }
    .sidebar-list-card, .sidebar-contact-card { padding: 22px 20px; }
    .related-services-section { margin-top: 55px; padding-top: 45px; }
}

@media (max-width: 480px) {
    .services-stat { padding: 10px 12px; }
    .services-stat i { width: 40px; height: 40px; font-size: 16px; }
    .services-stat strong { font-size: 18px; }
    .service-detail-title { font-size: 20px; }
    .service-detail-desc { font-size: 14.5px; }
    .process-timeline { grid-template-columns: 1fr; }
    .service-features-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   SYSTEMS PAGE v4.0 - Dynamic
   ========================================================= */

/* ═══════════ SYSTEM HERO ═══════════ */
.system-hero {
    position: relative;
    padding: 110px 0 80px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.system-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(245,179,1,0.15), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(217,35,50,0.2), transparent 50%);
    pointer-events: none;
}
.system-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.system-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(245,179,1,0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
}
.system-hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.5);
}
.system-hero-desc {
    font-size: 17px;
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto 35px;
    line-height: 1.8;
}
.system-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.demo-credentials {
    display: inline-flex;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}
.demo-cred-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
}
.demo-cred-item i { color: var(--gold); }
.demo-cred-item strong {
    color: var(--white);
    font-weight: 800;
    background: rgba(245,179,1,0.2);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

/* ═══════════ SYSTEM OVERVIEW ═══════════ */
.system-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.system-full-desc {
    font-size: 16px;
    line-height: 1.95;
    color: var(--gray);
    margin-bottom: 30px;
}
.system-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}
.quick-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--t);
    border: 1px solid transparent;
}
.quick-info-item:hover {
    background: var(--white);
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.quick-info-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(217,35,50,0.3);
}
.quick-info-item strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
}
.quick-info-item span {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    font-weight: 600;
    margin-top: 3px;
}
.system-overview-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.system-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}
.system-overview-image:hover img { transform: scale(1.05); }

/* ═══════════ SCREENSHOTS GALLERY ═══════════ */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.screenshot-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    aspect-ratio: 4/3;
}
.screenshot-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.screenshot-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.screenshot-item:hover img { transform: scale(1.1); }
.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95) 0%, rgba(217,35,50,0.4) 60%, transparent 100%);
    opacity: 0;
    transition: var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
.screenshot-item:hover .screenshot-overlay { opacity: 1; }
.screenshot-zoom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transform: scale(0);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.screenshot-item:hover .screenshot-zoom { transform: scale(1); }
.screenshot-zoom:hover {
    background: var(--gold);
    transform: scale(1.15) !important;
}
.screenshot-title {
    margin-top: 15px;
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ═══════════ FEATURES TABS ═══════════ */
.features-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.features-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
}
.features-tab:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
}
.features-tab.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}
.features-tab-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 9px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
}
.features-tab.active .features-tab-count {
    background: rgba(255,255,255,0.25);
}

.features-content { position: relative; }
.features-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}
.features-panel.active { display: block; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 25px;
    border: 1.5px solid var(--border);
    transition: var(--t);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}
.feature-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.feature-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.2);
}
.feature-card:hover .feature-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.feature-content { flex: 1; }
.feature-content h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.feature-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ PLANS & PRICING ═══════════ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: var(--t);
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.plan-card.popular {
    border-color: var(--red);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f6 100%);
    box-shadow: 0 12px 40px rgba(217,35,50,0.15);
    transform: scale(1.02);
}
.plan-card.popular:hover {
    transform: scale(1.02) translateY(-10px);
}
.plan-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-gold);
    color: var(--navy-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.4);
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.plan-header { text-align: center; margin-bottom: 25px; }
.plan-name {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}
.plan-desc {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.6;
}
.plan-price {
    text-align: center;
    padding: 25px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 25px;
}
.plan-currency {
    font-size: 16px;
    color: var(--gray);
    font-weight: 700;
    vertical-align: top;
    margin-inline-end: 4px;
}
.plan-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -1px;
}
.plan-period {
    display: block;
    font-size: 12.5px;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 600;
}
.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex: 1;
}
.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}
.plan-feature-item i {
    color: var(--green);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 15px;
}
.plan-btn {
    width: 100%;
    justify-content: center;
}

/* ═══════════ SYSTEM REQUIREMENTS ═══════════ */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.requirement-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 22px;
    border: 1.5px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--t);
}
.requirement-card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.requirement-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--t);
}
.requirement-card:hover .requirement-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
}
.requirement-content h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 5px;
}
.requirement-content p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.6;
}

/* ═══════════ SYSTEM CTA ═══════════ */
.system-cta-section {
    background: var(--grad-navy);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.system-cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(217,35,50,0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.system-cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,179,1,0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.system-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.system-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 12px 30px rgba(217,35,50,0.5);
    animation: pulse-badge 3s ease-in-out infinite;
}
.system-cta-inner h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.35;
}
.system-cta-inner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.7;
}
.system-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════ SYSTEMS LISTING GRID ═══════════ */
.systems-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.system-showcase-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}
.system-showcase-item.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.system-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.system-showcase-head {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.system-showcase-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.system-showcase-item:hover .system-showcase-head img { transform: scale(1.1); }
.system-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.85) 0%, transparent 60%);
    transition: var(--t);
}
.system-showcase-item:hover .system-showcase-overlay {
    background: linear-gradient(to top, rgba(217,35,50,0.7) 0%, transparent 60%);
}
.system-version-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
html[dir="ltr"] .system-version-badge { right: auto; left: 15px; }
.system-showcase-icon {
    position: absolute;
    bottom: -28px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 12px 28px rgba(217,35,50,0.5);
    z-index: 3;
    transition: var(--t);
}
html[dir="ltr"] .system-showcase-icon { right: auto; left: 25px; }
.system-showcase-item:hover .system-showcase-icon {
    background: var(--grad-navy);
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(15,45,77,0.5);
}
.system-showcase-body {
    padding: 40px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.system-showcase-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--t);
}
.system-showcase-item:hover .system-showcase-title { color: var(--red); }
.system-showcase-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 15px;
    flex: 1;
}
.system-showcase-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(245,179,1,0.12);
    color: #b8860b;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 18px;
}
.system-showcase-price i { font-size: 12px; }
.system-showcase-actions {
    display: flex;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.btn-sm {
    padding: 10px 18px !important;
    font-size: 13px !important;
    flex: 1;
    justify-content: center;
}
.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ═══════════ MODAL ═══════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7,26,46,0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.modal-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 35px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--t);
    cursor: pointer;
    border: none;
}
html[dir="ltr"] .modal-close { right: auto; left: 15px; }
.modal-close:hover {
    background: var(--red);
    color: var(--white);
    transform: rotate(90deg);
}
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.modal-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}
.modal-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}
.modal-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.modal-form .form-group {
    margin-bottom: 16px;
}
.modal-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.modal-form .form-group input,
.modal-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: var(--light);
    color: var(--dark);
    transition: var(--t);
}
.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .system-overview-grid { grid-template-columns: 1fr; gap: 35px; }
    .system-overview-image { order: -1; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-item.featured { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
    .plan-card.popular { transform: none; }
    .plan-card.popular:hover { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .system-hero { padding: 80px 0 60px; }
    .demo-credentials { flex-direction: column; padding: 12px 18px; gap: 8px; }
    .system-hero-actions { flex-direction: column; align-items: center; }
    .system-hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
    
    .screenshots-grid { grid-template-columns: 1fr; gap: 15px; }
    .screenshot-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
    
    .features-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px 10px;
        margin: 0 -24px 30px;
        flex-wrap: nowrap;
    }
    .features-tabs::-webkit-scrollbar { height: 4px; }
    .features-tab { flex-shrink: 0; padding: 10px 18px; font-size: 12.5px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 22px 20px; gap: 14px; }
    .feature-icon { width: 48px; height: 48px; font-size: 18px; }
    
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card { padding: 32px 24px; }
    .plan-amount { font-size: 36px; }
    
    .requirements-grid { grid-template-columns: 1fr; }
    
    .system-cta-buttons { flex-direction: column; align-items: center; }
    .system-cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
    
    .modal-box { padding: 32px 22px; }
    .modal-form .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .modal-title { font-size: 20px; }
    .modal-icon { width: 60px; height: 60px; font-size: 24px; }
    
    .system-showcase-grid { grid-template-columns: 1fr; }
    .system-showcase-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .system-hero-title { font-size: 24px; }
    .system-hero-desc { font-size: 14.5px; }
    .system-hero-badge { font-size: 11.5px; padding: 8px 16px; }
    
    .quick-info-item { padding: 12px 15px; gap: 10px; }
    .quick-info-item i { width: 38px; height: 38px; font-size: 16px; }
    .quick-info-item strong { font-size: 14px; }
    
    .plan-amount { font-size: 32px; }
    .plan-name { font-size: 19px; }
    
    .screenshot-zoom { width: 48px; height: 48px; font-size: 18px; }
    .screenshot-title { font-size: 13px; }
}
/* =========================================================
   SYSTEMS PAGE v6.0 - Clear & Visible Design
   ========================================================= */

/* ═══════════ SYSTEM HERO ═══════════ */
.sys-hero {
    position: relative;
    padding: 100px 0 70px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.sys-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(245,179,1,0.12), transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(217,35,50,0.18), transparent 50%);
    pointer-events: none;
}
.sys-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.sys-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(245,179,1,0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.sys-hero-title {
    font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.5);
}
.sys-hero-subtitle {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.75;
    max-width: 720px;
    margin-inline: auto;
}
.sys-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.sys-demo-creds {
    display: inline-flex;
    gap: 22px;
    padding: 13px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}
.sys-demo-creds span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}
.sys-demo-creds i { color: var(--gold); }

/* ═══════════ QUICK STATS BAR ═══════════ */
.sys-stats-bar {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 30px 0;
    position: relative;
    z-index: 3;
    margin-top: -40px;
}
.sys-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sys-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    transition: var(--t);
}
.sys-stat:hover {
    background: rgba(217,35,50,0.2);
    border-color: var(--red);
    transform: translateY(-3px);
}
.sys-stat i {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(217,35,50,0.4);
}
.sys-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.sys-stat span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
    font-weight: 600;
}

/* ═══════════ SECTIONS ═══════════ */
.sys-section { padding: 80px 0; }
.sys-section-gray { background: var(--light); }
.sys-section-dark { background: var(--grad-navy); color: var(--white); }

.sys-head { text-align: center; max-width: 720px; margin: 0 auto 55px; }
.sys-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sys-label-gold { color: var(--gold); }
.sys-head h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.sys-head-light h2 { color: var(--white); }
.sys-head p { font-size: 15.5px; color: var(--gray); line-height: 1.8; }
.sys-head-light p { color: rgba(255,255,255,0.75); }

/* ═══════════ ABOUT ═══════════ */
.sys-about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 55px;
    align-items: center;
}
.sys-about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.sys-about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}
.sys-about-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    margin: 15px 0 20px;
    line-height: 1.25;
}
.sys-about-text {
    font-size: 16px;
    line-height: 1.95;
    color: var(--gray);
    margin-bottom: 25px;
}
.sys-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(245,179,1,0.35);
}
.sys-price span { font-size: 13px; }
.sys-price strong { font-size: 20px; font-weight: 900; }

/* ═══════════ MODULES ═══════════ */
.sys-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.sys-module-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--t);
    overflow: hidden;
}
.sys-module-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--grad-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.sys-module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.sys-module-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.sys-module-num {
    position: absolute;
    top: 20px;
    left: 22px;
    font-size: 38px;
    font-weight: 900;
    color: rgba(217,35,50,0.08);
    line-height: 1;
}
html[dir="ltr"] .sys-module-num { left: auto; right: 22px; }
.sys-module-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.2);
}
.sys-module-card:hover .sys-module-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.sys-module-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.sys-module-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ FEATURES BY CATEGORY ═══════════ */
.sys-features-sections {
    display: flex;
    flex-direction: column;
    gap: 45px;
}
.sys-feature-block { position: relative; }
.sys-feature-block-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}
.sys-feature-line {
    display: inline-block;
    width: 5px;
    height: 28px;
    background: var(--grad-red);
    border-radius: 3px;
}
.sys-feature-count {
    margin-inline-start: auto;
    padding: 4px 14px;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 800;
}
.sys-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.sys-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    transition: var(--t);
}
.sys-feature-item:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.sys-feature-item-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--t);
    box-shadow: 0 6px 15px rgba(217,35,50,0.3);
}
.sys-feature-item:hover .sys-feature-item-icon {
    background: var(--grad-navy);
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(15,45,77,0.35);
}
.sys-feature-item-body { flex: 1; min-width: 0; }
.sys-feature-item-body h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.4;
}
.sys-feature-item-body p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ REPORTS ═══════════ */
.sys-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.sys-report-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.sys-report-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.sys-report-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}
.sys-report-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.sys-report-icon {
    width: 65px; height: 65px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.25);
}
.sys-report-card:hover .sys-report-icon {
    background: var(--grad-gold);
    color: var(--navy-dark);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(245,179,1,0.4);
}
.sys-report-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.sys-report-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ PERMISSIONS ═══════════ */
.sys-permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.sys-permission-card {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    transition: var(--t);
    color: var(--white);
}
.sys-permission-card:hover {
    background: rgba(217,35,50,0.15);
    border-color: var(--red);
    transform: translateY(-6px);
}
.sys-permission-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.sys-permission-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(217,35,50,0.4);
}
.sys-permission-level {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.level-full { background: rgba(37,211,102,0.2); color: #25D366; }
.level-partial { background: rgba(245,179,1,0.2); color: #f5b301; }
.level-limited { background: rgba(217,35,50,0.2); color: #ff6b6b; }
.sys-permission-card h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--white);
}
.sys-permission-card p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* ═══════════ STRENGTHS ═══════════ */
.sys-strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.sys-strength-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    border: 1.5px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.sys-strength-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--grad-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.sys-strength-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.sys-strength-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.sys-strength-num {
    position: absolute;
    top: 15px;
    left: 22px;
    font-size: 44px;
    font-weight: 900;
    color: rgba(217,35,50,0.07);
    line-height: 1;
}
html[dir="ltr"] .sys-strength-num { left: auto; right: 22px; }
.sys-strength-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(245,179,1,0.35);
}
.sys-strength-card:hover .sys-strength-icon {
    background: var(--grad-red);
    color: var(--white);
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.sys-strength-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.sys-strength-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
}

/* ═══════════ SCREENSHOTS ═══════════ */
.sys-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sys-screenshot {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--t);
}
.sys-screenshot-lg {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.sys-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sys-screenshot:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.sys-screenshot:hover img { transform: scale(1.08); }
.sys-screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.9), transparent 60%);
    opacity: 0;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sys-screenshot:hover .sys-screenshot-overlay { opacity: 1; }
.sys-screenshot-zoom {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: transform 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.sys-screenshot:hover .sys-screenshot-zoom { transform: scale(1); }
.sys-screenshot-zoom:hover { background: var(--gold); transform: scale(1.15) !important; }
.sys-screenshot-label {
    margin-top: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

/* ═══════════ PLANS ═══════════ */
.sys-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
    align-items: stretch;
}
.sys-plan {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    border: 2px solid var(--border);
    transition: var(--t);
    position: relative;
    display: flex;
    flex-direction: column;
}
.sys-plan:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.sys-plan-popular {
    border-color: var(--red);
    background: linear-gradient(180deg, #fff 0%, #fff5f6 100%);
    box-shadow: 0 12px 40px rgba(217,35,50,0.15);
    transform: scale(1.02);
}
.sys-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-gold);
    color: var(--navy-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.4);
    white-space: nowrap;
}
.sys-plan h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
    text-align: center;
}
.sys-plan-desc {
    font-size: 13.5px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.6;
}
.sys-plan-price {
    text-align: center;
    padding: 22px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 22px;
}
.sys-plan-price span {
    font-size: 16px;
    color: var(--gray);
    font-weight: 700;
    vertical-align: top;
    margin-inline-end: 5px;
}
.sys-plan-price strong {
    font-size: 42px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -1px;
}
.sys-plan-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 25px;
    flex: 1;
}
.sys-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}
.sys-plan-features i {
    color: var(--green);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ═══════════ REQUIREMENTS ═══════════ */
.sys-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.sys-req-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: var(--t);
}
.sys-req-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.sys-req-card > i {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--t);
}
.sys-req-card:hover > i {
    background: var(--grad-red);
    transform: rotate(-6deg) scale(1.05);
}
.sys-req-card h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 5px;
}
.sys-req-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* ═══════════ CTA ═══════════ */
.sys-cta {
    background: var(--grad-navy);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.sys-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(217,35,50,0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sys-cta::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,179,1,0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sys-cta-inner { position: relative; z-index: 2; text-align: center; color: var(--white); }
.sys-cta-icon {
    width: 75px; height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--grad-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 30px rgba(217,35,50,0.5);
    animation: pulse-badge 3s ease-in-out infinite;
}
.sys-cta-inner h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    margin-bottom: 12px;
}
.sys-cta-inner p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.7;
}
.sys-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════ RELATED ═══════════ */
.sys-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.sys-related-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--t);
    display: block;
}
.sys-related-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
    box-shadow: var(--shadow-xl);
}
.sys-related-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.sys-related-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sys-related-card:hover .sys-related-image img { transform: scale(1.1); }
.sys-related-version {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 4px 11px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    color: var(--navy);
}
html[dir="ltr"] .sys-related-version { right: auto; left: 12px; }
.sys-related-body { padding: 22px; }
.sys-related-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.sys-related-body p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
}
.sys-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13.5px;
    font-weight: 700;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .sys-about { grid-template-columns: 1fr; gap: 35px; }
    .sys-about-image img { height: 320px; }
    .sys-about-content h2 { font-size: 26px; }
    .sys-screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .sys-screenshot-lg { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
    .sys-plan-popular { transform: none; }
    .sys-plan-popular:hover { transform: translateY(-10px); }
    .sys-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sys-section { padding: 55px 0; }
    .sys-head { margin-bottom: 40px; }
    .sys-hero { padding: 70px 0 55px; }
    .sys-hero-btns { flex-direction: column; align-items: center; }
    .sys-hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
    .sys-demo-creds { flex-direction: column; gap: 8px; padding: 12px 18px; }
    
    .sys-modules-grid { grid-template-columns: 1fr; gap: 15px; }
    .sys-module-card { padding: 25px 20px; }
    
    .sys-feature-list { grid-template-columns: 1fr; }
    .sys-feature-item { padding: 16px 18px; }
    .sys-feature-item-icon { width: 42px; height: 42px; font-size: 16px; }
    .sys-feature-block-title { font-size: 17px; }
    
    .sys-reports-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sys-report-card { padding: 20px 16px; }
    .sys-report-icon { width: 50px; height: 50px; font-size: 20px; margin-bottom: 14px; }
    .sys-report-card h4 { font-size: 14px; }
    .sys-report-card p { font-size: 12px; }
    
    .sys-permissions-grid { grid-template-columns: 1fr; gap: 15px; }
    .sys-permission-card { padding: 20px 18px; }
    
    .sys-strengths-grid { grid-template-columns: 1fr; gap: 15px; }
    .sys-strength-card { padding: 25px 20px; }
    .sys-strength-icon { width: 52px; height: 52px; font-size: 22px; margin-bottom: 15px; }
    
    .sys-screenshots-grid { grid-template-columns: 1fr; gap: 12px; }
    .sys-screenshot-lg { grid-column: span 1; }
    
    .sys-plans-grid { grid-template-columns: 1fr; gap: 30px; }
    .sys-plan { padding: 32px 22px; }
    .sys-plan-price strong { font-size: 36px; }
    
    .sys-req-grid { grid-template-columns: 1fr; gap: 12px; }
    
    .sys-cta-btns { flex-direction: column; align-items: center; }
    .sys-cta-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
    
    .sys-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .sys-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sys-stat { padding: 12px; gap: 10px; }
    .sys-stat i { width: 40px; height: 40px; font-size: 16px; }
    .sys-stat strong { font-size: 20px; }
    .sys-stat span { font-size: 10.5px; }
    
    .sys-reports-grid { grid-template-columns: 1fr; }
    
    .sys-feature-block-title { font-size: 15px; }
    .sys-feature-item-body h4 { font-size: 14px; }
    .sys-feature-item-body p { font-size: 12.5px; }
    
    .sys-plan-price strong { font-size: 32px; }
    .sys-plan h3 { font-size: 19px; }
}

/* =========================================================
   PROJECTS PAGE v5.0 - Full Dynamic
   ========================================================= */

/* ═══════════ PROJECT HERO ═══════════ */
.proj-hero {
    position: relative;
    padding: 110px 0 80px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.proj-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.proj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(245,179,1,0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.proj-hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.5);
}
.proj-hero-subtitle {
    font-size: 16px;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.85;
}
.proj-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.proj-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}
.proj-meta-item i { color: var(--gold); }
.proj-meta-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 800;
}
.status-completed { background: rgba(37,211,102,0.2); color: #25D366; }
.status-in_progress { background: rgba(245,179,1,0.2); color: #f5b301; }
.status-planning { background: rgba(99,102,241,0.2); color: #a5b4fc; }

/* ═══════════ SECTIONS ═══════════ */
.proj-section { padding: 80px 0; }
.proj-section-gray { background: var(--light); }
.proj-section-dark { background: var(--grad-navy); color: var(--white); }

.proj-head { text-align: center; max-width: 720px; margin: 0 auto 55px; }
.proj-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.proj-label-gold { color: var(--gold); }
.proj-head h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.proj-head-light h2 { color: var(--white); }
.proj-head p { font-size: 15.5px; color: var(--gray); line-height: 1.8; }
.proj-head-light p { color: rgba(255,255,255,0.75); }

/* ═══════════ OVERVIEW ═══════════ */
.proj-overview {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
    align-items: center;
}
.proj-overview-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.proj-overview-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.proj-overview-image:hover img { transform: scale(1.04); }
.proj-client-badge {
    position: absolute;
    bottom: 22px;
    right: 22px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--white);
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border: 4px solid var(--gold);
    overflow: hidden;
}
html[dir="ltr"] .proj-client-badge { right: auto; left: 22px; }
.proj-client-badge img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.proj-overview-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    margin: 15px 0 20px;
    line-height: 1.25;
}
.proj-overview-text {
    font-size: 16px;
    line-height: 1.95;
    color: var(--gray);
    margin-bottom: 30px;
}
.proj-client-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 4px solid var(--red);
}
html[dir="ltr"] .proj-client-card { border-left: none; border-right: 4px solid var(--red); }
.proj-client-icon {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(217,35,50,0.35);
}
.proj-client-card span {
    display: block;
    font-size: 12.5px;
    color: var(--gray);
    margin-bottom: 3px;
    font-weight: 600;
}
.proj-client-card strong {
    font-size: 17px;
    font-weight: 900;
    color: var(--navy);
}

/* ═══════════ RESULTS / IMPACT ═══════════ */
.proj-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.proj-result-card {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    text-align: center;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.proj-result-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.proj-result-card:hover {
    background: rgba(245,179,1,0.1);
    border-color: var(--gold);
    transform: translateY(-8px);
}
.proj-result-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.proj-result-icon {
    width: 65px; height: 65px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.4);
    transition: var(--t);
}
.proj-result-card:hover .proj-result-icon {
    transform: rotate(-8deg) scale(1.1);
}
.proj-result-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.proj-result-value span {
    font-size: 24px;
    vertical-align: top;
    margin-inline-start: 2px;
}
.proj-result-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
}
.proj-result-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ═══════════ GALLERY ═══════════ */
.proj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.proj-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--t);
}
.proj-gallery-lg {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.proj-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.proj-gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.proj-gallery-item:hover img { transform: scale(1.08); }
.proj-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95), transparent 60%);
    opacity: 0;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.proj-gallery-item:hover .proj-gallery-overlay { opacity: 1; }
.proj-gallery-zoom {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: transform 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.proj-gallery-item:hover .proj-gallery-zoom { transform: scale(1); }
.proj-gallery-zoom:hover {
    background: var(--gold);
    transform: scale(1.15) !important;
}
.proj-gallery-label {
    margin-top: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

/* ═══════════ FEATURES ═══════════ */
.proj-features-sections {
    display: flex;
    flex-direction: column;
    gap: 45px;
}
.proj-feature-block-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}
.proj-feature-line {
    display: inline-block;
    width: 5px;
    height: 28px;
    background: var(--grad-red);
    border-radius: 3px;
}
.proj-feature-count {
    margin-inline-start: auto;
    padding: 4px 14px;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 800;
}
.proj-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.proj-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    transition: var(--t);
}
.proj-feature-item:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.proj-feature-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--t);
    box-shadow: 0 6px 15px rgba(217,35,50,0.3);
}
.proj-feature-item:hover .proj-feature-icon {
    background: var(--grad-navy);
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(15,45,77,0.35);
}
.proj-feature-body { flex: 1; min-width: 0; }
.proj-feature-body h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.4;
}
.proj-feature-body p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ PHASES TIMELINE ═══════════ */
.proj-phases-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.proj-phases-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 35px;
    width: 4px;
    background: linear-gradient(to bottom, var(--red), var(--gold), var(--red));
    border-radius: 2px;
}
html[dir="ltr"] .proj-phases-timeline::before { right: auto; left: 35px; }

.proj-phase-item {
    position: relative;
    padding-inline-start: 0;
    padding-inline-end: 100px;
    margin-bottom: 30px;
}
html[dir="ltr"] .proj-phase-item { padding-inline-end: 0; padding-inline-start: 100px; }

.proj-phase-marker {
    position: absolute;
    top: 30px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(217,35,50,0.45);
    border: 4px solid var(--white);
    z-index: 2;
}
html[dir="ltr"] .proj-phase-marker { right: auto; left: 15px; }

.proj-phase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 28px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
}
.proj-phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.proj-phase-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}
.proj-phase-icon {
    width: 50px; height: 50px;
    border-radius: 15px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(15,45,77,0.2);
}
.proj-phase-card:hover .proj-phase-icon {
    background: var(--grad-red);
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(217,35,50,0.4);
}
.proj-phase-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(245,179,1,0.15);
    color: #b8860b;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}
.proj-phase-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.35;
}
.proj-phase-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
}

/* ═══════════ TECHNOLOGIES ═══════════ */
.proj-tech-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.proj-tech-block-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.proj-tech-block-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 20px;
    background: var(--grad-red);
    border-radius: 3px;
}
.proj-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.proj-tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    transition: var(--t);
}
.proj-tech-chip i {
    color: var(--red);
    font-size: 14px;
}
.proj-tech-chip:hover {
    background: var(--grad-navy);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.proj-tech-chip:hover i { color: var(--gold); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .proj-overview { grid-template-columns: 1fr; gap: 35px; }
    .proj-overview-image img { height: 320px; }
    .proj-overview-content h2 { font-size: 26px; }
    .proj-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-gallery-lg { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
    .proj-section { padding: 55px 0; }
    .proj-hero { padding: 75px 0 55px; }
    .proj-hero-meta { padding: 15px 18px; gap: 12px; }
    .proj-meta-item { font-size: 12px; }
    
    .proj-feature-list { grid-template-columns: 1fr; }
    .proj-feature-item { padding: 16px 18px; }
    .proj-feature-icon { width: 42px; height: 42px; font-size: 16px; }
    .proj-feature-block-title { font-size: 17px; }
    
    .proj-gallery-grid { grid-template-columns: 1fr; }
    .proj-gallery-lg { grid-column: span 1; }
    
    .proj-results-grid { grid-template-columns: 1fr; }
    .proj-result-value { font-size: 40px; }
    
    .proj-phases-timeline::before { right: 25px; }
    html[dir="ltr"] .proj-phases-timeline::before { right: auto; left: 25px; }
    .proj-phase-item { padding-inline-end: 75px; }
    html[dir="ltr"] .proj-phase-item { padding-inline-end: 0; padding-inline-start: 75px; }
    .proj-phase-marker { width: 38px; height: 38px; right: 8px; top: 25px; font-size: 11.5px; }
    html[dir="ltr"] .proj-phase-marker { right: auto; left: 8px; }
    .proj-phase-card { padding: 22px 20px; }
    .proj-phase-card h3 { font-size: 17px; }
    
    .proj-tech-chip { padding: 8px 15px; font-size: 12.5px; }
}

@media (max-width: 480px) {
    .proj-hero-title { font-size: 24px; }
    .proj-hero-subtitle { font-size: 14px; }
    .proj-hero-meta { flex-direction: column; padding: 15px; }
    .proj-meta-item { font-size: 12px; }
    
    .proj-overview-image img { height: 240px; }
    .proj-overview-content h2 { font-size: 22px; }
    .proj-overview-text { font-size: 14.5px; }
    
    .proj-result-value { font-size: 34px; }
    .proj-result-icon { width: 55px; height: 55px; font-size: 22px; }
    
    .proj-phase-item { padding-inline-end: 65px; }
    html[dir="ltr"] .proj-phase-item { padding-inline-end: 0; padding-inline-start: 65px; }
    .proj-phase-marker { width: 34px; height: 34px; font-size: 10.5px; right: 8px; }
    html[dir="ltr"] .proj-phase-marker { right: auto; left: 8px; }
}

/* =========================================================
   CONTACT PAGE v4.0
   ========================================================= */

/* ═══════════ HERO ═══════════ */
.contact-hero {
    position: relative;
    padding: 100px 0 70px;
    background: var(--grad-navy);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(217,35,50,0.25), transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(245,179,1,0.18), transparent 50%);
    pointer-events: none;
}
.contact-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.contact-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(245,179,1,0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.contact-hero-title {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.contact-hero-desc {
    font-size: 16.5px;
    line-height: 1.85;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 35px;
}
.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 22px 30px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-stat i {
    font-size: 26px;
    color: var(--gold);
}
.hero-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}
.hero-stat span {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ═══════════ CONTACT METHODS ═══════════ */
.contact-methods-section {
    padding: 0 0 60px;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.contact-method-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--method-color, var(--red));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}
html[dir="ltr"] .contact-method-card::before { right: auto; left: 0; }
.contact-method-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--method-color, var(--red));
}
.contact-method-card:hover::before { transform: scaleY(1); }
.contact-method-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--method-color, var(--red));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: var(--t);
}
.contact-method-card:hover .contact-method-icon {
    transform: rotate(-8deg) scale(1.08);
}
.contact-method-body { flex: 1; min-width: 0; }
.contact-method-body h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--gray);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.contact-method-value {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    word-break: break-word;
}
.contact-method-desc {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    margin-top: 3px;
}
.contact-method-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--light);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--t);
    flex-shrink: 0;
}
.contact-method-card:hover .contact-method-arrow {
    background: var(--method-color, var(--red));
    color: var(--white);
    transform: translateX(-4px);
}
html[dir="ltr"] .contact-method-card:hover .contact-method-arrow { transform: translateX(4px); }

/* ═══════════ SECTIONS ═══════════ */
.contact-section { padding: 75px 0; }
.contact-section-gray { background: var(--light); }
.contact-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.contact-head h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.contact-head p { font-size: 15.5px; color: var(--gray); line-height: 1.8; }

/* ═══════════ DEPARTMENTS ═══════════ */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.department-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    border: 1.5px solid var(--border);
    transition: var(--t);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.department-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: var(--dep-color, var(--red));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.department-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--dep-color, var(--red));
}
.department-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.department-icon {
    width: 65px; height: 65px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--dep-color, var(--red));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: var(--t);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.department-card:hover .department-icon {
    transform: rotate(-8deg) scale(1.08);
}
.department-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}
.department-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
}
.department-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}
.department-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light);
    color: var(--navy);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    transition: var(--t);
    word-break: break-word;
}
.department-btn i { color: var(--dep-color, var(--red)); }
.department-btn:hover {
    background: var(--dep-color, var(--red));
    color: var(--white);
}
.department-btn:hover i { color: var(--white); }

/* ═══════════ CONTACT FORM WRAPPER ═══════════ */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
}
.contact-sidebar-block {
    background: var(--grad-navy);
    color: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.contact-sidebar-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(217,35,50,0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.contact-sidebar-icon {
    width: 70px; height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(217,35,50,0.45);
    position: relative;
    z-index: 2;
    animation: pulse-badge 3s ease-in-out infinite;
}
.contact-sidebar-block h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.contact-sidebar-block p {
    font-size: 13.5px;
    opacity: 0.85;
    line-height: 1.75;
    position: relative;
    z-index: 2;
}

.contact-sidebar-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    transition: var(--t);
    background: var(--light);
}
.sidebar-item:hover {
    background: var(--white);
    border: 1px solid var(--red);
    transform: translateX(-4px);
}
html[dir="ltr"] .sidebar-item:hover { transform: translateX(4px); }
.sidebar-item-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sidebar-item span {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    margin-bottom: 2px;
    font-weight: 600;
}
.sidebar-item strong {
    display: block;
    font-size: 13.5px;
    color: var(--navy);
    font-weight: 800;
    word-break: break-word;
}

.contact-hours-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}
.contact-hours-icon {
    width: 55px; height: 55px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.35);
}
.contact-hours-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}
.hours-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 5px;
    line-height: 1.5;
}
.hours-desc {
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}

.contact-social-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}
.contact-social-block h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}
.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.social-link {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 17px;
    transition: var(--t);
}
.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0a66c2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Form */
.contact-form-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}
.contact-alert i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.contact-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.contact-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }

.contact-form .contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form-group {
    margin-bottom: 22px;
}
.contact-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 9px;
}
.contact-form-group label i {
    color: var(--red);
    font-size: 13px;
}
.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    background: var(--light);
    color: var(--dark);
    transition: var(--t);
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
    transform: translateY(-1px);
}
.contact-form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

/* Department Radio Grid */
.department-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.department-radio {
    cursor: pointer;
}
.department-radio input {
    display: none;
}
.department-radio-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--light);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    transition: var(--t);
    text-align: center;
    justify-content: center;
}
.department-radio-inner i {
    color: var(--red);
    font-size: 14px;
}
.department-radio input:checked + .department-radio-inner {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(217,35,50,0.3);
}
.department-radio input:checked + .department-radio-inner i {
    color: var(--white);
}
.department-radio-inner:hover {
    border-color: var(--red);
    transform: translateY(-2px);
}

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}
.form-note i { color: var(--green); }

/* ═══════════ BRANCHES ═══════════ */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}
.branch-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--t);
}
.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.branch-card.branch-main {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(245,179,1,0.15);
}
.branch-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.branch-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.branch-card:hover .branch-image img { transform: scale(1.1); }
.branch-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.85), transparent 60%);
}
.branch-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.5);
    z-index: 2;
}
html[dir="ltr"] .branch-badge { right: auto; left: 18px; }
.branch-content {
    padding: 28px;
}
.branch-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}
.branch-content h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.35;
}
.branch-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
}
.branch-address i { color: var(--red); margin-top: 5px; flex-shrink: 0; }
.branch-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.branch-contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
    transition: var(--t);
}
.branch-contacts a i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.branch-contacts a:hover {
    color: var(--red);
    transform: translateX(-4px);
}
html[dir="ltr"] .branch-contacts a:hover { transform: translateX(4px); }
.branch-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--grad-navy);
    color: var(--white);
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    transition: var(--t);
}
.branch-directions:hover {
    background: var(--grad-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
    .contact-methods-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .contact-form-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .contact-sidebar { position: static; }
    .branches-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-hero { padding: 75px 0 55px; }
    .contact-hero-stats { flex-direction: column; gap: 15px; padding: 18px 20px; align-items: center; text-align: center; }
    .hero-stat { flex-direction: row; justify-content: center; }
    
    .contact-methods-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-method-card { padding: 16px 18px; }
    .contact-method-icon { width: 48px; height: 48px; font-size: 18px; }
    .contact-method-body h4 { font-size: 12.5px; }
    .contact-method-value { font-size: 13px; }
    
    .contact-section { padding: 55px 0; }
    .contact-head { margin-bottom: 35px; }
    
    .departments-grid { grid-template-columns: 1fr; gap: 15px; }
    .department-card { padding: 24px 20px; }
    
    .contact-form-main { padding: 28px 22px; }
    .contact-form .contact-form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-group { margin-bottom: 18px; }
    .contact-form-group input, .contact-form-group textarea { padding: 12px 15px; font-size: 14px; }
    
    .department-select-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .department-radio-inner { padding: 10px; font-size: 12px; }
    
    .contact-form-actions { flex-direction: column; align-items: stretch; }
    .contact-form-actions .btn { width: 100%; justify-content: center; }
    .form-note { justify-content: center; font-size: 11.5px; }
    
    .branch-image { height: 200px; }
    .branch-content { padding: 22px; }
    .branch-content h3 { font-size: 18px; }
    .branch-directions { width: 100%; justify-content: center; }
    
    .contact-sidebar-block, .contact-sidebar-list, .contact-hours-card, .contact-social-block { padding: 20px 18px; }
}

@media (max-width: 480px) {
    .contact-hero-title { font-size: 24px; }
    .contact-hero-desc { font-size: 14.5px; }
    .department-select-grid { grid-template-columns: 1fr; }
    .branch-content h3 { font-size: 17px; }
}

/* =========================================================
   AI ASSISTANT PAGE v5.0
   ========================================================= */

/* ═══════════ HERO ═══════════ */
.ai-hero {
    position: relative;
    padding: 100px 0 70px;
    background: var(--grad-navy);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}
.ai-hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(217,35,50,0.3), transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(245,179,1,0.2), transparent 50%);
    pointer-events: none;
    animation: pulse-slow 8s ease-in-out infinite;
}
.ai-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(37,211,102,0.15);
    border: 1.5px solid var(--green);
    color: var(--green);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.ai-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    animation: ai-pulse-anim 2s infinite;
}
@keyframes ai-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.ai-hero-title {
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.ai-hero-desc {
    font-size: 16.5px;
    line-height: 1.85;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 40px;
}
.ai-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}
.ai-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--t);
}
.ai-stat:hover {
    background: rgba(217,35,50,0.15);
    border-color: var(--red);
    transform: translateY(-3px);
}
.ai-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(217,35,50,0.4);
}
.ai-stat strong {
    display: block;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    color: var(--gold);
}
.ai-stat span {
    display: block;
    font-size: 11.5px;
    opacity: 0.85;
    margin-top: 4px;
    font-weight: 600;
}

/* ═══════════ SECTION ═══════════ */
.ai-section {
    padding: 60px 0 80px;
    background: var(--light);
}

/* ═══════════ WRAPPER ═══════════ */
.ai-chat-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 25px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ═══════════ SIDEBAR ═══════════ */
.ai-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-inline-end: 4px;
}
.ai-sidebar::-webkit-scrollbar { width: 4px; }
.ai-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ai-sidebar-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--grad-navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.ai-sidebar-head::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217,35,50,0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-sidebar-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245,179,1,0.4);
    position: relative;
    z-index: 2;
}
.ai-sidebar-head h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}
.ai-sidebar-head p {
    font-size: 12.5px;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

/* Categories */
.ai-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.ai-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--light);
    border: 1.5px solid transparent;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
    white-space: nowrap;
}
.ai-cat-btn i {
    font-size: 12px;
    color: var(--cat-color, var(--red));
    transition: var(--t);
}
.ai-cat-btn:hover {
    background: var(--white);
    border-color: var(--cat-color, var(--red));
    transform: translateY(-2px);
}
.ai-cat-btn.active {
    background: var(--cat-color, var(--red));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.ai-cat-btn.active i { color: var(--white); }
.ai-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 800;
}
.ai-cat-btn.active .ai-cat-count { background: rgba(255,255,255,0.25); }

/* Suggestions */
.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    min-height: 200px;
}
.ai-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--light);
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-align: start;
    cursor: pointer;
    transition: var(--t);
    line-height: 1.5;
    animation: aiFadeIn 0.35s ease;
}
@keyframes aiFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-suggestion i:first-child {
    color: var(--cat-color, var(--red));
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: var(--t);
}
.ai-suggestion span {
    flex: 1;
    min-width: 0;
}
.ai-suggestion i:last-child {
    font-size: 10px;
    color: var(--gray);
    opacity: 0;
    margin-top: 4px;
    transition: var(--t);
}
.ai-suggestion:hover {
    background: var(--white);
    border-color: var(--cat-color, var(--red));
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
html[dir="ltr"] .ai-suggestion:hover { transform: translateX(4px); }
.ai-suggestion:hover i:last-child { opacity: 1; }
.ai-suggestion:hover i:first-child { color: var(--cat-color, var(--red)); transform: scale(1.15); }

/* Tips */
.ai-tips {
    padding: 20px;
    background: linear-gradient(135deg, rgba(245,179,1,0.08), rgba(217,35,50,0.05));
    border: 1.5px solid rgba(245,179,1,0.3);
    border-radius: var(--radius-lg);
}
.ai-tips-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.ai-tips-head i {
    color: var(--gold);
    font-size: 16px;
}
.ai-tips-head h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
}
.ai-tips > p {
    font-size: 12.5px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.6;
}
.ai-tips ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ai-tips li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--dark);
    font-weight: 600;
}
.ai-tips li i {
    color: var(--green);
    font-size: 12px;
}

/* ═══════════ CHAT ═══════════ */
.ai-chat {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    min-height: 650px;
    max-height: 800px;
    border: 1px solid var(--border);
}

/* Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: var(--grad-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.ai-chat-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217,35,50,0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-chat-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(217,35,50,0.5);
    z-index: 2;
    flex-shrink: 0;
}
.ai-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: var(--green);
    border: 2.5px solid var(--navy);
    border-radius: 50%;
    animation: ai-online-pulse 2s infinite;
}
@keyframes ai-online-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.ai-chat-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}
.ai-chat-info h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}
.ai-chat-info span {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-chat-info span i {
    font-size: 7px;
    color: var(--green);
    animation: ai-blink 2s infinite;
}
@keyframes ai-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ai-chat-actions {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.ai-chat-action {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: var(--t);
    border: none;
}
.ai-chat-action:hover {
    background: var(--red);
    transform: rotate(-180deg);
}

/* Body */
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px 22px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}
.ai-chat-body::-webkit-scrollbar { width: 6px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.ai-chat-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Messages */
.ai-message {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 85%;
    animation: aiMsgIn 0.35s ease;
}
@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message-user {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}
.ai-msg-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15,45,77,0.2);
}
.ai-message-user .ai-msg-avatar {
    background: var(--grad-red);
    box-shadow: 0 4px 12px rgba(217,35,50,0.3);
}
.ai-msg-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 100%;
    word-wrap: break-word;
}
.ai-message-bot .ai-msg-bubble {
    background: var(--white);
    border: 1px solid var(--border);
    border-bottom-right-radius: 4px;
    color: var(--dark);
}
html[dir="ltr"] .ai-message-bot .ai-msg-bubble {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 4px;
}
.ai-message-user .ai-msg-bubble {
    background: var(--grad-navy);
    color: var(--white);
    border-bottom-left-radius: 4px;
}
html[dir="ltr"] .ai-message-user .ai-msg-bubble {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 4px;
}
.ai-msg-content {
    font-size: 14.5px;
    line-height: 1.75;
}
.ai-msg-content strong {
    color: var(--red);
    font-weight: 800;
}
.ai-message-user .ai-msg-content strong { color: var(--gold); }
.ai-msg-content .bullet {
    color: var(--red);
    font-weight: 900;
    margin-inline-end: 4px;
}
.ai-msg-time {
    display: block;
    font-size: 10.5px;
    opacity: 0.6;
    margin-top: 6px;
    text-align: end;
}
.ai-message-bot .ai-msg-time { text-align: start; }

/* Typing */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: var(--white);
    border-top: 1px solid var(--border);
    animation: aiFadeIn 0.3s ease;
}
.ai-typing-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.ai-typing-dots {
    display: flex;
    gap: 5px;
}
.ai-typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray);
    animation: aiTypingAnim 1.4s infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTypingAnim {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-8px); opacity: 1; }
}
.ai-typing-text {
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}

/* Footer */
.ai-chat-footer {
    padding: 15px 20px 12px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.ai-chat-form {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.ai-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.ai-input-icon {
    position: absolute;
    inset-inline-start: 18px;
    color: var(--gray);
    font-size: 15px;
    pointer-events: none;
}
.ai-input-wrapper input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 14.5px;
    background: var(--light);
    color: var(--dark);
    transition: var(--t);
}
html[dir="ltr"] .ai-input-wrapper input { padding: 14px 48px 14px 48px; }
.ai-input-wrapper input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
}
.ai-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: var(--t);
    border: none;
    box-shadow: 0 6px 18px rgba(217,35,50,0.4);
    flex-shrink: 0;
}
.ai-send-btn:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(217,35,50,0.55);
}
.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Quick Chips */
.ai-quick-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
    white-space: nowrap;
}
.ai-chip i {
    color: var(--red);
    font-size: 12px;
}
.ai-chip:hover {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217,35,50,0.3);
}
.ai-chip:hover i { color: var(--white); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .ai-chat-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .ai-sidebar { position: static; max-height: none; }
    .ai-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .ai-chat { height: 600px; min-height: 500px; }
}

@media (max-width: 768px) {
    .ai-hero { padding: 75px 0 55px; }
    .ai-hero-desc { font-size: 15px; }
    .ai-hero-stats { gap: 10px; }
    .ai-stat { padding: 12px; gap: 10px; }
    .ai-stat-icon { width: 38px; height: 38px; font-size: 15px; }
    .ai-stat strong { font-size: 16px; }
    .ai-stat span { font-size: 10.5px; }
    
    .ai-section { padding: 40px 0 60px; }
    
    .ai-categories { flex-wrap: nowrap; overflow-x: auto; padding: 12px; }
    .ai-categories::-webkit-scrollbar { height: 3px; }
    .ai-cat-btn { flex-shrink: 0; }
    
    .ai-chat { height: 550px; min-height: 450px; }
    .ai-chat-header { padding: 14px 16px; gap: 10px; }
    .ai-chat-avatar { width: 42px; height: 42px; font-size: 18px; }
    .ai-chat-info h4 { font-size: 14.5px; }
    .ai-chat-info span { font-size: 11px; }
    
    .ai-chat-body { padding: 18px 15px; }
    .ai-message { max-width: 90%; }
    .ai-msg-bubble { padding: 12px 15px; font-size: 13.5px; }
    .ai-msg-content { font-size: 13.5px; }
    .ai-msg-avatar { width: 34px; height: 34px; font-size: 13px; }
    
    .ai-chat-footer { padding: 12px 15px 10px; }
    .ai-input-wrapper input { padding: 12px 40px 12px 40px; font-size: 13.5px; }
    .ai-input-icon { inset-inline-start: 15px; font-size: 13px; }
    .ai-send-btn { width: 45px; height: 45px; font-size: 15px; }
    
    .ai-quick-chips { justify-content: flex-start; overflow-x: auto; padding-bottom: 5px; flex-wrap: nowrap; }
    .ai-quick-chips::-webkit-scrollbar { height: 3px; }
    .ai-chip { flex-shrink: 0; font-size: 11.5px; padding: 6px 12px; }
    
    .ai-sidebar-head { padding: 16px 18px; }
    .ai-sidebar-head h3 { font-size: 15px; }
    .ai-suggestion { padding: 10px 12px; font-size: 12.5px; }
}

@media (max-width: 480px) {
    .ai-hero-title { font-size: 24px; }
    .ai-hero-desc { font-size: 14px; }
    .ai-hero-stats { grid-template-columns: 1fr 1fr; }
    
    .ai-chat { height: 500px; }
    .ai-chat-actions { gap: 5px; }
    .ai-chat-action { width: 34px; height: 34px; font-size: 13px; }
    
    .ai-msg-bubble { padding: 10px 13px; font-size: 13px; }
    .ai-msg-content { font-size: 13px; }
}

/* =========================================================
   NEWS & GALLERY PAGES
   ========================================================= */

/* ═══════════ NEWS SINGLE ═══════════ */
.news-single-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
    font-size: 13.5px;
    opacity: 0.9;
}
.news-single-meta span { display: inline-flex; align-items: center; gap: 7px; }
.news-single-meta i { color: var(--gold); }

.article-share {
    margin-top: 35px;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
}
.article-share h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 15px; }
.share-buttons { display: flex; justify-content: center; gap: 12px; }
.share-btn {
    width: 45px; height: 45px;
    border-radius: 50%;
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    transition: var(--t);
}
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* News badges */
.news-cat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    color: white;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    z-index: 3;
}
html[dir="ltr"] .news-cat-badge { right: auto; left: 15px; }

.news-featured-badge {
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 5px 12px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 15px rgba(245,179,1,0.4);
    z-index: 3;
}
html[dir="ltr"] .news-featured-badge { right: auto; left: 15px; }

.news-footer-meta {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 12px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}
.news-footer-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-footer-meta i { color: var(--red); }

/* ═══════════ GALLERY MASONRY ═══════════ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 240px;
    gap: 18px;
}
.gallery-masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--t);
}
.gallery-masonry-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-masonry-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.gallery-masonry-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.gallery-masonry-item:hover img { transform: scale(1.12); }
.gallery-masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95) 0%, rgba(217,35,50,0.35) 60%, transparent 100%);
    opacity: 0;
    transition: var(--t);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.gallery-masonry-item:hover .gallery-masonry-overlay { opacity: 1; }
.gallery-masonry-icon {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    align-self: center;
    transform: scale(0);
    transition: transform 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    margin-top: 40px;
}
.gallery-masonry-item:hover .gallery-masonry-icon { transform: scale(1); }
.gallery-masonry-info { color: var(--white); }
.gallery-masonry-info h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.35;
}
.gallery-masonry-info p {
    font-size: 12.5px;
    opacity: 0.85;
    line-height: 1.5;
}
.gallery-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 4px 11px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 900;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }
    .gallery-masonry-item.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    .gallery-masonry-icon { width: 45px; height: 45px; font-size: 16px; margin-top: 20px; }
    .gallery-masonry-info h4 { font-size: 13px; }
    .gallery-masonry-info p { font-size: 11px; }
    .news-single-meta { gap: 15px; font-size: 12px; }
    .article-share { padding: 18px; }
    .share-btn { width: 40px; height: 40px; font-size: 15px; }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .gallery-masonry-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* =========================================================
   MEDIA CENTER v2.0
   ========================================================= */

/* ═══════════ MEDIA HERO ═══════════ */
.media-hero {
    position: relative;
    padding: 100px 0 70px;
    background: var(--grad-navy);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}
.media-hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(217,35,50,0.3), transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(245,179,1,0.2), transparent 50%);
    pointer-events: none;
}
.media-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.media-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(245,179,1,0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.media-hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.media-hero-desc {
    font-size: 16px;
    line-height: 1.85;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 40px;
}
.media-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}
.media-hstat {
    padding: 18px 15px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--t);
}
.media-hstat:hover {
    background: rgba(217,35,50,0.18);
    border-color: var(--red);
    transform: translateY(-4px);
}
.media-hstat i {
    display: block;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 8px;
}
.media-hstat strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}
.media-hstat span {
    display: block;
    font-size: 11.5px;
    opacity: 0.85;
    margin-top: 5px;
    font-weight: 600;
}

/* ═══════════ TABS ═══════════ */
.media-tabs-section {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 70px;
    z-index: 100;
    padding: 15px 0;
}
.media-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.media-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--t);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.media-tab:hover {
    background: var(--white);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.media-tab.active {
    background: var(--grad-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(217,35,50,0.35);
}
.media-tab-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: var(--grad-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--t);
}
.media-tab.active .media-tab-icon {
    background: rgba(255,255,255,0.25);
}
.media-tab-info { flex: 1; min-width: 0; }
.media-tab-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3px;
    line-height: 1.2;
}
.media-tab.active .media-tab-info strong { color: var(--white); }
.media-tab-info span {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    font-weight: 600;
}
.media-tab.active .media-tab-info span { color: rgba(255,255,255,0.85); }

/* ═══════════ SECTION ═══════════ */
.media-section { padding: 70px 0; background: var(--light); }
.media-section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.media-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.media-section-head h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.media-section-head p { font-size: 15px; color: var(--gray); line-height: 1.8; }

/* ═══════════ FEATURED NEWS ═══════════ */
.news-featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    transition: var(--t);
    text-decoration: none;
    border: 1px solid var(--border);
}
.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.news-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.news-featured-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.news-featured:hover .news-featured-image img { transform: scale(1.08); }
.news-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.5), transparent 60%);
}
.news-featured-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    padding: 8px 18px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.5);
}
html[dir="ltr"] .news-featured-badge { right: auto; left: 22px; }
.news-featured-content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--white);
    font-size: 11.5px;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.news-featured-content h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 15px;
}
.news-featured-content p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 22px;
}
.news-featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 22px;
}
.news-featured-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-featured-meta i { color: var(--red); }
.news-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14.5px;
    font-weight: 800;
    transition: var(--t);
}
.news-featured:hover .news-featured-btn { gap: 12px; }

/* ═══════════ MEDIA NEWS GRID ═══════════ */
.media-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.media-news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.media-news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.media-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
}
.media-news-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.media-news-card:hover .media-news-image img { transform: scale(1.1); }
.media-news-cat {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    color: var(--white);
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    z-index: 2;
}
html[dir="ltr"] .media-news-cat { right: auto; left: 15px; }
.media-news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}
.media-news-date {
    position: absolute;
    top: -25px;
    right: 25px;
    background: var(--grad-red);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
    z-index: 3;
}
html[dir="ltr"] .media-news-date { right: auto; left: 25px; }
.media-news-date span:first-child {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}
.media-news-date span:last-child {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}
.media-news-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 10px;
    padding-top: 10px;
}
.media-news-body h3 a:hover { color: var(--red); }
.media-news-body > p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}
.media-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}
.media-news-footer i { color: var(--red); }
.media-news-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
    transition: var(--t);
}
.media-news-read:hover { gap: 10px; }

/* ═══════════ ALBUMS GRID ═══════════ */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.album-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--t);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.album-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.album-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.album-card:hover .album-card-image img { transform: scale(1.1); }
.album-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.9) 0%, transparent 60%);
    transition: var(--t);
}
.album-card:hover .album-card-overlay {
    background: linear-gradient(to top, rgba(217,35,50,0.7) 0%, transparent 60%);
}
.album-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 15px rgba(245,179,1,0.5);
    z-index: 2;
}
html[dir="ltr"] .album-featured-badge { right: auto; left: 15px; }
.album-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--navy);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
html[dir="ltr"] .album-count { right: auto; left: 15px; }
.album-count i { color: var(--red); }
.album-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.album-card-cat {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.album-card-body h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.album-card-body > p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}
.album-card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}
.album-card-footer span { display: inline-flex; align-items: center; gap: 6px; }
.album-card-footer i { color: var(--red); }

/* ═══════════ SINGLE ALBUM ═══════════ */
.album-hero {
    position: relative;
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}
.album-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: var(--t);
    text-decoration: none;
}
.album-back:hover { background: var(--red); transform: translateX(4px); }
.album-hero-cat {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245,179,1,0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.album-hero h1 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.25;
    text-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.album-hero p {
    font-size: 16px;
    line-height: 1.85;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 25px;
}
.album-hero-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 15px 25px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    max-width: fit-content;
    margin: 0 auto;
}
.album-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
}
.album-hero-meta i { color: var(--gold); }

/* Album Gallery */
.album-section-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}
.album-section-head h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.album-section-head h3 i { color: var(--red); }
.album-section-head h3 span {
    padding: 4px 12px;
    background: rgba(217,35,50,0.1);
    color: var(--red);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
}
.album-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.album-photo {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
}
.album-photo:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}
.album-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.album-photo:hover img { transform: scale(1.12); }
.album-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: var(--t);
}
.album-photo:hover .album-photo-overlay { opacity: 1; }
.album-photo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: scale(0);
    transition: transform 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.album-photo:hover .album-photo-icon { transform: scale(1); }
.album-photo-title {
    position: absolute;
    bottom: 15px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    width: calc(100% - 30px);
}

/* Album Videos */
.album-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}
.album-video {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--t);
}
.album-video:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.album-video-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.album-video-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.album-video:hover .album-video-thumb img { transform: scale(1.08); }
.album-video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,45,77,0.35);
    transition: var(--t);
}
.album-video:hover .album-video-thumb::after { background: rgba(217,35,50,0.4); }
.album-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: playBtnPulse 2s infinite;
}
@keyframes playBtnPulse {
    0%, 100% { box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,255,255,0.7); }
    50% { box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 0 20px rgba(255,255,255,0); }
}
.album-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 11px;
    background: rgba(0,0,0,0.85);
    color: var(--white);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    z-index: 2;
}
html[dir="ltr"] .album-video-duration { right: auto; left: 12px; }
.album-video-info { padding: 22px; }
.album-video-info h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.album-video-info p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
}

/* ═══════════ VIDEOS ═══════════ */
.video-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 45px;
    cursor: pointer;
    transition: var(--t);
    border: 1px solid var(--border);
}
.video-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.video-featured-thumb {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}
.video-featured-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.video-featured:hover .video-featured-thumb img { transform: scale(1.05); }
.video-featured-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,45,77,0.3);
    transition: var(--t);
}
.video-featured:hover .video-featured-thumb::after { background: rgba(217,35,50,0.4); }
.video-featured-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.98);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    animation: playBtnPulse 2s infinite;
}
.video-featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(245,179,1,0.5);
}
html[dir="ltr"] .video-featured-tag { right: auto; left: 20px; }
.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.88);
    color: var(--white);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
    z-index: 3;
}
html[dir="ltr"] .video-duration { right: auto; left: 15px; }
.video-featured-body {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-featured-body h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.35;
}
.video-featured-body p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 22px;
}
.video-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}
.video-meta span { display: inline-flex; align-items: center; gap: 6px; }
.video-meta i { color: var(--red); }

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--t);
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.video-card-thumb {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.video-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.video-card:hover .video-card-thumb img { transform: scale(1.1); }
.video-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,45,77,0.3);
    transition: var(--t);
}
.video-card:hover .video-card-thumb::after { background: rgba(217,35,50,0.4); }
.video-card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 55px; height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.98);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--t);
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.15); }
.video-card-body { padding: 20px; }
.video-card-body h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.video-meta-small {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
}
.video-meta-small i { color: var(--red); }

/* ═══════════ EVENTS ═══════════ */
.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.event-card {
    display: grid;
    grid-template-columns: 100px 1.3fr 1.5fr;
    gap: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--t);
    align-items: center;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.event-featured {
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(245,179,1,0.15);
}
.event-date-box {
    padding: 25px 20px;
    text-align: center;
    border-inline-end: 2px solid var(--border);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light);
}
.event-day {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}
.event-month {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    align-self: stretch;
    margin: 20px 0;
}
.event-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.event-card:hover .event-image img { transform: scale(1.08); }
.event-featured-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
html[dir="ltr"] .event-featured-tag { right: auto; left: 12px; }
.event-cat-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(15,45,77,0.9);
    color: var(--white);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
html[dir="ltr"] .event-cat-tag { right: auto; left: 12px; }
.event-body { padding: 25px 25px 25px 0; }
html[dir="ltr"] .event-body { padding: 25px 0 25px 25px; }
.event-body h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.35;
}
.event-body > p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}
.event-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.event-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.event-info-item > i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(217,35,50,0.3);
}
.event-info-item span {
    display: block;
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 3px;
    font-weight: 600;
}
.event-info-item strong {
    display: block;
    font-size: 13.5px;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.3;
}

/* ═══════════ SOCIAL MEDIA ═══════════ */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    transition: var(--t);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--social-color);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}
html[dir="ltr"] .social-card::before { right: auto; left: 0; }
.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--social-color);
}
.social-card:hover::before { transform: scaleY(1); }
.social-card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: var(--social-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--t);
}
.social-card:hover .social-card-icon {
    transform: rotate(-8deg) scale(1.1);
}
.social-card-body { flex: 1; min-width: 0; }
.social-card-body h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 6px;
}
.social-card-body p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
}
.social-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 700;
}
.social-followers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
}
.social-followers i { color: var(--social-color); }
.social-visit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    font-size: 12px;
    transition: var(--t);
}
.social-card:hover .social-visit { gap: 10px; }

.social-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.social-post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--t);
    text-decoration: none;
}
.social-post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.social-post-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.social-post-image {
    height: 180px;
    overflow: hidden;
}
.social-post-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.social-post-card:hover .social-post-image img { transform: scale(1.08); }
.social-post-body { padding: 20px; }
.social-post-body h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}
.social-post-body p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px;
}
.social-post-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
}
.social-post-date i { color: var(--red); }

/* ═══════════ VIDEO MODAL ═══════════ */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(7,26,46,0.96);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.video-modal.active { display: flex; animation: fadeIn 0.3s ease; }
.video-modal-content {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--t);
    border: none;
    z-index: 10;
}
.video-modal-close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

/* ═══════════ NEWS SINGLE - ENHANCED ═══════════ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    width: 0;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(245,179,1,0.6);
}

.news-single-hero {
    position: relative;
    padding: 90px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.news-single-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.news-single-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.news-single-title {
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 30px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.5);
}
.news-single-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 25px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.news-meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.news-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
    flex-shrink: 0;
}
.news-meta-author span {
    display: block;
    font-size: 11.5px;
    opacity: 0.8;
    margin-bottom: 2px;
}
.news-meta-author strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}
.news-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
}
.news-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    opacity: 0.9;
}
.news-meta-info i { color: var(--gold); }

.news-single-wrapper {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}
.news-share-float {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.news-share-title {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.share-float-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--t);
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.share-float-btn.facebook { background: #1877f2; }
.share-float-btn.twitter { background: #1da1f2; }
.share-float-btn.whatsapp { background: #25D366; }
.share-float-btn.linkedin { background: #0a66c2; }
.share-float-btn.telegram { background: #0088cc; }
.share-float-btn.copy { background: var(--navy); }
.share-float-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.news-single-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.news-article-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-lg);
}
.news-article-image img { width: 100%; height: auto; display: block; }
.news-article-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: linear-gradient(to top, rgba(15,45,77,0.9), transparent);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}
.news-article-caption i { color: var(--gold); margin-inline-end: 6px; }
.news-article-body {
    font-size: 17px;
    line-height: 2.1;
    color: var(--dark);
    margin-bottom: 35px;
}
.news-article-body p { margin-bottom: 20px; }
.news-article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}
.tags-label {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
}
.tags-label i { color: var(--red); margin-inline-end: 5px; }
.news-tag {
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--white);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
}
.news-tag:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.news-article-share-bottom {
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
}
.news-article-share-bottom h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}
.news-article-share-bottom h4 i { color: var(--red); margin-inline-end: 6px; }
.share-buttons-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
}
.share-row-btn.facebook { background: #1877f2; }
.share-row-btn.twitter { background: #1da1f2; }
.share-row-btn.whatsapp { background: #25D366; }
.share-row-btn.linkedin { background: #0a66c2; }
.share-row-btn.telegram { background: #0088cc; }
.share-row-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .media-tabs { grid-template-columns: repeat(3, 1fr); }
    .news-featured { grid-template-columns: 1fr; }
    .news-featured-image { min-height: 280px; }
    .video-featured { grid-template-columns: 1fr; }
    .video-featured-thumb { min-height: 280px; }
    .event-card { grid-template-columns: 80px 1fr; }
    .event-image { grid-column: 1 / -1; height: 200px; margin: 0 20px; }
    .event-body { grid-column: 1 / -1; padding: 0 20px 20px; }
    html[dir="ltr"] .event-body { padding: 0 20px 20px; }
    .news-single-wrapper { grid-template-columns: 1fr; gap: 25px; }
    .news-share-float {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
    }
    .news-share-title { display: none; }
}

@media (max-width: 768px) {
    .media-hero { padding: 75px 0 55px; }
    .media-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .media-hstat strong { font-size: 22px; }
    .media-hstat i { font-size: 20px; }
    
    .media-tabs { grid-template-columns: 1fr; }
    .media-tab { padding: 12px; }
    .media-tab-icon { width: 40px; height: 40px; font-size: 17px; }
    .media-tab-info strong { font-size: 13px; }
    .media-tab-info span { font-size: 11px; }
    
    .media-section { padding: 45px 0; }
    .media-news-grid { grid-template-columns: 1fr; gap: 25px; }
    .albums-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .social-posts-grid { grid-template-columns: 1fr; }
    
    .album-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .album-videos { grid-template-columns: 1fr; }
    
    .event-card { grid-template-columns: 1fr; }
    .event-date-box { padding: 15px; border-inline-end: none; border-bottom: 2px solid var(--border); flex-direction: row; gap: 15px; }
    .event-day { font-size: 28px; }
    .event-image { margin: 0 15px; height: 180px; }
    .event-body { padding: 0 15px 20px; }
    .event-info-grid { grid-template-columns: 1fr; }
    
    .news-single-hero { padding: 65px 0 45px; }
    .news-single-meta-bar { padding: 15px 18px; flex-direction: column; }
    .news-meta-info { justify-content: center; gap: 12px; font-size: 12px; }
    .news-single-article { padding: 25px 20px; }
    .news-article-body { font-size: 15.5px; line-height: 2; }
    .news-article-share-bottom { padding: 20px 15px; }
    .share-row-btn { padding: 9px 16px; font-size: 12.5px; }
    .news-share-float { padding: 15px 12px; gap: 8px; }
    .share-float-btn { width: 38px; height: 38px; font-size: 14px; }
    
    .video-modal { padding: 15px; }
    .video-modal-close { width: 42px; height: 42px; font-size: 18px; top: 15px; right: 15px; }
    .video-featured-play { width: 65px; height: 65px; font-size: 24px; }
}

@media (max-width: 480px) {
    .media-hstat { padding: 14px 10px; }
    .media-hstat strong { font-size: 20px; }
    .news-featured-content { padding: 25px 20px; }
    .news-featured-content h2 { font-size: 20px; }
    .news-featured-meta { gap: 12px; font-size: 12px; }
    .album-card-body { padding: 20px; }
    .album-card-body h3 { font-size: 16px; }
    .social-card { flex-direction: column; text-align: center; padding: 20px; }
    .social-card::before { top: 0; width: 100%; height: 5px; transform: scaleX(0); }
    .social-card:hover::before { transform: scaleX(1); }
    .social-card-meta { flex-direction: column; gap: 10px; }
    .event-body h3 { font-size: 17px; }
    .news-single-title { font-size: 22px; }
    .news-article-body { font-size: 15px; }
    .share-buttons-row { flex-direction: column; }
    .share-row-btn { width: 100%; justify-content: center; }
}
/* ═══════════ READING PROGRESS BAR ═══════════ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    width: 0;
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(245,179,1,0.6);
}

/* ═══════════ SINGLE NEWS HERO ═══════════ */
.news-single-hero {
    position: relative;
    padding: 90px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.news-single-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.news-single-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: var(--t);
}
.news-single-cat:hover { transform: translateY(-3px); }
.news-single-title {
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 30px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.5);
}
.news-single-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 25px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.news-meta-author { display: flex; align-items: center; gap: 12px; }
.news-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
    flex-shrink: 0;
}
.news-meta-author span {
    display: block;
    font-size: 11.5px;
    opacity: 0.8;
    margin-bottom: 2px;
}
.news-meta-author strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}
.news-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
}
.news-meta-info span { display: inline-flex; align-items: center; gap: 7px; opacity: 0.9; }
.news-meta-info i { color: var(--gold); }

/* ═══════════ SINGLE NEWS LAYOUT ═══════════ */
.news-single-wrapper {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Floating Share */
.news-share-float {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.news-share-title {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.share-float-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--t);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
}
.share-float-btn.facebook { background: #1877f2; }
.share-float-btn.twitter { background: #1da1f2; }
.share-float-btn.whatsapp { background: #25D366; }
.share-float-btn.linkedin { background: #0a66c2; }
.share-float-btn.telegram { background: #0088cc; }
.share-float-btn.copy { background: var(--navy); }
.share-float-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 2;
}

/* Article */
.news-single-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.news-article-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-lg);
}
.news-article-image img { width: 100%; height: auto; display: block; }
.news-article-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(15,45,77,0.95), transparent);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}
.news-article-caption i { color: var(--gold); margin-inline-end: 6px; }

.news-article-body {
    font-size: 17px;
    line-height: 2.1;
    color: var(--dark);
    margin-bottom: 35px;
}
.news-article-body > p {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 2.1;
}
.news-article-body > p:first-of-type::first-letter {
    font-size: 3em;
    font-weight: 900;
    color: var(--red);
    float: inline-start;
    line-height: 0.9;
    margin: 6px 10px 0 0;
    font-family: Georgia, serif;
}
html[dir="ltr"] .news-article-body > p:first-of-type::first-letter {
    float: left;
    margin: 6px 10px 0 0;
}

.article-list {
    margin: 20px 0 25px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.article-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--red);
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--dark);
    font-weight: 500;
    transition: var(--t);
}
html[dir="ltr"] .article-list li { border-left: none; border-right: 4px solid var(--red); }
.article-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 13px;
}
.article-list li:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(-4px);
}
html[dir="ltr"] .article-list li:hover { transform: translateX(4px); }

/* Tags */
.news-article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}
.tags-label {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
}
.tags-label i { color: var(--red); margin-inline-end: 5px; }
.news-tag {
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--white);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
}
.news-tag:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Bottom Share */
.news-article-share-bottom {
    padding: 30px;
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
    border-radius: var(--radius);
    text-align: center;
    border: 1.5px solid var(--border);
    margin-bottom: 30px;
}
.news-article-share-bottom h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}
.news-article-share-bottom h4 i { color: var(--red); margin-inline-end: 6px; }
.share-buttons-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
}
.share-row-btn.facebook { background: #1877f2; }
.share-row-btn.twitter { background: #1da1f2; }
.share-row-btn.whatsapp { background: #25D366; }
.share-row-btn.linkedin { background: #0a66c2; }
.share-row-btn.telegram { background: #0088cc; }
.share-row-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* Prev / Next Navigation */
.news-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}
.news-nav-item {
    padding: 18px 22px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--t);
    text-decoration: none;
    display: block;
    border: 1.5px solid transparent;
}
.news-nav-item:hover {
    background: var(--white);
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-nav-item.next { text-align: end; }
.nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-nav-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
    transition: var(--t);
}
.news-nav-item:hover h5 { color: var(--red); }

/* ═══════════ FEATURED NEWS ═══════════ */
.news-featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
    transition: var(--t);
    text-decoration: none;
    border: 1px solid var(--border);
}
.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.news-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.news-featured-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.news-featured:hover .news-featured-image img { transform: scale(1.08); }
.news-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,45,77,0.5), transparent 60%);
}
.news-featured-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    padding: 8px 18px;
    background: var(--grad-gold);
    color: var(--navy-dark);
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(245,179,1,0.5);
}
html[dir="ltr"] .news-featured-badge { right: auto; left: 22px; }
.news-featured-content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--white);
    font-size: 11.5px;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.news-featured-content h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 15px;
}
.news-featured-content p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 22px;
}
.news-featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 22px;
}
.news-featured-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-featured-meta i { color: var(--red); }
.news-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14.5px;
    font-weight: 800;
    transition: var(--t);
}
.news-featured:hover .news-featured-btn { gap: 12px; }

/* ═══════════ MEDIA NEWS GRID ═══════════ */
.media-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.media-news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.media-news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red);
}
.media-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
}
.media-news-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.media-news-card:hover .media-news-image img { transform: scale(1.1); }
.media-news-cat {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    color: var(--white);
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    z-index: 2;
}
html[dir="ltr"] .media-news-cat { right: auto; left: 15px; }
.media-news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}
.media-news-date {
    position: absolute;
    top: -25px;
    right: 25px;
    background: var(--grad-red);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(217,35,50,0.4);
    z-index: 3;
}
html[dir="ltr"] .media-news-date { right: auto; left: 25px; }
.media-news-date span:first-child {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}
.media-news-date span:last-child {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}
.media-news-body h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 10px;
    padding-top: 10px;
}
.media-news-body h3 a:hover { color: var(--red); }
.media-news-body > p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}
.media-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--gray);
    font-weight: 600;
}
.media-news-footer i { color: var(--red); }
.media-news-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
    transition: var(--t);
}
.media-news-read:hover { gap: 10px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-featured-image { min-height: 280px; }
    .news-single-wrapper { grid-template-columns: 1fr; gap: 25px; }
    .news-share-float {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 12px 15px;
    }
    .news-share-title { display: none; }
}

@media (max-width: 768px) {
    .news-single-hero { padding: 65px 0 45px; }
    .news-single-title { font-size: 24px; }
    .news-single-meta-bar { padding: 15px 18px; flex-direction: column; }
    .news-meta-info { justify-content: center; gap: 12px; font-size: 12px; }
    
    .news-single-article { padding: 25px 20px; }
    .news-article-body { font-size: 15.5px; line-height: 2; }
    .news-article-body > p { font-size: 15.5px; }
    .news-article-body > p:first-of-type::first-letter { font-size: 2.4em; }
    
    .article-list li { padding: 10px 14px; font-size: 14.5px; }
    
    .news-article-share-bottom { padding: 20px 15px; }
    .share-row-btn { padding: 9px 16px; font-size: 12.5px; }
    .share-float-btn { width: 38px; height: 38px; font-size: 14px; }
    
    .news-article-nav { grid-template-columns: 1fr; gap: 12px; }
    .news-nav-item.next { text-align: start; }
    
    .media-news-grid { grid-template-columns: 1fr; gap: 25px; }
    .news-featured-content { padding: 25px 20px; }
    .news-featured-content h2 { font-size: 20px; }
    .news-featured-meta { gap: 12px; font-size: 12px; }
}

@media (max-width: 480px) {
    .news-single-title { font-size: 20px; }
    .news-meta-author { gap: 10px; }
    .news-author-avatar { width: 42px; height: 42px; font-size: 17px; }
    .news-meta-author strong { font-size: 13px; }
    .news-meta-info span { font-size: 11.5px; }
    
    .news-single-article { padding: 20px 15px; }
    .news-article-body { font-size: 15px; }
    .news-article-body > p { font-size: 15px; line-height: 2; }
    
    .share-buttons-row { flex-direction: column; }
    .share-row-btn { width: 100%; justify-content: center; }
    
    .news-article-tags { padding: 15px 0; }
    .news-tag { font-size: 11.5px; padding: 5px 12px; }
}

/* =========================================================
   AI ASSISTANT - REDESIGNED v2.0
   ========================================================= */

/* ═══════════ HERO ═══════════ */
.ai-hero {
    position: relative;
    padding: 70px 0 50px;
    background: linear-gradient(135deg, #071a2e 0%, #0f2d4d 50%, #1a4a7a 100%);
    color: white;
    overflow: hidden;
    text-align: center;
}
.ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(217,35,50,0.25), transparent 45%),
        radial-gradient(circle at 85% 60%, rgba(245,179,1,0.18), transparent 45%);
    pointer-events: none;
}
.ai-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(37,211,102,0.15);
    border: 1.5px solid rgba(37,211,102,0.5);
    color: #86efac;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.ai-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    animation: ai-pulse-anim 2s infinite;
}
@keyframes ai-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.ai-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 14px;
}
.ai-hero p {
    font-size: 15px;
    opacity: 0.88;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 28px;
}

/* Stats inline */
.ai-hero-stats {
    display: inline-flex;
    gap: 25px;
    padding: 12px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}
.ai-hero-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.ai-hero-stats .stat i { color: #f5b301; }
.ai-hero-stats .stat strong {
    color: #f5b301;
    font-weight: 900;
    font-size: 15px;
}

/* ═══════════ MAIN LAYOUT ═══════════ */
.ai-section {
    padding: 40px 0 60px;
    background: #f8fafc;
}
.ai-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

/* ═══════════ SIDEBAR ═══════════ */
.ai-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-inline-end: 4px;
}
.ai-sidebar::-webkit-scrollbar { width: 4px; }
.ai-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* Sidebar blocks */
.ai-block {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(15,45,77,0.05);
    border: 1px solid #e2e8f0;
}
.ai-block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.ai-block-head i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.ai-block-head h3 {
    font-size: 14px;
    font-weight: 800;
    color: #0f2d4d;
}

/* Suggestions List */
.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    padding-inline-end: 2px;
}
.ai-suggestions::-webkit-scrollbar { width: 4px; }
.ai-suggestions::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

.ai-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #1f2937;
    text-align: start;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    width: 100%;
}
.ai-suggestion i {
    color: #d92332;
    font-size: 13px;
    flex-shrink: 0;
}
.ai-suggestion span {
    flex: 1;
    min-width: 0;
}
.ai-suggestion:hover {
    background: white;
    border-color: #d92332;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(217,35,50,0.08);
}
html[dir="ltr"] .ai-suggestion:hover { transform: translateX(3px); }

/* Category Chips */
.ai-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ai-cat-btn {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f2d4d;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ai-cat-btn i {
    font-size: 10px;
    color: #d92332;
}
.ai-cat-btn:hover {
    border-color: #d92332;
    color: #d92332;
}
.ai-cat-btn.active {
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(217,35,50,0.3);
}
.ai-cat-btn.active i { color: white; }

/* Tips Block */
.ai-tips-block {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 1px solid #f59e0b;
}
.ai-tips-block .ai-block-head i {
    background: linear-gradient(135deg, #f5b301, #d99900);
    color: #0f2d4d;
}
.ai-tips-block h3 { color: #92400e !important; }
.ai-tips-block ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ai-tips-block li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #92400e;
    line-height: 1.5;
    font-weight: 600;
}
.ai-tips-block li i {
    color: #f5b301;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ═══════════ CHAT WINDOW ═══════════ */
.ai-chat {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15,45,77,0.10);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px);
    min-height: 600px;
    max-height: 820px;
    overflow: hidden;
}

/* Chat Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.ai-chat-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(217,35,50,0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-chat-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d92332, #f5b301);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(217,35,50,0.5);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.ai-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    background: #25D366;
    border: 2.5px solid #0f2d4d;
    border-radius: 50%;
    animation: ai-online-pulse 2s infinite;
}
@keyframes ai-online-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.ai-chat-info { flex: 1; min-width: 0; position: relative; z-index: 2; }
.ai-chat-info h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 3px;
    color: white;
}
.ai-chat-info span {
    font-size: 12px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ai-chat-info span i {
    font-size: 7px;
    color: #86efac;
    animation: ai-blink 2s infinite;
}
@keyframes ai-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ai-chat-actions {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.ai-chat-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.ai-chat-action:hover {
    background: #d92332;
    transform: rotate(-15deg);
}

/* Chat Body */
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 22px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}
.ai-chat-body::-webkit-scrollbar { width: 6px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.ai-chat-body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Messages */
.ai-message {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    max-width: 85%;
    animation: aiMsgIn 0.3s ease;
}
@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message-user {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}
.ai-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(15,45,77,0.15);
}
.ai-message-user .ai-msg-avatar {
    background: linear-gradient(135deg, #d92332, #a81725);
    box-shadow: 0 3px 10px rgba(217,35,50,0.25);
}
.ai-msg-bubble {
    padding: 13px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
}
.ai-message-bot .ai-msg-bubble {
    background: white;
    border: 1px solid #e2e8f0;
    color: #1f2937;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 6px rgba(15,45,77,0.04);
}
html[dir="ltr"] .ai-message-bot .ai-msg-bubble {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 4px;
}
.ai-message-user .ai-msg-bubble {
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(15,45,77,0.2);
}
html[dir="ltr"] .ai-message-user .ai-msg-bubble {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 4px;
}
.ai-msg-content {
    font-size: 14px;
    line-height: 1.7;
}
.ai-msg-content strong {
    color: #d92332;
    font-weight: 800;
}
.ai-message-user .ai-msg-content strong { color: #f5b301; }
.ai-msg-content em {
    font-style: normal;
    background: rgba(217,35,50,0.08);
    padding: 2px 8px;
    border-radius: 6px;
    color: #d92332;
    font-weight: 700;
}
.ai-msg-content .bullet {
    color: #d92332;
    font-weight: 900;
    margin-inline-end: 4px;
}
.ai-msg-time {
    display: block;
    font-size: 10px;
    opacity: 0.55;
    margin-top: 6px;
    text-align: end;
}
.ai-message-bot .ai-msg-time { text-align: start; }

/* Special Messages */
.ai-message-special .ai-msg-bubble {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%) !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 4px 15px rgba(245,179,1,0.15) !important;
}
.ai-message-special .ai-msg-avatar {
    background: linear-gradient(135deg, #f5b301, #d99900) !important;
}
.ai-message-special .ai-msg-content strong {
    color: #b8860b !important;
}
.ai-message-time .ai-msg-bubble {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%) !important;
    border: 1.5px solid #3b82f6 !important;
}
.ai-message-time .ai-msg-avatar {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
.ai-message-name .ai-msg-bubble {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%) !important;
    border: 1.5px solid #10b981 !important;
}
.ai-message-name .ai-msg-avatar {
    background: linear-gradient(135deg, #25D366, #1eab57) !important;
}

/* Typing Indicator */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: white;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.ai-typing-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.ai-typing-dots {
    display: flex;
    gap: 4px;
}
.ai-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: aiTypingAnim 1.4s infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTypingAnim {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}
.ai-typing-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Chat Footer */
.ai-chat-footer {
    padding: 14px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.ai-chat-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.ai-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.ai-input-wrap i {
    position: absolute;
    inset-inline-start: 16px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}
.ai-input-wrap input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.25s ease;
}
html[dir="ltr"] .ai-input-wrap input {
    padding: 13px 44px 13px 16px;
}
.ai-input-wrap input:focus {
    outline: none;
    border-color: #d92332;
    background: white;
    box-shadow: 0 0 0 4px rgba(217,35,50,0.08);
}
.ai-send-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(217,35,50,0.35);
    flex-shrink: 0;
}
.ai-send-btn:hover {
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 8px 20px rgba(217,35,50,0.5);
}
.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Quick Chips */
.ai-quick-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.ai-chip {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f2d4d;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.ai-chip:hover {
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .ai-container {
        grid-template-columns: 1fr;
    }
    .ai-sidebar {
        position: static;
        max-height: none;
    }
    .ai-chat {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .ai-hero { padding: 50px 0 40px; }
    .ai-hero h1 { font-size: 24px; }
    .ai-hero p { font-size: 14px; }
    .ai-hero-stats { gap: 15px; padding: 10px 20px; }
    .ai-hero-stats .stat { font-size: 11.5px; }
    
    .ai-section { padding: 20px 0 40px; }
    .ai-container { padding: 0 15px; gap: 15px; }
    
    .ai-suggestion { font-size: 12px; padding: 9px 11px; }
    .ai-categories { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
    .ai-categories::-webkit-scrollbar { height: 3px; }
    .ai-cat-btn { flex-shrink: 0; }
    
    .ai-chat {
        height: 500px;
        min-height: 450px;
        border-radius: 16px;
    }
    .ai-chat-header { padding: 14px 16px; gap: 10px; }
    .ai-chat-avatar { width: 40px; height: 40px; font-size: 18px; }
    .ai-chat-info h4 { font-size: 14px; }
    .ai-chat-info span { font-size: 11px; }
    
    .ai-chat-body { padding: 16px 14px; gap: 12px; }
    .ai-message { max-width: 92%; }
    .ai-msg-bubble { padding: 11px 14px; font-size: 13px; }
    .ai-msg-content { font-size: 13px; }
    .ai-msg-avatar { width: 32px; height: 32px; font-size: 12px; }
    
    .ai-chat-footer { padding: 12px 15px; }
    .ai-input-wrap input { padding: 11px 14px 11px 38px; font-size: 13px; }
    .ai-input-wrap i { inset-inline-start: 13px; font-size: 12px; }
    .ai-send-btn { width: 42px; height: 42px; font-size: 14px; }
    
    .ai-quick-chips { overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; padding-bottom: 4px; }
    .ai-quick-chips::-webkit-scrollbar { height: 3px; }
    .ai-chip { flex-shrink: 0; font-size: 11px; padding: 5px 10px; }
}

@media (max-width: 480px) {
    .ai-hero { padding: 40px 0 30px; }
    .ai-hero h1 { font-size: 20px; }
    .ai-hero-badge { font-size: 11px; padding: 6px 14px; }
    .ai-hero-stats { padding: 8px 14px; gap: 12px; }
    .ai-hero-stats .stat { font-size: 11px; gap: 5px; }
    .ai-hero-stats .stat strong { font-size: 13px; }
    
    .ai-chat { height: 480px; }
    .ai-chat-action { width: 32px; height: 32px; font-size: 12px; }
    
    .ai-block { padding: 15px; }
    .ai-block-head h3 { font-size: 13px; }
}

/* =========================================================
   PIXO AI ASSISTANT - Clean Design v9.0
   ========================================================= */

/* ═══════════ HERO ═══════════ */
.ai-hero {
    position: relative;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #071a2e 0%, #0f2d4d 60%, #1a4a7a 100%);
    color: white;
    overflow: hidden;
    text-align: center;
}
.ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(217,35,50,0.22), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(245,179,1,0.18), transparent 40%);
    pointer-events: none;
}
.ai-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}
.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(37,211,102,0.12);
    border: 1.5px solid rgba(37,211,102,0.45);
    color: #86efac;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
}
.ai-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    animation: ai-pulse-anim 2s infinite;
}
@keyframes ai-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.ai-hero h1 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.ai-hero p {
    font-size: 14.5px;
    opacity: 0.88;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 24px;
}
.ai-hero-stats {
    display: inline-flex;
    gap: 22px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    justify-content: center;
}
.ai-hero-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
}
.ai-hero-stats .stat i { color: #f5b301; font-size: 13px; }
.ai-hero-stats .stat strong {
    color: #f5b301;
    font-weight: 900;
    font-size: 14px;
}

/* ═══════════ MAIN SECTION ═══════════ */
.ai-section {
    padding: 35px 0 55px;
    background: #f8fafc;
}
.ai-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 22px;
    align-items: start;
}

/* ═══════════ SIDEBAR ═══════════ */
.ai-sidebar {
    position: sticky;
    top: 85px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    padding-inline-end: 4px;
}
.ai-sidebar::-webkit-scrollbar { width: 4px; }
.ai-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* Blocks */
.ai-block {
    background: white;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(15,45,77,0.06);
    border: 1px solid #e2e8f0;
}
.ai-block-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.ai-block-head i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.ai-block-head h3 {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f2d4d;
    letter-spacing: -0.2px;
}

/* Categories */
.ai-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ai-cat-btn {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f2d4d;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ai-cat-btn i { font-size: 10px; color: #d92332; }
.ai-cat-btn:hover { border-color: #d92332; color: #d92332; }
.ai-cat-btn.active {
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(217,35,50,0.25);
}
.ai-cat-btn.active i { color: white; }

/* Suggestions */
.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 420px;
    overflow-y: auto;
    padding-inline-end: 2px;
}
.ai-suggestions::-webkit-scrollbar { width: 3px; }
.ai-suggestions::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

.ai-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #1f2937;
    text-align: start;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    width: 100%;
}
.ai-suggestion i {
    color: #d92332;
    font-size: 12px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.ai-suggestion span { flex: 1; min-width: 0; }
.ai-suggestion:hover {
    background: white;
    border-color: #d92332;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(217,35,50,0.06);
}
html[dir="ltr"] .ai-suggestion:hover { transform: translateX(3px); }

/* Tips */
.ai-tips-block {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-color: #fcd34d;
}
.ai-tips-block .ai-block-head i {
    background: linear-gradient(135deg, #f5b301, #d99900);
    color: #0f2d4d;
}
.ai-tips-block .ai-block-head h3 { color: #92400e; }
.ai-tips-block ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ai-tips-block li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #78350f;
    line-height: 1.5;
    font-weight: 600;
}
.ai-tips-block li i {
    color: #f5b301;
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ═══════════ CHAT WINDOW ═══════════ */
.ai-chat {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15,45,77,0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 175px);
    min-height: 580px;
    max-height: 800px;
    overflow: hidden;
}

/* Header */
.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.ai-chat-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(217,35,50,0.35), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d92332, #f5b301);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 5px 15px rgba(217,35,50,0.4);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.ai-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    background: #25D366;
    border: 2px solid #0f2d4d;
    border-radius: 50%;
    animation: ai-online-pulse 2s infinite;
}
@keyframes ai-online-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.ai-chat-info { flex: 1; min-width: 0; position: relative; z-index: 2; }
.ai-chat-info h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 3px;
    color: white;
}
.ai-chat-info span {
    font-size: 11.5px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ai-chat-info span i {
    font-size: 7px;
    color: #86efac;
    animation: ai-blink 2s infinite;
}
@keyframes ai-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.ai-chat-actions {
    display: flex;
    gap: 6px;
    position: relative;
    z-index: 2;
}
.ai-chat-action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
}
.ai-chat-action:hover {
    background: #d92332;
    transform: rotate(-15deg);
}

/* Body */
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}
.ai-chat-body::-webkit-scrollbar { width: 5px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* Messages */
.ai-message {
    display: flex;
    gap: 9px;
    align-items: flex-end;
    max-width: 82%;
    animation: aiMsgIn 0.3s ease;
}
@keyframes aiMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-message-user {
    flex-direction: row-reverse;
    margin-inline-start: auto;
}
.ai-msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(15,45,77,0.15);
}
.ai-message-user .ai-msg-avatar {
    background: linear-gradient(135deg, #d92332, #a81725);
    box-shadow: 0 3px 8px rgba(217,35,50,0.2);
}
.ai-msg-bubble {
    padding: 12px 15px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
}
.ai-message-bot .ai-msg-bubble {
    background: white;
    border: 1px solid #e2e8f0;
    color: #1f2937;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(15,45,77,0.03);
}
html[dir="ltr"] .ai-message-bot .ai-msg-bubble {
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 4px;
}
.ai-message-user .ai-msg-bubble {
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(15,45,77,0.15);
}
html[dir="ltr"] .ai-message-user .ai-msg-bubble {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
}
.ai-msg-content {
    font-size: 13.5px;
    line-height: 1.65;
}
.ai-msg-content strong { color: #d92332; font-weight: 800; }
.ai-message-user .ai-msg-content strong { color: #f5b301; }
.ai-msg-content em {
    font-style: normal;
    background: rgba(217,35,50,0.08);
    padding: 2px 7px;
    border-radius: 5px;
    color: #d92332;
    font-weight: 700;
}
.ai-msg-content .bullet {
    color: #d92332;
    font-weight: 900;
    margin-inline-end: 4px;
}
.ai-msg-time {
    display: block;
    font-size: 9.5px;
    opacity: 0.5;
    margin-top: 5px;
    text-align: end;
}
.ai-message-bot .ai-msg-time { text-align: start; }

/* Special message types */
.ai-message-special .ai-msg-bubble {
    background: linear-gradient(135deg, #fef3c7, #fffbeb) !important;
    border: 1.5px solid #fcd34d !important;
}
.ai-message-special .ai-msg-avatar {
    background: linear-gradient(135deg, #f5b301, #d99900) !important;
}
.ai-message-time .ai-msg-bubble {
    background: linear-gradient(135deg, #dbeafe, #eff6ff) !important;
    border: 1.5px solid #93c5fd !important;
}
.ai-message-time .ai-msg-avatar {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}
.ai-message-name .ai-msg-bubble {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5) !important;
    border: 1.5px solid #86efac !important;
}
.ai-message-name .ai-msg-avatar {
    background: linear-gradient(135deg, #25D366, #1eab57) !important;
}

/* Typing */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    background: white;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.ai-typing-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f2d4d, #1a4a7a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.ai-typing-dots {
    display: flex;
    gap: 4px;
}
.ai-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: aiTypingAnim 1.4s infinite;
}
.ai-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTypingAnim {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}
.ai-typing-text {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

/* Footer */
.ai-chat-footer {
    padding: 12px 18px;
    background: white;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.ai-chat-form {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.ai-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.ai-input-wrap > i {
    position: absolute;
    inset-inline-start: 15px;
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}
.ai-input-wrap input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 13.5px;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.25s ease;
}
html[dir="ltr"] .ai-input-wrap input {
    padding: 12px 42px 12px 15px;
}
.ai-input-wrap input:focus {
    outline: none;
    border-color: #d92332;
    background: white;
    box-shadow: 0 0 0 4px rgba(217,35,50,0.06);
}
.ai-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(217,35,50,0.3);
    flex-shrink: 0;
}
.ai-send-btn:hover {
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 6px 18px rgba(217,35,50,0.45);
}
.ai-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Quick Chips */
.ai-quick-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.ai-chip {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: #0f2d4d;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.ai-chip:hover {
    background: linear-gradient(135deg, #d92332, #a81725);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .ai-container { grid-template-columns: 1fr; gap: 16px; }
    .ai-sidebar { position: static; max-height: none; }
    .ai-chat { height: 520px; min-height: 450px; }
}
@media (max-width: 768px) {
    .ai-hero { padding: 45px 0 35px; }
    .ai-hero h1 { font-size: 22px; }
    .ai-hero p { font-size: 13px; }
    .ai-hero-stats { gap: 14px; padding: 9px 18px; }
    .ai-hero-stats .stat { font-size: 11px; }
    
    .ai-section { padding: 20px 0 40px; }
    .ai-container { padding: 0 14px; gap: 12px; }
    
    .ai-block { padding: 14px; border-radius: 12px; }
    .ai-suggestion { font-size: 12px; padding: 9px 10px; }
    .ai-categories { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
    .ai-categories::-webkit-scrollbar { height: 3px; }
    .ai-cat-btn { flex-shrink: 0; font-size: 11px; }
    
    .ai-chat { height: 480px; min-height: 400px; border-radius: 14px; }
    .ai-chat-header { padding: 12px 15px; gap: 10px; }
    .ai-chat-avatar { width: 38px; height: 38px; font-size: 17px; }
    .ai-chat-info h4 { font-size: 13.5px; }
    .ai-chat-info span { font-size: 11px; }
    
    .ai-chat-body { padding: 14px 12px; gap: 11px; }
    .ai-message { max-width: 92%; }
    .ai-msg-bubble { padding: 10px 13px; font-size: 12.5px; }
    .ai-msg-content { font-size: 12.5px; }
    .ai-msg-avatar { width: 30px; height: 30px; font-size: 11px; }
    
    .ai-chat-footer { padding: 11px 14px; }
    .ai-input-wrap input { padding: 10px 12px 10px 36px; font-size: 12.5px; }
    .ai-input-wrap > i { inset-inline-start: 12px; font-size: 12px; }
    .ai-send-btn { width: 40px; height: 40px; font-size: 14px; }
    
    .ai-quick-chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
    .ai-quick-chips::-webkit-scrollbar { height: 3px; }
    .ai-chip { flex-shrink: 0; font-size: 10.5px; padding: 5px 10px; }
}
@media (max-width: 480px) {
    .ai-hero h1 { font-size: 19px; }
    .ai-hero-badge { font-size: 10.5px; padding: 5px 12px; }
    .ai-hero-stats .stat { font-size: 10.5px; gap: 4px; }
    .ai-hero-stats .stat strong { font-size: 12px; }
    .ai-chat { height: 460px; }
    .ai-chat-action { width: 30px; height: 30px; font-size: 12px; }
}

