/*
Theme Name: MindMedia Landing
Theme URI: https://mindmedia.com
Author: MindMedia Team
Author URI: https://mindmedia.com
Description: Professional, responsive landing page theme for MindMedia digital marketing agency. Features Bootstrap 5, RTL support, smooth animations, and a modern single-page layout showcasing services, portfolio, and company information.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mindmedia
Tags: one-column, custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready, bootstrap, landing-page
*/

/* ===================================
   Global Styles
   =================================== */

:root {
    --primary-navy: #000000;
    --secondary-navy: #1a1a1a;
    --accent-cyan: #00AEED;
    --accent-cyan-light: #33BFFF;
    --gradient-orange: #ff6b35;
    --gradient-red: #ff4757;
    --gradient-pink: #ff6b9d;
    --gradient-purple: #6c5ce7;
    --gradient-blue: #00AEED;
    --gradient-cyan: #00AEED;
    --text-light: #FFFFFF;
    --text-dark: #000000;
    --brand-white: #FFFFFF;
    --brand-black: #000000;
    --brand-cyan: #00AEED;
    --quaternary-dark: #3a3a3a;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-secondary: linear-gradient(45deg, var(--accent-secondary), var(--accent-tertiary));
    --gradient-background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
    --gradient-card: linear-gradient(145deg, var(--secondary-dark), var(--tertiary-dark));

    /* Shadows - Subtle and professional */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 4px 20px rgba(0, 170, 212, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 170, 212, 0.1);

    /* Border and Radius */
    --border-color: var(--quaternary-dark);
    --border-light: #4a4a4a;
    --border-accent: var(--accent-primary);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Spacing System */
    --spacing-xs: 0.3rem;
    /* 8px */
    --spacing-sm: 0.6rem;
    /* 16px */
    --spacing-md: 1rem;
    /* 24px */
    --spacing-lg: 1.5rem;
    /* 32px */
    --spacing-xl: 2rem;
    /* 48px */
    --spacing-xxl: 2.5rem;
    /* 64px */
    --spacing-xxxl: 3.5rem;
    /* 96px */

    /* Typography Scale */
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.8rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.5rem;
    /* 30px */
    --font-size-4xl: 1.8rem;
    /* 36px */
    --font-size-5xl: 2.25rem;
    /* 48px */
    --font-size-6xl: 3rem;
    /* 64px */

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 45px;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background-color: var(--primary-navy) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-cyan) !important;
}

/* ===================================
   Hero Section
   =================================== */
/* ===================================
   Hero Section - صورة واحدة فقط
   =================================== */

section.hero-section {
    padding: 0 !important;
    margin-top: 0 !important;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-navy);
}

.hero-single-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-section::before {
    content: none !important;
}

/* الطبقة التي فوق الصور */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background:
        radial-gradient(900px 500px at 50% 35%, rgba(0, 0, 0, 0.096), rgba(0, 0, 0, 0.486)),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.103), rgba(0, 0, 0, 0.329));
}

/* محتوى الهيرو */
.hero-content {
    position: relative;
    z-index: 6;
    color: var(--text-light);
    padding: 0;
    /* لا نريد padding يسبب فراغ */
    max-width: 900px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    padding: 1px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* الطبقة الشفافة على كامل الصورة */
    background: rgba(0, 0, 0, 0.35);

    /* Blur احترافي */
    backdrop-filter: blur(2.9px);
    -webkit-backdrop-filter: blur(6px);
}

/* نصوص الهيرو */
.hero-tagline {
    font-size: 2.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-style: normal;
    /* لو تبيها فخمة أكثر */
}

.hero-subtagline {
    color: rgba(255, 255, 255, .9);
    font-size: 1.2rem;
    margin: 0 0 1.5rem;
}

/* زر الهيرو */
.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    color: var(--text-light);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.35);
}

/* الأشكال */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .35;
    mix-blend-mode: screen;
}

.hero-shape-1 {
    top: -160px;
    right: -180px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}

.hero-shape-2 {
    bottom: -220px;
    left: -200px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 180px;
    opacity: 0;
    display: none;
    line-height: 0;
}

