/* ==========================================================================
   Mobile App Development – Ras Al Khaimah
   Section-scoped CSS. Prefixes: hero- services- apps- industries- rak- stack-
   demand- why- process- features- portfolio- reviews- custom- faq- cta-
   related- uae- sticky-
   Palette: black #030b1d · blue #1d4ed8 / #2563eb · sky #38bdf8 · white
   ========================================================================== */

.page-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ---------- Section shell (exactly 30px top/bottom) ---------- */
.hero-section,
.services-section,
.apps-section,
.industries-section,
.rak-section,
.demand-section,
.why-section,
.process-section,
.features-section,
.portfolio-section,
.reviews-section,
.custom-section,
.cta-section,
.related-section,
.uae-section {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
}

.faq-section {
    position: relative;
    padding: 30px 0;
}

/* ---------- Icon system: stroke defaults for every inline SVG icon ---------- */
.hero-stat__icon svg,
.hero-iso svg,
.hero-btn svg,
.hero-bell svg,
.hero-scr-dot svg,
.hero-scr-nav svg,
.hero-card__icon svg,
.services-card__mark svg,
.services-card__icon svg,
.apps-card__icon svg,
.apps-nav svg,
.industries-card__icon svg,
.industries-card__go svg,
.rak-card__icon svg,
.rak-ring__node svg,
.rak-ring__core svg,
.stack-marquee__toggle svg,
.stack-tab__icon svg,
.stack-item__logo--glyph svg,
.demand-card__icon svg,
.demand-accordion__icon svg,
.demand-accordion__arrow,
.demand-accordion__toggle svg,
.why-card__icon svg,
.process-step__icon svg,
.process-step__arrow svg,
.features-item__icon svg,
.features-item__tick svg,
.features-phone__lock svg,
.features-phone__toast svg,
.portfolio-card__icon svg,
.reviews-card__quote svg,
.custom-card__icon svg,
.custom-card__check svg,
.faq-trigger__icon svg,
.cta-btn svg,
.sticky-cta__link svg,
.related-link__icon svg,
.uae-link__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Gradient icon tile ---------- */
.hero-stat__icon,
.hero-card__icon,
.services-card__icon,
.apps-card__icon,
.industries-card__icon,
.rak-card__icon,
.rak-ring__node,
.rak-ring__core,
.stack-tab__icon,
.demand-card__icon,
.why-card__icon,
.process-step__icon,
.features-item__icon,
.features-phone__lock,
.portfolio-card__icon,
.custom-card__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.services-card__icon svg,
.apps-card__icon svg,
.industries-card__icon svg,
.rak-card__icon svg,
.rak-ring__node svg,
.demand-card__icon svg,
.why-card__icon svg,
.process-step__icon svg,
.features-item__icon svg,
.portfolio-card__icon svg,
.custom-card__icon svg {
    width: 26px;
    height: 26px;
}

/* ---------- Shared headings ---------- */
.services-title,
.industries-title,
.stack-title,
.why-title,
.features-title,
.reviews-title,
.faq-title,
.related-title,
.uae-title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #0b1f5c;
    background: linear-gradient(90deg, #0b1f5c, #1d4ed8 55%, #0284c7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apps-title,
.rak-title,
.demand-title,
.process-title,
.portfolio-title,
.custom-title,
.cta-title {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: #fff;
    background: linear-gradient(90deg, #ffffff, #93c5fd 50%, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-lead,
.industries-lead,
.stack-lead,
.why-lead,
.features-lead,
.reviews-lead,
.faq-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3b4a6b;
}

.apps-lead,
.rak-lead,
.demand-lead,
.process-lead,
.portfolio-lead,
.custom-lead,
.cta-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c3d3f2;
}

.services-head,
.apps-head,
.industries-head,
.stack-head,
.demand-head,
.process-head,
.features-head,
.portfolio-head,
.reviews-head,
.custom-head {
    max-width: 820px;
    margin: 0 0 28px;
}

.related-title,
.uae-title {
    margin-bottom: 22px;
}

/* ---------- Shared card surfaces ---------- */
.apps-card,
.rak-card,
.demand-card,
.process-step__card,
.portfolio-card,
.custom-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    border: 1px solid rgba(147, 197, 253, .22);
    box-shadow: 0 20px 50px rgba(0, 8, 30, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #dbeafe;
}

.apps-card__title,
.rak-card__title,
.demand-card__title,
.process-step__title,
.portfolio-card__title,
.custom-card__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.apps-card__text,
.rak-card__text,
.demand-card__text,
.process-step__text,
.portfolio-card__text,
.custom-card__text {
    margin: 0;
    font-size: .98rem;
    line-height: 1.7;
    color: #c3d3f2;
}

.why-card,
.features-item,
.stack-panel__inner,
.reviews-card,
.faq-item,
.related-link,
.uae-link,
.uae-static {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 18px 44px rgba(29, 78, 216, .10);
}

.why-card__title,
.features-item__title,
.stack-panel__title,
.reviews-card__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0b1f5c;
}

.why-card__text,
.features-item__text,
.stack-panel__text {
    margin: 0;
    font-size: .98rem;
    line-height: 1.7;
    color: #3b4a6b;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 30px 0;
    color: #e6efff;
    background: #000000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: #000000;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 65% 45%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at 65% 45%, #000 30%, transparent 80%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-col {
    position: relative;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    background: linear-gradient(95deg, #ffffff 0%, #93c5fd 35%, #38bdf8 65%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 560px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #c9d8f5;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    margin-top: 28px;
    max-width: 100%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: transform .25s ease, box-shadow .25s ease, background-position .4s ease;
}

.cta-btn,
.sticky-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-position .4s ease;
}

