/* Setup */
:root{
    --mainBlue: #006AB3;
    --lightBlue: #CCEFF8;
    --textMain: #606060;
    --textWhite: #fff;
}
.section-orange{
    background-color: #DF6010 !important;
    /* background-color: #FFA500; */
    color: #ffffff !important;
}
/* Header */
header.scrollDown{
    -webkit-transform: none !important;
    transform: none !important;
}

.hero-inner{
    padding: 50px 0 0 50px;
}
.hero-inner .hero-class{
    background-color: #fff;
    color: #006AB3;
    margin-top: 20px;
    padding: 0;
    width: fit-content;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* max-width: 400px; */
}
.hero-inner h1{
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.403) !important;
}.hero-banner .img-objectfit{
    width: 105% !important;
}
.hero-inner .hero-class span{
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 20px;
}
.hero-inner .hero-class .btn{
    margin: 0 !important;
}

/* Stage */
.stage-container{
    max-width: 1600px;
    font-size: 1.4rem;
}
.stages{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
.stages .stage-button{
    max-width: 40px;
    /* margin: 0 20px; */
    fill: #3b0b0b;
}
.stages-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    flex-wrap: nowrap;
    flex-direction: row;
    background-color: #fff5e6;
    /* color: #000; */
    color: #6a6b6e;
    min-width: 980px;
    height: 400px;
    border-radius: .25rem;
    /* border-radius: 16px; */
}
.stages-container .stage.active{
    color: #000;
}
.stages-container span{
    font-size: 2rem;
    font-weight: bold;
}
.stages-container .stage{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    /* flex-basis: calc(100% / 6); */
    justify-content: center;
    overflow: hidden;
    padding: 20px 0;
    height: 400px;
    border-right: 1px solid #D9D9D9;
    /* border-right: 1px solid #D9D9D9; */
    /* filter: grayscale(100%); */
    /* filter: sepia(0.3) brightness(1.2) hue-rotate(180deg) saturate(1.5); */
    filter: sepia(1) brightness(1.2) hue-rotate(10deg);
    /* transition: width 0.5s ease-in-out; */
    /* border-radius: 5px; */
}
.stages-container .stage6{
    border-right: 0;
}
.stages-container .stage-left{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
    width: 80%;
}
.stages-container .stage-left img{
    width: 182px;
    height: 182px;
    object-fit: contain;
    transition: inherit; 
    transition-property: none;
}
.stages-container .stage-left .stage-title{
    text-align: center;
    height: 128px;
}
.stages-container .stage-left .stage-title p{
    margin: 0;
}
.stages-container .stage-right{
    text-align: start;
    max-height: 400px;
    min-width: 350px;
    padding: 50px 25px;
    transition: none;
    opacity: 0;
    /* transition: opacity 0.5s; */
}
.stages-container .stage-right p,
.suggest-content .mobileStages .tage-right p{
    color: #6a6b6e;
    font-size: 1rem;
}

/* Mobile */
.mobileStages,.mobileStages .stages-container,.mobileStages .stage-title,.mobileStages .stage-right{
    flex-direction: column;
}
.mobileStages{
    flex-direction: row;
    display: none;
}
.mobileStages .stage-left{
    flex-direction: row;
    height: 70px;
    
}
.mobileStages .stages-container{
    min-width: 100%;
    height: auto;
    border-radius: 16px;
    padding: 10px;
}
.mobileStages .stage{
    width: 100% !important;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    height: 80px;
    padding: 10px 30px;
    border-right: none !important;
    border-bottom: 1px solid #D9D9D9;
    transition: height 0.5s ease-in-out;
}
.mobileStages .stage6{
    border-bottom: none;
}
.stages-container .stage-left{
    width: auto;
}
.mobileStages .stage-left .stage-title{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.mobileStages .stage-left .stage-title p{
    margin-right: 5px;
}
.mobileStages .stage-left .stage-title b{
    width: 80px;
}
.mobileStages .stage-left .stage-title span{
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #000;
    width: 40px;
}
.mobileStages .stage-left img{
    width: 100px;
    height: 70px;
    margin-right: 10px;
}
.mobileStages .stage-right{
    padding: 0 30px;
    overflow: hidden;
}
@keyframes fadeInLeft {
    0% {
         left: -100%; /* Start off-screen to the left */
    }
    100% {
         left: 0; /* Move to fully visible position */
    }
}

@media screen and (max-width: 768px){
    .mobileStages{
         display: flex;
    }
    .stages:not(.mobileStages){
         display: none;
    }
}

/* Counter */
.section {
    background-color: #f8f9fa;
    padding: 50px 0;
}
.row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    row-gap: 30px;
}
.col{
    flex: 1 0 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 340px;
    max-width: 340px;
}
.counter-text {
    position: absolute;
    font-size: 3rem;
    /* top: 50%;
    left: 50%; */
    transform: translate(0, 20%);
    color: #fff; /* Adjust text color */
    text-align: center;
    line-height: 1;
}
.counter-text img {
    width: 100%;
}
.counter-text span{
     font-size: 3.5rem;
}
.counter-text .over{
    font-size: 2.5rem;
    vertical-align: middle;
}

