/* ============================================
   SWIFT HOLIDAYS - ENHANCED STYLING
   Modern, robust styling enhancements
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-color: #294256;
    --primary-light: #3a5a73;
    --primary-dark: #1a2d3d;
    --accent-color: #ff6b35;
    --accent-hover: #ff8555;
    --gradient-primary: linear-gradient(135deg, #294256 0%, #3a5a73 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    --shadow-sm: 0 2px 8px rgba(41, 66, 86, 0.08);
    --shadow-md: 0 4px 20px rgba(41, 66, 86, 0.12);
    --shadow-lg: 0 8px 40px rgba(41, 66, 86, 0.16);
    --shadow-hover: 0 12px 48px rgba(41, 66, 86, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

/* ============================================
   GLOBAL ENHANCEMENTS
   ============================================ */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Smooth section transitions */
section, [class*="-area"] {
    position: relative;
}

/* Enhanced typography */
.it-section-subtitle {
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.it-section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.it-section-title {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-primary , white);
}

/* ============================================
   SLIDER / HERO SECTION ENHANCEMENTS
   ============================================ */
.it-slider-area {
    position: relative;
}

.it-slider-item {
    position: relative;
}

.it-slider-title-box h1 {
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.it-slider-title-box .it-section-subtitle {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    display: inline-block;
}

.it-slider-title-box .it-section-subtitle::after {
    display: none;
}

/* ============================================
   SEARCH BOX / TOUR PACKAGE ENHANCEMENTS
   ============================================ */
.it-tour-package-wrap {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 35px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

.it-tour-package-wrap:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.it-tour-package-item {
    padding: 12px 0;
}

.it-tour-package-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-right: 15px;
    transition: var(--transition-normal);
}

.it-tour-package-icon i {
    color: white;
    font-size: 18px;
}

.it-tour-package-item:hover .it-tour-package-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(41, 66, 86, 0.3);
}

