.tour-tabs-section {
    position: relative;
    padding-top: 20px;
}

.tour-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Scrollspy Navigation Styling - Updated */
.tour-tabs-nav {
    background: var(--sfp-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: sticky;
    top: 76px;
    z-index: 1020;
    transition: var(--transition);
}

/* Sticky State */
.tour-tabs-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
    z-index: 1030;
    padding: 15px;
}

.tour-tabs-nav.sticky .nav-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tour-tabs-nav .nav-tabs {
    border-bottom: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
}

.tour-tabs-nav .nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tour-tabs-nav .nav-item {
    margin: 4px;
    flex-shrink: 0;
}

.tour-tabs-nav .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--sfp-black);
    background: transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

.tour-tabs-nav .nav-link i {
    margin-right: 8px;
    font-size: 16px;
}

.tour-tabs-nav .nav-link:hover {
    color: var(--sfp-green);
}

.tour-tabs-nav .nav-link.active {
    color: var(--sfp-green);
}

.tour-tabs-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--sfp-green);
    border-radius: 2px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.1);
    z-index: 1040;
    display: none;
}

.scroll-progress .progress-bar {
    background: var(--sfp-green);
    transition: width 0.1s ease;
    height: 100%;
}

.tour-tabs-nav.sticky + .scroll-progress {
    display: block;
}

/* Tab Content Styling - Updated for Scrollspy */
.tour-tab-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.tour-tab-content.sticky-padding {
    padding-top: calc(var(--sticky-nav-height) + 20px);
}

.tab-pane {
    padding: 30px;
    animation: fadeIn 0.5s ease;
    scroll-margin-top: calc(var(--sticky-nav-height) + 20px);
}

/* Mobile Styles for Scrollspy */
@media (max-width: 991.98px) {
    .tour-tabs-nav {
        top: 0;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .col-lg-3 .booking-form {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .tour-tabs-nav .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .tour-tabs-nav .nav-link i {
        font-size: 14px;
        margin-right: 5px;
    }
    
    .tab-pane {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .tour-tabs-nav .nav-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .tour-tabs-nav .nav-link i {
        font-size: 12px;
        margin-right: 3px;
    }
    
    .tour-tabs-nav .nav-link span {
        font-size: 13px;
    }
    
    .tab-pane {
        padding: 3px;
    }
}

/* Desktop Only Styles */
@media (min-width: 992px) {
    .tour-tabs-nav .nav-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .tour-tabs-nav .nav-link {
        padding: 5px 6px;
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .tour-tabs-nav .nav-item {
        margin: 4px;
    }
}

/* Animations for Scrollspy */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Existing Styles Remain Below - Only scrollspy additions above */

/* Card Styling */
.info-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    margin-bottom: 20px;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-card .card-header {
    background: var(--sfp-black);
    color: var(--sfp-white);
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.info-card .card-body {
    padding: 20px;
}

/* Accordion Styling */
.custom-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: var(--sfp-black);
    color: var(--sfp-white);
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    box-shadow: none;
    font-family: 'Roboto';
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--sfp-black);
    color: var(--sfp-green);
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
    padding: 20px;
    color: var(--sfp-black);
}
.advantages-list li {
    list-style:none;
}
/* Gallery Styling */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Map Styling */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Booking Form Styling */
/* Smaller input fields inside the sidebar */
.booking-card-sidebar .form-floating > .form-control,
.booking-card-sidebar .form-floating > .form-select {
  padding: 0.75rem 0.5rem;      /* reduce vertical padding */
  height: calc(2.5rem + 2px);    /* smaller default height */
  font-size: 0.9rem;             /* slightly smaller font */
}

.booking-card-sidebar .form-floating > label {
  padding: 0.75rem 0.5rem;       /* match input padding */
  font-size: 0.85rem;            /* smaller label */
}

/* Adjust when input is focused or has content */
.booking-card-sidebar .form-floating > .form-control:focus ~ label,
.booking-card-sidebar .form-floating > .form-control:not(:placeholder-shown) ~ label,
.booking-card-sidebar .form-floating > .form-select:focus ~ label,
.booking-card-sidebar .form-floating > .form-select:not(:placeholder-shown) ~ label {
  opacity: 0.8;
  transform: scale(0.8) translateY(-0.75rem) translateX(0.1rem);
}
/* Utility Classes */
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    color: var(--sfp-black);
}
.features .section-title h1 {
    color: var(--sfp-black);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--sfp-green);
}

#overview .card-body h6, #overview .card-body .text-muted1 {
    color: var(--sfp-black);
}

#season .card-body .table-light1 {
    background-color: var(--sfp-black);
    color: var(--sfp-white);
    border: 1px solid var(--sfp-green);
}

#season .card-body tbody {
    border: 1px solid var(--sfp-green);
    color: var(--sfp-black);
}

.badge {
    background: var(--sfp-green);
    padding: 8px;
}

