:root {
    --bg-color: #F4F4F5;
    --surface: #FFFFFF;
    --text-main: #09090B;
    --text-muted: #71717A;
    /* AA (≥4.5:1) on --bg-color / --surface — use for body copy on light sections. */
    --text-muted-strong: #52525B;
    --gold: #D4AF37;
    /* AA (≥4.5:1) on light backgrounds; keep --gold for fills and dark surfaces. */
    --gold-text: #7A6518;
    --navy: #0D1B2A;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-pill: 100px;
    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-en: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-ar);
    background-color: var(--bg-color);
    color: var(--text-main);
    direction: inherit;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[dir="ltr"] body {
    font-family: var(--font-en);
}

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

ul {
    list-style: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.en-font {
    font-family: var(--font-en);
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 0;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 14px;
    color: var(--gold-text);
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-subtitle::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--text-main);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: top;
}

.loader-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transform: scale(0.8);
    opacity: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92vw;
    max-width: 1200px;
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 32px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-cta {
    background: var(--text-main);
    color: var(--surface);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--text-main);
    transform: scale(1.05);
}

/* Mobile Burger Button */
.nav-burger {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-main);
    color: var(--surface);
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-burger:hover {
    background: var(--gold);
    color: var(--text-main);
}

/* Mobile Bottom Sheet */
.mobile-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    z-index: 1999;
    padding: 16px 28px 40px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-sheet.active {
    transform: translateY(0);
}

.mobile-sheet-handle {
    width: 44px;
    height: 5px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-pill);
    margin: 0 auto 28px;
}

.mobile-sheet-links {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.mobile-sheet-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-sheet-links li:last-child {
    border-bottom: none;
}

.mobile-sheet-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
}

.mobile-sheet-links a i {
    color: var(--gold);
    font-size: 14px;
    opacity: 0.6;
}

.mobile-sheet-links a.active,
.mobile-sheet-links a:hover {
    color: var(--gold);
    padding-right: 12px;
}

.mobile-sheet-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--text-main);
    color: var(--surface);
    padding: 18px 28px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 16px;
}

/* IMMERSIVE HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    /* Solid first paint so LCP/FCP have a visible candidate before the image decodes. */
    background-color: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, rgba(9, 9, 11, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--surface);
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(40px, 5vw, 90px);
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    /* Intentional LCP text candidate — never fade/transform this node. */
    opacity: 1;
    visibility: visible;
}

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

.hero-desc {
    font-size: clamp(16px, 1.5vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-hero {
    background: var(--gold);
    color: var(--navy);
    padding: 18px 40px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-hero:hover {
    background: #fff;
    transform: scale(1.05);
}

/* BENTO GRID REVISED */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: translateY(-8px);
}

.bento-wide {
    grid-column: span 2;
}

.bento-item.dark {
    background: var(--navy);
    color: var(--surface);
}

.bento-item.gold {
    background: var(--gold);
    color: var(--text-main);
}

.bento-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bento-img img {
    transition: transform 0.8s ease;
}

.bento-item:hover .bento-img img {
    transform: scale(1.05);
}

.bento-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(13, 27, 42, 0.98) 30%, rgba(13, 27, 42, 0.2) 100%);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.dark .bento-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.bento-item h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 16px;
}

.dark p {
    color: rgba(255, 255, 255, 0.7);
}

.stat-num {
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-en);
    margin-bottom: 8px;
    color: var(--text-main);
}

.dark .stat-num {
    color: var(--surface);
}

/* EXPANDING CARDS SERVICES */
.services-container {
    display: flex;
    height: 600px;
    gap: 20px;
    width: 100%;
}

.service-expand-card {
    flex: 1;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.service-expand-card:hover {
    flex: 4;
}

.service-expand-bg {
    position: absolute;
    inset: 0;
    transition: transform 1s ease;
}

.service-expand-card:hover .service-expand-bg {
    transform: scale(1.05);
}

.service-expand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.9), rgba(9, 9, 11, 0.2));
    transition: background 0.6s ease;
}

.service-expand-card:hover .service-expand-overlay {
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95), transparent);
}