.it-tour-package-title {
    color: var(--color-primary , #294256);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced form controls */
.it-tour-package-wrap .form-control,
.it-tour-package-wrap select {
    border: 2px solid var(--color-primary ,#e8eef3 );
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    transition: var(--transition-fast);
    background: #f8fafc;
    color: var(--color-primary ,#e8eef3);
}

.it-tour-package-wrap .form-control:focus,
.it-tour-package-wrap select:focus {
    border-color: var(--color-primary , black);
    box-shadow: 0 0 0 4px var(--color-primary-light , rgba(41, 66, 86, 0.1));
    background: white;
    outline: none;
}


/* Date quick buttons */
.it-tour-package-wrap button[name="date"] {
    background: var(--gradient-primary) !important;
    border: none;
    border-radius: var(--border-radius-md) !important;
    padding: 12px 18px !important;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.it-tour-package-wrap button[name="date"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Search button */
.it-tour-package-wrap button[name="abcdefg"] {
    background: var(--gradient-primary ,linear-gradient(135deg, #ff6b35 0%, #ff8555 100%)) !important;
    border: none;
    border-radius: var(--border-radius-md) !important;
    padding: 15px 20px !important;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.it-tour-package-wrap button[name="abcdefg"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.it-tour-package-wrap button[name="abcdefg"] i {
    font-size: 18px;
}

/* ============================================
   DESTINATION GALLERY ENHANCEMENTS
   ============================================ */
.it-destination-area {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Ensure slider wrapper takes full width */
.it-destination-slider-wrap {
    width: 100%;
    overflow: hidden;
}

.it-destination-slider-active {
    width: 100%;
    overflow: visible;
}

.it-destination-slider-active .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.it-destination-slider-active .swiper-slide {
    height: auto;
    opacity: 1 !important;
}

.it-destination-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.it-destination-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.it-destination-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.it-destination-item:hover::before {
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
}

.it-destination-thumb img {
    transition: var(--transition-slow);
}

.it-destination-item:hover .it-destination-thumb img {
    transform: scale(1.1);
}

.it-destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
}

.it-destination-content b {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
}

.it-destination-content a {
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.it-destination-content a:hover {
    color: var(--accent-color);
}

/* ============================================
   ABOUT SECTION ENHANCEMENTS
   ============================================ */
.it-about-area {
    position: relative;
    overflow: hidden;
}

/* Stacked Images Layout */
.about-images-stack {
    position: relative;
    height: 450px;
    width: 100%;
    margin: 20px 0;
}

.stack-image {
    position: absolute;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(41, 66, 86, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
}

.stack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* First Image - Bottom Left (Largest) */
.stack-image-1 {
    width: 320px;
    height: 380px;
    left: 0;
    bottom: 0;
    z-index: 1;
    transform: rotate(-3deg);
}

.stack-image-1:hover {
    z-index: 10;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 60px rgba(41, 66, 86, 0.3);
}

/* Second Image - Top Right (Medium) */
.stack-image-2 {
    width: 280px;
    height: 320px;
    right: 20px;
    top: 0;
    z-index: 2;
    transform: rotate(4deg);
}

.stack-image-2:hover {
    z-index: 10;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 60px rgba(41, 66, 86, 0.3);
}

/* Third Image - Center (Small, on top) */
.stack-image-3 {
    width: 200px;
    height: 240px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    z-index: 3;
}

.stack-image-3:hover {
    z-index: 10;
    transform: translate(-50%, -50%) rotate(0deg) scale(1.08);
    box-shadow: 0 25px 60px rgba(41, 66, 86, 0.3);
}

/* Decorative elements for stack */
.about-images-stack::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary ,linear-gradient(135deg, #ff6b35 0%, #ff8555 100%));
    border-radius: 50%;
    bottom: -20px;
    right: 80px;
    opacity: 0.15;
    z-index: 0;
}

.about-images-stack::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20px;
    left: -10px;
    opacity: 0.2;
    z-index: 0;
}

/* Responsive adjustments for stacked images */
@media (max-width: 1199px) {
    .about-images-stack {
        height: 400px;
    }

    .stack-image-1 {
        width: 280px;
        height: 340px;
    }

    .stack-image-2 {
        width: 240px;
        height: 280px;
        right: 10px;
    }

    .stack-image-3 {
        width: 180px;
        height: 220px;
    }
}

@media (max-width: 991px) {
    .about-images-stack {
        height: 380px;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .stack-image-1 {
        width: 260px;
        height: 320px;
    }

    .stack-image-2 {
        width: 220px;
        height: 260px;
    }

    .stack-image-3 {
        width: 160px;
        height: 200px;
    }
}

@media (max-width: 575px) {
    .about-images-stack {
        height: 320px;
    }

    .stack-image-1 {
        width: 200px;
        height: 260px;
        left: 10px;
    }

    .stack-image-2 {
        width: 170px;
        height: 210px;
        right: 10px;
    }

    .stack-image-3 {
        width: 130px;
        height: 160px;
    }

    .stack-image {
        border-width: 3px;
    }
}

.it-about-content {
    padding: 20px 0;
}

.it-about-title-box p {
    line-height: 1.8;
    color: #4a5568;
}

.it-btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.it-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
    background: var(--gradient-primary , linear-gradient(135deg, #ff6b35 0%, #ff8555 100%));
}

/* ============================================
   FEATURED TOURS ENHANCEMENTS
   ============================================ */
.it-featured-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.it-featured-shape-1,
.it-featured-shape-2 {
    opacity: 0.6;
    transition: var(--transition-slow);
}

.it-featured-area:hover .it-featured-shape-1,
.it-featured-area:hover .it-featured-shape-2 {
    opacity: 1;
}

/* Tour Package Cards */
.tour-package-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tour-package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tour-package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.tour-package-card:hover .tour-package-image img {
    transform: scale(1.1);
}

.tour-package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tour-package-badge.best-seller {
    background: var(--gradient-accent);
}

.tour-package-badge.new {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.tour-package-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    text-align: center;
}

.tour-package-price .price-from {
    display: block;
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-package-price .price-amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.tour-package-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-package-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e8eef3;
}

.tour-package-route .route-from,
.tour-package-route .route-to {
    font-size: 13px;
    color: #718096;
}

.tour-package-route .route-from i,
.tour-package-route .route-to i {
    color: var(--primary-color);
    margin-right: 4px;
}

.tour-package-route .route-arrow {
    color: var(--accent-color);
    font-size: 12px;
}

.tour-package-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.tour-package-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tour-package-info .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #718096;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 20px;
    flex: 1;
    justify-content: center;
    min-width: 80px;
}

.tour-package-info .info-item i {
    color: var(--primary-color);
    font-size: 12px;
}

.tour-package-btn {
    display: block;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    margin-top: auto;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.tour-package-btn:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.tour-package-btn i {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.tour-package-btn:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments for tour cards */
@media (max-width: 767px) {
    .tour-package-info {
        gap: 8px;
    }

    .tour-package-info .info-item {
        padding: 6px 10px;
        font-size: 12px;
    }

    .tour-package-title {
        font-size: 16px;
    }
}

/* ============================================
   VIDEO / APP DOWNLOAD SECTION ENHANCEMENTS
   ============================================ */
.it-video-area {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.it-video-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(41, 66, 86, 0.75) 0%, rgba(26, 45, 61, 0.8) 100%);
    z-index: 1;
}

.it-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.it-video-content h3 {
    font-weight: 700;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
}

.it-video-content p {
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto 25px;
}

.it-video-button {
    justify-content: center;
}

.it-video-button a {
    display: inline-block;
    transition: var(--transition-normal);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.it-video-button a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.it-video-button a img {
    border-radius: var(--border-radius-sm);
}

/* ============================================
   FUNFACT / STATISTICS SECTION ENHANCEMENTS
   ============================================ */
.it-funfact-area {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.it-funfact-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.it-funfact-item {
    padding: 25px 15px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.it-funfact-item:hover {
    background: var(--color-primary-hover ,   rgba(255, 255, 255, 0.1));
    transform: translateY(-5px);
}

.it-funfact-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
}

.it-funfact-text p {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.it-funfact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-left: 20px;
    transition: var(--transition-normal);
}

.it-funfact-item:hover .it-funfact-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(180deg);
}

.it-funfact-icon svg {
    width: 30px;
    height: 30px;
}

/* ============================================
   WHY CHOOSE US SECTION ENHANCEMENTS
   ============================================ */
.it-chooseus-area {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.it-chooseus-title-box p {
    line-height: 1.8;
    color: #4a5568;
}

.it-chooseus-thumb-box {
    position: relative;
}

.it-chooseus-thumb {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.it-chooseus-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(41, 66, 86, 0.1) 0%, transparent 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.it-chooseus-thumb:hover::before {
    opacity: 0;
}

.it-chooseus-thumb img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
    border-radius: var(--border-radius-lg);
}

.it-chooseus-thumb:hover img {
    transform: scale(1.05);
}

/* ============================================
   TESTIMONIAL SECTION ENHANCEMENTS
   ============================================ */
.it-testimonial-area {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

/* Ensure testimonial slider shows all items */
.it-testimonial-active {
    width: 100%;
    overflow: hidden;
    max-width: 1200px !important;
}

.it-testimonial-active .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.it-testimonial-active .swiper-slide {
    height: auto;
    opacity: 1 !important;
}

.it-testimonial-shape-1,
.it-testimonial-shape-2 {
    opacity: 0.5;
}

.it-testimonial-item {
    background:var(--color-primary-light  , white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: 0 4px 20px var(--color-primary-light , rgba(41, 66, 86, 0.12));
    transition: var(--transition-normal);
    border: 1px solid #e8eef3;
    position: relative;
    overflow: hidden;
}

.it-testimonial-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 150px;
    font-family: Georgia, serif;
    color: rgba(41, 66, 86, 0.05);
    line-height: 1;
    z-index: 0;
}

.it-testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow:0 12px 48px var(--color-primary-hover,  rgba(41, 66, 86, 0.2));
    border-color: transparent;
}

.it-testimonial-dsc {
    position: relative;
    z-index: 1;
}

.it-testimonial-dsc p {
    font-size: 16px;
    line-height: 1.8;
    color:var(--color-primary , #4a5568);
    font-style: italic;
}

.it-testimonial-avater-box {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8eef3;
}

.it-testimonial-avater-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary , #294256);
    box-shadow: var(--shadow-sm);
    margin-right: 15px;
}

.it-testimonial-avater-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.it-testimonial-avater-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.it-testimonial-avater-icon i {
    color: white;
    font-size: 10px;
    background-color: var(--color-primary , green);
}

.it-testimonial-avater-title {
    font-size: 18px;
    font-weight: 700;
        color: var(--color-primary , #294256);
    margin-bottom: 2px;
}

.it-testimonial-avater-designation {
    font-size: 14px;
    color:var(--color-primary ,  #718096);
    font-weight: 500;
}

/* ============================================
   BLOG SECTION ENHANCEMENTS
   ============================================ */
.it-blog-area {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.it-blog-area .card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--color-primary,#e8eef3 )!important;
}

.it-blog-area .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px var(--color-primary-light , rgba(41, 66, 86, 0.2));
    border-color: transparent !important;
}
.flatpickr-day.selected {
    background: var(--color-primary ,#569ff7) !important;
    border-color: var(--color-primary ,#569ff7)!important; ;
}
.it-blog-area .card-img-top {
    transition: var(--transition-slow);
}

.it-blog-area .card:hover .card-img-top {
    transform: scale(1.08);
}

.it-blog-area .card-body {
    padding: 25px;
}

.it-blog-area .card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.it-blog-area .card-title a {
    transition: var(--transition-fast);
}

.it-blog-area .card-title a:hover {
    color: var(--accent-color) !important;
}

.it-blog-area .btn-outline-primary {
    border: 2px solid var(--color-primary , black);
    color: var(--color-primary , black);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.it-blog-area .btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateX(5px);
}

/* ============================================
   SELECT2 ENHANCEMENTS
   ============================================ */
.select2-container--default .select2-selection--single {
    border: 2px solid #e8eef3 !important;
    border-radius: var(--border-radius-sm) !important;
    background: #f8fafc !important;
    transition: var(--transition-fast);
}

.select2-container--default .select2-selection--single:hover {
    border-color: var(--primary-light) !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(41, 66, 86, 0.1) !important;
    background: white !important;
}

.select2-dropdown {
    border: 2px solid #e8eef3;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    margin-top: 5px;
}

.select2-results__option--highlighted {
    background: var(--color-primary , #294256) !important;
}
.select2-results__option--selectable{
    color:var(--color-primary , black) ;
}
select option:hover{
    background: var(--color-primary , blue)!important;
}
/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    .it-tour-package-wrap {
        padding: 25px 20px;
    }

    .it-funfact-number {
        font-size: 32px;
    }

    .it-testimonial-item {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .it-tour-package-icon {
        width: 40px;
        height: 40px;
    }

    .it-tour-package-icon i {
        font-size: 14px;
    }

    .it-funfact-item {
        padding: 15px 10px;
    }

    .it-funfact-number {
        font-size: 28px;
    }

    .it-funfact-icon {
        width: 45px;
        height: 45px;
        margin-left: 10px;
    }

    .it-testimonial-item::before {
        font-size: 100px;
    }
}

/* ============================================
   GLOBAL MOBILE HARDENING
   ============================================ */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .it-header-top-area .it-header-top-left ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin: 0;
        padding: 8px 0;
    }

    .it-header-top-area .it-header-top-left li {
        margin: 0 !important;
    }

    .it-header-top-right {
        justify-content: flex-start !important;
        padding-bottom: 8px;
    }

    .it-main-logo img {
        max-height: 56px;
        width: auto;
    }

    .it-tour-package-wrap {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .it-tour-package-item {
        padding: 8px 0;
    }

    .it-tour-package-main .row.align-items-end {
        row-gap: 12px;
    }
}

@media (max-width: 767px) {
    .it-slider-title-box {
        margin-bottom: 36px !important;
    }

    .it-slider-title-box h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .it-slider-title-box .it-section-subtitle {
        font-size: 14px;
        padding: 6px 14px;
    }

    .it-tour-package-main .it-tour-package-item + div {
        width: 100%;
    }

    .it-tour-package-wrap button[name="date"] {
        min-width: calc(50% - 6px);
        margin: 0 !important;
    }

    .it-tour-package-wrap button[name="abcdefg"] {
        width: 100%;
    }

    .it-destination-content {
        padding: 14px;
    }

    .it-destination-content b {
        font-size: 15px;
    }

    .it-footer-area .it-footer-widget {
        text-align: left;
    }

    .it-footer-area table {
        width: 100%;
    }

    .it-copyright-text p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Search page and trip list responsiveness */
    #contentss .jumbotron .container {
        max-height: none !important;
    }

    #contentss .jumbotron .row > [class*="col-"] {
        width: 100%;
    }

    #contentss nav.float-md-right {
        float: none !important;
        margin-top: 8px;
    }

    #contentss form.container-fluid .row {
        row-gap: 10px;
    }

    #contentss .form-group[style*="margin-left"] {
        margin-left: 0 !important;
    }

    #contentss .hideSidebar {
        margin-left: 0 !important;
        width: 100% !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: flex !important;
        flex-wrap: nowrap !important;
        height: auto !important;
        padding: 0;
    }

    #contentss .hideSidebar .btn {
        min-width: 120px;
        border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
        border-radius: 0;
        flex: 0 0 auto;
    }

    #contentss #trip-list-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #contentss .trip-tabs {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        row-gap: 0 !important;
        white-space: nowrap;
        display: flex;
        padding-bottom: 4px;
    }

    #contentss .trip-tabs > div {
        flex: 0 0 auto;
    }
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to sections */

.it-about-area,
.it-featured-area,
.it-video-area,
.it-funfact-area,
.it-chooseus-area,
.it-testimonial-area,
.it-blog-area {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   LOADING STATES
   ============================================ */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev {
    opacity: 1;
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   SECONDARY BUTTON STYLES
   ============================================ */
.it-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.it-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   APP DOWNLOAD BUTTONS
   ============================================ */
.app-download-btn {
    display: inline-block;
    transition: var(--transition-normal);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.app-download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--color-primary , rgba(0, 0, 0, 0.25));
}

.app-download-btn img {
    border-radius: var(--border-radius-sm);
    display: block;
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ============================================
   RATING STARS
   ============================================ */
.it-testimonial-rating i {
    font-size: 14px;
    margin-right: 2px;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ============================================
   HOVER LIFT EFFECT
   ============================================ */
.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 20px auto;
    border-radius: 2px;
}

/* ============================================
   GLASS EFFECT
   ============================================ */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .it-slider-area,
    .it-video-area,
    .it-funfact-area {
        background: white !important;
        color: black !important;
    }
}

.it-about-area{
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 500px) {

    .it-about-area{
        padding-top: 0;
        padding-bottom: 30px;
    }

    .it-featured-area{
        padding-bottom: 30px;
        padding-top: 30px;
    }
    .hideMobile{
        display: none !important;
    }
    .hideSidebar{
        display: none !important;
    }
    #hideSidebar{
        display: none !important;
    }
}
/* MOBILE RESPONSIVE FIX */
@media (max-width: 768px) {

    /* Trip card spacing */
    .trip-infos{
        padding:12px !important;
        margin-top:12px;
    }

    /* Stack main sections */
    .tripinfo-container .row{
        flex-direction:column;
    }

    .tripinfo-container .col-8,
    .tripinfo-container .col-4{
        width:100%;
        max-width:100%;
        flex:0 0 100%;
    }

    .tripinfo-container .col-4{
        border-left:none !important;
        margin-top:10px;
        padding-left:0 !important;
    }

    /* Bus name */
    .trip-operator{
        font-size:16px;
    }

    /* Bus type */
    .trip-bustype{
        font-size:13px;
    }

    /* Time layout */
    .trip-starttime,
    .trip-endtime{
        font-size:16px;
        font-weight:600;
    }

    .trip-duration{
        font-size:13px !important;
    }

    /* price section */
    .trip-fare{
        font-size:18px;
        font-weight:700;
    }

    /* seats available */
    .trip-seatsavail{
        font-size:16px;
        font-weight:600;
    }

    /* tabs scroll */
    .trip-tabs{
        overflow-x:auto;
        flex-wrap:nowrap;
        white-space:nowrap;
        margin-top:10px;
    }

    .trip-tabs .col-auto{
        font-size:13px;
        padding-right:15px;
    }

    /* button */
    .trip-viewbusmap{
        width:100%;
        margin-top:10px;
    }

    /* Amenities grid */
    [data-tabcontent="AMENITIES"] .col-3{
        flex:0 0 50%;
        max-width:50%;
    }

    /* Boarding dropping stack */
    [data-tabcontent="STATIONPOINTS"] .col-md-6{
        flex:0 0 100%;
        max-width:100%;
        border-left:none !important;
        margin-top:10px;
    }

    /* Seat layout scroll */
    .busmap-overflow{
        overflow-x:auto;
    }

    /* Seat layout scale */
    .busmap-layers{
        transform:scale(0.9);
        transform-origin:top center;
    }

    /* Selected seat panel */
    #selected-seat-panel{
        margin-top:20px;
    }

}

/* EXTRA SMALL PHONES */
@media (max-width:480px){

    .trip-starttime,
    .trip-endtime{
        font-size:14px;
    }

    .trip-duration{
        font-size:12px !important;
    }

    .trip-fare{
        font-size:16px;
    }

    .trip-operator{
        font-size:14px;
    }

    .trip-tabs .col-auto{
        font-size:12px;
    }

    .busmap-layers{
        transform:scale(0.8);
    }

}
