/* ============================================================
   Alta-Tech site-wide styles
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
    --bg-primary: #05070d;
    --bg-secondary: #0a1120;
    --bg-elevated: #0d1526;
    --card-glass: rgba(15, 23, 42, 0.55);
    --border-glass: rgba(99, 149, 255, 0.16);
    --border-glass-strong: rgba(99, 149, 255, 0.32);
    --text-primary: #f3f6fb;
    --text-secondary: #9aa7bd;
    --text-muted: #6b7891;
    --accent-blue: #2f6bff;
    --accent-blue-soft: rgba(47, 107, 255, 0.15);
    --accent-cyan: #22d3ee;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    /* Stops the page from rubber-banding / shifting on mobile when a
       finger-swipe pull-to-refreshes (vertical) or drags past the left/right
       edge (horizontal), without disabling normal scroll chaining the way
       "none" can in some browsers. */
    overscroll-behavior: contain;
}

h1, h2, h3, h4, .brand-font {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

p { color: var(--text-secondary); }

a { text-decoration: none; }

::selection {
    background: rgba(47, 107, 255, 0.35);
    color: #ffffff;
}

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

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.section-padding { padding: 6rem 0; }

@media (max-width: 767.98px) {
    .section-padding { padding: 3.5rem 0; }
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 7, 13, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.85rem 0;
}

.brand-logo-mark {
    height: 46px;
    width: auto;
}

.brand-wordmark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-left: 0.6rem;
}

@media (max-width: 575.98px) {
    .brand-logo-mark { height: 36px; }
    .brand-wordmark { font-size: 1.2rem; }
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    margin: 0 0.85rem;
    position: relative;
    padding: 0.4rem 0 !important;
    transition: color 0.2s ease;
}

.nav-link-custom:hover { color: var(--text-primary) !important; }

.nav-link-custom.active { color: var(--text-primary) !important; }

.nav-link-custom.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 8px 1px rgba(47, 107, 255, 0.8);
}

.btn-cta-outline {
    border: 1px solid var(--border-glass-strong);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    transition: all 0.25s ease;
    background: rgba(47, 107, 255, 0.06);
}

.btn-cta-outline:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 22px rgba(47, 107, 255, 0.55);
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
    position: relative;
    padding: 9.5rem 0 7rem;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.75) 40%, rgba(5, 7, 13, 0.25) 100%),
        url('/images/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-headline {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-primary);
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 560px;
    color: var(--text-secondary);
}

.btn-primary-glow {
    background: #2555cc;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 0 26px rgba(47, 107, 255, 0.45);
    transition: all 0.25s ease;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 34px rgba(47, 107, 255, 0.75);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary-outline {
    border: 1px solid var(--border-glass-strong);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 991.98px) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* ============================================================
   GLASS CARDS (shared)
============================================================ */
.glass-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-strong);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(47, 107, 255, 0.18);
}

/* ============================================================
   SERVICES
============================================================ */
.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-glass-strong);
    color: var(--accent-blue);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.service-arrow {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.glass-card:hover .service-arrow { gap: 10px; }

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio-section {
    background: var(--bg-secondary);
}

.portfolio-thumb {
    height: 170px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-glass);
}

