﻿/* ===== General page sections ===== */
.page_section {
    scroll-snap-align: start!important;
    scroll-margin-top: 180px!important;
    padding:0 !important;
}

#Itinerary-info {
    background: #f5fcfd !important;
}

/* ===== Card wrapper for itinerary / flights / hotels / add-ons / terms ===== */
.card-itinerary {
    border:0 !important;
}

/* ===== Top banner/title section ===== */
.banner {
    width: 100%;
}

#title-blue {
    background-color: rgb(28, 157, 173);
    height: auto;
    padding:15px 0 !important;
}

#title-blue .title1 {
    font-size: 14.5px;
    font-family: "Montserrat";
    color: rgb(255, 255, 255);
    line-height: 1.6;
    text-align: left;
}

#title-blue .title2 {
    font-size: 24px;
    font-family: "Montserrat";
    color: rgb(255, 255, 255);
    line-height: 1.2;
    text-align: left;
    padding: 0 0 5px;
}

/* ===== Sticky nav (Itinerary / Flight / Hotel / Add ons / Inclusions / T&C) ===== */
#nav-info1 {
    padding: 0 0;
    background-color:#fff;
    box-shadow: 0 7px 8px rgba(11, 40, 39, 0.02);
}

#nav-info1 .sec_scroll {
    height: auto;
}

#nav-info1 ul {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding:12px 0 !important;
    margin:0 !important;
}

#nav-info1 ul li {
    display: inline-block;
    cursor: pointer;
    background-color: rgb(242, 250, 252);
    color:rgb(6, 44, 44);
    padding: 9.5px 15px;
    width: auto;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
    text-transform: none;
    margin-left:10px;
    transition: background-color 0.3s, color 0.3s;
}

#nav-info1 ul li:last-child {
    margin-right:10px;
}

#nav-info1 ul li a{
    font-size: 14px;
    color: #000;
    text-decoration:none;
}

#nav-info1 ul li.active {
    background-color: rgb(253, 197, 18);
    color: rgb(6, 44, 44);
    display: inline-block;
    padding: 9.5px 15px;
    width: auto;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
    text-transform: none;
}

#nav-info1 ul li.active a{
    color: rgb(6, 44, 44);
    text-decoration:none;
}

/* Optional: if you ever use .nav-link-itinerary inside nav */
#nav-info1 .nav-link-itinerary {
    background-color: rgb(242, 250, 252);
    color: rgb(6, 44, 44);
    display:inline-block;
    padding:9.5px 15px;
    font-size: 16px;
    width:100%;
    text-decoration:none;
    font-weight:500;
    text-align:left;
    border:none;
    line-height: 1.4;
    text-transform:none;
    border-radius: 6px;
}

#nav-info1 .nav-link-itinerary.active {
    background-color: rgb(253, 197, 18);
    color: rgb(6, 44, 44);
}

/* ===== Rating text near title ===== */
.rating-score {
    color: #fff;
    font-size: 14.445px;
    font-family: "Montserrat";
    line-height: 2.354;
    text-align: left;
    text-decoration:none;
}

.rating-score1,
.rating-score1:hover {
    font-size: 12px;
    font-family: "Montserrat";
    color:#fff;
    text-decoration:none;
    cursor:pointer;
    text-align: left;
    font-weight: 500;
}

/* Optional “black” variants if used elsewhere */
.rating-score-black {
    color: #000;
    font-size: 14.445px;
    font-family: "Montserrat";
    line-height: 2.354;
    text-align: left;
    text-decoration:none;
}

.rating-score1-black,
.rating-score1-black:hover {
    font-size: 12px;
    font-family: "Montserrat";
    color:#000;
    text-decoration:none;
    cursor:pointer;
    text-align: left;
    font-weight: 500;
}

/* ===== Itinerary timeline accordion ===== */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 25px;
}

/* dot */
.timeline-item::before {
    content: "";
    position: absolute;
    top: 21px; /* aligns with header */
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(169, 222, 234);
    z-index: 1;
}

.timeline-item.active::before {
    background-color:rgb(28, 157, 173);
    transform: scale(1.3);
    width: 8px;
    height: 8px;
    left: 1.8px;
}

/* vertical line extending from dot to next item */
.timeline-item::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 5px;
    width: 1px;
    height: 100%;
    background: rgb(169, 222, 234);
}

/* remove line for last item */
.timeline-item:last-child::after {
    display: none;
}

.tab-header {
    cursor: pointer;
    padding:1rem 0 1rem 0 !important;
    border: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid rgb(212, 238, 244);
}

.timeline-item.active .tab-header {
    border-bottom:0;
}

.tab-header h3 {
    margin: 0;
    font-size: 14px;
    line-height:20px;
}

.tab-header h3 .day {
    font-weight:500;
}

/* Chevron icon */
.chev {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("../images/down-icon.svg"); /* Default down arrow */
    background-size: 0.6rem 0.6rem !important;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease-in-out;
}

/* Rotate the icon when the timeline item is active */
.timeline-item.active .chev {
    transform: rotate(180deg);
}

.tab-content {
    display: none;
    padding: 10px 37px 20px 0;
    margin-left: 0;
    border-bottom:0;
    scroll-snap-align: start!important;
    scroll-margin-top: 200px!important;
}

.timeline-item.active .tab-content {
    display: block;
    border-bottom:1px solid rgb(212, 238, 244);
}

