/* ==========================================================================
   CentraX Soft - WordPress Theme Stylesheet
   ========================================================================== */

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--cx-font);
    background: var(--cx-bg);
    color: var(--cx-navy);
    direction: rtl;
    scroll-behavior: smooth;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

.cx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.cx-text-gradient {
    background: linear-gradient(90deg, var(--cx-gold), var(--cx-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ============= Animations ============= */
@keyframes cx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.cx-anim-float { animation: cx-float calc(5s / var(--cx-anim-speed)) ease-in-out infinite; }

@keyframes cx-floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}
.cx-anim-float-slow { animation: cx-floatSlow calc(8s / var(--cx-anim-speed)) ease-in-out infinite; }

@keyframes cx-floatFast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 10px); }
}
.cx-anim-float-fast { animation: cx-floatFast calc(6s / var(--cx-anim-speed)) ease-in-out infinite; }

@keyframes cx-pulseSoft {
    0%, 100% { opacity: 0.07; }
    50% { opacity: 0.18; }
}
.cx-anim-pulse { animation: cx-pulseSoft calc(4s / var(--cx-anim-speed)) ease-in-out infinite; }

@keyframes cx-ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2.4); opacity: 0; }
}
.cx-ping-dot {
    position: relative;
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--cx-yellow);
    border-radius: 50%;
}
.cx-ping-dot > span {
    position: absolute; inset: 0;
    background: var(--cx-yellow);
    border-radius: 50%;
    animation: cx-ping calc(1.6s / var(--cx-anim-speed)) cubic-bezier(0,0,.2,1) infinite;
}

/* ============= Reveal on scroll ============= */
.cx-reveal-up   { opacity: 0; transform: translateY(40px);  transition: opacity .9s ease, transform .9s ease; }
.cx-reveal-down { opacity: 0; transform: translateY(-30px); transition: opacity .8s ease, transform .8s ease; }
.cx-reveal-up.cx-in-view, .cx-reveal-down.cx-in-view {
    opacity: 1; transform: translateY(0);
}

/* Disable all animation when no-anim is on */
.no-anim *, .no-anim *::before, .no-anim *::after {
    animation: none !important;
    transition: color .2s, background-color .2s, border-color .2s !important;
}
.no-anim .cx-reveal-up, .no-anim .cx-reveal-down {
    opacity: 1 !important;
    transform: none !important;
}

/* ==================================================
   NAV
   ================================================== */
.cx-nav {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 100;
    padding: 24px 16px;
    transition: padding .4s ease;
}
.cx-nav.cx-nav-compact { padding: 8px 16px; }

.cx-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(10,38,71,0.08);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cx-brand { display: flex; align-items: center; gap: 14px; }
.cx-brand-logo { width: 48px; height: 48px; }
.cx-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.cx-brand-name { font-size: 20px; font-weight: 900; color: var(--cx-navy); }
.cx-brand-name .cx-accent { color: var(--cx-gold); }
.cx-brand-tagline { font-size: 10px; color: #999; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }

.cx-menu { display: flex; gap: 28px; align-items: center; }
.cx-menu li a {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    transition: color .2s;
    position: relative;
}
.cx-menu li a:hover { color: var(--cx-gold); }
.cx-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0; height: 2px;
    background: var(--cx-yellow);
    transition: width .3s;
}
.cx-menu li a:hover::after { width: 100%; }

.cx-nav-actions { display: flex; align-items: center; gap: 10px; }