.service-expand-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.service-expand-content h3 {
    font-size: 32px;
    white-space: nowrap;
    margin-bottom: 12px;
    transform: rotate(-90deg) translateX(40px);
    transform-origin: left bottom;
    transition: 0.6s ease;
    width: max-content;
}

.service-expand-card:hover .service-expand-content h3 {
    transform: rotate(0) translateX(0);
    white-space: normal;
    color: var(--gold);
}

.service-expand-desc {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.service-expand-card:hover .service-expand-desc {
    opacity: 1;
    max-height: 200px;
    margin-top: 16px;
}

/* Why Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--surface);
    padding: 48px 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--navy);
    color: var(--surface);
    transform: translateY(-10px);
}

.why-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.why-card p {
    color: var(--text-muted);
    transition: var(--transition);
}

.why-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.why-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 24px;
}

/* Horizontal Projects */
.horizontal-scroll-wrap {
    padding: 120px 0;
    background: var(--navy);
    color: var(--surface);
}

.projects-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 4vw 40px 4vw;
}

.carousel-arrow-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--surface);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.carousel-arrow-btn:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.carousel-arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.horizontal-scroll-container {
    display: flex;
    gap: 40px;
    padding: 0 4vw 40px 4vw;
    width: 100%;
    /* overflow stays visible until .is-hscroll — RTL overflow:auto on first
       layout fires PaintTimingDetector::NotifyScroll and yields NO_LCP. */
    overflow-x: visible;
    scroll-snap-type: none;
    user-select: none;
}
.horizontal-scroll-container.is-hscroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}
.horizontal-scroll-container.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.horizontal-scroll-container.dragging .project-card {
    pointer-events: none;
}

.project-card {
    flex: 0 0 auto;
    width: 600px;
    height: 60vh;
    min-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}

.project-card img {
    transition: transform 1s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.95), transparent);
}

.project-tag {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 40px;
    margin-bottom: 12px;
}

.project-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.project-cta-card {
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
}

.project-cta-title {
    color: #000;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.project-cta-btn {
    background: #000;
    color: #fff;
    font-size: 20px;
    padding: 20px 40px;
}

/* Premium Partners Grid */
.partners-section {
    padding: 120px 0;
    background: var(--bg-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.partner-box {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.partner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.partner-box img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition);
}

.partner-box:hover img {
    filter: grayscale(0) opacity(1);
}

.partner-box i {
    font-size: 30px;
    color: var(--text-muted-strong);
    transition: var(--transition);
}

.partner-box span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted-strong);
    line-height: 1.5;
}

.partner-box:hover i {
    color: var(--gold);
    transform: scale(1.1);
}

.partner-box:hover span {
    color: var(--text-main);
}

/* Footer */
.footer {
    background: var(--text-main);
    color: var(--surface);
    padding: 120px 0 40px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 100px;
}

.big-text {
    font-size: clamp(60px, 12vw, 200px);
    font-weight: 900;
    line-height: 0.8;
    text-align: center;
    color: var(--gold);
    margin-bottom: 80px;
    text-transform: uppercase;
    font-family: var(--font-en);
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .big-text {
        font-size: 14vw;
        letter-spacing: -1px;
        margin-bottom: 50px;
    }
}

@media (max-width: 380px) {
    .big-text {
        font-size: 13vw;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.footer-links .footer-heading {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--gold);
    font-weight: 700;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    transition: var(--transition);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--surface);
    padding-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

/* Split Section for About Us */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.split-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(1);
    transition: var(--transition);
}

.split-image:hover {
    filter: grayscale(0);
    transform: scale(1.02);
}

.split-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.split-text p {
    margin-bottom: 20px;
}

.split-author .split-author-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.split-author p {
    color: var(--gold);
    font-weight: 700;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--text-main);
    border: 3px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--text-main);
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-4px) scale(1.05);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 46px;
        height: 46px;
        font-size: 15px;
    }
}

/* Shared Custom Select */
.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    cursor: pointer;
    padding-left: 44px !important;
    background-image: none !important;
}

.select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--gold);
    pointer-events: none;
    transition: var(--transition);
}

.select-wrap:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-wrap select option {
    background: var(--surface);
    color: var(--text-main);
}