/* Carousel 優惠 */
/* #carouselEvent .carousel-item .row {
    display: flex;
    --bs-gutter-x: 0;
}

#carouselEvent .carousel-item .col-sm {
  flex: 0 0 33.33%;
  max-width: 33.33%;
}

#carouselEvent .carousel-item .col-sm img {
  width: 100%;
  height: auto;
} */

/* Mobile Carousel */
#carouselEventMobile{
    display: none;
}
@media screen and (max-width: 768px){
  #carouselEvent{
       display: none;
  }
  #carouselEventMobile{
       display: block;
  }
  #carouselEventMobile .carousel-item .row {
       display: flex;
       --bs-gutter-x: 0;
  }

  #carouselEventMobile .carousel-item .col-sm {
       flex: 0 0 100%;
       max-width: 100%;
  }

  #carouselEventMobile .carousel-item .col-sm img {
       width: 100%;
       height: auto;
  }
  
}
/* 家長review */
.review-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1024px;
}
.review-content{
    background-color: #fff;
    padding: 20px 20px;
    border-radius: 8px;
}
.review-header{
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    align-items: flex-start;
}
.info-top{
    display: flex;
   flex-direction: row;
   justify-content: space-between;
}
.review-follow{
    display: flex;
    column-gap: 5px;
}
.review-follow a{
    margin: 0 !important;
}
.logo-circle{
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: 1px solid #d1d1d1;
    margin: 0 50px 30px 50px;
}
.review-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
}
.review-img{
    max-width: 55px;
    border-radius: 50%;
}

.hover-card {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
}
.post-icon{
    position: absolute;
    width: 30px;
    height: auto;
    margin: 5px 5px 5px 264px;
}

