/* Karnataka Trekkers Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

:root {
    --primary-color: #2D5A27;         /* Deep Forest Green */
    --primary-hover: #1E3F1A;         /* Darker Forest Green */
    --secondary-color: #8EB77F;       /* Soft Grass Green */
    --accent-color: #E67E22;          /* Outdoor Orange */
    --accent-hover: #D35400;
    --dark-color: #112211;            /* Very dark green-black */
    --light-color: #F4F7F4;           /* Warm light green-grey */
    --white: #FFFFFF;
    --text-color: #2C3E50;
    --border-color: #E2E8F0;
    --card-shadow: 0 10px 30px rgba(17, 34, 17, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #FCFDFD;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
}

/* Header & Navbar */
.navbar-custom {
    position: sticky !important;
    top: 0;
    height: 72px; /* Premium compact height */
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    box-shadow: none !important; /* No shadow initially */
    transition: height 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 1030 !important;
    padding: 0 !important;
}
.navbar-custom.scrolled {
    height: 60px; /* More compact on scroll */
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; /* Premium drop shadow on scroll */
}
.navbar-custom .container-fluid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    width: 100%;
}
.navbar-brand {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px; /* logo height */
    margin: 0;
    line-height: 1.1;
}
.navbar-brand i {
    font-size: 1.8rem;
    color: var(--accent-color);
}
.navbar-custom .navbar-nav {
    gap: 24px !important; /* Uniform links gap */
}
.navbar-custom .nav-link {
    color: var(--dark-color);
    font-size: 15px;
    font-weight: 600;
    padding: 6px 12px !important;
    border-radius: 10px;
    white-space: nowrap; /* Prevent line wrapping */
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.navbar-custom .nav-link:hover {
    transform: translateY(-1px); /* Subtle lift */
    color: var(--primary-color) !important;
    background-color: rgba(45, 90, 39, 0.04);
}
.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(45, 90, 39, 0.08) !important;
}
.btn-nav-book {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 30px;
    padding: 6px 20px !important; /* slightly more compact padding to fit the new height */
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    height: 40px;
    transition: var(--transition);
}
.btn-nav-book:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}
.navbar-custom #userDropdown.btn-outline-custom {
    min-width: 120px;
    height: 42px;
    padding: 0 12px !important;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-slider-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-color: var(--dark-color);
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.hero-search-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.25);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Common Section Styles */
.section-padding {
    padding: 80px 0;
}
.section-title {
    margin-bottom: 50px;
    text-align: center;
}
.section-title span {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}
.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}
.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    cursor: pointer;
    background: var(--dark-color);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}
.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}
.category-card:hover img {
    transform: scale(1.08);
    opacity: 0.5;
}

/* Trek Cards Clickable Wrapper */
.trek-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    cursor: pointer;
}

.trek-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    border: 1px solid #E8E8E8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.trek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}
.trek-card-img,
.trek-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.trek-card-img img,
.trek-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.trek-card:hover .trek-card-img img,
.trek-card:hover .trek-card-image img {
    transform: scale(1.08);
}
.trek-badge-difficulty {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}
.difficulty-easy { background-color: #2ECC71; }
.difficulty-moderate { background-color: #F1C40F; color: #112211; }
.difficulty-difficult { background-color: #E74C3C; }

.trek-badge-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Wishlist Button styles */
.trek-card-wrapper {
    position: relative;
    height: 100%;
}
.wishlist-overlay-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}
.wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #888888;
    font-size: 1.1rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}
.wishlist-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #e63946 !important;
}
.wishlist-btn.active {
    color: #e63946 !important;
}
.wishlist-btn.active:hover {
    color: #c92a3a !important;
}


.trek-card-header-row {
    display: none;
}

.trek-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trek-card-title {
    font-size: 1.75rem !important; /* 28px on desktop */
    font-weight: 700 !important;
    color: #1B1B1B !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex: none !important;
    width: 100%;
}
.trek-card-title a {
    color: #1B1B1B !important;
    text-decoration: none;
    transition: var(--transition);
}
.trek-card-title a:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 767.98px) {
    .trek-card-title {
        font-size: 1.375rem !important; /* 22px on mobile */
    }
}

.trek-card-secondary,
.trek-card-meta {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 15px;
    font-weight: 500;
}

.trek-card-price-wrapper {
    margin-top: auto; /* Push down to keep equal button positions */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 15px;
}
.trek-card-price-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
}
.trek-card-price-value,
.trek-card-price {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: #F7941D;
    line-height: 1.2;
}

