/* =============================================
   DB BOGDANI BAU — Shared Stylesheet
   ============================================= */

/* Anchor scroll offset — kompenson navbar-in fiks */
[id] { scroll-margin-top: 80px; }

/* ============================================
   MODERN ANIMATIONS LAYER
   ============================================ */

/* ---- Custom Cursor ---- */
@media (pointer: coarse) { *, *::before, *::after { cursor: auto !important; } }


/* ---- Scroll Progress ---- */
.scroll-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), #f0a500);
    z-index: 100001;
    width: 0%;
    transition: width .1s linear;
    box-shadow: 0 0 10px rgba(253,190,51,.6);
}

/* ---- Word Reveal ---- */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.2em;
}
.word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .5s ease;
}
.word.word-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ---- Tilt glare ---- */
.tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}

/* ---- Ripple ---- */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    transform: scale(0);
    animation: rippleAnim .65s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(1); opacity: 0; }
}

/* ---- Floating shapes (hero) ---- */
.hero-shape {
    position: absolute;
    border: 2px solid rgba(253,190,51,.15);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
    animation: floatShape var(--dur, 7s) var(--delay, 0s) ease-in-out infinite alternate;
    transform-origin: center;
}
@keyframes floatShape {
    0%   { transform: translateY(0)    rotate(0deg); opacity: .35; }
    100% { transform: translateY(-22px) rotate(var(--rot, 12deg)); opacity: .15; }
}

/* ---- Typed cursor blink ---- */
.typed-cursor {
    display: inline-block;
    width: 3px;
    background: var(--yellow);
    margin-left: 4px;
    animation: blink .8s step-end infinite;
    vertical-align: baseline;
    height: 0.85em;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ---- Navbar glass on scroll ---- */
.db-nav.scrolled {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,.1);
}

/* ---- Divider grow ---- */
.section-divider {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.text-center .section-divider { transform-origin: center; }
.section-divider.divider-grow { transform: scaleX(1); }

/* ---- Stat number glow ---- */
.stat-glow {
    text-shadow: 0 0 30px rgba(253,190,51,.4);
}

/* ---- Improved fade animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.fade-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.fade-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0,0);
}

/* ---- Button transform smooth ---- */
.btn-primary-db, .btn-outline-db, .btn-white-db {
    transition: background .3s, color .3s, border-color .3s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s !important;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary-db:focus, .btn-white-db:focus {
    outline: none;
    box-shadow: none;
}
.btn-primary-db:hover, .btn-white-db:hover {
    box-shadow: 0 8px 28px rgba(253,190,51,.45) !important;
    transform: translateY(-2px);
}
.btn-outline-db:hover {
    box-shadow: 0 8px 28px rgba(3,15,39,.2) !important;
    transform: translateY(-2px);
}

/* ---- Feature box glassmorphism ---- */
.feature-box {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,.03) !important;
    transition: background .4s, transform .4s cubic-bezier(.16,1,.3,1) !important;
}
.feature-box:hover { background: rgba(253,190,51,.08) !important; transform: translateY(-4px); }

/* ---- Card glow on hover ---- */
.db-card:hover,
.svc-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(253,190,51,.15) !important;
}

/* ---- Value card shine ---- */
.value-card {
    transition: background .35s, border-color .35s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s !important;
}
.value-card:hover {
    box-shadow: 0 16px 50px rgba(253,190,51,.12) !important;
}

/* ---- Page hero animated gradient ---- */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(253,190,51,.07) 0%, transparent 65%);
    pointer-events: none;
    animation: heroGradPulse 5s ease-in-out infinite alternate;
}
@keyframes heroGradPulse {
    0%   { opacity: .6; transform: scale(1);    }
    100% { opacity: 1;  transform: scale(1.08); }
}

/* ---- Service photo zoom ---- */
.svc-photo { transition: box-shadow .4s; }
.svc-photo:hover { box-shadow: 0 28px 70px rgba(0,0,0,.18) !important; }

