/* Bridgebyte Limited: colours follow the logo (navy to lime-green gradient). */
:root {
    --bb-navy: #232a86;
    --bb-navy-deep: #0e1446;
    --bb-teal: #1a6f9a;
    --bb-lime: #7fd83d;
    --bb-lime-dark: #4f9f1f;
    --bb-ink: #1c2434;
    --bb-muted: #5d6779;
    --bb-line: #e4e8ef;
    --bb-bg-soft: #f4f7fb;
    --bb-gradient: linear-gradient(120deg, var(--bb-navy) 0%, var(--bb-teal) 50%, #3fae5a 75%, var(--bb-lime) 100%);
    --bb-radius: 16px;
    --bb-shadow: 0 10px 30px rgba(35, 42, 134, .08);
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--bb-ink);
    --bs-link-color-rgb: 26, 111, 154;
    --bs-link-hover-color-rgb: 35, 42, 134;
}

body { font-size: 1.02rem; line-height: 1.7; background: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--bb-navy); font-weight: 800; letter-spacing: -.01em; }
a { text-decoration: none; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .6rem 1.4rem; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.02rem; }
.btn-brand { color: #fff; background: var(--bb-gradient); border: 0; background-size: 140% 100%; transition: background-position .3s, transform .2s, box-shadow .2s; }
.btn-brand:hover, .btn-brand:focus { color: #fff; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(26, 111, 154, .35); }
.btn-light { color: var(--bb-navy); }

/* Header */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); transition: box-shadow .2s; z-index: 1030; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(35, 42, 134, .08); }
.site-header .navbar { padding: .6rem 0; }
.site-header .navbar-brand img { display: block; height: 56px; width: auto; }
.site-header .nav-link { color: var(--bb-navy); font-weight: 600; padding: .5rem 1rem !important; border-radius: 999px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--bb-teal); }
.site-header .dropdown-menu { border: 0; border-radius: 14px; box-shadow: var(--bb-shadow); padding: .5rem; margin-top: 0; }
.site-header .dropdown-item { border-radius: 10px; padding: .55rem .9rem; font-weight: 500; }
.site-header .dropdown-item:hover, .site-header .dropdown-item.active { background: var(--bb-bg-soft); color: var(--bb-teal); }
@media (min-width: 992px) { .site-header .dropdown:hover > .dropdown-menu { display: block; } }

