/* ── DARK THEME ── */
:root,
[data-theme="dark"] {
    --primary: #325887;
    --primary-dark: #94D0E0;
    --secondary: #88D3DF;
    --gradient: linear-gradient(135deg, #316CA1 0%, #94D0E0 100%);
    --bg: #0D0D1A;
    --bg-2: #13131F;
    --bg-3: #1A1A2E;
    --card-bg: #16213E;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-head: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(108, 99, 255, 0.3);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    --navbar-scroll: rgba(13, 13, 26, 0.95);
    --mobile-menu-bg: #0D0D1A;
    --footer-bg: #13131F;
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
    --primary: #325887;
    --primary-dark: #94D0E0;
    --secondary: #94D0E0;
    --gradient: linear-gradient(135deg, #316CA1 0%, #94D0E0 100%);
    --bg: #F8FAFC;
    --bg-2: #FFFFFF;
    --bg-3: #F1F5F9;
    --card-bg: #FFFFFF;
    --text: #334155;
    --text-muted: #64748B;
    --text-head: #0F172A;
    --border: #E2E8F0;
    --border-hover: rgba(108, 99, 255, 0.4);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --navbar-scroll: rgba(255, 255, 255, 0.97);
    --mobile-menu-bg: #FFFFFF;
    --footer-bg: #F1F5F9;
    --card-hover-shadow: 0 20px 40px rgba(108, 99, 255, 0.12);
}

/* ── BASE ── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif !important;
    background: var(--bg) !important;
    color: var(--text) !important;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.25s, color 0.25s;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── NAVBAR ── */
.site-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.site-navbar.scrolled {
    background: var(--navbar-scroll);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > li > a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    text-decoration: none;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

[dir="rtl"] .nav-links > li > a::after {
    left: auto;
    right: 0;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--text-head);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

/* ── NAVBAR DROPDOWN ── */
.nav-item-dropdown {
    position: relative;
    padding: 0.25rem 0;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: #0d1322 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    min-width: 330px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999999;
}

[dir="rtl"] .nav-dropdown-menu {
    left: auto;
    right: 0;
}

[data-theme="light"] .nav-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nav-dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-dropdown-category {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    color: var(--secondary) !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

[data-theme="light"] .nav-dropdown-category {
    color: var(--primary) !important;
    border-bottom-color: #e2e8f0 !important;
}

.nav-dropdown-category:hover {
    color: #f43f5e !important;
}

.category-bullet {
    color: #f43f5e;
    font-size: 1.1rem;
    line-height: 1;
}

.nav-dropdown-items {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-dropdown-items li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-dropdown-item {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.nav-dropdown-item:hover {
    color: #ffffff !important;
    background: rgba(148, 208, 224, 0.15) !important;
}

[dir="rtl"] .nav-dropdown-item:hover {
    transform: translateX(-3px);
}

[dir="ltr"] .nav-dropdown-item:hover {
    transform: translateX(3px);
}

[data-theme="light"] .nav-dropdown-item {
    color: #475569 !important;
}

[data-theme="light"] .nav-dropdown-item:hover {
    background: rgba(49, 108, 161, 0.08) !important;
    color: var(--primary) !important;
}

/* ── KERNEL SERVICES LIST VIEW ── */
.kernel-service-list {
    display: flex;
    flex-direction: column;
}

.kernel-service-item {
    display: flex;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.kernel-service-item:last-child {
    border-bottom: none;
}

.kernel-service-left {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 3rem;
}

[dir="rtl"] .kernel-service-left {
    padding-right: 0;
    padding-left: 3rem;
}

.kernel-service-num-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.kernel-service-num {
    opacity: 0.5;
    font-weight: 800;
}

.kernel-service-tag {
    letter-spacing: 1px;
}

.kernel-service-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-head);
    line-height: 1.25;
}

.kernel-service-right {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kernel-service-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.kernel-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.kernel-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

[data-theme="light"] .kernel-pill {
    background: #f1f5f9;
    color: #475569;
}

.kernel-pill:hover {
    border-color: var(--primary-dark);
    color: var(--text-head);
    background: rgba(148, 208, 224, 0.1);
}

.kernel-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-head);
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.kernel-service-link:hover {
    color: var(--primary-dark);
}

.kernel-service-link i {
    transition: transform 0.2s ease;
}

.kernel-service-link:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .kernel-service-link:hover i {
    transform: translateX(-5px);
}

@media (max-width: 991px) {
    .kernel-service-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 0;
    }
    .kernel-service-left, .kernel-service-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
}

/* ── MOBILE SERVICES ACCORDION ── */
.mobile-services-accordion {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.mobile-accordion-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-accordion-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.mobile-services-accordion.active .mobile-accordion-arrow {
    transform: rotate(180deg);
}

.mobile-accordion-body {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1rem;
}

.mobile-services-accordion.active .mobile-accordion-body {
    display: flex;
}

.mobile-service-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.mobile-category-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
}

.mobile-service-link {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
}


.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s;
    color: var(--text-muted);
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-site-primary {
    background: var(--gradient);
    color: #fff !important;
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.2), 0 2px 4px -1px rgba(244, 63, 94, 0.1);
}

.btn-site-primary:hover {
    transform: translateY(-3px);
    background: #e11d48;
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.4);
    color: #fff !important;
}

.btn-site-outline {
    background: transparent;
    color: var(--text) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-site-outline:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--mobile-menu-bg);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    background: none;
    border: none;
}

[dir="rtl"] .mobile-close {
    right: auto;
    left: 1.5rem;
}

.mobile-lang-switcher {
    display: flex;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-switcher .lang-option {
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-lang-switcher .lang-option:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary);
}

/* ── SECTIONS ── */
section {
    padding: 5rem 0;
}

.bg-darker {
    background: var(--bg-3) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── CARDS ── */
.site-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
}

.site-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover) !important;
    box-shadow: var(--card-hover-shadow) !important;
}

