/* Golden East Theme */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #051024;
    /* Pure Black Background */
    --secondary-color: #0B1B3D;
    /* Very Dark Grey for cards */
    --accent-color: #D4AF37;
    /* Magenta/Pink from logo */
    --accent-gradient: linear-gradient(135deg, #FFDF73 0%, #D4AF37 100%);
    /* Pink to Purple */
    --text-color: #f1f5f9;
    /* Near White text */
    --heading-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.8);

    --font-heading: 'Outfit', sans-serif;
    /* Modern, tech-focused sans */
    --font-body: 'DM Sans', sans-serif;

    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    color: #94a3b8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    position: relative;
    background: transparent;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-image: linear-gradient(var(--primary-color), var(--primary-color)), var(--accent-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
    background-image: var(--accent-gradient), var(--accent-gradient);
    color: #fff;
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.text-accent {
    color: var(--accent-color);
}

/* Header */
header {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.lang-toggle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-color);
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

/* dot-grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* animated gold-glow orbs */
.hero-bg-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-glow::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 65%);
    animation: orbDrift 14s ease-in-out infinite;
}

.hero-bg-glow::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 65%);
    animation: orbDrift 18s ease-in-out infinite reverse;
}

@keyframes orbDrift {
    0%,  100% { transform: translate(0, 0)        scale(1);    }
    33%        { transform: translate(40px, -40px) scale(1.06); }
    66%        { transform: translate(-25px, 25px) scale(0.95); }
}

/* optional admin-set image / video media layer */
.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.12;
}

.hero-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.18;
}

/* hero content wrapper */
.hero-body {
    position: relative;
    z-index: 2;
    padding-top: 12rem;
    padding-bottom: 8rem;
}

/* eyebrow label */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 1px;
    background: var(--accent-color);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.02;
    max-width: 840px;
    margin-bottom: 2rem;
}

/* typewriter */
.hero h1.typewriter {
    visibility: hidden;
}

.hero h1.typewriter::after {
    content: '|';
    color: var(--accent-color);
    font-weight: 300;
    animation: cursorBlink 0.7s step-end infinite;
}

