/* ====================================
   BRAHIM TRAVEL MOROCCO - TOURS PAGE
   Bootstrap 3 Grid System + Modern Design
   ==================================== */

/* CSS Variables for Consistency */
:root {
    --primary-color: #479f5f;
    --primary-dark: #3a8451;
    --primary-light: #5cb879;
    --secondary-color: #2d3748;
    --accent-color: #f7b731;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --green-success: #22c55e;
    --blue-info: #3b82f6;

    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    --gradient-hero: linear-gradient(135deg, rgba(71, 159, 95, 0.85), rgba(92, 184, 121, 0.75));

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}


/* @media (min-width: 1200px) {
    .container {
        width: 1490px !important;
    }
} */

/* Page Banner */
.pagebanner {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.pagebanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.pagebanner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pagebanner h3 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--font-primary);
    animation: fadeInUp 1s ease-out;
}

.pagebanner h3 span {
    color: var(--accent-color);
}

/* Search and Filter Controls */
.tours-controls {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    border: 1px solid var(--gray-200);
}

.search-container {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.tour-search-input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-normal);
    background: var(--gray-100);
}

.tour-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(71, 159, 95, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray-500);
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-button {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-button.active,
.category-button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Tours Grid */
.tours-grid {
    margin-top: var(--spacing-xl);
}

.tours-grid .col-lg-4,
.tours-grid .col-md-6,
.tours-grid .col-sm-6 {
    margin-bottom: 30px;
}

/* Tour Card */
.tour-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    /* height: 100%; */
    border: 1px solid var(--gray-200);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.tour-card-inner {
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

/* Image Section */
.tour-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

/* Top Right Badges */
.tour-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.badge-icon {
    width: 99px;
    height: 34px;
    border-radius: 5%;

    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 4px;
}

.badge-icon:hover {
    transform: scale(1.1);
}

.tripadvisor-badge {
    background: #ffffff;
    color: var(--white);
}

.wifi-badge {
    background: var(--blue-info);
    color: var(--white);
}

/* Content Section */
.tour-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-duration {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.4;
    margin-top: auto;
}

.tour-duration svg {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Footer Section */
.tour-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    display: flex;
    align-items: center;
}

.cancellation-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.cancellation-info svg {
    color: var(--green-success);
}

.green-text {
    color: var(--green-success);
    font-weight: 600;
}

.right-section {
    display: flex;
    align-items: center;
}

.details-btn {
    background: var(--gray-800);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.details-btn:hover {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mad-badge {
    background: var(--green-success);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* No Tours Message */
.no-tours-message {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-xl) 0;
}

.no-tours-message h1 {
    color: var(--gray-600);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-primary);

}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    margin: 0;
    padding: 0;
}

/* Page Banner Styles */
.pagebanner {
    position: relative;
    height: 65vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pagebanner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.pagebanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="rgba(255,255,255,0.1)"><defs><pattern id="grain" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2"/><circle cx="150" cy="50" r="1.5"/><circle cx="100" cy="100" r="2.5"/><circle cx="50" cy="150" r="1"/><circle cx="150" cy="150" r="2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    background-size: 200px 200px;
    animation: sparkle 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0px);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-10px);
    }
}

.pagebanner .container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
}

