/********** Template CSS **********/
:root {
    --primary: #1386cb;
    --primary-hover: #1f87b9;
    --secondary-hover: #1387c4;
    --sky: #69c3e7;
    --ice: #9ce9fd;
    --aqua: #8ddffb;
    --bs-primary: var(--primary);
    --bs-secondary: var(--secondary);
    --secondary: #47a7d0;
    --light: #F5F5F5;
    --dark: #14141F;
}

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

.fw-semi-bold {
    font-weight: 700 !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-family: 'Nunito', sans-serif;
    font-weight: 600;
    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: 0px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(90deg, rgba(7, 37, 62, .65), rgba(7, 37, 62, .15)), url(../img/airplane-hero.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

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

.service-item:hover * {
    color: var(--light) !important;
}


/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    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, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Blue palette: override Bootstrap's compiled template colors ***/
a, .btn-link { color: var(--primary); }
a:hover, .btn-link:hover { color: var(--primary-hover); }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-secondary { border-color: var(--secondary) !important; }

.btn-primary, .btn-primary:disabled, .btn-primary.disabled {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary.active, .btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary, .btn-check:focus + .btn-primary,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-secondary, .btn-secondary:disabled, .btn-secondary.disabled {
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}
.btn-primary:focus, .btn-primary:active:focus,
.btn-secondary:focus, .btn-secondary:active:focus,
.btn-check:focus + .btn-primary {
    box-shadow: 0 0 0 .25rem rgba(105, 195, 231, .5);
}
.form-control:focus, .form-select:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 .25rem rgba(105, 195, 231, .25);
}
::selection { background: var(--ice); color: var(--dark); }
.section-title::after { background: var(--aqua); }
.service-item { box-shadow: 0 0 45px rgba(19, 134, 203, .1); }
.service-item:hover { background: var(--secondary-hover); }
.footer .btn.btn-social:hover {
    background-color: var(--ice);
    border-color: var(--ice);
    color: var(--dark);
}
.hero-header .breadcrumb-item a { color: var(--ice); }
.hero-header .breadcrumb-item a:hover { color: var(--aqua); }
@media (min-width: 992px) {
    .navbar-light:not(.sticky-top) .navbar-brand .text-primary,
    .navbar-light:not(.sticky-top) .navbar-nav .nav-link:hover,
    .navbar-light:not(.sticky-top) .navbar-nav .nav-link.active {
        color: var(--ice) !important;
    }
    .navbar-light:not(.sticky-top) .navbar-nav .nav-link::before {
        background: var(--aqua);
    }
}


/*** Tripzza Holidays logo (frame excludes the supplied image's empty margins) ***/
.navbar-light .navbar-brand .brand-logo {
    display: block;
    position: relative;
    width: 200px;
    height: 76px;
    overflow: hidden;
    background: transparent;
}
.navbar-light .navbar-brand .brand-logo img {
    position: absolute;
    width: 280px;
    height: auto;
    max-width: none;
    max-height: none;
    left: -40px;
    top: -38px;
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-brand .brand-logo { width: 168px; height: 64px; }
    .navbar-light .navbar-brand .brand-logo img {
        width: 235px;
        left: -34px;
        top: -32px;
    }
}

/* Recolor only the HOLIDAYS line, preserving the transparent logo asset. */
.navbar-light .navbar-brand .brand-logo .brand-logo-holidays {
    filter: brightness(0) invert(1);
    clip-path: inset(68% 0 0 0);
    pointer-events: none;
}

/* Keep the airplane visible beside the homepage introduction. */
.home-hero .hero-copy { text-align: left !important; }
@media (min-width: 992px) {
    .home-hero .hero-copy { margin-right: auto; margin-left: 0; width: 57%; }
    .home-hero .hero-copy h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
}
@media (max-width: 991.98px) {
    .home-hero { background-position: 65% center; }
    .home-hero .hero-copy { text-shadow: 0 2px 12px rgba(7, 37, 62, .6); }
}

/* Company information and enquiry links. */
.tripzza-social { display: flex; gap: 1rem; font-size: 1.4rem; }
.footer a { color: var(--ice); }
.service-item { color: #586974; text-decoration: none; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover, .btn-outline-primary:active { color: white; background: var(--primary); border-color: var(--primary); }
.sticky-top.navbar-light .navbar-brand .brand-logo .brand-logo-holidays { filter: none; }
@media (max-width: 991.98px) {
    .navbar-light .navbar-brand .brand-logo .brand-logo-holidays { filter: none; }
}

.destination-card { background: linear-gradient(145deg, #fff, #eaf8fe); border: 1px solid var(--aqua); border-radius: 16px; }

/* Shared contact experience */
.contact-section { padding: 76px 0 84px; background: #f3f9fc; scroll-margin-top: 105px; }
.contact-heading { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.contact-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #1378b0; margin-bottom: 14px; }
.contact-heading h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.035em; color: #183c50; margin-bottom: 16px; }
.contact-heading p { color: #586f7d; font-size: 16px; line-height: 1.7; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; max-width: 1120px; margin: auto; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 60px rgba(20, 86, 120, .09); background: white; }
.contact-panel { padding: 40px 34px; background: linear-gradient(145deg, #126b9d, #1386cb); color: white; }
.contact-panel .contact-eyebrow { color: #bfefff; font-size: 10px; }
.contact-panel h3 { color: white; font-size: 30px; margin-bottom: 12px; }
.contact-intro { color: #e0f3fc; font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 15px; margin: 25px 0; }
.contact-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid #ffffff38; border-radius: 12px; background: #ffffff12; }
.contact-detail h4 { color: #c8efff; font-family: 'Heebo', sans-serif; font-size: 12px; font-weight: 500; margin: 0 0 7px; }
.contact-panel a { color: white; }
.contact-panel a:hover { color: #bfefff; text-decoration: underline; }
.contact-primary-phone { font-size: 21px; font-weight: 600; }
.contact-detail p { font-size: 14px; line-height: 1.7; margin-bottom: 5px; }
.contact-detail details { font-size: 13px; margin-top: 8px; line-height: 1.9; }
.contact-detail summary { cursor: pointer; color: #def5ff; }
.contact-landmark { font-size: 12px; color: #d0effc; }
.contact-directions { display: block; font-size: 13px; margin-top: 12px; font-weight: 600; }
.contact-panel-bottom { border-top: 1px solid #ffffff30; padding-top: 22px; margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.contact-panel-bottom p { font-size: 12px; line-height: 1.8; margin: 0; }
.contact-panel-bottom p span { padding-left: 23px; color: #d0effc; }
.contact-social { display: flex; gap: 10px; }
.contact-social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff50; border-radius: 50%; }
.contact-form-card { padding: 40px; min-width: 0; }
.contact-form-kicker { color: #157ead; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.contact-form-card h3 { font-size: 28px; color: #183c50; margin: 13px 0 10px; letter-spacing: -.025em; }
.contact-form-intro { font-size: 14px; color: #607683; line-height: 1.7; margin-bottom: 26px; }
.trip-enquiry .form-label { color: #365365; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.trip-enquiry .form-control { background: #f8fbfd; border: 1px solid #dbe7ee; border-radius: 9px; min-height: 48px; font-size: 14px; padding: 12px 14px; color: #183c50; }
.trip-enquiry .form-control::placeholder { color: #788c98; }
.trip-enquiry .form-control:focus { background: white; }
.trip-enquiry textarea.form-control { min-height: 116px; resize: vertical; }
.trip-enquiry .enquiry-submit { width: 100%; border-radius: 10px; padding: 14px 20px; font-size: 14px; margin-top: 5px; }
.trip-enquiry .small { color: #647a87; font-size: 11px; line-height: 1.6; text-align: center; margin: 12px 0 0 !important; }
.contact-section + .footer { margin-top: 0 !important; }
@media (max-width: 991.98px) {
    .contact-layout { grid-template-columns: 1fr; max-width: 680px; }
    .contact-panel, .contact-form-card { padding: 32px; }
}
@media (max-width: 575.98px) {
    .contact-section { padding: 48px 0; }
    .contact-heading { padding: 0 10px; margin-bottom: 28px; }
    .contact-layout { border-radius: 18px; }
    .contact-panel, .contact-form-card { padding: 28px 22px; }
    .contact-primary-phone { font-size: 19px; }
}