.hero-wave path {
    fill: #ffffff;
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.2rem !important;
    }

    .hero-subtagline {
        font-size: 0.8rem !important;
    }

    .hero-cta {
        padding: 0.4rem 1rem !important;
        font-size: 0.7rem !important;
    }

    .tag-time {
        font-size: 0.7rem !important;
    }

    .hero-content {
        max-width: 100% !important;
    }

    .hero-section {
        min-height: 68vh !important;
    }

    .about-content .about-title {
        font-size: 14px !important;
    }
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--primary-navy);
    color: var(--text-light);
}

.section-light {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--gradient-blue));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
    color: var(--text-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-points {
    margin-top: 2rem;
}

.about-point {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    border-left: 4px solid var(--accent-cyan);
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-point:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

/* ===================================
   Vision & Mission Section
   =================================== */

.vision-mission-section {
    background: url('images/003.webp') center/cover no-repeat;
    position: relative;
}


.vision-mission-content {
    position: relative;
    z-index: 1;
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
}

.vision-card h3,
.mission-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* ===================================
   Goals Section
   =================================== */

.goals-section {
    background: var(--primary-navy);
    color: var(--text-light);
}

.goal-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 2px solid transparent;
}

.goal-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.goal-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    background: linear-gradient(135deg, #1a2332 0%, #0a1628 100%);
    color: var(--text-light);
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
   /* height: 100%;*/
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 188, 212, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 5rem;
    color: var(--text-light);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

/* ===================================
   Methodology Section
   =================================== */

.methodology-section {
    background: var(--primary-navy);
    color: var(--text-light);
}

.methodology-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-card {
    flex: 1;
    min-width: 180px;
    padding: 0.7rem 0.4rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-15px);
}

.step-card.step-1 {
    background: linear-gradient(135deg, #3b3b3b, #131313);
}

.step-card.step-2 {
    background: linear-gradient(135deg, #3b3b3b, #131313);
}

.step-card.step-3 {
    background: linear-gradient(135deg, #3b3b3b, #131313);
}

.step-card.step-4 {
    background: linear-gradient(135deg, #3b3b3b, #131313);
}

.step-card.step-5 {
    background: linear-gradient(135deg, #4a69ff, #00d2ff);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;

    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   Team Section
   =================================== */

.team-section {
    background: url('images/007.webp') center/cover no-repeat;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.85);
}

.team-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-points {
    margin-top: 2rem;
}

.team-point {
    background: rgba(0, 188, 212, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    border-right: 4px solid var(--accent-cyan);
}

/* ===================================
   Portfolio Section
   =================================== */

.portfolio-section {
    background: #f8f9fa;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.9), rgba(74, 105, 255, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--text-light);
}

/* FORM */

.contact-form {
    background: #0f172a;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-control {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    padding: 12px;
}


.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    color: var(--text-light);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    text-align: center;
}

.social-links {
    margin: 2rem 0;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-cyan);
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .methodology-steps {
        flex-direction: column;
    }

    .step-card {
        min-width: 100%;
    }

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

/* ===================================
   Utility Classes
   =================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    border: none;
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
}

/* ===================================
   Top Bar
   =================================== */

.topbar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0d0d0d 100%);
    color: var(--text-light);
    padding: 0.75rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 174, 237, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.topbar-item {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.topbar-item:hover {
    color: var(--accent-cyan);
}

.topbar-item i {
    color: var(--accent-cyan);
    font-size: 1rem;
}

.topbar-close-btn {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.topbar-close-btn:hover {
    background: rgba(0, 174, 237, 0.1);
    color: #00FFFF;
    transform: scale(1.1);
}

.topbar-close-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .topbar-left,
    .topbar-right {
        gap: 1rem;
        justify-content: center;
    }

    .topbar-item {
        font-size: 0.8rem;
    }
}

/* ===================================
   Navbar Main
   =================================== */

.navbar-main {
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 174, 237, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    top: 45px;
    transition: top 0.3s ease;
}

.navbar-main.topbar-hidden {
    top: 0;
}

.navbar-main .navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-main .navbar-brand img:hover {
    transform: scale(1.05);
}

/* ===================================
   New Sections Styles
   =================================== */

.market-context-section,
.stumbling-section,
.offer-intro-section,
.why-mind-section,
.partners-section,
.governance-section,
.roadmap-section,
.faq-section {
    padding: 5rem 0;
    position: relative;
}

.market-context-section,
.stumbling-section,
.why-mind-section,
.governance-section,
.roadmap-section,
.faq-section {
    background: var(--primary-navy);
    color: var(--text-light);
}

.offer-intro-section,
.partners-section {
    background: #f8f9fa;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
}

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

.content-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--accent-cyan);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 174, 237, 0.1);
    box-shadow: 0 10px 30px rgba(0, 174, 237, 0.2);
}

.content-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 174, 237, 0.1);
    border-radius: 15px;
    border: 2px solid var(--accent-cyan);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-right: 4px solid var(--accent-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 174, 237, 0.1);
    transform: translateX(-10px);
}

.faq-question {
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.faq-answer {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.partners-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1400px) {
    .partners-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .partners-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .partners-list {
        grid-template-columns: 1fr;
    }
}

.partner-item {
    padding: 1.5rem;
    background: var(--brand-white);
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--primary-navy);
    min-width: 150px;
    flex-shrink: 0;
}

.partner-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(0, 174, 237, 0.2);
}

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

