/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM EXECUTIVE PORTFOLIO - ADVANCED CSS
   High-End Design | Premium Animations | Visual Excellence
   ═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────────────────────────────────── */
:root {
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Almarai', 'Tajawal', sans-serif;
    --font-arabic-display: 'Almarai', 'Cairo', sans-serif;

    /* Font Sizes */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --text-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-xl: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-2xl: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
    --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 1.8rem + 2vw, 3.5rem);
    --text-5xl: clamp(2.8rem, 2rem + 4vw, 5rem);
    --text-6xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 5vw, 3rem);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --duration-fast: 200ms;
    --duration-base: 400ms;
    --duration-slow: 800ms;
    --duration-slower: 1200ms;
}

/* ─────────────────────────────────────────────────────────────────────────
   DARK THEME (Default)
   ───────────────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
    --color-bg: #050508;
    --color-bg-subtle: #0a0a0f;
    --color-bg-elevated: #0f0f15;
    --color-bg-card: rgba(15, 15, 21, 0.8);

    --color-text: #f5f5f7;
    --color-text-secondary: #8b8b94;
    --color-text-muted: #4a4a52;

    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-hover: rgba(255, 255, 255, 0.12);

    --color-accent: #c9a962;
    --color-accent-glow: rgba(201, 169, 98, 0.4);
    --color-accent-subtle: rgba(201, 169, 98, 0.08);

    --color-gradient-1: #1a1a2e;
    --color-gradient-2: #16213e;
    --color-gradient-3: #0f3460;

    --gradient-text: linear-gradient(135deg, #f5f5f7, #c9a962);
    --gradient-card: linear-gradient(135deg, rgba(25, 25, 35, 0.9), rgba(15, 15, 21, 0.9));

    --shadow-glow: 0 0 60px rgba(201, 169, 98, 0.15);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ─────────────────────────────────────────────────────────────────────────
   LIGHT THEME
   ───────────────────────────────────────────────────────────────────────── */
[data-theme="light"] {
    --color-bg: #fafafa;
    --color-bg-subtle: #f0f0f2;
    --color-bg-elevated: #ffffff;
    --color-bg-card: rgba(255, 255, 255, 0.9);

    --color-text: #0a0a0c;
    --color-text-secondary: #5a5a64;
    --color-text-muted: #9a9aa4;

    --color-border: rgba(0, 0, 0, 0.06);
    --color-border-hover: rgba(0, 0, 0, 0.12);

    --color-accent: #8b6914;
    --color-accent-glow: rgba(139, 105, 20, 0.2);
    --color-accent-subtle: rgba(139, 105, 20, 0.06);

    --color-gradient-1: #e8e8ec;
    --color-gradient-2: #d8d8e0;
    --color-gradient-3: #c8c8d4;

    --gradient-text: linear-gradient(135deg, #0a0a0c, #8b6914);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.95));

    --shadow-glow: 0 0 60px rgba(139, 105, 20, 0.1);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ─────────────────────────────────────────────────────────────────────────
   BASE RESET
   ───────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* ─────────────────────────────────────────────────────────────────────────
   ANIMATED BACKGROUND
   ───────────────────────────────────────────────────────────────────────── */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.5;
}

.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: orbFloat 8s ease-in-out infinite;
}

.bg-gradient-orb--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: var(--color-gradient-3);
    opacity: 0.4;
    animation-delay: 0s;
}

.bg-gradient-orb--2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -150px;
    background: var(--color-gradient-2);
    opacity: 0.3;
    animation-delay: -7s;
}

.bg-gradient-orb--3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    opacity: 0.05;
    animation-delay: -14s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 40px) scale(0.9);
    }
}

/* Cursor Glow - Enhanced for visibility */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.25) 0%, rgba(201, 169, 98, 0.1) 30%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(139, 105, 20, 0.2) 0%, rgba(139, 105, 20, 0.08) 30%, transparent 70%);
    mix-blend-mode: multiply;
}

.cursor-glow.active {
    opacity: 1;
}

/* ─────────────────────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

/* Active state - revealed */
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays for elements with data-delay attribute */
.reveal-up[data-delay="100"],
.reveal-left[data-delay="100"],
.reveal-right[data-delay="100"] {
    transition-delay: 100ms;
}