.portfolio-thumb.thumb-a { background: linear-gradient(135deg, #0b3a6b, #071226); }
.portfolio-thumb.thumb-b { background: linear-gradient(135deg, #0a2a4f, #06101f); }
.portfolio-thumb.thumb-c { background: linear-gradient(135deg, #123457, #071226); }

.portfolio-thumb.has-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

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

.portfolio-thumb:not(.has-image)::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.portfolio-thumb .ui-dot {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    gap: 5px;
}

.portfolio-thumb .ui-dot span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-section a.text-decoration-none,
.portfolio-section a.text-decoration-none:hover {
    color: inherit;
}

.portfolio-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

/* ============================================================
   WHY ALTA-TECH
============================================================ */
.feature-strip {
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.feature-item i {
    font-size: 1.4rem;
    color: var(--accent-blue);
    margin-bottom: 0.6rem;
}

.feature-item span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ============================================================
   CTA BLOCK
============================================================ */
.cta-text {
    max-width: 560px;
}

.cta-card {
    background: radial-gradient(circle at 30% 20%, rgba(47, 107, 255, 0.18), transparent 60%),
                linear-gradient(160deg, rgba(20, 30, 54, 0.9), rgba(8, 12, 22, 0.9));
    border: 1px solid var(--border-glass-strong);
    border-radius: 22px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   CONTACT PAGE - HERO
============================================================ */
.contact-hero {
    position: relative;
    padding: 9.5rem 0 5rem;
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(5, 7, 13, 0.35) 0%, rgba(5, 7, 13, 0.55) 100%),
        url('/images/contact-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 991.98px) {
    .contact-hero {
        background-attachment: scroll;
    }
}

.section-heading-bar {
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent-blue);
    margin-top: 0.6rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 8px rgba(47, 107, 255, 0.7);
}

/* ============================================================
   CONTACT INFO CARDS
============================================================ */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-glass-strong);
    color: var(--accent-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

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

/* ============================================================
   RESPONSE ORB (decorative, large screens only)
============================================================ */
.response-orb {
    text-align: center;
}

.response-orb-line {
    width: 1px;
    height: 90px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--border-glass-strong) 60%, var(--accent-blue));
}

.response-orb-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px dashed var(--border-glass-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1rem;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.14), transparent 70%);
}

.response-orb-ring img {
    width: 40px;
    opacity: 0.9;
}

.response-orb small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.response-orb strong {
    display: block;
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-form-card {
    padding: 2.25rem;
}

.form-label-dark {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.form-control-dark,
.form-select-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
}

.form-control-dark::placeholder {
    color: var(--text-muted);
}

.form-control-dark:focus,
.form-select-dark:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.25);
    color: var(--text-primary);
    outline: none;
}

.form-select-dark option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Phone field country-code dropdown (intl-tel-input) - match the dark glass theme */
.iti {
    width: 100%;
    --iti-border-color: var(--border-glass);
    --iti-dialcode-color: var(--text-muted);
    --iti-dropdown-bg: var(--bg-elevated);
    --iti-arrow-color: var(--text-secondary);
    --iti-hover-color: rgba(255, 255, 255, 0.05);
}

.iti .form-control-dark.is-invalid {
    border-color: #ff6b6b;
}

#phoneError {
    font-size: 0.8rem;
}

/* The country list is a floating popover, not part of the page flow - give it
   a clear elevated look (shadow + border + high z-index) so it doesn't read
   as if it's fused with whatever sits below it (e.g. the submit button). */
.iti__dropdown-content {
    border: 1px solid var(--border-glass-strong) !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 45px -16px rgba(0, 0, 0, 0.75), 0 0 24px rgba(47, 107, 255, 0.15) !important;
    z-index: 20 !important;
    overflow: hidden;
}

.iti__search-input {
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
}

.iti__search-input::placeholder {
    color: var(--text-muted);
}

.iti__search-input + .iti__country-list {
    border-top-color: var(--border-glass);
}

.btn-send-message {
    background: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    box-shadow: 0 0 26px rgba(47, 107, 255, 0.45);
    transition: all 0.25s ease;
}

.btn-send-message:hover {
    box-shadow: 0 0 34px rgba(47, 107, 255, 0.75);
    color: #fff;
}

/* Contact form submit feedback (success / error banners) */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.form-alert-success {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: var(--text-primary);
}

.form-alert-success i {
    color: var(--accent-cyan);
    margin-top: 0.15rem;
}

.form-alert-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.35);
    color: var(--text-primary);
}

.form-alert-error i {
    color: #ff6b6b;
    margin-top: 0.15rem;
}

.form-control-dark.is-invalid,
.form-select-dark.is-invalid {
    border-color: #ff6b6b;
}

.secure-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.secure-note i {
    color: var(--accent-cyan);
    margin-right: 0.35rem;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 3.5rem 0 1.5rem;
}

.footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease;
}

.footer-link:hover { color: var(--text-primary); }

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-glass-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: #fff;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.25rem;
    margin-top: 2.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ============================================================
   TECHNOLOGIES PAGE - shared palette (scoped to this page's
   components only, so other pages keep their own tokens)
============================================================ */
:root {
    --tech-blue: #1170ff;
    --tech-cyan: #06b6d4;
    --tech-card-bg: rgba(255, 255, 255, 0.04);
    --tech-border: rgba(59, 130, 246, 0.25);
}

.text-tech-blue {
    color: var(--tech-blue);
}

/* ============================================================
   TECHNOLOGIES - HERO
============================================================ */
.tech-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 78% 25%, rgba(17, 112, 255, 0.16), transparent 65%), var(--bg-primary);
}

.tech-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 149, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 149, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    pointer-events: none;
}

.mini-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.mini-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 112, 255, 0.12);
    border: 1px solid var(--tech-border);
    color: var(--tech-blue);
    font-size: 1rem;
}

.mini-feature strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.mini-feature span {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* Floating tech visual */
.tech-visual {
    position: relative;
    height: 380px;
}

.tech-visual-glow {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 112, 255, 0.35), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.tech-visual-platform {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: 300px;
    height: 10px;
    border-radius: 50%;
    background: rgba(17, 112, 255, 0.25);
    box-shadow: 0 0 40px 10px rgba(17, 112, 255, 0.25);
}

.tech-card {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.18), rgba(6, 182, 212, 0.08));
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(17, 112, 255, 0.2);
    animation: tech-float 5s ease-in-out infinite;
}

.tech-card i {
    font-size: 1.6rem;
    color: var(--tech-cyan);
}

.tc-1 { top: 8%; left: 38%; animation-delay: 0s; }
.tc-2 { top: 22%; left: 8%; animation-delay: 0.6s; }
.tc-3 { top: 22%; left: 68%; animation-delay: 1.2s; font-size: 1.05rem; }
.tc-4 { top: 46%; left: 4%; animation-delay: 1.8s; }
.tc-5 { top: 48%; left: 40%; animation-delay: 2.4s; }
.tc-6 { top: 48%; left: 72%; animation-delay: 3s; }

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

@media (max-width: 991.98px) {
    .tech-visual { display: none; }
}

/* ============================================================
   CORE TECHNOLOGY AREAS
============================================================ */
.core-tech-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.core-tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(17, 112, 255, 0.2);
}

.core-tech-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    border: 1px solid;
}