.hero-btn svg,
.cta-btn svg,
.sticky-cta__link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform .25s ease;
}

.hero-btn:hover svg,
.cta-btn:hover svg,
.sticky-cta__link:hover svg {
    transform: translateX(4px);
}

.hero-btn:hover,
.cta-btn:hover,
.sticky-cta__link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-btn:focus-visible,
.cta-btn:focus-visible,
.sticky-cta__link:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
}

.hero-btn--primary,
.sticky-cta__link {
    color: #fff;
    background: linear-gradient(120deg, #1d4ed8, #0284c7 60%, #1d4ed8);
    background-size: 200% 100%;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .5), inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.hero-btn--primary:hover,
.sticky-cta__link:hover {
    color: #fff;
    background-position: 100% 0;
    box-shadow: 0 20px 44px rgba(14, 165, 233, .55), inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.hero-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(147, 197, 253, .4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

/* ---------- Hero Bottom: Full-width Centered Stat Bar & ISO ---------- */
.hero-bottom {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-stats {
    list-style: none;
    margin: 0;
    padding: 12px;
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(147, 197, 253, .22);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.hero-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(147, 197, 253, .12);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.hero-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(56, 189, 248, .5);
}

.hero-stat__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 13px;
    flex-shrink: 0;
}

.hero-stat__icon svg {
    width: 22px;
    height: 22px;
}

.hero-stat__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.hero-stat__num {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    background: linear-gradient(90deg, #ffffff, #7dd3fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat__label {
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.3;
    color: #b6c9f0;
}

.hero-iso-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}

.hero-iso {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 20px 8px 14px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: #dff2ff;
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .4);
}

.hero-iso span {
    display: inline-grid;
}

.hero-iso svg {
    width: 20px;
    height: 20px;
    stroke: #7dd3fc;
}

/* Hero Right-side Image Layout */
.hero-col--media {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    align-self: flex-start;
}

.hero-media {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 0;
    margin-top: 0;
}

.hero-media__img {
    width: 100%;
    max-width: 600px;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 0 0 auto;
    border-radius: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-media__img:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-col--media {
        justify-content: center;
        margin-top: 36px;
    }

    .hero-media {
        justify-content: center;
        max-width: 420px;
    }

    .hero-media__img {
        max-width: 360px;
        max-height: 480px;
        margin: 0 auto;
    }

    .hero-bottom {
        margin-top: 40px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .hero-stat {
        padding: 14px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 40px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-media__img {
        max-width: 300px;
        max-height: 400px;
        border-radius: 28px;
    }

    .hero-bottom {
        margin-top: 32px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        border-radius: 20px;
    }

    .hero-stat {
        justify-content: flex-start;
        padding: 12px 16px;
    }
}

/* ==========================================================================
   SERVICES – Image-based interactive cards
   ========================================================================== */
.services-section {
    position: relative;
    background: linear-gradient(180deg, #f5f9ff 0%, #eaf3ff 100%);
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .25), transparent 65%);
    pointer-events: none;
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-card {
    position: relative;
    height: 380px;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background: #061538;
    border: 1px solid rgba(147, 197, 253, 0.28);
    box-shadow: 0 16px 36px rgba(11, 31, 92, 0.12);
    isolation: isolate;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
}

/* Top luminous indicator line */
.services-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #2563eb, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.services-card:hover,
.services-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 24px 50px rgba(11, 31, 92, 0.28), 0 0 25px rgba(56, 189, 248, 0.15);
}

.services-card:hover::after,
.services-card:focus-within::after {
    transform: scaleX(1);
}

/* Media & Image with object-fit: cover */
.services-card__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.services-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.services-card:hover .services-card__img,
.services-card:focus-within .services-card__img {
    transform: scale(1.08);
}

/* Base Gradient & Smooth Blue Overlay Tint on Hover */
.services-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(7, 19, 54, 0.3) 0%, rgba(7, 19, 54, 0.55) 45%, rgba(4, 12, 36, 0.95) 100%);
    transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.services-card:hover .services-card__overlay,
.services-card:focus-within .services-card__overlay {
    background: linear-gradient(145deg, rgba(14, 42, 114, 0.92) 0%, rgba(10, 26, 74, 0.95) 50%, rgba(2, 6, 23, 0.98) 100%);
}

/* Card Body & Content Layout */
.services-card__body {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
}

.services-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.services-card__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services-card__icon svg {
    width: 24px;
    height: 24px;
}

.services-card:hover .services-card__icon,
.services-card:focus-within .services-card__icon {
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.services-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.services-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.services-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-card__desc {
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        margin-top 0.35s ease;
}

.services-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #dbeafe;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Desktop hover interactions */
@media (hover: hover) and (pointer: fine) {
    .services-card__desc {
        max-height: 0;
        opacity: 0;
        transform: translateY(14px);
        overflow: hidden;
        margin-top: 0;
    }

    .services-card:hover .services-card__desc,
    .services-card:focus-within .services-card__desc {
        max-height: 160px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 10px;
    }
}

/* Touch & smaller screens sensible fallback */
@media (hover: none),
(max-width: 767px) {
    .services-card {
        height: auto;
        min-height: 360px;
    }

    .services-card__desc {
        max-height: 200px;
        opacity: 1;
        transform: none;
        margin-top: 10px;
    }

    .services-card__overlay {
        background: linear-gradient(180deg, rgba(7, 19, 54, 0.4) 0%, rgba(10, 26, 74, 0.88) 45%, rgba(2, 6, 23, 0.98) 100%);
    }
}

/* ==========================================================================
   APPS – slider
   ========================================================================== */
.apps-section {
    background:
        radial-gradient(800px 400px at 10% 0%, rgba(37, 99, 235, .35), transparent 60%),
        linear-gradient(180deg, #030b1d, #071a45);
}

.apps-track {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 6px 4px 18px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.apps-track::-webkit-scrollbar {
    display: none;
}

.apps-track:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 4px;
    border-radius: 12px;
}

.apps-slide {
    flex: 0 0 min(340px, 86%);
    scroll-snap-align: start;
}

.apps-card {
    height: 100%;
    padding: 26px;
    border-radius: 24px;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.apps-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, .6);
    box-shadow: 0 26px 60px rgba(14, 165, 233, .25), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.apps-card__title {
    margin-top: 20px;
}

.apps-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.apps-progress {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}

.apps-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #3b82f6, #38bdf8);
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .3s ease;
}

.apps-nav {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(147, 197, 253, .35);
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, opacity .25s ease;
}

.apps-nav svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

.apps-nav:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    transform: scale(1.06);
}

.apps-nav:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
}

.apps-nav:disabled {
    opacity: .35;
    cursor: default;
}

/* ==========================================================================
   INDUSTRIES – Premium Light-Theme Fan / Card Deck
   ========================================================================== */
.industries-section {
    position: relative;
    width: 100%;
    padding: 85px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 50%, #ffffff 100%);
    overflow: clip;
    box-sizing: border-box;
}

.industries-deck-container {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 24px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible;
}

.industries-deck-row {
    position: relative;
    width: 100%;
    padding: 30px 0 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    overflow: visible;
}

.industries-deck-row:last-child {
    margin-bottom: 0;
}

.industries-deck-track {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    width: 100%;
    padding: 25px 15px;
    box-sizing: border-box;
    overflow: visible;
}

.industries-deck-card {
    --diff: calc(var(--card-index) - 5);
    --fan-rot: calc(var(--diff) * 1.8deg);
    --fan-y: calc(var(--diff) * var(--diff) * 0.85px);
    --fan-z: calc(10 + var(--card-index));

    position: relative;
    flex: 0 0 136px;
    width: 136px;
    height: 215px;
    margin: 0 -19px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 22px rgba(11, 31, 92, 0.12), 0 2px 6px rgba(11, 31, 92, 0.08);
    transform-origin: 50% 120%;
    transform: rotate(var(--fan-rot)) translateY(var(--fan-y));
    z-index: var(--fan-z);
    cursor: pointer;
    isolation: isolate;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

/* Hover - Pull out from deck */
.industries-deck-card:hover,
.industries-deck-card:focus-within {
    height: auto;
    min-height: 215px;
    transform: rotate(0deg) translateY(-32px) scale(1.10);
    z-index: 100;
    border-color: #2563eb;
    box-shadow: 0 20px 44px rgba(11, 31, 92, 0.22), 0 0 18px rgba(37, 99, 235, 0.16);
}

/* Background image in natural colors - NO blue filters */
.industries-deck-card__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.industries-deck-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.industries-deck-card:hover .industries-deck-card__img,
.industries-deck-card:focus-within .industries-deck-card__img {
    transform: scale(1.08);
}

/* Subtle dark gradient overlay only for text legibility */
.industries-deck-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.88) 100%);
    transition: background 0.35s ease;
}