/* View Details button */
.trek-card-view-btn,
.trek-card-button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--primary-color) !important;
    background: #ffffff !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
    margin-top: 0 !important;
}
.trek-card-link:hover .trek-card-view-btn,
.trek-card:hover .trek-card-view-btn,
.trek-card-link:hover .trek-card-button,
.trek-card:hover .trek-card-button {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.trek-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ECF0F1;
}

/* Detail Page Custom Styles */
.trek-detail-header-bg {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-color);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('../images/detail-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white) !important;
    text-align: center;
}
.trek-detail-header-bg h1,
.trek-detail-header-bg h2,
.trek-detail-header-bg p,
.trek-detail-header-bg .text-white {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.trek-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}
.spec-box {
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.spec-box:last-child {
    border-right: none;
}
.spec-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.spec-box span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #7F8C8D;
}
.spec-box h5 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}
.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: var(--secondary-color);
}
.itinerary-day-node {
    position: relative;
    margin-bottom: 30px;
}
.itinerary-day-node::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

/* Itinerary Accordion Improvements */
.itinerary-day-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    margin: -8px -12px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    user-select: none;
    outline: none;
    width: 100%;
}
.itinerary-day-header:hover,
.itinerary-day-header:focus-visible {
    background-color: rgba(45, 90, 39, 0.05);
}
.itinerary-chevron {
    transition: transform 300ms ease;
    color: var(--primary-color);
    font-size: 0.85rem;
    display: inline-block;
}
.itinerary-day-label {
    color: var(--primary-color);
    font-weight: 700;
}
.itinerary-day-header[aria-expanded="true"] .itinerary-chevron {
    transform: rotate(90deg);
}
.itinerary-day-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 300ms ease, opacity 300ms ease;
}
.itinerary-day-content p {
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.6;
}
.itinerary-points {
    margin-top: 12px;
    padding-left: 24px;
}
.itinerary-points li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #555;
}

/* Sidebar Booking Widget */
.booking-widget-card {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 25px;
}

/* Review Styles */
.review-item {
    background-color: #F8FBF8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

/* Gallery Styles */
.gallery-grid-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 16 / 9;
    box-shadow: var(--card-shadow);
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-grid-item:hover img {
    transform: scale(1.06);
}

/* Footer styling */
.footer-section {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 20px;
}
.footer-section h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 600;
}
.footer-links {
    list-style: none;
    padding-left: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}
.footer-social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Enhancement Base Styles
   ========================================================================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive typography with clamp */
.hero-content h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
}
.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* Gallery Lightbox Overlay */
.gallery-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeInLightbox 0.3s ease;
}
.gallery-lightbox-overlay.active {
    display: flex;
}
.gallery-lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.gallery-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}
@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Touch-friendly improvements */
a, button, .btn, [role="button"] {
    touch-action: manipulation;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Active state for touch feedback */
.btn:active,
.trek-card:active,
.category-card:active {
    transform: scale(0.98);
}

/* Skip to content accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10001;
    transition: top 0.3s;
}
.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   Trek Gallery (Masonry & Details)
   ========================================================================== */
.masonry-gallery {
    column-count: 4;
    column-gap: 15px;
}

.masonry-gallery .masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    break-inside: avoid;
}

.masonry-gallery .masonry-item img {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-gallery .masonry-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

@media (max-width: 991px) {
    .masonry-gallery { column-count: 3; }
}

@media (max-width: 767px) {
    .masonry-gallery { column-count: 2; }
}

/* Mobile Gallery Carousel Styling */
#mobileTrekGallery {
    position: relative;
    background-color: #000;
}
#mobileTrekGallery .carousel-inner {
    background-color: #000;
}
#mobileTrekGallery .carousel-item img {
    opacity: 0.95;
    transition: opacity 0.3s ease;
}
#mobileTrekGallery .carousel-control-prev-icon,
#mobileTrekGallery .carousel-control-next-icon {
    background-color: rgba(17, 34, 17, 0.65);
    background-size: 50% 50%;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}
#mobileTrekGallery .carousel-control-prev:hover .carousel-control-prev-icon,
#mobileTrekGallery .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(45, 90, 39, 0.95);
    transform: scale(1.1);
}
#mobileTrekGallery .carousel-indicators [data-bs-target] {
    background-color: var(--primary-color) !important;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}
#mobileTrekGallery .carousel-indicators .active {
    opacity: 1 !important;
    transform: scale(1.2);
}

/* Floating Callback Button & Modal */
.callback-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    z-index: 1040;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none !important;
    cursor: pointer;
}

