:root {
    --teal: #00C4A1;
    --teal-dark: #009E82;
    --sky-blue: #6BB5FF;
    --navy: #0A1628;
    --navy-light: #112240;
    --navy-lighter: #1D3461;
}

* { box-sizing: border-box; }
.mbbr-steps { list-style: none; counter-reset: mbbr; padding: 0; display: grid; gap: 14px; }
.mbbr-steps li { position: relative; padding-left: 40px; font-size: 14px; line-height: 1.6; }
.mbbr-steps li::before { counter-increment: mbbr; content: counter(mbbr); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: #007f6b; color: white; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.mbbr-steps strong { display: block; color: #002D5C; }
.mbbr-steps span { color: #6b7280; }
.process-tab[aria-selected="true"], .process-tab[aria-selected="true"]:hover { color: #002D3A; }

/* Homepage refresh */
html { scroll-padding-top: 100px; }
body { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #6BB5FF; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px; background: white; color: #002D5C; }
.skip-link:focus { top: 10px; }
.site-nav { position: absolute; inset: 0 0 auto; z-index: 50; color: white; border-bottom: 1px solid #ffffff20; }
.nav-inner { max-width: 1280px; margin: auto; padding: 20px 32px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; gap: 12px; align-items: center; margin-right: auto; font-size: 22px; font-weight: 800; }
.brand img { object-fit: contain; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.desktop-links { display: flex; gap: 26px; font-size: 13px; font-weight: 600; }
.desktop-links a:hover, .mobile-links a:hover { color: #6ee7cf; }
.nav-quote { padding: 13px 18px; background: #00C4A1; border-radius: 6px; color: #002D3A; font-size: 12px; font-weight: 800; }
.nav-quote span { margin-left: 12px; }
.menu-toggle { display: none; }
.mobile-links { background: #002D5C; padding: 12px 24px 24px; }
.mobile-links a { display: block; padding: 12px 0; }
.stp-hero { position: relative; background: #002D5C; color: white; overflow: hidden; }
.hero-photo { position: absolute; width: 66%; height: 100%; right: 0; object-fit: cover; object-position: center 44%; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%); mask-image: linear-gradient(to right, transparent 0%, #000 45%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#00294f 4%,#00294ff5 28%,#00294fb3 51%,#00294f18 100%), linear-gradient(0deg,#00294fe8,transparent 45%); }
.hero-inner { position: relative; max-width: 1280px; margin: auto; padding: 158px 32px 66px; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; min-height: 670px; }
.hero-copy { max-width: 660px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #79e5d0; font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: 25px; }
.eyebrow span { width: 7px; height: 7px; background: #00C4A1; border-radius: 50%; }
.hero-copy h1 { font-size: clamp(44px,5.1vw,70px); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; margin: 0 0 24px; }
.hero-copy h1 em { font-style: normal; color: #67dfc8; }
.hero-description { max-width: 485px; color: #dfebf2; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.primary-action,.secondary-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; font-size: 13px; font-weight: 700; border-radius: 6px; }
.primary-action { background: #00C4A1; color: #002D3A; }
.primary-action:hover,.nav-quote:hover { background: #67dfc8; }
.secondary-action { border: 1px solid #ffffff66; background: #00294f66; }
.secondary-action:hover { background: #ffffff18; }
.hero-note { color: #c0d0dd; font-size: 11px; margin-top: 22px; }
.hero-caption { max-width: 255px; border-left: 2px solid #67dfc8; padding: 4px 0 4px 20px; margin-bottom: 18px; }
.hero-caption span { display: block; font-size: 11px; color: #d4e2ea; line-height: 1.6; }
.hero-caption .caption-index { color: #79e5d0; letter-spacing: .14em; font-size: 10px; margin-bottom: 10px; }
.hero-caption strong { font-size: 19px; line-height: 1.4; display: block; margin-bottom: 8px; }
.hero-bottom { position: relative; max-width: 1216px; width: calc(100% - 64px); margin: auto; border-top: 1px solid #ffffff30; padding: 21px 0; display: flex; justify-content: space-between; color: #d4e2ea; font-size: 10px; letter-spacing: .1em; }
.hero-bottom b { margin: 0 18px; color: #67dfc8; }
.hero-bottom a { letter-spacing: 0; font-size: 12px; }
.gallery-item { cursor: default; }
.gallery-item-overlay { opacity: 1; }
.featured-projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 42px; }
.featured-projects article { border: 1px solid #dce6ea; background: white; border-radius: 14px; overflow: hidden; }
.featured-projects img { width: 100%; height: 220px; object-fit: cover; }
.featured-projects article > div { padding: 24px; }
.featured-projects span { color: #526775; font-size: 9px; letter-spacing: .08em; font-weight: 700; }
.featured-projects h3 { margin: 10px 0; color: #002D5C; font-size: 19px; font-weight: 800; line-height: 1.4; }
.featured-projects p { color: #526775; font-size: 13px; }
.featured-projects a { display: inline-block; margin-top: 20px; color: #007763; font-weight: 700; font-size: 12px; }
@media(max-width: 1000px) {
 .desktop-links { gap: 16px; } .nav-quote { display: none; }
 .hero-caption { max-width: 200px; } .hero-bottom { margin: 0 32px; }
}
@media(max-width: 700px) {
 .process-tab { padding: 12px; font-size: 12px; }
 .nav-inner { padding: 17px 22px; } .brand img { width: 42px; height: 42px; }
 .brand { font-size: 19px; } .brand small { font-size: 9px; }
 .desktop-links { display: none; } .menu-toggle { display: block; font-size: 12px; padding: 10px 0 10px 10px; }
 .menu-toggle span { margin-left: 7px; }
 .hero-inner { display: block; padding: 128px 24px 34px; min-height: 0; }
 .hero-photo { width: 100%; object-position: 60% center; -webkit-mask-image: none; mask-image: none; }
 .hero-shade { background: linear-gradient(90deg,#00294fee,#00294fa8),linear-gradient(0deg,#00294f,transparent); }
 .hero-copy h1 { font-size: clamp(39px,9.8vw,62px); }
 .hero-description { font-size: 15px; } .eyebrow { font-size: 9px; letter-spacing: .12em; }
 .hero-actions { flex-direction: column; gap: 12px; }
 .primary-action,.secondary-action { justify-content: center; padding: 16px; }
 .hero-note { line-height: 1.8; } .hero-caption { display: none; }
 .hero-bottom { margin: 0 24px; width: calc(100% - 48px); font-size: 8px; padding: 20px 0; }
 .hero-bottom b { margin: 0 8px; } .hero-bottom a { display: none; }
 .featured-projects { grid-template-columns: 1fr; }
 .featured-projects img { height: 230px; }
}
@media(prefers-reduced-motion: reduce) {
 html.scroll-smooth { scroll-behavior: auto; }
 *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* ===== Mesh gradient hero background ===== */
.hero-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,196,161,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(107,181,255,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(0,196,161,0.08) 0%, transparent 50%),
        #0A1628;
}

/* ===== Animated gradient border ===== */
.glow-card {
    position: relative;
    z-index: 0;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0,196,161,0.4), rgba(107,181,255,0.2), rgba(0,196,161,0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.glow-card:hover::before { opacity: 1; }

/* ===== Section divider wave ===== */
.section-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ===== Photo gallery ===== */
.gallery-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
    scroll-snap-align: start;
    flex: 0 0 340px;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ===== Shimmer text effect ===== */
.shimmer-text {
    background: linear-gradient(90deg, #00C4A1 0%, #6BB5FF 40%, #00C4A1 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== Glowing stat ===== */
.stat-glow {
    box-shadow: 0 0 30px rgba(0,196,161,0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.stat-glow:hover {
    box-shadow: 0 0 40px rgba(0,196,161,0.25);
    transform: translateY(-4px);
}

/* ===== Feature check ===== */
.feature-item:hover .feature-icon {
    background: var(--teal);
}
.feature-item:hover .feature-icon svg {
    color: white;
}

/* ===== Process step ===== */
.process-step {
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 1px;
    background: linear-gradient(90deg, rgba(0,196,161,0.4), rgba(107,181,255,0.2));
}

/* ===== Floating label form ===== */
.form-group { position: relative; }
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
    border-color: var(--teal);
    background: rgba(0,196,161,0.05);
    box-shadow: 0 0 0 3px rgba(0,196,161,0.15);
    outline: none;
}

.gradient-text {
    background: linear-gradient(135deg, #00C4A1, #6BB5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(107, 181, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 181, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ===== Waves ===== */
.wave-wrapper {
    height: 110px;
    position: relative;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.wave-1 { animation: wave-move 12s linear infinite; }
.wave-2 { animation: wave-move 8s linear infinite reverse; opacity: 0.7; }
.wave-3 { animation: wave-move 15s linear infinite; }

@keyframes wave-move {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Bubbles ===== */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(107, 181, 255, 0.35), rgba(0, 196, 161, 0.08));
    animation: float-up linear infinite;
    filter: blur(1px);
}

@keyframes float-up {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-120px) scale(1); opacity: 0; }
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.96) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(107, 181, 255, 0.12);
}

/* ===== Form glow ===== */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 196, 161, 0.25);
    outline: none;
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: #0A1628;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-logo-fallback {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C4A1, #6BB5FF);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900; color: white;
    animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-bar-wrap {
    width: 160px; height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px; margin-top: 20px; overflow: hidden;
}
.loader-bar {
    height: 100%; width: 0%;
    transition: width 0.15s ease;
    background: linear-gradient(90deg, #00C4A1, #6BB5FF);
    border-radius: 2px;
}
@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
    .page-loader, .loader-bar { transition: none; }
    .loader-logo, .loader-logo-fallback { animation: none; }
}

/* ===== Custom Cursor ===== */
.cursor-dot {
    width: 8px; height: 8px;
    background: #00C4A1;
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(0,196,161,0.9), 0 0 25px rgba(0,196,161,0.4);
}
.cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid rgba(0,196,161,0.55);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease,
                border-color 0.3s ease, background 0.3s ease;
}
.cursor-dot.expand  { transform: translate(-50%,-50%) scale(2.5); opacity: 0.3; }
.cursor-ring.expand { width: 64px; height: 64px; border-color: rgba(0,196,161,0.9); background: rgba(0,196,161,0.06); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Glow trail that follows mouse ===== */
.glow-trail {
    position: fixed;
    width: 220px; height: 220px;
    border-radius: 50%;
    pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(0,196,161,0.07) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    will-change: left, top;
}

/* ===== 3D Tilt Cards ===== */
.service-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card.tilt-reset {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease !important;
}

/* ===== Magnetic buttons ===== */
.btn-magnetic { display: inline-flex; will-change: transform; }

/* ===== Ripple on click ===== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: ripple-go 0.55s linear;
    pointer-events: none;
}
@keyframes ripple-go { to { transform: scale(5); opacity: 0; } }

/* ===== Scroll reveal animation ===== */
.industry-card,
.service-card,
.stat-card,
.feature-item,
.project-card {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