.core-tech-icon.icon-blue { background: rgba(17, 112, 255, 0.12); border-color: rgba(17, 112, 255, 0.4); color: #4f8dff; }
.core-tech-icon.icon-green { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.core-tech-icon.icon-purple { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.4); color: #a78bfa; }
.core-tech-icon.icon-cyan { background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.4); color: #22d3ee; }
.core-tech-icon.icon-orange { background: rgba(249, 115, 22, 0.12); border-color: rgba(249, 115, 22, 0.4); color: #fb923c; }
.core-tech-icon.icon-pink { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.4); color: #f472b6; }
.core-tech-icon.icon-teal { background: rgba(20, 184, 166, 0.12); border-color: rgba(20, 184, 166, 0.4); color: #2dd4bf; }
.core-tech-icon.icon-yellow { background: rgba(234, 179, 8, 0.12); border-color: rgba(234, 179, 8, 0.4); color: #facc15; }

.core-tech-card .card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-blue);
    font-size: 0.85rem;
    margin-top: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.core-tech-card:hover .card-arrow {
    background: var(--tech-blue);
    color: #fff;
}

/* ============================================================
   TECHNOLOGIES WE USE - CHIPS
============================================================ */
.tech-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 108px;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--tech-border);
    background: var(--tech-card-bg);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-chip:hover {
    border-color: var(--tech-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
}

.tech-chip .chip-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.tech-chip .chip-icon.chip-icon-wide {
    width: 42px;
    height: 24px;
}

.tech-chip .chip-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    padding: 4px 6px;
    line-height: 0;
}

.tech-chip small {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.72rem;
}

/* ============================================================
   WHY IT MATTERS
============================================================ */
.why-matters-item {
    text-align: center;
    padding: 0 1rem;
}

.why-matters-item i {
    font-size: 1.8rem;
    color: var(--tech-blue);
    margin-bottom: 0.75rem;
}

.why-matters-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.why-matters-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .why-matters-item {
        border-right: 1px solid var(--border-glass);
    }

    .why-matters-item:last-child {
        border-right: none;
    }
}

/* ============================================================
   TECHNOLOGIES - CTA BAR
============================================================ */
.cta-bar {
    background: linear-gradient(90deg, rgba(17, 112, 255, 0.10), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cta-bar-line {
    flex: 1;
    height: 2px;
    min-width: 60px;
    background: linear-gradient(90deg, transparent, var(--tech-blue));
    box-shadow: 0 0 12px rgba(17, 112, 255, 0.7);
}

.btn-tech-primary {
    background: var(--tech-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 26px rgba(17, 112, 255, 0.45);
    transition: all 0.25s ease;
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-tech-primary:hover {
    box-shadow: 0 0 34px rgba(17, 112, 255, 0.75);
    color: #fff;
}

/* ============================================================
   PORTFOLIO PAGE - HERO
============================================================ */
.portfolio-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 82% 15%, rgba(17, 112, 255, 0.16), transparent 65%), var(--bg-primary);
}

.portfolio-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    opacity: 0.7;
    pointer-events: none;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(17, 112, 255, 0.08);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-stat span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   PORTFOLIO FILTERS
============================================================ */
.filter-pill {
    border: 1px solid var(--tech-border);
    background: var(--tech-card-bg);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--tech-blue);
    color: var(--text-primary);
    box-shadow: 0 0 16px rgba(17, 112, 255, 0.25);
}

.filter-pill.active {
    border-color: var(--tech-blue);
    color: var(--text-primary);
    background: rgba(17, 112, 255, 0.12);
    box-shadow: 0 0 16px rgba(17, 112, 255, 0.3);
}

.sort-select {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
}

.sort-select:focus {
    box-shadow: 0 0 0 3px rgba(17, 112, 255, 0.2);
    border-color: var(--tech-blue);
    color: var(--text-primary);
}

.sort-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* ============================================================
   PORTFOLIO CARDS
============================================================ */
.portfolio-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(17, 112, 255, 0.22);
}

.portfolio-card:hover .card-mockup {
    filter: brightness(1.15);
}

.card-mockup {
    height: 220px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.14), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--tech-border);
    transition: filter 0.25s ease;
}

@media (max-width: 767.98px) {
    .card-mockup { height: 180px; }
}

.card-mockup.mockup-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

.category-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--tech-blue);
    background: rgba(17, 112, 255, 0.12);
    border: 1px solid var(--tech-border);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.6rem;
    align-self: flex-start;
}

.portfolio-card p {
    font-size: 0.88rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
}

.card-tags span {
    font-size: 0.72rem;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.view-project-link {
    margin-top: auto;
    color: var(--tech-blue);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

/* Card with two store links (e.g. App Store + Google Play) instead of one
   "View Project" link. Takes over the margin-top: auto that .view-project-link
   normally uses to pin itself to the bottom of the flex-column card, since the
   links are no longer direct children of .portfolio-card once wrapped. */
.portfolio-card-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.portfolio-card-links .view-project-link {
    margin-top: 0;
}

.portfolio-card:hover .view-project-link {
    gap: 10px;
}

/* Real-product mockup (QRCod.app, Albatta Delivery) - big centered icon */
.mockup-icon-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-icon-brand i {
    font-size: 3.8rem;
    color: var(--tech-blue);
    filter: drop-shadow(0 0 22px rgba(17, 112, 255, 0.5));
}

/* Real-product mockup - photo/screenshot fill */
.mockup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mockup visual variants (CSS-only, no stock images) */
.mockup-dashboard {
    padding: 16px;
}

.mockup-dashboard .m-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

.mockup-dashboard .m-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 10px;
}

.mockup-dashboard .m-bars span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue));
    opacity: 0.85;
}