.vid {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.hover-card:hover .card-img-overlay {
    opacity: 1;
}

@media screen and (max-width: 768px){
    .review-header{
         flex-direction: column;
         align-items: center;
    }    
    .review-follow{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
}
.btn-fb{
    background:	#1877F2;
}
.btn-fb:hover{
    background:	#1052a9;
}
.btn-ig{
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);;
}
.btn-ig:hover{
    background: linear-gradient(45deg, #978146, #9e4e11, #851849, #541a6b, #262c69);;
}
.btn-yt{
    background: #FF0000;
}
.btn-yt:hover{
    background: #a00000;
}
/* card section */
.card-section{
    padding: 0;
    color: #001f5c !important;
    background-color: #fff !important;
    min-height: 1080px;
}
.card-section h1{
    font-weight: bold;
}
.card-section .container{
    display: flex;
    height: 100%;
    /* min-height: 1080px; */
    min-height: 1300px;
    width: 100%;
    max-width: none;
    overflow: hidden;
    margin: 0;
}
.left-column {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    padding: 20px;
    position: relative;
    align-items: center;
    align-content: center;
    justify-items: end;
    z-index: 2;
}
.left-column .item{
    border: 6px solid #ffffff;
}
.left-column .item::before {
      display: none;
      content: '';
      position: absolute;
      width: 205px;
      height: 205px;
      border-radius: 100%;
      border: 5px solid #ea4c82; /* Inner border */
      pointer-events: none; /* Ensure it doesn't interfere with clicks */
}
.left-column .item-part:nth-child(1) .item::before{
    border: 5px solid #e74c3c; 
}
.left-column .item-part:nth-child(2) .item::before{
    border: 5px solid #D59B1B;
}
.left-column .item-part:nth-child(3) .item::before{
    border: 5px solid #367064;
}
.left-column .item-part:nth-child(4) .item::before{
    border: 5px solid #00ADDB;
}
.left-column .item-part:nth-child(5) .item::before{
    border: 5px solid #6A6B6E;
}
.left-column .item-part:nth-child(6) .item::before{
    border: 5px solid #C35019;
}
.left-column .item-part:nth-child(7) .item::before{
    border: 5px solid #00ADDB;
}
.left-column .item-part:nth-child(8) .item::before{
    border: 5px solid #C35019;
}
.left-column .item-part:nth-child(9) .item::before{
    border: 5px solid #D59B1B;
}
.left-column .item-part:nth-child(10) .item::before{
    border: 5px solid #367064;
}

.left-column .item:hover::before{
    display: block;
}

.left-column .item-part{
color: #00ADDB;
text-align: center;
display: flex;
display: flex;
flex-direction: column;
align-items: center;
}
.left-column .item-part .item-text{
text-align: center;
margin-top: 20px;
width: 250px;
height: 95px;
}

.left-column .item {
    width: 200px;
    height: 200px; /* Adjust based on your design */
    border-radius: 50%;
    background-color: #00ADDB; /* Default color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.right-column {
    flex: 0.7;
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    /* overflow: hidden; */
}

.half-circle-panel {
    position: absolute;
    top: 50%;
    right: -680px; /* Adjust based on circle size */
    transform: translateY(-50%);
    width: 1300px;
    height: 1500px;
    /* width: 1200px;
    height: 1200px; */
    background-color: #3498db; /* Default color */
    border-radius: 150px 0 0 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease; /* Smooth color transition */
    z-index: 1;
}
#panelTitle{
    font-size: 30px;
}
#panelDescription{
    font-size: 20px;
}
.panel-text{
    text-align: start;
    padding: 20px;
    padding-left: 80px;
    /* padding-left: 200px; */
    margin-right: 700px;
    height: 60%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

/* .left-column .item:hover {
    background-color: #2ecc71;
} */
.left-column .item-part:nth-child(1){
    color: #e74c3c;
}
.left-column .item-part:nth-child(1) .item{
    background-color: #e74c3c; 
}
.left-column .item-part:nth-child(2){
color: #D59B1B;
}
.left-column .item-part:nth-child(2) .item{
    background-color: #D59B1B; 
}
.left-column .item-part:nth-child(3){
color: #367064;
}
.left-column .item-part:nth-child(3) .item {
    background-color: #367064; 
}
.left-column .item-part:nth-child(4){
color: #00ADDB;
}
.left-column .item-part:nth-child(4) .item {
    background-color: #00ADDB; 
}
.left-column .item-part:nth-child(5){
color: #6A6B6E;
}
.left-column .item-part:nth-child(5) .item{
    background-color: #6A6B6E; 
}
.left-column .item-part:nth-child(6){
color: #C35019;
}
.left-column .item-part:nth-child(6) .item{
    background-color: #C35019; 
}
.left-column .item-part:nth-child(7){
    color: #00ADDB;
}
.left-column .item-part:nth-child(7) .item{
    background-color: #00ADDB; 
}
.left-column .item-part:nth-child(8){
    color: #C35019;
}
.left-column .item-part:nth-child(8) .item{
    background-color: #C35019; 
}
.left-column .item-part:nth-child(9){
    color: #D59B1B;
}
.left-column .item-part:nth-child(9) .item{
    background-color: #D59B1B; 
}
.left-column .item-part:nth-child(10){
    color: #367064;
}
.left-column .item-part:nth-child(10) .item {
    background-color: #367064; 
}

.left-column .item:hover ~ .right-column .half-circle-panel {
    background-color: currentColor;
}
.right-column hr{
    text-align: start;
    width: 10%;
    border: 1px solid #fff;
    margin-left:0
}
.left-column .items-title{
    position: absolute;
    left: 10%;
    /* transform: translateY(-380px); */
    transform: translateY(-560px);
}
/* mobile */
.card-row{
    display: none;
}
@media screen and (max-width: 1024px){
    /* .card-section{
         color: #ffffff !important;
         background-color: #001f5c !important;
    } */
    .card-row{
         row-gap: 0;
         display: flex;
    }
    .card-colored{
         min-height: auto !important;
    }
    .card-extand-content{
         display: none;
    }
    .card-colored-body h4{
         margin: 0 !important;
    }
    .card-colored .active {
         display: block;
         margin-top: 10px;
    }
}
@media screen and (max-width: 1440px){
    /* .card-section{
         color: #ffffff !important;
         background-color: #001f5c !important;
    }
    .card-section .card-container{
         display: none;
    }
    .card-row{
         display: flex;
    } */
    .left-column{
         grid-template-columns: repeat(2, 1fr);
         padding-top: 150px;
         grid-gap: 10px;
    }
    .left-column .items-title{
         transform: translateY(-470px);
    }
    .half-circle-panel{
         right: -700px;
         height: 2000px;
    }
    .left-column .items-title{
        transform: translateY(-800px);
    }
}
@media screen and (max-width: 1024px){
    .card-section{
         color: #ffffff !important;
         background-color: #001f5c !important;
         min-height: 700px;
    }
    .card-section .card-container{
         display: none;
    }
    .card-row{
         display: flex;
    }
}

/* Water babies */
.hero-inner{
    padding: 15dvh 0 0 50px;
}
@media screen and (max-width: 1120px){
    .hero-inner{
         padding: 50px 0 0 0;
    }
}
@media screen and (max-width: 468px){
    .hero-inner{
         padding: 45% 0 0 0;
    }    
}
.hero-inner .hero-class{
    background-color: #fff;
    color: #006AB3;
    margin-top: 20px;
    padding: 0;
    width: fit-content;
    min-width: max-content;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* max-width: 400px; */
}
.hero-inner h1{
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.403) !important;
}
.hero-inner .hero-class span{
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 20px;
}
.hero-inner .hero-class .btn{
    margin: 0 !important;
}