.reveal-up[data-delay="200"],
.reveal-left[data-delay="200"],
.reveal-right[data-delay="200"] {
    transition-delay: 200ms;
}

.reveal-up[data-delay="300"],
.reveal-left[data-delay="300"],
.reveal-right[data-delay="300"] {
    transition-delay: 300ms;
}

.reveal-up[data-delay="400"],
.reveal-left[data-delay="400"],
.reveal-right[data-delay="400"] {
    transition-delay: 400ms;
}

.reveal-up[data-delay="500"],
.reveal-left[data-delay="500"],
.reveal-right[data-delay="500"] {
    transition-delay: 500ms;
}

/* ─────────────────────────────────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.section__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.text-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─────────────────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────────────────── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.btn--primary {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.btn--primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn--primary:hover {
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--large {
    padding: var(--space-6) var(--space-12);
    font-size: var(--text-base);
}

.btn__text,
.btn__icon {
    position: relative;
    z-index: 1;
}

.btn__icon {
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* Magnetic Button Effect */
.btn--magnetic {
    transition: transform var(--duration-fast) ease;
}

/* Download CV Button */
.btn--cv {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--cv::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-base) var(--ease-out-expo);
    z-index: 0;
}

.btn--cv:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn--cv:hover {
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.btn--cv .btn__text,
.btn--cv .btn__icon {
    position: relative;
    z-index: 1;
}

.btn__icon--down {
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.btn--cv:hover .btn__icon--down {
    transform: translateY(3px);
}

/* ─────────────────────────────────────────────────────────────────────────
   HEADER & NAVIGATION
   ───────────────────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: transform var(--duration-base) var(--ease-out-expo),
        background var(--duration-base) ease;
}

[data-theme="light"] .header {
    background: rgba(250, 250, 250, 0.8);
}

.header--hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
}

.nav__logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav__logo-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    opacity: 0;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM LOGO STYLES
   ───────────────────────────────────────────────────────────────────────── */
.nav__logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
}

.nav__logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all var(--duration-base) var(--ease-out-expo);
    filter: drop-shadow(0 0 10px var(--color-accent-glow));
}

/* Light Mode - Invert logo colors */
[data-theme="light"] .nav__logo-img,
[data-theme="light"] .footer__logo-img,
[data-theme="light"] .contact__logo-img {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 10px var(--color-accent-glow));
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--color-accent-glow));
}

[data-theme="light"] .nav__logo:hover .nav__logo-img {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 20px var(--color-accent-glow));
}

.nav__logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--duration-base) ease;
    pointer-events: none;
}

.nav__logo:hover .nav__logo-glow {
    opacity: 0.5;
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.nav__logo-pulse {
    position: absolute;
    inset: -15px;
    border-radius: 8px;
    border: 1px solid var(--color-accent);
    opacity: 0;
    animation: logoPulse 3s ease-in-out infinite;
}

/* Footer Logo */
.footer__logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--color-accent-glow));
    transition: all var(--duration-base) var(--ease-out-expo);
}

.footer__logo-img:hover {
    transform: scale(1.05);
}

/* Contact Section Logo */
.contact__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--color-accent-glow));
    animation: contactLogoFloat 4s ease-in-out infinite;
}

@keyframes contactLogoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

.contact__visual-center {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--color-accent-subtle) 0%, transparent 70%);
    border-radius: 50%;
}

.nav__menu {
    display: none;
    align-items: center;
    gap: var(--space-10);
}

.nav__link {
    position: relative;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--duration-base) var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 56px;
    height: 28px;
}

.theme-toggle__track {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: all var(--duration-base) ease;
}

.theme-toggle__icon {
    font-size: 12px;
    opacity: 0.5;
    transition: opacity var(--duration-base) ease;
}

[data-theme="dark"] .theme-toggle__icon--sun {
    opacity: 1;
}

[data-theme="light"] .theme-toggle__icon--moon {
    opacity: 1;
}

.theme-toggle__thumb {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--color-accent);
    border-radius: 50%;
    transition: transform var(--duration-base) var(--ease-out-expo);
}

[data-theme="light"] .theme-toggle__thumb {
    transform: translateX(28px);
}

/* Nav Toggle (Mobile) */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__toggle-line {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out-expo);
    transform-origin: center;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Progress Bar */
