@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:wght@500&display=swap');
*{
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

html{
    overflow-y: scroll;
}

body.modal-open {
    padding-right: 0px !important; 
}


.navbar {
    transition: top 0.3s;
}
  
.navbar-hidden {
    top: -100px !important; /* Adjust this value based on your navbar height */
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: top 0.3s ease-in-out; /* Smooth transition */
}

.custom-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1000;
    margin-top: 10px; /* Adjust to control dropdown position */
}

.custom-dropdown{
    margin-top: -5px;
    border-radius: 3px;
}
.custom-dropdown ul {
    list-style: none;
    padding: 0px;
}

.custom-dropdown ul li {
    padding: 10px 40px 10px 0px;
}

.custom-dropdown ul li a {
    text-decoration: none;
    color: var(--brand-ink);
    display: block;
}

.submenu{
    width: 200%;
    border-radius: 3px;
}

.custom-dropdown ul li a:hover {
    color: var(--brand-primary);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
}

.dropdown-submenu:hover .submenu {
    display: block;
}

.navbar-nav .nav-item.dropdown-custom:hover .custom-dropdown {
    display: block;
}

/* Ensure the dropdowns don't affect the navbar layout */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav{
    font-size: 13px;
}
.nav-item input{
    font-size: 13px; 
    border-radius: 20px;
}
.navbtn{
    font-size: 13px !important; 
    border-radius: 20px !important; 
    margin-left: -35px !important; 
    color: white !important;
}

.modal-dialog{
    max-width: 25% !important;
}
.modal-header{
    border-bottom: none !important;
}
.form-group input{
    font-size: 13px;
}
.form-group textarea{
    font-size: 13px;
}
.form-check-label{
    font-size: 13px;
}
.form-control:focus {
    border-color: var(--brand-line) !important;
    box-shadow: none !important;
}
.form-check-input:focus{
    border-color: var(--brand-line) !important;
    box-shadow: none !important;
}
.btn-close:focus{
    border: none;
    box-shadow: none !important;
}
.modal-btn{
    background-color: var(--brand-primary-deep) !important;
}



.quick-enquiry-btn{
    position: fixed;
    top: 50%;
    right: 0px;
    font-size: 18px !important;
    padding: 10px 15px 10px 15px !important;
    transform: rotate(270deg);
    transform-origin: bottom right;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 5px 0 0 5px;
}

.quick-enquiry-btn{
    background-color: var(--brand-accent) !important;
    color: var(--brand-on-primary) !important;
    border-color: var(--brand-accent);
}
.quick-enquiry-btn:hover{
    background-color: var(--brand-accent-hover) !important;
    border-color: var(--brand-accent-hover);
}

.destination-search{
    font-size: 13px !important; 
    border-radius: 20px !important;
}
.btn-warning{
    font-size: 13px !important; 
    border-radius: 20px !important; 
    margin-left: -35px !important; 
    color: white !important;
}
.home-header{
    position: relative;
    overflow: hidden;
}
/* Sizing lives in brand.css, where the home band is set to the banner
   artwork's own ratio so the lock-up is never cropped. Centred framing, since
   the wordmark and tagline sit dead centre of the artwork. */
.home-header picture img{
    object-position: center center;
}
.grundge1{
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
}
.popular-destinations img:hover{
    cursor: pointer;
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.4);
    transition: all 0.3s ease-in;
    scale: 1.01;
    animation: destinations 0.8s infinite alternate ease-in;
}
@keyframes destinations {
    from{
        transform: translateY(0px);
    }
    to{
        transform: translateY(-6px);
    }
}
.popular-destinations-text{
    color: var(--brand-primary);
    font-variant: small-caps;
    font-weight: 900;
    text-align: center;
}
.duration{
    width: 42%;
}
.duration-line{
    font-size: 13px;
}
.duration-line::after{
    content: "";
    width: 50%;
    height: 1px;
    position: absolute;
    top: 314px;
    left: 176px;
    background-color: var(--brand-primary);
}
.trip-facts{
    display: flex;
    flex-direction: row;
}
.facilities-icon{
    display: block;
    border-radius: 50%;
    padding: 6px;
    border: 2px solid var(--brand-primary);
}
.facilities-icon svg{
    background-color: transparent; 
    color: var(--brand-primary);
    height: 35px;
    width: 35px;
}
.facilities-text{
    font-size: 10px;
    display: flex;
    margin-top: 10px;
    justify-content: center;
}
.card-img-top{
    height: 250px;
}
.flight-plan-icon{
    height: 80px;
}
.flight-plan-text{
    font-size: 12px;
    margin: 5px;
}
.cost{
    background-color: var(--brand-primary);
}
.tour-cost h6{
    color: white; 
    font-size: 13px;
}
.tour-cost h6 span{
    font-size: 20px;
    color: var(--brand-gold);
}
.tour-card-button a{
    text-decoration: none; 
    color: var(--brand-primary); 
    border-radius: 20px;
}
.tour-card-button:hover a{
    color: white;
    border-color: var(--brand-primary);
    transition: all 0.4s ease;
}
.tour-card-button{
    border-radius: 20px;
    background-color: white;
    color: var(--brand-primary);
    font-size: 13px;
}
.tour-card-button:hover{
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transition: all 0.4s ease;
}
.content{
    margin: 2px;
}
.gallery-pictures img{
    border: 1px solid var(--brand-line); 
    object-fit: cover;
    height: 160px;
    width: 230px;
}
/* ---------- Tagline CTA band (sits between Gallery and the footer) ---------- */
.cta-section{
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, var(--brand-surface) 0%, var(--brand-sand-soft) 100%);
}
/* the gradient hairline from the logo lock-up */
.cta-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
}
.cta-tagline{
    color: var(--brand-primary);
    font-variant: small-caps;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}
