/* ============================
      THEME ROOT VARIABLES
============================ */

:root {
    --transition: 0.25s ease;
}

/* DARK THEME */
:root.dark {
    --navy: #071521;
    --navy-soft: #102233;
    --orange: #f57b1f;
    --orange-soft: rgba(245,123,31,0.16);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --card-bg: #0f1724;
    --card-border: #1f2937;
    --light-bg: #f4f5f7;

    --body-bg: var(--navy);
    --header-bg: rgba(7,21,33,0.96);
}

/* LIGHT THEME */
:root.light {
    --navy: #ffffff;
    --navy-soft: #f1f5f9;

    --orange: #f57b1f;
    --orange-soft: rgba(245,123,31,0.10);

    --text-main: #111827;
    --text-muted: #6b7280;

    --card-bg: #ffffff;
    --card-border: #e5e7eb;

    --light-bg: #ffffff;
    --body-bg: #ffffff;
    --header-bg: #ffffff;

    --header-text: #1f2937;
    --header-link: #1f2937;
    --header-icon: #f57b1f;
}
:root.light .hero-meta-item strong,
:root.light .hero-meta-item span {
    color: #1f2937 !important;
}
:root.light .btn-outline.call-btn {
    border-color: #1f2937 !important;
    color: #1f2937 !important;
}

:root.light .btn-outline.call-btn:hover {
    background: #1f2937 !important;
    color: #fff !important;
}


/* APPLY VARIABLES */
.site-header {
    background: var(--header-bg);
    transition: var(--transition);
}

.nav-links a {
    color: var(--text-main);
    transition: var(--transition);
}

.nav-cta .btn {
    transition: var(--transition);
    color: var(--text-main);
    border-color: var(--card-border);
}


.card, .service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.top-strip {
    background: var(--navy-soft);
    color: var(--text-muted);
}

/* ===========================
    GLOBALS
=========================== */

