@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid red;
} */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --bg-dark-primary: #030114;
    --bg-dark-secondary: #08051a;
    --bg-dark-tertiary: #1a0f3a;
    --accent-purple: #9D50BB;
    --accent-teal: #00D2FF;
    --accent-blue: #FFB229;
    --text-primary: #F8FAFC;
    --text-secondary: #c7c9d9;
    --text-muted: #8b8ea3;
    --glass-bg: rgba(157, 80, 187, 0.05);
    --glass-border: rgba(157, 80, 187, 0.2);
    --card-bg: rgba(26, 15, 58, 0.6);
    --shadow-glow: 0 0 30px rgba(157, 80, 187, 0.3);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark-primary) 0%, var(--bg-dark-secondary) 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(157, 80, 187, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 178, 41, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
/* .header {
    background-color: blue;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
} */

.header {
    /* background-color: blue; */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 1rem 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 15, 58, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    border-radius: 8px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(157, 80, 187, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 80, 187, 0.6);
}

.btn-secondary {
    background: rgba(157, 80, 187, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: rgba(157, 80, 187, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

main {
    padding-top: 120px;
    min-height: 100vh;
}

section {
    padding: 5rem 0;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-effect-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(157, 80, 187, 0.6));
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 40px rgba(157, 80, 187, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(157, 80, 187, 0.9)) drop-shadow(0 0 80px rgba(0, 210, 255, 0.5));
    }
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 30%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-stat {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===========================
   SERVICES MARQUEE
   =========================== */
/* ===========================
   SERVICES - Dashboard Style
   =========================== */
/* 3 + 3 ثابت */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 3rem;
    align-items: stretch;
    /* كل الكروت نفس الارتفاع */
}

/* كارت الخدمات */
.service-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    border-radius: 22px;
    background: rgba(18, 12, 44, 0.65);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(139, 92, 246, .25);
    transition: all .3s ease;
}

.service-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 20px 60px rgba(139, 92, 246, .25);
}

/* مساحة الصورة (مناسبة للـ GIF و JPG) */
.service-media {
    height: 170px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.service-card-v2:hover .service-media img {
    transform: scale(1.05);
}

/* العناوين والوصف (توحيد المسافات) */
.service-title {
    font-size: 1.3rem;
    margin: 4px 0 8px;
}

.service-description {
    font-size: .95rem;
    opacity: .85;
    margin-bottom: 14px;
    min-height: 42px;
    /* يخلي كل الكروت متساوية */
}

/* التاجز لتبقى دايمًا تحت */
.service-tags {
    margin-top: auto;
    /* يخلي التاجز في أسفل الكارت */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags .tag {
    font-size: .8rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, .25);
    background: rgba(34, 211, 238, .08);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* responsive */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "A A"
            "B C"
            "D E"
            "F F";
    }

    .services-grid .service-card {
        transform: none;
    }

    .service-media img {
        height: 160px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "A" "B" "C" "D" "E" "F";
    }
}

.services-marquee {
    background: rgba(26, 15, 58, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.marquee {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    gap: 4rem;
}

.marquee-content span {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.marquee-content span::after {
    content: '•';
    position: absolute;
    right: -2rem;
    color: var(--accent-purple);
    font-size: 1.5rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   SECTIONS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-background {
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(157, 80, 187, 0.08);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    letter-spacing: 0.05em;
    z-index: 0;
}

.title-foreground {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===========================
   PHONE SHOWCASE (before Services)
   =========================== */
.phone-showcase {
    padding: 4rem 0 2rem;
}

.phone-showcase-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.phone-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.55));
}

/* feature columns */
.feature-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-col.left {
    align-items: flex-start;
}

.feature-col.right {
    align-items: flex-end;
}

.feature-card {
    width: min(360px, 100%);
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    background: rgba(26, 15, 58, 0.55);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(157, 80, 187, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.35);
}

.feature-ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(157, 80, 187, 0.12);
    border: 1px solid rgba(157, 80, 187, 0.25);
    font-size: 22px;
}

.feature-title {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.feature-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

/* connectors (lines + dots) */
.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.45);
}

.line {
    position: absolute;
    height: 2px;
    background: rgba(157, 80, 187, 0.55);
    box-shadow: 0 0 18px rgba(157, 80, 187, 0.35);
}

/* positions (tweak if needed) */
.dot.d1 {
    left: 2%;
    top: 34%;
}

.dot.d2 {
    left: 2%;
    top: 68%;
}

.dot.d3 {
    right: 2%;
    top: 34%;
}

.dot.d4 {
    right: 2%;
    top: 68%;
}

.line.l1 {
    left: 4%;
    top: 34.5%;
    width: 30%;
}

.line.l2 {
    left: 4%;
    top: 68.5%;
    width: 30%;
}

.line.l3 {
    right: 4%;
    top: 34.5%;
    width: 30%;
}

.line.l4 {
    right: 4%;
    top: 68.5%;
    width: 30%;
}

/* mobile responsive */
@media (max-width: 968px) {
    .phone-showcase-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-col.left,
    .feature-col.right {
        align-items: stretch;
    }

    /* hide connectors on mobile (optional) */
    .dot,
    .line {
        display: none;
    }

    .phone-img {
        max-width: 320px;
        margin: 0 auto;
    }
}


/* ===========================
   SERVICES
   =========================== */
/* .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
} */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
        "A A A A A A A A A A A A"
        "B B B B B B C C C C C C"
        "D D D D E E E E F F F F";
    gap: 1.75rem;
    align-items: stretch;
}