.WaterBabiesVideo{
    position: relative;
    width: 70%;
    height: 0;
    padding-bottom: 40%;
 }
 .WaterBabiesVideo iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 }

.gallery-slider .swiper-thumb{
    max-height: 700px;
}
.gallery-slider .swiper-slide{
    max-height: 700px;
}

/* System Swimming Learning */
.section-journey-head{
    background: #4DABD7 !important;
    color: #fff;
    z-index: 2;
}
.section-journey-head::after {
    content: "";
    position: absolute;
    bottom: -168px;
    left: 0;
    width: 100%;
    height: 173px;
    /* background: url(../public/themes/frontend/dist/images/home/Asset_2.png) no-repeat center center; */
    background: url(../images/home/Asset_2.png) no-repeat center center;
    background-size: cover;
    z-index: 2;
}
.section-journey-head h1{
    color: #fff;
}
.section-journey{
    /* background: url(../public/themes/frontend/dist/images/system/Stanford_website_JOURNEY_base.png)no-repeat center center;
    background-size: cover; */
    background: #FFFFFF;
    padding-bottom: 0;
    min-height: 2820px !important;
}
.section-journey .mob-journey{
    display: none;
}
.section-journey .journey-bg{
    width: 100%;
    height: auto;
    min-height: 2820px !important;
    object-fit: cover;
}
.section-journey::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: #EB6101;
    border-radius: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.section-journey .container{
    position: absolute;
    z-index: 1;
    /* transform: translateY(-2800px); */
    top: 800px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-journey .pointer{
    max-height: 100;
}

.section-journey .journey-age{
    height: 100%;
    align-content: center;
    justify-content: center;
    font-size: 30px;
}
.section-journey .right-row .journey-age{
    text-align: end;
    padding: 0 10px;
}
.section-journey .left-row .journey-age{
    text-align: start;
    padding: 0 10px;
}

.section-journey .journey-info{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.section-journey .journey-content{
    min-height: 105px ;
    border: 5px solid #000000;
    border-radius: 30px;
    width: calc(100% - 71px);
    background: #FFFFFF;
    padding: 10px;
}
.section-journey .journey-content .row{
    align-items: center;
}

.journey-right .journey-content{
    transform: translateX(-1%);
}
.journey-left .journey-content{
    transform: translateX(1%);
}
.journey-right .journey-button a{
    position: absolute;
    left: calc(50% + 280px);
    border: 4px solid #fff;
}
.journey-left .journey-button a{
    position: absolute;
    left: calc(50% - 380px);
    border: 4px solid #fff;
}
.journey-right .journey-button.button-waterBabies a{
    background-color: #EAA7C4;
    transform: translateY(75%);
}
.journey-left .journey-button.button-kid a{
    background-color: #4DABD7;
    transform: translateY(75%);
}

@media screen and (max-width: 768px){
    .web-journey{
         display: none;
    }
    .mob-journey{
         display: block !important;
    }
    .section-journey .container{
         top: 850px;
    }
    .section-journey::after{
         height: 130%;
         width: 30px;
         left: 36px;
    }
    .section-journey .mob-journey .row.journey-row{
         row-gap: 5px;
         margin: 10px 0;
    }
    .section-journey .mob-journey .journey-row .journey-left{
         width: calc(100% - 32px);
    }
    .section-journey .mob-journey .journey-row .journey-right{
         width: 100%;
         padding: 0;
    }
    .section-journey .mob-journey .journey-left{
         justify-content: flex-start;
    }
    .section-journey .mob-journey .journey-row .journey-content{
         width: 100% !important;
    }
    .section-journey .mob-journey .journey-row .journey-content .row .journey-icon{
         height: 60px !important;
    }
    .section-journey .mob-journey .journey-row .journey-content .row .journey-detail h3{
         font-size: 24px;
    }
    .section-journey .mob-journey .journey-row .journey-content .row .journey-detail p{
         font-size: 16px;
    }
    
    .squadForm{
         top: 1700px;
         padding: 0 20px;
    }
    .squadForm-content{
         border-radius: 30px;
         border: 5px solid #EB6101;
         width: 100%;
    }
    .mob-journey .journey-row .journey-button a{
         left: calc(50% - 50px);
         position: absolute;
         border: 4px solid #fff;
    }
    .journey-row .journey-button.button-waterBabies a{
         background-color: #EAA7C4;
         transform: translateY(-60%) !important;
    }
    .journey-row .journey-button.button-kid a{
         background-color: #4DABD7;
         transform: translateY(-60%) !important;
    }
}
.section-journey .row.journey-row{
    margin: 50px 0;
}
/* Dot */
.dot-container{
    position: relative;
    /* top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid white;
    transform: translateY(50px);
}
.section-journey .journey-age{
    display: flex;
    align-items: start;
    text-align: start;
    padding-top: 44px !important;
}
.section-journey .journey-content .col-3{
    text-align: center;
} 
.section-journey .journey-content .col-9{
    padding-left: 0;
    display: flex;
    flex-direction: column;
    column-gap: 10px;
}
.section-journey .journey-detail{
    margin: 0px 5px 5px 0;
    padding: 5px 0 5px 10px;
    /* margin-bottom: 5px; */
}
.section-journey .journey-detail h3{
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
}
.section-journey .journey-detail p{
    margin: 0;
}
/* Water Babies */
.journey-row.waterBabies .dot-container{
    background-color: #EAA7C4;
}
.section-journey .journey-row.waterBabies .journey-content{
    border-color: #EAA7C4;
}
.section-journey .journey-row.waterBabies h3{
    color: #EAA7C4;
}
.section-journey .journey-row.waterBabies .journey-age span{
    color: #EAA7C4;
}
.section-journey .journey-row.waterBabies .journey-detail{
    border-left: 2px solid #EAA7C4;
}
/* Kid */
.journey-row.kid .dot-container{
    background-color: #4DABD7;
}
.section-journey .journey-row.kid .journey-content{
    border-color: #4DABD7;
}
.section-journey .journey-row.kid h3{
    color: #4DABD7;
}
.section-journey .journey-row.kid .journey-age{
    color: #4DABD7;
}
.section-journey .journey-row.kid .journey-detail{
    border-left: 2px solid #4DABD7;
}
/*J - Squad */
.journey-row.j-squad .dot-container{
    background-color: #016E76;
}
.section-journey .journey-row.j-squad .journey-content{
    border-color: #016E76;
}
.section-journey .journey-row.j-squad h3{
    color: #016E76;
}
.section-journey .journey-row.j-squad .journey-age{
    color: #016E76;
}
.section-journey .journey-row.j-squad .journey-detail{
    border-left: 2px solid #016E76;
}
/*D - Squad */
.journey-row.d-squad .dot-container{
    background-color: #011E5D;
}
.section-journey .journey-row.d-squad .journey-content{
    border-color: #011E5D;
}
.section-journey .journey-row.d-squad h3{
    color: #011E5D;
}
.section-journey .journey-row.d-squad .journey-age{
    color: #011E5D;
}
.section-journey .journey-row.d-squad .journey-detail{
    border-left: 2px solid #011E5D;
}
/* HK - Squad */
.journey-row.hk-squad .dot-container{
    background-color: #B73737;
}
.section-journey .journey-row.hk-squad .journey-content{
    border-color: #B73737;
}
.section-journey .journey-row.hk-squad h3{
    color: #B73737;
}
.section-journey .journey-row.hk-squad .journey-age{
    color: #B73737;
}
.section-journey .journey-row.hk-squad .journey-detail{
    border-left: 2px solid #B73737;
}


.section-journey .journey-left{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: calc( 50% - 16px);
}
.section-journey .journey-right{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc( 50% - 16px);
}
.section-journey .journey-left .journey-age{
    text-align: end;
    padding: 0 10px;
}
.section-journey .journey-right .journey-age{
    text-align: start;
    padding: 0 10px;
}
.section-journey .journey-info{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}
.section-journey .journey-info .pointer{
    margin-top: 18px;
}
.section-journey .journey-icon{
    height: 100px !important;
    margin: 0 auto;
}

/* Squad Form CSS */
.squadForm {
    position: absolute;
    display: flex; 
    z-index: 1; 
    left: 0;
    top: 1400px;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    align-items: center;
    justify-content: flex-start;
    text-align: start;
    flex-direction: column;
}

/* squadForm Content */
.squadForm-content {
     background-color: #fefefe;
     padding: 50px 100px;
     width: 70%;
     max-width: 800px;
     border-radius: 85px;
     border: 10px solid #EB6101;
}
.squadForm-content #contactForm{
     display: flex;
     flex-direction: column;
     row-gap: 10px;
}
.squadForm-content #contactForm .inputTitle{
     font-weight: bold;
     font-size: 1.2rem;
}
.swimmingStyleGroup.form-group .row{
    justify-content: flex-start;
}
.swimmingStyle .selections{
     display: flex;
     flex-direction: column;
     margin-left: 20px !important;
}
.squadForm-content #contactForm button{
     border: 0 !important;
}
.swimmingStyleGroup .selections{
     display: flex;
     flex-direction: column;
     margin-left: 20px !important;
}
@media screen and (max-width: 768px) {
    .squadForm{
        top: 1650px;
    }
     .squadForm-content {
          padding: 50px 20px;
          width: 100%;
          border-radius: 30px;
     }
     .squadForm-content #contactForm{
          display: flex;
          flex-direction: column;
          row-gap: 10px;
     }
     .squadForm-content #contactForm .inputTitle{
          font-weight: bold;
          font-size: 1.2rem;
     }
     .squadForm .squadForm-content h2{
          font-size: 1.7rem;
     }
}
#section-c .card-b{
    background: url('../../../../../public/assets/uploads/home/hmftrone1658821759.jpg') center !important;
    background-size: cover !important;
    border-radius: 10px;
    height: 200px;
}
#section-c .card-b .card-body{
    background-color: rgba(0, 0, 0, 0.4) !important;
    border-radius: 10px;
}

