@media screen and (min-width:1150px) and (max-width:1395px) {
    .slider {
        height: 100% !important;
    }
}

@media screen and (min-width:1001px) and (max-width:1150px) {
    .slider {
        height: 100% !important;
    }
}

@media screen and (min-width:900px) and (max-width:1001px) {
    .slider {
        height: 100% !important;
    }
}

@media screen and (min-width: 1920px) { 
    .header-nav nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px !important;
    font-family: "Roboto", sans-serif;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
} }

.prev21, .next21 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    background:transparent;
    font-size: 25px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev21 { left: -50px; }
.next21 { right: -50px; }


@media screen and (min-width: 768px) and (max-width: 991px) {
    .loop{display: none !important;}
      .match{display: block;margin-top: 10px !important;}
.land{display: block !important;}
    .arrow-path {
        padding: 0px;
    }

    .factor h1 {
        font-size: 30px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }

    .happy1 {
        font-size: 30px !important;
    }

    .good {
        font-size: 21px !important;
    }

    .slide img {
        width: 100% !important;
        border-radius: 15px;
        object-fit: cover;
        margin-right: -15%;
        position: relative;
        margin-bottom: 6%;
    }

    .slide-content.left {
        max-width: 60% !important;
    }

    .slide-content {
        width: 75% !important;
        color: #fff;
    }

    .fab {
        font-size: 24px !important;
    }

    .gat {
        font-size: 24px !important;
    }

    .header-nav {
        flex-direction: row;
        gap: 16px;
        padding: 16px 20px;
    }

    .header-nav .nav-left,
    .header-nav .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .main-kid {
        position: absolute;
        z-index: 3;
        top: 112px !important;
        left: -5%;
        height: 283px !important;
    }

    .vision-card {
        background-image: url(../images/img_rectangle_74.svg);
        background-size: cover;
        background-position: center;
        padding: 44px 24px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 36px;
        z-index: 9;
        width: 100%;
    }


    .circle {
        position: absolute;
        width: 75px !important;
        height: 75px !important;
        border-radius: 50%;
        overflow: hidden;
        z-index: 2;
    }

    .path-bg {
        position: absolute;
        left: -35px !important;
        width: 100%;
        height: auto;
        z-index: 1;
        top: 120px !important;
    }

    .circle1 {
        top: 135px;
        left: 120px;
    }

    /* left of top curve */
    .circle2 {
        top: 228px;
        right: 25px;
    }

    .circle3 {
        top: 322px;
        left: 153px;
    }

    .cat {
        position: absolute;
        right: 0px;
        height: 120px !important;
    }

    .rounded {
        width: 100%;
        height: 670px;
    }

    .about-content {
        margin-top: 25px !important;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 12px;
        line-height: 1.4;
        padding: 12px 15px;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,

                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%,
                100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,

                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%,
                45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,

                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%,
                0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        border-radius: 10px;
        border: 10px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 150px !important;
        margin-top: 75px;
        font-weight: 500;
    }

    .stage4 {
        right: 10%;
        top: 19%;
        text-align: center;
    }

    .stage4 .bubble {
        margin-top: 100px;
    }

    .arrow-path {
        padding: 0px 10px !important;
    }

    .stage3 {
        left: 47%;
        bottom: 29%;
    }

    .stage2 {
        left: 25%;
        bottom: 26%;
    }


    .stage1 {
        left: 3%;
        bottom: 20%;
    }

    .hero-girl {
        position: absolute;
        left: 3%;
        top: 7%;
        width: 175px;
        height: 264px;
    }

    .hero-girl img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Common stage styles */
    .stage {
        position: absolute;
        color: #fff;
        text-align: center;
    }

    .stage h3 {
        font-size: 20px;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 15px;
    }

    .stage .age {
        font-size: 14px;
        opacity: 0.9;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 855px;
        background: url(../img/about/bg4.svg) no-repeat center center / cover;
        overflow: hidden;
    }

    .cat {
        position: absolute;
        right: 0px;
        height: 150px;
    }
.dots {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;z-index: 5;
}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .loop{display: none !important;}
      .match{display: flex;align-items: center; margin-top: 0px !important;}
.land{display: block !important;}
    .header-nav .logo img {
        height: 110px;
        width: auto;
        position: absolute;
        padding: 5px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        ;
        background-color: #fff;
        margin-top: -25px;
        border-radius: 50%;
    }

    .stage h3 {
        font-size: 22px !important;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 15px;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 15px !important;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,
                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%, 100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,
                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%, 45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,
                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%, 0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        line-height: 1.4;
        padding: 12px 15px;
        border-radius: 10px;
        border: 10px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 175px !important;
        margin-top: 110px !important;
        font-weight: 500;
    }

    .stage3 {
        left: 50% !important;
        bottom: 18% !important;
    }

    .stage2 {
        left: 30% !important;
        bottom: 16% !important;
    }

    .stage1 {
        left: 7% !important;
        bottom: 9% !important;
    }

    .center-heading {
        position: absolute;
        bottom: 7% !important;
        left: 50%;
        line-height: 20px;
        transform: translateX(-50%);
        text-align: center;
        color: #fff;
    }

    .stage4 {
        right: 13% !important;
        top: 17% !important;
    }

    .slide-content {
        width: 75% !important;
    }

    .slide img {
        width: 100% !important;
        border-radius: 15px;
        object-fit: cover;
        margin-right: -15%;
        position: relative;
        margin-bottom: 6%;
    }

    .slide-content.left {
        max-width: 53% !important;
    }

    .happy1 {
        font-size: 35px !important;
    }

    .factor h1 {
        font-size: 40px !important;
    }

    .fab {
        font-size: 35px !important;
    }

    .gat {
        font-size: 25px !important;
    }

    .happy {
        font-size: 45px !important;
    }

    .sad {
        font-size: 22px !important;
        line-height: 32px !important;
    }

    .header-nav .logo img {
        height: 110px;
        width: auto;
        position: relative;
        padding: 5px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        background-color: #fff;
        margin-top: 75px;
        border-radius: 50%;
    }

    .header-nav {
        flex-direction: row;
        gap: 16px;
        padding: 16px 20px;
    }

    .about-content {
        padding: 5px 0px !important;
    }

    .header-nav .nav-left,
    .header-nav .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .main-kid {
        position: absolute;
        z-index: 3;
        top: 180px;
        height: 275px;
    }

    .circle {
        position: absolute;
        width: 75px !important;
        height: 75px !important;
        border-radius: 50%;
        overflow: hidden;
        z-index: 2;
    }

    .path-bg {
        position: absolute;
        left: -35px !important;
        width: 100%;
        height: auto;
        z-index: 1;
        top: 120px !important;
    }

    .circle1 {
        top: 170px;
        left: 200px;
    }

    /* left of top curve */
    .circle2 {
        top: 283px;
        right: 50px;

    }

    .circle3 {
        top: 412px;
        left: 240px;

    }

    .cat {
        position: absolute;
        right: 0px;
        height: 120px !important;
    }

    .rounded {
        width: 100%;
        height: 670px;
    }

    .about-content {
        margin-top: 25px !important;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 12px;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,

                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%,
                100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,

                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%,
                45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,

                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%,
                0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        line-height: 1.4;
        padding: 12px 15px;
        border-radius: 10px;
        border: 10px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 165px !important;
        margin-top: 100px;
        font-weight: 500;
    }

    .stage4 {
        right: 15%;
        top: 20%;
        text-align: center;
    }

    .stage3 {
        left: 52%;
        bottom: 25%;
    }

    .stage2 {
        left: 30%;
        bottom: 24%;

    }

    .stage1 {
        left: 7%;
        bottom: 18%;
    }

    .hero-girl {
        position: absolute;
        left: 8%;
        top: 10%;
        width: 287px;
        height: 250px;
    }

    .hero-girl img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Common stage styles */
    .stage {
        position: absolute;
        color: #fff;
        text-align: center;
    }

    .stage h3 {
        font-size: 20px;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 15px;
    }

    .stage .age {
        font-size: 14px;
        opacity: 0.9;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 855px;
        background: url(../img/about/bg4.svg) no-repeat center center / cover;
        overflow: hidden;
    }
.dots {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;z-index: 5;
}
    .cat {
        position: absolute;
        right: 0px;
        height: 150px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .match{display: flex;align-items: center; margin-top: 0px !important;}
    .loop{display: none !important;}
.land{display: block !important;}
    .header-nav {
        height: 70px;
    }
 .slider {
        position: relative;
        width: 100%;/* Change as needed */
        overflow: hidden;
    }

    .slider-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    /* Each Slide */
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity .8s ease-in;
    }
.slide img{
        transition: opacity .8s ease-in;
    }
    .slide.active {
        opacity: 1;
        z-index: 2;
    }
    .header-nav .logo img {
        height: 120px;
        width: auto;
        position: relative;
        padding: 5px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        background-color: #fff;
        margin-top: 50px;
        border-radius: 50%;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 690px;
        background: url("../img/about/bg4.svg") no-repeat center center / cover;
        overflow: hidden;
    }
.dots {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;z-index: 5;
}
    .rounded {
        width: 100%;
        height: 580px;
    }

    .circle1 {
        top: 40px;
        left: 225px;
    }

    /* left of top curve */
    .circle2 {
        top: 195px;
        right: 70px;
    }

    .main-kid {
        position: absolute;
        z-index: 3;
        top: 75px;
        height: 370px;
    }

    /* right side middle */
    .circle3 {
        top: 345px;
        left: 280px;
    }

    .stage4 {
        right: 17%;
        top: 17%;
        text-align: center;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 12px;
        line-height: 1.4;
        padding: 12px 15px;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,

                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%,
                100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,

                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%,
                45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,

                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%,
                0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        border-radius: 10px;
        border: 10px solid transparent;
        /* Required */
        /* border-image: url('../img/about/girl.svg') 30 round; */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 250px;
        margin-top: 60px;
        font-weight: 500;
    }

    .hero-girl {
        position: absolute;
        left: 8%;
        top: 10%;
        width: 290px;
        height: 300px;
    }

    .hero-girl img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Common stage styles */
    .stage {
        position: absolute;
        color: #fff;
        text-align: center;
    }

    .stage h3 {
        font-size: 20px;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 15px;
    }

    .stage .age {
        font-size: 14px;
        opacity: 0.9;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }

    .center-heading {
        position: absolute;
        bottom: 5% !important;
        left: 50%;
        line-height: 20px;
        transform: translateX(-50%);
        text-align: center;
        color: #fff;
    }

    /* Stage 1 */
    .stage1 {
        left: 5%;
        bottom: 10%;
    }

    .cat {
        position: absolute;
        right: 0px;
        height: 150px;
    }

    /* Stage 2 */
    .stage2 {
        left: 27%;
        bottom: 16%;
    }

    /* Stage 3 */
    .stage3 {
        left: 48%;
        bottom: 19%;
    }

    /* Stage 4 */


    .stage4 .bubble {
        margin-top: 100px;
        margin-right: -150px;
    }

    .stage4 {
        right: 17%;
        bottom: 50%;
        text-align: center;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1922px) {
    .factor h1{font-size: 40px !important;}
    .match{display: flex;align-items: center; margin-top: 0px !important;}
    .slide-content p {
    font-size: 21px !important;
    color: #fff;
    font-family: "Itim", cursive;
    text-transform: uppercase;
}
     .dots {
    position: absolute;
    bottom: 20% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;z-index: 5;
    gap: 10px;
}
    .loop{display: none !important;}
.land{display: block !important;}
    .about {
        margin-top: 50px;
    }

    .gallery {
        margin-top: 150px !important;
    }

    .why-choose-content {
        margin-top: 50px;
    }

    .timeline {
        margin-top: 150px !important;
    }

    .header-nav .logo img {
        height: 150px;
        width: auto;
        position: relative;
        padding: 5px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        ;
        background-color: #fff;
        margin-top: 75px;
        border-radius: 50%;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 1045px;
        margin-top: 110px;
        background: url(../img/about/bg4.svg) no-repeat center center / cover;
        overflow: hidden;
    }

    .rounded {
        width: 100%;
        height: 740px;
    }

    .circle3 {
        top: 410px;
        left: 350px;
    }

    .circle2 {
        top: 235px;
        right: 90px;
    }

    .circle1 {
        top: 60px;
        left: 290px;
    }

    .main-kid {
        position: absolute;
        z-index: 3;
        top: 75px;
        height: 445px;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 12px;
        line-height: 1.4;
        padding: 12px 15px;
        border-radius: 10px;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,

                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%,
                100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,

                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%,
                45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,

                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%,
                0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        border: 10px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 250px;
        margin-top: 85px;
        font-weight: 500;
    }

    .hero-girl {
        position: absolute;
        left: 8%;
        top: 10%;
        width: 290px;
        height: 300px;
    }

    .hero-girl img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Common stage styles */
    .stage {
        position: absolute;
        color: #fff;
        text-align: center;
    }

    .stage4 {
        right: 18%;
        bottom: 46%;
        text-align: center;
    }

    .stage h3 {
        font-size: 20px;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 15px;
    }

    .stage .age {
        font-size: 14px;
        opacity: 0.9;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }



    .stage1 {
        left: 6%;
        bottom: 24%;
    }

    .cat {
        position: absolute;
        right: 0px;
        height: 150px;
    }

    /* Stage 2 */
    .stage2 {
        left: 30%;
        bottom: 29%;
    }

    /* Stage 3 */
    .stage3 {
        left: 51%;
        bottom: 33%;
    }

    /* Stage 4 */


    .stage4 .bubble {
        margin-top: 100px;
        margin-right: -150px;
    }

}
@media (max-width: 768px) {
    .slider {
        display: flex;
        height: 340px !important;
        align-items: center;
        justify-content: center;
    }  .match{display: block;margin-top: 10px !important;}
}
@media screen and (max-width: 480px) {
    .match{display: block;margin-top: 10px !important;}
    .slide-inner {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 50px 10px;
    }
 .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        background-size: cover;
        background-position: left !important;
    }.dots {
    position: absolute;
    bottom: 10% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;z-index: 5;
    gap: 10px;
}
    .cat {
        display: none;
    }

    .circle {
        display: none;
    }

    .good {
        font-size: 19px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
        text-transform: inherit;
    }

    .slide-inner {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 50px 40px !important;
    }

    .slide-content h1 {
        font-size: 22px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }

    .header-nav {
        display: none !important;
    }

    .slide-content.left {
        max-width: 100% !important;
    }
.loop{display: block !important;}
.land{display: none !important;}
    .slide-content {
        width: 100% !important;
    }

    .slide-image {
        display: none;
    }

    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        background-size: cover;
        background-position: left !important;
    }
 .danger{display: block !important; }
 .pen212{display: none;}
    .goo {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .water {
        display: block !important;
    }

    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        background-color: #fff;
        overflow-x: hidden;
        transition: 0.5s;
        box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.06);
    }

       .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 20px;
        color: #818181;
        color: #8561A9;
        display: block;
        transition: 0.3s;
    }

    .sidenav a:hover {
        color: #8561A9;
    }

    .sidenav .closebtn {
        right: 25px;
        font-size: 36px;
        color: #8561A9;
        margin-left: 50px;
    }

    .header-top .right li {
        list-style: none;
        display: inline-block;
        float: unset !important;
        text-align: center;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        padding-left: 15px;
    }

    .footer-contacts {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 15px !important;
    }

    .footer-copyright-text {
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        line-height: 24px;
        margin: 0px;
        color: #ffffff;
    }

    .header-top .left {
        float: unset;
    }

    .header-top .left li {
        list-style: none;
        display: inline-block;
        float: unset;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        padding-left: 15px;
    }
