/* ==========================================================
   LEKERSAN PASLANMAZ — Design System
   Style: Trust & Authority (industrial)
   Colors: Steel charcoal + safety orange (#EA580C)
   Type:  Lexend (headings) / Source Sans 3 (body)
   ========================================================== */

:root {
    /* Color tokens */
    --steel-950: #0B1015;
    --steel-900: #0F151C;
    --steel-800: #151D26;
    --steel-700: #1D2833;
    --steel-600: #2A3642;
    --bg: #F6F7F9;
    --surface: #FFFFFF;
    --ink: #1B242E;
    --ink-soft: #57626E;
    --accent: #0000bc;
    --accent-hover: #00008b;
    --accent-deep: #000079;
    --accent-dim: rgba(0, 1, 252, 0.08);
    --accent-dim-dark: rgba(0, 1, 252, 0.20);
    --line: #E3E7EC;
    --line-dark: rgba(255, 255, 255, 0.09);
    --glass-light: rgba(255, 255, 255, 0.55);
    --glass-light-border: rgba(255, 255, 255, 0.75);
    --glass-dark: rgba(255, 255, 255, 0.06);
    --glass-dark-border: rgba(255, 255, 255, 0.14);
    --blur: 16px;
    --text-on-dark: #EDF1F5;
    --text-muted-dark: #9AA6B2;

    /* Shape & elevation */
    --radius: 26px;
    --radius-sm: 16px;
    --shadow-sm: 0 2px 10px rgba(15, 21, 28, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 21, 28, 0.10);
    --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.35);

    /* Motion */
    --t-fast: 180ms ease;
    --t-med: 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* body alone doesn't stop sideways scroll on mobile */
}

[id] { scroll-margin-top: 84px; } /* anchors land below the fixed navbar */

body {
    font-family: 'Source Sans 3', 'Segoe UI', -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background:
        repeating-linear-gradient(0deg, rgba(0, 1, 252, 0.03) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(0, 1, 252, 0.03) 0 1px, transparent 1px 44px),
        radial-gradient(640px 420px at 88% -4%, rgba(0, 1, 252, 0.20), transparent 62%),
        radial-gradient(720px 520px at -8% 32%, rgba(0, 1, 252, 0.14), transparent 62%),
        radial-gradient(620px 460px at 104% 78%, rgba(138, 139, 255, 0.22), transparent 62%),
        var(--bg);
    background-attachment: fixed;
    color: var(--ink);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Lexend', 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--steel-900); }
::-webkit-scrollbar-thumb { background: #3A4653; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { color: var(--accent-deep); }

a.is-current-page { cursor: default; }
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* === NAVBAR === */
#mainNav {
    background: rgba(15, 21, 28, 0.62);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line-dark);
    padding: 14px 0;
    transition: padding var(--t-med), background var(--t-med), box-shadow var(--t-med);
}

#mainNav.nav-scrolled {
    background: rgba(11, 16, 21, 0.82);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
    padding: 10px 16px !important;
    position: relative;
    transition: color var(--t-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med);
}

/* Animated hamburger → X toggler */
.navbar-toggler {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-bars {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
}

.toggler-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: top var(--t-med), transform var(--t-med), opacity var(--t-fast);
}

.toggler-bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.toggler-bars span:nth-child(2) { top: 8px; opacity: 0; transform: translateX(-8px); }
.toggler-bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.navbar-toggler.collapsed .toggler-bars span:nth-child(1) { top: 0; transform: none; }
.navbar-toggler.collapsed .toggler-bars span:nth-child(2) { top: 8px; opacity: 1; transform: none; }
.navbar-toggler.collapsed .toggler-bars span:nth-child(3) { top: 16px; transform: none; }

.nav-link:hover { color: #fff !important; }

/* Nav links slide in from right on page load (large screens only) */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        animation: navSlideIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }

    .navbar-nav .nav-item:nth-child(1) { animation-delay: 80ms; }
    .navbar-nav .nav-item:nth-child(2) { animation-delay: 160ms; }
    .navbar-nav .nav-item:nth-child(3) { animation-delay: 240ms; }
    .navbar-nav .nav-item:nth-child(4) { animation-delay: 320ms; }
}

@keyframes navSlideIn {
    from { opacity: 0; transform: translateX(56px); }
    to { opacity: 1; transform: translateX(0); }
}

