/********** TZ Plumbers - Custom Stylesheet **********/
:root {
    --primary: #03356C;
    --primary-2: #033B7D;
    --secondary: #C9A84C;
    --oxford: #022C63;
    --prussian: #061B3B;
    --prussian-2: #022556;
    --light: #EDF2F8;
    --dark: #061B3B;
    --white: #FFFFFF;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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: 600;
    transition: .5s;
}

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

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

.btn.btn-secondary {
    color: var(--dark);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
    background-color: #b8963d;
    border-color: #b8963d;
    color: #FFFFFF;
}

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

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

.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;
}


/*** Top Bar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
    background-color: var(--prussian) !important;
}

.top-bar .navbar-brand h1,
.top-bar a.navbar-brand h1 {
    color: #FFFFFF !important;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.top-bar p,
.top-bar .text-dark {
    color: rgba(255,255,255,0.85) !important;
}

.top-bar .btn-sm-square {
    background-color: rgba(255,255,255,0.15) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.25);
}

.top-bar .btn-sm-square:hover {
    background-color: var(--secondary) !important;
    color: var(--dark) !important;
}

.top-bar i.text-primary {
    color: var(--secondary) !important;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
    background-color: var(--white) !important;
    box-shadow: 0 2px 20px rgba(3, 27, 59, 0.12);
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    background-color: var(--white) !important;
}

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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    letter-spacing: 0.5px;
}

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

.navbar-light .navbar-nav .nav-link.active {
    border-bottom: 2px solid var(--primary);
}

.navbar .dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(3, 27, 59, 0.15);
}

.navbar .dropdown-item {
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* Emergency call button in navbar */
.nav-emergency {
    background-color: var(--primary);
}

.nav-emergency .phone-icon-box {
    background-color: #FFFFFF;
}

.nav-emergency .phone-icon-box i {
    color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    /* Logo flush left, hamburger flush right on mobile */
    .navbar {
        flex-wrap: nowrap !important;
        align-items: center;
    }

    .navbar .navbar-brand {
        flex: 1 1 auto;
        margin-right: 0 !important;
    }

    .navbar .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }

    /* Mobile menu open state: show clean nav list with X close button */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: #FFFFFF;
        padding: 0 1rem 1rem 1rem;
    }

    /* Toggler icon */
    .navbar-toggler .nav-toggle-icon {
        font-size: 1.2rem;
        color: var(--primary);
        line-height: 1;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        border-top: 3px solid var(--primary);
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 5px solid var(--secondary);
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--secondary);
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -5px;
}

@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 h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

/* Carousel overlay */
.carousel-overlay {
    background: linear-gradient(135deg, rgba(6, 27, 59, 0.85) 0%, rgba(3, 53, 108, 0.65) 100%);
}

.page-header {
    background: linear-gradient(rgba(6, 27, 59, 0.75), rgba(3, 53, 108, 0.75)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

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

.breadcrumb-item a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary);
}


/*** Section Header ***/
h6.section-label {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0 auto 1.5rem auto;
}

.section-divider-left {
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0 0 1.5rem 0;
}

/* Accent text color */
.text-accent {
    color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}


/*** Trust Bar / Credentials Banner ***/
.trust-bar {
    background-color: var(--prussian);
    border-top: 3px solid var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-bar .trust-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
}

.trust-bar .trust-item i {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.trust-bar .trust-item span {
    line-height: 1.3;
}

.trust-bar .trust-item strong {
    display: block;
    font-size: 15px;
    color: #FFFFFF;
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(6, 27, 59, 0.92), rgba(3, 53, 108, 0.92)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.fact h2.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
}

.fact p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fact i {
    color: var(--secondary) !important;
}


/*** Service ***/
.service-item-top {
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(3, 27, 59, 0.1);
    transition: box-shadow .3s;
}

.service-item-top:hover {
    box-shadow: 0 8px 30px rgba(3, 27, 59, 0.2);
}

.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.08);
}

