:root {
    --c-orange: #F57C1F;
    --c-dark: #080812;
    --c-white: #FFFFFF;
    --c-offwhite: #F6F4EE;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Syne', sans-serif;
    --font-ar: 'IBM Plex Sans Arabic', sans-serif;
}

body { 
    background-color: var(--c-dark); 
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

.elementor-section, .elementor-column, .elementor-widget, 
.elementor-widget-container, .elementor-button-wrapper, 
.elementor-button, .elementor-element, .elementor-heading-title, 
.elementor-image, .site-inner, #page {
    transform-style: flat !important;
    isolation: auto !important;
    z-index: auto; 
    transform: none !important;
    transition: none !important;
    background-blend-mode: normal !important;
}

.aa-header, header {
    z-index: 100000 !important;
    isolation: isolate !important;
}

/* Header padding removed to allow overlay */

*:focus {
    outline: none !important;
}

button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    outline: none !important;
}

#aa-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    pointer-events: none;
    z-index: 9999999;
    overflow: hidden;
    mix-blend-mode: exclusion; /* Default: Exclusion for white-on-dark */
}

/* Inversion Mode: When over .cursor-invert elements */
body.is-inverted #aa-cursor-container {
    mix-blend-mode: exclusion !important;
}

/* Text Hover Mode: Container normal, cursor uses difference */
body.is-on-text #aa-cursor-container {
    mix-blend-mode: normal !important; /* Allow cursor's difference mode to work */
}

/* Normal Mode: When .cursor-normal is specified */
body.is-normal #aa-cursor-container {
    mix-blend-mode: normal !important;
}

/* Safe zones: Prevent cursor blending on specific elements */
.cursor-no-invert,
.cursor-orange-safe,
.cursor-color-safe,
.cursor-normal {
    isolation: isolate;
}

.aa-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--c-orange);
    border-radius: 50%;
    will-change: transform, width, height, opacity;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.cursor-click-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
}

.aa-cursor-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    color: var(--c-dark);
    width: 26px;
    height: 26px;
    z-index: 10;
}

.aa-cursor-circular-text {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    width: 160px; 
    height: 160px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aa-cursor-circular-text svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.circular-text {
    fill: var(--c-dark);
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

/* Cursor Internal Dot - Only on Focus */
.is-focus .aa-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; /* Slightly larger */
    height: 10px;
    background-color: #F8F8F8; /* Off-white pointer */
    border-radius: 50%;
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(248, 248, 248, 0.3); /* Soft glow */
}

/* Classic Hover (Logo) */
body.is-hovering .aa-cursor {
    width: 32px;
    height: 32px;
    background-color: #FFFFFF;
    mix-blend-mode: exclusion;
    backdrop-filter: blur(0px);
}

/* New Focus Hover (Links) */
body.is-focus .aa-cursor {
    width: 60px !important;
    height: 60px !important;
    background-color: rgba(255, 114, 0, 0.05) !important; /* Extremely subtle orange tint */
    border: 1.5px solid var(--c-orange) !important; /* Orange Ring */
    backdrop-filter: blur(6px); /* Gaussian Blur */
    -webkit-backdrop-filter: blur(6px);
    mix-blend-mode: normal !important;
}

body.is-menu-hover .aa-cursor {
    width: 6px !important;
    height: 6px !important;
    background-color: var(--c-orange) !important;
    mix-blend-mode: normal !important;
    backdrop-filter: none;
}

/* Loader Refinements */
#loader-orange-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--c-orange);
    z-index: 9999;
    display: flex; /* Shown by default, hidden by JS on non-home pages */
    clip-path: circle(150% at 100% 0%);
}

#site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    display: flex; /* Shown by default, hidden by JS on non-home pages */
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    z-index: 10000; /* Above everything */
    background: transparent;
}

.loader-content {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* Context for absolute words */
}

.loader-text-area {
    width: 100%;
    height: 60px; /* Specific height to contain words */
    position: relative;
    margin-bottom: 5px; /* Tighten gap */
}