.cx-wa-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(37,211,102,0.1);
    color: #25D366;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    transition: all .3s;
}
.cx-wa-btn:hover { background: #25D366; color: #fff; }

.cx-cta-btn {
    background: var(--cx-navy);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .4s;
}
.cx-cta-btn:hover { background: var(--cx-gold); box-shadow: 0 10px 30px rgba(184,134,11,0.4); }

.cx-burger {
    display: none;
    width: 44px; height: 44px;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    color: var(--cx-navy);
    font-size: 18px;
    cursor: pointer;
}

/* mobile menu */
.cx-mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cx-navy);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cx-mobile-menu[hidden] { display: none; }
.cx-mobile-close {
    position: absolute;
    top: 30px; left: 24px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    cursor: pointer;
}
.cx-mobile-blob {
    position: absolute;
    width: 256px; height: 256px;
    border-radius: 50%;
    filter: blur(100px);
}
.cx-mobile-blob-1 { top: 0; right: 0; background: rgba(255,215,0,0.1); }
.cx-mobile-blob-2 { bottom: 0; left: 0; background: rgba(184,134,11,0.1); }
.cx-mobile-menu ul { display: flex; flex-direction: column; gap: 28px; align-items: center; z-index: 10; }
.cx-mobile-menu li a {
    font-size: 22px; font-weight: 900; color: #fff;
    transition: color .3s;
}
.cx-mobile-menu li a:hover { color: var(--cx-yellow); }
.cx-mobile-cta {
    margin-top: 14px;
    background: var(--cx-yellow); color: var(--cx-navy) !important;
    padding: 16px 40px;
    border-radius: 16px;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .cx-menu { display: none; }
    .cx-cta-btn { display: none; }
    .cx-burger { display: flex; align-items: center; justify-content: center; }
    .cx-brand-tagline { display: none; }
}

/* ==================================================
   HERO
   ================================================== */
.cx-hero {
    position: relative;
    min-height: 100vh;
    background: var(--cx-navy);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

.cx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom right, var(--cx-navy), var(--cx-navy), rgba(184,134,11,0.2));
}
.cx-hero-blob {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(160px);
}
.cx-hero-blob-1 {
    top: -10%; right: -5%;
    background: var(--cx-yellow);
    opacity: 0.07;
    animation: cx-pulseSoft calc(4s / var(--cx-anim-speed)) ease-in-out infinite;
}
.cx-hero-blob-2 {
    bottom: -10%; left: -5%;
    background: var(--cx-gold);
    opacity: 0.07;
}

.cx-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0.2;
}
.cx-fi { position: absolute; }
.cx-fi-1 { top: 80px; right: 10%; font-size: 84px; color: rgba(255,255,255,0.4); }
.cx-fi-2 { bottom: 80px; right: 15%; font-size: 100px; color: rgba(255,255,255,0.3); }
.cx-fi-3 { top: 160px; left: 5%; font-size: 60px; color: rgba(255,255,255,0.2); }
.cx-fi-4 { bottom: 160px; left: 10%; font-size: 72px; color: rgba(255,255,255,0.3); }

.cx-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cx-hero-text { text-align: right; }
.cx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cx-hero-title {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
}
.cx-hero-subtitle {
    display: block;
    font-size: 32px;
    opacity: 0.9;
    font-weight: 900;
    margin-top: 8px;
}
.cx-hero-desc {
    color: rgba(220,230,255,0.6);
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 500;
    margin: 0 0 28px;
}

.cx-hero-actions { display: flex; gap: 16px; padding-top: 8px; }