body {
    background: var(--body-bg);
    color: var(--text-main);
    transition: background var(--transition), color var(--transition);
}

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
            
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* ========= LAYOUT ========= */

        .container {
            width: min(1200px, 100% - 40px);
            margin-inline: auto;
        }

        .section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .section--alt {
            background: var(--light-bg);
            color: #111827;
        }

        .section--orange {
            background: var(--orange);
            color: #111827;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .section-subtitle {
            color: var(--text-muted);
            max-width: 560px;
            font-size: 14px;
        }
        .section--orange .section-subtitle {
    color: rgba(0,0,0,0.75); /* أسود خفيف وواضح جداً */
}


        .section--alt .section-subtitle {
            color: #6b7280;
        }

        .section-header {
            margin-bottom: 32px;
        }

        /* ========= HEADER ========= */

        .top-strip {
            background: #020617;
            color: var(--text-muted);
            font-size: 12px;
            padding: 6px 0;
        }

        .top-strip-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-strip-inner span i {
            margin-right: 6px;
            color: var(--orange);
        }

        header.site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(7,21,33,0.96);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(148,163,184,0.2);
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-mark {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--orange);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: #fff;
            font-size: 18px;
        }

        .logo-text-main {
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            font-size: 15px;
        }

        .logo-text-sub {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.14em;
        }

        .nav-links {
            display: flex;
            gap: 24px;
            font-size: 14px;
        }

        .nav-links a {
            color: var(--text-muted);
            position: relative;
            padding-bottom: 4px;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #f9fafb;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--orange);
            transition: 0.25s;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 18px;
        }

        .nav-cta {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 18px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 500;
            border: 1px solid transparent;
            cursor: pointer;
            transition: 0.2s;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--orange);
            color: #111827;
            border-color: var(--orange);
        }

        .btn-primary:hover {
            background: #ff923c;
            border-color: #ff923c;
        }

        .btn-outline {
            background: transparent;
            border-color: rgba(148,163,184,0.6);
            color: var(--text-main);
        }

        .btn-outline:hover {
            border-color: var(--orange);
            color: #fff;
        }


        

        /* ========= HERO ========= */

        .hero {
            padding: 70px 0 80px;
            position: relative;
            background: radial-gradient(circle at top left, #172554 0, #020617 60%);
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 0 0, rgba(148,163,184,0.25) 0, transparent 70%),
                linear-gradient(135deg, rgba(15,23,42,0.7), transparent 40%),
                linear-gradient(315deg, rgba(15,23,42,0.9), transparent 40%);
            opacity: 0.5;
            pointer-events: none;
        }

        .hero-grid {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
            gap: 40px;
            align-items: center;
        }

        @media (max-width: 900px) {
            .hero-grid {
                grid-template-columns: 1fr;
            }
        }

        .eyebrow {
            text-transform: uppercase;
            letter-spacing: 0.22em;
            font-size: 11px;
            color: var(--orange);
            margin-bottom: 10px;
        }

        .hero-title {
            font-size: clamp(30px, 4vw, 40px);
            font-weight: 700;
            margin-bottom: 16px;
        }

        .hero-title span {
            color: var(--orange);
        }

        .hero-text {
            font-size: 14px;
            color: var(--text-muted);
            max-width: 520px;
            margin-bottom: 22px;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .hero-meta {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            font-size: 12px;
            color: var(--text-muted);
        }

        .hero-meta-item span {
            display: block;
        }

        .hero-meta-item strong {
            color: #e5e7eb;
            font-size: 18px;
            display: block;
        }

        .hero-card {
            background: radial-gradient(circle at top left, #1f2937 0, #020617 70%);
            border-radius: 24px;
            padding: 22px 22px 24px;
            border: 1px solid rgba(148,163,184,0.35);
            position: relative;
            overflow: hidden;
        }

        .hero-card::before {
            content: "";
            position: absolute;
            inset: -40px;
            background-image: linear-gradient(135deg, rgba(245,123,31,0.18), transparent 60%);
            opacity: 0.4;
            pointer-events: none;
        }

        .hero-card-inner {
            position: relative;
            z-index: 1;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(15,23,42,0.85);
            padding: 5px 10px;
            border-radius: 999px;
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 14px;
        }

        .hero-tag i {
            color: var(--orange);
        }

        .hero-card-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .hero-card-text {
            font-size: 12px;
            color: #9ca3af;
            margin-bottom: 16px;
        }

        .hero-pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 18px;
        }

        .hero-pill {
            font-size: 11px;
            padding: 5px 10px;
            border-radius: 999px;
            background: rgba(15,23,42,0.9);
            border: 1px solid rgba(148,163,184,0.45);
            color: #e5e7eb;
        }

        .hero-photo {
            position: relative;
            margin-top: 10px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
        }

        .hero-photo-placeholder {
            width: 70%;
            max-width: 240px;
            border-radius: 20px 20px 4px 4px;
    background: var(--navy);
            border: 1px solid rgba(148,163,184,0.45);
            padding: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .hero-worker {
            width: 80px;
            height: 80px;
            border-radius: 999px;
            background: linear-gradient(145deg, #f97316, #fb923c);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #111827;
            font-weight: 700;
            font-size: 26px;
        }

        .hero-worker-text {
    font-size: 11px;
    text-align: center;
}


        .hero-badge {
            position: absolute;
            bottom: 12px;
            right: -6px;
            background: var(--orange);
            color: #111827;
            font-size: 11px;
            padding: 6px 12px;
            border-radius: 999px;
            font-weight: 600;
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        }

        /* ========= STATS ========= */

        .stats-bar {
            background: var(--navy-soft);
            border-top: 1px solid rgba(148,163,184,0.25);
            border-bottom: 1px solid rgba(148,163,184,0.25);
            padding: 18px 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
        }

        @media (max-width: 800px) {
            .stats-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .stat-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .stat-icon {
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: var(--orange-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--orange);
        }

        .stat-label {
            font-size: 11px;
            color: var(--text-muted);
        }

        .stat-value {
            font-size: 18px;
            font-weight: 600;
        }

        /* ========= SERVICES ========= */

        .services-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 40px;
        }

        @media (max-width: 900px) {
            .services-layout {
                grid-template-columns: 1fr;
            }
        }

        .pill-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }

        .pill-tab {
            font-size: 12px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.5);
            color: var(--text-muted);
            cursor: pointer;
        }

        .pill-tab.active {
            background: var(--orange);
            color: #111827;
            border-color: var(--orange);
        }

        .services-note {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 22px;
        }

        .service-card {
            background: var(--card-bg);
            border-radius: 20px;
            border: 1px solid var(--card-border);
            padding: 22px 22px 18px;
            margin-bottom: 16px;
        }

        .service-card h3 {
            font-size: 18px;
            color: var(--orange);
            margin-bottom: 8px;
        }

        .service-tagline {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .service-list {
            columns: 2;
            column-gap: 30px;
            font-size: 13px;
            list-style: none;
        }

        .service-list li {
            break-inside: avoid;
            margin-bottom: 6px;
            position: relative;
            padding-left: 16px;
        }

        .service-list li::before {
            content: "◉";
            position: absolute;
            left: 0;
            top: 0;
            font-size: 10px;
            color: var(--orange);
        }

        @media (max-width: 700px) {
            .service-list {
                columns: 1;
            }
        }

        .services-side-card {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 22px;
            border: 1px solid var(--card-border);
        }

        .services-side-badge {
            font-size: 12px;
            color: var(--orange);
            text-transform: uppercase;
            letter-spacing: 0.16em;
            margin-bottom: 10px;
        }

        .services-side-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .services-side-text {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        .services-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 11px;
        }

        .services-tag {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
}
:root.dark .services-tag {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.4);
    color: #e5e7eb;
}
:root.light .services-tag {
    background: #f3f4f6;              /* رمادي فاتح */
    border: 1px solid #d1d5db;        /* حدود خفيفة */
    color: #374151;                   /* رمادي غامق */
}


        /* ========= RESOURCES ========= */

        .resources-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
            gap: 32px;
            align-items: flex-start;
        }

        @media (max-width: 900px) {
            .resources-grid {
                grid-template-columns: 1fr;
            }
        }

        .resources-list {
            list-style: none;
            font-size: 14px;
        }

        .resources-list li {
            margin-bottom: 10px;
            padding-left: 18px;
            position: relative;
        }

        .resources-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--orange);
            font-size: 18px;
        }

        .resources-photos {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .resources-photos div {
            border-radius: 14px;
            overflow: hidden;
            background: #e5e7eb;
            min-height: 50px;
        }

       .resources-photos div:nth-child(2) {
    margin-top: 10px;
}

.resources-photos div:nth-child(3) {
    margin-top: 10px;
}

.resource-photo {
    position: relative;
    width: 100%;
    height: 180px; /* 👈 مهم */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .5s ease;
}

        /* ========= PROJECTS ========= */

        .projects-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 32px;
        }

        @media (max-width: 900px) {
            .projects-layout {
                grid-template-columns: 1fr;
            }
        }

        .projects-list {
            list-style: none;
            font-size: 13px;
            max-height: 360px;
            overflow-y: auto;
            padding-right: 2px;
        }

        .projects-list li {
            margin-bottom: 8px;
            padding-left: 18px;
            position: relative;
        }

        .projects-list li::before {
            content: "◉";
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--orange);
            font-size: 10px;
        }

        .projects-highlight {
            background: var(--card-bg);
            border-radius: 22px;
            padding: 22px;
            border: 1px solid var(--card-border);
        }

        .projects-highlight h3 {
            font-size: 18px;
            margin-bottom: 8px;
            color: var(--orange);
        }

        .pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin: 10px 0 4px;
        }

        .pill-row span {
            font-size: 11px;
            padding: 4px 9px;
            border-radius: 999px;
            background: rgba(15,23,42,0.95);
            border: 1px solid rgba(148,163,184,0.5);
            color: #e5e7eb;
        }

        .projects-highlight p {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ========= TOOLS ========= */

        .tools-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
            gap: 32px;
            align-items: center;
        }

        @media (max-width: 900px) {
            .tools-grid {
                grid-template-columns: 1fr;
            }
        }

        .tools-columns {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
            font-size: 13px;
        }

        .tools-columns ul {
            list-style: none;
        }

        .tools-columns li {
            margin-bottom: 8px;
            padding-left: 16px;
            position: relative;
        }

        .tools-columns li::before {
            content: "◉";
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--orange);
            font-size: 9px;
        }

        .tool-machine-card {
            background: #0f1724;
            border-radius: 24px;
            padding: 22px;
            border: 1px solid #1f2937;
            text-align: center;
        }

        .tool-machine-pic {
            border-radius: 16px;
            overflow: hidden;
            background: #e5e7eb;
            min-height: 120px;
            margin-bottom: 14px;
        }

        .tool-machine-card h3 {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .tool-machine-card p {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ========= CLIENTS ========= */

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 16px;
        }

        @media (max-width: 1000px) {
            .clients-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        @media (max-width: 800px) {
            .clients-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 600px) {
            .clients-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .client-card {
            background: #ffffff;
            border-radius: 18px;
            padding: 10px 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 70px;
            box-shadow: 0 10px 20px rgba(15,23,42,0.06);
        }

        .client-card img {
            max-height: 60;
            object-fit: contain;
        }

        /* ========= GALLERY ========= */

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        @media (max-width: 900px) {
            .gallery-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 600px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }

        .gallery-item {
            border-radius: 20px;
            overflow: hidden;
            background: #e5e7eb;
            min-height: 130px;
        }

        /* ========= APPROVALS ========= */

        .approvals-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: 32px;
            align-items: center;
        }

        @media (max-width: 900px) {
            .approvals-layout {
                grid-template-columns: 1fr;
            }
        }

        .approvals-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .approval-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 12px;
            min-height: 90px;
            box-shadow: 0 10px 20px rgba(15,23,42,0.05);
            border: 1px solid #e5e7eb;
        }

        .approval-card h4 {
            font-size: 13px;
            margin-bottom: 4px;
            color: #111827;
        }

        .approval-card p {
            font-size: 11px;
            color: #6b7280;
        }

        .approvals-photo {
            background: #111827;
            border-radius: 24px;
            padding: 22px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .approvals-photo::before {
content: "DCRP APPROVAL";
            position: absolute;
            right: -60px;
            top: 24px;
            transform: rotate(90deg);
            text-transform: uppercase;
            letter-spacing: 0.26em;
            font-size: 10px;
            color: rgba(148,163,184,0.4);
        }

        .approvals-worker {
            width: 90px;
            height: 90px;
            border-radius: 999px;
            background: radial-gradient(circle at top, #f97316, #b45309);
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 42px;
            color: #111827;
            font-weight: 800;
        }

        .approvals-photo p {
            font-size: 12px;
            color: #e5e7eb;
        }

        /* ========= CONTACT ========= */

        .contact-layout {
            display: grid;
            grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
            gap: 32px;
        }

        @media (max-width: 900px) {
            .contact-layout {
                grid-template-columns: 1fr;
            }
        }

        .contact-card {
            background: var(--card-bg);
            border-radius: 22px;
            padding: 22px;
            border: 1px solid var(--card-border);
            font-size: 13px;
        }

        .contact-card h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .contact-row {
            margin-bottom: 10px;
        }

        .contact-row span {
            display: block;
            font-size: 12px;
            color: var(--text-muted);
        }

        .contact-row strong {
            display: block;
        }

        .contact-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .contact-badge {
            font-size: 11px;
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.5);
        }

        .contact-form {
            background: #ffffff;
            border-radius: 22px;
            padding: 22px 22px 24px;
            box-shadow: 0 25px 40px rgba(15,23,42,0.12);
        }

        .contact-form h3 {
            font-size: 18px;
            margin-bottom: 4px;
            color: #111827;
        }

        .contact-form p {
            font-size: 12px;
            margin-bottom: 16px;
            color: #6b7280;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        @media (max-width: 700px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }

        .form-field {
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 12px;
        }

        .form-field label {
            color: #4b5563;
        }

        .form-field input,
        .form-field textarea,
        .form-field select {
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            padding: 9px 11px;
            font-size: 13px;
            outline: none;
            font-family: inherit;
        }

        .form-field input:focus,
        .form-field textarea:focus,
        .form-field select:focus {
            border-color: var(--orange);
            box-shadow: 0 0 0 1px rgba(245,123,31,0.35);
        }

        .form-field textarea {
            min-height: 110px;
            resize: vertical;
        }

        .contact-submit {
            margin-top: 14px;
            display: flex;
            justify-content: flex-end;
        }

        /* ========= FOOTER ========= */

        footer {
            background: #020617;
            color: #9ca3af;
            font-size: 12px;
            padding: 18px 0 22px;
            border-top: 1px solid rgba(148,163,184,0.25);
        }

        footer .footer-inner {
    display: flex;
    justify-content: center; /* ← التوسيط */
    align-items: center;
    text-align: center;
}


        footer a {
            color: #e5e7eb;
            font-weight: 500;
        }

        /* ========= SMOOTH SCROLL ========= */
        html {
            scroll-behavior: smooth;
        }


.logo-mark {
    display: flex;
    align-items: center;
}

.logo-mark img {
    height: 48px; /* غيّر الرقم حسب الحجم المناسب */
    width: auto !important;  /* مهم جداً لتصحيح التمدد */
    object-fit: contain;     /* يمنع أي تشويه */
    display: block;
}




.card-animate {
    transform: translateY(20px);
    opacity: 0;
    transition: all .8s ease;
}

.card-animate.visible {
    transform: translateY(0);
    opacity: 1;
}





.client-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease;
}

/* عند ظهور العنصر */
.client-card.visible {
    opacity: 1;
    transform: translateY(0);
}


















.project-slider {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.slide-track {
    display: flex;
    gap: 20px;
    animation: scroll 35s linear infinite;
}

.slide-track img {
    width: 260px;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* الحركة */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}




.phone-anim {
    display: inline-block;
    animation: hotlinePulse 1.6s infinite ease-in-out;
    color: #ff9100;
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(255,140,0,0.6));
}

@keyframes hotlinePulse {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.25) rotate(-10deg); }
    45% { transform: scale(1.1) rotate(10deg); }
    65% { 
        transform: scale(1.35) rotate(-3deg); 
        filter: drop-shadow(0 0 10px rgba(255,150,0,1));
    }
    100% { transform: scale(1) rotate(0deg); }
}





