        :root {
            --primary: #008f4a;
            /* أخضر من هوية الشعار */
            --primary-soft: #e2f4ea;
            --accent: #c89b3c;
            /* ذهبي */
            --dark: #222;
            --muted: #777;
            --bg: #f5f5f7;
            --white: #ffffff;
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
            --radius-lg: 18px;
            --radius-xl: 26px;
            --transition-fast: 0.25s ease;
        }

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

        body {
            font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: var(--bg);
            color: var(--dark);
            line-height: 1.7;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

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

        /* ========== Header ========== */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(10px);
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
            transition: box-shadow var(--transition-fast);
        }

        header.scrolled {
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
        }

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

        .brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .brand-logo {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            border: 2px solid var(--primary-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #ffffff, #f1f5f3);
            box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
        }

        .brand-logo span {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }

        .brand-text .title-ar {
            font-weight: 800;
            font-size: 1rem;
        }

        .brand-text .title-en {
            font-size: 0.7rem;
            color: var(--muted);
            text-transform: uppercase;
        }

        nav ul {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            list-style: none;
            font-size: 0.95rem;
        }

        nav a {
            position: relative;
            font-weight: 500;
            color: var(--dark);
        }

        nav a::after {
            content: "";
            position: absolute;
            bottom: -0.3rem;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(120deg, var(--primary), var(--accent));
            border-radius: 999px;
            transition: width var(--transition-fast);
        }

        nav a:hover::after {
            width: 100%;
        }

        .nav-cta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .nav-cta i {
            color: var(--primary);
        }

        .menu-toggle {
            display: none;
            font-size: 1.4rem;
            cursor: pointer;
        }

        /* ========== Hero Section ========== */
        .hero {
            position: relative;
            overflow: hidden;
            background: radial-gradient(circle at top left, #f1f9f4 0, #fdfdfd 40%, #f0f2f5 100%);
        }

        .hero::before,
        .hero::after {
            content: "";
            position: absolute;
            inset: auto auto -120px 55%;
            width: 480px;
            height: 480px;
            border-radius: 45% 55% 70% 30%;
            background: radial-gradient(circle at top, rgba(0, 143, 74, 0.17), transparent 60%);
            transform: translateX(20%);
            pointer-events: none;
        }

        .hero::after {
            inset: auto auto -190px auto;
            right: -140px;
            left: auto;
            width: 540px;
            height: 540px;
            border-radius: 55% 45% 40% 60%;
            background: radial-gradient(circle at top, rgba(200, 155, 60, 0.14), transparent 65%);
        }

        .hero-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 3.5rem 1rem 3rem;
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
            gap: 2.5rem;
            align-items: center;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.9rem;
            border-radius: 999px;
            background: rgba(0, 143, 74, 0.06);
            color: var(--primary);
            font-size: 0.8rem;
            margin-bottom: 0.8rem;
        }

        .hero-badge span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
        }

        .hero h1 {
            font-size: 2.1rem;
            line-height: 1.4;
            margin-bottom: 0.8rem;
        }

        .hero h1 span {
            color: var(--primary);
        }

        .hero-subtitle {
            font-size: 0.98rem;
            color: var(--muted);
            max-width: 540px;
            margin-bottom: 1.4rem;
        }

        .hero-highlights {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.6rem;
        }

        .hero-tag {
            padding: 0.25rem 0.7rem;
            border-radius: 999px;
            border: 1px solid #e1e6ea;
            background: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .hero-tag i {
            font-size: 0.85rem;
            color: var(--primary);
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.7rem 1.3rem;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 600;
            transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), #00a55a);
            color: white;
            box-shadow: 0 12px 25px rgba(0, 143, 74, 0.25);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 30px rgba(0, 143, 74, 0.32);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.9);
            color: var(--primary);
            border: 1px solid rgba(0, 143, 74, 0.18);
        }

        .btn-outline:hover {
            background: var(--primary-soft);
            transform: translateY(-2px);
        }

        .hero-note {
            font-size: 0.8rem;
            color: var(--muted);
            margin-top: 0.8rem;
        }

        .hero-note i {
            color: var(--accent);
            margin-left: 0.2rem;
        }

        .hero-visual {
            position: relative;
            min-height: 260px;
        }

        .hero-card {
            position: relative;
            background: #ffffff;
            border-radius: var(--radius-xl);
            padding: 1.3rem 1.2rem;
            box-shadow: var(--shadow-soft);
            max-width: 340px;
            margin-inline-start: auto;
            border-top: 4px solid var(--primary);
        }

        .hero-card-title {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 0.35rem;
        }

        .hero-card-sub {
            font-size: 0.8rem;
            color: var(--muted);
            margin-bottom: 0.9rem;
        }

        .hero-card-items {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.6rem;
            margin-bottom: 1rem;
        }

        .mini-stat {
            padding: 0.6rem 0.55rem;
            border-radius: 14px;
            background: var(--bg);
            font-size: 0.78rem;
        }

        .mini-stat span {
            display: block;
        }

        .mini-stat .label {
            color: var(--muted);
        }

        .mini-stat .value {
            font-weight: 700;
            color: var(--primary);
            font-size: 0.9rem;
        }

        .hero-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem 0.7rem;
            border-radius: 999px;
            background: rgba(200, 155, 60, 0.06);
            color: var(--accent);
            font-size: 0.78rem;
        }

        .hero-shape {
            position: absolute;
            inset: auto 10% -25px auto;
            width: 140px;
            height: 140px;
            border-radius: 40px;
            background: linear-gradient(145deg, #ffffff, #f5efe1);
            border: 1px solid rgba(0, 0, 0, 0.03);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
        }

        .hero-shape-content {
            text-align: center;
            font-size: 0.78rem;
        }

        .hero-shape-content strong {
            display: block;
            font-size: 1.2rem;
            color: var(--accent);
        }

        /* ========== Sections Layout ========== */
        main {
            padding: 2.5rem 0 3rem;
        }

        .section {
            padding: 2.5rem 1rem 0;
        }

        .section-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-header {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            margin-bottom: 1.6rem;
        }

        .section-kicker {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 600;
        }

        .section-title {
            font-size: 1.4rem;
            font-weight: 700;
        }

        .section-subtitle {
            font-size: 0.9rem;
            color: var(--muted);
            max-width: 520px;
        }

        /* ========== About ========== */
        .about-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 2.2rem;
            align-items: flex-start;
        }

        .about-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 1.4rem 1.3rem;
            box-shadow: var(--shadow-soft);
            border-inline-start: 4px solid var(--primary);
        }

        .about-card h3 {
            font-size: 1.05rem;
            margin-bottom: 0.6rem;
        }

        .about-card p {
            font-size: 0.9rem;
            color: var(--muted);
        }

        .about-list {
            list-style: none;
            margin-top: 0.9rem;
            display: grid;
            gap: 0.5rem;
            font-size: 0.87rem;
        }

        .about-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.4rem;
        }

        .about-list i {
            margin-top: 0.2rem;
            font-size: 0.85rem;
            color: var(--primary);
        }

        .about-highlight {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem;
        }

        .about-stat {
            background: #ffffff;
            border-radius: 16px;
            padding: 0.9rem 0.95rem;
            box-shadow: var(--shadow-soft);
            font-size: 0.85rem;
        }

        .about-stat span {
            display: block;
        }

        .about-stat .label {
            color: var(--muted);
        }

        .about-stat .value {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--primary);
        }

        /* ========== Services ========== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.2rem;
        }

        .service-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 1.2rem 1rem;
            box-shadow: var(--shadow-soft);
            border-top: 3px solid transparent;
            transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
            border-top-color: var(--primary);
        }

        .service-icon {
            width: 40px;
            height: 40px;
            border-radius: 14px;
            background: var(--primary-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.7rem;
        }

        .service-icon i {
            color: var(--primary);
            font-size: 1.1rem;
        }

        .service-card h3 {
            font-size: 0.98rem;
            margin-bottom: 0.4rem;
        }

        .service-card p {
            font-size: 0.86rem;
            color: var(--muted);
        }

        /* ========== Why Us ========== */
        .why-grid {
            display: grid;
            grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
            gap: 2rem;
            align-items: center;
        }

        .why-tag-list {
            display: grid;
            gap: 0.6rem;
        }

        .why-tag {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            background: #ffffff;
            padding: 0.65rem 0.85rem;
            border-radius: 999px;
            box-shadow: var(--shadow-soft);
            font-size: 0.86rem;
        }

        .why-tag i {
            width: 26px;
            height: 26px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 0.9rem;
        }

        .why-note {
            font-size: 0.86rem;
            color: var(--muted);
            margin-top: 1rem;
        }

        .why-panel {
            background: linear-gradient(135deg, #ffffff, #f6f0e3);
            border-radius: var(--radius-xl);
            padding: 1.4rem 1.3rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0, 0, 0, 0.03);
        }

        .why-panel-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem;
            margin-top: 1rem;
            font-size: 0.86rem;
        }

        .why-chip {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 14px;
            padding: 0.6rem 0.7rem;
        }

        .why-chip strong {
            display: block;
            font-size: 0.9rem;
        }

        /* ========== Contact ========== */
        .contact-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 2rem;
            align-items: flex-start;
        }

        .contact-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 1.4rem 1.3rem;
        }

        .contact-info-list {
            list-style: none;
            display: grid;
            gap: 0.6rem;
            font-size: 0.9rem;
        }

        .contact-info-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.55rem;
        }

        .contact-info-list i {
            margin-top: 0.2rem;
            font-size: 1rem;
            color: var(--primary);
        }

        .contact-label {
            color: var(--muted);
            font-size: 0.8rem;
        }

        .contact-value {
            font-weight: 600;
        }

        .contact-form {
            background: #ffffff;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 1.4rem 1.3rem;
        }

        .contact-form form {
            display: grid;
            gap: 0.8rem;
            font-size: 0.86rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.75rem;
        }

        label {
            display: block;
            margin-bottom: 0.2rem;
            font-size: 0.82rem;
        }

        input,
        textarea {
            width: 100%;
            border-radius: 12px;
            border: 1px solid #dde1e6;
            padding: 0.55rem 0.7rem;
            font-family: inherit;
            font-size: 0.86rem;
            outline: none;
            background: #fbfbfc;
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
        }

        input:focus,
        textarea:focus {
            border-color: var(--primary);
            background: #ffffff;
            box-shadow: 0 0 0 1px rgba(0, 143, 74, 0.08);
        }

        textarea {
            resize: vertical;
            min-height: 110px;
        }

        /* ========== Footer ========== */
        footer {
            margin-top: 3rem;
            background: #111;
            color: #f2f2f2;
            padding: 1.2rem 1rem;
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.75rem;
            justify-content: space-between;
            font-size: 0.8rem;
        }

        .footer-inner a {
            color: #dcdcdc;
        }

        .footer-brand {
            font-weight: 600;
        }

        .footer-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem 1.2rem;
            align-items: center;
        }

        .footer-meta span {
            display: inline-flex;
            gap: 0.35rem;
            align-items: center;
        }

        .footer-meta i {
            font-size: 0.85rem;
            color: var(--accent);
        }

        /* ========== Responsive ========== */
        @media (max-width: 900px) {
            .hero-inner {
                grid-template-columns: minmax(0, 1fr);
            }

            .hero-card {
                margin-inline-start: 0;
            }

            .hero-shape {
                display: none;
            }

            .about-grid,
            .services-grid,
            .why-grid,
            .contact-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            .services-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            nav ul {
                position: absolute;
                top: 100%;
                right: 0;
                left: 0;
                background: rgba(255, 255, 255, 0.98);
                padding: 0.75rem 1rem 1rem;
                flex-direction: column;
                gap: 0.75rem;
                box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
                transform-origin: top;
                transform: scaleY(0);
                opacity: 0;
                pointer-events: none;
                transition: transform var(--transition-fast), opacity var(--transition-fast);
            }

            nav ul.open {
                transform: scaleY(1);
                opacity: 1;
                pointer-events: auto;
            }

            .menu-toggle {
                display: block;
            }

            .nav-cta {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .hero-inner {
                padding-top: 2.3rem;
            }

            .hero h1 {
                font-size: 1.65rem;
            }

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

            .about-highlight,
            .why-panel-row,
            .form-row {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        /* Animation for the logo */
        @keyframes logoFadeIn {
            0% {
                opacity: 0;
                transform: scale(0.7) translateY(20px);
            }

            50% {
                opacity: 0.6;
                transform: scale(1.05) translateY(0);
            }

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

        .logo-animated {
            animation: logoFadeIn 1.2s ease-out forwards;
        }

        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
            /* تقدر تغيره لألوان موقعك */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 999999;
        }

        .loader-logo {
            width: 180px;
            /* غيّر الحجم حسب ما يناسب */
            height: 180px;
            animation: pulse 1.5s infinite ease-in-out;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 0.7;
            }

            50% {
                transform: scale(1.15);
                opacity: 1;
            }

            100% {
                transform: scale(1);
                opacity: 0.7;
            }
        }

        .section-header h2 {
            position: relative;
            display: inline-block;
            padding-bottom: 6px;
        }

        .section-header h2::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 45%;
            height: 3px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }

        .hero-tag {
            border: 1px solid rgba(0, 143, 74, 0.12);
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(6px);
        }

        .nav-cta {
            animation: ctaBounce 1.8s ease-in-out infinite;
        }

        @keyframes ctaBounce {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-3px);
            }

            100% {
                transform: translateY(0);
            }
        }

        .logo-animated {
            animation: logoFadeIn 1.2s ease-out forwards, logoGlow 3s ease-in-out infinite;
        }

        @keyframes logoGlow {
            0% {
                filter: drop-shadow(0 0 0px #00a55a);
            }

            50% {
                filter: drop-shadow(0 0 12px #00a55a6a);
            }

            100% {
                filter: drop-shadow(0 0 0px #00a55a);
            }
        }

        .service-card:hover {
            position: relative;
        }

        .service-card:hover::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
            opacity: 0;
            animation: cardShine 0.6s forwards;
        }

        @keyframes cardShine {
            0% {
                opacity: 0;
            }

            100% {
                opacity: 1;
            }
        }

        .hero {
            background-size: 400% 400%;
            animation: heroMove 14s ease infinite;
        }

        @keyframes heroMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .fade-section {
            opacity: 0;
            transform: translateY(25px);
            transition: 0.8s ease;
        }

        .fade-section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* كرات ضوئية متحركة */
.orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0; /* خلف المحتوى */
    animation: floatOrb 12s infinite ease-in-out;
    pointer-events: none;
}

.orb-green {
    background: rgba(0, 143, 74, 0.7);
    top: -40px;
    right: 10%;
    animation-delay: -2s;
}

.orb-gold {
    background: rgba(200, 155, 60, 0.65);
    bottom: -40px;
    left: 15%;
    animation-delay: -6s;
}

@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-30px, 40px) scale(1.15); }
    100% { transform: translate(0, 0) scale(1); }
}

/* تأكد أن hero لديه position: relative */
.hero {
    position: relative;
    overflow: hidden;
}
.works-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000077;
    color: #fff;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 4px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: #000000aa;
}
.mySwiper {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 30px 0;
}

.work-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px #0001;
}

.work-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.work-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.work-card p {
    font-size: 0.95rem;
    color: #444;
}

.meta {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
}