.mockup-ecommerce {
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
}

.mockup-ecommerce span {
    border-radius: 10px;
    background: linear-gradient(160deg, #dbe6ff, #b9cbff);
}

.mockup-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mockup-mobile .phone {
    width: 70px;
    height: 150px;
    border-radius: 16px;
    background: rgba(6, 10, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 8px;
}

.mockup-mobile .phone .m-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 6px;
}

.mockup-mobile .phone .m-chip {
    height: 16px;
    border-radius: 6px;
    background: var(--tech-blue);
    margin-top: 8px;
}

.mockup-api {
    position: relative;
}

.mockup-api .node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tech-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

.mockup-api::before,
.mockup-api::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.14);
    height: 1px;
}

.mockup-api::before {
    top: 50%;
    left: 20%;
    width: 60%;
    transform: rotate(12deg);
}

.mockup-api::after {
    top: 40%;
    left: 15%;
    width: 55%;
    transform: rotate(-18deg);
}

.card-mockup.mockup-logo {
    background: #fff;
}

.mockup-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.75rem;
    box-sizing: border-box;
    display: block;
}

.card-mockup.mockup-logo.logo-transparent {
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.14), rgba(6, 182, 212, 0.05));
}

.mockup-logo.logo-transparent img {
    object-fit: contain;
    padding: 0.5rem;
}

.mockup-logo.logo-transparent img {
    max-height: 180px;
}

.mockup-landing {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.mockup-landing .m-title {
    height: 12px;
    width: 70%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.mockup-landing .m-sub {
    height: 7px;
    width: 50%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.09);
}

.mockup-landing .m-btn {
    width: 90px;
    height: 24px;
    border-radius: 999px;
    background: var(--tech-blue);
    margin-top: 6px;
}

/* Placeholder mockup - sign-in / login card (used until a real screenshot is available) */
.mockup-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-login .m-login-card {
    width: 150px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mockup-login .m-login-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--tech-cyan), var(--tech-blue));
    margin-bottom: 2px;
}

.mockup-login .m-login-field {
    width: 100%;
    height: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
}

.mockup-login .m-login-btn {
    width: 100%;
    height: 20px;
    border-radius: 999px;
    background: var(--tech-blue);
    margin-top: 4px;
}

/* Concept mockup - small phone silhouette (Shopora Mobile card) */
.mockup-phone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-phone .m-phone-body {
    width: 84px;
    height: 168px;
    border-radius: 16px;
    background: #0B7A2A;
    position: relative;
    box-shadow: 0 10px 30px -8px rgba(11, 122, 42, 0.55);
    overflow: hidden;
}

.mockup-phone .m-phone-body::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
}

.mockup-phone .m-phone-rows {
    position: absolute;
    top: 28px;
    left: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-phone .m-phone-rows span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.mockup-phone .m-phone-rows span:nth-child(1) { width: 60%; }
.mockup-phone .m-phone-rows span:nth-child(2) { width: 85%; }

.mockup-phone .m-phone-grid {
    position: absolute;
    bottom: 14px;
    left: 10px;
    right: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.mockup-phone .m-phone-grid span {
    display: block;
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   FEATURED CASE STUDY
============================================================ */
.featured-mockup {
    height: 340px;
    border-radius: 22px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.16), rgba(6, 182, 212, 0.06));
    border: 1px solid var(--tech-border);
}

.impact-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.impact-point i {
    color: var(--tech-cyan);
    font-size: 1rem;
}

/* ============================================================
   PROCESS STRIP
============================================================ */
.process-step {
    text-align: center;
    position: relative;
}

.process-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    background: rgba(17, 112, 255, 0.08);
    color: var(--tech-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.process-line {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--tech-blue), transparent);
    z-index: 1;
}

.process-step:last-child .process-line {
    display: none;
}

.process-step-icon.numbered {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================================
   ABOUT PAGE - HERO
============================================================ */
.about-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 15% 20%, rgba(17, 112, 255, 0.14), transparent 65%), var(--bg-primary);
}

.about-underline {
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--tech-blue);
    margin: 1rem 0 1.25rem;
    box-shadow: 0 0 8px rgba(17, 112, 255, 0.7);
}

.hero-logo-visual {
    position: relative;
    height: 340px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-logo-visual .dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 149, 255, 0.35) 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
    opacity: 0.5;
}

.hero-logo-visual .beam {
    position: absolute;
    bottom: 40px;
    width: 1px;
    height: 220px;
    background: linear-gradient(180deg, transparent, rgba(17, 112, 255, 0.5));
}

.hero-logo-visual .beam.beam-left { left: 12%; height: 160px; }
.hero-logo-visual .beam.beam-right { right: 12%; height: 190px; }

.hero-logo-visual .horizon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 220px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    border-top: 2px solid rgba(17, 112, 255, 0.5);
    box-shadow: 0 -20px 60px rgba(17, 112, 255, 0.35);
    overflow: hidden;
}

.hero-logo-visual .glow {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 112, 255, 0.4), transparent 70%);
    filter: blur(10px);
}

.hero-logo-visual img {
    position: relative;
    width: 190px;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(17, 112, 255, 0.6));
    animation: tech-float 6s ease-in-out infinite;
}

@media (max-width: 991.98px) {
    .hero-logo-visual { display: none; }
}