.cx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 14px;
    transition: all .3s;
    cursor: pointer;
    border: none;
}
.cx-btn-primary { background: var(--cx-gold); color: #fff; }
.cx-btn-primary:hover { background: var(--cx-yellow); color: var(--cx-navy); }
.cx-btn-ghost {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}
.cx-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.cx-btn-ghost i { color: var(--cx-yellow); }
.cx-btn-dark { background: var(--cx-navy); color: #fff; padding: 16px 28px; }
.cx-btn-dark:hover { background: var(--cx-gold); }
.cx-btn i { transition: transform .3s; }
.cx-btn:hover i { transform: translateX(-4px); }

/* tech grid in hero */
.cx-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cx-hero-visual-glow {
    position: absolute;
    width: 280px; height: 280px;
    background: rgba(255,215,0,0.1);
    filter: blur(120px);
    border-radius: 50%;
}
.cx-tech-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 12px;
    width: 100%;
    max-width: 480px;
}
.cx-tech-card {
    background: #fff;
    padding: 24px;
    border-radius: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .4s;
}
.cx-tech-card:hover { border-color: var(--cx-gold); }
.cx-tech-card-icon {
    width: 64px; height: 64px;
    background: #fafafa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--cx-navy);
    transition: all .3s;
}
.cx-tech-card:hover .cx-tech-card-icon { background: var(--cx-navy); color: var(--cx-yellow); }
.cx-tech-card span {
    font-size: 11px;
    font-weight: 900;
    color: var(--cx-navy);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.cx-tech-card-dark {
    grid-column: span 2;
    background: var(--cx-navy);
    flex-direction: row;
    position: relative;
    overflow: hidden;
}
.cx-tech-card-big { font-size: 28px !important; color: var(--cx-yellow) !important; font-weight: 900; }
.cx-tech-card-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.2); }
.cx-tech-card-small { color: #fff !important; font-size: 11px !important; line-height: 1.3; text-align: right; }
.cx-tech-card-bg-icon {
    position: absolute;
    bottom: -8px; left: -8px;
    font-size: 64px;
    color: rgba(255,255,255,0.1);
}
.cx-tech-card-status {
    background: #f9fafb;
    border-style: dashed;
    border-color: #e5e7eb;
}
.cx-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cx-navy);
    font-size: 10px !important;
}

@media (max-width: 900px) {
    .cx-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .cx-hero-title { font-size: 40px; }
    .cx-hero-subtitle { font-size: 22px; }
    .cx-tech-card-dark, .cx-tech-card-status { display: none; }
}

/* ==================================================
   ABOUT
   ================================================== */
