
/* =========================================================
      yeykim-iraq 
    ========================================================= */
:root {
    /* Palette (modern, professional) */
    --brand-900: #0b2e4a; /* deep navy */
    --brand-700: #114b73; /* navy */
    --brand-500: #1f7aa8; /* blue */
    --accent-500: #f59e0b; /* amber */
    --bg-50: #f6f8fb;
    --text-900: #0f172a;
    --text-500: #f1f5f9;
    --text-600: #475569;
    --card: #ffffff;
    --border: #e5e7eb;
    --radius: 18px;
    --shadow-sm: 0 6px 18px rgba(2, 6, 23, .08);
    --shadow-md: 0 14px 40px rgba(2, 6, 23, .12);
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text-900);
    background: var(--bg-50);
}

/* Utilities */
.section {
    padding: 72px 0;
}

@media (max-width: 575.98px) {
    .section {
        padding: 56px 0;
    }
}

.ey-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

    .ey-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: rgba(31,122,168,.25);
    }

.ey-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    background: rgba(31,122,168,.10);
    color: var(--brand-700);
    border: 1px solid rgba(31,122,168,.18);
}

.ey-muted {
    color: var(--text-600);
}

.ey-title {
    letter-spacing: .2px;
    line-height: 1.25;
}

/* Top bar */
.topbar {
    background: #012776;
    /*background: rgba(11,46,74,.96);*/
    color: #e8f1f8;
    font-size: .95rem;
}

    .topbar a {
        color: #e8f1f8;
        text-decoration: none;
        opacity: .95;
        transition: opacity var(--transition);
    }

        .topbar a:hover {
            opacity: 1;
        }

    .topbar .icon-btn {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(255,255,255,.06);
        transition: background var(--transition), transform var(--transition);
    }

        .topbar .icon-btn:hover {
            background: rgba(255,255,255,.12);
            transform: translateY(-1px);
        }

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(246,248,251,.85);
    border-bottom: 1px solid rgba(229,231,235,.7);
}

    .navbar .navbar-brand {
        font-weight: 800;
        color: var(--brand-900);
        display: inline-flex;
        align-items: center;
        gap: .6rem;
    }

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
    box-shadow: 0 10px 22px rgba(17,75,115,.25);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

    .brand-mark::after {
        content: "";
        position: absolute;
        inset: -30%;
        background: radial-gradient(circle at 30% 30%, rgba(245,158,11,.65), transparent 55%);
        transform: rotate(12deg);
    }

.navbar .nav-link {
    font-weight: 700;
    color: var(--text-900);
    opacity: .9;
    transition: color var(--transition), opacity var(--transition);
}

    .navbar .nav-link:hover, .navbar .nav-link.active {
        color: var(--brand-700);
        opacity: 1;
    }

/* Buttons */
.btn-ey-primary {
    --bs-btn-bg: var(--brand-700);
    --bs-btn-border-color: var(--brand-700);
    --bs-btn-hover-bg: var(--brand-900);
    --bs-btn-hover-border-color: var(--brand-900);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    border-radius: 14px;
    font-weight: 800;
    padding: .85rem 1.1rem;
    box-shadow: 0 14px 28px rgba(17,75,115,.18);
}

.btn-ey-outline {
    --bs-btn-color: var(--brand-700);
    --bs-btn-border-color: rgba(17,75,115,.35);
    --bs-btn-hover-bg: rgba(17,75,115,.08);
    --bs-btn-hover-border-color: rgba(17,75,115,.55);
    border-radius: 14px;
    font-weight: 800;
    padding: .85rem 1.1rem;
}