/* ============================================================
   WHAT WE DO STRIP
============================================================ */
.what-we-do-strip {
    border-top: 1px solid var(--tech-border);
    border-bottom: 1px solid var(--tech-border);
}

.wwd-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.wwd-item i {
    font-size: 1.5rem;
    color: var(--tech-blue);
    margin-bottom: 0.6rem;
}

.wwd-item span {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .wwd-item {
        border-right: 1px solid var(--tech-border);
    }

    .wwd-item:last-child {
        border-right: none;
    }
}

/* ============================================================
   JOURNEY / WHAT WE BELIEVE PANELS
============================================================ */
.info-panel {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
}

.info-panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tech-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.journey-step {
    text-align: center;
    position: relative;
}

.journey-step small {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.6rem;
    line-height: 1.35;
}

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

.believe-item i {
    font-size: 1.5rem;
    color: var(--tech-blue);
    margin-bottom: 0.6rem;
}

.believe-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================================
   OUR TEAM PANEL
============================================================ */
.team-panel {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--tech-border);
    overflow: hidden;
    padding: 2.5rem;
    background:
        linear-gradient(100deg, rgba(5, 7, 13, 0.85), rgba(5, 7, 13, 0.55)),
        radial-gradient(ellipse 50% 80% at 30% 50%, rgba(17, 112, 255, 0.35), transparent 70%),
        radial-gradient(ellipse 40% 70% at 70% 40%, rgba(6, 182, 212, 0.25), transparent 70%),
        var(--bg-elevated);
    min-height: 260px;
}

.team-panel .beam {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(17, 112, 255, 0.35), transparent);
}

.team-quote {
    font-size: 2.5rem;
    color: var(--tech-blue);
    line-height: 1;
    opacity: 0.6;
}

/* ============================================================
   STATS PANEL
============================================================ */
.stats-panel {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 0 40px rgba(17, 112, 255, 0.08);
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
}

.stat-item i {
    font-size: 1.4rem;
    color: var(--tech-blue);
    margin-bottom: 0.6rem;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-item span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .stat-item {
        border-right: 1px solid var(--tech-border);
    }

    .stat-item:last-child {
        border-right: none;
    }
}

/* ============================================================
   MISSION SECTION
============================================================ */
.mission-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 3rem;
}

@media (max-width: 767.98px) {
    .mission-card { padding: 1.75rem; }
}

/* ============================================================
   SOLUTIONS PAGE - HERO
============================================================ */
.solutions-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 82% 20%, rgba(17, 112, 255, 0.16), transparent 65%), var(--bg-primary);
}

.solutions-visual {
    position: relative;
    height: 380px;
}

.solutions-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--tech-border);
    box-shadow: 0 25px 55px -20px rgba(0, 0, 0, 0.7), 0 0 35px rgba(17, 112, 255, 0.2);
}

@media (max-width: 991.98px) {
    .solutions-visual { display: none; }
}

.solutions-visual .sv-flare {
    position: absolute;
    top: 8%;
    left: 30%;
    width: 3px;
    height: 220px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), rgba(17, 112, 255, 0.4), transparent);
    filter: blur(0.5px);
    box-shadow: 0 0 30px 6px rgba(17, 112, 255, 0.5);
}

.solutions-visual .sv-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 149, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 149, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 70% 50% at 60% 100%, #000 30%, transparent 100%);
}

.sv-card {
    position: absolute;
    border-radius: 18px;
    border: 1px solid var(--tech-border);
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.14), rgba(6, 10, 20, 0.9));
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(17, 112, 255, 0.15);
    padding: 16px;
    animation: tech-float 6s ease-in-out infinite;
}

.sv-card.sv-code {
    top: 4%;
    left: 42%;
    width: 220px;
    height: 260px;
    transform: rotate(-8deg);
    animation-delay: 0s;
}

.sv-card.sv-code .sv-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(17, 112, 255, 0.4);
    margin-bottom: 8px;
}

.sv-card.sv-code .sv-line:nth-child(3n) { width: 60%; background: rgba(6, 182, 212, 0.4); }
.sv-card.sv-code .sv-line:nth-child(3n+1) { width: 85%; }
.sv-card.sv-code .sv-line:nth-child(3n+2) { width: 70%; }

.sv-card.sv-revenue {
    top: 22%;
    left: 22%;
    width: 200px;
    height: 220px;
    transform: rotate(-3deg);
    animation-delay: 0.8s;
}

.sv-card.sv-users {
    top: 30%;
    left: 55%;
    width: 190px;
    height: 210px;
    transform: rotate(2deg);
    animation-delay: 1.6s;
}

.sv-card .sv-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.sv-card .sv-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sv-card .sv-delta {
    font-size: 0.72rem;
    color: var(--tech-cyan);
    font-weight: 600;
    margin: 0.2rem 0 0.75rem;
}

.sv-card .sv-chart {
    height: 55px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.sv-card .sv-chart span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue));
    opacity: 0.85;
}

.sv-card .sv-donut {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0.5rem auto 0;
    background: conic-gradient(var(--tech-blue) 0% 65%, rgba(255, 255, 255, 0.08) 65% 100%);
    position: relative;
}

.sv-card .sv-donut::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: #0b1220;
}