/* ---- Process step number pulse ---- */
.step-num {
    transition: background .3s, box-shadow .3s, transform .4s cubic-bezier(.16,1,.3,1);
}
.process-step:hover .step-num {
    background: rgba(253,190,51,.2) !important;
    box-shadow: 0 0 0 8px rgba(253,190,51,.08);
    transform: scale(1.1);
}

/* ---- Contact card glow ---- */
.ct-card { transition: border-color .35s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s !important; }
.ct-card:hover { box-shadow: 0 16px 50px rgba(253,190,51,.12), 0 0 0 1px rgba(253,190,51,.2) !important; }

/* ---- FAQ hover ---- */
.faq-question { transition: color .25s, padding-left .25s; }
.faq-question:hover { padding-left: 6px; }

/* ---- Section tag entrance ---- */
.section-tag {
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.section-tag:hover {
    transform: translateX(4px);
    box-shadow: inset 0 0 0 1px var(--yellow);
}

/* ---- Footer link hover ---- */
.footer-col ul li a {
    transition: color .25s, padding-left .3s cubic-bezier(.16,1,.3,1) !important;
}
.footer-col ul li a:hover { padding-left: 8px !important; }

/* ---- Scroll animation delays ---- */
.d1 { transition-delay: .08s !important; }
.d2 { transition-delay: .18s !important; }
.d3 { transition-delay: .28s !important; }
.d4 { transition-delay: .38s !important; }
.d5 { transition-delay: .48s !important; }
.d6 { transition-delay: .58s !important; }

:root {
    --yellow: #fdbe33;
    --yellow-light: rgba(253,190,51,.12);
    --yellow-glow: rgba(253,190,51,.35);
    --dark: #030f27;
    --dark-2: #020c1e;
    --dark-3: #0a1f45;
    --white: #ffffff;
    --light: #f5f7fa;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --border: #e9ecef;
    --shadow: 0 4px 30px rgba(0,0,0,.08);
    --shadow-hover: 0 16px 50px rgba(0,0,0,.14);
    --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
a:active, a:focus, button:active, button:focus { outline: none !important; box-shadow: none !important; }

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: var(--gray);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { color: var(--dark); font-weight: 700; line-height: 1.2; }
p { line-height: 1.75; }
a { color: var(--gray); text-decoration: none; transition: .3s; }
a:hover { color: var(--yellow); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- BUTTONS ---- */
.btn-primary-db {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .4px;
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    transition: .3s;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary-db:hover {
    background: var(--dark);
    color: var(--yellow);
    border-color: var(--dark);
}

.btn-outline-db {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .4px;
    border: 2px solid var(--dark);
    border-radius: var(--radius);
    transition: .3s;
    cursor: pointer;
    white-space: nowrap;
}
.btn-outline-db:hover {
    background: var(--dark);
    color: var(--yellow);
}
.btn-outline-db:active, .btn-outline-db:focus {
    background: transparent;
    color: var(--dark);
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-white-db {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--white);
    border-radius: var(--radius);
    transition: .3s;
    cursor: pointer;
}
.btn-white-db:hover {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

/* ---- SECTION UTILITIES ---- */
.section-tag {
    display: inline-block;
    color: var(--yellow);
    background: var(--yellow-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 2px;
    border-left: 3px solid var(--yellow);
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-sub {
    font-size: 16px;
    color: var(--gray);
    max-width: 580px;
    line-height: 1.8;
}

.section-divider {
    width: 50px;
    height: 4px;
    background: var(--yellow);
    border-radius: 2px;
    margin: 16px 0 24px;
}

.text-center .section-divider {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .section-title { font-size: 26px; }
    .section-sub { font-size: 15px; }
}

/* ============================================
   TOPBAR
   ============================================ */
.db-topbar {
    background: var(--dark-2);
    padding: 9px 0;
}

.db-topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.db-topbar .topbar-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.db-topbar .topbar-contacts a,
.db-topbar .topbar-contacts span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    transition: .3s;
}

.db-topbar .topbar-contacts a:hover { color: var(--yellow); }
.db-topbar .topbar-contacts i { color: var(--yellow); font-size: 12px; }

/* Mobile topbar: hide contacts, show only language switcher */
@media (max-width: 767px) {
    .db-topbar { padding: 7px 0; }
    .db-topbar .topbar-contacts { display: none; }
    .db-topbar .topbar-inner { justify-content: flex-end; }
}

.lang-switcher { display: flex; align-items: center; gap: 4px; }

.lang-btn {
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: transparent;
    color: rgba(255,255,255,.45);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2px;
    cursor: pointer;
    transition: .3s;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

/* ============================================
   NAVBAR
   ============================================ */
.db-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 24px rgba(0,0,0,.07);
}

.db-nav .navbar { padding: 0 15px; }

.db-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.db-brand .brand-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 3px;
    flex-shrink: 0;
    object-fit: contain;
}

.db-brand .brand-text strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: .3px;
    line-height: 1.1;
}

.db-brand .brand-text span {
    font-size: 10px;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.db-nav .nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark) !important;
    padding: 18px 16px !important;
    position: relative;
    transition: .3s;
    letter-spacing: .2px;
}

.db-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: .3s;
    transform-origin: center;
}

.db-nav .nav-link:hover::after,
.db-nav .nav-link.active-page::after {
    transform: scaleX(1);
}

.db-nav .nav-link.active-page {
    color: var(--dark) !important;
    font-weight: 600;
}

.db-nav .navbar-toggler {
    border: none;
    padding: 6px;
    outline: none;
}
.db-nav .navbar-toggler:focus { box-shadow: none; }

.db-nav .nav-cta-wrap { margin-left: 16px; }

@media (max-width: 991px) {
    .db-nav .nav-link { padding: 11px 16px !important; }
    .db-nav .nav-link::after { display: none; }
    .db-nav .nav-cta-wrap { margin: 8px 16px 16px; }

    /* Dropdown panel always white */
    .db-nav #mainNav {
        border-top: 3px solid var(--yellow);
        background: var(--white);
        padding: 8px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }

    /* Each link row */
    .db-nav .nav-item { border-bottom: 1px solid #f0f0f0; }
    .db-nav .nav-item:last-child { border-bottom: none; }
    .db-nav .nav-link:hover { background: #fafafa; color: var(--yellow) !important; }

    /* CTA button full-width on mobile */
    .db-nav .nav-cta-wrap .btn-primary-db {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Smaller logo on mobile */
    .db-brand .brand-icon { width: 52px !important; height: 52px !important; }
    .db-brand .brand-text strong { font-size: 16px; }

    /* Push brand to left edge on mobile */
    .db-nav .container-fluid { padding-left: 0 !important; padding-right: 12px !important; }
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-hero {
    position: relative;
    background: var(--dark);
    padding: 80px 0 70px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 40%, var(--dark-3) 100%);
}

.page-hero .ph-accent {
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 80px solid rgba(253,190,51,.05);
    pointer-events: none;
}

.page-hero .ph-accent-2 {
    position: absolute;
    left: -60px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(253,190,51,.04);
    pointer-events: none;
}

.page-hero .ph-content {
    position: relative;
    z-index: 2;
}

.page-hero .ph-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253,190,51,.12);
    border: 1px solid rgba(253,190,51,.25);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.page-hero h1 {
    color: var(--white);
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 14px;
}

.page-hero h1 span { color: var(--yellow); }

.page-hero p {
    color: rgba(255,255,255,.65);
    font-size: 17px;
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 25px;
}

.breadcrumb-db {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-db li { color: rgba(255,255,255,.4); }
.breadcrumb-db li a { color: rgba(255,255,255,.6); }
.breadcrumb-db li a:hover { color: var(--yellow); }
.breadcrumb-db li.active { color: var(--yellow); }
.breadcrumb-db .sep { color: rgba(255,255,255,.25); font-size: 10px; }

@media (max-width: 767px) {
    .page-hero { padding: 55px 0 50px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero p { font-size: 15px; }
}

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
    background: var(--dark);
    border-top: 3px solid var(--yellow);
    position: relative;
}

.feature-box {
    padding: 30px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    border-right: 1px solid rgba(255,255,255,.07);
    transition: background .35s, transform .35s;
    position: relative;
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 36px;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform .35s;
    border-radius: 2px;
}

.feature-box:hover::after { transform: scaleX(1); }
.feature-box:last-child { border-right: none; }
.feature-box:hover { background: rgba(253,190,51,.05); transform: translateY(-3px); }

.feature-box .f-icon {
    width: 52px;
    height: 52px;
    background: rgba(253,190,51,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--yellow);
    flex-shrink: 0;
    transition: .35s;
    margin-bottom: 14px;
    box-shadow: 0 0 0 6px rgba(253,190,51,.06);
}

.feature-box:hover .f-icon {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 0 0 8px rgba(253,190,51,.15);
}

.feature-box h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: .3px;
}

.feature-box p {
    color: rgba(255,255,255,.5);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.7;
    max-width: 280px;
}

@media (max-width: 991px) {
    .feature-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
    .feature-box:hover { transform: none; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--dark);
    padding: 70px 0;
}

.stat-item { text-align: center; padding: 10px; }

.stat-item .stat-num {
    font-size: 54px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    display: block;
    font-variant-numeric: tabular-nums;
}

.stat-item .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 8px;
    display: block;
}

.stat-sep {
    width: 1px;
    height: 70px;
    background: rgba(255,255,255,.08);
    align-self: center;
}

/* ============================================
   FOOTER
   ============================================ */
.db-footer {
    background: var(--dark-2);
    padding: 28px 0 0;
    color: rgba(255,255,255,.55);
}

.footer-brand .fw-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-brand .fw-logo .icon {
    width: 52px;
    height: 52px;
    background: transparent;
    border-radius: 3px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-brand .fw-logo strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.footer-brand .fw-logo span {
    font-size: 10px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    max-width: 270px;
    color: rgba(255,255,255,.45);
}

.footer-col h5 {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    position: relative;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--yellow);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li { margin-bottom: 5px; }

.footer-col ul li a {
    color: rgba(255,255,255,.45);
    font-size: 13px;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-col ul li a i {
    color: var(--yellow);
    font-size: 11px;
    width: 12px;
}

.footer-col ul li a:hover {
    color: var(--yellow);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
}

.footer-contact-item .icon {
    width: 30px;
    height: 30px;
    background: rgba(253,190,51,.1);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item .info span {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1px;
    font-weight: 600;
}

.footer-contact-item .info a,
.footer-contact-item .info p {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    margin: 0;
    transition: .3s;
    overflow-wrap: break-word;
    word-break: break-all;
}

.footer-contact-item .info a:hover { color: var(--yellow); }

.footer-bottom {
    margin-top: 22px;
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 12px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,.3);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: .3s;
    z-index: 999;
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.back-top-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.back-top-btn:hover {
    background: var(--dark);
    color: var(--yellow);
}

.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: transform .3s, box-shadow .3s;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0,0);
}

.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }
.d5 { transition-delay: .5s !important; }
.d6 { transition-delay: .6s !important; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    background: var(--yellow);
    padding: 70px 0;
}

.cta-band h2 {
    color: var(--dark);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(3,15,39,.7);
    font-size: 16px;
    margin-bottom: 0;
}

/* ============================================
   CARDS — shared
   ============================================ */
.db-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
}

.db-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   FORM ELEMENTS — shared
   ============================================ */
.db-form .form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    transition: border-color .3s, box-shadow .3s;
    background: var(--white);
}