.lovely img{width: 200px;}
    .lovely{padding: 20px 10px;}
    .left {
        text-align: center;
    }

    #main {
        transition: margin-left .5s;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
.water {
    position: relative;
    width: 100%;
    transition: .3s;
    z-index: 999;
}

.water.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    background: #fff; /* your header background */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.i-icon{max-width: 50px !important;}
    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
        width: 100%;
    }
}
.header-nav {
    position: relative;
    width: 100%;
    transition: .3s;
}

.header-nav.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media screen and (min-width: 481px) and (max-width: 767px) {
    .water {
    position: relative;
    width: 100%;
    transition: .3s;
    z-index: 999;
}
.loop{display: block !important;}
.land{display: none !important;}
.water.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    background: #fff; /* your header background */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .lovely img{width: 200px;}
    .lovely{padding: 20px 50px;}
    .danger{display: block !important; }
    .pen212{display: none ;}
    .factor h1 {
        font-size: 30px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }
.dots {
    position: absolute;
    bottom: 10% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;z-index: 5;
    gap: 10px;
}
    .slide-image {
        display: none;
    }

    .cat {
        display: none;
    }

    .slide-content.left {
        max-width: 100% !important;
    }

    .circle {
        display: none;
    }

    .good {
        font-size: 19px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
        text-transform: inherit;
    }

    .slide-content h1 {
        font-size: 22px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }

    .slide-inner {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 50px 40px !important;
    }

    .slide-content {
        width: 100% !important;
    }

    .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        background-size: cover;
        background-position: left !important;
    }

    .happy1 {
        font-size: 30px !important;
    }

    .good {
        font-size: 21px !important;
    }

    .slide img {
        width: 100% !important;
        border-radius: 15px;
        object-fit: cover;
        margin-right: -15%;
        position: relative;
        margin-bottom: 6%;
    }

    .slide-content.left {
        text-align: center !important;

    }

    .slide-content {
        width: 100% !important;
        color: #fff;
    }

    .fab {
        font-size: 24px !important;
    }

    .gat {
        font-size: 24px !important;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px !important;
        width: 100%;
    }

    .left {
        text-align: center;
    }

    .sidenav {

        height: 100%;
        width: 0;
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        background-color: rgb(244 219 233 / 100%);
        overflow-x: hidden;
        transition: 0.5s;
        box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.06);
    }

    .water {
        display: block !important;
    }

    .footer-copyright-text {
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        line-height: 24px;
        margin: 0px;
        color: #ffffff;
    }

    .header-top .left li {
        list-style: none;
        display: inline-block;
        float: unset;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        padding-left: 15px;
    }

    .header-top .left {
        float: unset;
    }

    .header-nav {
        display: none !important;
    }

    .footer-contacts {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 15px !important;
    }

    .header-top .right li {
        list-style: none;
        display: inline-block;
        float: unset !important;
        text-align: center;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        padding-left: 15px;
    }

    .goo {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .water {
        display: block;
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        color: #8561A9;
        display: block;
        transition: 0.3s;
    }

    .sidenav a:hover {
        color: #8561A9;
    }

    .sidenav .closebtn {
        right: 25px;
        font-size: 36px;
        color: #8561A9;
        margin-left: 50px;
    }

}