/* ── PAGE HERO ── */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-3);
    margin-top: 158px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    transition: background 0.25s;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-title {
    color: var(--text-head);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ── FLOATING BUTTONS ── */
.floating-btns {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[dir="rtl"] .floating-btns {
    right: auto;
    left: 1.5rem;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.float-whatsapp {
    background: #25D366;
}

.float-phone {
    background: var(--primary);
}

/* ── ALERTS ── */
.alert-site-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-site-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .alert-site-success {
    color: #16a34a;
}

[data-theme="light"] .alert-site-error {
    color: #dc2626;
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }
}

/* -- HOME PAGE SPECIFIC -- */
/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.05;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 60% 50%, rgba(49, 108, 161, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 130%, #325887 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    z-index: 1;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5)
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-head);
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Feature cards */
.hero-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.hero-feature-card:hover {
    border-color: var(--primary);
    color: var(--text-head);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.12);
}

.hero-feature-card i {
    font-size: 1.15rem;
    color: var(--primary);
}

/* Stats */
.stats-section {
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--card-hover-shadow);
}

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

/* Service card */
.service-card-new {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--card-hover-shadow);
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: all 0.3s;
}

.service-card-new:hover .service-card-icon {
    background: var(--primary);
    color: #fff;
}

/* Service Card V2 (Kernel Style) */
.service-card-v2 {
    background: var(--card-bg);
    border-radius: 16px;
    border-top: 5px solid var(--primary);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card-v2:nth-child(even) {
    border-top-color: #e74c3c;
    /* Red alternate */
}

.service-card-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-card-v2-title-wrap {
    flex: 1;
}

.service-card-v2-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: block;
}

.service-card-v2-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-head);
    line-height: 1.3;
}

.service-card-v2-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

[dir="rtl"] .service-card-v2-icon {
    margin-right: 1rem;
}

.service-card-v2-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card-v2-btn {
    width: 100%;
    background: #1e293b;
    /* Navy dark */
    color: #fff !important;
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.service-card-v2-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Project card */
.project-card-new {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.project-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.project-img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.project-card-new:hover .project-img-fill {
    transform: scale(1.05);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--text-muted);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 100%);
    padding: 1.5rem 1.25rem 1.25rem;
}