.sv-dock {
    position: absolute;
    top: 10%;
    right: 2%;
    width: 56px;
    background: rgba(10, 15, 28, 0.85);
    border: 1px solid var(--tech-border);
    border-radius: 999px;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.sv-dock i {
    color: var(--tech-blue);
    font-size: 1.05rem;
}

/* ============================================================
   SOLUTION CARDS
============================================================ */
.solution-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(17, 112, 255, 0.22);
}

.solution-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    background: rgba(17, 112, 255, 0.08);
    color: var(--tech-blue);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.solution-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.solution-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    color: var(--tech-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.solution-card:hover .solution-arrow-btn {
    background: var(--tech-blue);
    color: #fff;
}

.solution-card-link,
.solution-card-link:hover {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

/* ============================================================
   BENEFITS STRIP
============================================================ */
.benefits-strip {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 1.75rem 2rem;
}

.benefit-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-strip-item i {
    font-size: 1.7rem;
    color: var(--tech-blue);
    flex-shrink: 0;
}

.benefit-strip-item h3 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.benefit-strip-item p {
    font-size: 0.82rem;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .benefit-strip-item {
        border-right: 1px solid var(--tech-border);
        padding-right: 1rem;
    }

    .col-benefit:last-child .benefit-strip-item {
        border-right: none;
    }
}

/* ============================================================
   FEATURED SOLUTION - COMPACT POINTS
============================================================ */
.compact-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.compact-point i {
    color: var(--tech-cyan);
    font-size: 1rem;
}

.mockup-dashboard.with-sidebar {
    display: flex;
    gap: 12px;
}

.mockup-dashboard .sv-sidebar {
    width: 34px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-dashboard .sv-sidebar span {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(17, 112, 255, 0.3);
}

.mockup-dashboard .sv-sidebar span:first-child {
    background: var(--tech-blue);
}

.mockup-dashboard .sv-main {
    flex: 1;
}

/* ============================================================
   INDUSTRY CARDS
============================================================ */
.industry-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: var(--tech-blue);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.6), 0 0 22px rgba(17, 112, 255, 0.2);
}

.industry-card i {
    font-size: 1.5rem;
    color: var(--tech-blue);
    margin-bottom: 0.6rem;
}

.industry-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================================
   PRIVACY POLICY PAGE - HERO
============================================================ */
.privacy-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 82% 20%, rgba(17, 112, 255, 0.16), transparent 65%), var(--bg-primary);
}

.privacy-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 149, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 149, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    pointer-events: none;
}

.privacy-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--tech-border);
    background: var(--tech-card-bg);
    border-radius: 999px;
    padding: 0.45rem 1rem;
}

.privacy-updated-badge i {
    color: var(--tech-blue);
}

.privacy-updated-badge strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Abstract shield/lock visual - CSS + icon only, no stock imagery */
.privacy-shield-visual {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-shield-visual .dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 149, 255, 0.35) 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 40%, transparent 100%);
    opacity: 0.5;
}

.privacy-shield-visual .shield-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 112, 255, 0.4), transparent 70%);
    filter: blur(14px);
}

.privacy-shield-visual .shield-ring {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px dashed var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(17, 112, 255, 0.1), transparent 70%);
    animation: tech-float 6s ease-in-out infinite;
}

.privacy-shield-visual .shield-icon {
    font-size: 5.5rem;
    color: var(--tech-blue);
    filter: drop-shadow(0 0 26px rgba(17, 112, 255, 0.65));
}

.privacy-shield-visual .shield-icon .bi-lock-fill {
    position: absolute;
    font-size: 1.9rem;
    color: #fff;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 10px rgba(17, 112, 255, 0.9));
}

@media (max-width: 991.98px) {
    .privacy-shield-visual { display: none; }
}

/* ============================================================
   PRIVACY POLICY - QUICK SUMMARY CARDS
============================================================ */
.summary-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(17, 112, 255, 0.2);
}

.summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 112, 255, 0.1);
    border: 1px solid var(--tech-border);
    color: var(--tech-blue);
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}

.summary-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.summary-card p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ============================================================
   PRIVACY POLICY - TABLE OF CONTENTS
============================================================ */
.privacy-toc {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 1.75rem;
}

@media (min-width: 992px) {
    .privacy-toc {
        position: sticky;
        top: 100px;
    }
}

.privacy-toc-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tech-blue);
    margin-bottom: 1.1rem;
    display: block;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.4rem;
    border-radius: 10px;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.toc-link:hover {
    color: var(--text-primary) !important;
    background: rgba(17, 112, 255, 0.08);
}

.toc-link .toc-num {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tech-blue);
    flex-shrink: 0;
    width: 22px;
}

/* ============================================================
   PRIVACY POLICY - LEGAL CONTENT PANEL
============================================================ */
.legal-panel {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 24px;
    padding: 40px;
}

@media (max-width: 767.98px) {
    .legal-panel { padding: 24px; }
}

.legal-section {
    scroll-margin-top: 100px;
}

.legal-section:not(:first-child) {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border-glass);
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.legal-section p,
.legal-section li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-section ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.6rem;
}

.legal-section ul li::before {
    content: "\f272";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.7rem;
    color: var(--tech-blue);
}

.legal-section address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================================
   PRIVACY POLICY - IMPORTANT NOTICE
============================================================ */
.notice-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.notice-card i {
    font-size: 1.6rem;
    color: var(--tech-blue);
    flex-shrink: 0;
}

.notice-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.notice-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================================
   BLOGS PAGE - HERO