.industries-deck-card:hover .industries-deck-card__overlay,
.industries-deck-card:focus-within .industries-deck-card__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0.94) 100%);
}

/* Card Body Layout */
.industries-deck-card__body {
    position: relative;
    z-index: 3;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 9px;
    box-sizing: border-box;
}

.industries-deck-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industries-deck-card__icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
    transition: transform 0.35s ease;
}

.industries-deck-card__icon svg {
    width: 15px;
    height: 15px;
}

.industries-deck-card:hover .industries-deck-card__icon,
.industries-deck-card:focus-within .industries-deck-card__icon {
    transform: scale(1.06);
}

.industries-deck-card__num {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1px 6px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.industries-deck-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.industries-deck-card__title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.industries-deck-card__link,
.industries-deck-card__link:visited,
.industries-deck-card__link:active {
    color: #ffffff;
    text-decoration: none;
}

.industries-deck-card__link:hover,
.industries-deck-card__link:focus,
.industries-deck-card:hover .industries-deck-card__link,
.industries-deck-card:focus-within .industries-deck-card__link {
    color: #ffffff;
    text-decoration: underline;
}

.industries-deck-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.industries-deck-card__reveal {
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        margin-top 0.3s ease;
}

.industries-deck-card:hover .industries-deck-card__reveal,
.industries-deck-card:focus-within .industries-deck-card__reveal {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 5px;
}

.industries-deck-card__text {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #f1f5f9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Medium Desktop (1100px - 1299px) */
@media (max-width: 1299px) and (min-width: 1100px) {
    .industries-deck-container {
        max-width: 1100px;
        padding: 0 15px;
    }

    .industries-deck-track {
        padding: 25px 12px;
    }

    .industries-deck-card {
        flex: 0 0 120px;
        width: 120px;
        height: 195px;
        margin: 0 -17px;
        --fan-rot: calc(var(--diff) * 1.6deg);
        --fan-y: calc(var(--diff) * var(--diff) * 0.75px);
    }

    .industries-deck-card:hover,
    .industries-deck-card:focus-within {
        height: auto;
        min-height: 195px;
    }

    .industries-deck-card__title {
        font-size: 0.76rem;
    }
}

/* Small Desktop / Large Tablet (992px - 1099px) */
@media (max-width: 1099px) and (min-width: 992px) {
    .industries-deck-container {
        max-width: 960px;
        padding: 0 12px;
    }

    .industries-deck-track {
        padding: 25px 10px;
    }

    .industries-deck-card {
        flex: 0 0 106px;
        width: 106px;
        height: 175px;
        margin: 0 -15px;
        --fan-rot: calc(var(--diff) * 1.4deg);
        --fan-y: calc(var(--diff) * var(--diff) * 0.65px);
    }

    .industries-deck-card:hover,
    .industries-deck-card:focus-within {
        height: auto;
        min-height: 175px;
    }

    .industries-deck-card__title {
        font-size: 0.70rem;
    }

    .industries-deck-card__icon {
        width: 24px;
        height: 24px;
    }

    .industries-deck-card__icon svg {
        width: 13px;
        height: 13px;
    }
}

/* Tablet Breakpoint (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .industries-deck-container {
        padding: 0 15px;
    }

    .industries-deck-row {
        padding: 15px 0;
        margin-bottom: 12px;
    }

    .industries-deck-track {
        overflow-x: auto;
        padding: 30px 20px;
        justify-content: flex-start;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .industries-deck-track::-webkit-scrollbar {
        display: none;
    }

    .industries-deck-card {
        flex: 0 0 145px;
        width: 145px;
        height: 225px;
        margin: 0 -16px;
        --fan-rot: calc(var(--diff) * 1.4deg);
        --fan-y: calc(var(--diff) * var(--diff) * 0.7px);
    }

    .industries-deck-card:hover,
    .industries-deck-card:focus-within {
        height: auto;
        min-height: 225px;
    }

    .industries-deck-card__title {
        font-size: 0.82rem;
    }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 767px) {
    .industries-section {
        padding: 55px 0 70px;
    }

    .industries-deck-container {
        padding: 0;
    }

    .industries-deck-row {
        padding: 5px 0;
        margin-bottom: 12px;
    }

    .industries-deck-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 12px 16px 20px;
        gap: 12px;
        justify-content: flex-start;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .industries-deck-track::-webkit-scrollbar {
        display: none;
    }

    .industries-deck-card {
        flex: 0 0 215px;
        width: 215px;
        height: auto;
        min-height: 285px;
        margin: 0;
        transform: none !important;
        scroll-snap-align: center;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(11, 31, 92, 0.10);
    }

    .industries-deck-card__title {
        font-size: 1rem;
    }

    .industries-deck-card__reveal {
        max-height: none;
        opacity: 1;
        transform: none;
        margin-top: 6px;
    }
}

/* ==========================================================================
   RAK-SPECIFIC
   ========================================================================== */
.rak-section {
    background:
        radial-gradient(700px 500px at 100% 0%, rgba(56, 189, 248, .25), transparent 60%),
        linear-gradient(135deg, #061634, #0b2a7a 70%, #0a3a9a);
}

.rak-ring {
    position: relative;
    width: 300px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 28px auto 0;
}

.rak-ring__spin {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rak-spin 60s linear infinite;
}

.rak-ring__track {
    fill: none;
    stroke: rgba(147, 197, 253, .35);
    stroke-width: 1.2;
}

.rak-ring__track--dash {
    stroke-dasharray: 3 9;
}

.rak-ring__node {
    position: absolute;
    width: 52px;
    height: 52px;
    animation: rak-pulse 4s ease-in-out infinite;
}

.rak-ring__node--1 {
    top: 0;
    left: 50%;
    margin-left: -26px;
}

.rak-ring__node--2 {
    right: 4%;
    bottom: 14%;
    animation-delay: 1.3s;
}

.rak-ring__node--3 {
    left: 4%;
    bottom: 14%;
    animation-delay: 2.6s;
}

.rak-ring__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
    border: 1px solid rgba(191, 219, 254, .4);
    box-shadow: 0 0 60px rgba(56, 189, 248, .4);
}

.rak-ring__core svg {
    width: 34px;
    height: 34px;
}

.rak-list {
    display: grid;
    gap: 18px;
}

.rak-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    transition: transform .35s ease, border-color .35s ease;
}

.rak-card:hover {
    transform: translateX(8px);
    border-color: rgba(56, 189, 248, .6);
}

.rak-section[data-idle] .rak-ring__spin,
.rak-section[data-idle] .rak-ring__node {
    animation-play-state: paused;
}

/* ==========================================================================
   TECHNOLOGY STACK – Sticky Two-Column Interaction
   ========================================================================== */
.stack-section {
    position: relative;
    padding: 30px 0;
    overflow: visible;
    background: linear-gradient(180deg, #fff, #f2f7ff);
}

.stack-marquee {
    position: relative;
    margin: 0 0 26px;
    padding: 14px 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(37, 99, 235, .12);
    box-shadow: 0 14px 36px rgba(29, 78, 216, .08);
}

.stack-marquee__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 90%, transparent);
}

