/* ============================================
   سعى ADVERTISING AGENCY - PREMIUM STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #0d0d0d;
    --surface: #141414;
    --surface-light: #1f1f1f;
    --olive-green: #3d5a1e;
    --dark-green: #2a3f15;
    --green-bright: #4a6d23;
    --gold: #b8954a;
    --light-gold: #d4af5a;
    --pale-gold: #e8d5a0;
    --text-white: #f5f5f0;
    --text-gray: #a0a0a0;
    --text-muted: #666;
    --bg-glass: rgba(26, 26, 26, 0.65);
    --bg-glass-light: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(184, 149, 74, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --gradient-gold: linear-gradient(135deg, var(--gold), var(--light-gold));
    --gradient-green-gold: linear-gradient(135deg, var(--olive-green), var(--gold));
    --gradient-dark: linear-gradient(180deg, var(--secondary-dark), var(--primary-dark));
    --shadow-gold: 0 0 30px rgba(184, 149, 74, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Noise/Grain Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.025;
    pointer-events: none;
    z-index: 10000;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--secondary-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--dark-green), var(--gold));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Selection */
::selection {
    background: rgba(184, 149, 74, 0.3);
    color: var(--text-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Text Gradient */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.label-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
    background: var(--gradient-gold);
    color: var(--secondary-dark);
}

.btn-primary:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid rgba(184, 149, 74, 0.4);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(184, 149, 74, 0.08);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.15rem 3rem;
    font-size: 1.15rem;
}

.btn svg { flex-shrink: 0; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(184, 149, 74, 0.2); }
    50% { box-shadow: 0 0 40px rgba(184, 149, 74, 0.5); }
}

@keyframes slideDown {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes loaderFill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: float 2s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    animation: loaderFill 1.5s ease forwards;
}

.loader-text {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
    display: none;
}

@media (pointer: fine) {
    .cursor-dot {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 8px; height: 8px;
        background: var(--gold);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transition: width 0.2s, height 0.2s, background 0.2s;
        transform: translate(-50%, -50%);
    }

    .cursor-ring {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 35px; height: 35px;
        border: 1.5px solid rgba(184, 149, 74, 0.4);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99997;
        transition: width 0.3s, height 0.3s, border-color 0.3s;
        transform: translate(-50%, -50%);
    }

    .cursor-dot.hover {
        width: 14px; height: 14px;
        background: rgba(184, 149, 74, 0.5);
    }

    .cursor-ring.hover {
        width: 50px; height: 50px;
        border-color: rgba(184, 149, 74, 0.6);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: all var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.nav-logo { display: flex; align-items: center; }

.nav-logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo-img { height: 40px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-gray);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--secondary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-cta:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--secondary-dark);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(30%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 0.7) 0%,
        rgba(13, 13, 13, 0.5) 40%,
        rgba(13, 13, 13, 0.85) 100%
    );
}

.particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(61, 90, 30, 0.15);
    border: 1px solid rgba(61, 90, 30, 0.3);
    border-radius: var(--radius-full);
    color: var(--green-bright);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--green-bright);
    border-radius: 50%;
    animation: pulse-glow 2s ease infinite;
    box-shadow: 0 0 10px rgba(74, 109, 35, 0.5);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

.typing-cursor {
    animation: blink 1s step-end infinite;
    color: var(--gold);
    font-weight: 300;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-line {
    width: 2px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: slideDown 1.5s ease infinite;
    transform-origin: top;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 0;
    position: relative;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 1rem 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--gold);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-item.counted .stat-plus {
    opacity: 1;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(184,149,74,0.3), transparent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--secondary-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content .section-label {
    text-align: right;
}

.about-content .section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: right;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-icon {
    width: 36px; height: 36px;
    background: rgba(61, 90, 30, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-bright);
    flex-shrink: 0;
}

.feature-icon svg { width: 18px; height: 18px; }

.about-feature span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 2px solid rgba(184, 149, 74, 0.2);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    animation: float 4s ease-in-out infinite;
}

.float-card-icon { font-size: 2rem; }

.float-card-text strong {
    display: block;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.float-card-text span {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--primary-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(61, 90, 30, 0.05), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(184, 149, 74, 0.03), transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s ease;
    will-change: transform;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.service-card-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.4) saturate(0.8);
}

.service-card:hover .service-card-bg img {
    transform: scale(1.1);
    filter: brightness(0.3) saturate(0.6);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        180deg,
        transparent 20%,
        rgba(13, 13, 13, 0.6) 50%,
        rgba(13, 13, 13, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.service-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.service-icon {
    width: 56px; height: 56px;
    background: rgba(184, 149, 74, 0.12);
    border: 1px solid rgba(184, 149, 74, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--gold);
    transition: all var(--transition-fast);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--secondary-dark);
    border-color: var(--gold);
    transform: rotate(-5deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-white);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition-fast);
}

.service-card:hover .tag {
    border-color: rgba(184, 149, 74, 0.3);
    color: var(--pale-gold);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    background: var(--secondary-dark);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.timeline-line {
    position: absolute;
    top: 0; bottom: 0;
    right: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--dark-green), var(--gold), var(--dark-green));
    transform: translateX(50%);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    direction: ltr;
}