.chairman-section {
    padding: 80px 0;
    background: #0c1a27;
    color: #fff;
}

.chairman-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.chairman-image img {
    width: 380px;
    border-radius: 12px;
    border: 6px solid #f57b1f;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.35);
}

.chairman-text .title {
    font-size: 40px;
    font-weight: 700;
}
.chairman-text .title span {
    color: #f57b1f;
}

.chairman-text .message {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 12px;
    opacity: 0.92;
}

.chairman-name {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #f57b1f;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}






/* Section Wrapper */
.chairman-section {
    padding: 80px 0;
    background: #0f1b2b; /* يناسب الثيم الداكن */
}

/* Layout */
.chairman-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image Style */
.chairman-photo img {
    width: 340px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Text Area */
.chairman-text {
    max-width: 650px;
}

/* Title */
.chairman-text .title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

/* Section Wrapper */
.chairman-section {
    padding: 80px 0;
    background: #0f1b2b;
}

/* Layout */
.chairman-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image */
.chairman-photo img {
    width: 340px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Text */
.chairman-text {
    max-width: 650px;
}

.chairman-text .title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

/* Typing Area */
.typing-container {
    display: inline-block;
    position: relative;
}

#typedText {
    text-align: justify;
    text-align-last: left;
    font-size: 18px;
    line-height: 1.7;
    color: #ddd;
    border-right: 3px solid #f57b1f;
    padding-right: 6px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    50% { border-color: transparent; }
}

.chairman-name, .chairman-role {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .7s ease, transform .7s ease;
}

.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Photo animation */
.chairman-photo {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .9s ease, transform .9s ease;
}

.chairman-photo.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .resources-photos {
        display: none;
    }
}





.resources-photos {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.resource-photo {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .5s ease;
}

.resource-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .6s ease;
}

/* Overlay */
.resource-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: 0.4s ease;
}