/* Download application */
@media screen and (max-width: 768px){
    .download-content-list .dl-lists{
        max-width: 70% !important;
    }
    .download-content-list .dl-text{
        max-width: 30% !important;
    }
    .download-content-list .container{
        flex-direction: row;
    }
    
}

.download-grid.download-grid-loc{
    background: var(--swiper-theme-color) !important;
}
.download-content-list .dl-text h3{
    margin-bottom: 0;
}
.download-content-list .dl-list{
    color: #000 !important;
}

@media (max-width: 991.98px) {
    .hero-banner .hero-inner {
        width: calc(100% - 20px) !important;
    }
    .hero-inner .hero-class span{
        font-size: 1.0rem;
    }
}
/* Member */
#member-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding-top: 50px;
    height: auto;
}
#member-container .menu {
  width: 25%;
  background: #f4f6f9;
  border: 1px solid var(--mainBlue);
  text-align: center;
}
#member-container .menu-title {
    padding: 8px 15px;
    background: var(--mainBlue);
    color: var(--textWhite);
}
#member-container .menu-item {
  padding: 8px 15px;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s;
}
#member-container .menu-item:hover {
  background: var(--lightBlue);
  color: var(--mainBlue);
}
#member-container .member-content {
  flex: 1;
  margin-left: 20px;
}
#member-container .member-content #contentArea {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  border: 1px solid var(--mainBlue);
  flex-direction: column;
}
#member-container .tag {
  display: inline-block;
  padding: 8px 15px;
  background: #ffffff00;
  color: var(--textMain);
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: background 0.3s;
}
#member-container .tag.active {
  background: var(--mainBlue);
  color: var(--textWhite);
}
#member-container .content h2 {
  margin-top: 0;
}
#member-container #contentArea .content-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}
#member-container #contentArea .content-header .left{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 30px;
    width: 80%;
}
#member-container #contentArea .content-header select{
    max-width: 200px;
    max-height: 30px;
}
#member-container #contentArea .content-header .right{
    color: var(--mainBlue);
}
#member-container #contentArea .evaluate .evaluate-header{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
}
#member-container #contentArea .evaluate  h2{
    max-width: 300px;
}
#member-container #contentArea .evaluate .evaluate-time{
    color: var(--textMain);
    font-size: 11px;
    margin-left: 20px;
}
#member-container #contentArea .evaluate table th, td{
    padding: 15px
}
#member-container #contentArea .evaluate table th{
    color: var(--textMain);
    padding-left: 0;
}
#member-container #contentArea .evaluate table td{
    /* padding: 0 20px; */
}

