/* Hero Slider CSS - Matching Reference Design */

/* Hero Section Layout */
.hero {
    padding-top: 120px !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background - Full Teal, no early cutoff */
.hero-bg-top {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: 85% !important;
    background: var(--color-tosca) !important;
    clip-path: none !important;
    z-index: -1;
    overflow: hidden;
}

/* Yellow wave only at bottom - smaller */
.hero-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px !important;
    background: var(--color-yellow) !important;
    clip-path: ellipse(80% 100% at 50% 100%);
    z-index: -1;
}

/* Hero Content */
.hero-content {
    padding-top: 30px;
    z-index: 1;
}

/* Title styling */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.25;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Paragraph with dark teal background box */
.hero-text {
    background: rgba(69, 112, 112, 0.85) !important;
    padding: 20px 25px !important;
    border-radius: 16px !important;
    color: #fff !important;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

/* Hero Slider Container */
.hero-slider {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}

.hero-slider-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

/* Slides Container - Horizontal layout */
.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Individual Slide */
.hero-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.hero-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-slider-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-arrow.prev {
    left: 12px;
}

.hero-slider-arrow.next {
    right: 12px;
}

.hero-slider-arrow svg {
    color: var(--color-tosca);
    width: 16px;
    height: 16px;
}

/* Dots Navigation - positioned in yellow area */
.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(88, 139, 139, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: var(--color-tosca);
    transform: scale(1.3);
}

.hero-slider-dot:hover {
    background: var(--color-tosca);
}

/* Decoration flower */
.hero-decoration.flower {
    top: -15px;
    right: -15px;
    width: 70px;
    z-index: 20;
}

/* Responsive for hero */
@media (max-width: 992px) {
    .hero-slide img {
        height: 320px;
    }
    
    .hero-bg-top {
        height: 80% !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px !important;
    }
    
    .hero-slider {
        max-width: 100%;
    }
    
    .hero-slide img {
        height: 280px;
    }
    
    .hero-slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .hero-slider-arrow.prev {
        left: 8px;
    }
    
    .hero-slider-arrow.next {
        right: 8px;
    }
    
    .hero-text {
        padding: 15px 20px !important;
    }
    
    .hero-bg-top {
        height: 75% !important;
    }
}

/* Testimonial Decoration Icons - Correct Position */
.testimonial {
    position: relative;
    overflow: hidden;
}

.testimonial-decoration {
    position: absolute;
    z-index: 0;
}

/* Windmill - top right corner */
.testimonial-decoration.windmill {
    top: 20px !important;
    left: auto !important;
    right: 50px !important;
    width: 100px !important;
    height: auto;
}

/* Rainbow - bottom left, below TanaParents text */
.testimonial-decoration.rainbow {
    bottom: 20px !important;
    left: 40px !important;
    right: auto !important;
    width: 80px !important;
    height: auto;
}

/* Footer with background image pattern */
.footer {
    background-image: url('../images/footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
