/* cairo-local.css */
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(../assets/fonts/cairo-arabic-variable.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(../assets/fonts/cairo-latin-variable.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* style.css */
/* ============================================
   AISMISR - Main Stylesheet
   Colors: Dark Navy #0d1b2a / Cyan #00d4e8
   RTL Arabic Website - Dark/Light Mode
   ============================================ */

/* ─── CSS VARIABLES ─── */
:root {
    /* Brand Colors */
    --cyan: #00d4e8;
    --cyan-dark: #00b5c8;
    --cyan-light: #4de6f5;
    --cyan-glow: rgba(0, 212, 232, 0.25);
    --navy: #0d1b2a;
    --navy-2: #111e2e;
    --navy-3: #162435;

    /* Dark Theme */
    --bg-primary: #0a1520;
    --bg-secondary: #0f1d2b;
    --bg-card: #121f30;
    --bg-card-hover: #162435;
    --bg-nav: rgba(10, 21, 32, 0.95);
    --text-primary: #e8f4f8;
    --text-secondary: #8dafc6;
    --text-muted: #7a9bb3;
    --border: rgba(0, 212, 232, 0.12);
    --border-hover: rgba(0, 212, 232, 0.35);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-cyan: rgba(0, 212, 232, 0.2);

    /* Typography — Arabic (RTL) */
    --font-main: 'Cairo', sans-serif;

    /* Spacing */
    --section-py: 68px;
    --container-max: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
    --bg-primary: #f0f8fc;
    --bg-secondary: #e8f4f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f5fbfd;
    --bg-nav: rgba(240, 248, 252, 0.97);
    --text-primary: #0d1b2a;
    --text-secondary: #1e3d4f;
    --text-muted: #3d5a6c;
    --border: rgba(0, 180, 210, 0.2);
    --border-hover: rgba(0, 180, 210, 0.5);
    --shadow: rgba(13, 27, 42, 0.12);
    --shadow-cyan: rgba(0, 180, 210, 0.15);
}


/* ─── SKIP LINK (a11y) ─── */
.skip-link {
    position: absolute;
    top: -100px;
    right: 16px;
    z-index: 10000;
    padding: 10px 16px;
    background: var(--cyan);
    color: var(--navy);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html[dir="rtl"] {
    --font-main: 'Cairo', sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    font-family: 'Cairo', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ─── CONTAINER ─── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── SECTION BASE ─── */
.section {
    padding: var(--section-py) 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 520px;
}

.hero,
.page-hero {
    content-visibility: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cyan-glow);
    color: var(--cyan);
    border: 1px solid var(--border-hover);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--navy);
    box-shadow: 0 4px 20px var(--shadow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-cyan);
    background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan-glow);
    transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
    color: #0a4a58;
    border-color: #0d6f80;
    background: #ffffff;
}

[data-theme="light"] .btn-outline:hover {
    color: #063844;
    border-color: #086070;
    background: #e7f4f7;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── NAVBAR ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    position: relative;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
    line-height: 1;
}

.logo-img {
    width: auto;
    height: 42px;
    max-width: 132px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    color: var(--cyan);
    font-weight: 900;
    font-size: 0.61rem;
    line-height: 1;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    flex-shrink: 0;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
    background: var(--cyan-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switch {
    gap: 6px;
    min-width: auto;
    padding: 0 12px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.lang-code {
    line-height: 1;
}

.nav-lang-item {
    display: none;
    list-style: none;
    margin-inline-start: 4px;
}

.nav-lang-item .lang-switch {
    height: 36px;
    margin-inline-start: 2px;
}

.nav-lang-link {
    border-radius: var(--radius-sm);
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--cyan);
    background: var(--cyan-glow);
}

.theme-icon {
    position: absolute;
    transition: var(--transition);
}

[data-theme="dark"] .sun-icon { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="dark"] .moon-icon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .moon-icon { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="light"] .sun-icon { opacity: 1; transform: rotate(0) scale(1); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

.mobile-backdrop {
    display: none;
}

@media (max-width: 1024px) {
    .site-header {
        padding-top: env(safe-area-inset-top, 0px);
        z-index: 9012;
    }

    .navbar {
        position: relative;
        z-index: 9013;
        background: var(--bg-nav);
        border-bottom-color: var(--border);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        filter: none;
        transform: none;
    }

    [data-theme="light"] .navbar {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 2px 16px rgba(13, 27, 42, 0.06);
    }

    [data-theme="light"] .nav-logo .logo-text {
        color: var(--navy);
    }

    [data-theme="light"] .hamburger span {
        background: var(--navy);
    }

    .navbar::before {
        display: none;
    }

    .nav-logo {
        position: relative;
        z-index: 9014;
    }

    .nav-logo .logo-img {
        height: 36px;
        max-width: 112px;
    }

    .nav-logo .logo-text {
        color: var(--text-primary);
    }

    .hamburger {
        position: relative;
        z-index: 9014;
    }

    .nav-container {
        height: 64px;
        gap: 12px;
    }

    .nav-logo .logo-text {
        font-size: 0.55rem;
        letter-spacing: 2.2px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: calc(64px + env(safe-area-inset-top, 0px));
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 9011;
        width: min(320px, 88vw);
        max-width: 88vw;
        height: auto;
        margin: 0;
        padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        box-shadow: none;
        transform: translate3d(110%, 0, 0);
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.42s;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        pointer-events: none;
        will-change: transform;
    }

    .nav-links.open {
        transform: translate3d(0, 0, 0);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.45);
        visibility: visible;
        pointer-events: auto;
        transition:
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }

    .nav-links .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.05rem;
        font-weight: 700;
        min-height: 48px;
        display: flex;
        align-items: center;
        white-space: nowrap;
        color: var(--text-primary);
        border-radius: var(--radius-sm);
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        color: var(--cyan);
        background: rgba(0, 212, 232, 0.14);
    }

    [data-theme="light"] .nav-links {
        background: #ffffff;
        border-left-color: var(--border);
    }

    [data-theme="light"] .nav-links.open {
        box-shadow: -8px 0 32px rgba(13, 27, 42, 0.12);
    }

    [data-theme="light"] .nav-links .nav-link {
        color: var(--navy);
    }

    [data-theme="light"] .nav-links .nav-link:hover,
    [data-theme="light"] .nav-links .nav-link.active {
        color: var(--cyan-dark);
        background: rgba(0, 181, 200, 0.12);
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
        list-style: none;
    }

    .nav-lang-item {
        display: none;
    }

    .nav-actions-lang .lang-switch {
        height: 40px;
        padding: 0 10px;
    }

    .nav-mobile-cta .btn {
        width: 100%;
        min-height: 48px;
    }

    .mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9010;
        display: block;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    }

    .mobile-backdrop.show {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.35s ease, visibility 0s linear 0s;
    }

    .hero {
        padding-top: calc(64px + env(safe-area-inset-top, 0px));
    }
}

@media (min-width: 1025px) {
    .nav-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px 20px;
    }

    .nav-logo {
        grid-column: 1;
        justify-self: start;
    }

    .site-header .nav-links {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        grid-column: 2;
        justify-self: center;
        align-self: center;
        height: auto;
        width: max-content;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
        visibility: visible;
        pointer-events: auto;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0;
    }

    .site-header .nav-link {
        padding: 8px 9px;
        font-size: 0.86rem;
    }

    .nav-actions {
        grid-column: 3;
        justify-self: end;
        margin-inline-start: 8px;
    }

    .nav-actions-lang {
        display: inline-flex;
    }

    .nav-lang-item {
        display: none;
    }

    .mobile-backdrop,
    .nav-mobile-cta {
        display: none !important;
    }
}