.nav-link.active { color: #fff !important; }
.nav-link.active::after,
.nav-link:hover::after { transform: scaleX(1); }

/* === PAGE HEADER (subpages) === */
.page-header {
    padding: 170px 0 90px;
    background:
        radial-gradient(700px 420px at 85% 15%, rgba(0, 1, 252, 0.30), transparent 62%),
        radial-gradient(600px 400px at 8% 95%, rgba(138, 139, 255, 0.16), transparent 62%),
        linear-gradient(160deg, rgba(11, 16, 21, 0.94) 30%, rgba(29, 40, 51, 0.88)),
        var(--steel-900);
    position: relative;
    overflow: hidden;
    color: var(--text-on-dark);
    border-bottom: 4px solid var(--accent);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent 0 34px,
        rgba(255, 255, 255, 0.025) 34px 36px
    );
    pointer-events: none;
}

.page-header h1 { color: #fff; }
.page-header p { color: var(--text-muted-dark); margin-bottom: 0; }

/* === SECTION KICKER / TITLES === */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-deep);
    font-family: 'Lexend', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-subtitle::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.text-center .section-subtitle::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.bg-dark-section .section-subtitle,
.page-header .section-subtitle { color: #8A8BFF; }

.bg-dark-section .section-subtitle::before,
.bg-dark-section .section-subtitle::after,
.page-header .section-subtitle::before,
.page-header .section-subtitle::after { background: #8A8BFF; }

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--ink);
}

.bg-dark-section .section-title { color: #fff; }

.section-padding { padding: 96px 0; }

/* === "Design mode" alignment scene (light sections) === */

/* Cards/buttons stay fully rectangular until the radius handle is pulled */
.pre-align { border-radius: 0 !important; }
.pre-align::before { border-radius: 0 !important; }
.pre-align > img { border-radius: 0 !important; }
.radius-toggle,
.radius-toggle > img { transition: border-radius 600ms cubic-bezier(0.25, 0, 0.2, 1) !important; }

/* Fake right-click context menu with radius slider */
.radius-menu {
    position: absolute;
    z-index: 45;
    min-width: 190px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: scale(0.85);
    transform-origin: top right;
    transition: opacity 200ms ease, transform 250ms cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.radius-menu.open { opacity: 1; transform: scale(1); }

.radius-track {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 1, 252, 0.12);
}

.radius-fill {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 3px;
    background: var(--accent);
    transition: width 600ms cubic-bezier(0.25, 0, 0.2, 1);
}

.radius-knob {
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: transform 600ms cubic-bezier(0.25, 0, 0.2, 1);
}

/* Permanent dashed frame — sits exactly on the element's boundary and
   follows its rounded corners */
.snap-outline {
    outline: 1px dashed rgba(0, 1, 252, 0.38);
    outline-offset: 0;
}

/* Section-wide guide lines along card edges (permanent, behind the content) */
.blueprint-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Keep cards, buttons and texts above the guide lines */
section.section-padding:not(.bg-dark-section) > .container {
    position: relative;
    z-index: 1;
}

.blueprint-lines i {
    position: absolute;
    display: block;
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 250ms ease;
}

.blueprint-lines .bp-h {
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg,
        rgba(0, 1, 252, 0.22) 0 8px,
        transparent 8px 15px);
}

.blueprint-lines .bp-v {
    top: 0;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(0deg,
        rgba(0, 1, 252, 0.22) 0 8px,
        transparent 8px 15px);
}

.blueprint-lines i.draw { opacity: 1; }

/* Windows-style rubber-band selection box */
.select-box {
    position: absolute;
    z-index: 35;
    pointer-events: none;
    width: 0;
    height: 0;
    background: rgba(0, 1, 252, 0.08);
    border: 1px solid rgba(0, 1, 252, 0.55);
    transition:
        width 800ms cubic-bezier(0.3, 0, 0.15, 1),
        height 800ms cubic-bezier(0.3, 0, 0.15, 1),
        left 800ms cubic-bezier(0.3, 0, 0.15, 1),
        top 800ms cubic-bezier(0.3, 0, 0.15, 1),
        opacity 400ms ease;
}

.select-box.gone { opacity: 0; }

/* Fake cursor that flies in and clicks the corner */
.fake-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: transform 800ms cubic-bezier(0.3, 0, 0.15, 1), opacity 300ms ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.fake-cursor.visible { opacity: 1; }

.fake-cursor.click svg { animation: cursorPress 320ms ease; }

.fake-cursor.click::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 38px;
    height: 38px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: clickRing 500ms ease-out both;
}

@keyframes cursorPress {
    50% { transform: scale(0.78); }
}

@keyframes clickRing {
    from { transform: scale(0.3); opacity: 1; }
    to { transform: scale(1.25); opacity: 0; }
}