.nav__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--color-accent);
    width: 0%;
    transition: width 50ms ease;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-8);
        background: var(--color-bg);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration-base) var(--ease-out-expo);
    }

    .nav__menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: var(--text-2xl);
    }
}

@media (min-width: 769px) {
    .nav__menu {
        display: flex;
    }

    .nav__toggle {
        display: none;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-8);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero__name {
    margin-bottom: var(--space-4);
}

.hero__name-line {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero__name-line--accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title-wrapper {
    margin-bottom: var(--space-6);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hero__title-marquee {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    animation: marquee 20s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero__title {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.hero__title-divider {
    color: var(--color-accent);
    font-size: var(--text-xs);
}

.hero__statement {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-10);
    max-width: 500px;
}

.hero__statement-typed {
    color: var(--color-text);
    font-weight: 500;
}

.hero__statement-cursor {
    color: var(--color-accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-suffix {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-accent);
}

.hero__stat-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

/* Hero Shapes */
.hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    animation: shapeFloat 15s ease-in-out infinite;
}

.hero__shape--1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation-delay: -5s;
}

.hero__shape--3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 25%;
    animation-delay: -10s;
}

@keyframes shapeFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    66% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   ABOUT SECTION
   ───────────────────────────────────────────────────────────────────────── */
.about {
    background: var(--color-bg-subtle);
}

.about__grid {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-16);
    }
}

.about__visual-frame {
    position: relative;
    aspect-ratio: 1;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__visual-icon {
    width: 150px;
    height: 150px;
    color: var(--color-accent);
}

.about__icon-svg {
    width: 100%;
    height: 100%;
}

.about__icon-pulse {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        r: 25;
        opacity: 0.8;
    }

    50% {
        r: 30;
        opacity: 1;
    }
}

.about__icon-check {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 2s ease forwards 1s;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.about__visual-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-16);
}

.about__visual-label {
    position: absolute;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.6;
}

.about__visual-label:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about__visual-label:nth-child(2) {
    bottom: 20%;
    left: 0;
    transform: rotate(-60deg);
}

.about__visual-label:nth-child(3) {
    bottom: 20%;
    right: 0;
    transform: rotate(60deg);
}

.about__content {
    max-width: 600px;
}

.about__text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text);
}

.about__highlight-icon {
    color: var(--color-accent);
    font-size: var(--text-xs);
}

.about__location {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.about__location-icon {
    color: var(--color-accent);
}

/* ─────────────────────────────────────────────────────────────────────────
   EXPERTISE SECTION
   ───────────────────────────────────────────────────────────────────────── */
.expertise__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .expertise__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}

.expertise__card {
    perspective: 1000px;
    height: 200px;
}

.expertise__card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--duration-slow) var(--ease-out-expo);
    transform-style: preserve-3d;
}

.expertise__card:hover .expertise__card-inner {
    transform: rotateY(180deg);
}

.expertise__card-front,
.expertise__card-back {
    position: absolute;
    inset: 0;
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise__card-front {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
}

.expertise__card-back {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: rotateY(180deg);
}

.expertise__card-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--space-3);
}

.expertise__card-title {
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.3;
}

.expertise__card-line {
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    margin-top: var(--space-4);
    transition: width var(--duration-base) var(--ease-out-expo);
}

.expertise__card:hover .expertise__card-line {
    width: 50px;
}

.expertise__card-back p {
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────
   WORK SECTION
   ───────────────────────────────────────────────────────────────────────── */
.work {
    background: var(--color-bg-subtle);
}

.work__showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.work__item {
    display: grid;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all var(--duration-base) var(--ease-out-expo);
}

@media (min-width: 768px) {
    .work__item {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: var(--space-10);
    }

    .work__item--reverse {
        grid-template-columns: auto 1fr;
    }

    .work__item--reverse .work__item-visual {
        order: -1;
    }
}

.work__item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.work__item-category {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.work__item-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.work__item-desc {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    max-width: 500px;
}

.work__item-tags {
    display: flex;
    gap: var(--space-2);
}

.work__item-tags span {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 100px;
}

.work__item-visual {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work__item-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
}

.work__item-icon svg {
    width: 100%;
    height: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────
   SERVICES SECTION
   ───────────────────────────────────────────────────────────────────────── */
.services__list {
    display: flex;
    flex-direction: column;
}

.services__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.services__item:first-child {
    border-top: 1px solid var(--color-border);
}

.services__item:hover {
    padding-left: var(--space-4);
}

.services__item-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-text-muted);
    min-width: 50px;
    transition: color var(--duration-base) ease;
}

.services__item:hover .services__item-number {
    color: var(--color-accent);
}

.services__item-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    margin-bottom: var(--space-1);
}

