/* ============================================
   Mohammed Odaish - Creative Marketing Designer
   Main Design System - Dark Premium Theme
   Colors: Black #0a0a0a + Gold #D4A017
   Brand Pattern: Rounded Squares
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --bg: #0a0a0a;
    --bg-light: #111118;
    --bg-card: #14141e;
    --bg-glass: rgba(20, 20, 30, 0.7);
    --gold: #D4A017;
    --gold-light: #E8B830;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #D4A017, #B8860B);
    --gold-glow: rgba(212, 160, 23, 0.15);
    --white: #ffffff;
    --text: #e0e0e0;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 160, 23, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --container: 1200px;
    --nav-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide default cursor when custom cursor is active (desktop only) */
@media (pointer: fine) {

    body.has-custom-cursor,
    body.has-custom-cursor * {
        cursor: none !important;
    }
}

body.ltr {
    font-family: 'Inter', 'Cairo', sans-serif;
    direction: ltr;
}

body.rtl {
    font-family: 'Cairo', 'Inter', sans-serif;
    direction: rtl;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--white);
    line-height: 1.3;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-dot.hover,
.cursor-ring.hover {
    width: 14px;
    height: 14px;
    background: rgba(212, 160, 23, 0.15);
}

.cursor-ring.hover {
    width: 35px;
    height: 35px;
    border: 1px solid var(--gold);
}

@media (max-width: 768px),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* ============================================
   ANIMATED PRELOADER
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 180px;
    height: auto;
    margin-bottom: 25px;
}

.preloader-logo .logo-path {
    fill: transparent;
    stroke: var(--gold);
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation:
        drawLogoPath 2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        fillLogoPath 0.8s ease 1.8s forwards;
}

.preloader-logo .logo-path:nth-child(1) {
    animation-delay: 0s, 1.8s;
}

.preloader-logo .logo-path:nth-child(2) {
    animation-delay: 0.2s, 1.9s;
}

.preloader-logo .logo-path:nth-child(3) {
    animation-delay: 0.4s, 2.0s;
}

.preloader-logo .logo-path:nth-child(4) {
    animation-delay: 0.6s, 2.1s;
}

@keyframes drawLogoPath {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fillLogoPath {
    0% {
        fill: transparent;
        stroke-width: 1;
        transform: scale(1);
    }

    50% {
        fill: var(--gold);
        stroke-width: 0;
        transform: scale(1.05);
    }

    100% {
        fill: var(--gold);
        stroke-width: 0;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.3));
    }
}

.preloader-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInText 0.8s ease 1.5s forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Fast preloader for page transitions */
.loading-screen.fast {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 5px;
}

.nav-logo .logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lang-switch:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.nav-cta {
    padding: 10px 22px;
    background: var(--gold-gradient);
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
    color: #0a0a0a;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 50%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

/* Hero 2-column flex layout */
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1 1 500px;
    position: relative;
    z-index: 2;
    text-align: right;
    /* Default RTL */
}

.ltr .hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 15px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-role {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Hero tools ribbon */
.hero-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tools span {
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: var(--transition);
}

.hero-tools span:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}

/* Hero Visual / Photo (Frameless) */
.hero-visual {
    flex: 1 1 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
}

.hero-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-photo-placeholder {
    width: 320px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    border-radius: 20px;
    border: 2px dashed rgba(212, 160, 23, 0.4);
}

.hero-photo-placeholder i {
    font-size: 50px;
    opacity: 0.6;
    color: var(--gold);
}

.hero-photo-placeholder span {
    font-size: 13px;
    opacity: 0.4;
}

.photo-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.25), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* Floating decorative icons */
.hero-float-el {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    animation: float 5s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.float-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 15%;
    right: -15px;
    animation-delay: 1.5s;
}

.float-3 {
    top: 50%;
    left: -30px;
    animation-delay: 3s;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--gold-gradient);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 160, 23, 0.35);
    color: #0a0a0a;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Hero decorative */
.hero-decoration {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    opacity: 0.05;
    z-index: 1;
}

.hero-decoration .deco-sq {
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 14px;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration .deco-sq:nth-child(1) {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.hero-decoration .deco-sq:nth-child(2) {
    top: 80px;
    right: 80px;
    animation-delay: 1s;
}

.hero-decoration .deco-sq:nth-child(3) {
    top: 160px;
    right: 20px;
    animation-delay: 2s;
}

.hero-decoration .deco-sq:nth-child(4) {
    top: 50px;
    right: 170px;
    animation-delay: 0.5s;
}

.hero-decoration .deco-sq:nth-child(5) {
    top: 200px;
    right: 150px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.rtl .hero-decoration {
    right: auto;
    left: 5%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-glow);
}

.project-card .card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.08);
}