/* Hover effect */
.resource-photo:hover img {
    transform: scale(1.08);
}

.resource-photo:hover::after {
    opacity: 1;
}

.resource-photo:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Reveal Animation - Unified */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}













/* ========== HERO TEXT ========== */
.fade-text {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}
.fade-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HERO CARD ========== */
.fade-card {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: all 0.9s ease;
}
.fade-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ========== INNER ITEMS ========== */
.fade-item {
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.6s ease;
}
.fade-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-text {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right .stagger {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease;
}

.reveal-right.visible .stagger {
    opacity: 1;
    transform: translateY(0);
}
/* Resources List Animation */
.reveal-list .reveal-item {
    opacity: 0;
    transform: translateX(-25px);
    transition: all 0.6s ease;
}

.reveal-list.visible .reveal-item {
    opacity: 1;
    transform: translateX(0);
}

.reveal-list.visible .reveal-item:nth-child(1) { transition-delay: 0ms; }
.reveal-list.visible .reveal-item:nth-child(2) { transition-delay: 120ms; }
.reveal-list.visible .reveal-item:nth-child(3) { transition-delay: 240ms; }
.reveal-list.visible .reveal-item:nth-child(4) { transition-delay: 360ms; }
/* Projects Reveal Animation */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}




.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* صورتين ثابت */
    gap: 18px;
    margin-top: 18px;
}
.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ===== Resources Grid ===== */
.resources-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start; /* 🔥 يمنع التمدد */
}