.hero h1.typewriter.done::after {
    display: none;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.hero-sub {
    font-size: 1.15rem;
    max-width: 520px;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ghost / outline button variant */
.btn-ghost {
    background-image: none !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    color: #cbd5e1 !important;
}

.btn-ghost:hover {
    border-color: rgba(212, 175, 55, 0.5) !important;
    color: var(--accent-color) !important;
    background: rgba(212, 175, 55, 0.04) !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

/* animated scroll line */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-scroll span {
    display: block;
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollFade 2.4s ease-in-out infinite;
}

@keyframes scrollFade {
    0%   { opacity: 0; transform: scaleY(0);   transform-origin: top center;    }
    40%  { opacity: 1; transform: scaleY(1);   transform-origin: top center;    }
    60%  { opacity: 1; transform: scaleY(1);   transform-origin: bottom center; }
    100% { opacity: 0; transform: scaleY(0);   transform-origin: bottom center; }
}

/* Work Grid */
.work-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.work-grid>a {
    flex: 1 1 320px;
    max-width: 450px;
    display: block;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-color);
    aspect-ratio: 16/9;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    opacity: 0.9;
}

.work-item:hover img {
    transform: scale(1.08);
    opacity: 0.4;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(2px);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* ── Services Section ── */
.services-section {
    padding: 7rem 1rem;
    position: relative;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent-color);
    opacity: 0.5;
}

.section-desc {
    max-width: 580px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    padding: 2.5rem 2rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

/* gold accent line at top */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 0 0 2px 2px;
    transition: width 0.4s ease;
}

.service-item:hover::before {
    width: 60px;
}

.service-item:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

.service-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.35);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.service-icon {
    margin-bottom: 1.25rem;
    display: flex;
}

.service-icon img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.service-item p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #03050a;
    padding: var(--spacing-xl) 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    max-width: 300px;
    margin-bottom: 0;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-body {
        padding-top: 8rem;
        padding-bottom: 6rem;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    /* Stats mobile */
    .stats-strip {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
    }

    /* Services mobile */
    .service-list {
        grid-template-columns: 1fr;
    }

    /* About CTA mobile */
    .about-cta {
        padding: 5rem 1rem;
    }

    .about-cta-inner {
        text-align: center;
    }

    .about-text {
        margin-left: auto;
        margin-right: auto;
    }

    /* Contact mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2col {
        flex-direction: column;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 1.5rem;
    }

    footer {
        padding: var(--spacing-md) 0 2rem 0;
    }

}

/* ── Stats Strip ── */
.stats-strip-wrap {
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #64748b;
}

.stat-divider {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
    flex-shrink: 0;
}

/* Mobile Overlay Menu */
/* ── Mobile Overlay ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 16, 36, 0.97);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.3s ease, background 0.3s ease;
}

.overlay-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.overlay-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.overlay-nav a:hover {
    color: var(--accent-color);
}

.overlay-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggle-mobile {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    padding: 8px 28px;
    border-radius: 50px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle-mobile:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--accent-color);
}

.rtl-mode .overlay-close {
    right: auto;
    left: 1.5rem;
}

/* Light mode overlay */
.light-mode .mobile-overlay {
    background: rgba(255, 255, 255, 0.97);
}

.light-mode .overlay-close {
    color: #64748b;
}

.light-mode .overlay-close:hover {
    color: var(--heading-color);
    background: rgba(0, 0, 0, 0.04);
}

.light-mode .overlay-nav a {
    color: var(--heading-color);
}

.light-mode .overlay-nav a:hover {
    color: var(--accent-color);
}

/* ── About / CTA Section ── */
.about-cta {
    padding: 8rem 1rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.about-heading {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #94a3b8;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* ── Trust Signals Strip ── */
.trust-strip {
    padding: 5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.trust-item {
    padding: 2rem 1.5rem;
}

.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-color);
}

.trust-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.trust-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
}

.light-mode .trust-strip {
    border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .trust-icon {
    background: rgba(212, 175, 55, 0.06);
}

/* ── Contact Section ── */
.contact-section {
    padding: 7rem 1rem;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-card-value:hover {
    color: var(--accent-color);
}

.contact-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row-2col {
    display: flex;
    gap: 1rem;
}

.form-row-2col .contact-input {
    flex: 1;
    min-width: 0;
}

.contact-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.contact-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

/* ========================================= */
/* Light Mode Variables & Overrides */
/* ========================================= */
.light-mode {
    --primary-color: #ffffff;
    --secondary-color: #f8fafc;
    --text-color: #334155;
    --heading-color: #0f172a;
    --bg-overlay: rgba(255, 255, 255, 0.9);
}

.light-mode p {
    color: #475569;
}

.light-mode .btn {
    color: var(--heading-color);
}

.light-mode .btn:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-mode .nav-links a,
.light-mode .theme-toggle {
    color: #475569 !important;
}

.light-mode .nav-links a:hover,
.light-mode .theme-toggle:hover {
    color: var(--accent-color) !important;
}

.light-mode .logo {
    color: var(--heading-color);
}

.light-mode .mobile-menu-toggle i {
    color: var(--heading-color);
}

.light-mode .lang-toggle {
    color: var(--accent-color) !important;
}

.light-mode footer {
    background: #f1f5f9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.light-mode .footer-links a,
.light-mode .footer-contact a {
    color: #475569;
}

.light-mode .footer-links a:hover {
    color: var(--accent-color);
}

.light-mode .footer-contact li {
    color: #475569;
}

.light-mode .footer-contact a:hover {
    color: var(--accent-color);
}

.light-mode .footer-desc {
    color: #64748b;
}

.light-mode .footer-bottom p,
.light-mode .footer-bottom-links a {
    color: #64748b;
}

.light-mode .footer-bottom-links a:hover {
    color: var(--accent-color);
}

.light-mode .btn-ghost {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: var(--heading-color) !important;
}

.light-mode .btn-ghost:hover {
    border-color: rgba(212, 175, 55, 0.5) !important;
    color: var(--accent-color) !important;
}

/* New component light-mode overrides */
.light-mode .stats-strip-wrap {
    border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .stat-label {
    color: #64748b;
}

.light-mode .stat-divider {
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.25), transparent);
}

.light-mode .service-item,
.light-mode .work-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.light-mode .service-item:hover,
.light-mode .work-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.light-mode .service-item h3 {
    color: var(--heading-color);
}

.light-mode .service-num {
    color: rgba(212, 175, 55, 0.5);
}

.light-mode .services-section {
    background-color: var(--secondary-color);
}

.light-mode .about-cta::before {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}

.light-mode .contact-section {
    background-color: var(--secondary-color);
}

.light-mode .contact-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .contact-form {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .contact-input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

.light-mode .contact-input:focus {
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.light-mode .contact-input::placeholder {
    color: #94a3b8;
}

.light-mode .marquee-container::before {
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.light-mode .marquee-container::after {
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.light-mode .preloader {
    background: #ffffff;
}

.light-mode .marquee-container {
    background: #f8fafc;
}

/* ========================================= */
/* UI Enhancements: Preloader & WhatsApp & Partners & RTL */
/* ========================================= */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -1px;
}

.loader-logo span {
    color: var(--accent-color);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--accent-gradient);
    animation: loading 1.5s infinite ease-in-out;
}

@keyframes loading {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@media (min-width: 769px) {
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
}

/* Partners Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

/* edge-fade masks */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 0;
    animation: scroll-marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo {
    font-size: 3rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.partner-logo:hover {
    color: var(--text-color);
}

@keyframes scroll-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* RTL: scroll opposite direction */
.rtl-mode .marquee-content {
    animation-name: scroll-marquee-rtl;
}

@keyframes scroll-marquee-rtl {
    0%   { transform: translateX(0); }
    100% { transform: translateX(33.333%); }
}

/* RTL Overrides for Arabic */
/* ========================================= */
/* RTL Overrides for Arabic                  */
/* ========================================= */
.rtl-mode {
    direction: rtl;
    text-align: right;
}

/* Hero */
.rtl-mode .hero h1 {
    letter-spacing: 0;
}

.rtl-mode .hero-body {
    text-align: right;
}

/* Stats */
.rtl-mode .stat-label {
    letter-spacing: 0.5px;
}

/* Section eyebrows — flip line positions */
.rtl-mode .section-eyebrow {
    flex-direction: row-reverse;
}

/* Services — gold accent line on right in RTL */
.rtl-mode .service-item::before {
    left: auto;
    right: 2rem;
}

.rtl-mode .service-num {
    text-align: right;
}

/* About CTA */
.rtl-mode .about-cta-inner {
    text-align: right;
}

.rtl-mode .about-heading {
    letter-spacing: 0;
}

/* Contact cards — values stay LTR for phone/email */
.rtl-mode .contact-card-value {
    direction: ltr;
    text-align: right;
}

/* Footer */
.rtl-mode .footer-links h3::after,
.rtl-mode .footer-contact h3::after {
    left: auto;
    right: 0;
}

.rtl-mode .footer-links a:hover {
    padding-left: 0;
    padding-right: 8px;
}

.rtl-mode .footer-bottom {
    flex-direction: row-reverse;
}

/* WhatsApp float */
.rtl-mode .whatsapp-float {
    left: 16px;
    right: auto;
}

@media (min-width: 769px) {
    .rtl-mode .whatsapp-float {
        left: 30px;
    }
}

/* Arrows flip */
.rtl-mode .btn i,
.rtl-mode .i18n-arrow {
    transform: scaleX(-1);
}

/* ========================================= */
/* 1. ACCESSIBILITY FIXES                    */
/* ========================================= */

/* Focus states — visible ring on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Touch targets — ensure minimum 44px */
.btn {
    min-height: 44px;
    min-width: 44px;
}

.nav-links a {
    padding: 10px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.lang-toggle,
.theme-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float {
    min-width: 60px;
    min-height: 60px;
}

.footer-links a {
    padding: 6px 0;
    display: inline-block;
    min-height: 44px;
    line-height: 32px;
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero h1.typewriter {
        visibility: visible !important;
    }

    .hero h1.typewriter::after {
        display: none;
    }

    .marquee-content {
        animation: none !important;
    }

    .hero-bg-glow::before,
    .hero-bg-glow::after {
        animation: none !important;
    }

    .hero-scroll span {
        animation: none !important;
        opacity: 0.5;
    }
}

/* Skip to content link for keyboard users */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ========================================= */
/* 2. CONTACT FORM UX                        */
/* ========================================= */

/* Success/error message banners */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-message-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: #10b981;
}

.form-message-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #ef4444;
}

.light-mode .form-message-success {
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
}

.light-mode .form-message-error {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

/* Input validation states */
.contact-input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(239, 68, 68, 0.4);
}

.contact-input:valid:not(:placeholder-shown) {
    border-color: rgba(5, 150, 105, 0.3);
}

/* Submit button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* Helper text below inputs */
.form-helper {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

/* ========================================= */
/* 3. VISUAL POLISH                          */
/* ========================================= */

/* Consistent hover transitions for all cards */
.service-item,
.work-item,
.contact-card,
.stat {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Skeleton loading placeholder */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.light-mode .skeleton {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.04) 25%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.04) 75%
    );
    background-size: 200% 100%;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Cursor pointer on all clickable elements */
.btn,
.lang-toggle,
.theme-toggle,
.mobile-menu-toggle,
.overlay-close,
.overlay-nav a,
.nav-links a,
.footer-links a,
.contact-card,
.work-item {
    cursor: pointer;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Selection highlight */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

.light-mode ::selection {
    background: rgba(212, 175, 55, 0.25);
    color: #0f172a;
}