.project-card-cat {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.project-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.project-card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Team card */
.team-card {
    text-align: center;
}

.team-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-3);
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid rgba(108, 99, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-muted);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.25rem;
}

.team-card .position {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
}

.team-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Methodology */
.method-section {
    background: var(--bg-3);
}

.method-step-wrap {
    position: relative;
    padding-top: 1.75rem;
}

.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    position: absolute;
    top: -11%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35);
}

.method-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.method-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--card-hover-shadow);
}

.method-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.method-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.6rem;
}

.method-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

/* Why Us */
.why-section {
    background: var(--bg);
}

.why-left-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1.5rem;
}

.why-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.why-bullet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.why-bullet-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.2rem;
}

.why-bullet-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s;
}

.why-card:last-child {
    margin-bottom: 0;
}

.why-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

[dir="rtl"] .why-card:hover {
    transform: translateX(-4px);
}

.why-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
}

.why-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.2rem;
}

.why-card-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Partners Section */
.partners-section {
    background: var(--bg);
    padding: 6rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
}

.partner-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(108, 99, 255, 0.12);
}

.partner-item img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-name {
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Sample colors for text-based logos */
.partner-item:nth-child(4n+1) .partner-name {
    color: #e74c3c;
}

/* Red */
.partner-item:nth-child(4n+2) .partner-name {
    color: #1abc9c;
}

/* Teal */
.partner-item:nth-child(4n+3) .partner-name {
    color: #34495e;
}

/* Navy */
.partner-item:nth-child(4n+4) .partner-name {
    color: #27ae60;
}

/* Green */

/* Responsive grid */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .partner-item {
        height: 90px;
        padding: 1rem;
    }
}

.cta-section {
    background: linear-gradient(135deg, #7cb8d02b 0%, #407cab2e 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* -- CONTACT PAGE SPECIFIC -- */
.contact-page {
    background: var(--bg);
    padding: 7rem 0 4rem;
    min-height: 100vh;
    margin-top: 100px
}

/* -- Left column cards -- */
.contact-info-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.contact-service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.5rem;
}

.contact-service-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-tag {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.contact-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.contact-block-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-block-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.office-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.office-card:last-child {
    margin-bottom: 0;
}

.office-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.office-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-head);
}

.office-country {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.office-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
}

.office-address {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.office-contact-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.office-contact-row a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.office-contact-row a:hover {
    color: var(--primary);
}

.office-contact-row i {
    color: var(--primary);
    width: 16px;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-detail-row:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.1rem;
}

.contact-detail-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-head);
}

.contact-detail-value a {
    color: var(--text-head);
    text-decoration: none;
}

.contact-detail-value a:hover {
    color: var(--primary);
}

/* -- Right column form -- */
.contact-form-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 90px;
}

.form-block-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.form-block-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 0.25rem;
}

.form-block-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.form-block-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: var(--text);
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field .field-error {
    color: #f87171;
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

.btn-contact-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.social-contact-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-contact-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.25s;
    text-decoration: none;
}

.social-contact-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* -- ABOUT PAGE SPECIFIC -- */
.about-hero {
    padding: 7rem 0 4rem;
    background: var(--bg);
    margin-top: 100px
}

.about-hero-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-hero-tag::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Story */
.story-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.story-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-tag i {
    font-size: 0.9rem;
}

.story-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 1rem;
}

.story-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
    white-space: pre-line;
}

/* Goals */
.goal-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s;
}

.goal-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
}

.goal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.goal-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 0.6rem;
}

.goal-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Drivers */
.driver-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s;
}

.driver-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.driver-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.driver-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.4rem;
}

.driver-card p {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.6;
    margin: 0;
}

/* Locations */
.location-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.location-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.location-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.location-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.2rem;
}

.location-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* -- SERVICES PAGE SPECIFIC -- */
.service-icon-lg {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    flex-shrink: 0;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
}

.site-card:hover .service-icon-lg {
    background: var(--primary);
    color: #fff;
}

.service-card-lg h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.5rem;
}

.service-card-lg p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* -- PROJECTS PAGE SPECIFIC -- */
.project-card {
    padding: 0 !important;
    overflow: hidden;
}