@media (min-width: 1025px) and (max-width: 1320px) {
    .site-header .nav-link {
        padding: 8px 7px;
        font-size: 0.82rem;
    }
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: -8%;
    z-index: 0;
    overflow: hidden;
    animation: heroZoomInOut 18s ease-in-out infinite;
    will-change: transform;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
    .hero-bg-image {
        animation: none;
        will-change: auto;
        inset: 0;
    }

    .hero-scan-lines {
        animation: none;
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 21, 32, 0.88) 0%,
        rgba(13, 27, 42, 0.78) 45%,
        rgba(10, 21, 32, 0.85) 100%
    );
}

[data-theme="light"] .hero-bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(240, 248, 252, 0.92) 0%,
        rgba(240, 248, 252, 0.82) 45%,
        rgba(240, 248, 252, 0.9) 100%
    );
}

.hero-scan-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 212, 232, 0.35) 2px,
        rgba(0, 212, 232, 0.35) 3px
    );
    animation: heroScanMove 8s linear infinite;
    pointer-events: none;
}

@keyframes heroScanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 4;
}

.hero-glow.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 232, 0.15) 0%, transparent 70%);
    top: 10%;
    left: -10%;
}

.hero-glow.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 232, 0.1) 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 24px;
    width: 100%;
    max-width: var(--container-max);
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cyan-glow);
    border: 1px solid var(--border-hover);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 24px;
}

[data-theme="light"] .hero-badge {
    color: #0a5460;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 140, 160, 0.45);
    box-shadow: 0 2px 12px rgba(13, 27, 42, 0.08);
}

[data-theme="light"] .hero-badge .badge-dot {
    background: #008fa0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,232,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0,212,232,0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
}

.stat-plus {
    font-size: 1.2rem;
    color: var(--cyan);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card-main {
    position: relative;
    width: 340px;
    height: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px var(--shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--cyan), transparent, var(--cyan));
    opacity: 0.2;
    z-index: 0;
}

.hero-logo-big {
    width: min(220px, 72vw);
    height: auto;
    max-height: 130px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px var(--shadow-cyan));
}

.hero-logo-dark {
    display: none;
}

[data-theme="dark"] .hero-logo-light {
    display: none;
}

[data-theme="dark"] .hero-logo-dark {
    display: block;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px var(--shadow);
    white-space: nowrap;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.badge-top { top: -20px; inset-inline-end: -40px; animation: float 5s ease-in-out infinite; }
.badge-bottom { bottom: -20px; inset-inline-start: -40px; animation: float 7s ease-in-out infinite 1s; }
.badge-left {
    top: 50%;
    inset-inline-start: -108px;
    transform: translateY(-50%);
    animation: float-badge-side 6s ease-in-out infinite 0.5s;
}

@keyframes float-badge-side {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 16px)); }
}

.fb-icon { font-size: 1.3rem; }

.fb-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.fb-sub {
    font-size: 0.7rem;
    color: var(--cyan);
    font-weight: 600;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.scroll-down:hover { color: var(--cyan); }

.scroll-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ─── CLIENTS TICKER ─── */
.clients-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow: hidden;
}

.clients-ticker {
    overflow: hidden;
    position: relative;
    direction: ltr;
}

.clients-ticker::before,
.clients-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-ticker::before {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.clients-ticker::after {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: ticker-marquee 48s linear infinite;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    padding-inline-end: 32px;
    direction: rtl;
}

.ticker-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ticker-sep {
    color: var(--cyan);
    font-size: 0.6rem;
    flex-shrink: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* ─── ABOUT ─── */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px var(--shadow-cyan);
}

.about-card-inner {
    padding: 36px;
    text-align: center;
}

.about-icon-wrap {
    margin-bottom: 20px;
}

.about-logo {
    width: min(180px, 60vw);
    height: auto;
    max-height: 100px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 0 12px var(--shadow-cyan));
}

.about-logo-dark {
    display: none;
}

[data-theme="dark"] .about-logo-light {
    display: none;
}

[data-theme="dark"] .about-logo-dark {
    display: block;
    margin: 0 auto;
}

.about-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.metric-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
}

.metric-box.highlight {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    border-color: transparent;
}

.metric-box.highlight .metric-val,
.metric-box.highlight .metric-lbl {
    color: var(--navy);
}

.metric-box:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.metric-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cyan);
}

.metric-plus {
    font-size: 1.1rem;
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.02rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 8px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.97rem;
}

.feature-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── SERVICES ─── */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-dark));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-cyan);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--cyan);
    background: linear-gradient(145deg, var(--bg-card), rgba(0, 212, 232, 0.05));
}

.service-card.featured::before { opacity: 1; }

.featured-badge {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 3;
    background: var(--cyan);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--cyan-glow);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 1.6rem;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.8;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-right: 16px;
    position: relative;
}

.service-list li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: var(--cyan);
}

.service-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cyan);
    transition: var(--transition-fast);
    margin-top: auto;
}

.service-link:hover {
    color: var(--cyan-light);
    gap: 6px;
}

/* Service cards with images */
.service-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-link:hover .service-card-image img,
.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 60%);
}

.service-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
}