.callback-float-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

.callback-float-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.callback-float-btn i {
    font-size: 1.1rem;
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.2) rotate(-15deg); }
    30% { transform: scale(1.2) rotate(15deg); }
    45% { transform: scale(1.2) rotate(-15deg); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Modal aesthetics override */
.callback-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.callback-modal .modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    border-bottom: none;
    padding: 20px 24px;
}

.callback-modal .modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

.callback-modal .modal-body {
    padding: 24px;
}

.callback-modal .form-control, 
.callback-modal .form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.callback-modal .form-control:focus, 
.callback-modal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.15);
}

.callback-modal .modal-footer {
    border-top: none;
    padding: 0 24px 24px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .callback-float-btn {
        bottom: 15px !important;
        right: 15px !important;
        width: 60px !important;
        height: 60px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4) !important;
    }
    .callback-float-btn i {
        font-size: 1.3rem !important;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-search-box {
        padding: 15px !important;
    }
}

/* ==========================================================================
   Safety & Trust Section Custom Responsive CSS Grid
   ========================================================================== */
.trust-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.trust-section-title {
    font-size: 2.25rem;
    font-weight: 700;
}

.trust-section-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.trust-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-feature-card {
    display: flex;
    align-items: start;
    gap: 16px;
}

.trust-feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-feature-desc {
    color: #6c757d;
    margin-bottom: 0;
}

/* Mobile Layout (< 768px) */
@media (max-width: 767px) {
    .trust-grid-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-section.section-padding {
        padding: 40px 20px !important;
    }
    
    .trust-title-area {
        order: 1;
    }
    
    .trust-image-area {
        order: 2;
        margin-bottom: 10px;
    }
    
    .trust-features-area {
        order: 3;
    }
    
    .trust-section-title {
        font-size: 28px !important;
        margin-top: 8px;
        margin-bottom: 16px;
    }
    
    .trust-section-img {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }
    
    .trust-features-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-feature-card {
        background: #FFFFFF !important;
        border-radius: 16px !important;
        padding: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
        display: flex !important;
        align-items: start !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
    }
    
    .trust-feature-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
    }
    
    .trust-feature-title {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .trust-feature-desc {
        font-size: 14px !important;
    }
}

/* Tablet Layout (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .trust-grid-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .trust-title-area {
        order: 1;
    }
    
    .trust-image-area {
        order: 2;
        text-align: center;
    }
    
    .trust-features-area {
        order: 3;
    }
    
    .trust-section-img {
        width: 100% !important;
        max-height: 350px !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }
    
    .trust-features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .trust-feature-card {
        background: #FFFFFF !important;
        border-radius: 16px !important;
        padding: 20px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
        display: flex !important;
        align-items: start !important;
        gap: 16px !important;
        margin-bottom: 0 !important;
    }
    
    .trust-feature-card:nth-child(3) {
        grid-column: span 2;
    }
    
    .trust-feature-icon-wrapper {
        width: 44px !important;
        height: 44px !important;
    }
    
    .trust-feature-title {
        font-size: 19px !important;
    }
    
    .trust-feature-desc {
        font-size: 15px !important;
    }
}

/* Desktop Layout (>= 1025px or >= 992px) */
@media (min-width: 992px) {
    .trust-grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "title image"
            "features image";
        gap: 50px;
        align-items: start;
    }
    
    .trust-title-area {
        grid-area: title;
    }
    
    .trust-image-area {
        grid-area: image;
        height: 100%;
    }
    
    .trust-features-area {
        grid-area: features;
    }
    
    .trust-section-img {
        width: 100% !important;
        height: 100% !important;
        min-height: 480px;
        object-fit: cover !important;
        border-radius: 20px !important;
    }
}

/* ==========================================================================
   Homepage Blogs & Travel Tips Horizontal Carousel
   ========================================================================== */
.blog-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.blog-carousel-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 24px;
    width: 100%;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none; /* Firefox */
    will-change: scroll-position;
}

.blog-carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.blog-carousel-card {
    flex: 0 0 calc(25% - 18px); /* Default desktop: 4 cards visible */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    height: auto;
    transform: translate3d(0, 0, 0); /* GPU acceleration */
    backface-visibility: hidden;
}

.blog-carousel-card .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-carousel-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
}

/* Custom Navigation Buttons */
.blog-carousel-wrapper .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.blog-carousel-wrapper .carousel-nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(45, 90, 39, 0.25);
}

.blog-carousel-wrapper .carousel-nav-btn.prev-btn {
    left: -22px;
}

