/* ============================================
   RAMA-HEAVY HAUL — Immersive Design System
   Glass · Bento · Sophisticated Scroll
   ============================================ */

:root {
    --primary: #061a2e;
    --primary-mid: #0a2f4d;
    --accent: #1a9fd9;
    --highlight: #e15e04;
    --highlight-soft: rgba(225, 94, 4, 0.18);
    --text: #0d1b26;
    --text-muted: #5a6d7d;
    --text-on-dark: #e8eef4;
    --bg: #f0f4f8;
    --bg-elevated: #ffffff;
    --bg-dark: #061a2e;
    --bg-mesh: radial-gradient(ellipse 80% 60% at 10% 20%, rgba(26, 159, 217, 0.12), transparent 55%),
               radial-gradient(ellipse 70% 50% at 90% 10%, rgba(225, 94, 4, 0.10), transparent 50%),
               radial-gradient(ellipse 60% 40% at 50% 100%, rgba(7, 46, 78, 0.08), transparent 45%),
               linear-gradient(180deg, #e8eef4 0%, #f5f8fb 50%, #eef3f7 100%);
    --glass: rgba(255, 255, 255, 0.12);
    --glass-strong: rgba(255, 255, 255, 0.55);
    --glass-dark: rgba(6, 26, 46, 0.55);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --blur: 18px;
    --font-display: 'Cairo', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 8px 32px rgba(6, 26, 46, 0.08);
    --shadow-lg: 0 24px 64px rgba(6, 26, 46, 0.16);
    --radius: 16px;
    --radius-lg: 28px;
    --radius-sm: 10px;
    --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 76px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-mesh);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--highlight); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--primary);
}