.water {
    display: none;
}

@media screen and (min-width: 1800px) and (max-width:1922px) {
    .slider {
        display: flex;
       height: 100% !important;
        align-items: center;
        justify-content: center;
    }

}
@media screen and (min-width: 1922px) {.match{display: flex;align-items: center; margin-top: 0px !important;}
    .factor a{margin-top: 20px;}
    .good {
    font-size: 45px !important;
    line-height: 55px !important;}
    .slide-content.left {
    margin-left: 10%;}
    .dots {
    position: absolute;
    bottom: 20% !important;
    left: 50%;
    transform: translateX(-50%);
    display: flex;z-index: 5;
    gap: 10px;
}
    .loop{display: none !important;}
.land{display: block !important;}
    .why-choose-content {
        margin-top: 100px;
    }

    .about {
        margin-top: 100px;
    }

    .gallery {
        margin-top: 100px !important;
    }

    .timeline {
        margin-top: 100px !important;
    }

    .container {
        max-width: 2300px;
    }

    .slider-container {
        position: relative;
        overflow: hidden;
        width: 2300px;
        border-radius: 20px;
    }

    .header-top .left li {
        list-style: none;
        display: inline-block;
        float: left;
        color: #fff;
        font-size: 18px !important;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        border-left: 1px solid #4fd6a0;
        padding-left: 15px;
    }

    .header-top .right li {
        list-style: none;
        display: inline-block;
        float: right;
        color: #fff;
        font-size: 18px !important;
        font-weight: 500;
        font-family: "Roboto", sans-serif;
        margin-right: 15px;
        padding: 13px 0px;
        border-left: 1px solid #4fd6a0;
        padding-left: 15px;
    }

    .about-content p {
        color: #000;
        font-size: 20px !important;
        font-family: "Roboto", sans-serif;
        line-height: 55px !important;
    }

    .circle {
        position: absolute;
        width: 185px !important;
        height: 185px !important;
        border-radius: 50%;
        overflow: hidden;
        z-index: 2;
    }

    .about-content h1 {
        font-family: "Itim", cursive;
        font-size: 40px !important;
        color: #8561A9;
        text-transform: uppercase;
    }



    .header-nav .logo img {
        height: 150px;
        width: auto;
        position: relative;
        padding: 5px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        background-color: #fff;
        margin-top: 75px;
        border-radius: 50%;
    }

    .header-nav nav a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
        font-size: 20px !important;
        font-family: "Roboto", sans-serif;
        position: relative;
        padding-bottom: 5px;
        transition: color 0.3s;
    }

    .slide-content p {
        font-size: 35px !important;
        color: #fff;
        font-family: "Itim", cursive;
        text-transform: uppercase;
    }

    .slide-content a {
        display: inline-block;
        padding: 12px 25px;
        position: relative;
        z-index: 999;
        background-color: #fff;
        color: #841652;
        font-size: 20px !important;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .slide-content h1 {
        font-size: 65px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }
.factor h1 {
        font-size: 90px !important;
        color: #fff;
        font-family: "Jua", sans-serif;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 870px;
        margin-top: 325px;
        background: url(../img/about/bg4.svg) no-repeat center center / cover;
        overflow: hidden;
    }

    .slider {
        display: flex;
       height: 100% !important;
        align-items: center;
        justify-content: center;
    }

    .rounded {
        width: 100%;
        margin-top: 66px;
        height: 970px;
    }

    .circle3 {
        top: 725px;
        left: 640px;
    }

    .circle2 {
        top: 415px;
        right: 90px;
    }

    .circle1 {
        top: 50px;
        left: 410px;
    }

    .main-kid {
        position: absolute;
        z-index: 3;
        top: 200px;
        height: 726px;
    }

    .stage4 {
        right: 16%;
        top: 19%;
        text-align: center;
    }

    .bubble {
        background: #fff;
        color: #222;
        font-size: 20px;
        line-height: 1.4;
        padding: 12px 15px;
        border-radius: 10px;
        clip-path: polygon(
                /* TOP EDGE */
                2% 0%, 5% 1%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 1%, 35% 3%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 1%, 65% 3%, 70% 0%, 75% 2%, 80% 1%, 85% 3%, 90% 0%, 95% 2%, 98% 1%,

                /* RIGHT EDGE */
                100% 5%, 99% 10%, 100% 15%, 98% 20%, 100% 25%, 99% 30%, 100% 35%, 98% 40%, 100% 45%, 99% 50%,
                100% 55%, 99% 60%, 100% 65%, 98% 70%, 100% 75%, 99% 80%, 100% 85%, 98% 90%, 100% 95%,

                /* BOTTOM EDGE */
                95% 100%, 90% 98%, 85% 100%, 80% 98%, 75% 100%, 70% 99%, 65% 100%, 60% 98%, 55% 100%, 50% 99%,
                45% 100%, 40% 98%, 35% 100%, 30% 99%, 25% 100%, 20% 98%, 15% 100%, 10% 99%, 5% 100%, 2% 98%,

                /* LEFT EDGE */
                0% 95%, 2% 90%, 0% 85%, 1% 80%, 0% 75%, 2% 70%, 0% 65%, 1% 60%, 0% 55%, 2% 50%,
                0% 45%, 1% 40%, 0% 35%, 2% 30%, 0% 25%, 1% 20%, 0% 15%, 2% 10%, 0% 5%);
        border: 10px solid transparent;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        max-width: 365px;
        margin-top: 190px;
        font-weight: 500;
    }

    .hero-girl {
        position: absolute;
        left: 10%;
        top: 10%;
        width: auto;
        height: 570px;
    }

    .hero-girl img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Common stage styles */
    .stage {
        position: absolute;
        color: #fff;
        text-align: center;
    }

    .stage h3 {
        font-size: 28px;
        color: #fff;
        font-family: "Itim", cursive;
        margin: 0px;
        line-height: 38px;
    }

    .stage .age {
        font-size: 24px;
        opacity: 0.9;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }



    /* Stage 1 */
    .stage1 {
        left: 5%;
        bottom: 13%;
    }

    .stage img {
        width: 150px;
    }

    .cat {
        position: absolute;
        right: 0px;
        height: 150px;
    }

    /* Stage 2 */
    .stage2 {
        left: 30%;
        bottom: 18%;

    }

    /* Stage 3 */
    .stage3 {
        left: 53%;
        bottom: 25%;
    }

    /* Stage 4 */


    .stage4 .bubble {
        margin-top: 170px;
        margin-right: -150px;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: 1415px;
        background: url(../img/about/bg4.svg) no-repeat center center / cover;
        overflow: hidden;
    }
}