.content-text1 {
    font-size: 12px;
    font-family: "Montserrat";
    color: rgb(50, 50, 50);
    line-height: 1.667;
    text-align: justify;
}

/* Timeline images  */
.responsive-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== Hotel card inside “Choose your preferred Hotel option” ===== */
.hotel-detail-title {
    font-size: 15px;
    font-family: "Montserrat";
    color: rgb(6, 44, 44);
    font-weight: 500;
    text-align: center;
}

.sub-title-Hotel {
    font-size: 11px;
    font-family: "Montserrat";
    color: rgb(75, 75, 75);
    text-align: center;
    display: block;
}

.sub-title-Hotel i {
    color: #1c9dad;
    padding-right:5px;
}

/* ===== Inclusions / Exclusions headings ===== */
.inclustions {
    /* generic heading style (you already use bootstrap for font sizes) */
}

/* ===== Sidebar price card ===== */
.price-content {
    border-radius: 6px;
    background-color: rgb(255, 255, 255);
    margin-left: 15px;
    padding:32px 37px;
    box-shadow: 0 0 8px rgba(11, 40, 39, 0.05);
}

/* Label “Package Price”, etc, uses normal text + Bootstrap classes */

/* Main price text on desktop (AED 174,128 etc) */
.price-value1,
.price-value2 {
    font-size: 18px;
    font-weight: normal;
    color: #002d2d;
}

.price1,
.price2 {
    font-size: 28px;
    color: rgb(6, 44, 44);
    line-height: 0.96;
    text-align: center;
    font-weight:500;
}

/* “Price starting from” (mobile bar) */
.price-label2 {
    font-size: 12px;
    font-family: "Montserrat";
    color: rgb(100, 100, 100);
    line-height: 1.714;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Small arrow icon in mobile price bar */
.icon-img {
    width: 15px;
    height: auto;
    margin-left: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

/* ===== Buttons ===== */
.btn-borderline,
.btn-borderline:hover,
.btn-borderline:focus {
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.714;
    background: #fff;
    color: rgb(6, 44, 44);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border:1px solid rgb(223, 227, 233);
    border-radius: 6px;
    padding: 11px 0;
    width: 100%;
    font-size: 14px;
    font-variant: normal;
}

.btn-yellow-1,
.btn-yellow-1:hover,
.btn-yellow-1:focus {
    font-size: 14px;
    font-variant:normal;
    outline: none;
    word-break: break-word;
    background: #fec508;
    color: #151d36;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    padding: 11px 0;
    border-radius: 5px;
    width: 100%;
    border:none;
    font-family: "Montserrat";
    display: block;
}

/* Mobile fixed-bottom “Book this trip” button */
.btn-enquiry-yellow2,
.btn-enquiry-yellow2:hover,
.btn-enquiry-yellow2:focus {
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    padding: 11px 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    word-break: break-word;
    background: #fec508;
    color: #151d36;
    border: none;
}

/* Re-use of margin helper for “Send Enquiry” button */
.margin-button {
    margin:1.1rem 0 .7rem;
}

/* ===== Timeline / price responsive tweaks ===== */
@media all and (max-width: 1402px) {
    .price-content {
        margin-left: 1px;
    }
}

@media (max-width: 1202px) {
    .price-content {
        padding: 22px 17px;
        margin-left: 1px;
    }
}

/* ============ mobile view ============ */
@media (max-width: 992px) {

    .page_section {
        scroll-snap-align: start!important;
        scroll-margin-top: 80px!important;
        padding:0 !important;
    }

    .price-content {
        padding: 32px 37px;
        margin-left:0;
    }

    #title-blue {
        background-color: rgb(28, 157, 173);
        height:auto;
        padding: 20px 0 !important;
    }

    /* hide scrollbar, tighten nav padding */
    #nav-info1 ul {
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 10px;
    }
}

/* Further small-screen adjustments */
@media all and (max-width: 768px) {

    #title-blue .title2 {
        font-size:22px;
    }

    #title-blue .title1 {
        font-size:12.5px;
    }

    .tab-content {
        scroll-snap-align: start!important;
        scroll-margin-top: 100px!important;
        padding:10px 15px 20px 0;
    }

    #nav-info1 ul {
        padding:12px 10px !important;
    }

    #nav-info1 .sec_scroll {
        padding:0 !important;
    }

    .timeline-item.active::before {
        left: 1px;
    }

    .timeline-item::before {
        left: 2px;
    }

    .header-card3 {
        padding: .8rem 1.7rem;
        font-size: 18px;
        color: rgb(255, 255, 255);
        border-radius: 6px 6px 0 0;
        background-color: rgb(169, 222, 234);
    }

    .price2 {
        font-size: 26px;
        color: rgb(6, 44, 44);
        line-height: 0.96;
        text-align: center;
        font-weight: 500;
    }

    .price-value2 {
        font-size: 16px;
        font-weight: normal;
        color: #002d2d;
    }

    .price-label2 {
        font-size: 11px;
        color: rgb(100, 100, 100);
        display: inline-flex;
        align-items: center;
        gap: 1px;
    }

    .btn-borderline,
    .btn-borderline:hover,
    .btn-borderline:focus {
        border: 1px solid #dee3e3;
    }

    .price-content {
        padding: 22px 17px;
    }

    .responsive-img {
        max-height: 300px;
    }
}