.phase-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--accent-cyan);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.phase-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 174, 237, 0.3);
    background: rgba(0, 174, 237, 0.1);
}

.phase-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.phase-title {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.phase-items {
    list-style: none;
    padding: 0;
}

.phase-items li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.phase-items li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}
/* ===================================
   Enhanced Animations
   =================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .topbar-left,
    .topbar-right {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

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

    .partners-list.slider-mode {
        grid-template-columns: repeat(2, 1fr);
    }

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

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


/* ===================================
   Enhanced Responsive Grid System
   =================================== */

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

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

    .partners-list.slider-mode {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {

    .content-grid,
    .phases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-list.slider-mode {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

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

    .partners-list.slider-mode {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .content-card,
    .phase-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {

    .content-grid,
    .phases-grid,
    .stats-grid,
    .partners-list.slider-mode {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 80px;
    }

    .content-card,
    .phase-card {
        padding: 1rem;
    }

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

    .partner-item {
        min-width: auto;
    }
}

/***********************Service****************/

.services-grid-section {
    padding: var(--spacing-xl) 0;
    margin: 0px !important;
    background-color: var(--secondary-navy);
    color: var(--text-light);
    position: relative;
}

.services-grid-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 170, 212, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(0, 128, 160, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.services-grid-section .container {
    position: relative;
    z-index: 1;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: 0 !important;
    align-items: start !important;
}

.service-card {
    align-self: start !important;

}

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

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

/* Card */
.service-card.card {
    padding: 0 !important;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.92), rgba(42, 42, 42, 0.88));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /*min-height: 100%;*/
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.service-card.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 212, 0.06), transparent);
    transform: translateX(-120%);
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-accent);
    border-color: rgba(0, 170, 212, 0.35);
}

.service-card.card:hover::before {
    transform: translateX(120%);
}

/* Media */
.service-card-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .service-card-image {
        height: 240px;
    }
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: var(--transition-slow);
    filter: saturate(1.05) contrast(1.02);
}

.service-card:hover .service-image {
    transform: scale(1.12);
}

/* Placeholder */
.service-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(0, 170, 212, 0.22), rgba(0, 128, 160, 0.10));
    color: var(--text-primary);
    font-size: 2.4rem;
}

/* Badge */
.service-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    background: rgba(0, 170, 212, 0.95);
    color: #051015;
    font-size: var(--font-size-xs);
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(0, 170, 212, 0.18);
    letter-spacing: 0.3px;
    z-index: 3;
}

/* Quick actions */
.service-quick-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 2;
}

.service-card:hover .service-quick-actions {
    opacity: 1;
    visibility: visible;
}

.quick-action {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.quick-action:hover {
    background: rgba(0, 170, 212, 0.92);
    color: #051015;
    border-color: rgba(0, 170, 212, 0.55);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-accent);
}