.services__item-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.services__item-arrow {
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    transition: all var(--duration-base) var(--ease-out-expo);
    transform: translateX(-10px);
    opacity: 0;
}

.services__item:hover .services__item-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--color-accent);
}

/* ─────────────────────────────────────────────────────────────────────────
   CONTACT SECTION
   ───────────────────────────────────────────────────────────────────────── */
.contact {
    background: var(--color-bg-subtle);
}

.contact__wrapper {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .contact__wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.contact__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.contact__text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) ease;
}

.contact__link:hover {
    color: var(--color-text);
}

.contact__link-icon {
    color: var(--color-accent);
}

/* Contact Visual */
.contact__visual {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM LOGO SHOWCASE - Contact Section
   ═══════════════════════════════════════════════════════════════════════ */
.logo-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Background Grid Pattern */
.logo-showcase__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 24px;
    opacity: 0.3;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

[data-theme="light"] .logo-showcase__grid {
    opacity: 0.15;
}

/* Floating Particles */
.logo-showcase__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.logo-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    animation: logoParticleFloat 8s ease-in-out infinite;
    filter: blur(1px);
}

.logo-particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.logo-particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.logo-particle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.logo-particle:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.logo-particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.logo-particle:nth-child(6) {
    top: 40%;
    right: 5%;
    animation-delay: 5s;
}

.logo-particle:nth-child(7) {
    bottom: 10%;
    left: 50%;
    animation-delay: 6s;
}

.logo-particle:nth-child(8) {
    top: 5%;
    left: 50%;
    animation-delay: 7s;
}

@keyframes logoParticleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    15% {
        opacity: 0.8;
        transform: translateY(-15px) scale(1);
    }

    85% {
        opacity: 0.8;
        transform: translateY(-45px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.5);
    }
}

[data-theme="light"] .logo-particle {
    background: var(--color-accent);
    filter: blur(0);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* Corner Accents */
.logo-showcase__corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 5;
    transition: all 0.5s var(--ease-out-expo);
}

.logo-showcase__corner::before,
.logo-showcase__corner::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    transition: all 0.5s var(--ease-out-expo);
}

.logo-showcase__corner::before {
    width: 100%;
    height: 2px;
}

.logo-showcase__corner::after {
    width: 2px;
    height: 100%;
}

.logo-showcase__corner--tl {
    top: 0;
    left: 0;
}

.logo-showcase__corner--tl::before {
    top: 0;
    left: 0;
}

.logo-showcase__corner--tl::after {
    top: 0;
    left: 0;
}

.logo-showcase__corner--tr {
    top: 0;
    right: 0;
}

.logo-showcase__corner--tr::before {
    top: 0;
    right: 0;
}

.logo-showcase__corner--tr::after {
    top: 0;
    right: 0;
}

.logo-showcase__corner--bl {
    bottom: 0;
    left: 0;
}

.logo-showcase__corner--bl::before {
    bottom: 0;
    left: 0;
}

.logo-showcase__corner--bl::after {
    bottom: 0;
    left: 0;
}

.logo-showcase__corner--br {
    bottom: 0;
    right: 0;
}

.logo-showcase__corner--br::before {
    bottom: 0;
    right: 0;
}

.logo-showcase__corner--br::after {
    bottom: 0;
    right: 0;
}

.logo-showcase:hover .logo-showcase__corner {
    width: 40px;
    height: 40px;
}

.logo-showcase:hover .logo-showcase__corner::before,
.logo-showcase:hover .logo-showcase__corner::after {
    background: var(--color-text);
}

[data-theme="light"] .logo-showcase:hover .logo-showcase__corner::before,
[data-theme="light"] .logo-showcase:hover .logo-showcase__corner::after {
    background: var(--color-accent);
}