/* Calendar */
.calendar {
    width: 100%;
    max-width: 350px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    background: #f4f4f4;
    padding: 10px;
    align-items: center;
}
.calendar-header button {
    background: #ffffff00;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
.calendar-header button:disabled {
    background: #ddd;
    cursor: not-allowed;
}
#monthYear{
    color: var(--mainBlue);
}
.message{
    color: var(--textMain);
}
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f4f4f4;
}
.days div {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.days div:nth-child(7n) {
    border-right: 1px solid #ddd;
}
.days .day {
    cursor: pointer;
}
.days .day:hover {
    background: var(--mainBlue);
    color: #fff;
}
.days .today {
    background: var(--mainBlue);
    color: #fff;
}
.days .selected {
    background: var(--lightBlue);
    color: black;
}

/* online application slection */
.download-content{
    padding: 20px;
}
.download-content .form-title,
.confirm-content .form-title{
    margin-bottom: 20px;
    min-width: 180px;
    text-align: center;
}
.confirm-content .form-title{
    text-align: start;
}
.download-content label{
    margin-bottom: 5px;
}
.download-content .sublabel{
    color: var(--textMain);
}
.download-content .form-group,
.confirm-content .form-group{
    display: flex;
    flex-direction: row;
}
.download-content .form-group.form-location .form-location-items,
.download-content .form-group.form-payment .form-payment-items,
.download-content .form-group.form-materials .form-materials-items{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: start;
    justify-items: start;
    width: 100%;
    column-gap: 30px;
    margin-left: 30px;
}
.download-content .form-group.form-location .form-location-items{
    grid-template-columns: repeat(4, 1fr);
}
.form-date .date-right{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    padding-left: 20px;
    width: 100%;
}
.form-date .date-right .message p{
    margin-bottom: 0;
}
.download-content #customForm hr{
    border-top: 1px solid var(--textMain);
}
.download-content #customForm .date-right .available-times{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: start;
    justify-items: start;
    width: 100%;
}
/* online application slection popup */
  .selection-popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .selection-popup #form-selection-popup{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
  }
  .selection-popup button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
  }
  .selection-popup button:hover {
    background: var(--mainBlue);
    color: white;
  }
  .selection-popup .form-group {
    margin: 10px 0;
    width: 70%;
  }
  .selection-popup .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .selection-popup .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  .selection-popup .hidden {
    display: none;
  }