.blog-carousel-wrapper .carousel-nav-btn.next-btn {
    right: -22px;
}

/* Cursor and snap overrides during mouse drag */
.blog-carousel-container.active-dragging {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

.blog-carousel-container.active-dragging .blog-carousel-card {
    scroll-snap-align: none !important;
}

/* Responsive Behaviour */

/* Large Desktop (>= 1200px) - 4 cards visible */
@media (min-width: 1200px) {
    .blog-carousel-card {
        flex: 0 0 calc(25% - 18px);
    }
}

/* Medium Desktop / Laptop (1025px - 1199px) - 3 cards visible */
@media (min-width: 1025px) and (max-width: 1199.98px) {
    .blog-carousel-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

/* Tablet (768px - 1024px) - 2 cards visible */
@media (min-width: 768px) and (max-width: 1024.98px) {
    .blog-carousel-card {
        flex: 0 0 calc(50% - 12px);
    }
    .blog-carousel-wrapper .carousel-nav-btn.prev-btn {
        left: -12px;
    }
    .blog-carousel-wrapper .carousel-nav-btn.next-btn {
        right: -12px;
    }
}

/* Mobile (< 768px) - 1.25 cards visible, hide arrow controls */
@media (max-width: 767.98px) {
    .blog-carousel-card {
        flex: 0 0 calc(80% - 12px); /* 1.25 cards */
    }
    .blog-carousel-container {
        gap: 16px;
        padding-left: 0;
        padding-right: 0;
    }
    .blog-carousel-wrapper .carousel-nav-btn {
        display: none !important;
    }
}

/* Auto-scrolling Experience Highlights Strip */
.highlights-marquee-section {
    background-color: #FCFDFD;
    padding: 30px 0;
    overflow: hidden;
    width: 100%;
}

.highlights-marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
}

/* Gradient overlays for smooth fade edges on desktop */
.highlights-marquee-container::before,
.highlights-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.highlights-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #FCFDFD 0%, rgba(252, 253, 253, 0) 100%);
}

.highlights-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #FCFDFD 0%, rgba(252, 253, 253, 0) 100%);
}

/* Disable fade edges on mobile to maximize viewport usage */
@media (max-width: 767.98px) {
    .highlights-marquee-container::before,
    .highlights-marquee-container::after {
        width: 30px;
    }
}

.highlights-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (hover: hover) {
    .highlights-marquee-track:hover {
        animation-play-state: paused;
    }
}

.highlight-marquee-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 auto;
    margin: 0 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-sizing: border-box;
}

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