.loader-word {
    font-size: 32px;
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Robust centering */
    white-space: nowrap;
    opacity: 0;
    width: auto; /* Let it shrink fit */
    text-align: center;
}

.loader-progress-bar {
    width: 100% !important;
    height: 2px;
    background-color: rgba(255,255,255,0.2) !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 5px 0; /* Tighter Vertical spacing */
    overflow: hidden;
}

.loader-progress-fill {
    background-color: var(--c-orange) !important;
    background-image: none !important; /* Ensure no gradient */
    width: 100%;
    height: 100%;
}

.loader-counter {
    margin-top: 0; /* Pull closer */
    margin-bottom: 0;
    color: var(--c-orange) !important;
    font-size: 80px;
    font-weight: 300;
    line-height: 1;
}

body.is-on-text .aa-cursor {
    width: 40px !important; /* Larger for better text coverage */
    height: 40px !important;
    background-color: #FFFFFF !important;
    mix-blend-mode: exclusion !important; /* Inverts text underneath - like Irene Butenko */
    backdrop-filter: none !important;
    border: none !important;
    z-index: 9999999;
}

body.is-reading .aa-cursor,
body.is-reading-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.is-reading .aa-cursor-icon,
body.is-reading-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-dark);
    width: 28px;
    height: 28px;
}

body.is-reading .aa-cursor-circular-text,
body.is-reading-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-reading .circular-text,
body.is-reading-normal .circular-text {
    fill: var(--c-dark);
}

body.is-reading-orange .aa-cursor,
body.is-reading-orange-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: var(--c-orange);
    backdrop-filter: blur(10px);
}

body.is-reading-orange .aa-cursor-icon,
body.is-reading-orange-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 28px;
    height: 28px;
}

body.is-reading-orange .aa-cursor-circular-text,
body.is-reading-orange-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-reading-orange .circular-text,
body.is-reading-orange-normal .circular-text {
    fill: var(--c-offwhite);
}

body.is-reading-orange-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-reading-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-email .aa-cursor,
body.is-email-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.is-email .aa-cursor-icon,
body.is-email-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-dark);
    width: 30px;
    height: 30px;
}

body.is-email .aa-cursor-circular-text,
body.is-email-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-email .circular-text,
body.is-email-normal .circular-text {
    fill: var(--c-dark);
}

body.is-email-orange .aa-cursor,
body.is-email-orange-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: var(--c-orange);
    backdrop-filter: blur(10px);
}

body.is-email-orange .aa-cursor-icon,
body.is-email-orange-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 30px;
    height: 30px;
}

body.is-email-orange .aa-cursor-circular-text,
body.is-email-orange-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-email-orange .circular-text,
body.is-email-orange-normal .circular-text {
    fill: var(--c-offwhite);
}

body.is-email-orange-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-email-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-view .aa-cursor,
body.is-view-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.is-view .aa-cursor-icon,
body.is-view-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-dark);
    width: 28px;
    height: 28px;
}

body.is-view .aa-cursor-circular-text,
body.is-view-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-view .circular-text,
body.is-view-normal .circular-text {
    fill: var(--c-dark);
}

body.is-view-orange .aa-cursor,
body.is-view-orange-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: var(--c-orange);
    backdrop-filter: blur(10px);
}

body.is-view-orange .aa-cursor-icon,
body.is-view-orange-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 28px;
    height: 28px;
}

body.is-view-orange .aa-cursor-circular-text,
body.is-view-orange-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-view-orange .circular-text,
body.is-view-orange-normal .circular-text {
    fill: var(--c-offwhite);
}

body.is-view-orange-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-view-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-play .aa-cursor,
body.is-play-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.is-play .aa-cursor-icon,
body.is-play-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-dark);
    width: 28px;
    height: 28px;
}

body.is-play .aa-cursor-circular-text,
body.is-play-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-play .circular-text,
body.is-play-normal .circular-text {
    fill: var(--c-dark);
}