/* Animated Border */
.logo-showcase__border-anim {
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    background: linear-gradient(90deg,
            var(--color-accent) 0%,
            transparent 25%,
            transparent 50%,
            var(--color-accent) 75%,
            transparent 100%);
    background-size: 400% 100%;
    animation: borderSlide 3s linear infinite;
    opacity: 0.6;
    z-index: 0;
}

.logo-showcase__border-anim::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 24px;
    background: var(--color-bg-subtle);
}

@keyframes borderSlide {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

[data-theme="light"] .logo-showcase__border-anim {
    opacity: 0.8;
    background: linear-gradient(90deg,
            var(--color-accent) 0%,
            rgba(139, 105, 20, 0.3) 25%,
            transparent 50%,
            var(--color-accent) 75%,
            rgba(139, 105, 20, 0.3) 100%);
    background-size: 400% 100%;
}

/* Main Frame */
.logo-showcase__frame {
    position: relative;
    width: 85%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out-expo);
}

.logo-showcase:hover .logo-showcase__frame {
    transform: rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* Frame Glow */
.logo-showcase__glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center,
            var(--color-accent-glow) 0%,
            transparent 70%);
    opacity: 0.5;
    animation: frameGlow 3s ease-in-out infinite;
    border-radius: 30px;
}

@keyframes frameGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

[data-theme="light"] .logo-showcase__glow {
    opacity: 0.4;
    background: radial-gradient(ellipse at center,
            rgba(139, 105, 20, 0.25) 0%,
            transparent 70%);
}

/* Inner Container */
.logo-showcase__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    transition: all 0.5s var(--ease-out-expo);
}

.logo-showcase:hover .logo-showcase__inner {
    border-color: var(--color-accent);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--color-accent-glow),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

[data-theme="light"] .logo-showcase__inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

[data-theme="light"] .logo-showcase:hover .logo-showcase__inner {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 50px rgba(139, 105, 20, 0.2),
        0 0 0 1px rgba(139, 105, 20, 0.3) inset;
}

/* Logo Image */
.logo-showcase__logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--color-accent-glow));
    animation: logoFloat 4s ease-in-out infinite, logoShine 8s ease-in-out infinite;
    transition: all 0.5s var(--ease-out-expo);
}

.logo-showcase:hover .logo-showcase__logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px var(--color-accent-glow));
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoShine {

    0%,
    100% {
        filter: drop-shadow(0 0 20px var(--color-accent-glow)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 0 30px var(--color-accent-glow)) brightness(1.1);
    }
}

/* Light Mode Logo - Same behavior as header logo */
[data-theme="light"] .logo-showcase__logo {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 15px rgba(139, 105, 20, 0.4)) !important;
    animation: logoFloatLight 4s ease-in-out infinite;
}

[data-theme="light"] .logo-showcase:hover .logo-showcase__logo {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 30px rgba(139, 105, 20, 0.6)) brightness(1.05) !important;
    transform: scale(1.1);
}

@keyframes logoFloatLight {

    0%,
    100% {
        transform: translateY(0);
        filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 15px rgba(139, 105, 20, 0.4));
    }

    50% {
        transform: translateY(-8px);
        filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 20px rgba(139, 105, 20, 0.5));
    }
}

/* Shine Effect */
.logo-showcase__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 60%,
            transparent 100%);
    transform: translateX(-100%);
    animation: shineSlide 4s ease-in-out infinite;
}

@keyframes shineSlide {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

[data-theme="light"] .logo-showcase__shine {
    background: linear-gradient(115deg,
            transparent 0%,
            transparent 40%,
            rgba(139, 105, 20, 0.1) 50%,
            transparent 60%,
            transparent 100%);
}

/* Floating Badge */
.logo-showcase__badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: badgeFloat 3s ease-in-out infinite;
    transition: all 0.4s var(--ease-out-expo);
}

.logo-showcase:hover .logo-showcase__badge {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 15px 40px var(--color-accent-glow);
}

.logo-showcase__badge-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

[data-theme="light"] .logo-showcase__badge {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo-showcase:hover .logo-showcase__badge {
    background: var(--color-accent);
    color: white;
}

/* Decorative Lines */
.logo-showcase__lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.logo-showcase__lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.1;
    animation: lineMove 6s linear infinite;
}