.process-step:nth-child(even) .step-content {
    direction: rtl;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(184, 149, 74, 0.08);
    text-align: center;
    line-height: 1;
}

.step-icon {
    width: 60px; height: 60px;
    background: var(--surface);
    border: 2px solid rgba(184, 149, 74, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 2;
    position: relative;
    transition: var(--transition-fast);
}

.process-step:hover .step-icon {
    background: var(--gold);
    color: var(--secondary-dark);
    box-shadow: var(--shadow-gold);
}

.step-content {
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.process-step:hover .step-content {
    border-color: rgba(184, 149, 74, 0.2);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--primary-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-large {
    grid-column: span 2;
}

.portfolio-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.3) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-category {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--secondary-dark);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    text-align: center;
    box-sizing: border-box;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 4rem;
    color: rgba(184, 149, 74, 0.15);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px; height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-dark);
    font-size: 0.95rem;
}

.author-info {
    text-align: right;
}

.author-info strong {
    display: block;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.carousel-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--secondary-dark);
    border-color: var(--gold);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    text-align: center;
}

.cta-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-green-gold);
    z-index: 0;
}

.cta-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05), transparent 30%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--secondary-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(13, 13, 13, 0.7);
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background: var(--secondary-dark);
    color: var(--gold);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--primary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group-full {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.6rem;
    background: rgba(255,255,255,0.03);
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8954a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center; /* RTL support */
}

.form-group select option {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

/* Fix browser autofill styling for dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--secondary-dark) inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0.3rem;
    font-size: 0.75rem;
    color: var(--gold);
}

.form-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-fast);
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255,255,255,0.05);
    border-bottom-color: transparent;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .form-error { display: block; }
.form-group.error input,
.form-group.error textarea { border-bottom-color: #ff6b6b; }

.btn-submit {
    grid-column: span 2;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.info-card:hover {
    border-color: rgba(184, 149, 74, 0.2);
    transform: translateY(-3px);
}

.info-icon {
    width: 44px; height: 44px;
    background: rgba(184, 149, 74, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-white);
    font-family: var(--font-heading);
}

.info-content p,
.info-content a {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

.info-content a:hover { color: var(--gold); }

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gold);
    color: var(--secondary-dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1.2rem;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact svg { color: var(--gold); flex-shrink: 0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-credit { color: var(--text-muted); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--secondary-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(184, 149, 74, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gold);
    color: var(--secondary-dark);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .process-step:nth-child(even) { direction: rtl; }

    .timeline-line { display: none; }

    .step-number {
        font-size: 3rem;
        order: -1;
    }

    .step-icon {
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-large {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-subtle);
        z-index: 999;
    }

    .nav-links.active { right: 0; }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .nav-cta { display: none; }

    .hamburger { display: flex; }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-subtitle { font-size: 1.2rem; }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn { width: 100%; justify-content: center; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card { min-height: 350px; }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full,
    .btn-submit {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-scroll { display: none; }

    .cta-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .container { width: 95%; padding: 0 0.5rem; }

    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }

    .section-title { font-size: 1.8rem; }

    .stat-item { flex: 0 0 100%; }

    .testimonial-card { padding: 2rem 1.5rem; }
    .testimonial-text { font-size: 1rem; }
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.nav-links.active::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}