/* Extra ambient clouds (JS-injected into light sections) */
.amb-cloud {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    will-change: transform;
    z-index: 0;
    mix-blend-mode: multiply; /* tint only — never a bright smear through the glass cards */
}

.amb-1 { width: 300px; height: 300px; background: rgba(0, 1, 252, 0.15); }
.amb-2 { width: 220px; height: 220px; background: rgba(138, 139, 255, 0.18); }
.amb-3 { width: 260px; height: 260px; background: rgba(0, 1, 252, 0.12); }
.amb-4 { width: 180px; height: 180px; background: rgba(138, 139, 255, 0.20); }

/* dark-section variant: glow instead of tint (multiply would vanish on dark) */
.amb-cloud.amb-dark { mix-blend-mode: normal; }
.amb-dark.amb-1 { background: rgba(0, 60, 255, 0.22); }
.amb-dark.amb-2 { background: rgba(138, 139, 255, 0.14); }
.amb-dark.amb-3 { background: rgba(0, 60, 255, 0.18); }
.amb-dark.amb-4 { background: rgba(138, 139, 255, 0.16); }

/* dark sections must clip and layer their clouds like the light ones */
.bg-dark-section,
.stats-section {
    position: relative;
    overflow: hidden;
}

.bg-dark-section > .container,
.stats-section > .container,
.page-header > .container {
    position: relative;
    z-index: 1;
}

/* Drifting blue clouds inside light sections */
section.section-padding:not(.bg-dark-section) {
    position: relative;
    overflow: hidden;
}

section.section-padding:not(.bg-dark-section)::before,
section.section-padding:not(.bg-dark-section)::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: multiply;
}

section.section-padding:not(.bg-dark-section)::before {
    width: 280px;
    height: 280px;
    background: rgba(0, 1, 252, 0.13);
    top: 8%;
    right: -90px;
    animation: cloudDrift2 16s ease-in-out infinite alternate;
}

section.section-padding:not(.bg-dark-section)::after {
    width: 230px;
    height: 230px;
    background: rgba(138, 139, 255, 0.18);
    bottom: -60px;
    left: -70px;
    animation: cloudDrift1 14s ease-in-out infinite alternate;
}

.text-muted { color: var(--ink-soft) !important; }
.bg-dark-section .text-muted,
.stats-section .text-muted,
.footer .text-muted,
.page-header .text-muted { color: var(--text-muted-dark) !important; }

/* === HERO === */
.hero-section {
    height: 100vh;
    min-height: 620px;
    position: relative;
    background: var(--steel-950);
}

.carousel-item img {
    object-fit: cover;
    filter: brightness(0.55) saturate(0.9) contrast(1.05);
    transform: scale(1.06);
    transition: transform 7s linear;
}

.carousel-item.active img { transform: scale(1); }

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(11, 16, 21, 0.92) 0%,
        rgba(11, 16, 21, 0.55) 55%,
        rgba(11, 16, 21, 0.35) 100%);
    z-index: 1;
}

.carousel-caption {
    bottom: 50% !important;
    transform: translateY(50%);
    z-index: 2;
    left: 0 !important;
    right: 0 !important;
    padding: 0;
    text-align: left;
}

.carousel-caption h1 {
    color: #fff;
    font-weight: 650;
    max-width: 15ch;
}

.carousel-caption .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 48ch;
    font-size: 1.15rem;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8A8BFF;
    font-family: 'Lexend', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.badge-hero::before {
    content: '';
    width: 34px;
    height: 2px;
    background: #8A8BFF;
}

.text-gradient { color: #8A8BFF; }

.carousel-caption .badge-hero { animation: fadeInUp 0.55s ease both; }
.carousel-caption h1 { animation: fadeInUp 0.6s ease 0.1s both; }
.carousel-caption p { animation: fadeInUp 0.6s ease 0.2s both; }
.carousel-caption .mt-4 { animation: fadeInUp 0.6s ease 0.3s both; }

.carousel-control-prev,
.carousel-control-next {
    width: 7% !important;
    opacity: 0.65 !important;
    transition: opacity var(--t-fast);
}

.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: 1 !important; }

.carousel-indicators { z-index: 3; margin-bottom: 2rem; }
.carousel-indicators button {
    width: 36px !important;
    height: 4px !important;
    border-radius: 2px !important;
    border: none !important;
    margin: 0 5px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    transition: background var(--t-fast), width var(--t-med);
}

.carousel-indicators button.active {
    background: #8A8BFF !important;
    width: 56px !important;
}

/* === BUTTONS === */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    padding: 13px 30px;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    cursor: pointer;
}

.btn-accent:hover, .btn-accent:focus {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 1, 252, 0.32);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    padding: 13px 30px;
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

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