.logo-showcase__lines span:nth-child(1) {
    top: 25%;
    left: 0;
    right: 0;
    height: 1px;
    animation-delay: 0s;
}

.logo-showcase__lines span:nth-child(2) {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    animation-delay: 2s;
}

.logo-showcase__lines span:nth-child(3) {
    top: 75%;
    left: 0;
    right: 0;
    height: 1px;
    animation-delay: 4s;
}

@keyframes lineMove {
    0% {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    50% {
        opacity: 0.3;
        transform: scaleX(1);
        transform-origin: left;
    }

    50.1% {
        transform-origin: right;
    }

    100% {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: right;
    }
}

[data-theme="light"] .logo-showcase__lines span {
    opacity: 0.2;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-showcase__logo {
        height: 60px;
    }

    .logo-showcase__badge {
        font-size: 0.65rem;
        padding: var(--space-1) var(--space-3);
    }

    .logo-showcase__corner {
        width: 20px;
        height: 20px;
    }

    .logo-showcase:hover .logo-showcase__corner {
        width: 25px;
        height: 25px;
    }
}


/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────── */
.footer {
    padding: var(--space-8) 0;
    border-top: 1px solid var(--color-border);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer__left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer__text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Stagger delays */
[data-delay="100"] {
    transition-delay: 100ms;
}

[data-delay="200"] {
    transition-delay: 200ms;
}

[data-delay="300"] {
    transition-delay: 300ms;
}

[data-delay="400"] {
    transition-delay: 400ms;
}

[data-delay="500"] {
    transition-delay: 500ms;
}

/* ─────────────────────────────────────────────────────────────────────────
   PREMIUM PROFILE SHOWCASE
   ───────────────────────────────────────────────────────────────────────── */
.profile-showcase {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Rings */
.profile-showcase__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: ringRotate 20s linear infinite;
}

.profile-showcase__ring--1 {
    inset: 0;
    border-color: var(--color-accent);
    opacity: 0.3;
    animation-duration: 25s;
}

.profile-showcase__ring--2 {
    inset: 20px;
    border-color: var(--color-accent);
    opacity: 0.2;
    animation-duration: 20s;
    animation-direction: reverse;
}

.profile-showcase__ring--3 {
    inset: 40px;
    border-style: dashed;
    border-color: var(--color-accent);
    opacity: 0.15;
    animation-duration: 30s;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Glowing Particles */
.profile-showcase__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    top: 40%;
    right: 8%;
    animation-delay: 5s;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateY(-40px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.5);
    }
}

/* Photo Frame */
.profile-showcase__frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    transition: transform 0.5s var(--ease-out-expo);
}

.profile-showcase:hover .profile-showcase__frame {
    transform: scale(1.02);
}

/* Outer Glow */
.profile-showcase__glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Animated Border */
.profile-showcase__border {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            var(--color-accent),
            transparent 60deg,
            transparent 180deg,
            var(--color-accent) 240deg,
            transparent 300deg,
            var(--color-accent));
    animation: borderRotate 8s linear infinite;
}

.profile-showcase__border::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--color-bg);
}

@keyframes borderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Image Wrapper */
.profile-showcase__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 0 0 3px var(--color-bg),
        0 0 0 4px var(--color-accent),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.profile-showcase__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease;
}

.profile-showcase:hover .profile-showcase__image {
    transform: scale(1.05);
}

/* Shine Effect */
.profile-showcase__shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 50%,
            transparent 100%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.profile-showcase:hover .profile-showcase__shine {
    opacity: 1;
}

/* Floating Labels */
.profile-showcase__labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.profile-showcase__label {
    position: absolute;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    animation: labelFloat 3s ease-in-out infinite;
}

.profile-showcase__label--1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.profile-showcase__label--2 {
    bottom: 25%;
    left: -10%;
    animation-delay: 1s;
}

.profile-showcase__label--3 {
    bottom: 25%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes labelFloat {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px);
    }
}

.profile-showcase__label--2,
.profile-showcase__label--3 {
    animation-name: labelFloatSide;
}

@keyframes labelFloatSide {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Signature */
.profile-showcase__signature {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    color: var(--color-accent);
    opacity: 0.6;
}

.signature-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawSignature 3s ease forwards 1s;
}