.service-card .service-icon-wrap,
.service-card-link .service-icon-wrap {
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.services-grid .service-card,
.services-grid .service-card-link {
    height: 100%;
}

.service-card-body .service-desc {
    flex: 1;
}

.service-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.service-card-actions .service-link {
    margin-top: 0;
}

.service-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-title a:hover {
    color: var(--cyan);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.service-start-btn {
    flex-shrink: 0;
    min-width: 72px;
    justify-content: center;
}

/* ─── PROJECTS ─── */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.projects-home-grid {
    display: block;
}

.projects-home-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.projects-home-row .project-card {
    height: 100%;
}

.projects-home-row .project-body {
    padding: 22px 20px;
}

.projects-home-row .project-card-featured .project-title {
    font-size: 1.08rem;
}

.projects-home-row .project-desc {
    font-size: 0.86rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projects-home-main {
    width: 100%;
}

.projects-home-main > .project-card-featured {
    width: 100%;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 16px 48px var(--shadow);
}

.project-card-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-color: rgba(0, 212, 232, 0.25);
}

.project-card-featured:hover {
    box-shadow: 0 20px 56px var(--shadow-cyan);
}

.project-image-link {
    display: block;
    text-decoration: none;
}

.project-image {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background: var(--bg-primary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.project-image-sm {
    min-height: 180px;
    aspect-ratio: 16 / 10;
}

.project-type {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(13, 27, 42, 0.88);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(8px);
}

.project-icon {
    position: absolute;
    bottom: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
    background: rgba(13, 27, 42, 0.88);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    backdrop-filter: blur(8px);
}

.project-body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card:not(.project-card-featured) .project-body {
    padding: 22px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    background: var(--cyan-glow);
    border: 1px solid rgba(0, 212, 232, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
    margin: 0;
}

.project-card-featured .project-title {
    font-size: 1.45rem;
}

.project-subtitle {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cyan);
    margin: 0;
}

.project-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.projects-subgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.projects-websites-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card-pair {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-pair .project-image {
    min-height: 240px;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.project-card-pair .project-body {
    flex: 1;
}

.projects-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.projects-subgrid .project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ─── SOLUTIONS ─── */
.solutions {
    background: var(--bg-primary);
}

.solutions-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.solutions-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.9;
    margin-bottom: 36px;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.solution-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sol-icon {
    width: 48px;
    height: 48px;
    background: var(--cyan-glow);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sol-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.sol-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Solutions Visual Image */
.solutions-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-hover);
    box-shadow: 0 20px 60px var(--shadow-cyan);
    aspect-ratio: 4 / 5;
    max-height: 520px;
}

.solutions-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solutions-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 21, 32, 0.85) 0%,
        rgba(10, 21, 32, 0.2) 45%,
        transparent 100%
    );
    pointer-events: none;
}

.solutions-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px var(--shadow);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.solutions-float-badge strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1.2;
}

.solutions-float-badge span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.sfb-icon {
    font-size: 1.3rem;
}

.solutions-float-badge.badge-1 {
    top: 24px;
    right: -12px;
    animation: float 5s ease-in-out infinite;
}

.solutions-float-badge.badge-2 {
    bottom: 80px;
    left: -16px;
    animation: float 6s ease-in-out infinite 0.5s;
}

.solutions-float-badge.badge-3 {
    bottom: 24px;
    right: 20px;
    animation: float 7s ease-in-out infinite 1s;
}

@media (max-width: 1024px) {
    .solutions-image-card {
        max-height: 420px;
        aspect-ratio: 16 / 10;
    }

    .solutions-float-badge.badge-1 { right: 12px; }
    .solutions-float-badge.badge-2 { left: 12px; }
}

/* Tech Stack (legacy) */
.tech-stack {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.tech-title,
.cert-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.tech-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tech-item:hover {
    border-color: var(--border-hover);
    background: var(--cyan-glow);
}

.tech-icon {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 0.5px;
}

.tech-item span:last-child {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.certifications {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-badge {
    background: var(--cyan-glow);
    border: 1px solid var(--border-hover);
    color: var(--cyan);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ─── TEAM ─── */
.team {
    background: var(--bg-secondary);
}

.team .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team .section-tag,
.team .section-title {
    margin-inline: auto;
    text-align: center;
}

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

.team-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1080px;
    margin: 0 auto;
    gap: 32px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow);
}

.team-avatar {
    background: var(--bg-secondary);
    padding: 0;
    height: 420px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

[data-theme="light"] .team-avatar {
    background: #e8eef3;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 232, 0.2);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cyan);
    margin: auto;
}

.team-photo {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
    box-shadow: none;
}

[data-theme="light"] .team-photo {
    border-color: transparent;
    box-shadow: none;
}

[data-theme="light"] .avatar-placeholder {
    background: rgba(13, 27, 42, 0.08);
    border-color: var(--navy);
    color: var(--navy);
}

.team-info {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
}

.team-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.team-role {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 600;
}

.team-bio {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.tag {
    background: var(--cyan-glow);
    border: 1px solid var(--border-hover);
    color: var(--cyan);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-layout {
    display: grid;
    grid-template-columns: minmax(340px, 520px) 1fr;
    align-items: center;
    gap: 56px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-video-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    height: 704px;
}

.testimonial-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    box-shadow: 0 16px 48px var(--shadow);
}

.testimonial-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    background: #000;
}

.testimonial-video-label {
    margin-bottom: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cyan);
}

.testimonials-slider {
    max-width: none;
    margin: 0;
    text-align: center;
    width: 100%;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-stars {
    color: var(--cyan);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 28px;
    padding: 0 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--cyan-glow);
    border: 2px solid var(--border-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--cyan);
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar-photo {
    padding: 0;
    background: var(--bg-card);
}

.author-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-avatar-logo {
    background: #fff;
    padding: 6px;
}

.author-avatar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.author-org {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-glow);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--cyan);
}

/* ─── CONTACT ─── */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr);
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateX(-4px);
}

.contact-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social {
    margin-top: 20px;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-fei-text {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-glow);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    min-width: 0;
    max-width: 100%;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0, 212, 232, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
    --font-main: 'Cairo', sans-serif;
}

.careers-form select,
.careers-form select option {
    --font-main: 'Cairo', sans-serif;
    font-weight: 600;
}

.ais-select {
    position: relative;
    width: 100%;
    --font-main: 'Cairo', sans-serif;
}

.ais-select-native {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 1;
}

.ais-select-trigger {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    --font-main: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: start;
    transition: var(--transition);
}

.ais-select.is-open .ais-select-trigger,
.ais-select-trigger:focus-visible {
    outline: none;
    border-color: var(--cyan);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(0, 212, 232, 0.1);
}

.ais-select-value {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ais-select-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ais-select.is-open .ais-select-arrow {
    transform: rotate(180deg);
}

.ais-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline: 0;
    z-index: 40;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px var(--shadow);
    max-height: 280px;
    overflow-y: auto;
    --font-main: 'Cairo', sans-serif;
}

.ais-select-option {
    padding: 10px 14px;
    border-radius: calc(var(--radius-sm) - 2px);
    --font-main: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ais-select-option:hover,
.ais-select-option.is-selected {
    background: var(--cyan-glow);
    color: var(--cyan);
}

html[dir="ltr"] .careers-form .ais-select,
html[dir="ltr"] .careers-form .ais-select-trigger,
html[dir="ltr"] .careers-form .ais-select-menu,
html[dir="ltr"] .careers-form .ais-select-option {
    font-family: var(--font-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    background: rgba(0, 212, 232, 0.1);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-thank-you {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(145deg, rgba(0, 212, 232, 0.08), rgba(0, 212, 232, 0.02));
    border: 1px solid rgba(0, 212, 232, 0.35);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 12px 40px rgba(0, 212, 232, 0.08);
}

.form-thank-you-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 16px;
}

.form-thank-you-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text, #fff);
}

.form-thank-you-lead {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--cyan, #00d4e8);
    font-weight: 600;
}

.form-thank-you-lead strong {
    font-weight: 800;
}

.form-thank-you-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted, #94a3b8);
    max-width: 420px;
    margin-inline: auto;
}

.booking-thank-you {
    padding: 32px 24px 40px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SEO body markup — JSON-LD for crawlers, not visible on screen */
.seo-body-markup {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── FOOTER ─── */
.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(1200px 420px at 80% -10%, rgba(0, 212, 232, 0.16), transparent 55%),
        radial-gradient(900px 360px at 0% 110%, rgba(77, 230, 245, 0.08), transparent 50%),
        linear-gradient(180deg, #08131f 0%, var(--navy) 42%, #08141f 100%);
    border-top: 1px solid transparent;
    padding: 72px 0 0;
}

.footer::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), #7cf0ff, var(--cyan), transparent);
    background-size: 220% 100%;
    animation: footerShine 7s linear infinite;
}

