#common_banner {
    height: auto;
    background: var(--bg-color);
}

.common_bannner_text ul {
    padding: 0.75rem 0;
}

section#common_banner::before {
    display: none;
}

.common_bannner_text ul li a {
    color: var(--deep-blue);
}

.common_bannner_text ul li {
    color: var(--second-color);
}

.common_bannner_text ul li span i {
    color: var(--second-color);
}

.tour_details_heading_wrapper {
    display: flex;
    justify-content: space-between;
}

/* .tour_details_top_heading_right {
    display: flex;
    justify-content: space-between;
} */

.download-btn {
    font-weight: 700;
    color: var(--second-color);
    box-shadow: 4px 2px 5px 1px beige;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
}

.tour_details_top_bottom_icon img {
    width: 45px;
}

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    position: relative;
    max-height: 420px;
    margin: 1rem auto;
}


.tour-img img {
    width: 100%;
    /* max-height: 400px; */
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.tour-gallery .tour-img:nth-child(1) {
    grid-area: 1 / 1 / 5 / 4;
}

.tour-gallery .tour-img:nth-child(2) {
    grid-area: 1 / 4 / 5 / 6;
}

.tour-gallery .tour-img:nth-child(3) {
    grid-area: 1 / 6 / 3 / 8;
}

.tour-gallery .tour-img:nth-child(4) {
    grid-area: 3 / 6 / 5 / 8;
}

.tour-gallery .tour-img:nth-child(n+5) {
    display: none;
}

/* Overlay button */
.more-img-overlay {
    padding: 0.5rem 1rem;
    min-width: 50px;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s;
    color: var(--white-color);
    right: 20px;
    bottom: 30px;
    border: none;
    backdrop-filter: blur(10px);
    border: 2px solid var(--white-color);
}

.more-img-overlay:hover {
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: var(--box-shadow);
}

.heading_theme {
    padding-bottom: 10px;
    position: relative;
    display: block;
    font-weight: 500;
    margin-bottom: 20px;
    border-top: none;
    border-inline: none;
    cursor: pointer;
}

.heading_theme span {
    background-image: linear-gradient(to left, var(--second-color) 20%, var(--deep-blue));
    color: transparent;
    background-clip: text;
}

.heading_theme::before {
    position: absolute;
    content: "";
    bottom: 0;
    width: 100%;
    left: 0;
    height: 1px;
    /* background: linear-gradient(to right, var(--black-color), var(--second-color)); */
    background: #ddd;
}

.heading_theme::after {
    width: 2rem;
    height: 2rem;
    content: "";
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 2rem;
    transition: transform 0.3s ease;
    position: absolute;
    right: 20px;
    color: var(--para-color);
    transform: rotate(0deg);
}

.accordion_left_side h5 {
    width: 100px;
    height: 35px;
    line-height: 35px;
    background: var(--light-color);
    margin-right: 15px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 5px;
    color: var(--black-color);
}

.tour_details_boxed {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 30px;
    border: 1px solid var(--border-color);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

}

.tour_details_boxed_inner {
    color: var(--para-color);
    line-height: 1.8;
    height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: auto;
}

.tour_details_boxed.show .tour_details_boxed_inner {
    margin-top: 1rem;
    height: 100%;
    opacity: 1;
    visibility: visible;
    overflow: auto;
    transition: 0.5s all ease-in-out;
}

.tour_details_boxed.show .heading_theme::after {
    transform: rotate(180deg);
}


.table-container {
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    margin-bottom: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--second-color) 100%);
}

thead th {
    padding: 20px 25px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: var(--light-color);
    transform: scale(1.01);
}

tbody td {
    padding: 25px;
    font-size: 15px;
    color: var(--black-color);
    width: fit-content;
}

.package-cell {
    font-weight: 600;
    color: var(--second-color);
    font-size: 16px;
}

.price-cell {
    font-weight: 700;
    font-size: 20px;
    color: var(--main-color);
}
td.price-cell del {
    color: var(--border-color);
}

@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        border-radius: 12px;
    }

    table {
        min-width: 700px;
    }

    thead th,
    tbody td {
        padding: 15px;
        font-size: 13px;
        max-width: 35px;
    }

    .table-title {
        font-size: 24px;
    }

    .package-cell {
        font-size: 14px;
        padding: 10px;
    }

    .price-cell {
        font-size: 18px;
    }
}

/*===================================
    right side bar
==================================== */
.tour_details_right_boxed {
    border-radius: 20px;
    text-align: center;
}
.g-recaptcha> div {
    margin: 0 auto 1rem ;
}

.tour_details_right_box_heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0 1.5rem 0;
}

.tour_package_bar_price h3 {
    border: none;
}

.tour_package_bar_price,
.tour_details_right_box_heading h3 {
    padding: 0;
}

.booking-cta .button-effect {
    width: 90%;
    text-align: center;
    margin: 1rem auto 1.5rem auto;
    background-color: var(--main-color);
}

.booking-cta p {
    margin: 0.5rem auto 0.5rem auto;
}

.or-box {
    position: relative;
}

.or-box span {
    position: relative;
    padding: 10px;
    z-index: 2;
    background-color: var(--white-color)
}

.or-box::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--border-color);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.tour_details_right_box {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    width: 100%;
}

.travel_date {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.travel_date>* {
    flex: 1;
}


.guest-count {
    background: var(--white-color);
    border-radius: 12px;
    padding: 10px 0;
    /* box-shadow: 0 8px 32px rgba(28, 35, 31, 0.08); */
    /* border: 1px solid rgba(18, 142, 143, 0.1); */
    width: 100%;
    flex: 1;
    display: flex;
    gap: 5px;
    text-align: center;
}

.guest-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(152, 152, 152, 0.15);
}

.personal-data {
    margin: 10px auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.write_spical_not {
    padding: 0 0 20px 0;
}

.input-box {
    position: relative;
}

.input-box label {
    z-index: 20;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 13px;
    background: var(--white-color);
    padding: 0 0.5rem;
}

.guest-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guest-option:first-child {
    padding-top: 0;
}

.guest-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guest-label span {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
}

.guest-label small {
    font-size: 13px;
    color: var(--p-color);
    font-weight: 400;
}

p.confirm-message {
    margin: 20px auto;
}

.confirm-name {
    font-weight: 500;
    color: var(--black-color);
    font-size: 18px;
    letter-spacing: 1px;
    padding: 0 5px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--main-grey);
    border-radius: 8px;
    padding: 2px;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.counter button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white-color);
    color: var(--main-color);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(18, 142, 143, 0.1);
}

.counter button:hover {
    background: var(--main-color);
    color: var(--white-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(18, 142, 143, 0.2);
}

.counter button:active {
    transform: translateY(0);
}

.counter button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--white-color);
    color: var(--p-color);
}

.counter button:disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(18, 142, 143, 0.1);
}

.counter input {
    width: 20px;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
    outline: none;
    padding: 0;
}

.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.counter input[type=number] {
    -moz-appearance: textfield;
}

/* Responsive design */
@media (max-width: 480px) {
    .guest-count {
        margin: 10px 0;
        padding: 0;
    }

    .guest-label span {
        font-size: 14px;
    }

    .counter {
        gap: 8px;
    }

    .counter button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .counter input {
        width: 20px;
        height: 32px;
        font-size: 15px;
    }
}

/* Animation for value changes */
.counter input.changed {
    animation: valueChange 0.3s ease;
}

@keyframes valueChange {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--main-color);
    }

    100% {
        transform: scale(1);
    }
}