/* Resources photos */
.resources-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.resource-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

/* ===== Employees Section ===== */
.employees-section {
    margin-top: 60px;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.employee-photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resources-photos {
        grid-template-columns: 1fr;
    }

    .employees-grid {
        grid-template-columns: 1fr;
    }
}
/* Reveal base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Employees images animation */
.employees-grid .gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.reveal.active .employees-grid .gallery-item {
    opacity: 1;
    transform: scale(1);
}

/* Delay effect */
.reveal.active .employees-grid .gallery-item:nth-child(1) { transition-delay: 0.2s; }
.reveal.active .employees-grid .gallery-item:nth-child(2) { transition-delay: 0.4s; }
.reveal.active .employees-grid .gallery-item:nth-child(3) { transition-delay: 0.6s; }

/* ===== Project Gallery Images – Fixed Size ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 18px;
}

.gallery-item {
    height: 100;              /* 🔒 ثبات الارتفاع */
    border-radius: 18px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* 🔥 يقص بدون تشويه */
    display: block;
}














/* =========================
   Chairman Section – Mobile Fix
========================= */

@media (max-width: 768px) {

  .chairman-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }

  .chairman-photo {
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
  }

  .chairman-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .chairman-text .title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .typing-container {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
    padding: 0 10px;
  }

  .chairman-name {
    font-size: 17px;
    margin-top: 16px;
  }

  .chairman-role {
    font-size: 14px;
    opacity: 0.8;
  }

}