.hero-brand,
.btn,
.nav-link,
.section-label,
.section-title,
.service-card-num,
.service-card-tag,
.marquee-track span {
    font-family: var(--font-display);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent { color: var(--highlight); }

/* ---- Scroll progress ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transform-origin: left;
    pointer-events: none;
}

/* ---- Glass ---- */
.glass {
    background: var(--glass-strong);
    backdrop-filter: blur(var(--blur)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.glass-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(var(--blur)) saturate(1.3);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(1.3);
    border: 1px solid var(--glass-border-dark);
}

/* ---- Section chrome ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--highlight);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--highlight);
}

.section-label--light { color: rgba(255, 255, 255, 0.75); }
.section-label--light::before { background: var(--highlight); }

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

.section-title--light { color: var(--text-on-dark); }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }

.section {
    padding: clamp(72px, 10vw, 120px) 0;
    position: relative;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
}

.section-desc.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-cta.center { text-align: center; margin-top: 40px; }

.lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn > svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, var(--highlight), #c44f03);
    color: #fff;
    box-shadow: 0 10px 28px rgba(225, 94, 4, 0.35);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 14px 36px rgba(225, 94, 4, 0.45);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-dark {
    background: var(--primary);
    color: #fff;
}

.btn-dark:hover { color: #fff; }

.btn-lg { padding: 16px 34px; font-size: 0.95rem; }
.btn-full { width: 100%; }
.btn-header { padding: 10px 20px; font-size: 0.82rem; }

/* ---- Header / glass nav ---- */
.top-bar { display: none; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.header-transparent {
    background: transparent;
}

.site-header.scrolled,
.site-header:not(.header-transparent) {
    background: rgba(6, 26, 46, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.logo-img--color { display: none; }
.logo-img--white { display: block; }

.site-header:not(.header-transparent):not(.scrolled) .logo-img--color { display: none; }
.site-header:not(.header-transparent):not(.scrolled) .logo-img--white { display: block; }

.main-nav { display: flex; align-items: center; gap: 8px; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    padding: 8px 14px;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.lang-switcher--top { display: none; }
.lang-switcher--mobile { display: none; }

.lang-btn {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 8px;
    border-radius: 6px;
}

.lang-btn.active,
.lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.lang-divider { color: rgba(255, 255, 255, 0.25); font-size: 0.7rem; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 26, 46, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

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

/* ---- Immersive Hero ---- */
.hero-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 40px) 0 80px;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img,
.hero-kenburns {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-kenburns {
    animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.12) translate(-2%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(6, 26, 46, 0.45) 0%, rgba(6, 26, 46, 0.25) 40%, rgba(6, 26, 46, 0.88) 100%),
        linear-gradient(90deg, rgba(6, 26, 46, 0.55) 0%, transparent 55%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 20px;
    text-wrap: balance;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34ch;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 42ch;
    margin-bottom: 32px;
}

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

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.hero-scroll-hint span {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, var(--highlight), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Page hero ---- */
.page-hero {
    position: relative;
    min-height: 52svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 48px) 0 64px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero-parallax {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 26, 46, 0.5) 0%, rgba(6, 26, 46, 0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    max-width: 26ch;
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.8); }

/* ---- Bento ---- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 180px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bento-item--lg { grid-column: span 7; min-height: 280px; }
.bento-item--md { grid-column: span 5; min-height: 280px; }
.bento-item--sm { grid-column: span 4; }
.bento-item--wide { grid-column: span 8; }
.bento-item--full { grid-column: span 12; }

.bento-glass {
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento-glass--dark {
    background: rgba(6, 26, 46, 0.72);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bento-glass--dark h3,
.bento-glass--dark h4 { color: #fff; }

.bento-glass p { color: var(--text-muted); font-size: 0.95rem; }
.bento-glass--dark p { color: rgba(255, 255, 255, 0.7); }

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--highlight-soft);
    color: var(--highlight);
    margin-bottom: 8px;
}

.bento-icon svg { width: 22px; height: 22px; }

.bento-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out);
}

.bento-item:hover .bento-media { transform: scale(1.06); }

.bento-media-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 20%, rgba(6, 26, 46, 0.85) 100%);
    color: #fff;
}

.bento-media-content h3 { color: #fff; font-size: 1.35rem; }
.bento-media-content p { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }

/* ---- Features (legacy classes → bento look) ---- */
.features { padding-top: 80px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.feature-card {
    grid-column: span 4;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.feature-card:first-child { grid-column: span 5; }
.feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:nth-child(3) { grid-column: span 4; }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(26, 159, 217, 0.15), rgba(225, 94, 4, 0.12));
    color: var(--primary);
    margin-bottom: 18px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-card-action {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(6, 26, 46, 0.06);
    color: var(--primary);
}

.feature-card-action svg { width: 16px; height: 16px; }

/* ---- About block ---- */
.about-block-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-block-images {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

.about-img-secondary {
    margin-top: 40px;
}

.organic-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.organic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 1s var(--ease-out);
}

.organic-img:hover img { transform: scale(1.04); }

.organic-img--sm img { aspect-ratio: 3/4; }
.organic-img--project img { aspect-ratio: 4/3; }

.experience-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: rgba(6, 26, 46, 0.75);
    backdrop-filter: blur(14px);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.exp-number, .stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-plus, .stat-plus {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--highlight);
    font-weight: 700;
}

.exp-text, .stat-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
    line-height: 1.3;
}

.about-block-content p { color: var(--text-muted); margin-bottom: 1rem; }

.check-list { margin: 20px 0; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--text);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--highlight-soft);
    box-shadow: inset 0 0 0 2px var(--highlight);
}

.skill-bars { margin: 24px 0; }
.skill-bar { margin-bottom: 14px; }
.skill-bar-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-track {
    height: 6px;
    border-radius: 99px;
    background: rgba(6, 26, 46, 0.08);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transition: width 1.4s var(--ease-out);
}

.about-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0 28px;
}

.about-stat { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.about-stat .stat-txt { width: 100%; }

/* ---- Sticky scroll storytelling ---- */
.scroll-story {
    position: relative;
    height: 160vh;
}

.scroll-story-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scroll-story-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.scroll-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 26, 46, 0.88) 0%, rgba(6, 26, 46, 0.45) 100%);
}

.scroll-story-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 520px;
    padding: 48px 0;
}

.scroll-story-content h2 { color: #fff; margin-bottom: 12px; }
.scroll-story-content p { color: rgba(255, 255, 255, 0.75); }

/* ---- Services cards / preview ---- */
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.service-card:hover { transform: translateY(-4px); }

.service-card-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(6, 26, 46, 0.1);
    line-height: 1;
    margin-bottom: 8px;
}

.service-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 12px;
}

.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); flex: 1; font-size: 0.95rem; }

.service-card-link {
    margin-top: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--highlight);
}

/* Horizontal scroll track */
.h-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 8px 24px 24px;
}

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

.h-scroll-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.h-scroll-track > * {
    scroll-snap-align: start;
    width: min(340px, 78vw);
    flex-shrink: 0;
}

/* ---- Why us ---- */
.why-us--dark {
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 159, 217, 0.18), transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(225, 94, 4, 0.12), transparent 45%),
        var(--bg-dark);
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: background var(--transition), transform var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.why-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    color: var(--highlight);
}

.why-icon svg { width: 100%; height: 100%; }

