@import url('https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Roboto+Condensed:wght@300;400;600;700&display=swap');

:root {
    /* Primary Brand Colors (Unified with JDR Gold & Bootstrap Warning #ffc107) */
    --jdr-accent-orange: #ffc107;
    --jdr-accent-gold: #ffc107;
    --jdr-yellow: #ffc107;
    --jdr-yellow-hover: #e0a800;
    --jdr-black: #111827;
    --jdr-dark-surface: #161b22;
    --jdr-gray-dark: #374151;
    --jdr-gray-light: #E5E7EB;
    --jdr-offwhite: #F9FAFB;
    --jdr-font-head: 'Quantico', 'Cairo', sans-serif;
    --jdr-font-body: 'Roboto Condensed', 'Cairo', sans-serif;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--jdr-font-body);
    background-color: #FFFFFF;
    color: #212529;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--jdr-font-head);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ��� ������ �������� (Chamfered Corner) ��������� �� ���� JDR */
.jdr-chamfer {
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.jdr-chamfer-btn {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    border-radius: 0 !important;
}

/* ����� ������� */
.btn-jdr-yellow {
    background-color: var(--jdr-yellow);
    color: var(--jdr-black);
    font-family: var(--jdr-font-head);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: all 0.25s ease;
}

    .btn-jdr-yellow:hover {
        background-color: var(--jdr-yellow-hover);
        color: #000;
        transform: translateY(-2px);
    }

.btn-jdr-outline {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-family: var(--jdr-font-head);
    text-transform: uppercase;
    border-radius: 0;
}

    .btn-jdr-outline:hover {
        background-color: #FFFFFF;
        color: var(--jdr-black);
    }

/* ������ ������� ��������� */
.jdr-card {
    background: #FFFFFF;
    border-radius: 0;
    border: 1px solid var(--jdr-gray-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .jdr-card:hover {
        border-color: var(--jdr-yellow);
        transform: translateY(-6px);
    }

/* �������� ������� ��������� */
.jdr-tag {
    font-family: var(--jdr-font-head);
    color: var(--jdr-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ������� ����� ������� �������� */
.btn-jdr-yellow {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-jdr-yellow::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: #FFFFFF;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    .btn-jdr-yellow:hover::before {
        left: 0;
    }

/* ���� ������ �������� (Card Elevation & Outline Reveal) */
.jdr-hover-box {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.4s ease;
}

    .jdr-hover-box .img-wrapper {
        overflow: hidden;
        position: relative;
    }

    .jdr-hover-box img {
        transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .jdr-hover-box:hover img {
        transform: scale(1.08);
    }

    .jdr-hover-box::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: var(--jdr-yellow);
        transition: width 0.4s ease;
    }

    .jdr-hover-box:hover::after {
        width: 100%;
    }

    .jdr-hover-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

/* ���� �������� - ����� ������ */
.swiper-slide-active .hero-title {
    animation: fadeInUp 0.9s ease forwards;
}

.swiper-slide-active .hero-desc {
    animation: fadeInUp 1.1s ease forwards;
}

.swiper-slide-active .hero-btn-group {
    animation: fadeInUp 1.3s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ��� ������ ������� ������� (Continuous Marquee) �������� �� �������� */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: var(--jdr-yellow);
    padding: 12px 0;
}

.ticker {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.ticker-item {
    display: inline-block;
    font-family: var(--jdr-font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jdr-black);
    padding: 0 2rem;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* =====================================================
   PAGE HERO (shared across all inner pages)
   ===================================================== */
.page-hero {
    position: relative;
}

.page-hero-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--jdr-offwhite);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-card {
    transition: border-color 0.3s ease;
}
.about-card--active {
    border-color: var(--jdr-yellow) !important;
}

.team-card .team-img-wrap {
    overflow: hidden;
    position: relative;
}
.team-card .team-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--jdr-yellow);
    transition: width 0.4s ease;
}
.team-card:hover .team-img-wrap::after { width: 100%; }
.team-card:hover img { transform: scale(1.05); transition: transform 0.5s ease; }
.team-card img { transition: transform 0.5s ease; }

.cert-badge {
    border: 1px solid var(--jdr-gray-light);
    transition: border-color 0.3s, transform 0.3s;
}
.cert-badge:hover {
    border-color: var(--jdr-yellow);
    transform: translateY(-5px);
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.service-img-wrap {
    position: relative;
    overflow: hidden;
}
.service-img-wrap .service-img { transition: transform 0.6s ease; }
.service-img-wrap:hover .service-img { transform: scale(1.05); }

.service-number-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--jdr-yellow);
    color: var(--jdr-black);
    font-family: var(--jdr-font-head);
    font-weight: 700;
    font-size: 1.4rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process steps row */
.process-step {
    position: relative;
    flex: 1;
}
.process-step + .process-step::before {
    content: '';
    position: absolute;
    top: 32px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--jdr-yellow);
    opacity: 0.3;
}
.process-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(247, 181, 0, 0.12);
    border: 2px solid var(--jdr-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sector tiles */
.sector-tile {
    background: #fff;
    border: 1px solid var(--jdr-gray-light);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.sector-tile:hover {
    border-color: var(--jdr-yellow);
    transform: translateY(-6px);
    background: var(--jdr-black);
    color: #fff !important;
}
.sector-tile:hover .text-muted { color: #aaa !important; }

/* =====================================================
   PROJECTS PAGE
   ===================================================== */
.sticky-filter {
    top: 72px;
    z-index: 100;
    position: sticky;
}

.filter-btn {
    font-family: var(--jdr-font-head);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--jdr-gray-light);
    color: var(--jdr-gray-dark);
    border-radius: 0 !important;
    padding: 8px 20px;
    transition: all 0.2s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--jdr-yellow);
    border-color: var(--jdr-yellow);
    color: var(--jdr-black);
}

.project-card { overflow: hidden; }
.project-img-wrap {
    position: relative;
    overflow: hidden;
}
.project-img-wrap img { transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1); }
.project-card:hover .project-img-wrap img { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 18, 0.82);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay-inner {
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.project-card:hover .project-overlay-inner { transform: translateY(0); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-info-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s ease;
}
.contact-info-card--active {
    border-color: var(--jdr-yellow);
    background: rgba(247, 181, 0, 0.06);
}
.contact-info-card:hover { border-color: var(--jdr-yellow); }

.contact-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(247, 181, 0, 0.12);
    border: 2px solid var(--jdr-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form inputs */
.jdr-input {
    border-radius: 0 !important;
    border: 2px solid var(--jdr-gray-light);
    font-family: var(--jdr-font-body);
    transition: border-color 0.25s ease;
}
.jdr-input:focus {
    border-color: var(--jdr-yellow);
    box-shadow: none;
    outline: none;
}

.jdr-input-dark {
    border-radius: 0 !important;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-family: var(--jdr-font-body);
    transition: border-color 0.25s ease;
}
.jdr-input-dark:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--jdr-yellow);
    box-shadow: none;
    color: #fff;
}
.jdr-input-dark option { background: var(--jdr-dark-surface); color: #fff; }
.jdr-input-dark::placeholder { color: rgba(255,255,255,0.4); }

/* Social links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.social-link:hover {
    border-color: var(--jdr-yellow);
    color: var(--jdr-yellow);
    background: rgba(247, 181, 0, 0.1);
}

/* =====================================================
   HOME PAGE ADDITIONS (Why JDR, Testimonials, Blog)
   ===================================================== */
.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s ease;
}
.why-card:hover { border-color: var(--jdr-yellow); }

.testimonial-card {
    background: var(--jdr-offwhite);
    border-left: 6px solid var(--jdr-yellow);
    position: relative;
}
.testimonial-quote {
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--jdr-yellow);
    opacity: 0.18;
    position: absolute;
    top: -20px;
    left: 20px;
}

.client-logo-box {
    border: 1px solid var(--jdr-gray-light);
    transition: border-color 0.3s;
}
.client-logo-box:hover { border-color: var(--jdr-yellow); }
.opacity-60 { opacity: 0.6; }

.blog-card {
    overflow: hidden;
    border: 1px solid var(--jdr-gray-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--jdr-yellow);
}
.blog-img-wrap { overflow: hidden; }
.blog-card img { transition: transform 0.6s ease; }
.blog-card:hover img { transform: scale(1.06); }


/* =====================================================
   LANGUAGE SWITCHER BUTTON
   ===================================================== */
.lang-switch-btn {
    font-family: var(--jdr-font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    color: #f1f3f5;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.lang-switch-btn:hover {
    border-color: var(--jdr-yellow);
    color: var(--jdr-yellow);
    background: rgba(247, 181, 0, 0.12);
    box-shadow: 0 0 12px rgba(247, 181, 0, 0.25);
}

/* =====================================================
   RTL GLOBAL OVERRIDES
   ===================================================== */
[dir="rtl"] body,
.rtl-body {
    font-family: 'Cairo', 'Roboto Condensed', sans-serif;
}

/* headings & brand-font في RTL تستخدم Cairo */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .brand-font {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0; /* Cairo لا تحتاج letter-spacing */
}

/* عكس الهوامش والحشوات الأفقية */
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: .25rem !important; }
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem  !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem   !important; }
[dir="rtl"] .me-4 { margin-right: 0 !important; margin-left: 1.5rem !important; }
[dir="rtl"] .ms-1 { margin-left:  0 !important; margin-right:.25rem !important; }
[dir="rtl"] .ms-2 { margin-left:  0 !important; margin-right:.5rem  !important; }
[dir="rtl"] .ms-3 { margin-left:  0 !important; margin-right:1rem   !important; }
[dir="rtl"] .ms-4 { margin-left:  0 !important; margin-right:1.5rem !important; }
[dir="rtl"] .pe-lg-4 { padding-right:0 !important; padding-left:1.5rem !important; }

/* text alignment */
[dir="rtl"] .text-lg-end { text-align: left !important; }
[dir="rtl"] .text-lg-start { text-align: right !important; }

/* navbar */
[dir="rtl"] .navbar-brand .me-2 { margin-right:0 !important; margin-left:.5rem !important; }

/* breadcrumb separator */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: .5rem;
    content: "\\";
}