.vm-section {
    padding: 80px 0;
    background: #0f172a;
}

.vm-header h2 {
    color: #fff;
}
.vm-header p {
    color: #cbd5e1;
}
.vm-header .line {
    background: #f97316;
}

.vm-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.08);
    color: #f1f5f9;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.vm-card h3 {
    color: #f97316;
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.vm-icon {
    color: #f97316;
}



/* NAV main line structure */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* mobile actions container */
.nav-actions-mobile {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* mobile theme button */
.theme-toggle-mobile {
    background: rgba(255,255,255,0.12);
    border: 1px solid var(--card-border);
    padding: 7px 11px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-main);
}

.theme-toggle-mobile i {
    font-size: 18px;
}

/* show in mobile only */
@media (max-width: 992px) {

    .nav-cta {
        display: none !important;
    }

    .nav-actions-mobile {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }
}


/* ================================
   MOBILE MENU - ANIMATED VERSION
================================ */

/* OVERLAY خلف القائمة */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
    z-index: 99990;
}

/* إظهار الأوفرلاي */
.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* زر الهامبرغر */
.nav-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 100010;
}

/* الروابط والـ CTA تختفي تحت 992 */
@media (max-width: 992px) {

    .nav-cta {
        display: none !important; /* نخفي زر الثيم + الأزرار */
    }

    .nav-actions-mobile {
        display: flex !important; /* زر الثيم + زر المنيو في الموبايل */
    }

    .nav-links {
        display: none !important;
    }

    .nav-toggle {
        display: block !important;
    }
}
/* القائمة نفسها */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 295px;
    height: 100vh;
    background: var(--header-bg);
    box-shadow: -4px 0 20px rgba(0,0,0,0.25);
    padding: 90px 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: right .45s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100020;
    opacity: 0;
}

/* عند الفتح */
.mobile-menu.open {
    right: 0;
    opacity: 1;
}