.stack-marquee__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: stack-scroll 50s linear infinite;
}

.stack-marquee__item {
    flex: none;
    padding: 0 22px;
}

.stack-marquee__item img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.stack-marquee:hover .stack-marquee__track,
.stack-marquee[data-paused] .stack-marquee__track {
    animation-play-state: paused;
}

.stack-marquee__toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    padding: 0;
    border-radius: 50%;
    color: #1d4ed8;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .25);
    box-shadow: 0 6px 16px rgba(29, 78, 216, .15);
    cursor: pointer;
}

.stack-marquee__toggle:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
}

.stack-marquee__ic {
    display: grid;
}

.stack-marquee__ic svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    stroke-width: 1;
}

.stack-marquee__ic--play {
    display: none;
}

.stack-marquee__toggle[aria-pressed="true"] .stack-marquee__ic--pause {
    display: none;
}

.stack-marquee__toggle[aria-pressed="true"] .stack-marquee__ic--play {
    display: grid;
}

/* Base / Mobile Tabs Layout */
.stack-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    align-items: start;
}

.stack-tablist {
    display: flex;
    gap: 10px;
    padding: 4px 2px 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.stack-tab {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 16px;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    color: #0b1f5c;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .15);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.stack-tab__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #1d4ed8;
    background: #eaf3ff;
    box-shadow: none;
    display: inline-grid;
    place-items: center;
    flex: none;
    transition: background .25s ease, color .25s ease;
}

.stack-tab__icon svg {
    width: 18px;
    height: 18px;
}

.stack-tab:hover {
    transform: translateX(4px);
    border-color: rgba(37, 99, 235, .4);
    box-shadow: 0 10px 24px rgba(29, 78, 216, .14);
}

.stack-tab[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(120deg, #1d4ed8, #0284c7);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(29, 78, 216, .35);
}

.stack-tab[aria-selected="true"] .stack-tab__icon {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.stack-tab:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
}

/* Right Sticky Panel Container */
.stack-panels {
    position: relative;
    min-width: 0;
}

.stack-panel {
    width: 100%;
}

.stack-panel:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 4px;
    border-radius: 26px;
}

.stack-panel__inner {
    padding: 30px 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(37, 99, 235, .15);
    box-shadow: 0 18px 44px rgba(29, 78, 216, .10), 0 2px 8px rgba(0, 0, 0, .04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: stack-in .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-panel__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b1f5c;
    margin: 0 0 10px;
}

.stack-panel__text {
    font-size: .98rem;
    line-height: 1.7;
    color: #3b4a6b;
    margin: 0;
}

.stack-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    border-radius: 18px;
    text-align: center;
    background: #f5f9ff;
    border: 1px solid rgba(37, 99, 235, .1);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.stack-item:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 16px 34px rgba(29, 78, 216, .18);
}

.stack-item__logo {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .12);
    transition: transform .3s ease;
}

