﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent: #c8956c;
    --accent-dark: #a87550;
    --accent-light: #e0b896;
    --cream: #f7f3ef;
    --cream-dark: #ede6dd;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #888888;
    --border: #e5e0db;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: "Cairo", sans-serif;
    --container: 1280px;
    --section-padding: 100px 0;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

    .section-badge svg {
        width: 18px;
        height: 18px;
        stroke: var(--accent);
    }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    max-width: 600px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .btn svg {
        width: 16px;
        height: 16px;
        transition: transform var(--transition-fast);
    }

    .btn:hover svg {
        transform: translateX(4px);
    }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

    .btn-primary:hover {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 149, 108, 0.35);
    }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--text-dark);
        border-color: var(--white);
        transform: translateY(-2px);
    }

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}

    .btn-outline-dark:hover {
        background: var(--text-dark);
        color: var(--white);
        border-color: var(--text-dark);
        transform: translateY(-2px);
    }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

    .header.scrolled {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: 12px 0;
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.header-logo img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
    object-fit: contain;
}

.header.scrolled .header-logo img {
    height: 42px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 6px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    transition: var(--transition-fast);
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .right-sideHeader {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-cta-btn {
    padding: 10px 28px;
    font-size: 0.875rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

    .lang-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .lang-toggle svg {
        width: 16px;
        height: 16px;
        stroke: var(--white);
        flex-shrink: 0;
    }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition-fast);
    }

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

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

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

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

    .hero-bg img,
    .hero-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        will-change: transform;
    }

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.55) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-content {
    color: var(--white);
}

.hero-anim {
    opacity: 0;
    transform: translateY(50px);
}

.hero-anim-form {
    opacity: 0;
    transform: translateX(60px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 149, 108, 0.15);
    border: 1px solid rgba(200, 149, 108, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 28px;
}

    .hero-badge svg {
        width: 16px;
        height: 16px;
    }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

    .hero-title span {
        color: var(--accent-light);
    }

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

    .hero-form-card h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
        color: var(--text-dark);
    }

    .hero-form-card .form-subtitle {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 24px;
    }

.form-group {
    margin-bottom: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition-fast);
    outline: none;
}

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--accent);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.15);
    }

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

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .form-submit-btn:hover {
        background: var(--accent-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 149, 108, 0.35);
    }

    .form-submit-btn svg {
        width: 16px;
        height: 16px;
    }

.form-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
}

    .form-trust svg {
        width: 16px;
        height: 16px;
        fill: #f5a623;
    }

.stats-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

    .stats-bar .container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        text-align: center;
    }

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 500;
}

.about {
    padding: var(--section-padding);
    background: var(--white);
}

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }

.about-content {
    padding-top: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-counter {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: var(--cream);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

    .about-counter .counter-number {
        font-family: var(--font-heading);
        font-size: 3rem;
        font-weight: 700;
        color: var(--accent);
        line-height: 1;
    }

    .about-counter .counter-label {
        font-size: 0.95rem;
        color: var(--text-medium);
        font-weight: 500;
    }

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: var(--transition);
}

    .about-feature:hover {
        background: var(--white);
        box-shadow: var(--shadow);
        transform: translateY(-3px);
    }

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .about-feature-icon svg {
        width: 24px;
        height: 24px;
        stroke: var(--white);
    }

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .about-img-main img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

.about-video-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200, 149, 108, 0.4);
    border: none;
}

    .about-video-btn::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--accent);
        animation: pulse-ring 2s ease-out infinite;
        z-index: -1;
    }

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.about-video-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
    margin-left: 3px;
}

.about-video-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(200, 149, 108, 0.5);
}

.services {
    padding: var(--section-padding);
    background: var(--cream);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    min-height: 320px;
}

    .service-card:nth-child(1) {
        grid-row: span 2;
        min-height: 660px;
    }

    .service-card:nth-child(4) {
        grid-row: span 2;
        min-height: 660px;
    }

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .service-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
    z-index: 2;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.service-card:hover p {
    max-height: 100px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.service-card:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

.cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .cta-banner-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none !important;
    }

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
}

.cta-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.projects {
    padding: var(--section-padding);
    background: var(--white);
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

    .projects-header .section-title,
    .projects-header .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--text-dark);
        color: var(--white);
        border-color: var(--text-dark);
    }