============================================================ */
.blogs-hero {
    position: relative;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 55% at 82% 20%, rgba(17, 112, 255, 0.16), transparent 65%), var(--bg-primary);
}

.blogs-breadcrumb {
    --bs-breadcrumb-divider-color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.blogs-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
}

.blogs-breadcrumb .breadcrumb-item a:hover {
    color: var(--tech-blue);
}

.blogs-breadcrumb .breadcrumb-item.active {
    color: var(--tech-blue);
}

/* Search input (reuses .form-control-dark, adds icon + spacing) */
.blog-search {
    position: relative;
    max-width: 420px;
}

.blog-search i {
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.blog-search input {
    padding-left: 2.6rem;
}

/* Floating hero visual (CSS + icons only) */
.blogs-hero-visual {
    position: relative;
    height: 380px;
}

@media (max-width: 991.98px) {
    .blogs-hero-visual { display: none; }
}

.bhv-monitor {
    position: absolute;
    top: 6%;
    left: 6%;
    width: 300px;
    height: 220px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.16), rgba(6, 10, 20, 0.92));
    border: 1px solid var(--tech-border);
    box-shadow: 0 25px 55px -20px rgba(0, 0, 0, 0.7), 0 0 35px rgba(17, 112, 255, 0.2);
    padding: 20px;
}

.bhv-monitor .bhv-label {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--tech-blue);
    margin-bottom: 14px;
}

.bhv-monitor .bhv-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.bhv-monitor .bhv-stand {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 20px;
    border-radius: 0 0 10px 10px;
    background: rgba(17, 112, 255, 0.12);
    border: 1px solid var(--tech-border);
    border-top: none;
}

.bhv-image-card {
    position: absolute;
    top: 10%;
    right: 6%;
    width: 130px;
    height: 105px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(6, 182, 212, 0.16), rgba(6, 10, 20, 0.9));
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.65);
    animation: tech-float 5.5s ease-in-out infinite;
    animation-delay: 0.4s;
}

.bhv-image-card i {
    font-size: 1.8rem;
    color: var(--tech-cyan);
}

.bhv-chart-card {
    position: absolute;
    bottom: 10%;
    right: 12%;
    width: 165px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.16), rgba(6, 10, 20, 0.92));
    border: 1px solid var(--tech-border);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.65);
    animation: tech-float 6s ease-in-out infinite;
    animation-delay: 0.8s;
}

.bhv-chart-card .bhv-chart-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bhv-chart-card .bhv-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 46px;
}

.bhv-chart-card .bhv-bars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue));
    opacity: 0.85;
}

/* ============================================================
   BLOGS PAGE - CATEGORY LABEL (shared by featured + grid cards)
============================================================ */
.blog-category-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tech-cyan);
    margin-bottom: 0.6rem;
}

/* ============================================================
   BLOGS PAGE - FEATURED ARTICLE VISUAL HEIGHT
============================================================ */
.featured-mockup.fm-blog {
    height: 320px;
}

@media (max-width: 767.98px) {
    .featured-mockup.fm-blog { height: 220px; }
}

/* ============================================================
   BLOGS PAGE - ARTICLE META (date + reading time)
============================================================ */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ============================================================
   BLOGS PAGE - ARTICLE CARDS
============================================================ */
.blog-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: 22px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--tech-blue);
    box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(17, 112, 255, 0.22);
}

.blog-card:hover .blog-visual {
    filter: brightness(1.15);
}

.blog-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.blog-card p {
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.blog-card-link,
.blog-card-link:hover {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

/* ============================================================
   BLOGS PAGE - ARTICLE VISUALS (CSS + icons only, no stock photos)
============================================================ */
.blog-visual {
    height: 220px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: linear-gradient(160deg, rgba(17, 112, 255, 0.14), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.25s ease;
}

@media (max-width: 767.98px) {
    .blog-visual { height: 180px; }
}

.blog-visual .bv-icon-main {
    font-size: 3.4rem;
    color: var(--tech-blue);
    filter: drop-shadow(0 0 20px rgba(17, 112, 255, 0.5));
    position: relative;
    z-index: 2;
}

.blog-visual .bv-icon-ghost {
    position: absolute;
    font-size: 6.5rem;
    color: rgba(17, 112, 255, 0.14);
    z-index: 1;
}

.blog-visual .bv-icon-small {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(6, 10, 20, 0.85);
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--tech-cyan);
    z-index: 2;
}

.bv-web .bv-icon-small.bv-tag-1 { top: 18%; left: 16%; }
.bv-web .bv-icon-small.bv-tag-2 { bottom: 18%; right: 18%; }

.bv-api .bv-icon-small { display: none; }

.bv-cloud .bv-icon-small { bottom: 18%; right: 22%; }

.bv-mobile .bv-icon-small.bv-tag-1 { top: 28%; left: 24%; }
.bv-mobile .bv-icon-small.bv-tag-2 { bottom: 24%; right: 26%; }

.blog-visual .bv-donut {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: conic-gradient(var(--tech-blue) 0% 65%, rgba(255, 255, 255, 0.08) 65% 100%);
    position: relative;
}

.blog-visual .bv-donut::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #0b1220;
}

.blog-visual .bv-bars {
    position: absolute;
    bottom: 16%;
    left: 16%;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 42px;
}

.blog-visual .bv-bars span {
    width: 6px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--tech-cyan), var(--tech-blue));
    opacity: 0.85;
}