.service-item-top .service-label {
    background-color: var(--primary);
}

.service-item-top .service-label h5 {
    color: #FFFFFF;
}

.service-item-top .service-label a.btn-square {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
}

.service-item-top .service-label a.btn-square:hover {
    background-color: #FFFFFF;
    color: var(--primary);
}

/* Service cards in carousel */
.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: space-around;          /* modify service card size and layout*/
    background-color: var(--light);
    border-bottom: 3px solid transparent;
    transition: border-color .3s, box-shadow .3s;
    height: 450px;
}

.service-card:hover {
    border-bottom-color: var(--secondary);
    box-shadow: 0 8px 30px rgba(3, 27, 59, 0.12);
}

.service-card .icon-box {
    background-color: var(--primary);
    color: #FFFFFF;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color .3s;
}

.service-card:hover .icon-box {
    background-color: var(--secondary);
    color: var(--dark);
}

.service-card h4 {
    color: var(--dark);
}

.service-card .check-list p {
    color: var(--primary);
    font-weight: 600;
}

.service-card .read-more-btn {
    background-color: #FFFFFF;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.service-card .read-more-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* Experience sidebar */
.experience-sidebar {
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-sidebar h1 {
    color: #FFFFFF;
    transform: rotate(-90deg);
    white-space: nowrap;
    letter-spacing: 2px;
    font-size: 2rem;
}


/*** About ***/
.about-img-stack {
    position: relative;
    min-height: 500px;
}

.about-img-stack .img-main {
    position: absolute;
    width: calc(100% - 100px);
    height: calc(100% - 50px);
    right: 0;
    top: 0;
    object-fit: cover;
}

.about-img-stack .img-accent {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 0;
    bottom: 0;
    object-fit: cover;
    border: 6px solid #FFFFFF;
    box-shadow: 0 8px 30px rgba(3, 27, 59, 0.2);
}

.about-callout {
    background-color: var(--primary);
}

.about-callout i {
    color: var(--primary) !important;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.why-us-item .why-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
    font-size: 1rem;
}

.why-us-item p {
    margin: 0;
    font-size: 15px;
    color: var(--dark);
}

.why-us-item strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 2px;
}


/*** Credentials / Memberships ***/
.credentials-bar {
    background-color: var(--prussian-2);
    padding: 2rem 0;
}

.credentials-bar .cred-badge {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
}

.credentials-bar .cred-badge i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 14px;
}

.credentials-bar .cred-badge strong {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
}


/*** Booking / CTA Banner ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(6, 27, 59, 0.78), rgba(3, 53, 108, 0.78)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

.booking-form-wrapper {
    background-color: #FFFFFF;
    box-shadow: 0 10px 50px rgba(3, 27, 59, 0.18);
}

.booking-form-wrapper h2 {
    color: var(--dark);
}

.booking-form-wrapper .form-control,
.booking-form-wrapper .form-select {
    background-color: var(--light);
    border: 1px solid transparent;
    transition: border-color .3s;
}

.booking-form-wrapper .form-control:focus,
.booking-form-wrapper .form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
    background-color: #fff;
}

.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);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.08);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
    background-color: var(--primary) !important;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

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

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


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}


/*** Contact ***/
.contact-info-card {
    background-color: var(--primary);
    color: #FFFFFF;
    border-radius: 2px;
}

.contact-info-card i {
    color: var(--secondary);
    font-size: 2rem;
}

.contact-info-card h5 {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--secondary);
}

.contact-form-wrapper {
    background-color: var(--light);
}

.contact-form-wrapper .form-control {
    background-color: #FFFFFF;
    border: 1px solid transparent;
    transition: border-color .3s;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}


/*** Footer ***/
.footer {
    background-color: var(--prussian) !important;
}

.footer .footer-brand h4 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer .footer-brand .tagline {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer h4.text-light {
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary);
    margin-bottom: 1.25rem !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    text-decoration: none;
    transition: .3s;
}

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

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