.why-card h4 { color: #fff; margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }

/* ---- Projects ---- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.project-card { border-radius: var(--radius-lg); overflow: hidden; }

.project-img { position: relative; }

.project-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 46, 0.9) 100%);
    color: #fff;
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--highlight);
    margin-bottom: 8px;
}

.project-overlay h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }

.project-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ---- Testimonial ---- */
.testimonial {
    background: transparent;
}

.testimonial-slider {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-slider blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    line-height: 1.45;
    color: var(--primary);
    margin: 20px 0 28px;
}

.testimonial-slider footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-slider footer span { color: var(--text-muted); font-size: 0.9rem; }

/* ---- Blog ---- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-img { position: relative; overflow: hidden; }
.blog-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-date {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(6, 26, 46, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.blog-body { padding: 22px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-body h3 a { color: var(--primary); }
.blog-body h2 { font-size: 1.5rem; margin: 8px 0; }
.blog-body h2 a { color: var(--primary); }
.blog-body p { color: var(--text-muted); }

.blog-cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-card--featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.blog-card--featured .blog-img img { aspect-ratio: 4/3; height: 100%; }

.blog-featured { margin-bottom: 40px; }

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.blog-category-block {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.blog-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.blog-icon { font-size: 1.4rem; }

.blog-category-block li { margin-bottom: 8px; }
.blog-category-block a { color: var(--text); font-size: 0.92rem; }
.blog-category-block a:hover { color: var(--highlight); }

/* ---- Marquee ---- */
.marquee-wrap {
    overflow: hidden;
    padding: 28px 0;
    border-block: 1px solid rgba(6, 26, 46, 0.06);
    background: rgba(255, 255, 255, 0.35);
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--primary);
    white-space: nowrap;
    opacity: 0.55;
}

.marquee-track span::after {
    content: '·';
    margin-left: 48px;
    color: var(--highlight);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- Services page ---- */
.audience-box {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 56px;
    box-shadow: var(--shadow);
}

.audience-box h3 { margin-bottom: 8px; }
.audience-box > p { color: var(--text-muted); margin-bottom: 16px; }

.audience-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 24px;
}

.audience-list li {
    padding-left: 18px;
    position: relative;
    font-size: 0.95rem;
}

.audience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--highlight);
}

.services-full-grid { display: flex; flex-direction: column; gap: 48px; }

.service-full-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.service-full-card.reverse { direction: rtl; }
.service-full-card.reverse > * { direction: ltr; }

.service-full-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.service-full-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-full-body h3 { font-size: 1.5rem; margin: 8px 0 12px; }
.service-full-body p { color: var(--text-muted); margin-bottom: 12px; }

.services-accordion { margin-top: 64px; }

.service-item {
    border-bottom: 1px solid rgba(6, 26, 46, 0.1);
}

.service-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 8px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
}

.service-num {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.9rem;
}

.service-name {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.service-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.service-item.active .service-arrow { transform: rotate(-135deg); }

.service-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out), padding 0.45s;
    padding: 0 8px;
}

.service-item.active .service-panel {
    max-height: 200px;
    padding: 0 8px 22px;
}

.service-panel p { color: var(--text-muted); }

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

.industry-card {
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform var(--transition);
}

.industry-card:hover { transform: translateY(-4px); }

.industry-icon { font-size: 1.8rem; margin-bottom: 12px; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.industry-card p { color: var(--text-muted); font-size: 0.85rem; }

/* ---- About tabs / stats ---- */
.tabs-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}

.tabs-nav {
    display: flex;
    gap: 4px;
    padding: 12px;
    background: rgba(6, 26, 46, 0.04);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
}