/* Eyebrow / section heads */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-teal); margin-bottom: .75rem; }
.eyebrow-light { color: var(--bb-lime); }
.section { padding: 5.5rem 0; }
.section-muted { background: var(--bb-bg-soft); }
.section-dark { background: var(--bb-navy-deep); color: rgba(255, 255, 255, .8); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-intro { color: var(--bb-muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-intro { color: rgba(255, 255, 255, .7); }
.section-head + .row > .col-12 > p:first-child { margin-top: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: rgba(255, 255, 255, .85); background: var(--bb-navy-deep); padding: 6.5rem 0 7rem; }
.hero-bg { position: absolute; inset: 0; background:
    radial-gradient(800px 400px at 85% 20%, rgba(127, 216, 61, .28), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(26, 111, 154, .45), transparent 60%),
    linear-gradient(160deg, var(--bb-navy-deep), var(--bb-navy)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual { position: relative; height: 380px; }
.hv-card { position: absolute; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
    width: 250px; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px); color: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .2); animation: float 6s ease-in-out infinite; }
.hv-card i { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--bb-gradient); font-size: 1.3rem; }
.hv-card span { font-weight: 700; }
.hv-card small { color: rgba(255, 255, 255, .65); }
.hv-1 { top: 0; left: 8%; }
.hv-2 { top: 26%; right: 0; animation-delay: -1.5s; }
.hv-3 { top: 54%; left: 0; animation-delay: -3s; }
.hv-4 { bottom: 0; right: 10%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hv-card { animation: none; } }

/* Cards */
.icon-badge { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 14px; background: var(--bb-gradient); color: #fff; font-size: 1.45rem; }
.service-card { position: relative; height: 100%; padding: 2rem; background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card .icon-badge { margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.service-card p { color: var(--bb-muted); margin-bottom: 1.1rem; }
.service-card .card-link { font-weight: 700; color: var(--bb-teal); }
.service-card.has-link:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow); border-color: transparent; }
.service-card.has-link:hover .card-link i { transform: translateX(4px); }
.service-card .card-link i { display: inline-block; transition: transform .2s; }

.feature { display: flex; gap: 1rem; height: 100%; }
.feature-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(127, 216, 61, .15); color: var(--bb-lime-dark); font-size: 1.25rem; }
.section-dark .feature-icon { background: rgba(127, 216, 61, .18); color: var(--bb-lime); }
.feature h4 { font-size: 1.08rem; margin-bottom: .35rem; }
.feature p { color: var(--bb-muted); margin: 0; }
.section-dark .feature p { color: rgba(255, 255, 255, .7); }

.stat { text-align: center; padding: 1.5rem 1rem; }
.stat-value { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; background: var(--bb-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .stat-value { background: linear-gradient(90deg, #fff, var(--bb-lime)); -webkit-background-clip: text; background-clip: text; }
.stat-label { margin-top: .5rem; color: var(--bb-muted); font-weight: 600; }
.section-dark .stat-label { color: rgba(255, 255, 255, .7); }

/* Call to action */
.cta-band { padding: 4rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3rem; border-radius: 24px; background: var(--bb-gradient); color: rgba(255, 255, 255, .9); box-shadow: var(--bb-shadow); }
.cta-inner h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-inner p { margin: 0; max-width: 620px; }

/* Inner pages */
.page-header { position: relative; padding: 4rem 0 3.5rem; color: rgba(255, 255, 255, .8); background:
    radial-gradient(600px 300px at 90% 0%, rgba(127, 216, 61, .25), transparent 60%), linear-gradient(160deg, var(--bb-navy-deep), var(--bb-navy)); }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .5rem; }
.page-header .lead { max-width: 720px; margin: 0; }
.page-header .breadcrumb { margin-bottom: 1rem; font-size: .9rem; --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.7); }
.page-header .breadcrumb a { color: var(--bb-lime); }

.service-body h2 { font-size: 1.6rem; margin-top: 2rem; }
.service-body h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.service-body ul { padding-left: 0; list-style: none; }
.service-body ul li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.service-body ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--bb-lime-dark); font-weight: 700; }
.service-body .section { padding: 2.5rem 0 0; }
.service-body .section .container { padding: 0; }
.service-body .section-head { text-align: left !important; margin-left: 0 !important; margin-bottom: 1.5rem; }

.side-card { padding: 1.75rem; border-radius: var(--bb-radius); background: var(--bb-bg-soft); margin-bottom: 1.5rem; }
.side-card h6 { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--bb-muted); margin-bottom: 1rem; }
.side-nav a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 10px; color: var(--bb-navy); font-weight: 600; }
.side-nav a i { font-size: .8rem; color: var(--bb-teal); }
.side-nav a:hover, .side-nav a.active { background: #fff; color: var(--bb-teal); box-shadow: 0 4px 14px rgba(35, 42, 134, .06); }
.side-card-cta { background: var(--bb-gradient); color: rgba(255, 255, 255, .9); }
.side-card-cta h5 { color: #fff; }

.page-content-text { padding: 4rem 0; }

/* Contact */
#contact-form, [id] { scroll-margin-top: 96px; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.contact-item h6 { margin-bottom: .2rem; }
.contact-item p { margin: 0; color: var(--bb-muted); }
.form-card { padding: 2.25rem; border-radius: var(--bb-radius); background: #fff; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.form-control, .form-select { border-radius: 12px; padding: .7rem .95rem; border-color: var(--bb-line); }
.form-control:focus, .form-select:focus { border-color: var(--bb-teal); box-shadow: 0 0 0 .2rem rgba(26, 111, 154, .15); }
.form-label { font-weight: 600; font-size: .92rem; color: var(--bb-navy); }
.req { color: #c0392b; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; border: 0; filter: saturate(.9); }

/* Footer */
.site-footer { background: var(--bb-navy-deep); color: rgba(255, 255, 255, .7); padding: 4.5rem 0 0; font-size: .95rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--bb-lime); }
.site-footer li { margin-bottom: .55rem; }
.footer-logo { height: 64px; width: auto; padding: 6px 10px; background: #fff; border-radius: 10px; }
.footer-tagline { max-width: 320px; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: .4rem; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-contact i { color: var(--bb-lime); margin-right: .5rem; }
.footer-bottom { margin-top: 3.5rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

@media (max-width: 991.98px) {
    .section { padding: 4rem 0; }
    .hero { padding: 4.5rem 0 5rem; }
    .cta-inner { padding: 2rem; }
    .site-header .navbar-collapse { padding: 1rem 0; }
}