/* زر الإغلاق */
.mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 30px;
    cursor: pointer;
    transition: .25s ease;
}

/* Hover زر الإغلاق حسب Light / Dark */
:root.light .mobile-close:hover {
    color: #f97316;
    transform: rotate(90deg);
}

:root.dark .mobile-close:hover {
    color: #ffb469;
    transform: rotate(90deg);
}

/* الروابط */
.mobile-menu a {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    text-decoration: none;
    color: var(--text-main);
    transition: .25s ease;
}

/* Hover الروابط حسب الثيم */
:root.light .mobile-menu a:hover {
    color: #f97316;
    padding-left: 10px;
}

:root.dark .mobile-menu a:hover {
    color: #ffb469;
    padding-left: 10px;
}

/* أزرار المنيو */
.mobile-menu .btn {
    transition: .25s ease;
}

.mobile-menu .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(0,0,0,0.15);
}





/* HERO in Light mode */
:root.light .hero {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

:root.light .hero-title {
    color: #0f172a; /* نص غامق وواضح */
}

:root.light .hero-title span {
    color: #f57b1f; /* الأورانج */
}

:root.light .hero-text {
    color: #4b5563; /* رمادي واضح */
}



:root.dark .hv-title {
    color: #f1f5f9 !important; /* أبيض أنيق */
}

:root.light .hv-title {
    color: #f57b1f !important; /* غامق واضح */
}

:root.light .logo-text-main,
:root.light .logo-text-sub {
    color: #0f172a !important;   /* غامق أنيق */
}




:root.light {
    --header-bg: #ffffff;
    --header-text: #adb5c9;
    --header-link: #1f2937;
    --header-icon: #f57b1f; /* لون الأيقونات البرتقالي */
}
:root.dark {
    --header-bg: #0f172a;
    --header-text: #f1f5f9;
    --header-link: #e2e8f0;
    --header-icon: #f57b1f;
}



:root.light .logo-text-main,
:root.light .logo-text-sub {
    color: #f57b1f !important;   /* Navy رمادي غامق لطيف */
}


:root.light .btn-outline {
    background: transparent;
    border: 1px solid #bec8d6 !important; /* غامق أنيق */
    color: #ffffff !important;
}
:root.light .btn-outline i {
    color: #e6ecf7 !important;
}













#electric-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* مهم – ما يمنع الضغط */
    z-index: 5; /* فوق الخلفية – تحت المحتوى */
}












/* Section */
.vm-section {
    padding: 90px 0;
    background: #0f172a;
}

/* Header */
.vm-header {
    text-align: center;
    margin-bottom: 40px;
}
.vm-header h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}
.vm-header .line {
    width: 60px;
    height: 4px;
    background: #f57b1f;
    margin: 10px auto;
    border-radius: 6px;
}
.vm-header p {
    color: #cbd5e1;
    font-size: 14px;
}

/* Boxes Layout */
.vm-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Each Box */
.vm-box {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform .5s ease, box-shadow .5s ease;
    transform-style: preserve-3d;
}

