

.kids_main{
font-family: system-ui;
}
.kids_main .logo{
   width: 20%;
    }
.main_title{
font-family: cursive;
}
.primarySecFamily{
    /* background-size: cover; */
background-position: center;
background-repeat: repeat;
background-color: rgba(0, 0, 0, 0.0); /* Adjust the last value (0.5) for opacity */
background-blend-mode: multiply; /* Blends the color with the image */
}
.primarySecFamily p{
    font-size: 18px;
    line-height: 1.5;
}
.primarySecFamily .sec_mainTitle1{
  color: #fd5d90;
}
.primarySecFamily .sec1Img{
 max-width: 100%;
 width: 100%;
 height: auto;
}
.primarySecFamily .family_img{
    max-width: 100%;
    width: 100%;
    height: auto;
}
.primarySecFamily .F_title{
    font-size: 35px;
    color: white;
}
.primarySecFamily .family-and-kidsGallery_Title{
    font-size: 35px;
}
.Family-and-kids_Title{
    font-size: 35px;

}
.Family-and-kids_gallery h3{
    font-size: 35px;   
}
.primarySecFamily .trek_img{
max-width: 100%;
width: 100%;
height: auto;
border-radius: 10px;
}

.primarySecFamily .family_kids_title1
{
    font-size: 18px;
    color: black;
    line-height: 1.5;
}
.primarySecFamily .kids_break{
    color: #ff90f0;
}
.primarySecFamily .family_kids_title{
    font-size: 18px;
    color: white;
    line-height: 1.5;
}
.primarySecFamily .family_Choose_title{
color: #453b66;
font-size: 35px;
}
.primarySecFamily .F_learn,
.primarySecFamily .family_Choose,
.primarySecFamily .UpcomingTrek_F{
    background-color: #eef3f6;
}
.primarySecFamily .Family-and-kids_reviews{
    background-color: #f8f5ee;
    padding: 5px 35px;
}

.primarySecFamily .family_Choose_desc{
    font-size: 18px;
}
.primarySecFamily .Actiites_Planned{
    background-color:#fc5a84;
    background-image: url("../images/family-kids/section4/White doodle-17.webp");
}
.primarySecFamily .Planned_title{
    color: white;
    font-size: 35px;
}
.primarySecFamily .learn_Iconimg1{
    width: 10%;
}
.primarySecFamily .learn_Iconimg2{
    width: 10%;
}
.primarySecFamily .learnSecimg{
    width: 25%;
}
.primarySecFamily .learnSec_centerimg{
    width: 70%;
}
.primarySecFamily .Planned_SecImg{
    max-width: 100%;
    width: 20%;
    height: auto;
}
.primarySecFamily  .flex-md-row{
    box-shadow: 0px 4px 6px 2px lightgrey;
    margin-top: 10px;
}
/*FOR REVIEW*/

.primarySecFamily .F_reviews-wrapper{
position: relative;
}
.primarySecFamily .reviews {
display: flex;
overflow-x: scroll;
overflow-y: hidden;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
scrollbar-width: none;
margin-top: -24px;
margin-bottom: -16px;
}
.primarySecFamily .F_review-card {
background: white;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
height: 18rem;
width: 23rem;
padding: 0px 10px;
transition: 0.5s ease-in-out;
margin: 0px 10px;
cursor: pointer;
}


.primarySecFamily .user-image {
width: 60px;
height: 60px;
max-width: 100%;
border-radius: 50%;
left: 12%;
position: absolute;
}
.primarySecFamily .user_gimage {
text-align: right;
margin-top: -28px;
}
.primarySecFamily .review-date {
font-size: 0.9rem;
color: gray;
}

.primarySecFamily .review-rating {
font-size: 1.2rem;
color: gold;
}

.primarySecFamily .review-text {
font-size: 1rem;
color: #333;
margin-bottom: 10px;
text-align: justify ;
}

.primarySecFamily .F_read-more {
color: grey;
text-decoration: none;
font-weight: bold;
}
.primarySecFamily .slider-btn{
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
color: white;
background-color: #ff4782;
width: 35px;
height: 35px;
cursor: pointer;
border-width: initial;
border-style: none;
border-color: initial;
border-image: initial;
border-radius: 50%;
}
.slider-btn-left-freview::before {
content: "◀"; 
color: white;
}