.cx-about {
    padding: 120px 0;
    background: var(--cx-services-bg);
}
.cx-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.cx-about-image-wrap { position: relative; }
.cx-about-image {
    width: 100%;
    height: 450px;
    border-radius: 50px;
    overflow: hidden;
    transform: rotate(3deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: var(--cx-navy);
    transition: transform .5s;
}
.cx-about-image:hover { transform: rotate(0); }
.cx-about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: filter .7s, opacity .7s;
}
.cx-about-image:hover img { filter: grayscale(0); opacity: 1; }
.cx-about-badge {
    position: absolute;
    bottom: -40px; left: -40px;
    background: #fff;
    padding: 32px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.cx-about-badge-years { font-size: 36px; font-weight: 900; color: var(--cx-gold); }
.cx-about-badge-label { color: #999; font-weight: 700; }
.cx-about-text h2 { font-size: 44px; margin-bottom: 24px; }
.cx-about-text p { color: #6b7280; font-size: 17px; line-height: 1.8; }
.cx-about-points {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cx-about-points li {
    color: var(--cx-navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cx-about-points li i { color: var(--cx-gold); }

@media (max-width: 900px) {
    .cx-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .cx-about-image { height: 280px; }
    .cx-about-badge { display: none; }
}

/* ==================================================
   SECTION HEAD
   ================================================== */
.cx-section-head {
    text-align: center;
    margin-bottom: 80px;
}
.cx-section-pill {
    display: inline-block;
    background: var(--cx-navy);
    color: var(--cx-yellow);
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.cx-section-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--cx-navy);
    line-height: 1.2;
    margin: 0;
}
.cx-section-title-light { color: #fff; }
.cx-section-sub {
    color: #6b7280;
    font-size: 17px;
    margin: 20px auto 0;
    max-width: 600px;
    font-weight: 500;
}

/* ==================================================
   SERVICES
   ================================================== */
.cx-services {
    padding: 120px 0;
    background: var(--cx-services-bg);
    position: relative;
    overflow: hidden;
}
.cx-services-blob {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(120px);
}
.cx-services-blob-1 { top: -10%; right: -5%; background: rgba(255,215,0,0.1); }
.cx-services-blob-2 { bottom: -10%; left: -5%; background: rgba(184,134,11,0.1); }

.cx-fi-svc { position: absolute; }
.cx-fi-svc-1 { top: 10%; left: 5%; font-size: 130px; color: var(--cx-gold); opacity: 0.18; }
.cx-fi-svc-2 { top: 40%; right: 2%; font-size: 180px; color: var(--cx-yellow); opacity: 0.1; }
.cx-fi-svc-3 { bottom: 10%; left: 10%; font-size: 110px; color: var(--cx-navy); opacity: 0.13; }
.cx-fi-svc-4 { top: 20%; right: 15%; font-size: 96px; color: var(--cx-gold); opacity: 0.1; }

.cx-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.cx-service-card {
    background: #fff;
    padding: 48px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    transition: all .5s;
    position: relative;
    overflow: hidden;
}
.cx-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(10,38,71,0.12);
}
.cx-service-bubble {
    position: absolute;
    top: -80px; right: -80px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,215,0,0.1);
    transition: transform .7s ease-in-out;
}
.cx-service-card:hover .cx-service-bubble { transform: scale(5); }
.cx-service-icon-wrap {
    width: 80px; height: 80px;
    background: #fafafa;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all .5s;
    position: relative;
    z-index: 2;
}
.cx-service-icon-wrap i {
    font-size: 30px;
    color: var(--cx-navy);
    transition: color .5s;
}
.cx-service-card:hover .cx-service-icon-wrap { background: var(--cx-navy); }
.cx-service-card:hover .cx-service-icon-wrap i { color: var(--cx-yellow); }
.cx-service-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}
.cx-service-desc { color: #6b7280; line-height: 1.7; margin-bottom: 32px; position: relative; z-index: 2; }
.cx-service-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.cx-service-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cx-gold);
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.cx-service-cta-line {
    width: 32px; height: 2px;
    background: var(--cx-yellow);
    transition: width .3s;
}
.cx-service-card:hover .cx-service-cta-line { width: 48px; }
.cx-service-num {
    font-size: 48px;
    font-weight: 900;
    color: rgba(0,0,0,0.06);
    font-style: italic;
}

/* ==================================================
   TECH SECTION (dark)
   ================================================== */
.cx-tech-section {
    padding: 120px 0;
    background: var(--cx-tech-bg);
    position: relative;
    overflow: hidden;
}
.cx-tech-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
}
.cx-tech-bg-blob-1 { top: -10%; left: 20%; width: 400px; height: 400px; background: rgba(184,134,11,0.2); }
.cx-tech-bg-blob-2 { bottom: 10%; right: 15%; width: 500px; height: 500px; background: rgba(255,215,0,0.15); }

.cx-tech-eyebrow {
    color: var(--cx-yellow);
    font-weight: 900;
    letter-spacing: 6px;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
}
.cx-tech-divider {
    width: 80px; height: 5px;
    background: var(--cx-yellow);
    border-radius: 999px;
    box-shadow: 0 0 20px var(--cx-yellow);
    margin: 24px auto 0;
}

.cx-tech-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
}
.cx-tech-item {
    position: relative;
    padding: 36px 16px;
    border-radius: 35px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all .6s;
    backdrop-filter: blur(4px);
    overflow: hidden;
}
.cx-tech-item:hover {
    transform: translateY(-12px);
    border-color: rgba(255,215,0,0.3);
}
.cx-tech-item-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,215,0,0.1), transparent);
    opacity: 0;
    transition: opacity .6s;
    border-radius: inherit;
}
.cx-tech-item:hover .cx-tech-item-glow { opacity: 1; }
.cx-tech-item i {
    font-size: 44px;
    color: rgba(255,255,255,0.4);
    transition: all .5s;
    position: relative;
    z-index: 2;
}
.cx-tech-item:hover i {
    color: #fff;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.55));
}
.cx-tech-item span {
    display: block;
    margin-top: 14px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .3s;
    position: relative;
    z-index: 2;
}
.cx-tech-item:hover span { color: #fff; }

/* ==================================================
   PROJECTS
   ================================================== */
.cx-projects {
    padding: 120px 0;
    background: var(--cx-bg);
    position: relative;
    overflow: hidden;
}
.cx-fi-prj { position: absolute; }
.cx-fi-prj-1 { top: 15%; left: 5%; font-size: 110px; color: var(--cx-gold); opacity: 0.18; }
.cx-fi-prj-2 { top: 40%; right: 5%; font-size: 130px; color: var(--cx-yellow); opacity: 0.18; }
.cx-fi-prj-3 { bottom: 10%; left: 15%; font-size: 96px; color: var(--cx-navy); opacity: 0.1; }

.cx-projects-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 60px;
}
.cx-projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cx-gold);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 14px;
}
.cx-projects-eyebrow-bar {
    width: 40px; height: 3px;
    background: var(--cx-gold);
    border-radius: 999px;
}
.cx-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
}
.cx-project-card {
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: all .5s;
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
}
.cx-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(10,38,71,0.1);
}
.cx-project-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.cx-project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s;
}
.cx-project-card:hover .cx-project-image img { transform: scale(1.1); }
.cx-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,38,71,0.8), transparent);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s;
    z-index: 2;
}
.cx-project-card:hover .cx-project-overlay { opacity: 1; }
.cx-project-overlay-btn {
    background: var(--cx-yellow);
    color: var(--cx-navy);
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 13px;
    transform: translateY(20px);
    transition: transform .5s;
}
.cx-project-card:hover .cx-project-overlay-btn { transform: translateY(0); }
.cx-project-year {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--cx-navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}
.cx-project-body { padding: 32px; }
.cx-project-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--cx-gold);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.cx-project-meta i { font-size: 14px; }
.cx-project-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.3;
}
.cx-project-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cx-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.cx-project-tags span {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}
.cx-project-foot {
    border-top: 1px solid #f3f4f6;
    padding-top: 18px;
}
.cx-project-foot a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.cx-project-foot-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}
.cx-project-card:hover .cx-project-foot-arrow { background: var(--cx-yellow); }