.blog-visual .bv-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.blog-visual .bv-grid-2x2 span {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(17, 112, 255, 0.12);
    border: 1px solid var(--tech-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-cyan);
    font-size: 1.1rem;
}

/* ============================================================
   BLOGS PAGE - PAGINATION
============================================================ */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tech-border);
    background: var(--tech-card-bg);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--tech-blue);
    color: var(--text-primary);
}

.page-btn.active {
    background: var(--tech-blue);
    border-color: var(--tech-blue);
    color: #fff;
    box-shadow: 0 0 18px rgba(17, 112, 255, 0.5);
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 0.25rem;
}

/* ============================================================
   ARABIC / RTL SUPPORT
   Bootstrap's own grid, spacing utilities (ms-/me-, text-start/end,
   float-start/end, etc.) already mirror correctly because the layout
   swaps in bootstrap.rtl.min.css when the active culture is Arabic.
   The overrides below only cover this stylesheet's own physical
   left/right values that don't come from Bootstrap utilities.
   Purely decorative/abstract compositions (floating tech/solution
   cards, hero beams, dashboard mockups) are left unmirrored - they
   carry no directional meaning and read fine either way.
============================================================ */
[dir="rtl"] body {
    font-family: 'Cairo', var(--font-body);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .brand-font {
    font-family: 'Cairo', var(--font-heading);
}

[dir="rtl"] .brand-wordmark {
    margin-left: 0;
    margin-right: 0.6rem;
}

[dir="rtl"] .secure-note i {
    margin-right: 0;
    margin-left: 0.35rem;
}

[dir="rtl"] .social-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .legal-section ul li {
    padding-left: 0;
    padding-right: 1.6rem;
}

[dir="rtl"] .legal-section ul li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .blog-search i {
    left: auto;
    right: 1.1rem;
}

[dir="rtl"] .blog-search input {
    padding-left: 1rem;
    padding-right: 2.6rem;
}

/* Journey/process connector line: it's drawn from each step outward
   to the *next* step in reading order. In LTR that means extending
   right (left: 50%, width: 100%). In RTL the next step sits to the
   left instead, so the line must extend left or it either overshoots
   past the first icon or leaves a gap before the last one. */
[dir="rtl"] .process-line {
    left: auto;
    right: 50%;
}

/* Directional arrow/chevron icons should point the opposite way in RTL:
   reading flow moves right-to-left, so "forward" (view project, read
   more, next, learn more, CTA arrows, etc.) points left instead of
   right, and pagination chevrons mirror to match. Applies site-wide. */
[dir="rtl"] .bi-arrow-right,
[dir="rtl"] .bi-chevron-right,
[dir="rtl"] .bi-chevron-left {
    display: inline-block;
    transform: scaleX(-1);
}

/* Exception: the navbar and footer intentionally stay LTR (see
   "HEADER / FOOTER - ALWAYS LTR" above), so their arrows must not
   flip even when the rest of the page is Arabic/RTL. */
[dir="rtl"] .navbar-glass .bi-arrow-right,
[dir="rtl"] .site-footer .bi-arrow-right {
    transform: none;
}

/* ============================================================
   HEADER / FOOTER - ALWAYS LTR
   The navbar and footer keep a fixed left-to-right layout in every
   language, even when the rest of the page is Arabic/RTL. The dir="ltr"
   attribute set on <nav> and <footer> in _Layout.cshtml handles native
   bidi ordering and flex direction; the rules below re-pin the handful
   of Bootstrap spacing utilities (ms-/me-/text-*-start) and custom
   classes that are otherwise deliberately mirrored by the swapped
   bootstrap.rtl.min.css build or the [dir="rtl"] overrides above.
============================================================ */
.navbar-glass,
.site-footer {
    direction: ltr;
}

[dir="rtl"] .navbar-glass .brand-wordmark,
[dir="rtl"] .site-footer .brand-wordmark {
    margin-left: 0.6rem;
    margin-right: 0;
}

[dir="rtl"] .site-footer .social-icon {
    margin-right: 0.5rem;
    margin-left: 0;
}

.navbar-glass .lang-switch i.me-1 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

.site-footer .me-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

.site-footer .me-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

@media (min-width: 768px) {
    .site-footer .text-md-start {
        text-align: left !important;
    }
}

@media (min-width: 992px) {
    .navbar-glass .btn-cta-outline.ms-lg-4 {
        margin-left: 1.5rem !important;
        margin-right: 0 !important;
    }
}

/* ============================================================
   CHATBOT WIDGET (UI only — toggle open/close, no chat logic yet)
============================================================ */
.chatbot-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.chatbot-toggle {
    width: 64px;
    height: 64px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(47, 107, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.65), 0 0 30px rgba(47, 107, 255, 0.55);
}

.chatbot-toggle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-window {
    width: 320px;
    max-width: calc(100vw - 48px);
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-window.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-window img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(47, 107, 255, 0.25);
}

@media (max-width: 575.98px) {
    .chatbot-widget {
        right: 16px;
        bottom: 16px;
    }

    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }

    .chatbot-window {
        width: 280px;
    }
}

[dir="rtl"] .chatbot-widget {
    right: auto;
    left: 24px;
    align-items: flex-start;
}

@media (max-width: 575.98px) {
    [dir="rtl"] .chatbot-widget {
        left: 16px;
    }
}