.footer-aurora,
.footer-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-aurora {
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 232, 0.12), transparent 32%),
        radial-gradient(circle at 78% 70%, rgba(0, 181, 200, 0.1), transparent 28%);
    filter: blur(8px);
    animation: footerAurora 14s ease-in-out infinite alternate;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.55;
}

.footer-orb-1 {
    width: 180px;
    height: 180px;
    top: 8%;
    inset-inline-start: -40px;
    background: radial-gradient(circle, rgba(0, 212, 232, 0.35), transparent 68%);
    animation: footerFloat 9s ease-in-out infinite;
}

.footer-orb-2 {
    width: 240px;
    height: 240px;
    bottom: 6%;
    inset-inline-end: -70px;
    background: radial-gradient(circle, rgba(77, 230, 245, 0.22), transparent 70%);
    animation: footerFloat 12s ease-in-out infinite reverse;
}

.footer-orb-3 {
    width: 90px;
    height: 90px;
    top: 42%;
    inset-inline-start: 46%;
    background: radial-gradient(circle, rgba(0, 212, 232, 0.28), transparent 70%);
    animation: footerPulse 5.5s ease-in-out infinite;
}

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

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
    padding: 28px 32px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 212, 232, 0.12), rgba(18, 31, 48, 0.72));
    border: 1px solid rgba(0, 212, 232, 0.22);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.footer.is-inview .footer-cta {
    animation: footerRise 0.7s ease both;
}

.footer-cta-copy h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 900;
    line-height: 1.45;
    margin: 8px 0 8px;
}

.footer-cta-copy p {
    color: #b8d4e8;
    font-size: 0.92rem;
    max-width: 560px;
}

.footer-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--navy);
    background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
    animation: footerBadgePulse 2.8s ease-in-out infinite;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.footer-cta-btn {
    min-width: 150px;
    justify-content: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1fr 1.3fr;
    gap: 28px;
    margin-bottom: 36px;
}

.footer-brand,
.footer-links,
.footer-blog {
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(18, 31, 48, 0.45);
    border: 1px solid rgba(0, 212, 232, 0.1);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer.is-inview .footer-brand { animation: footerRise 0.65s ease 0.08s both; }
.footer.is-inview .footer-links:nth-of-type(2) { animation: footerRise 0.65s ease 0.16s both; }
.footer.is-inview .footer-links:nth-of-type(3) { animation: footerRise 0.65s ease 0.24s both; }
.footer.is-inview .footer-blog { animation: footerRise 0.65s ease 0.32s both; }

.footer-brand:hover,
.footer-links:hover,
.footer-blog:hover {
    border-color: rgba(0, 212, 232, 0.28);
    box-shadow: 0 12px 36px rgba(0, 212, 232, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--cyan);
}

.footer-logo .logo-img {
    transition: transform 0.45s ease;
}

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

.footer-tagline {
    font-size: 0.88rem;
    color: #b8d4e8;
    line-height: 1.8;
}

.footer-contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #d7eef7;
    background: rgba(0, 212, 232, 0.08);
    border: 1px solid rgba(0, 212, 232, 0.16);
    transition: var(--transition-fast);
}

.footer-chip:hover {
    color: var(--cyan);
    border-color: rgba(0, 212, 232, 0.4);
    background: rgba(0, 212, 232, 0.16);
    transform: translateY(-2px);
}

.footer-chip-wa:hover {
    color: #6ef0a4;
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.12);
}

.footer-follow {
    margin: 4px 0 -8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer .footer-social {
    margin-top: 4px;
}

.footer .social-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.footer .social-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 22px rgba(0, 212, 232, 0.22);
}

.footer-links h4,
.footer-blog h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    animation: footerIconBob 3.4s ease-in-out infinite;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-quick-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #c5dce8;
    transition: var(--transition-fast);
}

.footer-link-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    line-height: 1;
    background: var(--cyan-glow);
    border: 1px solid rgba(0, 212, 232, 0.15);
    border-radius: 8px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.footer-link-icon-sm {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
}

.footer-links a:hover {
    color: var(--cyan);
    transform: translateX(-4px);
}

.footer-links a:hover .footer-link-icon {
    background: rgba(0, 212, 232, 0.2);
    border-color: rgba(0, 212, 232, 0.35);
    transform: rotate(-8deg) scale(1.08);
}

.footer-blog p {
    font-size: 0.85rem;
    color: #b8d4e8;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-blog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-blog-list > li[hidden], .footer-article-controls[hidden] { display: none; }
.footer-articles-viewport {
    position: relative;
    height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    overflow-anchor: none;
    mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 24px), transparent);
}
.footer-articles-viewport::-webkit-scrollbar { display: none; }
.footer-articles-viewport .footer-blog-list { margin: 0; padding: 0 3px 10px; }
.footer-blog.has-article-rotation .footer-blog-list a { min-height: 112px; }
.footer-blog.has-article-rotation .footer-blog-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.footer-article-controls {
    display: flex; align-items: center; gap: 8px; margin: 16px 0;
    color: var(--text-secondary); font-size: .8rem;
}
.footer-article-controls button {
    min-width: 36px; min-height: 36px; padding: 5px 10px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary);
    font: inherit; cursor: pointer;
}
.footer-article-controls button:hover { border-color: var(--cyan); }
.footer-article-controls button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.footer-article-controls [data-article-pause] { margin-inline-start: auto; }

.footer-blog-list a {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    background: rgba(10, 21, 32, 0.45);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.footer-blog-list a::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -40%;
    width: 36%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-18deg);
    transition: none;
}

.footer-blog-list a:hover {
    border-color: rgba(0, 212, 232, 0.4);
    background: rgba(0, 212, 232, 0.08);
    transform: translateX(-4px);
    box-shadow: 0 10px 24px rgba(0, 212, 232, 0.08);
}

.footer-blog-list a:hover::after {
    animation: footerSweep 0.7s ease;
}

.footer-blog-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e8f4f8;
    line-height: 1.5;
}

.footer-blog-list time {
    font-size: 0.72rem;
    color: #9bb5c9;
}

.footer-blog-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    transition: var(--transition-fast);
}

.footer-blog-all:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.footer-blog-all:hover .footer-blog-arrow {
    animation: footerArrowNudge 0.7s ease;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #b8d4e8;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: #b8d4e8;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a,
a.footer-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #c5dce8;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-legal a:hover,
a.footer-legal-link:hover {
    color: var(--cyan);
}

[data-theme="light"] .footer {
    background:
        radial-gradient(1000px 380px at 85% -8%, rgba(0, 180, 210, 0.14), transparent 55%),
        linear-gradient(180deg, #e8f4f9 0%, #f4fbfd 100%);
}

[data-theme="light"] .footer-cta,
[data-theme="light"] .footer-brand,
[data-theme="light"] .footer-links,
[data-theme="light"] .footer-blog {
    background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-blog p,
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-cta-copy p,
[data-theme="light"] .footer-follow {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-legal a,
[data-theme="light"] .footer-chip {
    color: #2d5570;
}

[data-theme="light"] .footer-blog-title {
    color: var(--text-primary);
}

[data-theme="light"] .footer-blog-list time {
    color: var(--text-muted);
}

[data-theme="light"] .footer-blog-list a {
    background: #ffffff;
}

[data-theme="light"] .footer-gulf-regions {
    background: rgba(0, 180, 210, 0.06);
    border-color: rgba(0, 180, 210, 0.16);
    color: var(--text-secondary);
}

@keyframes footerShine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes footerAurora {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    100% { transform: translate3d(-2%, 3%, 0) scale(1.08); opacity: 1; }
}

@keyframes footerFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(18px, -16px, 0); }
}

@keyframes footerPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.25); opacity: 0.75; }
}