.highlight-marquee-icon {
    font-size: 44px; /* 40px–52px */
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.highlight-marquee-title {
    font-weight: 600;
    font-size: 15px;
    color: #2C3E50;
    margin: 0;
    font-family: var(--font-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mobile responsive rules for Experience Highlights Strip */
@media (max-width: 768px) {
    .highlights-marquee-section {
        padding: 15px 0;
    }
    
    .highlights-marquee-track {
        animation-duration: 48s; /* Slightly slower on mobile */
    }
    
    .highlight-marquee-card {
        width: 110px; /* Target: 90px-120px */
        min-width: 110px;
        max-width: 110px;
        height: 85px; /* Target: 70px-90px */
        padding: 10px; /* Target: 8px-12px */
        margin: 0 8px; /* Reduced gap between cards */
        gap: 6px;
        border-radius: 12px; /* Slightly smaller border radius for compact size */
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }
    
    .highlight-marquee-card:hover {
        transform: none; /* Disable hover transition on mobile touch */
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }

    .highlight-marquee-icon {
        font-size: 26px; /* Target: 24px-32px */
        height: 30px;
    }

    .highlight-marquee-title {
        font-size: 13px; /* Target: 12px-14px */
        white-space: normal; /* Allow text wrapping up to 2 lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.2;
    }
}

/* Premium Trek Highlights Grid */
.trek-highlights-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.trek-highlight-grid-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    gap: 12px;
}

.trek-highlight-grid-icon {
    font-size: 48px; /* Desktop: 48px–56px */
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.trek-highlight-grid-title {
    font-weight: 600;
    font-size: 18px;
    color: #2C3E50;
    margin: 0;
    font-family: var(--font-heading);
}

/* Tablet Layout (4 items per row) */
@media (max-width: 991.98px) {
    .trek-highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .trek-highlight-grid-icon {
        font-size: 38px;
        height: 44px;
    }
    
    .trek-highlight-grid-title {
        font-size: 15px;
    }
}

/* Mobile Layout (3 items per row) */
@media (max-width: 575.98px) {
    .trek-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .trek-highlight-grid-icon {
        font-size: 30px; /* Mobile: 28px–36px */
        height: 36px;
    }
    
    .trek-highlight-grid-title {
        font-size: 13px; /* Mobile: 13px–14px */
    }
}

/* Details Page Amenities Auto-Scrolling Strip */
.details-amenities-strip {
    background-color: #FCFDFD;
    padding: 15px 0; /* compact padding to stay in 80px-100px height limit */
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 30px;
    height: 90px; /* target section height: 80px-100px maximum */
    display: flex;
    align-items: center;
}

.details-amenities-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
}

/* Gradient fade edges for details marquee */
.details-amenities-container::before,
.details-amenities-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.details-amenities-container::before {
    left: 0;
    background: linear-gradient(to right, #FCFDFD 0%, rgba(252, 253, 253, 0) 100%);
}

.details-amenities-container::after {
    right: 0;
    background: linear-gradient(to left, #FCFDFD 0%, rgba(252, 253, 253, 0) 100%);
}

.details-amenities-track {
    display: flex;
    width: max-content;
    animation: detailsMarqueeScroll 40s linear infinite;
    align-items: center;
}

@keyframes detailsMarqueeScroll {
    0 {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (hover: hover) {
    .details-amenities-track:hover {
        animation-play-state: paused;
    }
}

.details-amenity-chip {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 8px; /* compact spacing */
    margin: 0 10px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    border: 1px solid #F0F0F0;
    height: 50px;
}

.details-amenity-icon {
    font-size: 32px; /* Desktop: 32px-36px */
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-amenity-title {
    font-weight: 600;
    font-size: 14px; /* Desktop: 14px-15px */
    color: #2C3E50;
    margin: 0;
    font-family: var(--font-heading);
    white-space: nowrap;
}

/* Mobile responsive rules for details marquee */
@media (max-width: 768px) {
    .details-amenities-strip {
        padding: 10px 0;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .details-amenities-container::before,
    .details-amenities-container::after {
        width: 30px;
    }
    
    .details-amenities-track {
        animation-duration: 45s; /* slightly slower on mobile */
    }
    
    .details-amenity-chip {
        padding: 6px 12px;
        margin: 0 6px;
        gap: 6px;
        height: 40px;
        border-radius: 10px;
    }
    
    .details-amenity-icon {
        font-size: 22px; /* Mobile: 20px-24px */
    }
    
    .details-amenity-title {
        font-size: 11px; /* Mobile: 11px-12px */
    }
}



/* Premium Quick Facts Grid */
.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.quick-fact-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-fact-icon {
    font-size: 28px; /* 28px-32px */
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.quick-fact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0; /* allows text truncation/overflow handling */
}

.quick-fact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6B7280;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.quick-fact-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
    font-family: var(--font-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tablet Layout (3 items per row) */
@media (max-width: 991.98px) {
    .quick-facts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Mobile Layout (2 items per row) */
@media (max-width: 575.98px) {
    .quick-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-fact-card {
        padding: 12px;
        gap: 8px;
    }
    
    .quick-fact-icon {
        font-size: 24px;
        width: 26px;
    }
    
    .quick-fact-value {
        font-size: 0.85rem;
    }
}

/* Redesigned Details Page Styling */
/* ============================================================
   Premium Masonry Hero Gallery — Escape2Explore Style
   ============================================================ */

/* Desktop Masonry Gallery */
.hero-masonry-gallery {
    margin-top: 24px;
    margin-bottom: 30px;
}
.hero-masonry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: clamp(360px, 42vh, 480px);
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

/* Large featured image — spans left 50% */
.hero-masonry-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}

/* Small images — top-right and bottom-right quadrants */
.hero-masonry-small-1 { grid-column: 3 / 4; grid-row: 1 / 2; }
.hero-masonry-small-2 { grid-column: 4 / 5; grid-row: 1 / 2; }
.hero-masonry-small-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.hero-masonry-small-4 { grid-column: 4 / 5; grid-row: 2 / 3; }

.hero-masonry-small {
    position: relative;
    overflow: hidden;
}

/* All masonry images */
.hero-masonry-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: opacity 0.6s ease, transform 0.4s ease;
}
.hero-masonry-grid a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hover zoom effect */
.hero-masonry-large:hover img,
.hero-masonry-small:hover img {
    transform: scale(1.05);
}

/* Fade-in class for auto-rotation */
.hero-masonry-grid img.masonry-fade-out {
    opacity: 0;
}
.hero-masonry-grid img.masonry-fade-in {
    opacity: 1;
}

/* --- Adaptive layouts for fewer images --- */

/* 1 image: full-width single hero */
.hero-masonry-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.hero-masonry-count-1 .hero-masonry-large {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

/* 2 images: 50/50 split */
.hero-masonry-count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}
.hero-masonry-count-2 .hero-masonry-large {
    grid-column: 1 / 2;
    grid-row: 1 / -1;
}
.hero-masonry-count-2 .hero-masonry-small-1 {
    grid-column: 2 / 3;
    grid-row: 1 / -1;
}

/* 3 images: large left, 2 stacked right */
.hero-masonry-count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.hero-masonry-count-3 .hero-masonry-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.hero-masonry-count-3 .hero-masonry-small-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.hero-masonry-count-3 .hero-masonry-small-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* 4 images: large left, 3 stacked right */
.hero-masonry-count-4 {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.hero-masonry-count-4 .hero-masonry-large {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}
.hero-masonry-count-4 .hero-masonry-small-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.hero-masonry-count-4 .hero-masonry-small-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.hero-masonry-count-4 .hero-masonry-small-3 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-masonry-grid {
        height: clamp(280px, 36vh, 380px);
        gap: 6px;
        border-radius: 14px;
    }
}

/* Laptop adjustments */
@media (min-width: 992px) and (max-width: 1439px) {
    .hero-masonry-grid {
        height: clamp(340px, 40vh, 440px);
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero-masonry-grid {
        height: clamp(380px, 42vh, 480px);
    }
}

/* --- Masonry Badge Overlay --- */
.hero-masonry-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-masonry-badges .badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #fff;
    border: none;
}
.hero-masonry-badges .badge-difficulty { color: #fff !important; }
.hero-masonry-badges .badge-difficulty.difficulty-easy { background-color: #2ECC71 !important; }
.hero-masonry-badges .badge-difficulty.difficulty-moderate { background-color: #F1C40F !important; color: #112211 !important; }
.hero-masonry-badges .badge-difficulty.difficulty-difficult { background-color: #E74C3C !important; }

/* ============================================================
   Mobile Swipeable Gallery
   ============================================================ */
.hero-mobile-gallery {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 20px;
    height: clamp(220px, 35vh, 320px);
}
.hero-mobile-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0;
    height: 100%;
}
.hero-mobile-gallery-track::-webkit-scrollbar {
    display: none;
}
.hero-mobile-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100%;
}
.hero-mobile-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-mobile-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.hero-mobile-gallery .hero-masonry-badges {
    position: absolute;
    top: 16px;
    left: 16px;
}

/* ============================================================
   Gallery Preview Thumbnails Strip
   ============================================================ */
.gallery-thumbnails-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
.gallery-thumbnails-strip {
    display: flex;
    gap: 12px;
    padding: 8px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: center;
}
.gallery-thumbnails-strip::-webkit-scrollbar {
    display: none;
}
.gallery-thumb-btn {
    flex: 0 0 120px;
    width: 120px;
    height: 80px;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-thumb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb-btn.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-thumbnails-strip {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .gallery-thumb-btn {
        flex: 0 0 80px;
        width: 80px;
        height: 55px;
    }
}




.details-quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}
.details-quick-fact-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    min-height: 120px;
    max-height: 140px;
    height: 130px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.details-quick-fact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.details-quick-fact-icon {
    font-size: 38px;
    color: var(--primary-color);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.details-quick-fact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.details-quick-fact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.details-quick-fact-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-hover);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.booking-widget-card-premium {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.7);
    padding: 25px;
    z-index: 10;
}

.inclusions-card-premium,
.exclusions-card-premium {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #E5E7EB;
    height: 100%;
}

.reviews-slider-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.reviews-slider-container::-webkit-scrollbar {
    display: none;
}
.reviews-grid-premium {
    display: flex;
    gap: 16px;
}
.review-card-premium {
    flex: 0 0 340px;
    min-width: 280px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .details-quick-facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .details-quick-fact-card {
        padding: 12px 8px;
        height: 110px;
        min-height: 110px;
        border-radius: 12px;
    }
    .details-quick-fact-icon {
        font-size: 28px !important;
        height: 30px !important;
    }
    .details-quick-fact-label {
        font-size: 0.65rem !important;
    }
    .details-quick-fact-value {
        font-size: 15px !important;
    }
}
@media (max-width: 575.98px) {
    .review-card-premium {
        flex: 0 0 85%;
    }
}

/* Carry Badge Chips */
.carry-chip {
    background: #FFFBEB; /* Soft light warm orange tint */
    border: 1px solid #FDE68A;
    color: #B45309;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}
.carry-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.08);
}

/* Pickup Points Metro-Style Timeline */
.pickup-metro-timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 15px;
}
.pickup-metro-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: #E5E7EB;
    border-radius: 2px;
}
.pickup-timeline-item {
    position: relative;
    margin-bottom: 20px;
}
.pickup-timeline-item:last-child {
    margin-bottom: 0;
}
.pickup-timeline-node {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 13px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.pickup-timeline-content {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
}
.pickup-time-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 4px;
}

/* Reusable Horizontal Scroll Container (Related Treks Slider) */
.scroll-row-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 10px 5px 20px;
    scrollbar-width: thin;
}
.scroll-row-container::-webkit-scrollbar {
    height: 6px;
}
.scroll-row-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}
.scroll-row-container::-webkit-scrollbar-thumb {
    background: rgba(25, 135, 84, 0.4);
    border-radius: 10px;
}
.scroll-row-container::-webkit-scrollbar-thumb:hover {
    background: rgba(25, 135, 84, 0.8);
}
.scroll-row-card {
    flex: 0 0 calc(33.333% - 1rem); /* Fits 3 cards nicely in normal layout */
    min-width: 280px;
    margin-bottom: 5px;
}
@media (max-width: 991.98px) {
    .scroll-row-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 250px;
    }
}
@media (max-width: 767.98px) {
    .scroll-row-container {
        scroll-snap-type: x mandatory;
    }
    .scroll-row-card {
        flex: 0 0 270px !important;
        width: 270px !important;
        scroll-snap-align: start;
    }
}



/* --- Mobile UX Audit & Refactoring Enhancements --- */
.hero-mobile-gallery {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 16 / 9; /* Lock 16:9 landscape */
    height: auto;
}

.leading-relaxed {
    line-height: 1.625 !important;
}

.carry-chip {
    max-width: 100%;
    white-space: normal; /* wrap long text */
}

/* Make sure callback btn is compact circle by default on mobile dimensions if overridden */
@media (max-width: 767px) {
    .callback-float-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    .callback-float-btn i {
        font-size: 1.2rem;
        margin: 0;
    }
}

/* =========================================================================
   Trek Details - Dynamic Highlights, Important Notes, & FAQ Accordions
   ========================================================================= */

/* Trek Highlights Grid / Swipe */
.trek-highlights-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    padding: 10px 5px;
    margin: 0;
}
.trek-highlights-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.trek-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.highlight-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(45, 90, 39, 0.08);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(45, 90, 39, 0.08);
    background-color: #EEF5EE; /* slightly darker green on hover */
}

.highlight-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(45, 90, 39, 0.1);
    flex-shrink: 0;
}

.highlight-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}

/* Mobile swipe overrides for highlights */
@media (max-width: 767.98px) {
    .trek-highlights-scroll-wrapper {
        margin: 0 -15px; /* Pull to edges of screen */
        padding: 10px 15px;
    }
    .trek-highlights-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        grid-template-columns: none;
    }
    .highlight-card {
        flex: 0 0 250px;
        max-width: 250px;
    }
}