body.is-play-orange .aa-cursor,
body.is-play-orange-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: var(--c-orange);
    backdrop-filter: blur(10px);
}

body.is-play-orange .aa-cursor-icon,
body.is-play-orange-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 28px;
    height: 28px;
}

body.is-play-orange .aa-cursor-circular-text,
body.is-play-orange-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-play-orange .circular-text,
body.is-play-orange-normal .circular-text {
    fill: var(--c-offwhite);
}

body.is-play-orange-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-play-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-more .aa-cursor,
body.is-more-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
}

body.is-more .aa-cursor-icon,
body.is-more-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-dark);
    width: 26px;
    height: 26px;
}

body.is-more .aa-cursor-circular-text,
body.is-more-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-more .circular-text,
body.is-more-normal .circular-text {
    fill: var(--c-dark);
}

body.is-more-orange .aa-cursor,
body.is-more-orange-normal .aa-cursor {
    width: 90px;
    height: 90px;
    background-color: var(--c-orange);
    backdrop-filter: blur(10px);
}

body.is-more-orange .aa-cursor-icon,
body.is-more-orange-normal .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 26px;
    height: 26px;
}

body.is-more-orange .aa-cursor-circular-text,
body.is-more-orange-normal .aa-cursor-circular-text {
    opacity: 1;
}

body.is-more-orange .circular-text,
body.is-more-orange-normal .circular-text {
    fill: var(--c-offwhite);
}

body.is-more-orange-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-more-normal #aa-cursor-container {
    mix-blend-mode: normal;
}

body.is-click .aa-cursor {
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
}

body.is-drag .aa-cursor {
    width: 55px;
    height: 55px;
    background-color: #FFFFFF;
}

body.is-download .aa-cursor {
    width: 68px;
    height: 68px;
    background-color: #FFFFFF;
}

body.is-pointer .aa-cursor {
    width: 38px;
    height: 38px;
    background-color: #FFFFFF;
}

body.is-text-small .aa-cursor {
    width: 22px;
    height: 22px;
    background-color: #FFFFFF;
}

body.is-text-large .aa-cursor {
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
}

body.is-large .aa-cursor {
    width: 36px;
    height: 36px;
    background-color: var(--c-orange);
}

body.is-no-invert .aa-cursor {
    width: 12px;
    height: 12px;
    background-color: var(--c-orange);
}

body.is-no-invert #aa-cursor-container {
    mix-blend-mode: normal;
}

@media (hover: none) and (pointer: coarse) {
    #aa-cursor-container {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    #aa-cursor-container {
        display: none !important;
    }
}

#site-loader {
    display: flex;
    position: fixed;
    inset: 0; 
    background: var(--c-dark);
    z-index: 99999999; 
    justify-content: center;
    align-items: center; 
    clip-path: circle(150% at 100% 0%); 
}

#loader-orange-bg {
    position: fixed;
    inset: 0; 
    background: var(--c-orange);
    z-index: 99999998;
    clip-path: circle(150% at 100% 0%);
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    gap: 30px;
}

.loader-text-area {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}

.loader-word {
    position: absolute; 
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 62px); 
    font-weight: 800;
    color: var(--c-white); 
    white-space: nowrap;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.loader-word.ar-font { 
    font-family: var(--font-ar) !important;
    font-weight: 700;
    flex-direction: row-reverse;
}

.loader-fixed-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--c-orange);
    border-radius: 50%;
}

.loader-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--c-white);
    opacity: 0;
}

.counter-number {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1;
}

.counter-percent {
    font-size: clamp(18px, 3vw, 28px);
    opacity: 0.7;
}

.loader-progress-bar {
    width: clamp(200px, 40vw, 400px);
    height: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--c-orange) 0%, #FFFFFF 100%);
    transform-origin: left;
    transform: scaleX(0);
}

/* Page Transition Loader - Dual Layer Effect */
/* Page Transition Loader - Dual Layer Effect */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--c-orange);
    z-index: 999998; /* Lower - orange is behind */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translateX(-100%); /* Start from Left */
    will-change: transform;
}

