/********** Template CSS **********/
:root {
    --primary: #1EC8E8;
    --navy: #0B4F8A;
    --black: #050505;
    --light: #F4F8FB;
    --dark: #071E36;
    --nav-offset: 88px;
    --font-sans: "Manrope", sans-serif;
    --bs-body-font-family: var(--font-sans);
    --bs-font-sans-serif: var(--font-sans);
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #071E36;
}

.btn.btn-primary {
    background: #1EC8E8;
    border-color: #1EC8E8;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    color: #FFFFFF;
    background: var(--black);
    border-color: var(--black);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

/* Fixed site header — stays locked to top while scrolling (mobile/tablet/desktop) */
.navbar.sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1030;
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-right: 0;
    margin-left: 0;
    padding: 1.85rem 1.05rem;
    color: var(--black);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    outline: none;
    transition: color 0.25s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.15rem;
    width: 0;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--navy);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: calc(100% - 1.6rem);
}

.navbar .navbar-toggler {
    border-color: rgba(5, 5, 5, 0.2);
}

.navbar .navbar-toggler-icon {
    filter: none;
}

.navbar.sticky-top.shadow-sm {
    box-shadow: 0 8px 24px rgba(5, 5, 5, 0.12) !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 0.85rem 0;
        text-align: center;
    }

    .navbar .navbar-nav .nav-link::after {
        bottom: 0.35rem;
    }

    .navbar .navbar-nav {
        border-top: 1px solid rgba(5, 5, 5, 0.08);
        text-align: center;
        align-items: center;
    }

    .navbar .navbar-collapse {
        text-align: center;
        background: #FFFFFF;
        max-height: min(70vh, calc(100dvh - var(--nav-offset, 68px)));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 992px) {
    .navbar .navbar-collapse {
        position: relative;
        justify-content: flex-end;
    }

    .navbar .navbar-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
    }

    .navbar .navbar-nav .nav-link {
        padding: 1.85rem 1.15rem;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(7, 30, 54, .82), rgba(7, 30, 54, .28));
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 1.75rem;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    z-index: 5;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 28px;
    height: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.35s ease, background 0.35s ease;
}

.header-carousel .owl-dots .owl-dot span {
    display: none;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 48px;
    height: 3px;
    background: var(--primary);
}

.header-carousel .owl-dots .owl-dot img {
    display: none !important;
}

.header-carousel .owl-dots .owl-dot.active img {
    display: none !important;
}

.page-header {
    background: linear-gradient(rgba(7, 30, 54, .68), rgba(7, 30, 54, .4)), url(../img/179A7A0F-C1B3-4E86-BCAA-E3F4B7C8DAC3.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img.about-logo {
    object-fit: contain;
    background: #050505;
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(5, 5, 5, 0.25);
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(7, 30, 54, .82);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 210px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer,
.footer p,
.footer .copyright {
    color: #D5E4EF;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #D5E4EF;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-sans);
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
.h1,
h2,
.h2 {
    letter-spacing: -0.02em;
    color: var(--navy);
}

.topbar {
    background: var(--dark);
}

.topbar a,
.topbar span {
    color: #E7F4FB;
    text-decoration: none;
}

.topbar a:hover {
    color: var(--primary);
}

.brand-name {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 1.65rem;
    line-height: 1.1;
}

.brand-name span {
    color: var(--primary);
}


/*** Brand logo ***/
.navbar-brand {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    transition: transform 0.25s ease;
}

.navbar-brand:hover .brand-logo-wrap {
    transform: translateY(-1px);
}

.brand-logo {
    display: block;
    height: 64px;
    width: auto;
}

.footer-brand {
    text-decoration: none;
}

.footer-logo {
    display: block;
    height: 78px;
    width: auto;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 52px;
    }
}

.sitemap-list li {
    margin-bottom: 0.75rem;
}

.sitemap-list a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sitemap-list a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 78vh;
}

.header-carousel .owl-carousel-item > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel,
.header-carousel .owl-stage-outer {
    overflow: hidden;
    max-width: 100%;
}

.header-carousel .owl-item {
    float: left;
}

.hero-title {
    color: #FFFFFF;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
}

.page-header h1 {
    color: #FFFFFF;
}

.work-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--dark);
    color: #FFFFFF;
    text-decoration: none;
}