.stack-item:hover .stack-item__logo {
    transform: scale(1.1) rotate(-3deg);
}

.stack-item__logo img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.stack-item__logo--glyph {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.stack-item__logo--glyph svg {
    width: 26px;
    height: 26px;
}

.stack-item__name {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0b1f5c;
}

.stack-section[data-idle] .stack-marquee__track {
    animation-play-state: paused;
}

/* Tablet: Comfortable Two-Column Sticky Layout */
@media (min-width: 768px) and (max-width: 991px) {
    .stack-tabs {
        grid-template-columns: 260px 1fr;
        gap: 20px;
        align-items: start;
    }

    .stack-tablist {
        flex-direction: column;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 4px 6px 12px 2px;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, .35) rgba(234, 243, 255, .5);
    }

    .stack-tablist::-webkit-scrollbar {
        width: 5px;
    }

    .stack-tablist::-webkit-scrollbar-track {
        background: rgba(234, 243, 255, .6);
        border-radius: 999px;
    }

    .stack-tablist::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, .35);
        border-radius: 999px;
    }

    .stack-tab {
        width: 100%;
    }

    .stack-panels {
        position: sticky;
        top: 90px;
        align-self: start;
        z-index: 5;
    }
}

/* Desktop: Two-Column Sticky Interaction with Controlled Left Scroll */
@media (min-width: 992px) {
    .stack-tabs {
        grid-template-columns: 310px 1fr;
        gap: 28px;
        align-items: start;
    }

    .stack-tablist {
        flex-direction: column;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 4px 10px 14px 2px;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, .35) rgba(234, 243, 255, .5);
    }

    .stack-tablist::-webkit-scrollbar {
        width: 6px;
    }

    .stack-tablist::-webkit-scrollbar-track {
        background: rgba(234, 243, 255, .6);
        border-radius: 999px;
    }

    .stack-tablist::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, .35);
        border-radius: 999px;
        transition: background .2s ease;
    }

    .stack-tablist::-webkit-scrollbar-thumb:hover {
        background: rgba(29, 78, 216, .7);
    }

    .stack-tab {
        width: 100%;
    }

    .stack-panels {
        position: sticky;
        top: 100px;
        align-self: start;
        z-index: 5;
    }
}

/* ==========================================================================
   HIGH-DEMAND TECHNOLOGIES – Expandable Horizontal Accordion
   ========================================================================== */
.demand-section {
    position: relative;
    background:
        radial-gradient(900px 500px at 90% 100%, rgba(37, 99, 235, .35), transparent 60%),
        radial-gradient(600px 400px at 0% 0%, rgba(14, 165, 233, .18), transparent 60%),
        #030b1d;
}

.demand-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1100px;
    margin: 28px auto 0;
}

.demand-accordion__item {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(147, 197, 253, .20);
    box-shadow: 0 10px 30px rgba(0, 8, 30, .40), inset 0 1px 0 rgba(255, 255, 255, .10);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

.demand-accordion__item:hover {
    border-color: rgba(56, 189, 248, .45);
}

.demand-accordion__item.is-open {
    border-color: rgba(56, 189, 248, .60);
    background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 48px rgba(0, 8, 30, .55), 0 0 24px rgba(37, 99, 235, .18);
}

/* Accordion Header Row */
.demand-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    user-select: none;
    outline: none;
    box-sizing: border-box;
    transition: padding .3s ease;
}