.project-img-wrap {
    width: 100%;
    height: 220px;
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
    overflow: hidden;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.site-card:hover .project-img-wrap img {
    transform: scale(1.05);
}

.project-body {
    padding: 1.5rem;
}

.project-cat {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 0.5rem;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.project-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-meta i {
    color: var(--primary);
}

/* -- LOGO THEME SWITCHING -- */
[data-theme="dark"] .logo-light {
    display: none !important;
}

[data-theme="light"] .logo-dark {
    display: none !important;
}

/* Ensure logos are block by default for centering/sizing */
.logo-dark,
.logo-light {
    display: block;
}

/* WEBINARS SECTION */
.webinars-section {
    padding: 100px 0;
    background: #fff;
}

.webinar-main-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.webinar-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.1);
}

.webinar-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.webinar-card-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.webinar-card-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.webinar-card-points li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #475569;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.webinar-card-points li i {
    font-size: 0.6rem;
    color: #2dd4bf;
}

.webinar-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.webinar-item-row {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.webinar-item-row:hover {
    background: #fff;
    border-color: #2dd4bf;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.webinar-item-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2dd4bf;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.webinar-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.webinar-item-text {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.webinars-section .section-tag {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* COMMUNITY SECTION */
.community-section {
    padding: 120px 0;
    background-color: #f8fafc;
    overflow: hidden;
}

.community-section .section-tag {
    background: rgba(45, 212, 191, 0.1);
    color: #0d9488;
    border: none;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.community-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.community-section .section-title span {
    color: #2dd4bf;
}

.community-section .section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 550px;
    line-height: 1.7;
}

.community-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.community-item-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.community-item-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #2dd4bf;
}

.community-item-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.community-item-row:hover .community-item-icon {
    background: #2dd4bf;
    color: #fff;
}

.community-item-content {
    flex: 1;
}

.community-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.15rem;
}

.community-item-text {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Right Card: Benefits */
.community-benefits-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 1px solid #f1f5f9;
}

.benefits-card-icon-main {
    width: 72px;
    height: 72px;
    background: #2dd4bf;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 16px rgba(45, 212, 191, 0.25);
}

.benefits-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefits-card-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    background: #f1f5f9;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    color: #475569;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.benefit-info {
    flex: 1;
}

.benefit-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.1rem;
}

.benefit-text {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.benefits-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    margin-top: 1rem;
}

.footer-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.footer-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d9488;
}

/* Join Button */
.btn-site-danger {
    background: var(--gradient);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.2), 0 2px 4px -1px rgba(244, 63, 94, 0.1);
}

.btn-site-danger:hover {
    transform: translateY(-3px);
    background: #e11d48;
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.4);
}

.btn-site-danger i:first-child {
    font-size: 1.1rem;
}

/* -- ABOUT PAGE V2 -- */
.about-hero-v2 {
    padding: 10rem 0 7rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    opacity: 0.4;
    pointer-events: none;
}