/* page-hero edge — عكس الزاوية */
[dir="rtl"] .page-hero-edge {
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

/* service-number-badge — يسار بدل يمين */
[dir="rtl"] .service-number-badge {
    left: auto;
    right: 20px;
}

/* testimonial quote */
[dir="rtl"] .testimonial-quote {
    left: auto;
    right: 20px;
}

/* border-start → border-end في RTL */
[dir="rtl"] .border-start {
    border-left: 0 !important;
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

/* ticker — اتجاه عكسي للعربية */
[dir="rtl"] .ticker {
    animation: marquee-rtl 25s linear infinite;
}
@keyframes marquee-rtl {
    0%   { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* footer text align */
[dir="rtl"] .footer-brand { text-align: right; }

/* input group — عكس الأزرار */
[dir="rtl"] .input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-radius: 0 .375rem .375rem 0 !important;
}
[dir="rtl"] .input-group > :last-child {
    border-radius: .375rem 0 0 .375rem !important;
}

/* process steps connector */
[dir="rtl"] .process-step + .process-step::before {
    left: auto;
    right: -50%;
}

/* hero buttons gap */
[dir="rtl"] .hero-btn-group { direction: rtl; }

/* contact hours justify */
[dir="rtl"] .d-flex.justify-content-between span:last-child {
    text-align: left;
}

/* social links direction */
[dir="rtl"] .d-flex.gap-3 > .social-link { direction: ltr; }

/* form labels */
[dir="rtl"] .form-label { text-align: right; width: 100%; }

/* why-card icons */
[dir="rtl"] .why-card .fa-solid { margin-right: 0; }

/* ══════════════════════════════════════════════════════════════════
   JDR LUXURY AUTHENTICATION (LOGIN & REGISTER)
   ══════════════════════════════════════════════════════════════════ */

.auth-wrapper {
    background: radial-gradient(circle at 50% 0%, #171f2e 0%, #090d14 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(245, 158, 11, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.auth-card {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 158, 11, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.auth-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 45px rgba(245, 158, 11, 0.18);
}

.auth-gold-bar {
    height: 4px;
    background: linear-gradient(90deg, #F59E0B 0%, #FFB800 50%, #D97706 100%);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.auth-brand-box {
    background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%);
    color: #000;
    font-weight: 900;
    font-size: 0.95rem;
    padding: 6px 10px;
    letter-spacing: 2px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    flex-shrink: 0;
}

.auth-brand-title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.auth-brand-sub {
    color: #F59E0B;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: #94A3B8;
    font-size: 0.86rem;
    margin-bottom: 0;
}

.auth-label {
    color: #E2E8F0;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    display: block;
}

.auth-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
    transition: all 0.25s ease;
}

.auth-input::placeholder {
    color: #64748B !important;
    font-size: 0.85rem;
}

.auth-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #F59E0B !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2) !important;
    color: #FFFFFF !important;
}

.auth-toggle-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-left: none !important;
    color: #94A3B8 !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 0 1rem;
}

.auth-toggle-btn:hover {
    color: #F59E0B !important;
}

[dir="rtl"] .auth-toggle-btn {
    border-left: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-right: none !important;
    border-radius: 10px 0 0 10px !important;
}

.auth-checkbox {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.auth-checkbox:checked {
    background-color: #F59E0B;
    border-color: #F59E0B;
}

.auth-btn {
    background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
    border: none !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    padding: 0.85rem 1.25rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.auth-link {
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #FFB800 !important;
    text-decoration: underline !important;
}

.auth-card-footer {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =====================================================
   RESPONSIVE & MOBILE POLISH (PHONES & TABLETS)
   ===================================================== */
img, svg, video, iframe {
    max-width: 100% !important;
}

.about-exp-badge {
    position: absolute;
    bottom: -25px;
    z-index: 5;
}

[dir="rtl"] .about-exp-badge {
    left: 0;
}

[dir="ltr"] .about-exp-badge {
    right: 0;
}

@media (max-width: 991.98px) {
    .display-1 { font-size: calc(1.75rem + 1.8vw) !important; }
    .display-2 { font-size: calc(1.6rem + 1.5vw) !important; }
    .display-3 { font-size: calc(1.4rem + 1.2vw) !important; }
    .display-4 { font-size: calc(1.25rem + 1vw) !important; }
    .display-5 { font-size: calc(1.15rem + 0.8vw) !important; }
    .display-6 { font-size: calc(1.05rem + 0.6vw) !important; }

    .page-hero {
        min-height: 40vh !important;
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .hero-title {
        font-size: 2.3rem !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 0.95rem;
    }

    /* Prevent text overflowing small viewports */
    h1, h2, h3, h4, h5, h6, .brand-font {
        letter-spacing: 0.5px !important;
    }

    .display-1 { font-size: 2.0rem !important; line-height: 1.2 !important; }
    .display-2 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    .display-3 { font-size: 1.55rem !important; line-height: 1.25 !important; }
    .display-4 { font-size: 1.35rem !important; line-height: 1.3 !important; }
    .display-5 { font-size: 1.22rem !important; line-height: 1.35 !important; }
    .display-6 { font-size: 1.12rem !important; line-height: 1.35 !important; }

    /* Hero section spacing */
    .page-hero {
        min-height: 35vh !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 1rem !important;
    }

    /* Padding adjustments for mobile cards */
    .p-5 {
        padding: 1.5rem !important;
    }

    .p-4 {
        padding: 1.15rem !important;
    }

    /* About Experience Badge on Mobile: place cleanly inside card without negative protrusion */
    .about-exp-badge {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: -25px !important;
        margin-bottom: 20px !important;
        margin-inline-start: 10px !important;
        width: auto !important;
        max-width: 190px !important;
        display: inline-block !important;
    }

    /* Mobile Navbar */
    .navbar {
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    .navbar-brand .fs-4 {
        font-size: 1.15rem !important;
    }

    .lang-switch-btn {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* Ticker items on mobile */
    .ticker-item {
        font-size: 0.85rem !important;
        padding: 0 1.2rem !important;
    }

    /* Filter buttons on Projects page */
    .filter-btn {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.7rem !important;
    }

    /* Modal Gallery adjustments */
    .modal-dialog {
        margin: 0.5rem !important;
    }

    .modal-body {
        padding: 1rem !important;
    }
}

/* =====================================================
   STICKY NAVBAR ON SCROLL (KONSTRUKTION WHITE THEME)
   ===================================================== */
.site-navbar,
nav.navbar.sticky-top,
.konstruk-navbar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #ebebeb !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease !important;
}

.site-navbar.scrolled,
nav.navbar.sticky-top.scrolled,
.konstruk-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* =====================================================
   SCROLL TO TOP BUTTON
   ===================================================== */
.jdr-back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    z-index: 9999 !important;
    width: 48px !important;
    height: 48px !important;
    background-color: var(--jdr-yellow) !important;
    color: var(--jdr-black) !important;
    border: 2px solid var(--jdr-black) !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
    outline: none !important;
}

.jdr-back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.jdr-back-to-top:hover {
    background-color: var(--jdr-black) !important;
    color: var(--jdr-yellow) !important;
    border-color: var(--jdr-yellow) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(247, 181, 0, 0.45) !important;
}

[dir="rtl"] .jdr-back-to-top {
    left: 25px !important;
    right: auto !important;
}

[dir="ltr"] .jdr-back-to-top {
    right: 25px !important;
    left: auto !important;
}

@media (max-width: 767.98px) {
    .jdr-back-to-top {
        bottom: 20px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.05rem !important;
    }
    [dir="rtl"] .jdr-back-to-top { left: 15px !important; }
    [dir="ltr"] .jdr-back-to-top { right: 15px !important; }
}

/* ==========================================================================
   KONSTRUKTION NAVBAR & MEGA-MENU (MATCHING REFERENCE THEME)
   ========================================================================== */

.konstruk-navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #ebebeb !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important;
}

.konstruk-navbar.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07) !important;
}

.konstruk-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.konstruk-brand {
    padding: 0.5rem 0;
    margin-inline-end: 2rem;
}

.konstruk-logo {
    height: 44px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    filter: none !important;
}

/* ── Desktop Nav Links ── */
.konstruk-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.konstruk-nav-item {
    position: relative;
}

.konstruk-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a !important;
    padding: 1.85rem 1.15rem !important;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

/* Golden underline accent matching JDR theme */
.konstruk-nav-link::after {
    content: '';
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 28px;
    height: 2px;
    background-color: var(--jdr-yellow);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.konstruk-nav-link:hover::after,
.konstruk-nav-link.active::after,
.konstruk-nav-item:hover > .konstruk-nav-link::after,
.konstruk-nav-item.is-hover-open > .konstruk-nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

.konstruk-nav-link:hover,
.konstruk-nav-item:hover > .konstruk-nav-link,
.konstruk-nav-item.is-hover-open > .konstruk-nav-link {
    color: #000000 !important;
}

/* ── 1. HOME: Simple Dropdown ── */
.konstruk-dropdown-simple {
    position: relative;
}

.konstruk-simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.5rem;
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1050;
    text-align: left;
    direction: ltr;
}

[dir="rtl"] .konstruk-dropdown-simple .konstruk-simple-dropdown,
[dir="rtl"] .konstruk-simple-dropdown,
body.rtl-body .konstruk-dropdown-simple .konstruk-simple-dropdown,
body.rtl-body .konstruk-simple-dropdown,
html[dir="rtl"] .konstruk-dropdown-simple .konstruk-simple-dropdown,
html[dir="rtl"] .konstruk-simple-dropdown {
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Hover Bridge for smooth pointer travel */
.konstruk-simple-dropdown::before,
.konstruk-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
    z-index: 10;
}

.konstruk-simple-dropdown .dropdown-item {
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.55rem 0;
    color: #374151;
    background: transparent !important;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
    text-align: left;
}

[dir="rtl"] .konstruk-simple-dropdown .dropdown-item,
body.rtl-body .konstruk-simple-dropdown .dropdown-item,
html[dir="rtl"] .konstruk-simple-dropdown .dropdown-item {
    text-align: right !important;
    direction: rtl !important;
}

.konstruk-simple-dropdown .dropdown-item:hover,
.konstruk-simple-dropdown .dropdown-item.active-variant {
    color: var(--jdr-yellow) !important;
    transform: translateX(4px);
}

[dir="rtl"] .konstruk-simple-dropdown .dropdown-item:hover,
[dir="rtl"] .konstruk-simple-dropdown .dropdown-item.active-variant,
body.rtl-body .konstruk-simple-dropdown .dropdown-item:hover,
body.rtl-body .konstruk-simple-dropdown .dropdown-item.active-variant,
html[dir="rtl"] .konstruk-simple-dropdown .dropdown-item:hover,
html[dir="rtl"] .konstruk-simple-dropdown .dropdown-item.active-variant {
    color: var(--jdr-yellow) !important;
    transform: translateX(-4px) !important;
}

/* ── 2. MEGA MENUS (Desktop) ── */
@media (min-width: 992px) {
    .konstruk-mega-parent {
        position: static !important;
    }

    .konstruk-mega-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        padding: 3.25rem 0;
        display: none;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.25s ease-out, transform 0.25s ease-out;
        z-index: 1050;
        pointer-events: none;
    }

    .konstruk-mega-parent:hover .konstruk-mega-dropdown,
    .konstruk-mega-parent.is-hover-open .konstruk-mega-dropdown,
    .konstruk-dropdown-simple:hover .konstruk-simple-dropdown,
    .konstruk-dropdown-simple.is-hover-open .konstruk-simple-dropdown {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

/* ── Mega Menu Items (Columns 1 & 2) ── */
.konstruk-mega-item {
    display: block;
    text-decoration: none;
    margin-bottom: 1.85rem;
    transition: transform 0.2s ease;
}

.konstruk-mega-item:last-child {
    margin-bottom: 0;
}

.konstruk-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.konstruk-mega-item:hover .konstruk-item-title {
    color: var(--jdr-yellow) !important;
}

.konstruk-item-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ── Column 2: Latest Projects (WORK Mega Menu) ── */
.konstruk-projects-col {
    display: flex;
    flex-direction: column;
}

.konstruk-col-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

.konstruk-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0.75rem 0;
    width: 100%;
}

.konstruk-project-row {
    display: block;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: transform 0.2s ease;
}

.konstruk-proj-category {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.konstruk-proj-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.konstruk-project-row:hover .konstruk-proj-name {
    color: var(--jdr-yellow) !important;
}

/* ── Column 3: Banner Images ── */
.konstruk-banner-wrapper {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 440px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.konstruk-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.konstruk-banner-wrapper:hover .konstruk-banner-img {
    transform: scale(1.03);
}

/* ── RTL Mega Menu Alignment ── */
[dir="rtl"] .konstruk-mega-dropdown,
body.rtl-body .konstruk-mega-dropdown,
html[dir="rtl"] .konstruk-mega-dropdown {
    direction: rtl !important;
    text-align: right !important;
}

[dir="rtl"] .konstruk-mega-item,
[dir="rtl"] .konstruk-item-title,
[dir="rtl"] .konstruk-item-desc,
[dir="rtl"] .konstruk-projects-col,
[dir="rtl"] .konstruk-col-label,
[dir="rtl"] .konstruk-proj-category,
[dir="rtl"] .konstruk-proj-name,
body.rtl-body .konstruk-mega-item,
body.rtl-body .konstruk-item-title,
body.rtl-body .konstruk-item-desc,
body.rtl-body .konstruk-projects-col,
body.rtl-body .konstruk-col-label,
body.rtl-body .konstruk-proj-category,
body.rtl-body .konstruk-proj-name,
html[dir="rtl"] .konstruk-mega-item,
html[dir="rtl"] .konstruk-item-title,
html[dir="rtl"] .konstruk-item-desc,
html[dir="rtl"] .konstruk-projects-col,
html[dir="rtl"] .konstruk-col-label,
html[dir="rtl"] .konstruk-proj-category,
html[dir="rtl"] .konstruk-proj-name {
    text-align: right !important;
}

/* ── Right-Side Controls (Search, Lang, Get In Touch) ── */
.konstruk-icon-btn {
    background: transparent !important;
    border: none !important;
    color: #111827 !important;
    font-size: 1.15rem;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.konstruk-icon-btn:hover {
    color: var(--jdr-yellow) !important;
}

.konstruk-lang-btn {
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 3px !important;
    padding: 0.4rem 0.8rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.konstruk-lang-btn:hover {
    border-color: #111827 !important;
    background-color: #f9fafb !important;
}

.konstruk-get-in-touch-btn {
    background-color: #111827 !important;
    color: #ffffff !important;
    border: 1px solid #111827 !important;
    border-radius: 2px !important;
    padding: 0.65rem 1.35rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.konstruk-get-in-touch-btn .cta-dots {
    color: var(--jdr-yellow);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.konstruk-get-in-touch-btn:hover {
    background-color: var(--jdr-yellow) !important;
    border-color: var(--jdr-yellow) !important;
    color: #000000 !important;
}

.konstruk-get-in-touch-btn:hover .cta-dots {
    color: #000000 !important;
}

/* ── Mobile Navigation Drawer ── */
.mobile-nav-drawer {
    width: 340px !important;
    max-width: 88vw !important;
    background-color: #ffffff !important;
}

.mobile-nav-drawer .accordion-button {
    font-size: 0.95rem;
    color: #111827;
    background-color: #ffffff;
    box-shadow: none !important;
    padding: 1rem 0;
}

.mobile-nav-drawer .accordion-button:not(.collapsed) {
    color: var(--jdr-yellow);
    background-color: #ffffff;
}

.mobile-nav-drawer .accordion-body a {
    color: #374151;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.mobile-nav-drawer .accordion-body a:hover {
    color: var(--jdr-yellow);
}

/* ── 2. GET IN TOUCH OFFCANVAS DRAWER ── */
.jdr-offcanvas {
    background-color: #121417 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
    width: 440px !important;
    max-width: 92vw !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.7);
}

.jdr-offcanvas-header {
    background-color: #0b0d0e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1.75rem;
}

.jdr-offcanvas-body {
    padding: 1.75rem;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--jdr-yellow) rgba(255, 255, 255, 0.05);
}

.jdr-offcanvas-body::-webkit-scrollbar {
    width: 6px;
}
.jdr-offcanvas-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.jdr-offcanvas-body::-webkit-scrollbar-thumb {
    background: var(--jdr-yellow);
    border-radius: 4px;
}
.jdr-offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: #ffaa00;
}

.contact-pill {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    transition: all 0.25s ease;
    text-decoration: none;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-pill:hover {
    border-color: var(--jdr-yellow);
    background-color: rgba(247, 181, 0, 0.08);
    transform: translateY(-2px);
}

/* ── 3. HERO SLIDER PROGRESS & KINETIC TEXT ── */
/* Hide slider navigation arrows - Autoplay only */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display: none !important;
}

.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.hero-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--jdr-yellow);
    transition: width linear;
}

/* Rotating Kinetic Words */
.kinetic-rotator {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    color: var(--jdr-yellow);
    font-weight: 800;
    min-width: 240px;
    height: 1.25em;
    overflow: hidden;
}

.kinetic-rotator-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.kinetic-rotator-item.active {
    opacity: 1;
    transform: translateY(0);
}

.kinetic-rotator-item.leaving {
    opacity: 0;
    transform: translateY(-100%);
}

/* Hero Staggered Animation on Slide Active */
.swiper-slide-active .hero-tag-animate {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.swiper-slide-active .hero-title-animate {
    animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.swiper-slide-active .hero-desc-animate {
    animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.swiper-slide-active .hero-btn-animate {
    animation: slideUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── 4. LEADERSHIP CAROUSEL (MEET OUR LEADERSHIP) ── */
.leadership-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.leader-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--jdr-yellow);
}

.leader-img-wrapper {
    height: 380px;
    position: relative;
    background-color: #171a1c;
    overflow: hidden;
}

.leader-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-card:hover .leader-img-wrapper img {
    transform: scale(1.06);
}

.leader-card .leader-quote {
    font-style: italic;
    color: #4b5563;
    position: relative;
    padding-inline-start: 1rem;
    border-inline-start: 3px solid var(--jdr-yellow);
    margin-top: 1rem;
}

/* ── CHAIRMAN & FOUNDER SPOTLIGHT CARD ── */
.leader-card-chairman {
    border-radius: 12px;
    background: #ffffff;
    border: 2.5px solid var(--jdr-yellow) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08), 0 0 25px rgba(255, 193, 7, 0.18) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.leader-card-chairman:hover {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14), 0 0 35px rgba(255, 193, 7, 0.35) !important;
    transform: translateY(-6px);
}

/* ── EXECUTIVE LEADERSHIP CARD ── */
.leader-card-executive {
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.leader-card-executive:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    transform: translateY(-4px);
    border-color: #d1d5db;
}

.leadership-nav-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.leadership-nav-btn:hover {
    background: var(--jdr-yellow);
    border-color: var(--jdr-yellow);
    color: #000000;
}

/* ── 5. INTERACTIVE PROJECT BUILDER (BUILD A PROJECT WITH US) ── */
.project-builder-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.project-builder-step.active {
    display: block;
}

.project-type-card {
    background: #17191d;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    position: relative;
}

.project-type-card:hover {
    border-color: rgba(247, 181, 0, 0.5);
    transform: translateY(-3px);
}

.project-type-card.selected {
    border-color: var(--jdr-yellow);
    background: rgba(247, 181, 0, 0.08);
}

.project-type-card .check-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: all 0.2s ease;
}

[dir="rtl"] .project-type-card .check-indicator {
    right: auto;
    left: 1rem;
}

.project-type-card.selected .check-indicator {
    border-color: var(--jdr-yellow);
    background: var(--jdr-yellow);
    color: #000000;
}

.step-indicator-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-indicator-segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.step-indicator-segment.active {
    background: var(--jdr-yellow);
}

/* ── 6. KINETIC SCROLL REVEAL TEXT ── */
.kinetic-reveal {
    overflow: hidden;
}

.kinetic-reveal-inner {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
}

.kinetic-reveal.is-revealed .kinetic-reveal-inner {
    transform: translateY(0);
    opacity: 1;
}

/* ── 7. REFINED PROJECT CARD HOVER ── */
.jdr-hover-box .img-wrapper img {
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.jdr-hover-box:hover .img-wrapper img {
    transform: scale(1.08);
}

.jdr-hover-box .project-plus-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--jdr-yellow);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.jdr-hover-box:hover .project-plus-btn {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(247, 181, 0, 0.6);
}

/* ── 8. SECTION ANCHORS FOCUS & SCROLL ── */
#consultation-section,
#hero,
#architecture,
#renovation,
#capabilities,
#projects,
#leadership,
#quote,
#vision,
#mission,
#story,
#founder,
#values,
#why-us,
#clients,
#future,
#certifications,
#awards,
section[id],
.jdr-scroll-anchor {
    scroll-margin-top: 95px;
}




/* ==========================================================================
   9. FOOTER SOCIAL MEDIA ICONS (PREMIUM STYLING)
   ========================================================================== */
.footer-social-wrapper {
    margin-top: 1.15rem;
}

.footer-social-title {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1 !important;
    font-size: 1.2rem;
    text-decoration: none !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-social-btn.footer-social-btn-sm {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #ffffff !important;
}

/* Instagram */
.footer-social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.5) !important;
}

/* Facebook */
.footer-social-btn.facebook:hover {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5) !important;
}

/* WhatsApp */
.footer-social-btn.whatsapp:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
}