.tabs-content { padding: 36px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.tab-panel-img {
    border-radius: var(--radius);
    overflow: hidden;
}

.tab-panel-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.tab-panel-text h3 { margin: 0 0 10px; }
.tab-panel-text h3 + p { margin-bottom: 20px; color: var(--text-muted); }
.tab-panel-text p { color: var(--text-muted); }

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.value-card-sm {
    padding: 22px;
    border-radius: var(--radius-sm);
    background: rgba(6, 26, 46, 0.04);
}

.value-card-sm h4 { margin-bottom: 6px; font-size: 1rem; }
.value-card-sm p { color: var(--text-muted); font-size: 0.9rem; }

.stats-bar {
    background: var(--bg-dark);
    padding: 64px 0;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    color: #fff;
}

.stats-bar-item .stat-num { color: #fff; font-size: 2.6rem; }
.stats-bar-item .stat-txt {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Portfolio ---- */
.portfolio-detail-grid { display: flex; flex-direction: column; gap: 56px; }

.portfolio-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.portfolio-detail.reverse { direction: rtl; }
.portfolio-detail.reverse > * { direction: ltr; }

.portfolio-detail-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portfolio-detail-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.portfolio-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(6, 26, 46, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.portfolio-detail-body h2 { font-size: 1.8rem; margin-bottom: 20px; }
.portfolio-detail-body h4 { margin: 20px 0 10px; }

.portfolio-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.portfolio-meta-grid strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.gallery-info {
    margin-top: 64px;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-tags span {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(6, 26, 46, 0.06);
    font-size: 0.85rem;
    font-weight: 600;
}

.success-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}

.success-card h3 { text-align: center; margin-bottom: 32px; font-size: 1.4rem; }

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

.success-step {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(6, 26, 46, 0.04);
}

.step-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 10px;
}

.success-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 28px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-detail {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--highlight-soft);
    color: var(--highlight);
}

.contact-detail-icon svg { width: 20px; height: 20px; }

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-detail p { color: var(--text-muted); font-size: 0.95rem; }

.contact-form-wrap {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 { margin-bottom: 24px; font-size: 1.35rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(6, 26, 46, 0.12);
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 159, 217, 0.15);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-box {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tech-box p { color: var(--text-muted); margin: 8px 0 16px; }

/* ---- Footer ---- */
.footer-main {
    background: #04121f;
    padding: 64px 0 40px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
    justify-items: start;
    text-align: left;
}

.footer-logo {
    margin-bottom: 16px;
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand,
.footer-links,
.footer-contact {
    text-align: left;
    justify-self: start;
    width: 100%;
}

.footer-brand p {
    font-size: 0.92rem;
    max-width: 32ch;
    margin: 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.footer-links a:hover,
.footer-contact a:hover { color: #fff; }

.footer-links li,
.footer-contact li { margin-bottom: 10px; }

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--highlight);
}

.footer-bottom {
    background: #030d16;
    padding: 18px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ---- Reveal / motion ---- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ---- Ambient video layer (CSS motion stand-in) ---- */
.ambient-layers {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ambient-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: ambientCross 18s ease-in-out infinite;
}

.ambient-layer:nth-child(1) { animation-delay: 0s; }
.ambient-layer:nth-child(2) { animation-delay: 6s; }
.ambient-layer:nth-child(3) { animation-delay: 12s; }

@keyframes ambientCross {
    0%, 12% { opacity: 0; transform: scale(1); }
    18%, 40% { opacity: 1; transform: scale(1.08); }
    48%, 100% { opacity: 0; transform: scale(1.12); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .feature-card,
    .feature-card:first-child,
    .feature-card:nth-child(2),
    .feature-card:nth-child(3) { grid-column: span 4; }

    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-item--lg,
    .bento-item--md { grid-column: span 6; }
    /* .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } */
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .about-block-grid,
    .service-full-card,
    .service-full-card.reverse,
    .portfolio-detail,
    .portfolio-detail.reverse,
    .contact-grid,
    .tab-panel-grid,
    .blog-card--featured,
    .tech-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .services-cards,
    .blog-grid,
    .projects-grid,
    .success-steps,
    .stats-bar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card,
    .feature-card:first-child,
    .feature-card:nth-child(2),
    .feature-card:nth-child(3) { grid-column: span 1; }

    .bento-item--lg,
    .bento-item--md,
    .bento-item--sm,
    .bento-item--wide { grid-column: span 12; }
}

@media (max-width: 960px) {
    .logo-img { height: 30px; }

    .btn-header { display: none; }

    .menu-toggle { display: flex; }

    /* Legacy drawer styles replaced by mobile-menu.css */

    .hero-hero { align-items: center; padding-bottom: 100px; }
    .hero-brand { font-size: clamp(1.1rem, 6vw, 1.2rem); }

    .services-cards,
    .blog-grid,
    .projects-grid,
    .success-steps,
    .stats-bar-grid,
    .industries-grid,
    .why-grid,
    .form-row,
    .value-grid,
    .footer-brand, .footer-links, .footer-contact {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-logo{
        margin: 0 auto 16px;
    }
    .footer-brand p{
        margin: 0 auto;
    }
    .footer-contact li {justify-content: center;}

    .about-block-images { grid-template-columns: 1fr 1fr; }
    .testimonial-slider { padding: 28px 20px; }
    .contact-form-wrap,
    .audience-box,
    .success-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal, .reveal-scale {
        opacity: 1;
        transform: none;
    }

    html { scroll-behavior: auto; }
}