/* Important Notes formatting */
.important-notes-banner {
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.05);
}
.important-notes-content {
    font-size: 0.95rem;
}
.important-note-item ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}
.important-note-item li {
    margin-bottom: 0.5rem;
}
.important-note-item li:last-child {
    margin-bottom: 0;
}
.important-note-item strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* FAQ Accordion Premium Styling */
#trekFaqAccordion .accordion-item {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    overflow: hidden;
}

#trekFaqAccordion .accordion-item:hover {
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.05);
    border-color: var(--primary-color) !important;
}

#trekFaqAccordion .accordion-button {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color) !important;
    background-color: var(--white) !important;
    padding: 1.25rem 1.5rem !important;
    min-height: 52px; /* Touch target minimum */
    box-shadow: none !important;
    transition: var(--transition);
}

#trekFaqAccordion .accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--border-color);
}

#trekFaqAccordion .accordion-button::after {
    background-size: 1.25rem;
    transition: transform 0.3s ease;
}

#trekFaqAccordion .accordion-button:not(.collapsed)::after {
    filter: sepia(100%) hue-rotate(80deg) saturate(200%) brightness(0.6); /* Color bootstrap chevron to green */
}

#trekFaqAccordion .accordion-body {
    background-color: var(--light-color) !important;
    padding: 1.5rem !important;
    font-size: 0.95rem;
    color: #4A5568 !important;
    line-height: 1.6;
}