/* Hero */
.hero {
    position: relative;
    padding: 96px 0 72px;
    background: radial-gradient(1100px 480px at 85% 10%, rgba(31,122,168,.18), transparent 65%), radial-gradient(900px 520px at 10% 20%, rgba(245,158,11,.16), transparent 60%), linear-gradient(180deg, rgba(246,248,251,.9), rgba(246,248,251,1));
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(11,46,74,.06), rgba(31,122,168,.03));
        pointer-events: none;
    }

    .hero .ey-hero-card {
        border-radius: 22px;
        background: #fff;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 24px;
    }

    .hero h1 {
        font-weight: 800;
        font-size: clamp(1.85rem, 1.25rem + 1.6vw, 3rem);
        margin-bottom: .75rem;
    }

    .hero p.lead {
        color: var(--text-500);
        font-weight: 600;
        font-size: 1.08rem;
        margin-bottom: 1.25rem;
        line-height: 1.85;
    }

    .hero .stat {
        border: 1px dashed rgba(17,75,115,.25);
        background: rgba(31,122,168,.06);
        border-radius: 16px;
        padding: 14px 16px;
        height: 100%;
    }

        .hero .stat .k {
            font-weight: 800;
            color: var(--brand-900);
        }

        .hero .stat .v {
            color: var(--text-600);
            font-weight: 700;
        }

/* Section headings */
.section-head {
    margin-bottom: 26px;
}

    .section-head h2 {
        font-weight: 800;
        margin: 0;
    }

    .section-head p {
        margin: .6rem 0 0;
        color: var(--text-600);
        font-weight: 600;
        line-height: 1.8;
    }

/* Services */
.icon-pill {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,122,168,.10);
    border: 1px solid rgba(31,122,168,.18);
    color: var(--brand-700);
    font-size: 1.25rem;
    flex: 0 0 auto;
}

/* Products / Portfolio */
.filter-btns .btn {
    border-radius: 999px;
    font-weight: 800;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.product-tag {
    font-size: .9rem;
    font-weight: 800;
    color: var(--brand-700);
    background: rgba(31,122,168,.10);
    border: 1px solid rgba(31,122,168,.18);
    border-radius: 999px;
    padding: .28rem .6rem;
}
.product-img-wrap {
    height: 280px;
    /*height: 180px;*/
    overflow: hidden;
}

    .product-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

.ey-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

/* Projects Gallery */
.project-card {
    cursor: pointer;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
}

    .project-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 44px rgba(2, 6, 23, .14);
    }

.project-thumb {
    height: 190px;
    overflow: hidden;
    position: relative;
    background: #f6f8fb;
}

    .project-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
        display: block;
    }

.project-card:hover .project-thumb img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
    opacity: .9;
    pointer-events: none;
}

.project-title {
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.project-meta {
    padding: 14px 16px;
}

/* Modal image */
#projectsLightboxImg {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #0b1220;
    border-radius: 14px;
}

/* Modal nav buttons */
.lb-nav {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
}

    .lb-nav:hover {
        background: rgba(0,0,0,.5);
        transform: translateY(-1px);
    }

    .lb-nav:disabled {
        opacity: .45;
        cursor: not-allowed;
        transform: none;
    }

/* Make sure captions align well in RTL */
.modal-header .modal-title {
    font-weight: 900;
}



/* Testimonials */
.carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

/* FAQ */
.accordion-button {
    font-weight: 800;
    border-radius: 16px !important;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-900);
    background: rgba(31,122,168,.08);
}

/* Contact */
.form-control, .form-select {
    border-radius: 14px;
    padding: .85rem .95rem;
    border-color: var(--border);
}

    .form-control:focus, .form-select:focus {
        border-color: rgba(31,122,168,.45);
        box-shadow: 0 0 0 .2rem rgba(31,122,168,.14);
    }

.map-placeholder {
    min-height: 320px;
    border-radius: 18px;
    border: 1px dashed rgba(71,85,105,.35);
    background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,1));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    color: var(--text-600);
    font-weight: 700;
}

/* Footer */
footer {
    background: #071f31;
    color: rgba(255,255,255,.86);
}

    footer a {
        color: rgba(255,255,255,.86);
        text-decoration: none;
        transition: opacity var(--transition);
    }

        footer a:hover {
            opacity: 1;
        }

.footer-muted {
    color: rgba(255,255,255,.72);
}

/* Scroll-to-top button */
.scrolltop {
    position: fixed;
    bottom: 18px;
    inset-inline-end: 18px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-700);
    color: #fff;
    box-shadow: var(--shadow-md);
    border: 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    z-index: 1030;
    background-color: #012776;
}

    .scrolltop:hover {
        background: var(--brand-900);
    }

    .scrolltop.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* Reveal animations (IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 600ms ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        transition: none;
    }

    .ey-card, .topbar .icon-btn, .btn, .scrolltop {
        transition: none !important;
    }
}

