/* ==========================================================================
   NURSERY PREMIUM V8 DESIGN - Clean Institutional High-Impact
   ========================================================================== */

:root {
    --nursery-primary: #f25334;
    /* Vibrant Theme Red-Orange */
    --nursery-secondary: #2390ff;
    /* Professional Blue */
    --nursery-accent: #75c137;
    /* Nature Green */
    --nursery-soft: rgba(242, 83, 52, 0.08);
    --nursery-glass: rgba(255, 255, 255, 0.95);
    --nursery-dark: #1f2235;
    --nursery-border: #f0f0f0;
}

/* --- SECTION WRAPPERS --- */
.nursery-v8-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.nursery-v8-section--alt {
    background: #fbfbfc;
    padding: 60px 0 60px;
}

/* --- V8 HERO COLLAGE --- */
.v8-collage-box {
    position: relative;
    z-index: 1;
}

.v8-image-main {
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border: 15px solid #fff;
    transition: all 0.5s ease;
}

.v8-image-main:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.18);
}

.v8-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.v8-badge-float {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--nursery-primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 15px 30px rgba(242, 83, 52, 0.3);
    z-index: 3;
    animation: bounceSlow 4s infinite ease-in-out;
}

@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.v8-experience-tag {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: #fff;
    padding: 25px 35px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
}

.v8-tag-icon {
    width: 50px;
    height: 50px;
    background: var(--nursery-soft);
    color: var(--nursery-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.v8-tag-info h6 {
    margin: 0;
    font-size: 14px;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
}

.v8-tag-info p {
    margin: 0;
    font-size: 20px;
    color: var(--nursery-dark);
    font-weight: 800;
}

/* --- V8 TEXT CONTENT --- */
.v8-content-box {
    padding-left: 60px;
}

.v8-pre-title {
    display: inline-block;
    padding: 10px 25px;
    background: var(--nursery-soft);
    color: var(--nursery-primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.v8-main-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--nursery-dark);
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 35px;
}

.v8-main-title span {
    color: var(--nursery-primary);
}

.v8-lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    font-weight: 600;
    margin-bottom: 30px;
}

.v8-main-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

/* --- HIGHLIGHT ROW --- */
.v8-highlight-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.v8-highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v8-hi-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #eee;
    color: var(--nursery-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.v8-hi-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--nursery-dark);
}

/* --- V8 FOCUS CARDS GRID --- */
.v8-focus-header {
    text-align: center;
    margin-bottom: 70px;
}

.v8-focus-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid var(--nursery-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.v8-focus-card:hover {
    transform: translateY(-15px);
    border-color: var(--nursery-primary);
    box-shadow: 0 30px 70px rgba(242, 83, 52, 0.12);
}

.v8-fc-icon {
    width: 70px;
    height: 70px;
    background: var(--nursery-soft);
    color: var(--nursery-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.v8-focus-card:hover .v8-fc-icon {
    background: var(--nursery-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.v8-fc-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 26px;
    color: var(--nursery-dark);
    margin-bottom: 20px;
}

.v8-fc-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Focus Card Variations */
.v8-fc--blue .v8-fc-icon {
    background: rgba(35, 144, 255, 0.08);
    color: var(--nursery-secondary);
}

.v8-fc--blue:hover {
    border-color: var(--nursery-secondary);
    box-shadow: 0 30px 70px rgba(35, 144, 255, 0.12);
}

.v8-fc--blue:hover .v8-fc-icon {
    background: var(--nursery-secondary);
}

.v8-fc--green .v8-fc-icon {
    background: rgba(117, 193, 55, 0.08);
    color: var(--nursery-accent);
}

.v8-fc--green:hover {
    border-color: var(--nursery-accent);
    box-shadow: 0 30px 70px rgba(117, 193, 55, 0.12);
}

.v8-fc--green:hover .v8-fc-icon {
    background: var(--nursery-accent);
}

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 1400px) {
    .v8-main-title {
        font-size: 48px;
    }

    .v8-content-box {
        padding-left: 30px;
    }
}

@media (max-width: 1199px) {
    .v8-image-main img {
        height: 500px;
    }

    .v8-content-box {
        padding-left: 0;
        margin-top: 80px;
    }

    .v8-main-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .nursery-v8-section {
        padding: 80px 0;
    }

    .v8-main-title {
        font-size: 34px;
    }

    .v8-lead-text {
        font-size: 18px;
    }

    .v8-image-main {
        border-radius: 40px;
        border-width: 8px;
    }

    .v8-experience-tag {
        padding: 15px 20px;
        gap: 15px;
        transform: scale(0.9);
        bottom: 20px;
        right: 0;
    }

    .v8-focus-card {
        padding: 40px 30px;
    }

    .v8-highlight-row {
        grid-template-columns: 1fr;
    }
}

/* --- V8 SENSORY MOSAIC --- */
.v8-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.v8-mosaic-item {
    position: relative;
    height: 350px;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.v8-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.v8-mosaic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.v8-mosaic-item:hover .v8-mosaic-overlay {
    transform: translateY(0);
    opacity: 1;
}

.v8-mosaic-item:hover img {
    transform: scale(1.1);
}

.v8-mosaic-overlay h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.v8-mosaic-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}