/* === STATS === */
.stats-section {
    padding: 64px 0;
    background:
        radial-gradient(760px 460px at 12% 0%, rgba(0, 1, 252, 0.28), transparent 62%),
        radial-gradient(640px 420px at 92% 100%, rgba(138, 139, 255, 0.14), transparent 62%),
        var(--steel-900);
    border-bottom: 1px solid var(--line-dark);
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: var(--glass-dark);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-dark-border);
    border-bottom: 3px solid transparent;
    transition: border-color var(--t-med), transform var(--t-med);
    height: 100%;
}

.stat-card:hover,
.stat-card.tapped {
    border-bottom-color: #8A8BFF;
    transform: translateY(-6px);
}

.stat-card i {
    font-size: 1.9rem;
    color: #8A8BFF;
    display: block;
    margin-bottom: 12px;
}

.stat-card h2 {
    font-size: 2.6rem;
    font-weight: 650;
    color: #fff;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.stat-card h2::after { content: '+'; color: #8A8BFF; font-size: 0.7em; }
.stat-card h2.counter-pct::after { content: '%'; }

.stat-card p {
    color: var(--text-muted-dark);
    font-size: 0.92rem;
    margin: 0;
}

.stars-5 {
    display: inline-block;
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    line-height: 1;
    margin-top: 4px;
}

/* === DARK SECTION === */
.bg-dark-section {
    background:
        radial-gradient(760px 480px at 88% 8%, rgba(0, 1, 252, 0.26), transparent 62%),
        radial-gradient(680px 440px at 4% 92%, rgba(138, 139, 255, 0.14), transparent 62%),
        var(--steel-900);
    color: var(--text-on-dark);
}

/* === SERVICE / PRODUCT CARDS === */
.product-card {
    padding: 34px 26px;
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-light-border);
    border-radius: var(--radius);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--accent-deep);
    transition: background var(--t-med), color var(--t-med);
}

.product-card:hover .product-icon {
    background: var(--accent);
    color: #fff;
}

.product-card h5 {
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.08rem;
}

.product-card p {
    color: var(--ink-soft) !important;
    margin-bottom: 0;
}

/* Dark variant (cards inside .bg-dark-section) */
.bg-dark-section .product-card {
    background: var(--glass-dark);
    border-color: var(--glass-dark-border);
    box-shadow: none;
}

.bg-dark-section .product-card:hover { box-shadow: var(--shadow-dark); }
.bg-dark-section .product-card h5 { color: #fff; }
.bg-dark-section .product-card p { color: var(--text-muted-dark) !important; }
.bg-dark-section .product-icon { background: var(--accent-dim-dark); color: #8A8BFF; }
.bg-dark-section .product-card:hover .product-icon { background: var(--accent); color: #fff; }

/* === ABOUT === */
.about-image-wrapper { position: relative; }

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -18px;
    right: -12px;
    padding: 18px 26px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 1, 252, 0.38);
}

.experience-badge .number {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.experience-badge .text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-light-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast), transform var(--t-fast);
}

.about-feature:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.about-feature i { color: var(--accent-deep); font-size: 1.05rem; }
.about-feature span { font-size: 0.94rem; font-weight: 600; color: var(--ink); }

/* === SERVICES LIST (numbered) === */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    background: var(--glass-dark);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-dark-border);
    border-left: 3px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--t-med), transform var(--t-med);
}

.service-item:hover,
.service-item.tapped {
    border-left-color: #8A8BFF;
    transform: translateX(6px);
}

.service-number {
    font-family: 'Lexend', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #8A8BFF;
    min-width: 44px;
    font-variant-numeric: tabular-nums;
}

.service-item h5 { color: #fff; font-weight: 600; font-size: 1.05rem; }

/* === GALLERY === */
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    background: var(--steel-800);
    transition: box-shadow var(--t-med), border-color var(--t-med);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.06); }

/* mobile: tap toggles a slight zoom instead of opening the lightbox */
.gallery-item.zoomed img { transform: scale(1.1); }
.gallery-item.zoomed { border-color: var(--accent); }

/* === CONTACT === */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-light-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}

.person-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.person-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--steel-800);
    color: #8A8BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.person-card h6 {
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.person-card .person-phone {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--accent-deep);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: color var(--t-fast);
}

.person-card .person-phone:hover { color: var(--accent); }

.person-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.person-card .btn-call {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    text-decoration: none;
    transition: background var(--t-fast), transform var(--t-fast);
}

.person-card .btn-call:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