.demand-accordion__header:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: -2px;
}

.demand-accordion__title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.demand-accordion__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
    transition: transform .3s ease;
}

.demand-accordion__icon svg {
    width: 20px;
    height: 20px;
}

.demand-accordion__item:hover .demand-accordion__icon,
.demand-accordion__item.is-open .demand-accordion__icon {
    transform: scale(1.06);
}

.demand-accordion__num {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: #93c5fd;
    background: rgba(37, 99, 235, .18);
    border: 1px solid rgba(147, 197, 253, .25);
    padding: 3px 9px;
    border-radius: 999px;
    flex: none;
}

.demand-accordion__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    transition: color .25s ease;
}

.demand-accordion__item.is-open .demand-accordion__title {
    color: #7dd3fc;
}

.demand-accordion__toggle {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(147, 197, 253, .30);
    color: #ffffff;
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.demand-accordion__toggle svg,
.demand-accordion__arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #ffffff;
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), stroke .3s ease;
}

.demand-accordion__header:hover .demand-accordion__toggle,
.demand-accordion__header:focus-visible .demand-accordion__toggle {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(147, 197, 253, .6);
    color: #ffffff;
}

.demand-accordion__header:hover .demand-accordion__toggle svg,
.demand-accordion__header:focus-visible .demand-accordion__toggle svg {
    stroke: #ffffff;
    color: #ffffff;
}

.demand-accordion__item.is-open .demand-accordion__toggle {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .40);
}

.demand-accordion__item.is-open .demand-accordion__toggle svg {
    transform: rotate(-90deg);
    stroke: #ffffff;
    color: #ffffff;
}

/* Accordion Smooth Height Collapse */
.demand-accordion__collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.demand-accordion__item.is-open .demand-accordion__collapse {
    grid-template-rows: 1fr;
}

.demand-accordion__body {
    overflow: hidden;
}

.demand-accordion__grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 28px;
    padding: 6px 24px 26px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.demand-accordion__item.is-open .demand-accordion__grid {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .08s;
}

/* Left Image Panel */
.demand-accordion__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    height: 100%;
    background: #0b152d;
    border: 1px solid rgba(147, 197, 253, .22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.demand-accordion__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}

.demand-accordion__item.is-open .demand-accordion__img {
    transform: scale(1.02);
}

/* Right Content Panel */
.demand-accordion__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demand-accordion__content-title {
    display: none;
}

.demand-accordion__text {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: #c9d8f5;
}

.demand-accordion__tech-block {
    margin-top: 4px;
}

.demand-accordion__label {
    display: block;
    margin-bottom: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: #7dd3fc;
}

.demand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.demand-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: #e0f2fe;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .30);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.demand-tag:hover {
    background: rgba(56, 189, 248, .22);
    border-color: rgba(56, 189, 248, .60);
    transform: translateY(-1px);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991px) {
    .demand-accordion__grid {
        grid-template-columns: 38% 62%;
        gap: 20px;
        padding: 4px 20px 22px;
    }

    .demand-accordion__header {
        padding: 16px 20px;
    }
}

@media (max-width: 767px) {
    .demand-accordion__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 4px 16px 20px;
    }

    .demand-accordion__header {
        padding: 14px 16px;
        gap: 12px;
    }

    .demand-accordion__title-wrap {
        gap: 10px;
    }

    .demand-accordion__icon {
        width: 36px;
        height: 36px;
    }

    .demand-accordion__icon svg {
        width: 18px;
        height: 18px;
    }

    .demand-accordion__title {
        font-size: .98rem;
    }

    .demand-accordion__media {
        min-height: 180px;
        max-height: 240px;
    }

    .demand-accordion__text {
        font-size: .92rem;
    }
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why-section {
    background: linear-gradient(180deg, #f2f7ff, #fff);
}

.why-ring {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 26px auto;
}

.why-ring__svg {
    width: 100%;
    height: 100%;
}

.why-ring__track {
    fill: none;
    stroke: #d6e6ff;
    stroke-width: 10;
}

.why-ring__arc {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 603;
    stroke-dashoffset: 603;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1);
}

.why-ring.is-drawn .why-ring__arc {
    stroke-dashoffset: 90;
}

.why-ring__orbit {
    fill: none;
    stroke: rgba(37, 99, 235, .35);
    stroke-width: 1.4;
    stroke-dasharray: 3 8;
    transform-box: fill-box;
    transform-origin: center;
    animation: why-spin 30s linear infinite;
}

.why-ring__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 44px;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    color: #3b4a6b;
}

.why-ring__center strong {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1d4ed8;
    background: linear-gradient(90deg, #0b1f5c, #1d4ed8, #0284c7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.why-card {
    padding: 26px;
    border-radius: 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .4);
    box-shadow: 0 26px 56px rgba(29, 78, 216, .2);
}

.why-card__title {
    margin-top: 18px;
}

@media (min-width: 576px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   PROCESS – animated flow diagram
   ========================================================================== */
.process-section {
    background: linear-gradient(180deg, #071a45, #030b1d);
}

.process-flow {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-flow::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 27px;
    width: 2px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0), #38bdf8 10%, #2563eb 90%, rgba(37, 99, 235, 0));
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
}

.process-step__node {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    display: grid;
    place-items: center;
    align-self: start;
    justify-self: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, .15), 0 12px 30px rgba(14, 165, 233, .45);
}

.process-step__card {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 22px;
    transition: transform .35s ease, border-color .35s ease;
}