/* =========================================================================
   Trek Details - Premium Sticky Booking Sidebar & Mobile CTA Layout
   ========================================================================= */

/* Desktop 70% Content / 30% Sidebar layout overrides */
@media (min-width: 992px) {
    .row-booking-sticky .col-lg-8 {
        width: 70% !important;
        flex: 0 0 70% !important;
        max-width: 70% !important;
    }
    .row-booking-sticky .col-lg-4 {
        width: 30% !important;
        flex: 0 0 30% !important;
        max-width: 30% !important;
    }
}

/* Premium Sticky Booking Sidebar */
.booking-sidebar {
    position: sticky !important;
    top: 100px !important;
    background: var(--white) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(229, 231, 235, 0.7) !important;
    padding: 25px !important;
    z-index: 10 !important;
    transition: var(--transition) !important;
}

/* Mobile responsive resets for the sidebar */
@media (max-width: 991.98px) {
    .booking-sidebar {
        position: static !important;
        top: auto !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
        margin-bottom: 2rem !important;
    }
    
    body {
        padding-bottom: 80px !important; /* Space for sticky bottom CTA bar */
    }
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* Hide on desktop and large screens */
@media (min-width: 992px) {
    .mobile-bottom-cta {
        display: none !important;
    }
}

.mobile-bottom-cta .price-display {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.mobile-bottom-cta .btn-accent {
    font-weight: 700;
    padding: 10px 24px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.2);
}

/* =========================================================================
   13. Hero Live Search Autocomplete Styles
   ========================================================================= */
.dropdown-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 99999;
    margin-top: 5px;
    border: 1px solid var(--border-color);
    display: none;
    text-align: left;
}