/* Hover Effect */
.vm-box:hover {
    transform: translateY(-10px) rotateX(6deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}

/* Icon */
.vm-box-icon {
    width: 44px;
    height: 44px;
    background: rgba(245,123,31,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f57b1f;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Title */
.vm-box h3 {
    color: #f57b1f;
    font-size: 20px;
    margin-bottom: 8px;
}

/* Text */
.vm-box p {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

/* Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: .8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Flip Animations */
.flip-left.visible {
    animation: flipLeft 0.8s ease forwards;
}
.flip-right.visible {
    animation: flipRight 0.8s ease forwards;
}

@keyframes flipLeft {
    from {
        transform: rotateY(70deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

@keyframes flipRight {
    from {
        transform: rotateY(-70deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

/* Mobile */
@media(max-width: 850px){
    .vm-boxes {
        grid-template-columns: 1fr;
    }
}















/* زر القائمة في الموبايل */
.nav-actions-mobile .nav-toggle i {
    font-size: 26px;
    transition: 0.3s ease;
}

/* Light Mode → برتقالي */
:root.light .nav-actions-mobile .nav-toggle i {
    color: #f57b1f !important;
}

/* Dark Mode → أبيض */
:root.dark .nav-actions-mobile .nav-toggle i {
    color: #ffffff !important;
}






















/* زر Company Profile داخل الموبايل */
.mobile-menu .btn.btn-outline {
    border-radius: 25px;
    font-weight: 500;
    transition: 0.3s ease;
}

/* Light Mode → نفس لون السلايدات */
:root.light .mobile-menu .btn.btn-outline {
    background: #1f2937  !important;   /* لون السلايد */
    border-color: #d5dce3 !important; /* نفس تدرج الحواف */
    color: #ffffff !important;           /* نص غامق */
}

/* Dark Mode → يرجع الأبيض */
:root.dark .mobile-menu .btn.btn-outline {
    background: transparent !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}








/* =============================== */
/*         GLOBAL SERVICE CSS      */
/* =============================== */

.section {
    padding: 80px 0;
}

.services-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.services-left {
    width: 32%;
}

.services-right {
    width: 68%;
    position: relative;
}

/* =============================== */
/*     DARK & LIGHT VARIABLES      */
/* =============================== */

:root.dark {
    --card-bg: rgba(255,255,255,0.05);
    --card-border: rgba(255,255,255,0.1);
    --text-main: #fff;
    --text-soft: #d1d5db;
    --accent: #f97316;
    --sub-bg: rgba(255,255,255,0.04);
}

:root.light {
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --text-main: #111827;
    --text-soft: #6b7280;
    --accent: #f97316;
    --sub-bg: #f9fafb;
}

/* =============================== */
/*        MAIN CATEGORY TABS       */
/* =============================== */

.main-category {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.main-btn {
    padding: 12px 25px;
    border-radius: 50px;
    background: var(--sub-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.25s ease;
}

.main-btn:hover {
    background: rgba(249, 115, 22, 0.12);
}

.main-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

/* =============================== */
/*          SUB SERVICES LIST      */
/* =============================== */

.sub-services {
    margin-top: 10px;
    padding: 18px;
    background: var(--sub-bg);
    border-radius: 14px;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: 0.22s ease;
}

.sub-btn:hover {
    background: rgba(249, 115, 22, 0.12);
}

.sub-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 12px rgba(249,115,22,0.4);
}

/* =============================== */
/*           SERVICE CARD          */
/* =============================== */

.service-card {
    padding: 35px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    color: var(--text-main);
    display: none;
    animation: fadeIn 0.4s ease;
}

.service-card.active-card {
    display: block;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--accent);
}

.service-tagline {
    color: var(--text-soft);
    margin-bottom: 14px;
}

.service-list {
    margin-top: 15px;
    color: var(--text-main);
}

.service-list li {
    margin-bottom: 8px;
}

/* =============================== */
/*            LIGHT CARDS          */
/* =============================== */

.light-card {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    color: #111827 !important;
}

/* =============================== */
/*           HIDDEN CLASS          */
/* =============================== */

.hidden {
    display: none !important;
}

/* =============================== */
/*            ANIMATIONS           */
/* =============================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================== */
/*             RESPONSIVE          */
/* =============================== */

@media (max-width: 992px) {
    .services-layout {
        flex-direction: column;
    }

    .services-left,
    .services-right {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .main-category {
        flex-direction: column;
    }

    .main-btn {
        width: 100%;
        text-align: center;
    }
}
.service-card.active-card {
    display: block !important;
}





















/* ================================================
   DRILLING – PREMIUM GRID STYLE
================================================ */

.drill-premium {
    margin-top: 60px;
}

.drill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.drill-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .3s ease;
}

.drill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.07);
}

/* ICON */
.drill-icon {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 26px;
    color: #f97316;
}

/* TITLE */
.drill-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #111827;
}

/* LIST */
.drill-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.drill-list li {
    margin-bottom: 9px;
    color: #374151;
    font-size: 15px;
}

/* PHOTO */
.drill-photo img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 992px) {
    .drill-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .drill-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================
   PREMIUM CONTRACT CARDS
========================== */

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contract-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 1px solid #f1f5f9;
}

.contract-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.contract-card .icon {
    width: 48px;
    height: 48px;
    background: #f97316;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.contract-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.contract-card p {
    font-size: 15px;
    margin: 4px 0;
    color: #4b5563;
}

.section-title {
    text-transform: capitalize;
}
