/* Home page categories section */
.webx-categories-wrapper {
    color: #242424;
    padding: 35px 15px 5px;
    text-align: center;
    background: linear-gradient(135deg, #fef9f5, #e8f9ff);
}

.webx-categories-wrapper .categories-title {
    color: #b39ddb;
    font-size: 40px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.webx-categories-wrapper .categories-subtitle {
    color: #59c4c5;
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.webx-categories-wrapper .item {
    padding: 20px 5px;
}

.webx-categories-wrapper .webx-category-card {
    background: linear-gradient(135deg, #fef9f5, #e8f9ff);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.webx-categories-wrapper .webx-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.15);
}

.webx-categories-wrapper .webx-category-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.webx-categories-wrapper .webx-category-content {
    padding: 25px 20px 0;
}

.webx-categories-wrapper .webx-category-title {
    font-size: 22px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 10px;
}

.webx-categories-wrapper .webx-category-desc {
    font-size: 15px;
    color: #242424;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 45px;
}

.webx-categories-wrapper .webx-shop-btn {
    background-color: #b39ddb;
    color: #fff !important;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.webx-categories-wrapper .webx-shop-btn:hover {
    background-color: #4fb4af;
}

@media (max-width: 768px) {
    .webx-categories-wrapper .categories-title {
        font-size: 36px;
    }

    .webx-categories-wrapper .categories-subtitle {
        margin-bottom: 0;
    }
}

/* Home page categories section */

/* Home page testimonials section */

.webx-review-section {
    padding: 25px 15px;
    background: #fefefe;
    position: relative;
    text-align: center;
    overflow: hidden;
    color: #242424;
}

.webx-review-section .webx-review-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 40px;
    color: #b39ddb;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.webx-review-section .webx-review-subtitle {
    font-size: 20px;
    color: #59c4c5;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.webx-review-section .webx-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.webx-review-section .webx-review-grid-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.webx-review-section .webx-review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 2px dashed #f0d57d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: webx-popIn 0.8s ease forwards;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.webx-review-section .webx-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.webx-review-section .webx-review-stars {
    font-size: 18px;
    color: #f0d57d;
    margin-bottom: 10px;
}

.webx-review-section .webx-review-card h3 {
    font-size: 16px;
    color: #59c4c5;
    margin-bottom: 8px;
}

.webx-review-section .webx-review-card p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

@keyframes webx-popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.webx-review-section .webx-bubble-icon-group {
    position: absolute;
    bottom: 5px;
    left: 10px;
    pointer-events: none;
}

.webx-review-section .webx-bubble-icon {
    position: absolute;
    font-size: 20px;
    opacity: 0.8;
    animation: webx-floatBubble 4s ease-in-out infinite;
}

.webx-review-section .webx-bubble-icon:nth-child(1) {
    animation-delay: 0s;
    left: 0;
}

.webx-review-section .webx-bubble-icon:nth-child(2) {
    animation-delay: 0.2s;
    left: 15px;
}

.webx-review-section .webx-bubble-icon:nth-child(3) {
    animation-delay: 0.4s;
    left: 30px;
}

@keyframes webx-floatBubble {
    0% {
        transform: translateY(0) scale(0.6);
        opacity: 0.8;
    }

    30% {
        transform: translateY(-40px) scale(0.8);
        opacity: 0.6;
    }

    60% {
        transform: translateY(-80px) scale(1.0);
        opacity: 0.4;
    }

    100% {
        transform: translateY(-140px) scale(1.3);
        opacity: 0;
    }
}

.webx-review-section .webx-outside-float {
    position: absolute;
    font-size: 28px;
    opacity: 0.2;
    animation: webx-floatOutside 16s linear infinite;
}

@keyframes webx-floatOutside {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    20% {
        transform: translateY(-100px) translateX(10px) rotate(10deg);
        opacity: 0.6;
    }

    40% {
        transform: translateY(-200px) translateX(-10px) rotate(15deg);
        opacity: 0.4;
    }

    60% {
        transform: translateY(-300px) translateX(15px) rotate(20deg);
        opacity: 0.2;
    }

    80% {
        transform: translateY(-400px) translateX(-15px) rotate(25deg);
        opacity: 0.1;
    }

    100% {
        transform: translateY(-500px) rotate(30deg);
        opacity: 0;
    }
}

@keyframes webx-floatOutsideDown {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    20% {
        transform: translateY(100px) translateX(10px) rotate(10deg);
        opacity: 0.6;
    }

    40% {
        transform: translateY(200px) translateX(-10px) rotate(15deg);
        opacity: 0.4;
    }

    60% {
        transform: translateY(300px) translateX(15px) rotate(20deg);
        opacity: 0.2;
    }

    80% {
        transform: translateY(400px) translateX(-15px) rotate(25deg);
        opacity: 0.1;
    }

    100% {
        transform: translateY(500px) rotate(30deg);
        opacity: 0;
    }
}

.webx-review-button {
    margin-top: 30px !important;
    display: inline-block !important;
    padding: 12px 32px !important;
    border-radius: 16px !important;
    background-color: #b39ddb !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid #f0d57d !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 2;
}

.webx-review-button:hover {
    background-color: #4fb4af !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

.webx-review-section .item {
    padding: 0 10px;
}

@media (max-width: 768px) {
    .webx-review-section .item {
        padding: 0 30px;
    }
}

/* Home page testimonials section */

/* Montessori section home page */
.montessori-sensory-toys-section {
    position: relative;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #eafafc 0%, #fff9e6 100%);
    font-family: 'Poppins', sans-serif;
    color: #000;
    overflow: hidden;
}

.montessori-sensory-toys-section .montessori-sensory-toys-section-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.montessori-sensory-toys-section .montessori-sensory-toys-section-bubble,
.montessori-sensory-toys-section .montessori-sensory-toys-section-star,
.montessori-sensory-toys-section .montessori-sensory-toys-section-cracker {
    position: absolute;
    font-size: 24px;
    animation: montessori-floatUp 12s linear infinite;
    opacity: 0.4;
    filter: blur(0.2px);
}

.montessori-sensory-toys-section .montessori-sensory-toys-section-bubble {
    color: #b39ddb;
}

.montessori-sensory-toys-section .montessori-sensory-toys-section-star {
    color: #f0d57d;
}

.montessori-sensory-toys-section .montessori-sensory-toys-section-cracker {
    color: #4fb4af;
}

@keyframes montessori-floatUp {
    0% {
        transform: translateY(0);
        opacity: 0.3;
    }

    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}

.montessori-sensory-toys-section-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.montessori-sensory-toys-section-text {
    flex: 1 1 480px;
}

.montessori-sensory-toys-section-text h2 {
    font-size: 36px;
    color: #4fb4af;
    margin-bottom: 20px;
}

.montessori-sensory-toys-section-text p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.7;
    color: #333;
}

.montessori-sensory-toys-section-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.montessori-sensory-toys-section-text ul li {
    background: #f0d57d;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.montessori-sensory-toys-section-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.montessori-sensory-toys-section-buttons a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.montessori-sensory-toys-section-button-primary {
    background: linear-gradient(135deg, #b39ddb, #9575cd);
    color: #fff;
    box-shadow: 0 4px 14px rgba(179, 157, 219, 0.4);
}

.montessori-sensory-toys-section-button-primary:hover {
    background: linear-gradient(135deg, #a48edb, #7e57c2);
}

.montessori-sensory-toys-section-button-secondary {
    background: #fff;
    border: 2px solid #b39ddb;
    color: #4b4b4b;
}

.montessori-sensory-toys-section-button-secondary:hover {
    background: #f8f6ff;
}

.montessori-sensory-toys-section-image {
    flex: 1 1 480px;
    text-align: center;
}

.montessori-sensory-toys-section-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.montessori-sensory-toys-section-image img:hover {
    transform: scale(1.03);
}

a.montessori-sensory-toys-section-button-primary.action.primary {
    color: #fff;
}

@media (max-width: 768px) {
    .montessori-sensory-toys-section-text h2 {
        font-size: 30px;
    }

    .montessori-sensory-toys-section-content {
        flex-direction: column;
        text-align: center;
    }

    .montessori-sensory-toys-section-image {
        flex: 1 1 220px;
    }

    .montessori-sensory-toys-section-buttons {
        flex-direction: column;
    }
}

/* Montessori section home page */

/* Blog Section */


.block-part-wrapper {
    margin: 30px auto;
}

.block-part-wrapper h2 {
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
    color: #242424;
    font-weight: 500;
    font-size: 40px;
    line-height: 40px;
}

.block-part-wrapper h2:before {
    width: 60px;
    height: 2px;
    position: absolute;
    bottom: -26px;
    left: 50%;
    margin-left: -30px;
    background-color: #f4d26e;
    content: "";
}

.block-part-wrapper .owl-dots {
    display: none;
}

.block-part-wrapper .i-wrap {
    border-radius: 0;
}

.block-part-wrapper .owl-carousel.owl-drag .owl-item {
    box-shadow: 0px 2px 3px rgba(190, 190, 190, 0.35);
    margin-bottom: 5px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
}

.block-part-wrapper .owl-carousel.owl-drag .owl-item:hover {
    border: 2px solid #59c4c5;
}

.block-part-wrapper .post-bottom {
    padding: 20px 15px;
}

.block-part-wrapper .post-title {
    margin-bottom: 10px;
}

.block-part-wrapper .post-item-link {
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-family: "Fredoka", sans-serif !important;
    color: #242424;
}

.block-part-wrapper .post-extra .post-date {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    font-family: "Fredoka", sans-serif !important;
    color: #666;
    margin: 0 0 6px 0;
}

.block-part-wrapper .post-author a {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    font-family: "Fredoka", sans-serif !important;
    color: #666;
}

.block-part-wrapper .post-desc,
.block-part-wrapper .post-author {
    display: none;
}

/* Blog Section */



@media only screen and (max-width: 1100px) {
    .block-part-wrapper h2 {
        font-size: 30px;
        line-height: 30px;
    }

    .icon-block ul li h4 {
        font-size: 18px;
        line-height: 26px;
    }
}


@media only screen and (max-width: 992px) {
    .icon-block ul {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}