#page-transition.active {
    pointer-events: all;
}

/* Second layer - Dark background ON TOP of orange */
#page-transition-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--c-dark); /* Solid dark background */
    z-index: 999999; /* Higher - dark is in front */
    pointer-events: none;
    transform: translateX(-100%); /* Start from Left */
    will-change: transform;
}

.transition-content {
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000; /* Above both layers */
    pointer-events: none;
}

.transition-content.active {
    display: flex; /* Show immediately */
}

.transition-counter {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--c-orange); /* Orange text to be visible on dark */
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.transition-number {
    font-size: clamp(32px, 5vw, 56px);
}

.transition-percent {
    font-size: clamp(20px, 3vw, 32px);
    opacity: 0.7;
}

.transition-progress-bar {
    width: clamp(200px, 30vw, 300px);
    height: 1px;
    background-color: rgba(255, 87, 87, 0.2); /* Orange faint background */
    position: relative;
    overflow: hidden;
}

.transition-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--c-dark);
    transform-origin: left;
    transform: scaleX(0);
}

.aa-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.aa-header.is-scrolled {
    height: 80px;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s ease;
    z-index: -1;
}

.is-scrolled .header-bg {
    background: rgba(8, 8, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
    width: 75vw;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aa-logo {
    display: block;
    height: 40px;
    position: relative;
    z-index: 100005;
    cursor: pointer;
}

.aa-logo img {
    height: 100%;
    width: auto;
    transition: transform 0.4s ease;
}

.aa-logo:hover img {
    transform: scale(1.05);
}

.aa-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.aa-nav a { 
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--c-white);
    text-transform: capitalize;
    position: relative; 
    padding: 0;
    padding-bottom: 4px;
    text-decoration: none;
    transition: color 0.3s ease;
    transform: none !important;
    font-family: var(--font-main) !important;
    opacity: 1; 
}

.aa-nav a:hover {
    color: var(--c-orange) !important;
}

.aa-nav a::after { 
    content: '';
    position: absolute; 
    bottom: 0px; 
    left: 0;
    width: 100%;
    height: 2px; 
    background: var(--c-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1); 
}

.aa-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.aa-burger {
    display: none;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    cursor: pointer;
    z-index: 100005;
    background: transparent !important;
}

.bar {
    width: 30px;
    height: 2px;
    background: #FFF;
    transition: 0.3s;
    border-radius: 4px;
}

.bar.short {
    width: 20px;
}

.aa-burger:hover .bar {
    background: var(--c-orange);
}

.aa-burger:hover .bar.short {
    width: 30px;
}

.aa-mob-layer-orange {
    position: fixed;
    inset: 0;
    background-color: var(--c-orange);
    z-index: 149998;
    clip-path: circle(0% at 100% 0%);
    pointer-events: none;
}

.aa-mob-layer-content {
    position: fixed;
    inset: 0;
    background-color: var(--c-dark);
    z-index: 149999;
    clip-path: circle(0% at 100% 0%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.aa-close-btn { 
    position: fixed;
    top: 35px; 
    right: 5vw;
    width: 50px;
    height: 50px; 
    background: transparent !important; 
    display: flex;
    justify-content: center;
    align-items: center; 
    cursor: pointer;
    z-index: 150002; 
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1); 
    transform-origin: center center; 
}

.x-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.x-bar {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #FFF;
    transition: background-color 0.3s;
    left: 50%;
    top: 50%;
    transform-origin: center center;
}

.x-bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.x-bar:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.aa-close-btn:hover {
    transform: rotate(90deg);
}

.aa-close-btn:hover .x-bar {
    background-color: var(--c-orange);
}

.aa-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.m-link-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: clamp(50px, 9vh, 80px);
}

.m-link-text {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(40px, 8vh, 72px);
    font-weight: 700;
    color: #FFF;
    text-transform: capitalize;
    line-height: 1.0;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
}

.m-link-text.hover-clone {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    color: var(--c-orange);
}

.m-link-container:hover .m-link-text {
    transform: translateY(-100%);
}

@media (max-width: 1100px) {
    .header-inner {
        width: 90vw;
    }
    
    .aa-nav {
        display: none;
    }
    
    .aa-burger {
        display: flex;
    }
}

.grecaptcha-badge {
    visibility: collapse !important;
}

.page-id-4848, .postid-24924, .postid-24924 .site-content, 
.postid-24924 .site-inner, .postid-24924 .wrap, .postid-24924 #page {
    background-color: #F6F4EE !important;
}