.slider-btn-right-freview::before {
content: "▶";
color: white;
}
.primarySecFamily .slider-btn-right-freview{
right: -31px;
}
.primarySecFamily .slider-btn-left-freview{
left: -18px;
}
/*eND REVIEW*/
.primarySecFamily .FGallery_img{
max-width: 100%;
width: 100%;
height: auto;
margin: 10px 0px;
}
/* Popup Styles */
 .F_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* dark background */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    }
    #Fpopup{
        overflow: hidden;
z-index: 9999;
height: 100%;
overflow-y: scroll;
    }
  .F_popupcontent{
    position: relative;
margin: 5% auto;
background: #fff;
padding: 20px;
border-radius: 8px;
width: 50%;
max-width: 100%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
animation: popup-fade-in 0.3s ease-in-out;
  }
 #F_imagePopup .close-img_popup{
    position: absolute;
    top: 0px;
    font-size: 50px;
    cursor: pointer;
    color: #fff;
    right: 10px;
    z-index: 999;
  }
    .popup img {
        display: block;
        margin: 0 auto;
    }
    .popup p {
        margin: 10px 0;
    }
    .F_close_popup {
position: absolute;
top: 0px;
font-size: 50px;
cursor: pointer;
color: #fff;
right: 10px;
}
#F_popupImage {
transition: transform 0.3s ease-in-out;
}

.F_popup-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}
#F_popupImageCount {
color: white;
    position: absolute;
    background: black;
    padding: 4px 10px;
    bottom: 2%;
    right: 0;
}
.F_arrow-button{
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
color: white;
background-color: #ff4782;
width: 35px;
height: 35px;
cursor: pointer;
border-width: initial;
border-style: none;
border-color: initial;
border-image: initial;
border-radius: 50%;
}
#F_imagePopup .prev::before {
    content: "◀"; 
    color: white;
    font-size: 20px;
    display: inline-block;
}
#F_imagePopup .next::before {
    content: "▶";
    color: white;
    font-size: 20px;
    display: inline-block;
}

.F_MobileGalleryContainer {
display: none;
}
.F_DesktopGalleryContainer {
    /* display: block; */
}
@media screen and (max-width: 574px) {
    .kids_main .UpcomingTrek_F .col-md-3 {
        width: 100% !important;
    }
}
@media screen and (max-width: 767px) {
    .kids_main .UpcomingTrek_F .col-md-3 {
        width: 50%;
      }
      .kids_main .UpcomingTrek_F .col-md-3 .btn-all-trek {
        margin: 0px 118px;
        margin-top: -35px; 
    }
.F_MobileGalleryContainer .image-group img{
    width: 50%;
}
.F_MobileGalleryContainer {
    overflow: auto;
white-space: nowrap;
padding: 10px;
margin: -18px 0px;
display: flex;
gap:5px;
}
#F_imagePopup .close-img_popup {
        top: 60px !important;
        /* background-color: #ebeff2; */
        color: #ebeff2 !important;
        width: 10%;
        border-radius: 5px;
    }
.F_DesktopGalleryContainer {
    display: none !important;
}
.FGallery_Mob_img {
width: 50%;
height: auto;
flex-shrink: 0;
scroll-snap-align: start;
}
.main_title {

font-size: 20px;
}
.primarySecFamily.sec_mainTitle1,
.primarySecFamily .family-and-kidsGallery_Title{
font-size: 18px;
}
.Sec_Title1{
font-size: 16px !important;
}
.primarySecFamily h3{
    font-size: 20px !important;
}
.primarySecFamily h4{
    font-size: 18px !important;
}
.primarySecFamily p{
    font-size: 16px !important;
}
.F_Sec_top{
    padding: 0px 6px;
}
.primarySecFamily .Family-and-kids_reviews{
    padding: 0px 0px;
}
.primarySecFamily .learn_Iconimg1,
.primarySecFamily .learn_Iconimg2
 {
width: 25%;
}
.primarySecFamily .reviews{
    margin-left: 0px;
}
.primarySecFamily .F_review-card{
    width: 21rem;
    height: 18rem;
}
.F_popupcontent{
    width: 95%;
}
.F_close_popup{
    z-index: 999;
    color: black;
}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .kids_main .UpcomingTrek_F .col-md-3 {
        width: 50%;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .kids_main .UpcomingTrek_F .col-md-3 {
        width: 33%;
    }
    
}
@media screen and (min-width: 1201px) and (max-width: 1400px) {
    .kids_main .UpcomingTrek_F .col-md-3 {
        width: 33%;
    }
    .kids_main .UpcomingTrek_F .col-md-3 .btn-all-trek {
        margin: 0px 150px !important;
        margin-top: -84px !important;
    }
}