.person-card .btn-wa { background: #25D366; }

.person-card .btn-wa:hover { background: #1EBE5A; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-light-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast), transform var(--t-fast);
}

.contact-item:hover { border-color: var(--accent); }

.contact-item.tapped {
    border-color: var(--accent);
    border-bottom-width: 3px;
    transform: translateY(-4px);
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--accent-deep);
    padding-top: 2px;
}

.contact-item h6 { color: var(--ink); font-weight: 600; margin-bottom: 2px; }

.contact-item a { color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast); }
.contact-item a:hover { color: var(--accent-deep); }

/* === MAP === */
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-dark);
    line-height: 0;
}

/* === CTA BAND === */
.cta-band {
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent 0 34px,
        rgba(255, 255, 255, 0.02) 34px 36px
    );
    pointer-events: none;
}

/* === FOOTER === */
.footer {
    background:
        radial-gradient(700px 420px at 90% 0%, rgba(0, 1, 252, 0.18), transparent 62%),
        var(--steel-950);
    border-top: 1px solid var(--line-dark);
    padding: 64px 0 28px;
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

/* Drifting cloud-like blue glows */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    will-change: transform;
}

.footer::before {
    width: 300px;
    height: 300px;
    background: rgba(0, 1, 252, 0.22);
    top: -110px;
    left: -70px;
    animation: cloudDrift1 12s ease-in-out infinite alternate;
}

.footer::after {
    width: 240px;
    height: 240px;
    background: rgba(138, 139, 255, 0.16);
    bottom: -90px;
    right: 6%;
    animation: cloudDrift2 15s ease-in-out infinite alternate;
}

@keyframes cloudDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(45vw, 50px) scale(1.2); }
}

@keyframes cloudDrift2 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-40vw, -40px) scale(1.1); }
}

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

.footer h6 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-mail {
    display: inline-block;
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.93rem;
    transition: color var(--t-fast);
}

.footer-mail:hover {
    background: linear-gradient(90deg,
        #8A8BFF, #5D5EFF, #B9BAFF, #7576FF, #A3A4FF, #8A8BFF);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: mailShimmer 2.4s linear infinite;
}

@keyframes mailShimmer {
    to { background-position: -200% 0; }
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--text-muted-dark);
    text-decoration: none;
    font-size: 0.93rem;
    transition: color var(--t-fast), padding-left var(--t-fast);
}

.footer-links a:hover { color: #8A8BFF; padding-left: 4px; }

.footer-contact-name {
    display: block;
    color: var(--text-muted-dark);
    font-size: 0.93rem;
    margin-bottom: 2px;
}

.footer-links a.phone-number {
    display: inline-block;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 0.98rem;
    font-variant-numeric: tabular-nums;
}

.footer hr { border-color: var(--line-dark); opacity: 1; }

/* Bottom row: copyright left, BBM credit right */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bbm-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.footer-bbm {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(120px);
}

.footer-bbm.is-visible {
    animation: bbmSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-bbm img {
    display: block;
    height: 20px;
    width: auto;
    transition: filter 0.25s ease;
}

.footer-bbm:hover img { filter: brightness(0) invert(1); }

@keyframes bbmSlideIn {
    from { opacity: 0; transform: translateX(120px); }
    to { opacity: 1; transform: translateX(0); }
}

/* === SCROLL REVEAL (JS adds .reveal / .revealed) === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 550ms ease, transform 550ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .carousel-item img { transform: none; transition: none; }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .carousel-caption { padding: 0 5%; }
    .carousel-caption h1 { font-size: 2.1rem !important; }
    .experience-badge { right: 8px; bottom: -14px; padding: 14px 20px; }
    .experience-badge .number { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 64px 0; }
    .page-header { padding: 140px 0 64px; }
    .hero-section { height: 88vh; min-height: 540px; }
    .carousel-caption { text-align: left; }
    .carousel-caption h1 { font-size: 1.7rem !important; max-width: none; }
    .carousel-caption .lead { font-size: 1rem; }
    .stat-card h2 { font-size: 2rem; }
    .navbar-collapse { padding: 8px 0; }
    .nav-link::after { display: none; }
    .nav-link.active { color: #8A8BFF !important; }
    .carousel-control-prev, .carousel-control-next { display: none; }
}

@media (max-width: 576px) {
    .carousel-caption h1 { font-size: 1.45rem !important; }
    .btn-lg { padding: 11px 22px; font-size: 0.9rem; }
    .person-card { flex-wrap: wrap; }
    .person-actions { margin-left: 0; width: 100%; }
    .person-card .btn-call { flex: 1 1 0; width: auto; min-width: 0; }
}