/* mirrors the tagline colouring inside the logo */
.cta-word-teal{
    color: var(--brand-teal-deep);
}
.cta-word-coral{
    color: var(--brand-coral);
}
.cta-subtext{
    color: var(--brand-muted);
    margin-top: 14px;
}
.cta-actions{
    gap: 16px;
}
.cta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease,
                transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-btn:hover{
    transform: translateY(-3px);
    box-shadow: var(--brand-shadow);
}
/* WhatsApp's own green, so the button is recognisable at a glance. */
.cta-btn-whatsapp{
    background-color: var(--wa-green);
    border-color: var(--wa-green);
    color: var(--brand-white);
}
.cta-btn-whatsapp:hover{
    background-color: var(--wa-green-dark);
    border-color: var(--wa-green-dark);
    color: var(--brand-white);
}
.cta-btn svg{
    flex: 0 0 auto;
}
.cta-btn-contact{
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-white);
}
.cta-btn-contact:hover{
    background-color: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    color: var(--brand-white);
}
@media screen and (max-width:500px){
    .cta-tagline{
        font-size: 30px;
    }
    .cta-subtext{
        font-size: 14px;
    }
    .cta-actions{
        gap: 12px;
    }
    .cta-btn{
        width: 100%;
        max-width: 320px;
    }
}

.footer{
    background-color: var(--brand-primary);
    position: relative;
}
.grundge2{
    position: absolute;
    transform: rotateX(180deg);
    width: 100%;
    top: -4px;
}
.text-heading{
    font-size: 16px;
    letter-spacing: 1px;
}
.text-content a{
    text-decoration: none;
    color: var(--brand-white);
    font-size: 14px;
}
.text-content a span{
    margin-left: 31px;
}
.footer-shade{
    position: relative;
    background-color: var(--brand-primary-deep);
    height: 80px;
    bottom: 0px;
}

@media screen and (max-width:1400px) {
    .duration{
        width: 50.1% !important;
    }
    .duration-line::after{
        width: 40%;  
    }
    .modal-dialog{
        max-width: 30% !important;
    }
}
@media screen and (max-width:1200px) {
    .duration{
        width: 39% !important;
    }
    .duration-line::after{
        width: 40%;
        left: 180px;
    }
    .modal-dialog{
        max-width: 35% !important;
    }
    .footer-logo{
        position: relative;
        left: -25px;
    }
}
@media screen and (max-width:992px) and (min-width:768px)  {
    .duration{
        width: 54% !important;
    }
    .duration-line::after{
        width: 40%;
        left: 178px;
    }
    .modal-dialog{
        max-width: 45% !important;
    }
    .gallery-pictures img{
        border: 1px solid var(--brand-line); 
        object-fit: cover;
        height: 170px;
        width: 300px;
    }
    .footer-logo{
        position: relative;
        left: -40px;
    }
    .text-heading{
        font-size: 14px;
    }
    .text-content a{
        font-size: 11px;
    }
    .text-content a span{
        margin-left: 28px;
    }
    .quick-link{
        position: relative;
        left: 70px;
    }
    .contact{
        position: relative;
        left: 40px;
    }
    .social{
        position: relative;
        left: 24px;
    }
}
@media screen and (max-width:500px) {
    .duration{
        width: 45% !important;
    }
    .duration-line::after{
        width: 40%;
        left: 180px;
    }
    .modal-dialog{
        position: absolute;
        top: 100px;
        left: 0px;
        max-width: 100% !important;
    }
    .popular-destinations-text{
        color: var(--brand-primary);
        font-variant: small-caps;
        font-weight: 900;
        font-size: 30px;
        text-align: center;
    }
    .footer-logo{
        text-align: center;
    }
    .quick-link h6{
        font-size: 15px;
    }
    .quick-link h6 a{
        font-size: 12px;
    }
    .contact{
        padding-left: 50px !important;
    }
    .contact h6{
        position: relative;
        left: 12px;
        font-size: 15px;
    }
    .contact h6 a{
        font-size: 11px;
    }
    .social{
        text-align: center;
    }
    .social h6{
        font-size: 15px;
        display: flex;
        justify-content: center;
        justify-content: space-around;
    }
    .social h6 a{
        margin-top: 10px;
    }
}
@media screen and (max-width:406px) {
    .duration{
        width: 50% !important;
    }
    .duration-line::after{
        width: 40%;
        left: 175px;
    }
    .quick-link h6{
        font-size: 15px;
    }
    .quick-link h6 a{
        font-size: 12px;
    }
    .contact{
        padding-left: 30px !important;
    }
    .contact h6{
        position: relative;
        left: 12px;
        font-size: 15px;
    }
    .contact h6 a{
        font-size: 11px;
    }
    .social{
        text-align: center;
    }
    .social h6{
        font-size: 15px;
        display: flex;
        justify-content: center;
        justify-content: space-around;
    }
    .social h6 a{
        margin-top: 10px;
    }
    .modal-dialog{
        position: absolute;
        top: 100px;
        left: 1px;
        max-width: 100% !important;
    }
}