.process-step__card::before {
    content: "";
    position: absolute;
    top: 27px;
    right: 100%;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, .2), #38bdf8);
}

.process-step__card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, .6);
}

.process-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.process-step__title {
    margin: 0;
}

.process-step__text {
    grid-column: 1 / -1;
}

.process-step__arrow {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    height: 64px;
    padding: 6px 0;
}

.process-step__arrow svg {
    width: 22px;
    height: 14px;
    stroke: #38bdf8;
    stroke-width: 2.6;
    opacity: 0;
    animation: process-arrow 1.6s ease-in-out infinite;
}

.process-step__arrow svg:nth-child(2) {
    animation-delay: .2s;
}

.process-step__arrow svg:nth-child(3) {
    animation-delay: .4s;
}

.process-section[data-idle] .process-step__arrow svg {
    animation-play-state: paused;
}

@media (min-width: 992px) {
    .process-flow::before {
        left: 50%;
        margin-left: -1px;
    }

    .process-step {
        grid-template-columns: 1fr 56px 1fr;
        column-gap: 28px;
    }

    .process-step__node,
    .process-step__arrow {
        grid-column: 2;
    }

    .process-step:nth-child(odd) .process-step__card {
        grid-column: 1;
    }

    .process-step:nth-child(even) .process-step__card {
        grid-column: 3;
    }

    .process-step:nth-child(odd) .process-step__card::before {
        right: -28px;
        left: auto;
        width: 28px;
    }

    .process-step:nth-child(even) .process-step__card::before {
        right: auto;
        left: -28px;
        width: 28px;
        background: linear-gradient(270deg, rgba(56, 189, 248, .2), #38bdf8);
    }
}

/* ==========================================================================
   ESSENTIAL FEATURES
   ========================================================================== */
.features-section {
    background: #fff;
}

.features-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-img {
    width: 100%;
    max-width: 100%;
    max-height: 780px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    transition: transform .4s ease, box-shadow .4s ease;
}

.features-img:hover {
    transform: translateY(-4px);
}

.features-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-item {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 56px 22px 24px;
    border-radius: 24px;
    background: #fff;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.features-item:hover {
    transform: translateX(8px);
    border-color: rgba(37, 99, 235, .4);
    box-shadow: 0 24px 50px rgba(29, 78, 216, .18);
}

.features-item__tick {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #0369a1;
    background: #e0f2fe;
}

.features-item__tick svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.reviews-section {
    background: linear-gradient(180deg, #fff, #f2f7ff);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reviews-card {
    position: relative;
    margin: 0;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.reviews-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(29, 78, 216, .2);
}

.reviews-card__quote {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 54px;
    height: 54px;
    color: #1d4ed8;
    opacity: .12;
}

.reviews-card__quote svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.4;
}

.reviews-card__head {
    position: relative;
}

.reviews-card__text {
    position: relative;
    margin: 12px 0 0;
    font-size: 1.05rem;
    font-style: normal;
    line-height: 1.75;
    color: #3b4a6b;
}

.reviews-card--1 {
    background-color: #0f172a;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.85) 100%),
        url('../images/mobile-app-ras-al-khaimah/trusted-rak-businesses.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.reviews-card--1 .reviews-card__title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.reviews-card--1 .reviews-card__text {
    color: #f1f5f9;
    font-size: 1.15rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.reviews-card--1 .reviews-card__quote {
    color: #ffffff;
    opacity: .35;
}

@media (min-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .reviews-card--1 {
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 44px;
    }
}

/* ==========================================================================
   CUSTOM VS TEMPLATES
   ========================================================================== */
.custom-section {
    background: linear-gradient(135deg, #0a1f5c, #030b1d 70%);
}

.custom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.custom-card {
    position: relative;
    padding: 28px;
    border-radius: 26px;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease;
}

.custom-card:hover,
.custom-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, .6);
}

.custom-card__title {
    margin-top: 20px;
}

.custom-card__check {
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 130px;
    height: 130px;
    color: #38bdf8;
    opacity: .1;
}

.custom-card__check svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.4;
}

@media (min-width: 992px) {
    .custom-row {
        display: flex;
    }

    .custom-card {
        flex: 1 1 0;
        transition: flex-grow .5s ease, transform .35s ease, border-color .35s ease;
    }

    .custom-card:hover,
    .custom-card:focus-within {
        flex-grow: 1.35;
    }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
    background: linear-gradient(180deg, #f2f7ff, #fff);
    overflow: visible;
}

.faq-intro {
    margin: 0 0 24px;
}

@media (min-width: 992px) {
    .faq-intro {
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 991px) {
    .faq-intro {
        position: static;
    }
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 22px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item.is-open {
    border-color: rgba(37, 99, 235, .45);
    box-shadow: 0 22px 46px rgba(29, 78, 216, .16);
}

.faq-q {
    margin: 0;
    font-size: 1.05rem;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    border: 0;
    border-radius: 22px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    color: #0b1f5c;
    background: transparent;
    cursor: pointer;
}

.faq-trigger:hover {
    color: #1d4ed8;
}

.faq-trigger:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: -3px;
}

.faq-trigger__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #1d4ed8;
    background: #eaf3ff;
    transition: transform .35s ease, background .35s ease, color .35s ease;
}

.faq-trigger__icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.faq-item.is-open .faq-trigger__icon {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    transform: rotate(180deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel__inner {
    min-height: 0;
    padding: 0 22px;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear .35s;
}

.faq-item.is-open .faq-panel__inner {
    visibility: visible;
    transition-delay: 0s;
}

.faq-panel__text {
    margin: 0;
    padding: 0 0 22px;
    font-size: 1rem;
    line-height: 1.75;
    color: #3b4a6b;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-section {
    background: #030b1d;
}

.cta-panel {
    position: relative;
    padding: 44px 32px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(56, 189, 248, .45), transparent 60%),
        linear-gradient(120deg, rgba(11, 42, 122, .96), rgba(29, 78, 216, .92));
    border: 1px solid rgba(147, 197, 253, .35);
    box-shadow: 0 40px 90px rgba(0, 10, 40, .6);
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 55%);
}

.cta-copy {
    position: relative;
}

.cta-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    background: linear-gradient(90deg, #ffffff, #bae6fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-lead {
    max-width: 560px;
    margin-bottom: 26px;
    color: #dbeafe;
}

.cta-btn {
    color: #0b2a7a;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 10, 40, .4);
}

.cta-btn:hover {
    color: #0b2a7a;
    box-shadow: 0 22px 46px rgba(125, 211, 252, .5);
}

.cta-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    margin-top: 28px;
}

.cta-visual__glow {
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 211, 252, .55), transparent 65%);
    animation: cta-pulse 6s ease-in-out infinite;
}