/* Content */
.service-card-content {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.service-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.service-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

.service-title a:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.service-excerpt {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: var(--font-size-sm);
    padding: 0px !important;
}

/* Footer actions */
.service-card-footer {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
    background: rgba(0, 0, 0, 0.10);
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: 10px 12px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Make primary/outline buttons match theme (inside services only) */
.services-grid-section .btn.btn-primary {
    background: var(--gradient-primary) !important;
    color: #add6e9 !important;
    border: 1px solid rgba(0, 170, 212, 0.20) !important;
    box-shadow: var(--shadow-accent);
}

.services-grid-section .btn.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.services-grid-section .btn.btn-outline {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.services-grid-section .btn.btn-outline:hover {
    border-color: rgba(0, 170, 212, 0.45) !important;
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

/* Empty state */
.no-services-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
}

.no-results-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 170, 212, 0.20), rgba(0, 128, 160, 0.10));
    color: var(--text-primary);
    font-size: 1.6rem;
}

/* Optional: smoother hover focus */
.service-card a:focus-visible,
.service-card button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.step-description {

    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-top: 12px;

}

.step-goal {

    margin-top: 16px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;

}

.methodology-helper {

    margin-top: 60px;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;

}

.partners-list {

    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;

}

.partner-item {

    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;

}

.partner-item:hover {

    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.partner-item img {

    max-height: 60px;
    width: auto;
    object-fit: contain;

}

.vision-mission-section {

    direction: rtl;
    text-align: center;
}

.section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 50px;
}

.vm-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.vm-card {
    background: #111827;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: 0.35s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 174, 237, 0.25);
}

.vm-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.vm-card h3 {
    color: #00AEED;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.vm-card h3 span {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-right: 6px;
}

.vm-card p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
}

.core-values {
    padding: 90px 20px;
    background: #030307;
    direction: rtl;
    text-align: center;
}

.section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 60px;
}

.section-title span {
    color: #00AEED;
    font-size: 1rem;
    margin-right: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.value-card {
    background: #0f172a;
    padding: 35px 20px;
    border-radius: 16px;
    transition: 0.35s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 174, 237, 0.25);
    border-color: #00AEED;
}

.value-icon {
    font-size: 36px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-card h3 {
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.6;
}

.why-mind-section {
    padding: 100px 20px;
    background: #020617;
    direction: rtl;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
}

.section-desc {
    max-width: 750px;
    margin: auto;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 60px;
}

.why-card {
    background: #0f172a;
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: #00AEED;
    box-shadow: 0 15px 40px rgba(0, 174, 237, 0.25);
}

.icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.why-card h3 {
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
}

.swiper {
    padding-bottom: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #00AEED;
}

.swiper-pagination-bullet-active {
    background: #00AEED;
}

/*************/


.service-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
    position: relative;
}

.service-card.active {
    transform: translateY(-5px);
}


.service-card-content {
    padding: 10px !important;
    text-align: center;
}

.service-sub {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.toggle-services {
    background: #00AEED;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.services-list {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    text-align: right;
}

.service-card.active .services-list {
    display: block;
}

.services-list li {
    list-style: none;
    padding: 6px 0;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

:root {
    --accent-start: #00c6ff;
    --accent-end: #0072ff;
    --dot-size: 30px;
}

.timeline-section {
    padding: 5rem 1rem;
    background: #010205;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
}

.timeline::before {
    content: '';
    position: absolute;
    top: calc(var(--dot-size)/2);
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    border-radius: 3px;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.5), 0 0 10px rgba(0, 114, 255, 0.5);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 140px;
    margin: 0 0.5rem;
}

.timeline-dot {
    width: var(--dot-size);
    height: var(--dot-size);
    background: linear-gradient(45deg, var(--accent-start), var(--accent-end));
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.7);
}

.timeline-card {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-10px);
    background: rgba(0, 198, 255, 0.1);
}

.timeline-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #00c6ff;
    font-weight: 600;
}

.timeline-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .timeline-item {
        min-width: 120px;
        margin: 0 0.3rem;
    }

    .timeline-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline::before {
        top: 0;
        left: calc(var(--dot-size)/2);
        width: 6px;
        height: 100%;
    }

    .timeline-item {
        margin: 2rem 0;
        text-align: left;
        width: 100%;
    }

    .timeline-card {
        margin-left: 50px;
    }
}

