:root {
    --brand-primary: #11a7ff;
    --brand-secondary: #2ef5c5;
    --brand-dark: #071a2d;
    --brand-card: #0d2740;
    --text-muted: #9db1c5;
    --white: #fff;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #112236;
    background: #f6f9fc;
    padding-top: 86px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-space {
    padding: 5.5rem 0;
}

.site-header {
    transition: all 0.3s ease;
}

.site-header .navbar {
    backdrop-filter: blur(6px);
    background: rgba(7, 26, 45, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .navbar {
    background: rgba(7, 26, 45, 0.95);
}

.navbar-brand span {
    color: var(--white);
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.nav-link {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--white);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.cta-pill {
    border-radius: 999px;
    background: linear-gradient(125deg, var(--brand-primary), var(--brand-secondary));
    color: #012030;
    border: 0;
    font-weight: 700;
    padding: 0.75rem 1.35rem;
    box-shadow: 0 12px 24px rgba(46, 245, 197, 0.22);
}

.cta-pill:hover {
    color: #001321;
    transform: translateY(-1px);
}

.hero-fullscreen {
    min-height: calc(100vh - 86px);
    position: relative;
    display: flex;
    align-items: center;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(2, 12, 24, 0.85), rgba(3, 49, 95, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    display: inline-block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ddf9ff;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(2rem, 5.2vw, 4.3rem);
    line-height: 1.07;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: #d8ecff;
    margin-bottom: 1.75rem;
}

.btn-hero-primary {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(125deg, var(--brand-primary), var(--brand-secondary));
    color: #001a2a;
    font-weight: 800;
    padding: 0.9rem 1.4rem;
    box-shadow: 0 14px 35px rgba(17, 167, 255, 0.35);
}

.btn-hero-primary:hover {
    color: #001a2a;
    transform: translateY(-2px);
}

.btn-hero-outline {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: var(--white);
    font-weight: 700;
    padding: 0.9rem 1.3rem;
}

.btn-hero-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.showcase-image-wrap {
    height: 360px;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-image:hover {
    transform: scale(1.07);
}

.services-section {
    background: radial-gradient(circle at top left, #e4f8ff, #f7fbff 45%, #ffffff);
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    margin-bottom: 0.7rem;
}

.section-heading p {
    color: #4f6478;
}

.service-card {
    background: var(--white);
    border-radius: 1.15rem;
    padding: 1.6rem;
    border: 1px solid #e8eff7;
    box-shadow: 0 15px 35px rgba(17, 34, 54, 0.06);
    transition: all 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(17, 34, 54, 0.15);
}

.service-icon {
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.service-card p {
    margin: 0;
    color: #5a6f84;
}

.gallery-section {
    background: linear-gradient(130deg, #081a2c, #0a2f53);
}

/* ── Before / After Carousel ───────────────────────────── */
.ba-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.ba-carousel-track {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.ba-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ba-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.ba-slide-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.ba-pair {
    display: flex;
    gap: 1.25rem;
    width: 100%;
}

.ba-image-wrap {
    position: relative;
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.ba-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    top: 0.75rem;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0.4rem;
    pointer-events: none;
    z-index: 2;
}
.ba-label-before {
    left: 0.75rem;
    background: rgba(220, 53, 69, 0.88);
    color: #fff;
}
.ba-label-after {
    right: 0.75rem;
    left: auto;
    background: rgba(25, 135, 84, 0.88);
    color: #fff;
}

/* Arrows */
.ba-arrow {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    z-index: 5;
}
.ba-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}
.ba-arrow-prev { left: -1.5rem; }
.ba-arrow-next { right: -1.5rem; }

/* Dots */
.ba-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}
.ba-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    padding: 0;
}
.ba-dot.active,
.ba-dot:hover {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.about-section {
    background: #f9fbff;
}

.about-panel {
    background: linear-gradient(120deg, #0a2e4f, #114772);
    color: var(--white);
    border-radius: 1.4rem;
    padding: clamp(1.4rem, 4vw, 2.7rem);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
    box-shadow: 0 24px 48px rgba(9, 31, 53, 0.25);
}

.about-panel p {
    margin-top: 0.65rem;
    margin-bottom: 0;
    color: #e0eeff;
    max-width: 760px;
}

.quote-hero {
    background-image: linear-gradient(160deg, rgba(7, 26, 45, 0.92), rgba(8, 56, 98, 0.82)), var(--quote-image);
    background-size: cover;
    background-position: center;
}

.quote-copy {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    color: var(--white);
    padding: 1.35rem;
    backdrop-filter: blur(4px);
}

.quote-copy h1 {
    margin: 0.8rem 0 0.8rem;
}

.quote-copy p {
    color: #d5ebff;
}

.quote-copy ul {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.quote-copy li {
    margin-bottom: 0.4rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
    padding: clamp(1.1rem, 3vw, 2rem);
}

.form-label {
    font-weight: 600;
}

.form-control {
    border-radius: 0.75rem;
    border-color: #d6e2ee;
}

.form-control:focus {
    border-color: #67c8ff;
    box-shadow: 0 0 0 0.2rem rgba(17, 167, 255, 0.15);
}

.site-footer {
    background: #071a2d;
    color: #d4e6f7;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #e9f5ff;
    font-size: 1.05rem;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
    text-decoration: none;
    transform: translateY(-2px);
    background: linear-gradient(125deg, var(--brand-primary), var(--brand-secondary));
    border-color: transparent;
    color: #001f33;
}

.site-footer .social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-credit a {
    color: rgba(212, 230, 247, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer .footer-credit a:hover,
.site-footer .footer-credit a:focus-visible {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.site-footer .footer-credit a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
    border-radius: 0.2rem;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        background: rgba(7, 26, 45, 0.95);
    }

    .hero-fullscreen {
        background-attachment: scroll;
    }

    .about-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 78px;
    }

    .section-space {
        padding: 4.25rem 0;
    }

    .showcase-image-wrap {
        height: 280px;
    }

    /* Carousel mobile: stack vertically */
    .ba-pair {
        flex-direction: column;
    }

    .ba-carousel-track {
        min-height: auto;
    }

    .ba-arrow-prev { left: 0.25rem; }
    .ba-arrow-next { right: 0.25rem; }

    .ba-arrow {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

}