.cta-visual__img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 640 / 520;
    object-fit: contain;
    border-radius: 24px;
}

@media (min-width: 992px) {
    .cta-panel {
        padding: 56px 52px;
    }

    .cta-visual {
        margin-top: 0;
    }
}

/* ==========================================================================
   RELATED SERVICES + ACROSS THE UAE
   ========================================================================== */
.related-section {
    background: #fff;
}

.uae-section {
    background: #eaf3ff;
}

.related-grid,
.uae-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-link,
.uae-link,
.uae-static {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0b1f5c;
    text-decoration: none;
}

.related-link,
.uae-link {
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}

.related-link:hover,
.uae-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
    background: linear-gradient(120deg, #1d4ed8, #0284c7);
    box-shadow: 0 20px 40px rgba(29, 78, 216, .3);
}

.related-link:focus-visible,
.uae-link:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

.related-link__icon,
.uae-link__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #1d4ed8;
    background: #eaf3ff;
    transition: background .3s ease, color .3s ease;
}

.related-link__icon svg,
.uae-link__icon svg {
    width: 18px;
    height: 18px;
}

.related-link:hover .related-link__icon,
.uae-link:hover .uae-link__icon {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.uae-static {
    opacity: .9;
}

@media (min-width: 576px) {

    .related-grid,
    .uae-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {

    .related-grid,
    .uae-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



/* ==========================================================================
   RESPONSIVE – hero, small screens
   ========================================================================== */
@media (min-width: 576px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-stage {
        height: 480px;
        margin-top: 20px;
    }

    .hero-layer--device {
        width: 220px;
        height: 440px;
    }

    .hero-orbit {
        width: 400px;
        height: 400px;
    }

    .hero-orbit--b {
        width: 310px;
        height: 310px;
    }
}

@media (max-width: 575px) {
    .hero-stage {
        height: 420px;
    }

    .hero-layer--device {
        width: 190px;
        height: 380px;
    }

    .hero-orbit {
        width: 320px;
        height: 320px;
    }

    .hero-orbit--b {
        width: 250px;
        height: 250px;
    }

    .hero-card {
        padding: 8px 12px 8px 8px;
        font-size: .78rem;
    }

    .hero-card__icon {
        width: 32px;
        height: 32px;
    }

    .hero-layer--e {
        display: none;
    }

    .hero-layer--a {
        left: 0;
    }

    .hero-layer--b {
        right: -4px;
    }

    .hero-screen {
        padding: 32px 12px 12px;
        gap: 9px;
    }

    .hero-scr-card {
        height: 118px;
    }

    .apps-slide {
        flex-basis: 88%;
    }

    .cta-panel {
        padding: 32px 22px;
    }

    .faq-trigger {
        padding: 16px 16px;
    }

    .faq-panel__inner {
        padding: 0 16px;
    }
}

/* ==========================================================================
   KEYFRAMES (transform + opacity only)
   ========================================================================== */
@keyframes hero-drift-a {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-50px, 40px, 0) scale(1.15);
    }
}

@keyframes hero-drift-b {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(60px, -50px, 0) scale(1.1);
    }
}

@keyframes hero-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-spin-rev {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes hero-bob {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@keyframes hero-float-a {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@keyframes hero-float-b {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-10px, 12px, 0);
    }
}

@keyframes hero-float-c {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(12px, -10px, 0);
    }
}

@keyframes hero-bar {
    from {
        transform: scaleY(.55);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes rak-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rak-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes stack-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes stack-in {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes why-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes process-arrow {
    0% {
        opacity: 0;
        transform: translate3d(0, -6px, 0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(0, 6px, 0);
    }
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .hero-blob,
    .hero-orbit,
    .hero-bob,
    .hero-card,
    .hero-shape,
    .hero-bars span,
    .rak-ring__spin,
    .rak-ring__node,
    .stack-marquee__track,
    .stack-panel__inner,
    .why-ring__orbit,
    .process-step__arrow svg,
    .cta-visual__glow {
        animation: none;
    }

    .process-step__arrow svg {
        opacity: 1;
    }

    .hero-scene,
    .apps-card,
    .services-card,
    .why-card,
    .industries-card,
    .demand-card,
    .custom-card,
    .stack-item,
    .why-ring__arc,
    .portfolio-ring__bar,
    .faq-panel,
    .sticky-cta,
    .apps-progress__bar {
        transition: none;
    }
}