.projects-grid.chroma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.project-card.chroma-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: box-shadow 0.4s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

    .project-card.chroma-item::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200, 149, 108, 0.25) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 3;
        pointer-events: none;
    }

    .project-card.chroma-item:hover::before {
        opacity: 1;
    }

    .project-card.chroma-item:hover {
        box-shadow: 0 20px 50px rgba(200, 149, 108, 0.25);
    }

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform var(--transition);
}

.project-card:hover .project-card-overlay h4 {
    transform: translateY(0);
}

.project-card-overlay span {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 500;
    transform: translateY(10px);
    transition: transform var(--transition) 0.05s;
}

.project-card:hover .project-card-overlay span {
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .lightbox.active {
        opacity: 1;
        visibility: visible;
    }

    .lightbox img {
        max-width: 85%;
        max-height: 85vh;
        border-radius: var(--radius);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        transform: scale(0.9);
        transition: transform var(--transition);
    }

    .lightbox.active img {
        transform: scale(1);
    }

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .lightbox-close svg {
        width: 24px;
        height: 24px;
        stroke: var(--white);
    }

.why-us {
    padding: var(--section-padding);
    background: var(--cream);
}

    .why-us .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

.why-us-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.why-us-stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    .why-us-stat .counter-number {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--accent);
        line-height: 1;
        margin-bottom: 4px;
    }

    .why-us-stat .counter-label {
        font-size: 0.8rem;
        color: var(--text-light);
        font-weight: 500;
    }

.why-us-features {
    display: grid;
    gap: 16px;
}

.why-us-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

    .why-us-feature:hover {
        box-shadow: var(--shadow);
        transform: translateX(6px);
    }

.why-us-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(200, 149, 108, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .why-us-feature-icon svg {
        width: 20px;
        height: 20px;
        stroke: var(--accent);
    }

.why-us-feature h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.why-us-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.why-us-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .why-us-image img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

.testimonials {
    padding: var(--section-padding);
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

    .testimonials .container {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 60px;
        align-items: center;
    }

.testimonials-info h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.testimonials-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

    .testimonials-rating svg {
        width: 20px;
        height: 20px;
        fill: #f5a623;
    }

.rating-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.rating-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.testimonials-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    direction: ltr;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(50% - 12px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

    .testimonial-stars svg {
        width: 16px;
        height: 16px;
        fill: #f5a623;
    }

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(200, 149, 108, 0.3);
}

    .testimonial-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.testimonial-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.testimonial-author-role {
    font-size: 0.8rem;
    color: var(--accent-light);
}

.slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

    .slider-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
        stroke: var(--white);
    }

.cta-contact {
    padding: 80px 0;
    background: var(--accent);
    text-align: center;
}

    .cta-contact h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        color: var(--white);
        margin-bottom: 16px;
    }

    .cta-contact p {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
        max-width: 560px;
        margin: 0 auto 32px;
        line-height: 1.7;
    }

    .cta-contact .btn-outline {
        border-color: var(--white);
        color: var(--white);
    }

        .cta-contact .btn-outline:hover {
            background: var(--white);
            color: var(--accent);
        }