.slider {
    width: 100%;
   height: 100% ;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Slide Layout */
.slide-inner {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 50px 80px;
}
.footer-nav a.active {
    color: #8561A9 !important;
}

/* Content Left */
.slide-content.left {
    max-width: 55%;
}


/* Slide Image (Right side) */
.slide-image {
    width: 420px;
    height: auto;
}


.paperkraft{width: 40px; height: 40px;background-color: #fff;border-radius: 50%;border:2px solid #8561a9;}
.dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}


/* Girl main image */


/* Center heading */
.center-heading {
    position: absolute;
    bottom: 10%;
    left: 50%;
    line-height: 20px;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
}

.center-heading h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    font-family: "Itim", cursive;
    font-weight: 500;
    margin: 0px;
    letter-spacing: 1px;
}

.center-heading p {
    font-size: 14px;
    margin: 0px;
    opacity: 0.95;
    font-family: "Roboto", sans-serif;
    color: #fff;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.fab {
    font-size: 46px;
    color: #fff;
    font-family: "Jua", sans-serif;
}

.gat {
    font-size: 46px;
    color: #fff;
    font-family: "Jua", sans-serif;
}

.slide-content {
    width: 50%;
    color: #fff;
}

.happy {
    font-size: 26px;
    color: #fff;
    font-family: "Itim", cursive;
    text-transform: uppercase;
}