.page-id-6577, .page-id-26859, .page-id-198, .page-id-107, 
.page-id-27615, .page-id-202, .page-id-178 {
    background-color: #080812 !important;
}

/* ===================================
   PORTFOLIO VIDEO POPUP SYSTEM
   Added: Interactive Gradient + Sticky Video
   =================================== */

/* Portfolio Container مع Gradient تفاعلي */
.aa-portfolio-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 60px 40px;
}

.aa-gradient-bg {
    position: relative;
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #ff8c42 25%,
        #ffa726 50%,
        #ffb347 100%
    );
    background-size: 200% 200%;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* تأثير الماوس على الـ Background */
.aa-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    transform: translate(var(--mouse-x, 50%), var(--mouse-y, 50%));
}

.aa-gradient-bg:hover::before {
    opacity: 1;
}

.aa-gradient-bg:hover {
    background-position: 100% 100%;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    transform: translateY(-4px);
}

/* Section Header */
.aa-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.aa-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-icon {
    font-size: 3rem;
    animation: aa-float 3s ease-in-out infinite;
}

.title-separator {
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes aa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Portfolio Header */
.aa-portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 0 8px;
}

.aa-portfolio-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #ffffff;
}

.aa-show-all {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.aa-show-all:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

/* Portfolio Grid */
.aa-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Portfolio Card مع Hover Gradient */
.aa-portfolio-card {
    position: relative;
    background: #1a1a1a;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: aa-slideUp 0.6s ease backwards;
}

@keyframes aa-slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aa-portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.aa-portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.aa-portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.aa-portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.aa-portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.aa-portfolio-card:nth-child(6) { animation-delay: 0.6s; }

/* Interactive Gradient على الـ Hover */
.aa-gradient-hover {
    position: relative;
}

.aa-gradient-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #ffa726 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    border-radius: 24px;
}

.aa-gradient-hover:hover::before {
    opacity: 0.15;
}

.aa-gradient-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(255, 107, 53, 0.4),
        0 0 0 1px rgba(255, 139, 66, 0.3);
    border-color: #ff8c42;
}

.aa-portfolio-card > * {
    position: relative;
    z-index: 1;
}

/* Card Thumbnail */
.aa-card-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.aa-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.aa-portfolio-card:hover .aa-card-thumbnail img {
    transform: scale(1.1);
}

.aa-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aa-portfolio-card:hover .aa-play-overlay {
    opacity: 1;
}

.aa-play-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b35, #ffa726);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
    animation: aa-pulse 2s ease-in-out infinite;
}

@keyframes aa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Card Info */
.aa-card-info {
    padding: 24px;
}