.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
    }

        .footer-social a:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-3px);
        }

    .footer-social svg {
        width: 18px;
        height: 18px;
        fill: rgba(255, 255, 255, 0.7);
    }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
}

    .footer-links a:hover {
        color: var(--accent-light);
        padding-left: 6px;
    }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-credit {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

    .footer-credit a {
        color: var(--accent);
        font-weight: 600;
        transition: var(--transition-fast);
    }

        .footer-credit a:hover {
            color: var(--accent-light);
        }

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .video-modal.active {
        opacity: 1;
        visibility: visible;
    }

.video-modal-content {
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

    .video-modal-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .video-modal-close svg {
        width: 24px;
        height: 24px;
        stroke: var(--white);
    }

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

section {
    overflow-x: hidden;
}
/*****ser details*****/

.page-title-section2 {
    padding: 140px 0 80px;
    position: relative;
}

    .page-title-section2::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.7;
        background: #000;
    }

    .page-title-section2 .col-lg-7 {
        position: relative;
        z-index: 3;
    }

        .page-title-section2 .col-lg-7 .sub-title-page {
            position: relative;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 14px;
            color: #c8956c;
            display: inline-block;
            z-index: 1;
            padding: 0 18px 0 18px;
            margin-bottom: 17px;
            transition: transform .3s ease;
        }

            .page-title-section2 .col-lg-7 .sub-title-page::before {
                content: " ";
                display: block;
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                inset: 0 0 0 0;
                background: #c8956c;
                z-index: -1;
                transition: transform .3s ease;
                transform: scaleX(0);
                transform-origin: bottom right;
            }

    .page-title-section2 .sub-title-page:hover::before {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .page-title-section2 .col-lg-7 .sub-title-page::after {
        width: 6px;
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        inset: 0 0 0 0;
        background: #c8956c;
        z-index: -1;
        transition: transform .3s ease;
    }

    .page-title-section2 .sub-title-page:hover {
        color: #fff;
    }

    .page-title-section2 h1 {
        text-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
        --bs-text-opacity: 1;
        color: #fff;
    }
.about.service-details-section {
    background-color: var(--cream);
}

    .about.service-details-section .about-text {
        margin-bottom: 0;
    }
   
.service-details-section .btn.btn-primary:hover svg {
    transform: translateX(-4px);
}
.projects.projects-details-section {
    background: linear-gradient(180deg, var(--cream), transparent);
    padding: 20px 0 80px;
}
.about-img-main {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

    .about-img-main img {
        width: 100%;
        display: block;
        border-radius: 24px;
        transition: transform .6s ease;
    }

    .about-img-main:hover img {
        transform: scale(1.05);
    }

.service-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(17,17,17,.75);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

    .service-image-badge svg {
        width: 18px;
        height: 18px;
        color: #c89b6d;
        flex-shrink: 0;
    }
.our-process-section {
    padding: 50px 0 100px;
    position:relative;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 70px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px; 
}

.process-card {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    transition: .4s ease;
    border: 1px solid rgba(0, 0, 0, .06);
    overflow: hidden;
}

    .process-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,.08);
    }

.process-number {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 42px;
    font-weight: 700;
    color: rgba(0,0,0,.05);
}

.process-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c8956c24;
    margin-bottom: 20px;
}
    .process-icon img {
        width: 40px;
        height: 40px;
    }
    .process-icon svg {
        color: #c89b6d;
        width: 40px;
        height: 40px;
    }

.process-card h4 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #111;
}

.process-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}
html[dir="rtl"] .process-card{

}
html[dir="rtl"] .process-number {
    right: unset;
    left: 18px;
}
    html [dir="rtl"] .process-card p {
    font-size: 14px;
}
    .service-features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin: 20px 0 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 13px; 
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    transition: .4s ease;
}

    .feature-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 35px rgba(0,0,0,.08);
    }

.feature-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,155,109,.12);
    color: #c89b6d;
}

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