@keyframes footerBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 232, 0.35); }
    70% { box-shadow: 0 0 0 10px rgba(0, 212, 232, 0); }
}

@keyframes footerIconBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes footerSweep {
    from { inset-inline-start: -40%; }
    to { inset-inline-start: 130%; }
}

@keyframes footerArrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

@keyframes footerRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .footer::before,
    .footer-aurora,
    .footer-orb,
    .footer-heading-icon,
    .footer-cta-badge,
    .footer.is-inview .footer-cta,
    .footer.is-inview .footer-brand,
    .footer.is-inview .footer-links,
    .footer.is-inview .footer-blog {
        animation: none !important;
    }
}

/* ─── SCROLL TO TOP & FLOAT ACTIONS ─── */
.float-actions {
    --fab-ring: linear-gradient(145deg, #e9fbff 0%, #7eebf5 26%, #0a7c8c 52%, #d7f8fc 78%, #149aab 100%);
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.float-action,
.float-actions .scroll-top {
    --fab-glow: rgba(0, 212, 232, 0.45);
    position: relative;
    isolation: isolate;
    width: 56px;
    height: 56px;
    min-width: 56px;
    max-width: 56px;
    min-height: 56px;
    max-height: 56px;
    padding: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    color: #e8fbff;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    appearance: none;
    background:
        linear-gradient(#0d1b2a, #0d1b2a) padding-box,
        var(--fab-ring) border-box;
    box-shadow:
        0 16px 30px -12px rgba(7, 16, 28, 0.58),
        0 0 0 5px rgba(232, 251, 255, 0.1),
        0 0 22px var(--fab-glow),
        inset 0 1px 0 rgba(220, 250, 255, 0.55);
    transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.28, 1), box-shadow 0.45s, filter 0.45s;
    animation: fab-float 5.4s ease-in-out infinite;
}

.float-action::before,
.float-actions .scroll-top::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 1.5px solid transparent;
    border-top-color: rgba(180, 246, 255, 0.95);
    border-right-color: rgba(0, 212, 232, 0.28);
    animation: fab-orbit 7.5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.float-action::after,
.float-actions .scroll-top::after {
    content: none;
}

.float-action-gem {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.42), inset 0 -10px 14px rgba(0, 0, 0, 0.28);
}

.float-action-gem::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -55%;
    width: 42%;
    height: 160%;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.62) 48%, transparent 62%);
    transform: rotate(18deg);
    animation: fab-shine 4.8s ease-in-out infinite;
}

.float-action-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 212, 232, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.float-action-icon {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.28, 1);
}