.about-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.about-hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-hero-desc {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.btn-site-outline-white {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1e293b !important;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-site-outline-white:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.about-vision-section {
    padding: 5rem 0 8rem;
    background-color: #f8fafc;
}

.about-vision-card {
    background: #ffffff !important;
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.vision-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
}

.vision-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(45, 212, 191, 0.1);
    color: #0d9488;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
}

[dir="rtl"] .about-hero-title {
    letter-spacing: 0;
}

/* -- ABOUT GOALS V2 -- */
.about-goals-section {
    padding: 80px 0;
    background: #fff;
}

.section-title-v2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle-v2 {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
}

.goal-card-v2 {
    background: #ffffff !important;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.goal-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.goal-card-icon-v2 {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.goal-card-v2:nth-child(even) .goal-card-icon-v2 {
    background: #ecfdf5;
    color: #059669;
}

.goal-card-title-v2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.goal-card-text-v2 {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.goal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.goal-tag-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* -- ABOUT DRIVERS V2 -- */
.about-drivers-section {
    padding: 100px 0;
    background: #f8fafc;
}

.driver-card-v2 {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.driver-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.driver-card-icon-v2 {
    width: 54px;
    height: 54px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1.5rem;
}

.driver-card-title-v2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.driver-card-text-v2 {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* -- SERVICES V3 -- */
.service-type-toggle {
    display: inline-flex;
    background: #ffffff;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-type-toggle button {
    border: none;
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s;
    cursor: pointer;
}

.service-type-toggle button.active {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.2);
}

.services-v3-section {
    padding: 80px 0;
    background: #ffffff;
}

.service-card-v3 {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.service-card-top {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon-v3 {
    font-size: 3.5rem;
    transition: all 0.3s;
}

.service-card-v3:hover .service-icon-v3 {
    transform: scale(1.1);
}

.service-card-bottom {
    padding: 2.5rem;
    text-align: right;
}

[dir="ltr"] .service-card-bottom {
    text-align: left;
}

.service-tag-v3 {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.service-title-v3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-desc-v3 {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ── DARK THEME OVERRIDES FOR ABOUT & SERVICES PAGES ── */
[data-theme="dark"] .about-hero-v2 {
    background: var(--bg);
}

[data-theme="dark"] .hero-grid-overlay {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    opacity: 0.2;
}

[data-theme="dark"] .about-tag-pill {
    background: var(--bg-3);
    border-color: var(--border);
    color: var(--text-head);
}

[data-theme="dark"] .about-hero-title {
    color: var(--text-head);
}

[data-theme="dark"] .about-hero-desc {
    color: var(--text-muted);
}

[data-theme="dark"] .btn-site-outline-white {
    background: var(--bg-3);
    border-color: var(--border);
    color: var(--text-head) !important;
}

[data-theme="dark"] .btn-site-outline-white:hover {
    background: var(--bg-2);
    border-color: var(--border-hover);
}

[data-theme="dark"] .about-vision-section {
    background-color: var(--bg);
}

[data-theme="dark"] .about-vision-card {
    background: var(--card-bg) !important;
    border-color: var(--border);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .vision-title {
    color: var(--text-head);
}

[data-theme="dark"] .vision-text {
    color: var(--text);
}

[data-theme="dark"] .about-goals-section {
    background: var(--bg-2);
}

[data-theme="dark"] .section-title-v2 {
    color: var(--text-head);
}

[data-theme="dark"] .section-subtitle-v2 {
    color: var(--text-muted);
}

[data-theme="dark"] .goal-card-v2 {
    background: var(--card-bg) !important;
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .goal-card-v2:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-dark);
}

[data-theme="dark"] .goal-card-icon-v2 {
    background: var(--bg-3);
    color: var(--text-head);
}

[data-theme="dark"] .goal-tag-pill {
    background: var(--bg-3);
    color: var(--text-muted);
}

[data-theme="dark"] .about-drivers-section {
    background: var(--bg);
}

[data-theme="dark"] .driver-card-v2 {
    background: var(--card-bg) !important;
    border-color: var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .driver-card-v2:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-dark);
}

[data-theme="dark"] .driver-card-icon-v2 {
    background: var(--bg-3);
    color: var(--text-head);
}

[data-theme="dark"] .driver-card-title-v2 {
    color: var(--text-head);
}

[data-theme="dark"] .driver-card-text-v2 {
    color: var(--text-muted);
}

/* Services Page (V3) Dark Mode */
[data-theme="dark"] .service-type-toggle {
    background: var(--bg-3);
    border-color: var(--border);
}

[data-theme="dark"] .service-type-toggle button {
    color: var(--text-muted);
}

[data-theme="dark"] .service-type-toggle button.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(50, 88, 135, 0.4);
}

[data-theme="dark"] .services-v3-section {
    background: var(--bg);
}

[data-theme="dark"] .service-card-v3 {
    background: var(--card-bg);
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .service-card-v3:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .service-tag-v3 {
    background: var(--bg-3);
    color: var(--text-muted);
}

[data-theme="dark"] .service-title-v3 {
    color: var(--text-head);
}

[data-theme="dark"] .service-desc-v3 {
    color: var(--text-muted);
}