@media (max-width: 480px) {
    .timeline-card {
        margin-left: 40px;
        padding: 0.6rem 0.8rem;
    }

    .timeline-card h4 {
        font-size: 0.95rem;
    }

    .timeline-card p {
        font-size: 0.85rem;
    }
}

.industries-section {
    padding: 100px 20px;
    background: #020617;
    direction: rtl;
    text-align: center;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */

.industry-card {
    background: #0f172a;
    padding: 35px 20px;
    border-radius: 16px;
    transition: .35s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 174, 237, 0.25);
    border-color: #00AEED;
}

/* ICON */

.industry-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #00AEED;
    transition: .3s;
}

.industry-card:hover .industry-icon {
    transform: scale(1.2) rotate(5deg);
}

/* TEXT */

.industry-card h3 {
    color: #e5e7eb;
    font-size: 1.05rem;
    line-height: 1.6;
}
/* ===== FIX FORM RTL ===== */
.contact-form form {
    direction: rtl;
    text-align: right;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    direction: rtl;
    text-align: right;
}

.contact-form button {
    display: block;
    margin: 1rem auto;
}


/* ===== FIX HERO ===== */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.hero-subtagline {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-tagline {
    font-size: 2.5rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.8rem;
    }
}
/* ===============================
   SAFE OVERRIDES (بدون تعديل الأصل)
=============================== */

/* ===== FIX FORM RTL ===== */
.contact-form form {
    direction: rtl !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: plaintext;
}

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        direction: rtl !important;
        unicode-bidi: plaintext;
    }

/* زر الإرسال بالنص */
.contact-form button {
    display: block;
    margin: 1rem auto;
}


/* ===== FIX TITLES ALIGNMENT ===== */
.section-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px;
}

    .section-title span {
        display: block;
        font-size: 0.85rem;
        letter-spacing: 2px;
        opacity: 0.7;
    }


    /* خط تحت العنوان */
    .section-title::after {
        content: "";
        width: 60px;
        height: 3px;
        background: #00AEED;
        margin-top: 8px;
        border-radius: 5px;
    }


/* ===== HERO TEXT FIX ===== */
.hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.hero-tagline {
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.8rem;
    }
}


/* ===== ICONS IMPROVEMENT ===== */
.value-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 12px;
    background: rgba(0,174,237,0.1);
    border: 1px solid rgba(0,174,237,0.3);
    transition: 0.3s;
}

    .value-icon i {
        font-size: 26px;
        color: #00AEED;
    }

.value-card:hover .value-icon {
    background: #00AEED;
    transform: translateY(-5px);
}

    .value-card:hover .value-icon i {
        color: #fff;
    }


/* ===== CARD HOVER ===== */
.value-card {
    transition: 0.3s;
}

    .value-card:hover {
        transform: translateY(-6px);
    }
/* ===================================================
   FINAL UNIFIED TITLES DESIGN - Mind Media
=================================================== */

.section-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

    /* النص الإنجليزي */
    .section-title span {
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #00AEED;
        opacity: 0.7;
        display: block;
    }

    /* الخط تحت العنوان */
    .section-title::after {
        content: "";
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #00AEED, #00f0ff);
        margin-top: 10px;
        border-radius: 10px;
        transition: 0.4s ease;
    }

    /* Hover effect */
    .section-title:hover::after {
        width: 90px;
    }

/* Animation دخول */
.section-title {
    animation: fadeUpTitle 0.8s ease;
}