.db-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(253,190,51,.2);
    border-color: var(--yellow);
    outline: none;
}

.db-form textarea.form-control {
    resize: none;
    height: 140px;
}

.db-form label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 7px;
    display: block;
}

/* ============================================
   PERFORMANCE & ACCESSIBILITY
   ============================================ */

/* GPU-accelerate hero slide images */
.hero-slide img {
    will-change: transform;
}

/* Prevent iOS Safari input zoom (font-size must be >= 16px on mobile) */
@media (max-width: 767px) {
    .form-control,
    .db-form .form-control {
        font-size: 16px !important;
    }
}

/* ============================================
   MOBILE POLISH — max-width: 767px
   ============================================ */
@media (max-width: 767px) {

    /* --- Section paddings: cut 100px → 52px --- */
    .about-home,
    .svc-home,
    .process-sec,
    .story-sec,
    .values-sec,
    .why-sec,
    .team-sec,
    .ct-cards-sec,
    .ct-main-sec,
    .cta-band { padding-top: 52px !important; padding-bottom: 52px !important; }

    /* --- Stats bar: smaller numbers, less padding --- */
    .stats-bar { padding: 40px 0 !important; }
    .stat-item .stat-num { font-size: 36px !important; }
    .stat-item .stat-label { font-size: 10px !important; margin-top: 4px !important; }
    .stat-item { padding: 8px 4px !important; }

    /* --- Features strip: tighter boxes --- */
    .feature-box { padding: 28px 20px !important; }
    .feature-box .f-icon { width: 52px !important; height: 52px !important; font-size: 20px !important; margin-bottom: 14px !important; }
    .feature-box h4 { font-size: 15px !important; }
    .feature-box p { font-size: 13px !important; }

    /* --- CTA band heading --- */
    .cta-band h2 { font-size: 22px !important; }
    .cta-band p { font-size: 14px !important; }

    /* --- Buttons: stack full-width in hero --- */
    .hero-btns { flex-direction: column !important; gap: 12px !important; }
    .hero-btns .btn-primary-db,
    .hero-btns .btn-white-db { width: 100% !important; justify-content: center !important; }

    /* --- Hide slide indicator on mobile (overlaps buttons) --- */
    .hero-indicator { display: none !important; }

    /* --- Extra bottom padding so content doesn't crowd edge --- */
    .hero { padding-bottom: 36px !important; }

    /* --- Page hero: tighter --- */
    .page-hero { padding: 42px 0 38px !important; }
    .page-hero h1 { font-size: 28px !important; }
    .page-hero p { font-size: 14px !important; margin-bottom: 16px !important; }

    /* --- Service blocks (service.html inline styles) --- */
    .svc-intro { padding: 44px 0 !important; }
    .svc-block { padding: 48px 0 !important; }
    .svc-photo { height: 280px !important; }
    .svc-cta { padding: 52px 0 !important; }
    .svc-cta h2 { font-size: 24px !important; }
    .svc-cta p { font-size: 14px !important; }

    /* --- Index page: about photo & service card images --- */
    .main-photo { height: 280px !important; }
    .svc-card .img-wrap { height: 200px !important; }

    /* --- Remove stagger delays on mobile (content appears instantly) --- */
    .d1, .d2, .d3, .d4, .d5, .d6 { transition-delay: 0s !important; }

    /* --- Footer: hide nav link columns, keep brand + contact --- */
    .footer-nav-col { display: none !important; }
    .footer-brand p { max-width: 100% !important; }

    /* --- Back to top: smaller & less intrusive --- */
    .back-top-btn {
        width: 38px !important; height: 38px !important;
        bottom: 16px !important; right: 16px !important;
        font-size: 13px !important;
    }

    /* --- WhatsApp: bottom-left on mobile --- */
    .whatsapp-btn {
        right: auto !important;
        left: 16px !important;
        bottom: 16px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 25px !important;
    }

    /* --- Section divider: hide on mobile --- */
    .section-divider { display: none !important; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-up, .fade-left, .fade-right {
        opacity: 1 !important;
        transform: none !important;
    }
    .word { transform: none !important; opacity: 1 !important; }
    .hero-shape { animation: none !important; }
    .scroll-progress-bar { transition: none !important; }
}
