/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 40px;
    text-align: left;
    min-height: calc(100vh - 100px);
    color: white;
    padding: 0 8%;
    box-sizing: border-box;
    margin-top: 100px;
    overflow-x: hidden;
}

.hero-content {
    flex: 0 1 750px; 
    max-width: 800px;
}

.hero-section h1 {
    font-size: 6rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    font-family: "Playfair Display", serif;
}

.hero-section p {
    font-size: 1.25rem;
    color: #d1d1d1;
    line-height: 1.6;
}

/* --- Scribble Underline Styles --- */
.highlight-word {
    position: relative;
    display: inline-block;
}

.highlight-word svg {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    height: 40px;
    z-index: -1;
    pointer-events: none;
}

.highlight-word svg path {
    stroke: #ff3355;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 0 4px #ff3355);
}


/* ==================================================== */
/* === NEW STYLES FOR FADING IMAGE SLIDER === */
/* ==================================================== */

.hero-image-slider {
    flex: 1;
    max-width: 50px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
   
    right: 50px;
    border-left: 2px white;    
  box-shadow: 10px 10px 5px rgb(0, 166, 222);
}

.hero-image-slider .slide {
    position: absolute;
    top: 14%;
    left: 55%;
    width: 50%;
    height: 85%; /* Image will fill the container's height */
    object-fit: cover; /* Prevents image distortion */
    opacity: 0; /* All slides are invisible by default */
    transition: opacity 1s ease-in-out; /* The fade animation */
    border-radius: 20px;
    
}



.hero-image-slider .slide.active {
    opacity: 1; /* The active slide is visible */
}


/* ==================================================== */
/* === CTA (Button & Stars) === */
/* ==================================================== */

.cta-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap; 
}

.booknow {
    background-color: white;
    color: black;
    padding: 15px 40px;
    height: auto;
    width: auto;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    border: 2px solid transparent; 
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; 
}

.booknow:hover {
    background-color: black;
    color: white;
    border-color: #666; 
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.star-rating .stars {
    color: #a9ffb4; 
    font-size: 1.2rem;
    text-shadow: 0 0 5px #a9ffb466;
}

.star-rating .stars .fas {
    margin-right: 2px;
}

.star-rating .rating-number {
    color: #a9ffb4;
    font-size: 1.3rem;
    font-weight: 700;
}

.star-rating .rating-text {
    color: #b0b0b0; 
    font-size: 1rem;
}

/* ======================================= */
/* === ANIMATED STATS === */
/* ======================================= */
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px 0;
}

.stat-item {
    text-align: left;
    flex: 1;
    min-width: 150px;
}

.stat-item h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.stat-item p {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-item:nth-child(1) h2,
.stat-item:nth-child(4) h2 {
    color: #35c9a4; 
}

.stat-item:nth-child(2) h2 {
    color: #ff9900;
}

.stat-item:nth-child(3) h2 {
    color: #9370DB; 
}


/* --- HERO & STATS RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .hero-image-slider {
        display: none;
    }
    .hero-section {
        justify-content: flex-start;
    }

    .hero-section h1 { font-size: 3rem; }
    .hero-section p { font-size: 1.1rem; }
    .highlight-word svg { bottom: -10px; height: 30px; }

    .stats-container {
        justify-content: flex-start;
        gap: 30px;
    }

    .stat-item {
        flex-basis: calc(50% - 15px);
        min-width: 0;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1rem; }
    .highlight-word svg { bottom: -5px; height: 25px; }

    .stat-item {
        flex-basis: calc(50% - 10px);
        text-align: center;
    }

    .stat-item h2 {
        font-size: 2.2rem;
    }

    .stats-container {
        justify-content: center;
    }
}