.happy1 {
    font-size: 26px;
    color: #fff;
    font-family: "Itim", cursive;
    text-transform: uppercase;
}

.good {
    font-size: 26px;
    color: #fff;
    font-family: "Jua", sans-serif;
    text-transform: inherit;
}

.sad {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    font-family: "Itim", cursive;
    text-transform: unset;
}

.slide-content h1 {
    font-size: 35px;
    color: #fff;
    font-family: "Jua", sans-serif;
}

.slide-content p {
    font-size: 16px;
    color: #fff;
    font-family: "Itim", cursive;
    text-transform: uppercase;
}

.slide-content a {
    display: inline-block;
    padding: 12px 25px;
    position: relative;
    z-index: 999;
    background-color: #fff;
    color: #841652;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.slide img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    position: relative;
    margin-bottom: 6%;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    gap: 40px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar img {
    height: 60px;
    width: auto;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.slider-container {
    position: relative;
    width: 100%;   /* Adjust height as needed */
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* ===========================
   BACKGROUND IMAGES
=========================== */
.slide .slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}
.danger{display: none;}
.pen212{display: block;}
/* ===========================
   SLIDE CONTENT
=========================== */
.slide-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 30px;
    display: flex;
    align-items: center;
}

.slide-content {
    color: #000;
}
.navbar nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-bottom: 4px;
}

