.yellow-bg {
    background-image: url('/content/dam/incredible-india/images/global/background-images/experience-bg.jpg');
    background-size: cover;
}

/* --- Base & Color Variables --- */
:root {
    --color-accent: #DA3732;
    --color-white: #FFFFFF;
    --color-text-primary: #000;
    --color-text-secondary: #000;
    --color-bg-light: #f8f8f8;
    --color-star: #FFC300;
}

.section-container {
    padding: 64px 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.header-section {
    text-align: center;
    margin-bottom: 48px;
}

.header-section h2 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.header-section h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.025em;
}

.header-section p {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border-bottom: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--color-accent);
    /* Deep red hover effect */
}

.star-rating {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.star-filled {
    color: var(--color-star);
    font-size: 1.25rem;
    line-height: 1;
}

.testimonial-text {
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    /* Limits text to 6 lines */
    -webkit-box-orient: vertical;
}

.client-name {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 16px;
}

.client-style {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* --- Call to Action Button --- */
.cta-center {
    margin-top: 64px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-accent);
    /* Deep Red/Maroon */
    color: var(--color-white);
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.1s;
}

.cta-button:hover {
    background-color: #A32A26;
    /* Slightly darker shade of the accent color */
    transform: translateY(-1px);
}

.testinomial-bg {
    background: url('../../../content/dam/incredible-india/images/global/testinomial-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 70px;
}

/* --- Slider Wrapper --- */
.slider-wrapper {
    position: relative;
    /* For absolute positioning of nav buttons */
    overflow: hidden;
    /* Hides cards outside the view */
}

/* --- Slider Track (formerly Testimonial Grid) --- */
.testimonial-grid {
    /* Override grid settings to create a horizontal flex track */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    /* Allows for manual horizontal scrolling */
    scroll-behavior: smooth;
    /* Key for the smooth transition effect */
    gap: 32px;
    padding-bottom: 20px;
    /* Add space for scroll bar visibility, if any */
    -webkit-overflow-scrolling: touch;
    /* Improved scrolling on iOS */

    /* Scroll snapping for perfect alignment on scroll/slide */
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar for cleaner look (optional) */
.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-grid {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* --- Testimonial Card inside the Slider --- */
.testimonial-card {
    /* Force card to take up specific width and snap to the viewport */
    flex-shrink: 0;
    /* Prevents cards from shrinking */
    scroll-snap-align: start;
    /* Card aligns to the start of the scroll container */

    /* Default: One card per view on mobile */
    width: calc(100% - 32px);
    /* 100% of container minus the gap on one side */
}

/* Media Query Overrides for Card Widths */
@media (min-width: 768px) {
    .testimonial-grid {
        /* This override is no longer needed since we are using flex/scroll */
        /* grid-template-columns: repeat(2, 1fr); <--- DELETE THIS */
    }

    .testimonial-card {
        /* Tablet: Two cards per view */
        width: calc(50% - 48px);
        /* (100% / 2) - half the gap on both sides */
    }
}

@media (min-width: 1024px) {
    .testimonial-grid {
        /* grid-template-columns: repeat(4, 1fr); <--- DELETE THIS */
    }

    .testimonial-card {
        /* Desktop: Four cards per view */
        width: calc(25% - 24px);
        /* (100% / 4) - half the gap on both sides */
    }
}

/* --- Navigation Button Styling (Needs JS to function) --- */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:hover {
    background-color: #A32A26;
}

.prev-btn {
    left: 0px;
    display: none !important;
}

.next-btn {
    right: 0px;
    display: none !important;
}

#whatsapp {
    position: fixed;
    right: 10px;
    top: 92%;
    width: 70px;
    height: 70px;
    cursor: pointer;
    opacity: 1;
    z-index: 99990;
}

#whatsapp #whatsappMain {
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: rgba(255, 255, 255, 0);
    width: 70px;
    height: 70px;
    color: #40c351;
    z-index: 9;
    /*
        -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
        -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
        animation: zcwmini2 1.5s 0s ease-out infinite;*/
}

#whatsapp #whatsappMain:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    background-image: url('../../../content/dam/incredible-india/images/global/whatsapp.svg');
    background-repeat: no-repeat;
    background-position: center center;
    /*
            -webkit-animation: zcwphone2 1.5s linear infinite;
            -moz-animation: zcwphone2 1.5s linear infinite;
            animation: zcwphone2 1.5s linear infinite;*/
}

@media (min-width: 300px) and (max-width: 799px) {
    .inc-carousel-attr .inc-attraction-v1-img img {
        border-radius: 0;
        height: auto;
        min-height: auto !important;
        width: 100%;
    }
    #whatsapp {
        position: fixed;
        right: 10px;
        top: 90%;
        width: 70px;
        height: 70px;
        cursor: pointer;
        opacity: 1;
        z-index: 99990;
    }
}

#engtWrapper {
    display: none;
}