.aa-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.aa-card-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.aa-software-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.aa-software-icons span {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.icon-ai { background: linear-gradient(135deg, #FF9A00, #FF7700); }
.icon-ps { background: linear-gradient(135deg, #31A8FF, #0078D4); }
.icon-ae { background: linear-gradient(135deg, #9999FF, #6666CC); }
.icon-pr { background: linear-gradient(135deg, #9999FF, #EA77FF); }

.aa-software-icons span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* View Button */
.aa-view-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff6b35, #ffa726);
    border: none;
    border-radius: 0 0 24px 24px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.aa-view-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffa726, #ff6b35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aa-view-btn:hover::before {
    opacity: 1;
}

.aa-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
}

.aa-view-btn > * {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.2rem;
}

/* =========================================
   Video Cursor - EXACT COPY of is-play-orange-normal
   ========================================= */

body[class*="is-video-"] .aa-cursor {
    width: 90px !important;
    height: 90px !important;
    background-color: var(--c-orange) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: none !important;
    mix-blend-mode: normal !important;
    overflow: visible !important;
    border: none !important;
    margin: 0 !important;
}

body[class*="is-video-"] .aa-cursor::before {
    display: none;
}

body[class*="is-video-"] .aa-cursor-icon {
    opacity: 1;
    color: var(--c-offwhite);
    width: 28px;
    height: 28px;
    z-index: 20;
}

body[class*="is-video-"] .aa-cursor-circular-text {
    opacity: 1;
}

body[class*="is-video-"] .circular-text {
    fill: var(--c-offwhite);
}

/* Ensure text doesn't clip */
.aa-cursor-circular-text svg {
    overflow: visible;
}

/* Video Cursor - Orange Variant */
body.is-video-play-orange .aa-cursor {
    width: 90px !important;
    height: 90px !important;
    background-color: var(--c-orange) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(0px) !important;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4) !important;
    mix-blend-mode: normal !important;
    overflow: visible !important;
    border: none !important;
    margin: 0 !important;
}

body.is-video-play-orange .aa-cursor::before {
    display: none;
}

body.is-video-play-orange .aa-cursor-icon {
    opacity: 1;
    color: #fff;
    width: 28px;
    height: 28px;
    z-index: 20;
}

body.is-video-play-orange .aa-cursor-circular-text {
    opacity: 1;
    width: 140px;
    height: 140px;
    z-index: 10;
}

body.is-video-play-orange .circular-text {
    fill: #fff;
    font-size: 8.5px; 
    letter-spacing: 2.8px;
    font-weight: 700;
}

/* Video Cursor - White/Off-White Variant */
body.is-video-play-white .aa-cursor {
    width: 90px !important;
    height: 90px !important;
    background-color: #f5f5f5 !important;
    border-radius: 50% !important;
    backdrop-filter: blur(0px) !important;
    box-shadow: 0 0 20px rgba(245, 245, 245, 0.3) !important;
    mix-blend-mode: normal !important;
    overflow: visible !important;
    border: none !important;
    margin: 0 !important;
}

body.is-video-play-white .aa-cursor::before {
    display: none;
}

body.is-video-play-white .aa-cursor-icon {
    opacity: 1;
    color: var(--c-orange);
    width: 28px;
    height: 28px;
    z-index: 20;
}

body.is-video-play-white .aa-cursor-circular-text {
    opacity: 1;
    width: 140px;
    height: 140px;
    z-index: 10;
}

body.is-video-play-white .circular-text {
    fill: var(--c-orange);
    font-size: 8.5px; 
    letter-spacing: 2.8px;
    font-weight: 700;
}

/* =========================================
   VIDEO POPUP - Clean Minimal
   ========================================= */
.aa-video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.aa-video-popup.active {
    opacity: 1;
}

.aa-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.aa-popup-container {
    position: relative;
    width: 70vw;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    z-index: 10001;
}

.aa-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    outline: 2px solid #282F3A !important;
    outline-offset: 0px;
    overflow: hidden;
}

.aa-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Close Button - Simple X */
.aa-popup-close {
    position: absolute;
    top: -50px;
    left: 0;
    background: transparent !important;
    border: none !important;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: none !important;
}

.aa-popup-close svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    transition: all 0.3s ease;
}

.aa-popup-close:hover svg {
    stroke: var(--c-orange);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .aa-popup-container {
        width: 80vw;
    }
}

@media (max-width: 768px) {
    .aa-popup-container {
        width: 90vw;
    }
    
    .aa-popup-close {
        top: -45px;
    }
}

.aa-simple-loader {
    position: fixed;
    inset: 0;
    background-color: var(--c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.aa-simple-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.aa-loading-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 400;
    color: var(--c-white);
    letter-spacing: 0.05em;
}

.aa-loading-text::after {
    content: '';
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