.footer p.mb-2 {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
}

.footer .copyright a {
    color: var(--secondary);
    text-decoration: none;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .memberships {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer .membership-badge {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/*** 404 ***/
.not-found-icon {
    color: var(--primary);
    font-size: 5rem;
}

.not-found-number {
    color: var(--primary);
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
}


/*** Utilities ***/
.bg-navy {
    background-color: var(--primary) !important;
}

.bg-prussian {
    background-color: var(--prussian) !important;
}

.border-accent {
    border-color: var(--secondary) !important;
}

.emergency-strip {
    background-color: var(--secondary);
    padding: 0.6rem 0;
}

.emergency-strip p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emergency-strip i {
    color: var(--dark);
}

.tagline-strip {
    background-color: var(--oxford);
    padding: 0.5rem 0;
    text-align: center;
}

.tagline-strip p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline-strip span {
    color: var(--secondary);
}


/*** Mobile Nav Drawer ***/

/* The always-visible mobile bar (logo + hamburger) */
.mobile-nav-bar {
    box-shadow: 0 2px 10px rgba(3, 27, 59, 0.08);
}

/* Full-screen overlay that darkens the page */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 59, 0.55);
    z-index: 10000;
}

.mobile-nav-overlay.active {
    display: block;
}

/* The drawer panel – slides down from top */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    z-index: 10001;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 8px 30px rgba(3, 27, 59, 0.18);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
}

.mobile-nav-drawer.open {
    transform: translateY(0);
}

/* X close button – top right of drawer */
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav-close:hover {
    color: var(--secondary);
}

/* Nav links inside drawer */
.mobile-nav-drawer nav {
    display: flex;
    flex-direction: column;
    margin-top: 3rem; /* space for the X button */
    border-top: 2px solid var(--secondary);
    padding-top: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mobile-nav-link.active {
    color: var(--secondary);
}

/* Emergency call button at bottom of drawer */
.mobile-nav-cta {
    display: block;
    margin-top: 1.5rem;
    padding: 0.85rem 1.5rem;
    background-color: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.mobile-nav-cta:hover {
    background-color: var(--secondary);
    color: var(--dark);
}


/*** WhatsApp Floating Widget ***/
.wa-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Floating action button */
.wa-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

.wa-fab-icon {
    font-size: 1.85rem;
    color: #FFFFFF;
    line-height: 1;
}

/* Pulse ring */
.wa-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.35);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Chat bubble popup */
.wa-bubble {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    width: 300px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
    animation: wa-pop-in 0.25s ease;
}

.wa-bubble.open {
    display: flex;
}

@keyframes wa-pop-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Header */
.wa-header {
    background-color: #25D366;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.wa-header-text {
    flex: 1;
}

.wa-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.wa-status {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}

.wa-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.wa-close:hover {
    color: #FFFFFF;
}

/* Body */
.wa-body {
    padding: 16px 16px 8px;
    background-color: #f0f4f8;
}

.wa-body p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.55;
    background: #FFFFFF;
    border-radius: 8px 8px 8px 0;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* CTA button */
.wa-cta {
    display: block;
    padding: 14px 16px;
    background-color: #25D366;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.wa-cta:hover {
    background-color: #1ebe5a;
    color: #FFFFFF;
}

@media (max-width: 480px) {
    .wa-widget {
        bottom: 18px;
        right: 16px;
    }

    .wa-bubble {
        width: calc(100vw - 32px);
        max-width: 300px;
    }
}


/*** Social icon spacing — use gap on the container, no margin on individual icons ***/
.btn-sm-square + .btn-sm-square {
    margin-left: 0 !important;
}

.btn-social + .btn-social {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure gap-1 and gap-2 work correctly on flex containers holding social icons */
.d-inline-flex.gap-1 { gap: 5px !important; }
.d-flex.gap-2 { gap: 6px !important; }