.project-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(10, 10, 10, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.project-card .card-body {
    padding: 20px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card .card-category {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-card .card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition);
}

.project-card:hover .card-title {
    color: var(--gold);
}

.project-card .card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 15px;
}

.project-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.project-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.project-card .card-link:hover {
    gap: 10px;
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 30px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold-gradient);
    color: #0a0a0a;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Service action buttons */
.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.svc-btn {
    flex: 1 1 45%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.svc-btn-wa {
    background: #25D366;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.svc-btn-wa:hover {
    background: #1ebc5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.svc-btn-wa i {
    font-size: 16px;
}

.svc-btn-projects {
    background: transparent;
    color: var(--gold) !important;
    border: 2px solid var(--gold);
}

.svc-btn-projects:hover {
    background: var(--gold);
    color: #0a0a0a !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.3);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-suffix {
    font-size: 24px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.client-logo {
    padding: 20px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    opacity: 0.6;
}

.client-logo:hover {
    opacity: 1;
    border-color: var(--border-gold);
    transform: translateY(-3px);
}

.client-logo img {
    max-height: 50px;
    max-width: 120px;
    filter: grayscale(100%) brightness(1.5);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: none;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 60px;
    color: var(--gold);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}

.rtl .testimonial-card::before {
    right: auto;
    left: 25px;
}

.testimonial-card:hover {
    border-color: var(--border-gold);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-card .content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gold);
}

.testimonial-card .author-info .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}

.testimonial-card .author-info .title {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 35px;
    position: relative;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 160, 23, 0.06) 0%, transparent 60%);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 17px;
    position: relative;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    position: relative;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    font-size: 13px;
}

.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item a:hover {
    color: var(--gold);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    margin-left: 10px;
    color: var(--text-muted);
}

.rtl .breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    margin-left: 0;
    margin-right: 10px;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gold-gradient);
    color: #0a0a0a;
    border-color: transparent;
}

/* Search */
.search-box {
    max-width: 400px;
    margin: 0 auto 30px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.rtl .search-box input {
    padding: 12px 45px 12px 20px;
}

.search-box input:focus {
    border-color: var(--gold);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.rtl .search-box i {
    left: auto;
    right: 18px;
}

/* ============================================
   PROJECT DETAIL
   ============================================ */
.project-detail {
    padding-top: 120px;
}

.project-detail .project-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.project-detail .project-meta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.project-detail .meta-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.project-detail .meta-item:last-child {
    border: none;
}

.project-detail .meta-label {
    color: var(--text-muted);
}

.project-detail .meta-value {
    color: var(--white);
    font-weight: 600;
}

.project-detail .project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.project-detail .gallery-img {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.project-detail .gallery-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.project-detail .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-section {
    margin: 50px 0;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.case-study-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--gold);
}

.case-study-section .content {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 15px;
}

/* Related Projects */
.related-projects {
    margin-top: 80px;
}

/* ============================================
   HIRE ME / WORK PROCESS
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.process-step {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.08);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border: none;
}

.contact-info-item .info-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-item .info-text a {
    color: var(--text-secondary);
}

.contact-info-item .info-text a:hover {
    color: var(--gold);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border-gold);
    position: sticky;
    top: 100px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.skill-tag {
    padding: 6px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 6px;
    display: block;
}

.footer-logo .logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 5px;
    display: block;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold-gradient);
    color: #0a0a0a;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
    padding-right: 10px;
}

.rtl .footer-links a:hover,
.rtl .footer-contact a:hover {
    padding-right: 0;
    padding-left: 10px;
}

.footer-contact a i {
    margin-left: 8px;
    color: var(--gold);
    width: 16px;
}

.rtl .footer-contact a i {
    margin-left: 0;
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-pattern {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0 0 10px;
    opacity: 0.1;
    flex-wrap: wrap;
}

.pattern-sq {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    flex-shrink: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rtl .back-to-top {
    left: auto;
    right: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

.rtl .back-to-top {
    left: 30px;
    right: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .rtl .hero-content,
    .ltr .hero-content {
        text-align: center;
    }

    .hero-visual {
        order: 1;
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-photo {
        max-width: 320px;
    }

    .hero-tools {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .project-detail .project-info {
        grid-template-columns: 1fr;
    }

    .project-detail .project-meta {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 20px;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-role {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-decoration {
        display: none;
    }

    .hero-float-el {
        display: none;
    }

    .hero-photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .project-detail .project-gallery {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .page-hero {
        padding: 120px 0 50px;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-main,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-tools span {
        padding: 4px 10px;
        font-size: 10px;
    }

    .service-actions {
        flex-direction: column;
    }
}