.float-action:hover,
.float-actions .scroll-top.show:hover,
.float-action:focus-visible,
.float-actions .scroll-top.show:focus-visible {
    transform: translateY(-8px) scale(1.08);
    animation-play-state: paused;
    filter: brightness(1.07);
    box-shadow:
        0 24px 40px -14px rgba(8, 24, 16, 0.6),
        0 0 0 6px rgba(0, 212, 232, 0.18),
        0 0 28px var(--fab-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.float-action:hover .float-action-icon,
.float-actions .scroll-top:hover .float-action-icon {
    transform: scale(1.12);
}

.float-action-music {
    --fab-glow: rgba(0, 212, 232, 0.5);
    color: #07303a;
    background:
        linear-gradient(#0d1b2a, #0d1b2a) padding-box,
        var(--fab-ring) border-box;
    animation-delay: 0s;
}

.float-action-music .float-action-gem {
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.7), transparent 40%),
        radial-gradient(circle at 72% 78%, rgba(7, 40, 52, 0.35), transparent 52%),
        linear-gradient(160deg, #b8f7ff 0%, #00d4e8 48%, #087888 100%);
}

.float-action-music.is-playing {
    box-shadow:
        0 16px 30px -12px rgba(7, 16, 28, 0.58),
        0 0 0 5px rgba(232, 251, 255, 0.1),
        0 0 26px rgba(0, 212, 232, 0.6),
        inset 0 1px 0 rgba(220, 250, 255, 0.55);
}

.float-action-call {
    --fab-glow: rgba(0, 180, 204, 0.4);
    color: #e8fbff;
    animation-delay: 0.4s;
}

.float-action-call::before {
    animation-delay: -2s;
}

.float-action-call .float-action-gem {
    background:
        radial-gradient(circle at 30% 24%, rgba(180, 246, 255, 0.28), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.38), transparent 54%),
        linear-gradient(160deg, #163044 0%, #0d1b2a 48%, #071018 100%);
}

.float-action-whatsapp {
    --fab-glow: rgba(0, 212, 232, 0.55);
    color: #07303a;
    animation-delay: 0.8s;
}

.float-action-whatsapp::before {
    animation-delay: -4s;
}

.float-action-whatsapp .float-action-gem {
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 38%),
        radial-gradient(circle at 74% 80%, rgba(7, 48, 64, 0.35), transparent 50%),
        linear-gradient(160deg, #d8fbff 0%, #3ee4f4 46%, #00a8be 100%);
}

.float-action-whatsapp .float-action-pulse {
    border-color: rgba(0, 212, 232, 0.75);
    animation: fab-ping 2.6s ease-out infinite;
}

.float-action-whatsapp .float-action-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(180, 246, 255, 0.55);
    animation: fab-ping 2.6s ease-out 0.7s infinite;
}

.float-actions .scroll-top {
    --fab-glow: rgba(0, 212, 232, 0.4);
    bottom: auto;
    left: auto;
    color: #0d1b2a;
    font-size: 0;
    background:
        linear-gradient(#0d1b2a, #0d1b2a) padding-box,
        var(--fab-ring) border-box;
    animation-delay: 1.2s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.float-actions .scroll-top .float-action-gem {
    background:
        radial-gradient(circle at 32% 24%, #fff, transparent 44%),
        linear-gradient(160deg, #f4fdff 0%, #b7f3fa 48%, #6ee4f2 100%);
}

.float-actions .scroll-top .float-action-icon {
    width: 20px;
    height: 20px;
}

.float-actions .scroll-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.float-actions .scroll-top.show:hover {
    color: #071422;
}

.float-actions .scroll-top:not(.show) {
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    animation: none;
}

.float-actions .scroll-top:not(.show)::before {
    content: none;
}

.scroll-top:not(.show) {
    position: fixed;
    width: 0;
    height: 0;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
}

@keyframes fab-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fab-orbit {
    to { transform: rotate(360deg); }
}

@keyframes fab-shine {
    0% { transform: translateX(0) rotate(18deg); opacity: 0; }
    12% { opacity: 1; }
    42%, 100% { transform: translateX(220%) rotate(18deg); opacity: 0; }
}

@keyframes fab-ping {
    0% { transform: scale(0.92); opacity: 0.75; }
    70%, 100% { transform: scale(1.22); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .float-action,
    .float-actions .scroll-top,
    .float-action::before,
    .float-actions .scroll-top::before,
    .float-action-gem::after,
    .float-action-pulse,
    .float-action-pulse::after {
        animation: none !important;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    :root { --section-py: 52px; }

    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-desc { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { order: -1; }

    .solutions-wrap { grid-template-columns: 1fr; gap: 48px; }

    .project-card-featured { grid-template-columns: 1fr; }
    .projects-home-row,
    .projects-websites-row { grid-template-columns: 1fr; }
    .projects-subgrid { grid-template-columns: repeat(2, 1fr); }

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

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

    .testimonials-layout {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    :root { --section-py: 44px; }

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

    .projects-subgrid { grid-template-columns: 1fr; }

    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid-two {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .team-avatar {
        height: min(380px, calc(100vw - 48px));
    }

    .form-row { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-quick-list { grid-template-columns: 1fr 1fr; }
    .footer-cta { padding: 22px 18px; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-btn { flex: 1; }

    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    .hero-actions .btn {
        width: auto;
        flex: 1 1 0;
        max-width: none;
        justify-content: center;
        padding-inline: 16px;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.6rem; }
}

/* ─── SERVICES ACTIONS ─── */
.services-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.services-actions .btn {
    min-width: 180px;
    justify-content: center;
}

.services-intro {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.services-intro-title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.services-intro p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 14px;
    font-size: 1.02rem;
}

.services-index-list {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.services-index-title {
    text-align: center;
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.services-index-items {
    list-style: none;
    display: grid;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

.services-index-item {
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.services-index-item a {
    color: var(--cyan);
    font-weight: 700;
    font-size: 1rem;
}

.services-index-item a:hover {
    color: var(--cyan-light);
}

.services-index-item p {
    margin: 6px 0 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── SERVICES PAGE HERO ─── */
.page-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.page-hero-image {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    background: var(--bg-primary);
}

.page-hero-bg {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: heroZoomInOut 14s ease-in-out infinite;
    will-change: transform;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 21, 32, 0.72) 0%,
        rgba(13, 27, 42, 0.65) 50%,
        rgba(0, 212, 232, 0.1) 100%
    );
    pointer-events: none;
}

.page-hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
}

.page-hero-image .container {
    position: relative;
    z-index: 2;
}

.page-hero-image .section-title {
    color: #fff;
}

.page-hero-image .section-desc {
    color: rgba(232, 244, 248, 0.9);
    margin-top: 16px;
}

[data-theme="light"] .page-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(245, 249, 252, 0.78) 0%,
        rgba(245, 249, 252, 0.88) 55%,
        rgba(245, 249, 252, 0.96) 100%
    );
}

[data-theme="light"] .page-hero-overlay::after {
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(245, 249, 252, 0.7) 50%, transparent 80%);
}

[data-theme="light"] .page-hero-image .section-title {
    color: #0a1725;
}

[data-theme="light"] .page-hero-image .section-desc,
[data-theme="light"] .page-hero .section-desc {
    color: #1a3544;
    font-weight: 600;
}

[data-theme="light"] .hero-desc {
    color: #1a3544;
}

@keyframes heroZoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-bg {
        animation: none;
        inset: 0;
    }

    .hero-bg-image,
    .hero-scan-lines {
        animation: none;
    }

    .hero-bg-image {
        inset: 0;
    }
}

/* ─── BOOKING MODAL ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 80px var(--shadow);
}

.modal-overlay.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-glow);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 12px 0 8px;
}

.modal-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.phone-input-group {
    display: flex;
    gap: 10px;
    direction: rtl;
}

.country-code-select {
    flex: 0 0 165px;
    min-width: 165px;
    max-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: var(--text-primary);
    cursor: pointer;
}

.phone-input-group input {
    flex: 1;
}

.booking-success {
    display: none;
}

.booking-success.show {
    display: block;
}

.page-form-section {
    background: var(--bg-secondary);
}

.page-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.inline-form-success {
    display: none;
    margin-top: 12px;
}

.inline-form-success.show {
    display: block;
}

@media (max-width: 768px) {
    .services-actions {
        flex-direction: column;
    }

    .services-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .page-form-wrap {
        padding: 24px;
    }
}

/* ─── CONTACT PAGE EXTRAS ─── */
.contact-form-heading {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-phones {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-phone-link,
.contact-action-link {
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

.contact-phone-link:hover,
.contact-action-link:hover {
    color: var(--cyan);
}

.contact-card-whatsapp {
    border-color: rgba(37, 211, 102, 0.25);
}

.contact-card-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5);
}

.btn-whatsapp {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 18px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.contact-map-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-map-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    min-height: 320px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-note {
    margin-top: 16px;
    text-align: center;
}

.contact-map-note a {
    color: var(--cyan);
    font-weight: 700;
    transition: var(--transition);
}

.contact-map-note a:hover {
    opacity: 0.85;
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* ── PWA install banner (also in mobile.css) ── */
#pwaInstallBanner {
    position: fixed;
    z-index: 9010;
    background: linear-gradient(135deg, #00b5c8, #008fa0);
    border-radius: 16px;
    padding: 14px 16px;
    display: none;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 181, 200, 0.35);
    color: #fff;
}

#pwaInstallBanner.show {
    display: flex;
}

#pwaInstallFab {
    position: fixed;
    z-index: 9009;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px);
    left: max(16px, env(safe-area-inset-left, 0px));
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b5c8, #008fa0);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 181, 200, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

#pwaInstallFab.show {
    display: flex;
}

#pwaInstallFab[hidden] {
    display: none !important;
}

#pwaInstallBanner .pwa-install-icon img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    object-fit: contain;
    display: block;
}

#pwaInstallBanner .pwa-install-body {
    flex: 1;
    min-width: 0;
}

#pwaInstallBanner .pwa-install-body h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
}

#pwaInstallBanner .pwa-install-body p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

#pwaInstallBanner .pwa-install-hint {
    margin-top: 8px !important;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 12px !important;
    line-height: 1.65 !important;
    opacity: 1 !important;
}

#pwaInstallBanner .pwa-install-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

#pwaInstallBanner .pwa-btn-install,
#pwaInstallBanner .pwa-btn-dismiss {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
}

#pwaInstallBanner .pwa-btn-install {
    background: #fff;
    color: #008fa0;
}

#pwaInstallBanner .pwa-btn-dismiss {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

@media (max-width: 1024px) {
    #pwaInstallBanner {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 8px);
        left: 12px;
        right: 12px;
    }
}

@media (min-width: 1025px) {
    #pwaInstallFab {
        display: none !important;
    }

    #pwaInstallBanner {
        bottom: 24px;
        left: auto;
        right: 24px;
        max-width: 380px;
    }
}

/* ==================================================
   AISMISR PHP CMS — additional styles for new pages
   ================================================== */