.work-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.work-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 48px 18px 16px;
    background: linear-gradient(transparent, rgba(7, 30, 54, 0.88));
    font-weight: 600;
    font-size: 0.95rem;
}

/*** Featured project photo — compact reference ***/
.ba-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.ba-shell {
    max-width: 220px;
    margin: 0 auto;
}

.ba-featured {
    margin: 0;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 12px 28px rgba(7, 30, 54, 0.14);
}

.ba-featured img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
}

.ba-featured figcaption {
    margin: 0;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(5, 5, 5, 0.06);
    border-top: 0;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 575.98px) {
    .ba-shell {
        max-width: 180px;
    }

    .ba-featured img {
        height: 210px;
    }
}

@media (max-width: 991.98px) {
    .ba-shell.ms-0 {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/*** Service video (portrait, compact) ***/
.service-video {
    max-width: 280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 18px 44px rgba(7, 30, 54, 0.18);
}

.service-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #050505;
    vertical-align: top;
}

@media (min-width: 992px) {
    .service-video {
        max-width: 300px;
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .service-video {
        max-width: 240px;
    }
}


.audience-card {
    background: #FFFFFF;
    border-top: 4px solid var(--primary);
    box-shadow: 0 12px 30px rgba(7, 30, 54, .06);
}

.audience-card i {
    color: var(--navy);
}

.call-band {
    background: var(--dark);
}

.call-band h1,
.call-band h2,
.call-band p {
    color: #FFFFFF;
}

a.phone,
.call-band .phone {
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.footer p a {
    color: var(--primary);
    text-decoration: none;
}

.call-fab {
    position: fixed;
    z-index: 99;
    left: 16px;
    bottom: 16px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(7, 30, 54, .35);
}

.promise-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--primary);
    font-size: 1.6rem;
}

@media (max-width: 991.98px) {
    /* FAB clearance lives inside footer so the page ends cleanly (no white bounce gap) */
    .footer {
        padding-bottom: 88px;
    }
}

.service-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero .service-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 110px 0 80px;
    background: linear-gradient(90deg, rgba(7, 30, 54, .86), rgba(7, 30, 54, .28));
}

.service-hero .hero-title {
    max-width: 18ch;
}

.service-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-check li {
    position: relative;
    padding: 0 0 1rem 2rem;
    color: #4a5d6e;
}

.service-check li:last-child {
    padding-bottom: 0;
}

.service-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--primary);
}

.process-step {
    height: 100%;
    background: #FFFFFF;
    border-left: 4px solid var(--primary);
    box-shadow: 0 12px 30px rgba(7, 30, 54, .06);
}

.process-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    background: var(--dark);
    color: var(--primary);
    font-weight: 700;
}

.service-nav-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #FFFFFF;
    border-top: 4px solid var(--primary);
    box-shadow: 0 12px 30px rgba(7, 30, 54, .06);
    transition: .3s;
    overflow: hidden;
}

.service-nav-card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.service-nav-card .service-nav-media {
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-nav-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 2400 / 1792;
    background: var(--light);
}

.service-siblings a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.service-siblings a:hover,
.service-siblings a.active {
    color: var(--primary);
}

/*** Black brand accents ***/
.footer.bg-dark {
    background: #071E36 !important;
}

.footer {
    background: #071E36;
}

.footer .copyright {
    padding: 1.35rem 0;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(232, 238, 245, 0.75);
}

.footer .copyright .creator {
    color: rgba(232, 238, 245, 0.85);
}

.footer .copyright .creator a {
    color: inherit;
    text-decoration: none;
}

.footer .copyright .creator a:hover,
.footer .copyright .creator a:hover strong {
    color: var(--primary);
}

.footer .copyright .creator strong {
    color: var(--primary);
    font-weight: 600;
}

.legal-content h2 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.legal-content h3 {
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
    color: #3a4654;
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.25rem;
}

