/* Custom Home2 Styles */
.promo-slider__item--single {
    /* Adjust if needed for single slide behavior */
    display: block;
}

/* Grid adjustments if needed */
.tours-item {
    /* Ensure consistent height */
    height: 100%;
}

/* --- Safari Card Styles (Ported from Safari Page) --- */

.safari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.safari-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    /* Ensure it fills height if in flex/grid */
    display: flex;
    flex-direction: column;
}

.safari-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.safari-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.safari-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.safari-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fdd340;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}


.safari-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.safari-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.safari-card-duration {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.safari-card-duration::before {
    content: "⏱️";
    font-size: 0.8rem;
}

.safari-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.service-badge img {
    filter: grayscale(50%);
    transition: filter 0.3s ease;
    width: 16px;
    height: 16px;
}

.safari-card:hover .service-badge img {
    filter: grayscale(0%);
}

.safari-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}

.tag-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.tag-badge--custom {
    background: #e7f3ff;
    color: #0066cc;
    border: 1px solid #b3d9ff;
}

.safari-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: auto;
    /* Push to bottom */
}

.safari-card-location {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.safari-card-location::before {
    content: "📍";
    font-size: 0.8rem;
}

.safari-card-dates {
    color: #666;
    font-size: 0.85rem;
    text-align: right;
}

.safari-card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.safari-card-button {
    width: 100%;
    background: #fdd340;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.safari-card-button:hover {
    background: #e6c23a;
    transform: translateY(-1px);
    color: #000;
    text-decoration: none;
}

.booking-close-warning {
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ffc107;
}

@media (max-width: 768px) {
    .safari-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .safari-card-content {
        padding: 1.25rem;
    }
}

/* Slick arrow styles using svg embedded arrows*/
.slick-arrow {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    height: 100% !important;
    width: 24px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    color: #00000000 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.slick-arrow:hover,
.slick-arrow:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    color: #00000000 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.slick-prev.slick-arrow {
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjRweCIgaGVpZ2h0PSI2NHB4IiB2aWV3Qm94PSItMTkuMDQgMCA3NS44MDQgNzUuODA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2ZmZmZmZiIgdHJhbnNmb3JtPSJyb3RhdGUoMTgwKSI+PGcgaWQ9IlNWR1JlcG9fYmdDYXJyaWVyIiBzdHJva2Utd2lkdGg9IjAiPjwvZz48ZyBpZD0iU1ZHUmVwb190cmFjZXJDYXJyaWVyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvZz48ZyBpZD0iU1ZHUmVwb19pY29uQ2FycmllciI+IDxnIGlkPSJHcm91cF82NSIgZGF0YS1uYW1lPSJHcm91cCA2NSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgzMS41NjggLTM4NC40NDgpIj4gPHBhdGggaWQ9IlBhdGhfNTciIGRhdGEtbmFtZT0iUGF0aCA1NyIgZD0iTTgzMy4wNjgsNDYwLjI1MmExLjUsMS41LDAsMCwxLTEuMDYxLTIuNTYxbDMzLjU1Ny0zMy41NmEyLjUzLDIuNTMsMCwwLDAsMC0zLjU2NGwtMzMuNTU3LTMzLjU1OGExLjUsMS41LDAsMCwxLDIuMTIyLTIuMTIxbDMzLjU1NiwzMy41NThhNS41Myw1LjUzLDAsMCwxLDAsNy44MDdsLTMzLjU1NywzMy41NkExLjUsMS41LDAsMCwxLDgzMy4wNjgsNDYwLjI1MloiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD4gPC9nPiA8L2c+PC9zdmc+') no-repeat center center !important;
    background-size: 40px !important;
    filter: brightness(0) saturate(100%) invert(93%) sepia(100%) saturate(2886%) hue-rotate(322deg) brightness(102%) contrast(98%) drop-shadow(0 0 2px #222);
}

.slick-next.slick-arrow {
    right: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjRweCIgaGVpZ2h0PSI2NHB4IiB2aWV3Qm94PSItMTkuMDQgMCA3NS44MDQgNzUuODA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIHN0cm9rZT0iI2ZmZmZmZiIgdHJhbnNmb3JtPSJyb3RhdGUoMCkiPjxnIGlkPSJTVkdSZXBvX2JnQ2FycmllciIgc3Ryb2tlLXdpZHRoPSIwIj48L2c+PGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2c+PGcgaWQ9IlNWR1JlcG9faWNvbkNhcnJpZXIiPiA8ZyBpZD0iR3JvdXBfNjUiIGRhdGEtbmFtZT0iR3JvdXAgNjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC04MzEuNTY4IC0zODQuNDQ4KSI+IDxwYXRoIGlkPSJQYXRoXzU3IiBkYXRhLW5hbWU9IlBhdGggNTciIGQ9Ik04MzMuMDY4LDQ2MC4yNTJhMS41LDEuNSwwLDAsMS0xLjA2MS0yLjU2MWwzMy41NTctMzMuNTZhMi41MywyLjUzLDAsMCwwLDAtMy41NjRsLTMzLjU1Ny0zMy41NThhMS41LDEuNSwwLDAsMSwyLjEyMi0yLjEyMWwzMy41NTYsMzMuNTU4YTUuNTMsNS41MywwLDAsMSwwLDcuODA3bC0zMy41NTcsMzMuNTZBMS41LDEuNSwwLDAsMSw4MzMuMDY4LDQ2MC4yNTJaIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+IDwvZz4gPC9nPjwvc3ZnPg==') no-repeat center center !important;
    background-size: 40px !important;
    filter: brightness(0) saturate(100%) invert(93%) sepia(100%) saturate(2886%) hue-rotate(322deg) brightness(102%) contrast(98%) drop-shadow(0 0 2px #222);
}

/* --- Textual Testimonial Card Styles --- */

.text-testimonial-slider__item {
    padding: 0 15px;
}

.text-testimonial-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.text-testimonial-card:hover {
    transform: translateY(-5px);
}

.text-testimonial-card__quote {
    color: #2d572c;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.text-testimonial-card__quote svg {
    width: 40px;
    height: 40px;
}

.text-testimonial-card__content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.text-testimonial-card__content p {
    color: #333333;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    /* -webkit-line-clamp: 6;
    line-clamp: 6; */
    -webkit-box-orient: vertical;
    overflow: hidden auto;
    height: 154px;
}

.text-testimonial-card__rating {
    color: #f5a623;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.text-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.text-testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #2d572c;
    flex-shrink: 0;
}

.text-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-testimonial-card__info {
    flex-grow: 1;
}

.text-testimonial-card__name {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.text-testimonial-card__designation {
    color: #666666;
    font-size: 0.85rem;
}

/* Responsive adjustments for text testimonial cards */
@media (max-width: 768px) {
    .text-testimonial-card {
        padding: 1.5rem;
        min-height: 280px;
    }

    .text-testimonial-card__content p {
        font-size: 0.95rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .text-testimonial-card__avatar {
        width: 48px;
        height: 48px;
    }
}

.promo-slider__details {
    color: #fff !important;
    margin: 0 auto !important;
    font-size: 14px !important;
    max-width: 800px;
}

.promo-slider__title--style-2 span:first-of-type {
    font-size: 88px !important;
    line-height: 60px !important;
    font-weight: bold !important;
    font-family: "Smooch Sans", sans-serif !important;
    letter-spacing: normal !important;
}

.promo-slider__title--style-2 span:nth-of-type(2) {
    font-size: 30px !important;
    line-height: 30px !important;
    font-weight: normal !important;
}

@media only screen and (min-width: 768px) {
    .promo-slider__details {
        font-size: 18px !important;
    }
}

@media only screen and (min-width: 1200px) {
    .promo-slider__title--style-2 span:first-of-type {
        font-size: 150px !important;
        line-height: 100px !important;
    }

    .promo-slider__title--style-2 span:nth-of-type(2) {
        font-size: 48px !important;
        line-height: 48px !important;
    }

    .promo-slider__details {
        font-size: 20px !important;
    }
}

@media only screen and (min-width: 1600px) {
    .promo-slider__title--style-2 span:first-of-type {
        font-size: 240px !important;
        line-height: 160px !important;
    }

    .promo-slider__title--style-2 span:nth-of-type(2) {
        font-size: 60px !important;
        line-height: 60px !important;
    }

    .promo-slider__details {
        font-size: 22px !important;
    }
}