/* Shared Form Submit Button */
.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--gold);
    color: var(--text-main);
    font-family: var(--font-ar);
    border: none;
    padding: 20px 40px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--navy);
    color: #fff;
    transform: scale(1.02);
}

.form-submit-btn:active {
    transform: scale(0.98);
}

/* Reusable Dark CTA Card */
.cta-dark-card {
    padding: 70px;
    text-align: center;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .cta-dark-card {
        padding: 40px 24px;
    }
}

/* Draggable / Swipeable Card Rows (mobile) */
.scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .scroll-cards {
        display: flex !important;
        grid-template-columns: unset !important;
        grid-auto-rows: unset !important;
        /* Same LCP rule as .horizontal-scroll-container: no overflow scroller
           until JS adds .is-hscroll after first paint. */
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 16px;
        margin: 0 -4vw;
        padding: 22px 4vw 16px;
        user-select: none;
    }

    .scroll-cards.is-hscroll {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        cursor: grab;
    }

    .scroll-cards::-webkit-scrollbar {
        display: none;
    }

    .scroll-cards.dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }

    .scroll-cards > * {
        flex: 0 0 auto;
        width: 78%;
        max-width: 300px;
        scroll-snap-align: start;
    }

    .scroll-cards.scroll-cards-sm > * {
        width: 58%;
        max-width: 220px;
    }

    .scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 2px;
        margin-bottom: 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--text-muted-strong);
    }

    .scroll-hint i {
        color: var(--gold-text);
        animation: scrollHintMove 1.6s ease-in-out infinite;
    }
}

@keyframes scrollHintMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-6px);
    }
}

/* Shared Process Steps (services + service detail pages) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.process-num {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb i {
    font-size: 10px;
    color: var(--gold);
}

.breadcrumb span {
    color: var(--gold);
    font-weight: 700;
}

/* Service Icon Badge (hero) */
.service-icon-badge {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 28px;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25);
}

/* Feature Checklist */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.feature-item p {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 8px;
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

.why-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    opacity: 0;
    transform: translateX(8px);
    transition: var(--transition);
}

.why-card:hover .why-card-link {
    opacity: 1;
    transform: translateX(0);
}

/* Related Services Row */
.related-service-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.related-service-card:hover {
    background: var(--text-main);
    transform: translateY(-4px);
}

.related-service-card:hover h4,
.related-service-card:hover i:last-child {
    color: var(--gold);
}

.related-service-card .related-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.related-service-card h4 {
    font-size: 16px;
    color: var(--text-main);
    transition: var(--transition);
    flex: 1;
}

.related-service-card > i:last-child {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

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

@media (max-width: 900px) {
    .related-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Removed Arch Timeline CSS */

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .project-card {
        width: 500px;
    }

    .services-container {
        flex-direction: column;
        height: 800px;
    }

    .service-expand-content h3 {
        transform: none;
        white-space: normal;
        width: 100%;
        font-size: 24px;
    }

    .service-expand-content {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-arrow-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .project-card {
        width: 82vw;
        height: 50vh;
        min-height: 320px;
    }

    .horizontal-scroll-container {
        gap: 16px;
    }

    .projects-carousel-nav {
        padding: 0 4vw 24px 4vw;
    }

    .project-info {
        padding: 32px 24px;
    }

    .project-card h3 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .project-card p {
        font-size: 14px;
    }

    .project-tag {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }

    .project-cta-card {
        padding: 24px;
    }

    .project-cta-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .project-cta-btn {
        font-size: 15px;
        padding: 14px 24px;
    }

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

    .bento-wide {
        grid-column: span 1;
    }

    .nav-links {
        display: none;
    }

    .navbar .nav-cta {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .navbar {
        padding: 0 8px 0 20px;
    }

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

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

    .split-timeline {
        flex-direction: column;
    }
    .split-timeline-left {
        width: 100% !important;
        height: 300px !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 40px;
    }
    .split-timeline-right {
        width: 100% !important;
        padding-bottom: 40px !important;
    }
    .timeline-step {
        min-height: auto !important;
        margin-bottom: 60px;
        opacity: 1 !important;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}