.navbar nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: var(--purple);
    border-radius: 2px;
}

.header-nav {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    height: 75px;
    justify-content: space-around;
    padding: 14px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* logo centered layout setup */
.header-nav .logo {
    flex: 0 0 auto;
}



/* left and right nav sections */
.header-nav nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.header-nav nav a:hover {
    color: var(--purple);
}

.header-nav nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--purple);
    border-radius: 2px;
}

.arrow-path {
    padding: 0px 50px;
}

/* structure: left nav - logo - right nav */
.header-nav .nav-left,
.header-nav .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* make equal flex balance */
.header-nav .nav-left,
.header-nav .nav-right {
    justify-content: center;
}

/* responsive design */
@media (max-width: 992px) {}

.about-section {
    max-width: 1180px;
    margin: 52px auto;
    padding: 28px 20px;
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 34px;
    align-items: center;
    position: relative;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* LEFT block */
.about-left {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}

.main-card {
    width: 360px;
    position: relative;
}

/* main image */
.main-img {
    width: 360px;
    height: 440px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(27, 20, 50, 0.14);
    display: block;
}

/* dashed curved path SVG */
.path-svg {
    position: absolute;
    left: -110px;
    top: -30px;
    width: 420px;
    height: 420px;
    z-index: 0;
    pointer-events: none;
}

/* thumbnails — exact placement tuned */
.thumb {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* precise positions (pixel-tuned) */
.thumb.t1 {
    left: -96px;
    top: 18px;
    transform: rotate(-6deg);
}

.thumb.t2 {
    left: -36px;
    top: 162px;
    transform: rotate(2deg);
}

.thumb.t3 {
    left: 72px;
    top: 118px;
    transform: rotate(-4deg);
}

/* faint decorative ring */
.accent-ring {
    position: absolute;
    right: -24px;
    top: 46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 10px solid rgba(111, 63, 154, 0.06);
    z-index: 0;
}

/* RIGHT block */
.about-right {
    padding-left: 8px;
    position: relative;
}

.eyebrow {
    color: var(--purple);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}

.about-title {
    font-family: "Baloo 2", "Inter", sans-serif;
    font-size: 24px;
    color: #3b2a4e;
    margin: 0 0 10px;
    line-height: 1.16;
    font-weight: 800;
}

.select {
    overflow: hidden;
}

/* dotted underline made of repeating circles */
.dot-underline {
    height: 8px;
    width: 140px;
    background-image: radial-gradient(circle at 6px 4px, var(--purple) 6px, transparent 7px);
    background-size: 12px 8px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* copy text */
.about-copy {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.68;
}

.about-copy p {
    margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width:980px) {
        .slide {
        background-size: cover !important;
      
    }
    .about-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .main-card {
        width: 300px;
    }

    .main-img {
        width: 300px;
        height: 380px;
    }

    .path-svg {
        left: -90px;
        top: -10px;
        width: 360px;
        height: 360px;
    }

    .thumb.t1 {
        left: -80px;
        top: 6px;
    }

    .thumb.t2 {
        left: -18px;
        top: 140px;
    }

    .thumb.t3 {
        left: 86px;
        top: 86px;
    }

    .accent-ring {
        right: -18px;
        top: 30px;
    }

    .about-right {
        padding-left: 0;
    }
}

@media (max-width:520px) {
    .thumb {
        display: none;
    }

    /* hide thumbnails on very small screens */
    .main-card {
        width: 100%;
    }

    .main-img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .dot-underline {
        width: 100px;
    }

    .about-title {
        font-size: 20px;
    }
}

/* responsive */
@media (max-width: 768px) {
    .header-nav .logo img {
        height: 120px !important;
        width: auto;
        right: -5%;
        position: relative;
        /* padding: 5px; */
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
        background-color: #fff;
        margin-top: 45px;
        border-radius: 100% !important;
    }

    .slide {
        background-size: cover !important;
    }

    .slider1 {
        background-position: left center !important;
    }

    .hesed-hero {
        position: relative;
        width: 100%;
        height: auto !important;
        background: url(../img/about/bg4.svg) no-repeat center;
        background-position: center;
        overflow: hidden;
    }

    .arrow-path {
        display: none;
    }

    .rose img {
        width: 150px !important;
    }

    .header-nav {
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 14px 10px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .topbar {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 10px;
    }

    .navbar {
        flex-direction: column;
        gap: 16px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}



.wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Background dotted path image */
.path-bg {
    position: absolute;
    left: -55px;
    width: 100%;
    height: auto;
    z-index: 1;
}

.vision-section {
    width: 100%;
    padding: 56px 16px;
    position: relative;
    overflow: hidden;

}

.vision-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
}

.vision-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.vision-title {
    font-size: 24px;
    font-family: 'Itim', cursive;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
    color: #841652;
    margin-bottom: 6px;
}

.vision-line {
    width: 100px;
    height: 8px;
    background-image: url('../img/about/line2.svg');
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0;
    margin: 6px auto 0;
    /* center underline under title */
}


.vision-card {
    /* remove noisy background image and use a clean soft card */
    background-image: none !important;
    background: rgba(244, 219, 233, 0.92);
    /* soft pink card */
    padding: 36px 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    box-shadow: 0 12px 36px rgba(133, 97, 169, 0.06);
}

.vision-icon {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.fact {
    width: 80%;
}

.vision-text {
    font-size: 20px;
    font-family: 'Itim', cursive;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    flex: 1;
}

/* Footer */
.footer-container {
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    background-image: url(../img/about/bg25.svg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 16px;
}

.footer-logo {
    width: 100px;
    height: 106px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    width: 100%;
}

.footer-nav a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 17px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #8561a9;
}

.footer-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact img {
    width: 16px;
    height: 16px;
}

.footer-contact-text {
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 15px;
    color: #000000;
}

.sound {
    left: 0px;
    position: absolute;
    /* Decorative cross/icon removed for cleaner layout */
    display: none !important;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background-color: #000000;
}

.footer-copyright {
    background-color: #8561a9;
    padding: 18px 34px;
    width: 100%;
    text-align: center;
}

.footer-copyright-text {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 17px;
    margin: 0px;
    color: #ffffff;
}

/* Main kid on books */


/* Plane emoji near top arrow */
.plane {
    position: absolute;
    top: 40px;
    right: 210px;
    font-size: 22px;
    color: #a06adf;
    z-index: 3;
}

/* Star icon bottom */
.star {
    position: absolute;
    top: 555px;
    left: 65%;
    transform: translateX(-50%);
    font-size: 22px;
    z-index: 3;
}

/* Circular images */
.circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placement according to dotted path */

/* left side bottom */
.dot {
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}



.line {
    left: 80px;
    position: relative;
    top: -10px;
}

.about-content {
    margin-top: 75px;
}

.about-content h1 {
    font-family: "Itim", cursive;
    font-size: 24px;
    color: #8561A9;
    text-transform: uppercase;
}

.about-content p {
    color: #000;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    line-height: 25px;
}

.about {
    padding: 50px 0px;
}

.dot.active {
    border: 1px solid #fff;
    background-color: #8561A9;
    transform: scale(1.2);
}

.header-nav nav a:hover,
.header-nav nav a.active {
    color: #8561A9;
}