/* Online Application confirm */
.download-list .confirm-grid{
    cursor: auto;
}
.download-list .confirm-grid:hover{
    background: #fec340;
}
.download-list .confirm-grid .container span:first-child:before,
.download-list .complete-grid .container span:first-child:before,
.download-list .suggest-grid .container span:first-child:before
{
    display: none;
}
.download-list .confirm-grid .container span,
.download-list .complete-grid .container span,
.download-list .suggest-grid .container span{
    text-align: center;
}
.download-list .confirm-content{
    padding: 50px;
}
.form-right{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 20px;
    padding-left: 20px;
    width: 100%;
}
.download-list .confirm-content{
    background-color: #FFFFFF;
}
.download-list .confirm-content .form-title{
    color: var(--mainBlue);
}
.download-list .confirm-content textarea{
    width: 100%;
    max-width: 600px;
}

/* First Login */
/* Popup */
#popupOverlay.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;  /*test*/
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#popupOverlay input {
width: 100%;
padding: 10px;
border: 1px solid #0066B3;
border-radius: 4px;
font-size: 14px;
}
#popupOverlay #popupForm{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
}
#popupOverlay .popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 60%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#popupOverlay .popup h3 {
    margin-top: 0;
    text-align: center;
}
#popupOverlay .popup .form-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-items: baseline;
    padding-top: 0px;
    width: 70%;
}
#popupOverlay .remove-btn {
    background: #FFFFFF;
    color: red;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    position: absolute;
    transform: translate(-5px, 5px);
}
#popupOverlay .add-btn {
    width: 250px;
    background: #FFFFFF;
    color: #00ADDB;
    border: 1px solid #00ADDB;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}
#popupOverlay .popup input{
    width: 70%;
    margin-left: 10px;
}
#popupOverlay #studentFields{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
@media screen and (max-width: 1024px) {
    #popupOverlay .popup {
         max-width: 90%;
    }
    .login-container .right {
         position: absolute;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
    }
}
@media screen and (max-width: 768px) {
    #popupOverlay .popup {
         max-width: 90%;
    }
    #popupOverlay #popupForm{
         width: 100%;
    }
    #popupOverlay .popup .form-group{
         width: 100%;
         flex-direction: column;
         margin-bottom: 10px;
    }
    #popupOverlay .popup .form-group label{
         margin-bottom: 0;
    }
    #popupOverlay .popup input{
         width: 100%;
         margin-left: 0;
    }
    #popupOverlay .remove-btn{
         transform: translate(70vw, -1vw)
    }
    #popupOverlay .popup h3 span {
         display: block;
    }
}