/* map cards to areas */
.services-grid .service-card:nth-child(1) {
    grid-area: A;
}

.services-grid .service-card:nth-child(2) {
    grid-area: B;
}

.services-grid .service-card:nth-child(3) {
    grid-area: C;
}

.services-grid .service-card:nth-child(4) {
    grid-area: D;
}

.services-grid .service-card:nth-child(5) {
    grid-area: E;
}

.services-grid .service-card:nth-child(6) {
    grid-area: F;
}

/* match your dark glass design + subtle variety */
.services-grid .service-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(26, 15, 58, 0.55);
    border: 1px solid rgba(157, 80, 187, 0.22);
    backdrop-filter: blur(18px);
}

/* glow accent per card (subtle) */
.services-grid .service-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(500px 220px at 20% 10%, rgba(157, 80, 187, .22), transparent 60%),
        radial-gradient(420px 220px at 85% 35%, rgba(0, 210, 255, .16), transparent 60%);
    opacity: .9;
    pointer-events: none;
}

/* make top card feel “hero” */
.services-grid .service-card:nth-child(1) {
    padding: 3rem;
    border-color: rgba(0, 210, 255, 0.30);
    box-shadow: 0 0 45px rgba(157, 80, 187, 0.18);
}

.services-grid .service-card:nth-child(1) .service-title {
    font-size: 1.75rem;
}

/* slight offsets to feel more premium */
.services-grid .service-card:nth-child(2) {
    transform: translateY(6px);
}

.services-grid .service-card:nth-child(3) {
    transform: translateY(-6px);
}

.services-grid .service-card:nth-child(4) {
    transform: translateY(10px);
}

.services-grid .service-card:nth-child(5) {
    transform: translateY(0px);
}

.services-grid .service-card:nth-child(6) {
    transform: translateY(10px);
}

/* keep hover consistent */
.services-grid .service-card:hover {
    transform: translateY(-8px) !important;
}

/* Responsive: stack nicely */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "A A"
            "B C"
            "D E"
            "F F";
    }

    .services-grid .service-card {
        transform: none;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "A"
            "B"
            "C"
            "D"
            "E"
            "F";
    }
}

/* ===========================
   SERVICE DETAIL PAGE
   =========================== */
.service-detail {
    padding-top: 2rem;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.overview-card {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(26, 15, 58, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1rem;
    backdrop-filter: blur(18px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, .18), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, .18), transparent 55%);
    transform: rotate(12deg);
    opacity: .8;
    pointer-events: none;
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(139, 92, 246, .45);
}