/* Review CSS - Keep existing */
.review-section  .reviews-list .review-card h5 {
    color: var(--sfp-black);
}
.review-section h1, .review-section p {
    color: var(--sfp-black);
}
.review-section p {
    text-align:justify;
}
.review-content {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--sfp-black);
    position: relative;
    padding-left: 20px;
}
.review-content:before {
    content: '\201C';
    font-size: 50px;
    color: var(--sfp-green);
    position: absolute;
    left: 0;
    top: -15px;
    font-family: Georgia, serif;
}
.replies-wrapper h6, .reply-content h6, .reply-content p {
    color:var(--sfp-black);
}
.single-pst-rating {
    font-size: 0.8rem;
    color: var(--sfp-black);
}
.single-pst-rating i {
    color: var(--sfp-yellowgreen);
    margin-right: 2px;
}
}
/* booking Form Styles */
.form-title {
    color: var(--sfp-black);
    font-weight: 700;
    text-align: center;
}
.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid var(--sfp-green);
    color: var(--sfp-black);
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: none;
}

.form-label, .form-check-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sfp-black);
}
.form-check-input:focus {
    border-color: none;
    outline: 0;
    box-shadow: none;
}
.form-check-input {
    border: 1px solid var(--sfp-green);
}
/* Custom wordpressform and rating */
.comments-rating {
	border: none;
	padding: 0;
	margin-left: 0;
}

.comments-rating label {
	display: inline-block;
}

.rating-container {
	/* remove inline-block whitespace */
	font-size: 0;
	/* flip the order so we can use the + and ~ combinators */
	unicode-bidi: bidi-override;
	direction: rtl;
}

.rating-container * {
	font-size: 1.4rem;
}

.rating-container > input {
	display: none;
}

span.dashicons.dashicons-star-filled {
    color: #52c952;
}

.rating-container > input + label {
	/* only enough room for the star */
	font-family: 'dashicons';
	display: inline-block;
	overflow: hidden;
	text-indent: 9999px;
	width: 1em;
	white-space: nowrap;
	cursor: pointer;
	margin: 0;
}

.rating-container > input + label:before {
	display: inline-block;
	text-indent: -9999px;
	content: "\f154";
	color: #18458b;
}

.rating-container > input:checked ~ label:before,
.rating-container > input + label:hover ~ label:before,
.rating-container > input + label:hover:before {
	content: "\f155";
	color: #52c952;
	text-shadow: 0 0 1px #333;
}

.rating-container > .star-cb-clear + label {
	text-indent: -9999px;
	width: .5em;
	margin-left: -.5em;
}

.rating-container > .star-cb-clear + label:before {
	width: .5em;
}

.rating-container:hover > input + label:before {
	content: "\f154";
	color: #888;
	text-shadow: none;
}

.rating-container:hover > input + label:hover ~ label:before,
.rating-container:hover > input + label:hover:before {
	content: "\f155";
	color: #52c952;
	text-shadow: 0 0 1px #333;
}

.comment-respond .rating-container > .star-cb-clear + label, .comment-respond .rating-container > input + label:before {
	text-indent: 9999px;
}

.comment-respond .rating-container > input + label {
	text-indent: -9999px;
}

.rating_form_rating {
  display: flex;
  gap: 4px;
}

.star-rating {
  margin-top: 4px;
}

.comment-form .form-group {
    margin-bottom: 12px !important;
}

/* End comment rating css */
/* Sticky Booking Form Styles */
@media (min-width: 992px) {
    .bkfrm {
        position: relative;
    }
    
    .booking-form {
        position: sticky;
        top: 100px; /* Adjust this value based on your header height */
        transition: all 0.3s ease;
        z-index: 100;
        border-radius: 8px;
    }
    
    /* Optional: Add a fade-in effect when scrolling */
    .booking-form {
        animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
.booking-card-sidebar {
background: #ffffff;
border: none;
border-radius: 0.75rem;
box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
padding: 1.25rem;
}
.btn-sidebar {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
color: white;
font-weight: 600;
width: 100%;
padding: 0.75rem;
transition: transform 0.2s;
}
.btn-sidebar:hover {
transform: translateY(-2px);
color: white;
background: linear-gradient(135deg, #5a67d8 0%, #6b46a1 100%);
}
/* comment form css */
.enhanced-image-upload {
    margin: 25px 0;
    padding: 20px;
    background: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.upload-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.label-badge {
    background: #e2e8f0;
    color: #4a5568;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-limit {
    color: #718096;
    font-size: 0.85rem;
    background: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.upload-area {
    background: #fff;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #4299e1;
    background: #f7fafc;
}

.upload-button {
    background: linear-gradient(145deg, #4299e1, #3182ce);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(66, 153, 225, 0.3);
    transition: all 0.2s ease;
}

.upload-button:hover {
    background: linear-gradient(145deg, #3182ce, #2b6cb0);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.4);
}

.button-icon svg {
    display: block;
}

.or-text {
    display: block;
    margin-top: 10px;
    color: #a0aec0;
    font-size: 0.9rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.preview-slot {
    aspect-ratio: 1/1;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.preview-slot.filled {
    border-color: #4299e1;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.2);
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    color: #a0aec0;
}

.preview-placeholder svg {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    opacity: 0.5;
}

.preview-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(245, 101, 101, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 0;
    line-height: 1;
}

.preview-slot:hover .remove-image {
    opacity: 1;
}

.remove-image:hover {
    background: #f56565;
    transform: scale(1.1);
}

.image-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #718096;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.count-current {
    color: #4299e1;
    font-weight: 600;
    font-size: 1.1rem;
}

.error-message {
    margin-top: 10px;
    padding: 12px 15px;
    background: #fff5f5;
    border-left: 3px solid #f56565;
    border-radius: 6px;
    color: #c53030;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.preview-slot.filled {
    animation: pulse 0.3s ease;
}