@keyframes fadeUpTitle {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين خاص لقسم Why Mind */
.why-mind-section .section-title span {
    color: #00f0ff;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

        .section-title span {
            font-size: 0.7rem;
        }
    /* ===================================================
   FINAL UNIFIED TITLES DESIGN - Mind Media
=================================================== */

    .section-title {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 50px;
        position: relative;
        font-size: 2.3rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.3;
    }

        /* النص الإنجليزي */
        .section-title span {
            font-size: 0.8rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #00AEED;
            opacity: 0.7;
            display: block;
        }

        /* الخط تحت العنوان */
        .section-title::after {
            content: "";
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, #00AEED, #00f0ff);
            margin-top: 10px;
            border-radius: 10px;
            transition: 0.4s ease;
        }

        /* Hover effect */
        .section-title:hover::after {
            width: 90px;
        }

    /* Animation دخول */
    .section-title {
        animation: fadeUpTitle 0.8s ease;
    }

    @keyframes fadeUpTitle {
        from {
            opacity: 0;
            transform: translateY(25px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* تحسين خاص لقسم Why Mind */
    .why-mind-section .section-title span {
        color: #00f0ff;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .section-title {
            font-size: 1.8rem;
        }

            .section-title span {
                font-size: 0.7rem;
            }
        /* ===================================================
   FINAL UNIFIED TITLES DESIGN - Mind Media
=================================================== */

        .section-title {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            margin-bottom: 50px;
            position: relative;
            font-size: 2.3rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1.3;
        }

            /* النص الإنجليزي */
            .section-title span {
                font-size: 0.8rem;
                letter-spacing: 2px;
                text-transform: uppercase;
                color: #00AEED;
                opacity: 0.7;
                display: block;
            }

            /* الخط تحت العنوان */
            .section-title::after {
                content: "";
                width: 40px;
                height: 3px;
                background: linear-gradient(90deg, #00AEED, #00f0ff);
                margin-top: 10px;
                border-radius: 10px;
                transition: 0.4s ease;
            }

            /* Hover effect */
            .section-title:hover::after {
                width: 90px;
            }

        /* Animation دخول */
        .section-title {
            animation: fadeUpTitle 0.8s ease;
        }

        @keyframes fadeUpTitle {
            from {
                opacity: 0;
                transform: translateY(25px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* تحسين خاص لقسم Why Mind */
        .why-mind-section .section-title span {
            color: #00f0ff;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.8rem;
            }

                .section-title span {
                    font-size: 0.7rem;
                }
        }
        /* ===================================================
   AUTO FIX TITLES (حتى بدون HTML تعديل)
=================================================== */

        /* الشكل الأساسي */
        .section-title {
            text-align: center;
            font-size: 2.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 50px;
            position: relative;
        }

            /* الخط */
            .section-title::after {
                content: "";
                display: block;
                width: 40px;
                height: 3px;
                background: linear-gradient(90deg, #00AEED, #00f0ff);
                margin: 10px auto 0;
                border-radius: 10px;
                transition: 0.4s;
            }

            .section-title:hover::after {
                width: 90px;
            }

        /* Animation */
        .section-title {
            animation: fadeUpTitle 0.8s ease;
        }

        @keyframes fadeUpTitle {
            from {
                opacity: 0;
                transform: translateY(25px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== إذا في span ===== */
        .section-title span {
            display: block;
            font-size: 0.8rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #00AEED;
            opacity: 0.7;
        }

        /* ===== FIX Why Mind Section ===== */
        .why-mind-section .section-title {
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.8rem;
            }

                .section-title span {
                    font-size: 0.7rem;
                }
        }
        /* FORCE unify all titles */
        .section-title,
        .why-mind-section h2,
        .core-values h2 {
            text-align: center !important;
            font-size: 2.3rem !important;
            font-weight: 700 !important;
            color: #fff !important;
        }

            /* span */
            .section-title span {
                display: block;
                font-size: 0.8rem;
                letter-spacing: 2px;
                text-transform: uppercase;
                color: #00AEED;
                opacity: 0.7;
            }

        .contact-wrapper {
            margin-top: 3rem;
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 174, 237, 0.2);
        }

        .contact-title {
            color: #00AEED;
            margin-bottom: 1.5rem;
        }

        .contact-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 174, 237, 0.08);
            padding: 10px 15px;
            border-radius: 10px;
            transition: 0.3s;
        }

            .contact-item i {
                color: #00AEED;
            }

            .contact-item a {
                color: #e2f7ff;
                text-decoration: none;
            }

            /* Hover */
            .contact-item:hover {
                transform: translateY(-3px);
                background: rgba(0, 174, 237, 0.15);
            }

        /* Mobile */
        @media (max-width: 768px) {
            .contact-row {
                flex-direction: column;
                align-items: stretch;
            }

            .contact-item {
                justify-content: center;
            }
        }

        .contact-wrapper {
            margin-top: 3rem;
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 174, 237, 0.2);
        }

        .contact-title {
            color: #00AEED;
            margin-bottom: 1.5rem;
            font-size: 18px;
            font-weight: 600;
        }

        /* ⭐ أهم جزء */
        .contact-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        /* عنصر التواصل */
        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #e2f7ff;
            transition: 0.3s ease;
            position: relative;
        }

            /* أيقونة */
            .contact-item i {
                color: #00AEED;
                font-size: 15px;
            }

            /* الروابط */
            .contact-item a {
                color: #e2f7ff;
                text-decoration: none;
                transition: 0.3s;
            }

            /* hover بسيط احترافي */
            .contact-item:hover {
                transform: translateY(-2px);
                opacity: 0.85;
            }

            /* فاصل خفيف بين العناصر (خط عمودي) */
            .contact-item:not(:last-child)::after {
                content: "";
                position: absolute;
                right: -15px;
                height: 18px;
                width: 1px;
                background: rgba(0, 174, 237, 0.3);
            }

        /* موبايل */
        @media (max-width: 768px) {
            .contact-row {
                flex-direction: column;
                gap: 12px;
            }

            .contact-item::after {
                display: none;
            }
        }

        .contact-wrapper {
            margin-top: 3rem;
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 174, 237, 0.2);
        }

        .contact-title {
            color: #00AEED;
            margin-bottom: 1rem;
        }

        /* 🔥 هذا هو الحل الحقيقي */
        .contact-row {
            display: flex !important;
            flex-direction: row !important;
            justify-content: center;
            align-items: center;
            gap: 25px;
            flex-wrap: nowrap; /* يمنع النزول */
        }

        /* يخلي كل عنصر inline */
        .contact-item {
            display: flex !important;
            align-items: center;
            gap: 6px;
            white-space: nowrap; /* يمنع كسر النص */
        }

            /* الروابط */
            .contact-item a {
                color: #00AEED;
                text-decoration: none;
            }

            /* الأيقونات */
            .contact-item i {
                color: #00AEED;
            }

        /* موبايل فقط */
        @media (max-width: 768px) {
            .contact-row {
                flex-wrap: wrap !important; /* يرجع طبيعي بالموبايل */
            }
        }

        .contact-wrapper {
            margin-top: 3rem;
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 174, 237, 0.2);
        }

        .contact-title {
            color: #00AEED;
            margin-bottom: 1.2rem;
            font-weight: 600;
        }

        /* ⭐ الحل الاحترافي الحقيقي */
        .contact-row {
            display: inline-flex !important;
            justify-content: center;
            align-items: center;
            gap: 35px;
            flex-wrap: wrap; /* مهم للتجاوب */
        }

        /* كل عنصر */
        .contact-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #e2f7ff;
            position: relative;
            white-space: nowrap;
        }

            /* أيقونات */
            .contact-item i {
                color: #00AEED;
                font-size: 15px;
            }

            /* روابط */
            .contact-item a {
                color: #00AEED;
                text-decoration: none;
                transition: 0.3s;
            }

            /* hover بسيط احترافي */
            .contact-item:hover {
                transform: translateY(-2px);
                opacity: 0.85;
            }

            /* فاصل خط احترافي بين العناصر */
            .contact-item:not(:last-child)::after {
                content: "";
                position: absolute;
                right: -18px;
                height: 18px;
                width: 1px;
                background: rgba(0, 174, 237, 0.25);
            }

        /* موبايل */
        @media (max-width: 768px) {
            .contact-row {
                flex-direction: column;
                gap: 12px;
            }

            .contact-item::after {
                display: none;
            }
        }

        .contact-item i {
            font-size: 18px;
            color: #00AEED;
            background: rgba(0, 174, 237, 0.1);
            width: 35px;
            height: 35px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
        }

            /* hover */
            .contact-item i:hover {
                background: #00AEED;
                color: #fff;
                transform: scale(1.1);
            }

        .vm-icon i {
            color: #33CCCC !important;
        }

        .section-title span {
            color: #00AEED;
        }

        .cards {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .card {
            background: #f5f5f5;
            padding: 20px;
            width: 250px;
            text-align: center;
            border-radius: 10px;
            transition: 0.3s;
        }

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

        #portfolio .services-grid {
            justify-content: center;
        }

        #portfolio .service-card {
            max-width: 380px;
            margin: 0 auto;
        }

        #portfolio .service-card-image {
            height: 220px;
        }

        #portfolio .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* =========================
PORTFOLIO VIEWER CONTROLS
========================= */

        .viewer-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 18px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

            .viewer-controls button {
                width: 56px;
                height: 56px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                border: 1px solid rgba(255,255,255,0.15);
                background: rgba(255,255,255,0.08);
                backdrop-filter: blur(12px);
                color: #111827;
                font-size: 20px;
                cursor: pointer;
                transition: all .35s ease;
                box-shadow: 0 6px 25px rgba(0,0,0,0.18);
            }

                .viewer-controls button:hover {
                    background: #00AEED;
                    color: #ffffff;
                    transform: translateY(-4px) scale(1.08);
                    box-shadow: 0 10px 30px rgba(0,174,237,0.45);
                }

                .viewer-controls button:active {
                    transform: scale(.95);
                }

            .viewer-controls i {
                pointer-events: none;
            }

        #viewerDownloadBtn {
            display: block;
            text-align: center;
            background: linear-gradient(135deg,#18e0a1,#12df93);
            color: #052014;
            text-decoration: none;
            font-weight: 800;
            padding: 18px 20px;
            border-radius: 999px;
            margin: 0 auto 28px;
            max-width: 520px;
            font-size: 18px;
            transition: .35s;
            box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        }

            #viewerDownloadBtn:hover {
                transform: translateY(-3px);
                box-shadow: 0 15px 40px rgba(0,0,0,0.35);
            }

        html {
            scroll-behavior: smooth;
        }

        section[id] {
            scroll-margin-top: 120px;
        }

        html {
            scroll-behavior: smooth;
        }

        /* حل مشكلة الهيدر الثابت */
        #portfolio {
            scroll-margin-top: 140px;
        }

        html {
            scroll-behavior: smooth;
        }

        #portfolio {
            scroll-margin-top: 140px;
        }
        /* ===== Social Icons Professional Style ===== */

        .social-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 22px;
            margin-top: 30px;
        }

            .social-links a {
                width: 50px;
                height: 50px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: rgba(255,255,255,0.06);
                color: #ffffff;
                font-size: 20px;
                transition: all .35s ease;
                border: 1px solid rgba(255,255,255,0.08);
                backdrop-filter: blur(6px);
            }

                /* Hover effect */

                .social-links a:hover {
                    transform: translateY(-6px) scale(1.1);
                    background: #00AEED;
                    color: #fff;
                    box-shadow: 0 10px 25px rgba(0,174,237,0.45);
                }

                /* Individual colors */

                .social-links a:nth-child(1):hover {
                    background: #1877f2;
                }

                .social-links a:nth-child(2):hover {
                    background: #000;
                }

                .social-links a:nth-child(3):hover {
                    background: #e1306c;
                }

                .social-links a:nth-child(4):hover {
                    background: #0a66c2;
                }

        <style >
        /* هذا الجزء سيجبر الأيقونات على أخذ اللون الأزرق */
        .core-values .vm-icon i {
            color: #00AEED !important; /* اللون الأزرق السماوي */
            font-size: 45px !important;
            margin-bottom: 25px !important;
            display: inline-block !important;
        }

        /* تنسيق إضافي للبطاقة لضمان ظهورها بشكل صحيح */
        .core-values .value-card {
            background: #0d121f !important;
            border-radius: 15px !important;
            padding: 40px 20px !important;
            text-align: center !important;
            border: 1px solid rgba(0, 174, 237, 0.1) !important;
        }

            .core-values .value-card h3 {
                color: #ffffff !important;
                margin-top: 15px !important;
            }

        </style >