.service-card-img,
.project-card-img,
.blog-card-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.project-card { display: flex; flex-direction: column; }
.project-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.project-card-client { font-size: 0.78rem; color: var(--cyan); font-weight: 700; }
.project-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin: 4px 0; }
.project-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; flex: 1; }
.project-link { color: var(--cyan); font-weight: 700; font-size: 0.85rem; margin-top: auto; }
.blog-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 12px 32px var(--shadow-cyan); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.blog-card-cat { display: inline-block; background: rgba(0, 212, 232, 0.12); color: var(--cyan); padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; width: max-content; }
.blog-card-title { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); line-height: 1.4; }
.blog-card-excerpt { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.blog-card-meta { color: var(--text-muted); font-size: 0.78rem; display: flex; gap: 6px; flex-wrap: wrap; }
.blog-count { margin-top: 8px; font-size: 0.92rem; opacity: 0.85; }
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.blog-page-numbers { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.blog-page-num,
.blog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
}
.blog-page-num:hover,
.blog-page-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 8px 24px var(--shadow-cyan);
}
.blog-page-num.is-active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #041018;
    pointer-events: none;
}
.blog-page-ellipsis { color: var(--text-muted); padding: 0 4px; }
.blog-page-info { margin-top: 16px; font-size: 0.85rem; }

.article-service-link {
    display: grid;
    grid-template-columns: 1fr min(220px, 35%);
    gap: 24px;
    align-items: center;
    margin-top: 36px;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 212, 232, 0.08), rgba(0, 0, 0, 0.02));
}
.article-service-link-body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.article-service-link-tag {
    display: inline-block;
    background: rgba(0, 212, 232, 0.12);
    color: var(--cyan);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.article-service-link-title { font-size: 1.35rem; line-height: 1.35; margin: 0; }
.article-service-link-desc { color: var(--text-secondary); margin: 0; line-height: 1.7; }
.article-service-link-media {
    width: 100%;
    min-height: 160px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
}
.sp-related-articles { background: rgba(0, 0, 0, 0.02); }
@media (max-width: 768px) {
    .article-service-link { grid-template-columns: 1fr; }
    .article-service-link-media { min-height: 140px; order: -1; }
}
.blog-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card { padding: 24px; }
.service-card-img + .service-icon { margin-top: 16px; }

.cta-card {
    background: linear-gradient(135deg, rgba(0, 212, 232, 0.15), rgba(0, 168, 194, 0.05));
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
}
.cta-card h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--text-primary); }
.cta-card p { color: var(--text-secondary); margin-bottom: 20px; }

.page-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.page-hero .section-tag { display: inline-block; background: rgba(0, 212, 232, 0.12); color: var(--cyan); padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; margin-bottom: 12px; }
.page-hero .section-title { font-size: 2.2rem; font-weight: 900; color: var(--text-primary); margin-bottom: 8px; }
.page-hero .section-desc { color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Careers */
.careers-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
}

.careers-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}

.careers-benefit-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.careers-benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.careers-benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.careers-benefit-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.careers-positions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.careers-position-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
}

.careers-position-item:hover {
    border-color: var(--cyan);
    background: var(--cyan-glow);
}

.careers-position-label {
    font-weight: 700;
    min-width: 0;
    word-break: break-word;
}

.careers-position-cta {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.careers-form-wrap {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.careers-form {
    min-width: 0;
    max-width: 100%;
}

.careers-form-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.form-grid.cols-2 > .form-group {
    min-width: 0;
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.form-alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
}

.form-honeypot-wrap {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.contact-form,
.booking-form,
.careers-form {
    position: relative;
}

.form-turnstile {
    margin: 8px 0 16px;
}

@media (max-width: 1024px) {
    .form-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .careers-position-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 10px;
    }

    .careers-position-cta {
        white-space: normal;
    }

    .careers-benefits {
        grid-template-columns: 1fr;
    }

    .careers-benefit-card {
        padding: 22px 18px;
    }

    .careers-form-wrap,
    .contact-form-wrap.careers-form-wrap {
        padding: 24px 16px;
    }

    .page-hero .section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.35;
    }

    .ais-select,
    .ais-select-trigger {
        max-width: 100%;
        min-width: 0;
    }

    .ais-select-value {
        white-space: normal;
        word-break: break-word;
    }

    .form-group input[type="file"] {
        max-width: 100%;
    }
}

/* Legal pages (privacy, terms) */
.legal-page {
    padding-block: 2rem 4rem;
}

.legal-page-updated {
    font-size: 0.9rem;
    color: var(--text-muted, #b8d4e8);
    margin-bottom: 1.5rem;
}

.legal-page-body {
    max-width: 760px;
}

.legal-page-back {
    margin-top: 2.5rem;
    font-size: 0.95rem;
}

.legal-page-back a {
    color: var(--accent, #4fc3f7);
    text-decoration: none;
}

.legal-page-back a:hover {
    text-decoration: underline;
}

/* Gulf / UAE markets */
.gulf-markets-banner,
.spa-uae-spotlight {
    background: var(--bg-primary);
}

.gulf-markets-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.gulf-markets-content {
    min-width: 0;
    text-align: center;
}

.gulf-markets-content .section-title,
.gulf-markets-content .section-desc {
    text-align: center;
    margin-inline: auto;
    max-width: 36rem;
}

.gulf-markets-content .section-desc {
    margin-bottom: 28px;
}

.gulf-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
}

.gulf-regions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.gulf-regions-list li {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.55;
    transition: var(--transition-fast);
}

.gulf-regions-list li:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.gulf-regions-home {
    grid-template-columns: 1fr;
}

.gulf-regions-home li {
    font-size: 0.92rem;
}

.footer-gulf-regions {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    opacity: 0.95;
    line-height: 1.7;
    background: rgba(0, 212, 232, 0.06);
    border: 1px solid rgba(0, 212, 232, 0.12);
}

.gulf-trust-list {
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.gulf-trust-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gulf-trust-card {
    min-height: 280px;
    background: linear-gradient(145deg, rgba(79, 195, 247, 0.12), rgba(124, 77, 255, 0.1));
}

@media (max-width: 900px) {
    .gulf-markets-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gulf-markets-content .section-title,
    .gulf-markets-content .section-desc {
        max-width: none;
    }

    .gulf-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gulf-actions .btn {
        width: 100%;
        flex: none;
        justify-content: center;
    }
}

.spa-uae-spotlight-visual {
    position: relative;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 20px 50px var(--shadow);
    transform: none;
}

.spa-uae-spotlight-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.spa-uae-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.spa-uae-card {
    padding: 28px;
    border-radius: 16px;
    background: var(--card-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.spa-uae-card-featured {
    border-color: rgba(79, 195, 247, 0.35);
    box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.12);
}

.spa-uae-card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.spa-uae-features {
    margin: 16px 0 20px;
    padding-right: 18px;
    display: grid;
    gap: 8px;
}

.spa-uae-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spa-uae-bundle {
    margin-top: 24px;
    text-align: center;
    opacity: 0.9;
}

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

@media(max-width:1024px){
/* ═══════════════════════════════════════════════════
   AISMISR — Mobile Responsive (project_manager1 pattern)
   ═══════════════════════════════════════════════════ */

:root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --bottom-nav-h: 64px;
}

@media all and (display-mode: standalone) {
    body {
        padding-top: var(--safe-top);
    }
}

/* ══════════════════════════════════════════════════
   MOBILE LAYOUT (max-width: 1024px)
   ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root,
    html[dir="rtl"] {
        --font-main: "Cairo", system-ui, Tahoma, Arial, sans-serif;
    }

    html[dir="rtl"] body,
    html[dir="rtl"] button,
    html[dir="rtl"] input,
    html[dir="rtl"] textarea,
    html[dir="rtl"] select {
        font-family: var(--font-main);
    }

    body {
        padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
    }

    body.mobile-nav-open {
        overflow: hidden;
    }

    body.mobile-nav-open #mobileBottomNav {
        display: none;
    }

    .container {
        padding-left: max(16px, var(--safe-left));
        padding-right: max(16px, var(--safe-right));
    }

    /* ── Bottom Navigation ── */
    #mobileBottomNav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 8998;
        height: calc(var(--bottom-nav-h) + var(--safe-bottom));
        padding-bottom: var(--safe-bottom);
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    #mobileBottomNav a,
    #mobileBottomNav button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 8px 4px;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 700;
        font-family: var(--font-main);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }

    #mobileBottomNav a.active,
    #mobileBottomNav button.active {
        color: var(--cyan);
    }

    #mobileBottomNav .mobile-nav-icon {
        font-size: 1.25rem;
        line-height: 1;
    }

    /* ── Hero & sections ── */
    .hero {
        min-height: 100svh;
        padding-top: calc(64px + var(--safe-top));
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
        line-height: 1.25;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(1.45rem, 6vw, 1.85rem);
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .metric-box {
        padding: 12px 6px;
    }

    .metric-val {
        font-size: 1.25rem;
    }

    .metric-lbl {
        font-size: 0.7rem;
    }

    .clients-section {
        padding: 40px 0;
    }

    .page-hero,
    .page-hero-image {
        min-height: auto;
        padding-top: calc(80px + var(--safe-top));
        padding-bottom: 48px;
    }

    .page-hero-image {
        min-height: 320px;
    }

    .careers,
    .careers-positions,
    .careers-apply {
        overflow-x: clip;
    }

    .careers .container,
    .careers-positions .container,
    .careers-apply .container {
        min-width: 0;
    }

    .contact-form-wrap {
        padding: 24px 16px;
        max-width: 100%;
        min-width: 0;
    }

    /* ── Forms (iOS zoom fix) ── */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }

    button,
    .btn,
    [type="submit"],
    [type="button"] {
        min-height: 44px;
    }

    .phone-input-group {
        flex-direction: column;
    }

    .country-code-select {
        flex: none;
        width: 100%;
    }

    /* ── Modals ── */
    .modal-dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 32px - var(--safe-top) - var(--safe-bottom));
        overflow-y: auto;
        margin: 16px 12px;
        padding: 24px 18px;
    }

    .modal-overlay {
        padding: var(--safe-top) 0 var(--safe-bottom);
        align-items: flex-start;
    }

    /* ── Float actions above bottom nav ── */
    .float-actions {
        bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
        left: max(16px, var(--safe-left));
        gap: 10px;
    }

    .scroll-top {
        bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
        left: max(16px, var(--safe-left));
    }

    .whatsapp-float {
        bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
        left: max(16px, var(--safe-left));
    }

    .footer {
        padding-bottom: 24px;
    }

    .cta-card {
        padding: 32px 20px;
    }

    .blog-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .hidden-mobile {
        display: none !important;
    }
}