.pagebanner h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.pagebanner h3 span {
    color: var(--accent-color);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Loading Animation for Cards */
.tour-card {
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.tour-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tour-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tour-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tour-card:nth-child(4) {
    animation-delay: 0.4s;
}

.tour-card:nth-child(5) {
    animation-delay: 0.5s;
}

.tour-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Main Content Area */
.site-main {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
    min-height: 100vh;
    margin-top: 17rem;
}

/* .destination-mainblock {
    padding: var(--spacing-2xl) 0;
} */

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Category Filter Buttons */
.category-buttons {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-button {
    padding: 12px 24px;
    margin: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.category-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.category-button:hover::before {
    left: 100%;
}

.category-button:hover {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.category-button.active {
    background: var(--accent-color);
    color: var(--gray-800);
    box-shadow: var(--shadow-md);
}

/* Tours Grid */
.popular-destination {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.popular-destination-left {
    margin: 0 !important;
    padding: 0;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Tour Card Styles - Updated to Match Reference Design */
.popular-destinatonbox {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    height: 380px;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.popular-destinatonbox:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Image Container */
.tour-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.popular-destinatonbox:hover .tour-image {
    transform: scale(1.05);
}

/* Discount Badge - Top Left */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
    }

    100% {
        box-shadow: 0 4px 16px rgba(229, 62, 62, 0.6);
    }
}

/* Tour Features Icons - Top Right */
.tour-features {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.feature-icon:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.tripadvisor-icon {
    color: #00aa6c;
}

.wifi-icon {
    color: #3182ce;
}

/* Price Overlay - Bottom Right of Image */
.price-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: right;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.price-old {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: #a0aec0;
    margin-bottom: 2px;
}

.price-new {
    font-size: 1rem;
    font-weight: 700;
    color: #48bb78;
}

/* Tour Content Section */
.tour-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-title h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
}

.tour-duration svg {
    color: var(--primary-color);
    animation: rotate 2s linear infinite;
    transform-origin: center;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Bottom Section */
.tour-bottom {
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
}

.tour-content:hover .tour-duration svg {
    animation-play-state: paused;
}

/* Free Cancellation Badge */
.cancellation-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(72, 187, 120, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.cancellation-badge svg {
    color: var(--primary-color);
}

/* Details Button */
.tour-details-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 2px 8px rgba(71, 159, 95, 0.2);
    position: relative;
    overflow: hidden;
}

.tour-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.tour-details-btn:hover::before {
    left: 100%;
}

.tour-details-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 4px 16px rgba(71, 159, 95, 0.4);
}

/* Tours Grid Layout */
.popular-destination-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.popular-destination-left {
    width: 100%;
}

/* No Tours Message */
.row .col-12 h1 {
    text-align: center;
    color: var(--gray-600);
    font-size: 2rem;
    font-weight: 600;
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    font-family: var(--font-primary);
}

/* Special Status Badges */
.blackSatus {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    border-radius: var(--border-radius);
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

/* Responsive Design */

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .pagebanner h3 {
        font-size: 4rem;
    }

    .tours-controls {
        padding: var(--spacing-xl);
    }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) {
    .pagebanner {
        height: 50vh;
        min-height: 350px;
    }

    .pagebanner h3 {
        font-size: 2.5rem;
    }

    .category-buttons {
        justify-content: flex-start;
    }
}

/* Small Screens (768px to 991px) */
@media (max-width: 991px) {
    .pagebanner {
        height: 40vh;
        min-height: 300px;
        background-attachment: scroll;
    }

    .pagebanner h3 {
        font-size: 2rem;
        padding: 0 var(--spacing-sm);
    }

    .tours-controls {
        padding: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }

    .category-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .category-button {
        text-align: center;
        margin: 5px 0;
    }

    .tour-image-wrapper {
        height: 200px;
    }
}

/* Extra Small Screens (767px and below) */
@media (max-width: 767px) {
    .site-main {

        margin-top: 11rem;
    }

    .pagebanner h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .tours-controls {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) 0;
    }

    .tour-search-input {
        padding: 10px 16px 10px 45px;
        font-size: 0.9rem;
    }

    .search-icon {
        left: 15px;
        font-size: 1rem;
    }

    .category-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .tour-image-wrapper {
        height: 180px;
    }

    .tour-content {
        padding: 16px;
    }

    .tour-title {
        font-size: 1rem;
    }

    .tour-duration {
        font-size: 0.8rem;
    }

    .tour-footer {
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .details-btn {
        justify-content: center;
        padding: 10px 16px;
    }

    .tours-grid .col-xs-12 {
        margin-bottom: 20px;
    }
}

/* Print Styles */
@media print {
    .pagebanner {
        height: 200px;
        background: var(--gray-200) !important;
        color: var(--black) !important;
    }

    .tours-controls {
        display: none;
    }

    .tour-card {
        box-shadow: none;
        border: 1px solid var(--black);
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Accessibility Improvements */
.tour-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.category-button:focus,
.details-btn:focus,
.tour-search-input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .pagebanner {
        background-attachment: scroll;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .tour-card {
        border: 2px solid var(--black);
    }

    .tour-title {
        color: var(--black) !important;
    }

    .details-btn {
        border: 2px solid var(--black);
    }
}

/* Performance Optimizations */
.tour-card,
.pagebanner,
.details-btn {
    will-change: transform, opacity;
}

/* Scroll Animation Support */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Filter Animation */
.tour-card {
    transition: all var(--transition-normal);
}

.tour-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Hover Effects Enhancement */
.tour-card:hover .badge-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Button Ripple Effect */
.details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.details-btn:hover::before {
    left: 100%;
}