/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

/* Keep full-width page bands flush with the viewport. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container-xxl {
    width: 100%;
    max-width: 100%;
}

.container-fluid {
    width: 100%;
    max-width: 100%;
}

.site-header {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.site-header-top {
    width: 100%;
    margin: 0;
}

.site-header-top-content {
    padding-left: calc(25% + 3rem);
    padding-right: 3rem;
}

.pesapal-payment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(245, 130, 32, 0.55);
    border-radius: 999px;
    background: #fff8f2;
    color: #b95708;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pesapal-payment-link:hover,
.pesapal-payment-link:focus {
    border-color: #f58220;
    background: #f58220;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.pesapal-payment-link img {
    flex: 0 0 auto;
}

.pesapal-payment-link-footer {
    margin-top: 0.5rem;
}

.mobile-brand-logo {
    display: block;
    width: 150px;
    max-width: 150px;
    height: 58px;
    object-fit: contain;
}

.taxi-transfer-image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.home-page > section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.home-page > section + section {
    margin-top: 1rem;
}

.home-page .booking {
    position: relative;
    z-index: 5;
    margin-top: -5.5rem;
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
}

.home-page .quick-transfer-card {
    border-radius: 0.25rem;
}

.home-page .transfer-form-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.home-page .transfer-form-grid .input-group {
    min-height: 48px;
}

.home-page .transfer-form-grid .input-group .form-control,
.home-page .transfer-form-grid .input-group .form-select {
    height: 48px;
}

.home-page .transfer-form-grid .input-group .form-select {
    background-color: #fff;
    color: #666565;
}

.site-page-content {
    padding-bottom: 5rem;
}

@media (max-width: 1199.98px) {
    .home-page .transfer-form-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .site-page-content {
        padding-bottom: 3rem;
    }

    .home-page .booking {
        margin-top: -2rem;
    }

    .home-page .transfer-form-grid {
        grid-template-columns: 1fr;
    }
}

.home-page .section-title {
    margin-bottom: 1rem;
}

.home-final-cta {
    background: url('../img/video.jpg') center / cover no-repeat;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home-page > section.home-final-cta {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home-final-cta-overlay {
    width: 100%;
    min-height: 390px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(15, 23, 43, .94), rgba(15, 23, 43, .68));
}

.home-cta-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-cta-title {
    max-width: 760px;
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

.home-cta-copy {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
}

.home-cta-actions {
    display: flex;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .home-page > section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .home-page > section + section {
        margin-top: 0;
    }

    .home-final-cta-overlay {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .taxi-transfer-image {
        height: 170px;
    }
}

.desktop-brand-logo {
    display: block;
    width: min(200px, 90%);
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    .site-header-top-content {
        padding-left: calc(25% + 1.5rem);
        padding-right: 1.5rem;
    }
}

img,
svg,
video {
    max-width: 100%;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    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: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    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;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

#header-carousel .carousel-caption {
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.home-slide-image {
    display: block;
    height: 620px;
    object-fit: cover;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.detail-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.detail-hero-overlay {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(180deg, rgba(15, 23, 43, .12) 20%, rgba(15, 23, 43, .88) 100%);
}

.min-vh-50 {
    min-height: 500px;
}

.detail-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .7);
}

.detail-hero h1 {
    max-width: 900px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

@media (max-width: 768px) {
    .detail-hero,
    .detail-hero-overlay,
    .min-vh-50 {
        min-height: 430px;
    }

    .detail-hero h1 {
        font-size: 2.25rem;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .booking {
        margin-top: 0 !important;
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    .home-slide-image {
        height: 520px;
    }

    .carousel-caption h1 {
        font-size: 2.25rem;
    }

    .carousel-caption p {
        font-size: 1rem !important;
    }

    .carousel-caption .btn {
        display: block;
        width: 100%;
        margin: .5rem 0 !important;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.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: var(--primary);
    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: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    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;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.transfer-details-page {
    padding-bottom: 8rem !important;
}