/* ==================================================
   FOOTER
   ================================================== */
.cx-footer {
    background: var(--cx-navy);
    padding: 96px 0 32px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.cx-footer-blob {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(150px);
}
.cx-footer-blob-1 { top: 0; left: 0; background: var(--cx-gold); opacity: 0.2; }
.cx-footer-blob-2 { bottom: 0; right: 0; background: var(--cx-yellow); opacity: 0.15; }

.cx-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.cx-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.cx-footer-brand .cx-brand-logo { width: 48px; height: 48px; }
.cx-footer-brand-name { font-size: 20px; font-weight: 900; color: #fff; }
.cx-footer-brand-tagline { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; }
.cx-footer-desc { color: rgba(255,255,255,0.6); line-height: 1.8; font-size: 14px; }
.cx-footer-title { font-size: 18px; font-weight: 900; margin-bottom: 24px; color: var(--cx-yellow); }
.cx-footer-list { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,0.7); font-size: 14px; }
.cx-footer-list li { display: flex; align-items: center; gap: 12px; }
.cx-footer-list i { color: var(--cx-yellow); }
.cx-footer-list a:hover { color: #fff; }

.cx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.cx-footer-bottom p { color: rgba(255,255,255,0.4); font-size: 12px; margin: 0; }
.cx-footer-social { display: flex; gap: 12px; }
.cx-social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all .3s;
}
.cx-social-icon:hover { background: var(--cx-gold); color: #fff; }

@media (max-width: 700px) {
    .cx-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Logo controls (admin-driven sizing)
   ============================================ */
.cx-nav .cx-custom-logo img,
.cx-nav .custom-logo {
    max-height: var(--cx-logo-max-h, 50px);
    width: auto;
    height: auto;
    display: block;
}
.cx-nav .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.cx-brand-logo-only .cx-brand-text { display: none; }
.cx-brand-logo-only .cx-custom-logo img,
.cx-brand-logo-only .custom-logo {
    max-height: calc(var(--cx-logo-max-h, 50px) + 8px);
}


/* ================================================================
   CONTACT SECTION — v2 (مطابق للتصميم الأصلي)
   ================================================================ */

/* --- ping animation for "Available" badge --- */
@keyframes cx-ping-anim {
    75%, 100% { transform: scale(2.2); opacity: 0; }
}
.cx-ping-dot { position: relative; display: inline-flex; width: 12px; height: 12px; }
.cx-ping-dot-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--cx-yellow);
}
.cx-anim-ping { animation: cx-ping-anim 1.4s cubic-bezier(0,0,0.2,1) infinite; }
.cx-ping-center {
    position: relative; display: inline-flex;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--cx-yellow);
    flex-shrink: 0;
}