.hover-text-warning {
    transition: color 0.2s ease;
}

.hover-text-warning:hover {
    color: var(--jdr-yellow) !important;
}

/* ==========================================================================
   KONSTRUKTION MOTION DYNAMICS & ANIMATION STYLES
   ========================================================================== */

/* ── 1. Navbar Scrolled Shrink Transition ── */
.konstruk-nav-container {
    transition: min-height 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.konstruk-navbar.scrolled .konstruk-nav-container {
    min-height: 68px !important;
}

/* ── 2. Curtain Image Reveal (Konstruktion Mask Wipe Effect) ── */
.curtain-reveal {
    position: relative;
    overflow: hidden;
}

.curtain-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--jdr-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 3;
    pointer-events: none;
}

.curtain-reveal.is-revealed::after {
    animation: curtainWipe 0.85s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.curtain-reveal img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.curtain-reveal.is-revealed img {
    transform: scale(1) !important;
}

@keyframes curtainWipe {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    51% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

/* ── 3. Kinetic Heading Reveal ── */
.kinetic-heading {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* ── 4. Card Lift & Hover Effects ── */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-lift:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

.project-card:hover img {
    transform: scale(1.06) !important;
}

.project-gallery-item:hover img {
    transform: scale(1.08) !important;
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.project-nav-link {
    transition: transform 0.25s ease;
}

.project-nav-link:hover {
    transform: translateY(-2px);
}

/* ── 5. Service Sidebar Navigation Styling ── */
.service-nav-list .list-group-item {
    transition: all 0.25s ease;
    font-size: 0.95rem;
    color: #1f2937;
}

.service-nav-list .list-group-item:hover:not(.active) {
    background-color: #f3f4f6 !important;
    transform: translateX(4px);
    color: var(--jdr-yellow) !important;
}

[dir="rtl"] .service-nav-list .list-group-item:hover:not(.active) {
    transform: translateX(-4px) !important;
}

/* ── 6. Smooth Scroll (Lenis integration) ── */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ==========================================================================
   10. SPLIT-TEXT KINETIC WORD-BY-WORD REVEAL (KONSTRUKTION MATCH)
   ========================================================================== */
.split-reveal {
    display: block;
    position: relative;
}

.split-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-inline-end: 0.28em;
    padding-bottom: 0.12em;
    line-height: 1.15;
}

.split-word {
    display: inline-block;
    transform: translate3d(0, 115%, 0);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.split-reveal.is-inview .split-word {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Optional Chamfered Accent on kinetic reveal */
.kinetic-reveal-inner {
    position: relative;
    display: inline-block;
}

/* ==========================================================================
   12. BLUEPRINT ARCHITECTURAL GRID & FLOATING GEOMETRY PARALLAX
   ========================================================================== */
.jdr-blueprint-grid {
    position: relative;
}

.jdr-blueprint-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 193, 7, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 193, 7, 0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
    z-index: 1;
}

.jdr-blueprint-grid.grid-dark::before {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.jdr-floating-geometry {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.jdr-floating-geometry.geo-dashed-circle {
    width: 340px;
    height: 340px;
    border: 1.5px dashed var(--jdr-yellow);
    border-radius: 50%;
}

.jdr-floating-geometry.geo-square-bracket {
    width: 140px;
    height: 140px;
    border-inline-start: 2px solid var(--jdr-yellow);
    border-top: 2px solid var(--jdr-yellow);
}

.jdr-floating-geometry.geo-crosshair {
    width: 32px;
    height: 32px;
    background:
        linear-gradient(to right, transparent 14px, var(--jdr-yellow) 14px, var(--jdr-yellow) 18px, transparent 18px),
        linear-gradient(to bottom, transparent 14px, var(--jdr-yellow) 14px, var(--jdr-yellow) 18px, transparent 18px);
}


