/* ===== CSS Variables ===== */
:root {
    --primary-color: #561269;
    --primary-dark: #3d0d4a;
    --primary-light: #7a1a8f;
    --secondary-color: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --text-muted: #868e96;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-800: #262626;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Cairo', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    direction: rtl;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL/LTR Direction Support */
body[dir="ltr"],
html[dir="ltr"] body {
    direction: ltr;
}

body[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
}

/* Text alignment for RTL/LTR */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Ensure all sections respect direction */
/* Section headers always centered */
.section-header {
    text-align: center !important;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .about-content,
[dir="rtl"] .story-content,
[dir="rtl"] .services-content,
[dir="rtl"] .why-us-content,
[dir="rtl"] .testimonials-content,
[dir="rtl"] .contact-content {
    text-align: right;
}

[dir="ltr"] .hero-content,
[dir="ltr"] .about-content,
[dir="ltr"] .story-content,
[dir="ltr"] .services-content,
[dir="ltr"] .why-us-content,
[dir="ltr"] .testimonials-content,
[dir="ltr"] .contact-content {
    text-align: left;
}

body[dir="ltr"] .lang-switch .lang-btn.active,
body[dir="rtl"] .lang-switch .lang-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .logo-img {
        height: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
}

[dir="ltr"] .nav-link::after {
    right: auto;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px;
    margin-right: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

body[dir="ltr"] .nav-cta {
    margin-left: 0.5rem;
    margin-right: 0;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(86, 18, 105, 0.3);
}

@media (max-width: 768px) {
    .nav-cta {
        margin: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 50%, #7a4a9a 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0),
        linear-gradient(0deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 40px 40px, 100% 100%, 100% 100%;
    opacity: 0.6;
    z-index: 1;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 220px;
    }
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--white);
    display: block;
}

.title-text {
    white-space: nowrap;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.hero-keywords {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.keyword-separator {
    font-weight: 300;
    opacity: 0.8;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero-content .btn {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s;
}

body[dir="ltr"] .btn-icon {
    margin-left: 0.5rem;
    margin-right: 0;
}

.btn:hover .btn-icon {
    transform: translateX(-5px);
}

body[dir="ltr"] .btn:hover .btn-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        gap: 1rem;
    }

    .title-line {
        width: 40px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-keywords {
        font-size: 1.5rem;
        gap: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .title-line {
        width: 60px;
        height: 2px;
    }

    .hero-keywords {
        font-size: 1.25rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

/* ===== Section Styles ===== */
section {
    padding: 6rem 0;
    position: relative;
}

/* ===== Statistics Section ===== */
.statistics {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1.0625rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.section-header {
    text-align: center !important;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    text-align: center !important;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* ===== About Section ===== */
.about {
    background-color: var(--white);
}

.about-text-wrapper {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-dark);
    text-align: center;
    letter-spacing: 0.1px;
}

/* ===== Mission & Vision Cards ===== */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(86, 18, 105, 0.1), rgba(122, 26, 143, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.mv-icon i {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mv-card:hover .mv-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scale(1.1);
}

.mv-card:hover .mv-icon i {
    color: var(--white);
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    letter-spacing: -0.3px;
}

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

/* Vision card specific accent */
.mv-card-vision::before {
    background: linear-gradient(90deg, var(--primary-color), #9b4dca);
}

/* Mission card specific accent */
.mv-card-mission::before {
    background: linear-gradient(90deg, #9b4dca, var(--primary-light));
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .mv-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .mv-icon i {
        width: 1.75rem;
        height: 1.75rem;
    }

    .mv-card h3 {
        font-size: 1.25rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 8px;
    background-color: rgba(86, 18, 105, 0.1);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-icon-wrapper i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    stroke: currentColor;
}

.feature-card:hover .feature-icon-wrapper,
.feature-icon-wrapper:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.feature-card:hover .feature-icon-wrapper i,
.feature-icon-wrapper:hover i {
    color: var(--white) !important;
}

.feature-card:hover .feature-icon-wrapper i svg,
.feature-icon-wrapper:hover i svg {
    stroke: var(--white) !important;
    color: var(--white) !important;
}

.feature-card:hover .feature-icon-wrapper svg,
.feature-icon-wrapper:hover svg {
    stroke: var(--white) !important;
    color: var(--white) !important;
}

.feature-card:active .feature-icon-wrapper,
.feature-card.active .feature-icon-wrapper {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.feature-card:active .feature-icon-wrapper i,
.feature-card.active .feature-icon-wrapper i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    flex: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ===== Regional Presence Section ===== */
.regional-presence {
    background-color: var(--white);
}

.section-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    background-color: rgba(86, 18, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.section-icon-wrapper i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.country-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2.25rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.country-flag {
    width: 100%;
    max-width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.country-code {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .country-card {
        padding: 1.5rem;
    }
}

/* ===== Story/Timeline Section ===== */
.story {
    background-color: var(--gray-100);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.timeline-item {
    text-align: center;
    padding: 2.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-item h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-item p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.story-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(86, 18, 105, 0.3);
}

.story-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(86, 18, 105, 0.4);
}

.story-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(86, 18, 105, 0.3);
}

.story-btn .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s;
}

body[dir="ltr"] .story-btn .btn-icon {
    margin-left: 0.5rem;
    margin-right: 0;
}

.story-btn:hover .btn-icon {
    transform: translateX(-5px);
}

body[dir="ltr"] .story-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ===== Founders Section ===== */
.founders {
    background-color: var(--white);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founder-card {
    text-align: center;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(86, 18, 105, 0.08) 0%, rgba(86, 18, 105, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 0;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(86, 18, 105, 0.2);
    border-color: var(--white);
}

.founder-card:hover::before {
    opacity: 1;
}

.founder-card:hover .founder-avatar {
    border-color: var(--primary-color);
    box-shadow: 0 16px 32px rgba(86, 18, 105, 0.25);
    transform: scale(1.05);
}

.founder-card:hover .founder-avatar img {
    transform: scale(1.1);
}


.founder-card:hover .founder-avatar i {
    color: var(--white) !important;
    transform: scale(1.05);
}

.founder-card:hover h3 {
    color: var(--primary-color);
}

.founder-card:hover p {
    color: var(--primary-dark);
}

.founder-card-abrar {
    border: 1px solid var(--white);
}

.founder-card-abrar:hover {
    border-color: var(--white);
    border-width: 1px;
}


.founder-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--gray-100);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border: 4px solid var(--white);
    box-shadow: 0 8px 24px rgba(86, 18, 105, 0.15);
    overflow: hidden;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-avatar i {
    font-size: 118px;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.founder-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-avatar {
        width: 120px;
        height: 120px;
    }
}

/* ===== Values Section ===== */
.values {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2.25rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.value-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 8px;
    background-color: rgba(86, 18, 105, 0.1);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-icon-wrapper i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    stroke: currentColor;
}

.value-card:hover .value-icon-wrapper,
.value-icon-wrapper:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.value-card:hover .value-icon-wrapper i,
.value-icon-wrapper:hover i {
    color: var(--white) !important;
}

.value-card:hover .value-icon-wrapper i svg,
.value-icon-wrapper:hover i svg {
    stroke: var(--white) !important;
    color: var(--white) !important;
}

.value-card:hover .value-icon-wrapper svg,
.value-icon-wrapper:hover svg {
    stroke: var(--white) !important;
    color: var(--white) !important;
}

.value-card:active .value-icon-wrapper,
.value-card.active .value-icon-wrapper {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.value-card:active .value-icon-wrapper i,
.value-card.active .value-icon-wrapper i {
    color: var(--white);
}

.value-card h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}


/* ===== Strategic Roadmap Section ===== */
.roadmap {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.roadmap-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 0 0 12px white;
}

.roadmap-step:hover .step-number {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(86, 18, 105, 0.25);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 250px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .roadmap-container {
        flex-direction: column;
        gap: 4rem;
        margin-top: 3rem;
        padding: 0 20px;
    }

    .roadmap-container::before {
        display: none;
    }

    .roadmap-step {
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1.5rem;
    }

    .step-content p {
        max-width: 400px;
    }
}

/* ===== Services Section ===== */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: var(--gray-50);
}

.service-card.active {
    border-color: var(--primary-color);
}

.service-icon-wrapper {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 8px;
    background-color: rgba(86, 18, 105, 0.1);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-icon-wrapper i.fa-circle-user,
.service-icon-wrapper i[class*="fa-"] {
    font-size: 2.5rem;
}

.service-card:hover .service-icon-wrapper,
.service-icon-wrapper:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.service-card:hover .service-icon-wrapper i,
.service-icon-wrapper:hover i {
    color: var(--white) !important;
}


.service-card:active .service-icon-wrapper,
.service-card.active .service-icon-wrapper {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.service-card:active .service-icon-wrapper i,
.service-card.active .service-icon-wrapper i {
    color: var(--white);
}

.service-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.service-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

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

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

    .service-card {
        padding: 1.25rem;
    }

    .service-icon-wrapper {
        width: 3rem;
        height: 3rem;
    }

    .service-icon-wrapper i {
        font-size: 2.25rem;
    }
}


/* ===== Why Us Section ===== */
.why-us {
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-card {
    background: linear-gradient(135deg, #8b44a3 0%, #561269 100%);
    padding: 1.5rem 1.25rem;
    border-radius: 30px;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
    width: calc(33.333% - 1.5rem);
    box-shadow: 0 8px 24px rgba(86, 18, 105, 0.2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* 3-above, 2-below layout logic */
.why-card:nth-child(4),
.why-card:nth-child(5) {
    width: calc(40% - 1.5rem);
}

.why-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 30px rgba(86, 18, 105, 0.35);
    background: linear-gradient(135deg, #9b54b3 0%, #662279 100%);
}

.why-card p {
    color: var(--white);
    line-height: 1.5;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1024px) {
    .why-card {
        width: calc(50% - 1.5rem) !important;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .why-card {
        width: 100% !important;
        border-radius: 20px;
        min-height: 80px;
        padding: 1.25rem 1rem;
    }

    .why-card p {
        font-size: 0.9rem;
    }

    .why-us {
        padding: 60px 0;
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--gray-50);
    padding: 100px 0;
    overflow: hidden;
}

.testimonials .section-title {
    color: var(--primary-color);
}

.impact-carousel-wrapper {
    position: relative;
    padding: 40px 0 60px;
    margin-top: 2rem;
}

.impact-swiper {
    padding: 20px 10px 60px !important;
}

.impact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(86, 18, 105, 0.12);
    border-color: rgba(86, 18, 105, 0.2);
}

.impact-logo-box {
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.impact-card:hover .impact-logo-box {
    background: var(--white);
}

.impact-card .client-logo {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.impact-card:hover .client-logo {
    transform: scale(1.05);
}

.impact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.impact-sector span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(86, 18, 105, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Swiper Navigation Customization */
.impact-swiper .swiper-button-next,
.impact-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.impact-swiper .swiper-button-next::after,
.impact-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.impact-swiper .swiper-button-next:hover,
.impact-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--white);
}

.impact-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .impact-logo-box {
        height: 120px;
    }
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: right;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: -0.2px;
}

body[dir="ltr"] .faq-question {
    text-align: left;
}

.faq-question:hover {
    background-color: var(--gray-200);
}

.faq-question.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--white);
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

[dir="ltr"] .form-group input,
[dir="ltr"] .form-group select,
[dir="ltr"] .form-group textarea {
    text-align: left;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(86, 18, 105, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background-color: #F5F5F5;
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-logo-img {
        max-width: 150px;
    }
}

.footer-section p {
    line-height: 1.8;
    color: var(--text-muted);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

/* ===== Social Media Links ===== */
.social-media {
    margin-top: 2rem;
}

.social-media h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

[dir="rtl"] .social-links {
    justify-content: flex-start;
}

[dir="ltr"] .social-links {
    justify-content: flex-start;
}

.social-links a {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(86, 18, 105, 0.3);
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

.contact-info {
    list-style: none;
}

.footer-subscribe {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-subscribe h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-subscribe p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.subscribe-form input::placeholder {
    color: var(--text-muted);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

    .nav.active {
        display: flex;
    }

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

    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }

    .logo-placeholder {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center !important;
    }

    .features-grid,
    .timeline,
    .founders-grid,
    .values-grid,
    .services-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem 2rem;
    }

    .testimonial-logo {
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .client-logo {
        max-width: 150px;
        max-height: 80px;
    }

    .testimonial-title {
        font-size: 1.125rem;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    [dir="rtl"] .testimonial-header,
    [dir="ltr"] .testimonial-header {
        flex-direction: column;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding-top: 60px;
    }

    .logo-placeholder {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
        text-align: center !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}