/* Keep the first mobile render cheap. Motion stays enabled on larger screens. */
@media (max-width: 767px) {
    body *,
    body *::before,
    body *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    main > section:not(.hero):not(.clients-section),
    .footer {
        content-visibility: auto;
        contain-intrinsic-block-size: auto 760px;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    body .float-actions .float-action,
    body .float-actions .scroll-top.show,
    body .float-actions .float-action::before,
    body .float-actions .scroll-top.show::before,
    body .float-actions .float-action-gem::after,
    body .float-actions .float-action-pulse,
    body .float-actions .float-action-pulse::after {
        transition-duration: 0.45s !important;
    }

    body .float-actions .float-action-music {
        animation: fab-float 5.4s ease-in-out infinite !important;
    }

    body .float-actions .float-action-call {
        animation: fab-float 5.4s ease-in-out 0.4s infinite !important;
    }

    body .float-actions .float-action-call::before {
        animation: fab-orbit 7.5s linear -2s infinite !important;
    }

    body .float-actions .float-action-whatsapp {
        animation: fab-float 5.4s ease-in-out 0.8s infinite !important;
    }

    body .float-actions .float-action-whatsapp::before {
        animation: fab-orbit 7.5s linear -4s infinite !important;
    }

    body .float-actions .float-action-music::before,
    body .float-actions .scroll-top.show::before {
        animation: fab-orbit 7.5s linear infinite !important;
    }

    body .float-actions .float-action-gem::after {
        animation: fab-shine 4.8s ease-in-out infinite !important;
    }

    body .float-actions .float-action-whatsapp .float-action-pulse {
        animation: fab-ping 2.6s ease-out infinite !important;
    }

    body .float-actions .float-action-whatsapp .float-action-pulse::after {
        animation: fab-ping 2.6s ease-out 0.7s infinite !important;
    }

    body .float-actions .scroll-top.show {
        animation: fab-float 5.4s ease-in-out 1.2s infinite !important;
    }
}

@media (min-width: 1025px) {
    #mobileBottomNav,
    .mobile-backdrop,
    .nav-mobile-cta {
        display: none !important;
    }
}

@media (max-width: 480px) {
    :root {
        --section-py: 36px;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .stat-item {
        min-width: 80px;
    }

    .contact-form-wrap {
        padding: 20px 16px;
    }

    .form-thank-you {
        padding: 32px 20px;
    }

    .contact-map-wrap {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .service-card-img,
    .project-card-img,
    .blog-card-img {
        height: 180px;
    }
}

@media (max-width: 380px) {
    #mobileBottomNav {
        font-size: 12px;
    }

    #mobileBottomNav .mobile-nav-icon {
        font-size: 1.1rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: rgba(0, 212, 232, 0.12);
    }

    ::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

/* ── PWA install banner ── */
#pwaInstallBanner {
    position: fixed;
    z-index: 9010;
    background: linear-gradient(135deg, #00b5c8, #008fa0);
    border-radius: 16px;
    padding: 14px 16px;
    display: none;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 181, 200, 0.35);
    color: #fff;
}

#pwaInstallBanner.show {
    display: flex;
}

#pwaInstallBanner .pwa-install-icon img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    object-fit: contain;
    display: block;
}

#pwaInstallBanner .pwa-install-body {
    flex: 1;
    min-width: 0;
}

#pwaInstallBanner .pwa-install-body h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
}

#pwaInstallBanner .pwa-install-body p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

#pwaInstallBanner .pwa-install-hint {
    margin-top: 8px !important;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 12px !important;
    line-height: 1.65 !important;
    opacity: 1 !important;
}

#pwaInstallBanner .pwa-install-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

#pwaInstallBanner .pwa-btn-install,
#pwaInstallBanner .pwa-btn-dismiss {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
}

#pwaInstallBanner .pwa-btn-install {
    background: #fff;
    color: #008fa0;
}

#pwaInstallBanner .pwa-btn-dismiss {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

@media (max-width: 1024px) {
    #pwaInstallBanner {
        bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px);
        left: 12px;
        right: 12px;
    }
}

@media (min-width: 1025px) {
    #pwaInstallBanner {
        bottom: 24px;
        left: auto;
        right: 24px;
        max-width: 380px;
    }
}

}