/* online application suggestion */
.suggest-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 40px;
    background-color: #FFFFFF;
    padding: 40px 0;
}
.suggest-content .suggest-item{
    /* width: 100%; */
    background: #F1F1F1;
    color: var(--textMain);
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    padding: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.suggest-content #learnSwimBefore,
.suggest-content #knowSwimStyle{
    display: grid;
    grid-template-rows: 0fr 1fr;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 1000px;
    width: 100%;
}
.suggest-content #knowSwimStyle{
    display: none;
}
#knowSwimStyle.fade-in {
    display: grid;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
  }
  
  #knowSwimStyle.fade-out {
    opacity: 0;
    animation: fadeOut 0.5s forwards;
  }
  
  .hidden {
    display: none;
  }
  /* Animation Keyframes */
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }

.suggest-content .suggest-group-header{
    grid-column: 1 / -1;
    padding: 5px 0;
    text-align: center;
    font-size: 20px;
}
.suggest-content #learnSwimBefore .suggest-items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.suggest-content #knowSwimStyle .suggest-items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
}
.suggest-content .suggest-item:hover{
    background: var(--lightBlue);
}
.suggest-content #learnSwimBefore .suggest-item.active {
    background: url('../../../../../public/assets/uploads/suggestion/learnSwimBefore.png') center;
    background-size: cover;
    color: #fff;
}
.suggest-content #knowSwimStyle #noStyle.active{
    background: var(--lightBlue);
    background-size: cover;
    color: var(--textMain);
}
.suggest-content #knowSwimStyle #freestyle.active {
    background: url('../../../../../public/assets/uploads/suggestion/freestyle.png') center;
    background-size: cover;
    color: #fff;
}
.suggest-content #knowSwimStyle #backstroke.active {
    background: url('../../../../../public/assets/uploads/suggestion/backstroke.png') center;
    background-size: cover;
    color: #fff;
}
.suggest-content #knowSwimStyle #breaststroke.active {
    background: url('../../../../../public/assets/uploads/suggestion/breaststroke.png') center;
    background-size: cover;
    color: #fff;
}
.suggest-content #knowSwimStyle #butterfly.active {
    background: url('../../../../../public/assets/uploads/suggestion/butterfly.png') center;
    background-size: cover;
    color: #fff;
}
.suggest-content .stages {
    max-width: 1000px;
    width: 100%;
    cursor: auto;
}
.suggest-content .stages-container{
    background-color: #ffffff;
}
.suggest-content .mobileStages .stage{
    padding: 5px 30px;
}
@media screen and (max-width: 768px){
    .suggest-content .suggest-item{
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}

/* application-start */
.application-start-section .hero-banner .img-objectfit{
    width: 100%;
    object-fit: cover;
    min-height: 500px;
    height: 60%;
}
.section.section-hero.application-start-section{
    padding-bottom: 0 !important;
}
.section.section-hero.application-start-section:after{
    background: url('../images/home/Path-98_04.png') no-repeat bottom center;
}
.section-start-content{
    background-color: #FFFFFF;
    padding-bottom: 150px;
}
.section-start-content .start-content-grid{
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr;
}
.section-start-content .start-content-grid .start-title{
    margin: 20px 0;
}
.section-start-content .start-content-grid .start-title span{
    color: var(--mainBlue);
    font-size: 48px;
    font-weight: bold;
}
.section-start-content .start-content-grid .start-row{
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
}
/* over 1920 width */
@media screen and (min-width: 1920px) {
    .circle-img .circle-inner strong{
        font-size: 7vw;
    }
}
/* Nav menu responsive */
header .header .menu a{
    font-size: 16px;
    padding: 29px 20px;
}
@media screen and (max-width: 1600px){
    header .header .menu a{
        padding-left:10px;
        padding-right:10px;
    }
}
@media screen and (max-width: 1410px){
    header .header .menu a{
        font-size: 14px;
    }
    header .header .header-info span{
        padding-left:10px;
        padding-right:10px;
    }
}
/* Nav menu responsive */
/* Home carousel */
.imageRoller {
    width: 100%;
    overflow: hidden;
    background: white;
    position: relative;
}
.imageRoller-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.imageRoller-item {
    flex: 0 0 calc(100% / 3);
    padding: 0;
}
.imageRoller-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 767px) {
    .imageRoller-item {
         flex: 0 0 100%;
    }
}