.dropdown-results.show {
    display: block;
}

.dropdown-item-suggestion,
.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dropdown-item-suggestion:last-child,
.autocomplete-item:last-child {
    border-bottom: none;
}

.dropdown-item-suggestion:hover,
.dropdown-item-suggestion.active,
.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-item-suggestion i,
.autocomplete-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.dropdown-item-suggestion.no-results,
.autocomplete-item.no-results {
    color: #6B7280;
    cursor: default;
    font-style: italic;
    display: block;
    text-align: center;
    padding: 20px 15px;
}

.dropdown-item-suggestion.no-results:hover,
.autocomplete-item.no-results:hover {
    background-color: transparent;
    color: #6B7280;
}

/* Circular Call Button in Navbar */
.navbar-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color) !important;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    cursor: pointer;
    touch-action: manipulation;
    box-sizing: border-box;
}

.navbar-call-btn:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

.navbar-call-btn i {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Homepage Browse By Category Section
   ========================================================================== */
.categories-section {
    position: relative;
    z-index: 2;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Default 5 cards per row for desktop */
    gap: 24px;
    margin-top: 10px;
}

.category-card-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.1);
    border-color: rgba(45, 90, 39, 0.15);
}

.category-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(45, 90, 39, 0.08); /* Soft primary tint */
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover .category-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.category-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 6px;
    font-family: var(--font-heading);
    line-height: 1.3;
    transition: color 0.2s ease;
}

.category-card:hover .category-title {
    color: var(--primary-color);
}

.category-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6B7280;
}

/* ==========================================================================
   Header Announcement Strip
   ========================================================================== */
.announcement-bar-wrapper {
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    z-index: 1045;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.announcement-bar-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
}

.announcement-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    height: 24px;
}

/* Auto Scroll (Fade/Slide Vertical) */
.announcement-type-auto-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.announcement-type-auto-scroll .announcement-messages-slider {
    position: relative;
    width: 100%;
    height: 24px;
}

.announcement-type-auto-scroll .announcement-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.announcement-type-auto-scroll .announcement-message.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slider (Horizontal Slide) */
.announcement-type-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.announcement-type-slider .announcement-messages-slider {
    position: relative;
    width: 100%;
    height: 24px;
}

.announcement-type-slider .announcement-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.announcement-type-slider .announcement-message.active {
    opacity: 1;
    transform: translateX(0);
}

.announcement-type-slider .announcement-message.prev {
    transform: translateX(-100%);
}

/* Continuous Marquee Scrolling */
.announcement-type-marquee {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    position: relative;
}

.announcement-marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: announcementMarqueeLoop 30s linear infinite;
}

.announcement-marquee-text {
    display: inline-block;
    white-space: nowrap;
    padding-right: 2rem;
}

@keyframes announcementMarqueeLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}