.feature-item span {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
}
.projects.projects-details-section .project-card::before,
.projects.projects-details-section .project-card img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.projects.projects-details-section .project-card-overlay {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(2px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about.service-details-section .about-img-main {
    margin-top: 20px;
}
.about.service-details-section .about-content {
    padding-top: 0;
}
.projects.projects-details-section .project-card.chroma-item {
    width: 100%;
    height: 100%;
}
.projects.projects-details-section .about-video-btn {
    bottom: unset;
    left: unset;
    background: transparent;
    box-shadow: none;
}
@media(max-width:768px) {
    .service-features {
        grid-template-columns: 1fr;
    }
}
@media(max-width:991px) {

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

@media(max-width:768px) {

    .our-process-section {
        padding: 80px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 130px;
        width: 100%;
    }

    .header .nav-link {
        padding: 5px 13px;
    }

    .hero-form-card {
        max-width: 480px;
    }


    .header .header-cta-btn {
        padding: 8px 16px;
    }

    .about .container, .why-us .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-images {
        order: -1;
    }

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

    .service-card:nth-child(1),
    .service-card:nth-child(4) {
        min-height: 400px;
        grid-row: span 1;
    }

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

    .testimonials .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--primary);
        padding: 100px 30px 30px;
        border-radius: 0;
        border: none;
        backdrop-filter: none;
        transition: right var(--transition);
        gap: 4px;
    }

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

    .nav-link {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
        border-radius: 10px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta, .header-cta-btn {
        display: none;
    }

    .hero .container {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            text-align: center;
            justify-content: center;
        }

    .container {
        padding: 0 15px;
    }

    .stats-bar .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

        .stats-bar .container .stat-item .stat-label {
            font-size: 12px;
        }

    .stat-item {
        padding: 10px 8px;
    }

    section {
        overflow-x: hidden;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .service-card,
    .service-card:nth-child(1),
    .service-card:nth-child(4) {
        min-height: 300px;
        grid-row: span 1;
    }

    .projects-grid.chroma-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .why-us-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 6px
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .why-us-stats {
        grid-template-columns: 1fr;
    }
}

html [dir="rtl"] {
    --font-heading: 'Cairo', 'Playfair Display', Georgia, serif;
    --font-body: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
  

    html[dir="rtl"] body {
        text-align: right;
        font-family: var(--font-arabic);
    }
    html[dir="rtl"] .stat-number,
    html[dir="rtl"] .footer-col h4,
    html[dir="rtl"] .why-us-feature h4,
    html[dir="rtl"] .filter-btn,
    html[dir="rtl"] .about-feature h4,
    html[dir="rtl"] .form-submit-btn,
    html[dir="rtl"] .about-counter .counter-number,
    html[dir="rtl"] .why-us-stat .counter-number,
    html[dir="rtl"] .section-badge,
    html[dir="rtl"] .form-group input,
    html[dir="rtl"] .form-group textarea,
    html[dir="rtl"] .filter-btn,
    html[dir="rtl"] .btn,
    html[dir="rtl"] h1,
    html[dir="rtl"] h2,
    html[dir="rtl"] h3,
    html[dir="rtl"] h4,
    html[dir="rtl"] h5,
    html[dir="rtl"] h6 {
        font-family: var(--font-arabic);
    }

 
    /*    html[dir="rtl"] .section-badge {
        flex-direction: row-reverse;
    }*/

    /*html[dir="rtl"] .btn {
  flex-direction: row-reverse;
}*/

    html[dir="rtl"] .btn:hover svg {
        transform: translateX(-4px);
    }

    /*html[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}*/

    html[dir="rtl"] .hero .container {
        direction: rtl;
    }

    html[dir="rtl"] .hero-anim-form {
        direction: rtl;
    }

    html[dir="rtl"] .about-feature {
        /*flex-direction: row-reverse;*/
        text-align: right;
    }

    html[dir="rtl"] .about-features {
        direction: rtl;
    }

    html[dir="rtl"] .service-card-link {
        flex-direction: row-reverse;
    }

    /*    html[dir="rtl"] .why-us-feature {
        flex-direction: row-reverse;
        text-align: right;
    }*/

    html[dir="rtl"] .why-us-features {
        direction: rtl;
    }

    html[dir="rtl"] .testimonial-author {
        flex-direction: row-reverse;
        text-align: right;
    }

    html[dir="rtl"] .footer-contact li {
        flex-direction: row-reverse;
        text-align: right;
    }

    /*  html[dir="rtl"] .footer-social {
        justify-content: flex-end;
    }*/

    html[dir="rtl"] .footer-brand {
        text-align: right;
    }

    /*html[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}*/

    html[dir="rtl"] .header-actions {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .services-header {
        text-align: right;
    }

    /*    html[dir="rtl"] .projects-header {
        text-align: right;
    }*/

    html[dir="rtl"] .slider-controls {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    html[dir="rtl"] .footer-links {
        text-align: right;
    }

    html[dir="rtl"] .footer-contact {
        direction: ltr;
    }

    html[dir="rtl"] .footer-col h4 {
        text-align: right;
    }

    /*    html[dir="rtl"] .form-submit-btn {
        flex-direction: row-reverse;
    }*/

    /*html[dir="rtl"] .form-trust {
  flex-direction: row-reverse;
}*/

    html[dir="rtl"] .btn svg {
        transform: scaleX(-1) translateX(0px);
    }

    html[dir="rtl"] .btn:hover svg {
        transform: scaleX(-1) translateX(4px);
    }

    html[dir="rtl"] .about-counter {
        border-left: unset;
        border-right: 4px solid var(--accent);
    }

@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
        flex-direction: column;
    }

        html[dir="rtl"] .nav-menu.active {
            left: 0;
            right: auto;
        }

    html[dir="rtl"] .hero-buttons {
        flex-direction: column;
    }
    .projects.projects-details-section { 
        padding: 0 0 50px;
    }
    .stat-number {
        font-size: 25px;
    }
    }