.overview-media {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, .25);
    background: rgba(11, 6, 34, .55);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.overview-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
}

.overview-body h3 {
    font-size: 1.05rem;
    margin: 0;
}

.overview-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: .92rem;
}

.overview-cta {
    margin-top: .35rem;
    font-size: .9rem;
    color: var(--accent-teal);
    font-weight: 600;
}

/* Split sections */
.service-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: rgba(26, 15, 58, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
    position: relative;
    overflow: hidden;
}

.service-split::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -35%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 60%);
    filter: blur(8px);
    pointer-events: none;
}

.service-split.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.service-split.reverse .split-media {
    order: 2;
}

.service-split.reverse .split-body {
    order: 1;
}

.split-media {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, .25);
    background: rgba(11, 6, 34, .55);
}

.split-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.service-split:hover .split-media img {
    transform: scale(1.06);
}

.split-title {
    font-size: 2rem;
    margin: 0 0 .5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.split-lead {
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.split-bullets {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem 1.25rem;
}

.split-bullets li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.split-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 700;
}

.split-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: transform, opacity;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .services-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-split,
    .service-split.reverse {
        grid-template-columns: 1fr;
    }

    .service-split.reverse .split-media,
    .service-split.reverse .split-body {
        order: initial;
    }

    .split-media img {
        height: 280px;
    }

    .split-bullets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-overview {
        grid-template-columns: 1fr;
    }

    .overview-media {
        width: 76px;
        height: 76px;
    }

    .service-split {
        padding: 1.5rem;
    }

    .split-title {
        font-size: 1.6rem;
    }
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-tag {
    background: rgba(157, 80, 187, 0.15);
    border: 1px solid var(--accent-purple);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===========================
   CERTIFICATIONS
   =========================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.cert-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(157, 80, 187, 0.4);
}

.cert-icon {
    font-size: 2.5rem;
}

.cert-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===========================
   CERTIFICATION DETAIL
   =========================== */
.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 4rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cert-detail-grid {
    display: grid;
    gap: 3rem;
}

.cert-detail-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.cert-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cert-detail-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.cert-badge-icon {
    font-size: 3rem;
}

.cert-detail-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-detail-level {
    color: var(--accent-teal);
    font-size: 1.1rem;
    font-weight: 600;
}

.cert-detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cert-detail-list {
    list-style: none;
    margin-bottom: 2rem;
}

.cert-detail-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cert-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.cert-detail-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.cert-commitment {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 4rem;
}

.cert-commitment-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.cert-list-simple {
    margin: 2rem 0;
}

.cert-list-item {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.cert-list-item:last-child {
    border-bottom: none;
}

.cert-checkmark {
    color: var(--accent-teal);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===========================
   CLIENTS
   =========================== */
/* .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 3rem;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.client-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
} */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    width: 100%;
    max-width: 500px;
    height: 280px;
    background: rgba(26, 15, 58, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

/* الصورة نفسها */
.client-img {
    max-width: 90%;
    max-height: 200px;
    /* تحكم في ارتفاع الصورة */
    object-fit: contain;
}

/* ===========================
   CASE STUDIES
   =========================== */
.case-study-preview {
    background: rgba(26, 15, 58, 0.4);
}

.case-study-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.case-study-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.case-study-section {
    margin-bottom: 2rem;
}

.case-study-section h4 {
    color: var(--accent-purple);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.case-study-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-study-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: rgba(157, 80, 187, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   CASE STUDIES PAGE
   =========================== */
.case-study-full {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.case-study-header {
    margin-bottom: 3rem;
}

.case-study-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-study-category,
.case-study-industry {
    background: rgba(157, 80, 187, 0.15);
    border: 1px solid var(--accent-purple);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    color: var(--accent-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

.case-study-title-main {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-study-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.case-study-heading {
    color: var(--accent-purple);
    margin: 2rem 0 1rem;
    font-size: 1.75rem;
}

.case-study-list {
    list-style: none;
    margin: 1.5rem 0;
}

.case-study-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.case-study-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.5rem;
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.implementation-item {
    background: rgba(157, 80, 187, 0.1);
    border: 1px solid var(--accent-purple);
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--text-secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.result-card {
    background: rgba(157, 80, 187, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 5rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.why-choose-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-choose-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-choose-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-form-container,
.contact-info-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.contact-form-title,
.contact-info-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-form-subtitle,
.contact-info-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(26, 15, 58, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(157, 80, 187, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-items {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-heading {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--accent-purple);
}

.contact-info-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.contact-response-time {
    background: rgba(157, 80, 187, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 12px;
    padding: 1.5rem;
}

.response-time-title {
    color: var(--accent-purple);
    margin-bottom: 0.75rem;
}

.response-time-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-cta {
    background: rgba(26, 15, 58, 0.4);
    padding: 4rem 0;
}

.contact-cta-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.contact-cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===========================
   LEGAL PAGES
   =========================== */
.legal-content {
    padding: 4rem 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.legal-subheading {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.legal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.legal-list {
    list-style: none;
    margin: 1.5rem 0;
}

.legal-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta {
    background: rgba(26, 15, 58, 0.4);
    padding: 6rem 0;
}

.cta-content {
    background: linear-gradient(135deg, rgba(157, 80, 187, 0.2), rgba(0, 210, 255, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    backdrop-filter: blur(20px);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* ===========================
   EXPERIENCE BANNER
   =========================== */
.experience-banner {
    background: linear-gradient(90deg, rgba(255, 165, 0, 0.1), rgba(255, 69, 0, 0.1));
    border-top: 2px solid rgba(255, 165, 0, 0.3);
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    padding: 2rem 0;
    overflow: hidden;
    margin: 4rem 0;
}

.experience-marquee {
    overflow: hidden;
}

.experience-content {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    gap: 6rem;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.experience-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.8));
}

.experience-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

/* ===========================
   PARTNERS LOGOS
   =========================== */
.partners-logos {
    background: rgba(11, 6, 34, 0.6);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    /* background: linear-gradient(90deg, rgba(255, 165, 0, 0.1), rgba(255, 69, 0, 0.1)); */
    /* border-top: 2px solid rgba(255, 165, 0, 0.3); */
    /* border-bottom: 2px solid rgba(255, 165, 0, 0.3); */
    padding: 3rem 0;
    overflow: hidden;
    margin-bottom: 4rem;
}

.logos-marquee {
    overflow: hidden;
}

.logos-content {
    display: flex;
    animation: marqueeScroll 18s linear infinite;
    gap: 5rem;
}

.partner-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner-logo:hover {
    color: var(--text-primary);
    opacity: 1;
    transform: scale(1.1);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: rgba(11, 6, 34, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

.footer-contact li {
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-purple);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 100px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 15, 58, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-radius: 20px;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .case-study-featured {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .title-background {
        font-size: 3rem;
    }

    .title-foreground {
        font-size: 2rem;
    }

    .services-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-effect-img {
        max-width: 250px;
    }

    .marquee-content span {
        font-size: 1rem;
    }

    .experience-text {
        font-size: 1.25rem;
    }

    .partner-logo {
        font-size: 1.25rem;
    }

    /* ===========================
   NEW ANIMATIONS & MODERN UI
   =========================== */

    /* Background Orbs */
    .bg-orbs {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: -1;
        overflow: hidden;
    }

    .orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.5;
        animation: drift 20s infinite alternate ease-in-out;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
        background: rgba(157, 80, 187, 0.4);
        top: -10%;
        left: -10%;
        animation-delay: 0s;
    }

    .orb-2 {
        width: 500px;
        height: 500px;
        background: rgba(0, 210, 255, 0.3);
        bottom: -20%;
        right: -10%;
        animation-delay: -5s;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
        background: rgba(255, 178, 41, 0.3);
        top: 40%;
        left: 60%;
        animation-delay: -10s;
    }

    .orb-4 {
        width: 350px;
        height: 350px;
        background: rgba(157, 80, 187, 0.3);
        bottom: 10%;
        left: 10%;
        animation-delay: -15s;
    }

    @keyframes drift {
        0% {
            transform: translate(0, 0) scale(1);
        }

        100% {
            transform: translate(50px, -50px) scale(1.1);
        }
    }

    /* Gradient Text Animation */
    .text-gradient {
        background: linear-gradient(to right, var(--text-primary), var(--accent-teal), var(--accent-purple));
        background-size: 200% auto;
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        animation: shine 3s linear infinite;
    }

    @keyframes shine {
        to {
            background-position: 200% center;
        }
    }

    /* Enhanced Glowing Buttons */
    .btn-glow {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .btn-glow::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
        z-index: -1;
    }

    .btn-glow:hover::after {
        left: 100%;
    }

    /* Scroll Animation Hooks */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .logos-content {
        display: flex;
        animation: marqueeScroll 10s linear infinite;
        gap: 5rem;
    }

    .experience-content {
        display: flex;
        animation: marqueeScroll 10s linear infinite;
        gap: 6rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.page-title,
.logo-text,
.service-title,
.feature-title,
.cert-title,
.case-study-title,
.footer-heading,
.footer-title {
    font-family: 'Manrope', sans-serif;
}

/* ===========================
   HEADER & FOOTER NEW STYLES
=========================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ===========================
   CUSTOM MODAL STYLES
=========================== */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 9, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal {
    background: rgba(13, 22, 45, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-overlay.active .custom-modal {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Manrope', sans-serif;
}

.modal-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-secondary {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.footer-social .social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: 0.25s ease;
    overflow: hidden;
}

.footer-social .social-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

/* Story Section */
.about-story {
    padding: 4rem 0 6rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.story-grid.reverse {
    direction: rtl;
}

.story-grid.reverse>* {
    direction: ltr;
}

.story-content {
    max-width: 600px;
}

.story-content .section-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: left;
}

.story-grid.reverse .story-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(157, 80, 187, 0.2);
    pointer-events: none;
    border-radius: 20px;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: rgba(26, 15, 58, 0.2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-purple), var(--accent-teal), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark-primary);
    border: 4px solid var(--accent-teal);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    right: auto;
}

.timeline-content {
    background: rgba(26, 15, 58, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
}

.timeline-date {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {


    .header {
        padding: 0.75rem 0;
    }

    .nav-container {
        width: calc(100% - 24px);
        max-width: none;
        margin: 0 auto;
        padding: 0.65rem 0.85rem;
        border-radius: 24px;
        gap: 0.75rem;
    }

    .nav-logo {
        min-width: 0;
        flex: 1;
        gap: 0.55rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 0.06em;
        line-height: 1.15;
        white-space: normal;
        max-width: 150px;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 22px;
        background: rgba(12, 6, 34, 0.96);
        border: 1px solid rgba(157, 80, 187, 0.28);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
        font-size: 0.95rem;
    }

    .nav-links a.active,
    .nav-links a:hover {
        background: rgba(157, 80, 187, 0.18);
    }

    .nav-links a::after {
        display: none;
    }

    main {
        padding-top: 95px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-grid.reverse {
        direction: ltr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 10px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
    }

    .page-hero {
        padding: 4rem 0 2rem;
    }

    .page-title {
        font-size: 2.3rem;
        line-height: 1.15;
    }

    .page-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-section {
        padding: 2rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .contact-form-title,
    .contact-info-title {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .contact-form-subtitle,
    .contact-info-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }

    .form-textarea {
        min-height: 110px;
    }

    .contact-info-item {
        gap: 0.9rem;
        margin-bottom: 1.35rem;
        padding-bottom: 1.35rem;
    }

    .contact-info-icon {
        font-size: 1.45rem;
    }

    .contact-info-heading {
        font-size: 1rem;
    }

    .contact-info-text {
        font-size: 0.92rem;
        word-break: break-word;
    }

    .contact-response-time {
        padding: 1rem;
    }

    .response-time-text {
        font-size: 0.9rem;
    }

    .contact-cta {
        padding: 2rem 0 3rem;
    }

    .contact-cta-content {
        padding: 2rem 1.25rem;
        border-radius: 24px;
        max-width: 100%;
    }

    .contact-cta-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.85rem;
    }

    .contact-cta-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .contact-cta .btn-large {
        width: auto;
        min-width: 190px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }







}

/* About Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(157, 80, 187, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    background: rgba(157, 80, 187, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Creative Journey Background */
.creative-bg {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(157, 80, 187, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 165, 0, 0.08) 0%, transparent 40%),
        linear-gradient(90deg, rgba(255, 165, 0, 0.03), rgba(255, 69, 0, 0.03));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.creative-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}


/* Why Choose Us Stacked Layout */
.why-choose-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.why-choose-block {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
    background: rgba(26, 15, 58, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s ease;
    text-align: left;
}

.why-choose-block:hover {
    transform: translateX(10px);
    border-color: rgba(255, 165, 0, 0.3);
    background: rgba(255, 165, 0, 0.05);
}

.why-choose-block:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.why-choose-block:nth-child(even):hover {
    transform: translateX(-10px);
}

.gold-gradient {
    background: linear-gradient(135deg, rgba(255, 178, 41, 0.2), rgba(255, 69, 0, 0.15)) !important;
    color: #FFB229 !important;
    border: 1px solid rgba(255, 178, 41, 0.3);
    box-shadow: 0 8px 32px rgba(255, 165, 0, 0.1);
    min-width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
}


.why-choose-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .why-choose-block,
    .why-choose-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .why-choose-block:hover,
    .why-choose-block:nth-child(even):hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 0.82rem;
        max-width: 125px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        width: 38px;
        height: 38px;
    }

    .container {
        padding: 0 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.1rem;
    }

    .contact-cta-content {
        padding: 1.75rem 1rem;
    }

    .contact-cta-title {
        font-size: 1.7rem;
    }

    .contact-cta-subtitle {
        font-size: 0.95rem;
    }

    .contact-cta .btn-large {
        min-width: 175px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .mobile-cta {
        text-align: center;
        color: #fff !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)) !important;
    }
}

/* ===========================
   iPHONE / SAFARI HOME FIX
   =========================== */

@media (max-width: 768px) {

    html,
    body {
        background: #030114 !important;
        background-attachment: scroll !important;
        overflow-x: hidden;
    }

    body::before {
        position: fixed;
        background:
            radial-gradient(circle at 20% 15%, rgba(157, 80, 187, 0.28) 0%, transparent 38%),
            radial-gradient(circle at 80% 75%, rgba(0, 210, 255, 0.18) 0%, transparent 42%),
            linear-gradient(160deg, #030114 0%, #08051a 48%, #06162b 100%) !important;
        opacity: 1 !important;
        z-index: 0;
    }

    main {
        background:
            linear-gradient(160deg, #030114 0%, #08051a 45%, #06162b 100%) !important;
        padding-top: 90px !important;
    }

    .hero {
        min-height: calc(100svh - 90px);
        padding: 2rem 0 3rem !important;
        align-items: flex-start;
        background:
            radial-gradient(circle at 15% 18%, rgba(157, 80, 187, 0.30), transparent 38%),
            radial-gradient(circle at 85% 80%, rgba(0, 210, 255, 0.20), transparent 45%),
            linear-gradient(160deg, #030114 0%, #08051a 48%, #06162b 100%) !important;
    }

    .hero .container {
        display: block !important;
        padding: 0 1.35rem;
    }

    .hero-content {
        padding-top: 4rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.15;
        margin-bottom: 1.15rem;

        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: #f8fafc !important;
        color: #f8fafc !important;
    }

    .hero-title .text-gradient {
        background: linear-gradient(135deg, #9D50BB 0%, #00D2FF 100%) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
    }

    .hero-subtitle {
        color: rgba(248, 250, 252, 0.78) !important;
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .hero-buttons .btn-secondary {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        body {
            background-attachment: scroll !important;
        }

        .hero {
            min-height: calc(100svh - 90px);
        }
    }
}