/*** 404 error page ***/
.error-404 {
    background:
        radial-gradient(ellipse at top, rgba(30, 200, 232, 0.08), transparent 55%),
        linear-gradient(180deg, #F4F8FB 0%, #FFFFFF 100%);
}

.error-404-panel {
    max-width: 720px;
}

.error-404-code {
    font-size: clamp(4.5rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.error-404-card {
    display: block;
    height: 100%;
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    background: #FFFFFF;
    border-top: 4px solid var(--primary);
    box-shadow: 0 12px 30px rgba(7, 30, 54, .06);
    transition: .3s;
}

.error-404-card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.error-404-card h2 {
    color: var(--navy);
}

.error-404-card p {
    color: #5a6b7d;
    font-size: 0.95rem;
}

/*** Cookie banner ***/
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 100001;
    display: none;
    max-width: 920px;
    margin: 0 auto;
    background: #071E36;
    color: #E8EEF5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(5, 5, 5, 0.35);
    padding: 1.25rem 1.35rem;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner-copy {
    flex: 1 1 280px;
}

.cookie-banner-copy h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.cookie-banner-copy p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(232, 238, 245, 0.85);
}

.cookie-banner-copy a {
    color: var(--primary);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cookie-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
}

.cookie-banner .btn-outline-light:hover {
    background: #FFFFFF;
    color: #071E36;
}

.cookie-banner .btn-link {
    text-decoration: none;
    opacity: 0.9;
}

.cookie-settings {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-settings.is-open {
    display: block;
}

.cookie-settings h5 {
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    color: rgba(232, 238, 245, 0.9);
}

.cookie-option span {
    opacity: 0.65;
    font-size: 0.8rem;
}

@media (max-width: 575.98px) {
    .cookie-banner {
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.65rem;
        padding: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions .btn {
        flex: 1 1 auto;
    }
}

.page-header {
    background: linear-gradient(rgba(5, 5, 5, .72), rgba(11, 79, 138, .45)), url(../img/179A7A0F-C1B3-4E86-BCAA-E3F4B7C8DAC3.jpeg) center center no-repeat;
    background-size: cover;
}

.section-title {
    color: var(--navy);
}

h1, .h1, h2, .h2 {
    color: var(--black);
}

/*** Zoomable images ***/
img.is-zoomable {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

img.is-zoomable:hover {
    transform: scale(1.01);
}

/*** Pinned photo lightbox ***/
body.photo-pin-open {
    overflow: hidden;
}

.photo-pin-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.photo-pin-overlay.is-open {
    display: flex;
}

.photo-pin-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(4px);
}

.photo-pin-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(86vw, 920px);
    background: #FFFFFF;
    border: 1px solid rgba(5, 5, 5, 0.12);
    box-shadow: 0 28px 80px rgba(5, 5, 5, 0.45);
    padding: 1rem 1rem 0.85rem;
    cursor: grab;
    touch-action: none;
    user-select: none;
    z-index: 2;
}

.photo-pin-card.is-dragging {
    cursor: grabbing;
}

.photo-pin-tack {
    width: 18px;
    height: 18px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #1EC8E8, #0B4F8A 55%, #050505 100%);
    box-shadow: 0 4px 10px rgba(5, 5, 5, 0.35);
}

.photo-pin-card img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #0a0a0a;
    pointer-events: none;
}

.photo-pin-caption {
    margin: 0.85rem 0 0.25rem;
    color: var(--black);
    font-weight: 600;
    text-align: center;
}

.photo-pin-hint {
    margin: 0 0 0.35rem;
    color: #6b7280;
    font-size: 0.82rem;
    text-align: center;
}

.photo-pin-close,
.photo-pin-nav {
    position: absolute;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--black);
    box-shadow: 0 10px 28px rgba(5, 5, 5, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.photo-pin-close:hover,
.photo-pin-nav:hover {
    background: var(--black);
    color: #FFFFFF;
}

.photo-pin-close {
    top: 1.25rem;
    right: 1.25rem;
}

.photo-pin-prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.photo-pin-next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .photo-pin-card {
        width: min(94vw, 920px);
        padding: 0.75rem;
    }

    .photo-pin-nav {
        width: 40px;
        height: 40px;
    }

    .photo-pin-prev { left: 0.5rem; }
    .photo-pin-next { right: 0.5rem; }
}

/*** Contact form ***/
.contact-panel {
    background: #FFFFFF;
    border: 1px solid rgba(5, 5, 5, 0.08);
    box-shadow: 0 18px 50px rgba(5, 5, 5, 0.06);
    padding: 2.5rem;
}

.contact-aside {
    background: var(--black);
    color: #E8EEF5;
    padding: 2.5rem;
    height: 100%;
}

.contact-aside h3,
.contact-aside h4 {
    color: #FFFFFF;
}

.contact-aside a {
    color: var(--primary);
    text-decoration: none;
}

.contact-aside a:hover {
    color: #FFFFFF;
}

.contact-meta-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-meta-item i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.contact-form .form-label {
    color: var(--black);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 0;
    border-color: rgba(5, 5, 5, 0.15);
    padding: 0.85rem 1rem;
    color: var(--black);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 0.2rem rgba(11, 79, 138, 0.15);
}

.contact-form-success {
    display: none;
    background: rgba(30, 200, 232, 0.12);
    border-left: 4px solid var(--primary);
    color: var(--black);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-form-success.is-visible {
    display: block;
}

.contact-form-error {
    display: none;
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: var(--black);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-form-error.is-visible {
    display: block;
}

.contact-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/*** Global scroll lock & layout foundation ***/
html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    box-sizing: border-box;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    /* Reserve space for fixed navbar */
    padding-top: var(--nav-offset, 76px);
    min-height: 100%;
    position: relative;
}

img,
video,
iframe,
svg,
table {
    max-width: 100%;
    height: auto;
}

.container,
.container-fluid,
.container-xxl,
.row,
.owl-carousel,
.wow {
    max-width: 100%;
}

.container,
.container-xxl {
    width: 100%;
}

.container-fluid {
    overflow-x: clip;
}

.display-1,
.display-4,
.display-5,
.display-6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.owl-carousel-inner .btn {
    white-space: normal;
}

/* Clean page end — footer is the last visual boundary */
.footer {
    margin-bottom: 0;
    margin-top: 0;
}

.footer .copyright {
    margin-bottom: 0;
}

.footer .container-fluid.copyright {
    padding-bottom: 0;
}

/*** Large tablet / small laptop nav ***/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 1.5rem 0.55rem;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    .brand-logo {
        height: 54px;
    }

    .navbar .btn.btn-primary {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        font-size: 0.85rem;
    }
}

/*** Tablet ***/
@media (max-width: 991.98px) {
    :root {
        --nav-offset: 68px;
    }

    .navbar {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .navbar-brand {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .navbar .navbar-nav {
        position: static;
        transform: none;
        left: auto;
        width: 100%;
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .navbar .navbar-nav .nav-link {
        width: 100%;
        letter-spacing: 0.06em;
        font-size: 0.9rem;
    }

    .header-carousel .owl-carousel-item {
        min-height: 68vh;
    }

    .hero-title {
        font-size: clamp(1.85rem, 5.5vw, 3rem);
    }

    .owl-carousel-inner {
        background: linear-gradient(180deg, rgba(7, 30, 54, .78) 10%, rgba(7, 30, 54, .55) 100%);
        align-items: flex-end;
        padding-bottom: 4.5rem;
    }

    .owl-carousel-inner .container {
        padding-bottom: 0.5rem;
    }

    .page-header {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .page-header .display-4 {
        font-size: clamp(1.9rem, 6vw, 2.75rem);
    }

    .section-title {
        letter-spacing: 0.2em;
        font-size: 0.85rem;
    }

    .display-5 {
        font-size: clamp(1.7rem, 4.5vw, 2.4rem) !important;
    }

    .service-hero {
        min-height: 48vh;
    }

    .service-hero .service-hero-inner {
        padding: 90px 0 60px;
    }

    .service-hero .hero-title {
        max-width: none;
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .work-card img {
        height: 260px;
    }

    .contact-panel,
    .contact-aside {
        padding: 1.75rem;
    }

    .footer .copyright .creator {
        margin-top: 0.25rem;
    }

    .back-to-top {
        right: 16px;
        bottom: 88px;
    }

    .cookie-banner {
        bottom: 5.5rem;
    }

    /* Stack overlapping image compositions — prevents horizontal overflow on tablet/mobile */
    .about-img,
    .feature-img {
        min-height: 0;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
        overflow: hidden;
    }

    .about-img::before,
    .feature-img::before {
        display: none;
    }

    .about-img img,
    .feature-img img {
        position: relative !important;
        width: 100% !important;
        height: 260px !important;
        margin: 0 !important;
        object-fit: cover;
    }

    .about-img img.about-logo {
        height: 220px !important;
        object-fit: contain !important;
        padding: 1.25rem;
    }
}

/*** Mobile ***/
@media (max-width: 767.98px) {
    :root {
        --nav-offset: 64px;
    }

    .brand-logo {
        height: 44px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 560px;
    }

    .owl-carousel-inner {
        padding: 0 0 4rem;
        align-items: flex-end;
    }

    .owl-carousel-inner .col-11 {
        width: 100%;
        max-width: 100%;
        padding-right: 0.25rem;
    }

    .hero-title {
        font-size: clamp(1.7rem, 8vw, 2.25rem);
        margin-bottom: 0.85rem !important;
    }

    .owl-carousel-inner .fs-5 {
        font-size: 0.98rem !important;
        margin-bottom: 1.1rem !important;
        padding-bottom: 0 !important;
    }

    .owl-carousel-inner .btn {
        display: inline-block;
        width: auto;
        max-width: 100%;
        margin-bottom: 0.5rem !important;
        padding: 0.8rem 1.25rem !important;
        font-size: 0.92rem;
    }

    .header-carousel .owl-dots {
        bottom: 1.1rem;
    }

    .fact-item {
        padding: 2rem 1.25rem !important;
    }

    .fact-item .fact-icon {
        width: 88px;
        height: 88px;
    }

    .service-item {
        min-height: 320px;
    }

    .service-text {
        padding: 2rem 1.25rem !important;
    }

    .work-card img {
        height: 220px;
    }

    .work-card figcaption {
        padding: 36px 14px 12px;
        font-size: 0.92rem;
    }

    .call-band .phone,
    a.phone {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        word-break: break-word;
    }

    .call-band .display-6 {
        font-size: clamp(1.45rem, 6vw, 1.9rem) !important;
    }

    .contact-panel,
    .contact-aside {
        padding: 1.35rem;
    }

    .contact-panel .btn,
    .contact-panel .btn + .btn {
        width: 100%;
        text-align: center;
    }

    .process-step,
    .audience-card,
    .service-nav-card {
        margin-bottom: 0;
    }

    .service-siblings {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 0.5rem;
        line-height: 1.6;
    }

    .service-siblings .text-muted {
        display: none;
    }

    .footer {
        text-align: left;
    }

    .footer .btn.btn-link {
        text-align: left;
    }

    .footer-logo {
        height: 64px;
    }

    .cookie-banner {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 5.25rem;
        padding: 0.95rem;
    }

    .cookie-banner-actions .btn {
        flex: 1 1 100%;
    }

    .photo-pin-hint {
        display: none;
    }

    .legal-content {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/*** Small phones ***/
@media (max-width: 575.98px) {
    .navbar-brand.ms-4 {
        margin-left: 0.75rem !important;
    }

    .navbar-toggler.me-4 {
        margin-right: 0.75rem !important;
    }

    .header-carousel .owl-carousel-item {
        min-height: 520px;
    }

    .container-xxl.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .display-1 {
        font-size: 3rem !important;
    }

    .border.border-5.border-primary[style*="120px"] {
        width: 96px !important;
        height: 96px !important;
    }
}

/*** Landscape phones ***/
@media (max-height: 480px) and (orientation: landscape) {
    .header-carousel .owl-carousel-item {
        min-height: 100vh;
    }

    .owl-carousel-inner {
        align-items: center;
        padding-bottom: 2.5rem;
    }

    .call-fab {
        bottom: 10px;
        left: 10px;
        padding: 0.55rem 0.9rem !important;
        font-size: 0.85rem;
    }
}

/*** Prefer reduced motion ***/
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}