@keyframes drawSignature {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .profile-showcase {
        max-width: 300px;
    }

    .profile-showcase__frame {
        width: 220px;
        height: 220px;
    }

    .profile-showcase__label {
        font-size: 0.6rem;
        padding: var(--space-1) var(--space-3);
    }

    .profile-showcase__label--2 {
        left: 0;
    }

    .profile-showcase__label--3 {
        right: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   LANGUAGE TOGGLE
   ───────────────────────────────────────────────────────────────────────── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.lang-toggle:hover {
    border-color: var(--color-accent);
}

.lang-toggle__option {
    color: var(--color-text-muted);
    transition: all var(--duration-base) ease;
    padding: 0 var(--space-1);
}

.lang-toggle__option.active {
    color: var(--color-accent);
}

.lang-toggle__option--ar {
    font-family: var(--font-arabic);
    font-weight: 600;
}

.lang-toggle__divider {
    color: var(--color-border);
    font-size: var(--text-xs);
}

/* ─────────────────────────────────────────────────────────────────────────
   RTL (Arabic) LAYOUT SUPPORT
   ───────────────────────────────────────────────────────────────────────── */
[dir="rtl"] {
    font-family: var(--font-arabic);
}

[dir="rtl"] .hero__name-line,
[dir="rtl"] .section__title,
[dir="rtl"] .expertise__card-title,
[dir="rtl"] .work__item-title,
[dir="rtl"] .services__item-title,
[dir="rtl"] .contact__title {
    font-family: var(--font-arabic-display);
}

/* ===== HEADER & NAVIGATION ===== */
[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav__menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav__actions {
    flex-direction: row-reverse;
}

/* ===== HERO SECTION ===== */
[dir="rtl"] .hero__content {
    text-align: right;
    align-items: flex-end;
}

[dir="rtl"] .hero__cta {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .hero__stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero__badge {
    flex-direction: row-reverse;
}

/* ===== ABOUT SECTION ===== */
[dir="rtl"] .about__content {
    text-align: right;
}

[dir="rtl"] .about__grid {
    direction: rtl;
}

[dir="rtl"] .about__highlights {
    align-items: flex-end;
}

[dir="rtl"] .about__highlight {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .about__location {
    flex-direction: row-reverse;
}

/* ===== SECTION HEADERS ===== */
[dir="rtl"] .section__header {
    text-align: right;
    align-items: flex-end;
}

/* ===== EXPERTISE SECTION ===== */
[dir="rtl"] .expertise__card {
    text-align: right;
}

[dir="rtl"] .expertise__card-front,
[dir="rtl"] .expertise__card-back {
    text-align: right;
}

/* ===== WORK SECTION ===== */
[dir="rtl"] .work__item {
    direction: rtl;
}

[dir="rtl"] .work__item-content {
    text-align: right;
}

[dir="rtl"] .work__item-tags {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* ===== SERVICES SECTION ===== */
[dir="rtl"] .services__item {
    direction: rtl;
    grid-template-columns: auto 1fr auto;
}

[dir="rtl"] .services__item-content {
    text-align: right;
}

[dir="rtl"] .services__item-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .services__item:hover .services__item-arrow {
    transform: scaleX(-1) translateX(0);
}

/* ===== CONTACT SECTION ===== */
[dir="rtl"] .contact__content {
    text-align: right;
    align-items: flex-end;
}

[dir="rtl"] .contact__info {
    align-items: flex-end;
}

[dir="rtl"] .contact__link {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact__wrapper {
    direction: rtl;
}

/* ===== FOOTER ===== */
[dir="rtl"] .footer__container {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer__left {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer__right {
    text-align: left;
}

/* ===== BUTTONS ===== */
[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn__icon {
    transform: scaleX(-1);
}

[dir="rtl"] .btn:hover .btn__icon {
    transform: scaleX(-1) translateX(-4px);
}

/* ===== PROFILE SHOWCASE ===== */
[dir="rtl"] .profile-showcase__label--2 {
    left: auto;
    right: -10%;
}

[dir="rtl"] .profile-showcase__label--3 {
    right: auto;
    left: -10%;
}

/* ===== HERO SHAPES ===== */
[dir="rtl"] .hero__shapes {
    left: 5%;
    right: auto;
}

[dir="rtl"] .hero__shape--1 {
    left: 5%;
    right: auto;
}

[dir="rtl"] .hero__shape--2 {
    left: 15%;
    right: auto;
}

[dir="rtl"] .hero__shape--3 {
    left: 25%;
    right: auto;
}

/* ===== MARQUEE ===== */
[dir="rtl"] .hero__title-marquee {
    animation-direction: reverse;
}

/* ===== ADDITIONAL RTL OVERRIDES ===== */
/* Force About highlight icons to right */
[dir="rtl"] .about__highlight {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: var(--space-3);
}

[dir="rtl"] .about__highlight-icon {
    order: 1;
}

/* Force About location icon to right */
[dir="rtl"] .about__location {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: var(--space-2);
}

/* Force Contact link icons to right */
[dir="rtl"] .contact__link {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: var(--space-3);
}

[dir="rtl"] .contact__link-icon {
    order: 1;
}

/* Force Hero CTA buttons to right */
[dir="rtl"] .hero__cta {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
}

/* Force Hero badge to right */
[dir="rtl"] .hero__badge {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
}

/* Force Hero stats to right */
[dir="rtl"] .hero__stats {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
}

/* Force Work item tags */
[dir="rtl"] .work__item-tags {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
}

/* Force Services item layout */
[dir="rtl"] .services__item {
    display: grid !important;
    grid-template-columns: auto auto 1fr !important;
    direction: rtl !important;
}

[dir="rtl"] .services__item-number {
    order: -1;
}

/* Force Footer layout */
[dir="rtl"] .footer__container {
    display: flex !important;
    flex-direction: row-reverse !important;
}

[dir="rtl"] .footer__left {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: var(--space-4);
}

/* Enhanced Arabic Typography */
[dir="rtl"] {
    font-family: var(--font-arabic);
    font-weight: 500;
    letter-spacing: 0;
    word-spacing: 0.1em;
}

[dir="rtl"] p,
[dir="rtl"] .about__text,
[dir="rtl"] .services__item-desc,
[dir="rtl"] .work__item-desc,
[dir="rtl"] .contact__text {
    line-height: 2;
    font-weight: 400;
}

[dir="rtl"] .hero__name-line {
    font-weight: 700;
}

[dir="rtl"] .section__title,
[dir="rtl"] .contact__title {
    font-weight: 700;
    letter-spacing: 0;
}

[dir="rtl"] .hero__title {
    font-weight: 500;
}

[dir="rtl"] .expertise__card-title,
[dir="rtl"] .services__item-title,
[dir="rtl"] .work__item-title {
    font-weight: 600;
}

[dir="rtl"] .section__label {
    letter-spacing: 0.1em;
    font-weight: 600;
}

[dir="rtl"] .btn__text {
    font-weight: 600;
}

/* Responsive RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav__menu {
        flex-direction: column;
    }

    [dir="rtl"] .profile-showcase__label--2 {
        right: 0;
    }

    [dir="rtl"] .profile-showcase__label--3 {
        left: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   FLOATING WHATSAPP BUTTON
   ───────────────────────────────────────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    text-decoration: none;
    cursor: pointer;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float__icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow:
        0 4px 15px rgba(37, 211, 102, 0.4),
        0 8px 30px rgba(37, 211, 102, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float__icon svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float__icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.5),
        0 15px 50px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-float:hover .whatsapp-float__icon svg {
    transform: scale(1.1);
}

/* Pulse Animation */
.whatsapp-float__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s ease-out infinite;
}

.whatsapp-float__pulse--2 {
    animation-delay: 1s;
}

@keyframes whatsappPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Tooltip */
.whatsapp-float__tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--color-bg-elevated);
    color: var(--color-text);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

[dir="rtl"] .whatsapp-float__tooltip {
    right: auto;
    left: 80px;
    transform: translateY(-50%) translateX(-10px);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--color-bg-elevated);
}

[dir="rtl"] .whatsapp-float__tooltip::after {
    right: auto;
    left: -8px;
    border-left-color: transparent;
    border-right-color: var(--color-bg-elevated);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }

    .whatsapp-float__icon {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float__icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float__pulse {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }
}