/* === Section wrapper === */
.cxc-section {
    background: #010409;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

/* === Dot grid background === */
.cxc-dot-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 60%, transparent 100%);
    mask-image:         radial-gradient(ellipse 60% 60% at 50% 50%, #000 60%, transparent 100%);
}

/* === Blobs === */
.cxc-blob {
    position: absolute; border-radius: 50%;
    pointer-events: none; z-index: 0;
}
.cxc-blob-1 {
    width: 500px; height: 500px;
    top: 50%; left: 25%;
    transform: translate(-50%, -50%);
    background: rgba(184,134,11,0.2);
    filter: blur(150px);
}
.cxc-blob-2 {
    width: 400px; height: 400px;
    bottom: 25%; right: 25%;
    background: rgba(255,215,0,0.1);
    filter: blur(150px);
}

/* === Floating social icons === */
.cxc-social-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cxc-sf-icon {
    position: absolute;
    font-size: 4rem;
    color: rgba(255,255,255,0.18);
    text-decoration: none; pointer-events: all;
    transition: color 0.3s;
    line-height: 1;
}
.cxc-sf-icon:hover { color: rgba(255,255,255,0.5); }
.cxc-sf-1 { top: 15%; left: 10%;  font-size: 4.5rem; color: rgba(255,255,255,0.18); }
.cxc-sf-1:hover { color: #1877f2; }
.cxc-sf-2 { top: 40%; right: 8%; font-size: 5rem;   color: rgba(255,255,255,0.18); }
.cxc-sf-2:hover { color: #e1306c; }
.cxc-sf-3 { bottom: 15%; left: 15%; font-size: 3.75rem; color: rgba(255,255,255,0.15); animation-delay: 0.7s; }
.cxc-sf-3:hover { color: #00acee; }
.cxc-sf-4 { bottom: 20%; right: 15%; font-size: 4rem;  color: rgba(255,255,255,0.18); }
.cxc-sf-4:hover { color: #0a66c2; }

/* === Inner container === */
.cxc-inner { position: relative; z-index: 10; }

/* === Two-col grid === */
.cxc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

/* ===== LEFT COLUMN ===== */

/* "Available for projects" badge */
.cxc-available-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 10px; font-weight: 900;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

/* Title */
.cxc-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900; line-height: 1.1;
    color: #fff; margin: 0 0 40px;
}

/* WA / Telegram cards */
.cxc-contact-cards { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.cxc-card {
    position: relative;
    display: flex; align-items: center; gap: 16px;
    padding: 20px 32px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.35s;
}
.cxc-card-fill {
    position: absolute; inset: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    opacity: 0.1;
}
.cxc-card:hover .cxc-card-fill { transform: translateY(0); }

.cxc-card-wa { }
.cxc-card-wa:hover { border-color: rgba(37,211,102,0.5); }
.cxc-card-wa .cxc-card-fill { background: #25d366; }

.cxc-card-tg { }
.cxc-card-tg:hover { border-color: rgba(0,136,204,0.5); }
.cxc-card-tg .cxc-card-fill { background: #0088cc; }

.cxc-card-icon { font-size: 1.875rem; position: relative; z-index: 1; }
.cxc-icon-wa   { color: #25d366; }
.cxc-icon-tg   { color: #0088cc; }

.cxc-card-body  { position: relative; z-index: 1; }
.cxc-card-name  { display: block; color: #fff; font-weight: 900; font-size: 15px; }
.cxc-card-sub   { display: block; color: rgba(255,255,255,0.4); font-size: 11px; margin-top: 2px; }

/* Quote */
.cxc-quote {
    color: rgba(255,255,255,0.5);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.75;
    font-style: italic;
    border-right: 4px solid var(--cx-yellow);
    padding-right: 24px;
    margin: 0;
    max-width: 420px;
}

/* ===== RIGHT COLUMN: Form ===== */
.cxc-form-wrap { position: relative; }

.cxc-form-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--cx-gold), var(--cx-yellow));
    border-radius: 54px;
    filter: blur(8px);
    opacity: 0.18;
    z-index: 0;
    transition: opacity 0.5s;
}
.cxc-form-wrap:hover .cxc-form-glow { opacity: 0.32; }

.cxc-form-box {
    position: relative; z-index: 1;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 56px 64px;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

/* Floating label fields */
.cxc-form { display: flex; flex-direction: column; gap: 32px; }

.cxc-fl {
    position: relative;
    padding-bottom: 2px;
}
.cxc-fl input,
.cxc-fl textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
    color: #fff;
    font-size: 15px;
    font-family: var(--cx-font);
    direction: rtl;
    outline: none;
    transition: border-color 0.3s;
    display: block;
}
.cxc-fl textarea {
    resize: none;
    min-height: 80px;
}
.cxc-fl input:focus,
.cxc-fl textarea:focus {
    border-color: rgba(255,255,255,0.15);
}

/* Floating label */
.cxc-fl label {
    position: absolute;
    right: 0;
    top: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 15px;
    font-family: var(--cx-font);
    pointer-events: none;
    transition: top 0.3s, font-size 0.3s, color 0.3s;
}

/* Move label up: on focus OR when field has content (:not(:placeholder-shown)) */
.cxc-fl input:focus          ~ label,
.cxc-fl input:not(:placeholder-shown) ~ label,
.cxc-fl textarea:focus        ~ label,
.cxc-fl textarea:not(:placeholder-shown) ~ label {
    top: -18px;
    font-size: 11px;
    color: var(--cx-yellow);
}

/* Gold underline animation */
.cxc-fl-line {
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 2px;
    background: var(--cx-yellow);
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 1px;
}
.cxc-fl:focus-within .cxc-fl-line { width: 100%; }

/* Feedback */
.cxc-feedback {
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 13px; font-weight: 700;
    text-align: center;
}
.cxc-feedback.cxc-success {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
}
.cxc-feedback.cxc-error {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

/* Submit button */
.cxc-submit {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 24px 32px;
    background: #fff;
    color: #0A2647;
    border: none; border-radius: 18px;
    font-size: 16px; font-weight: 900;
    font-family: var(--cx-font);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, color 0.3s;
    position: relative; overflow: hidden;
    margin-top: -8px;
}
.cxc-submit:hover {
    background: var(--cx-yellow);
    color: #0A2647;
    box-shadow: 0 0 30px rgba(255,215,0,0.55);
}
.cxc-submit:disabled {
    opacity: 0.6; cursor: not-allowed;
    box-shadow: none;
}

/* ===== no-anim overrides ===== */
.no-anim .cxc-sf-icon,
.no-anim .cxc-blob        { animation: none !important; }
.no-anim .cx-ping-dot-ring { animation: none !important; }
.no-anim .cxc-fl-line     { transition: none !important; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cxc-grid { gap: 56px; }
    .cxc-form-box { padding: 44px 40px; }
}
@media (max-width: 820px) {
    .cxc-grid { grid-template-columns: 1fr; gap: 48px; }
    .cxc-section { padding: 100px 0; }
    .cxc-sf-1, .cxc-sf-2, .cxc-sf-3, .cxc-sf-4 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .cxc-form-box { padding: 36px 24px; border-radius: 32px; }
    .cxc-contact-cards { flex-direction: column; }
    .cxc-section { padding: 80px 0; }
}
