/* hero section design */
.hero-section{
    /* background: url(../images/home/hero-bg.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover; */
    padding: 10rem 0 0 0;
    position: relative;
    background: #C7E9FF;
}
.abstract-bulb{
    position: absolute;
    left: 12vw;
    top: 5vh;
}
.hero-left-abstrct{
    position: absolute;
    left: 0;
    bottom: 20%;
}
.hero-right-abstrct{
    position: absolute;
    right: 0;
    top: 20%;
}
.hero-section .super-title{
    color: #008CE3;
    font-family: 'pangolin', cursive;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.6px; /* 98.182% */
    text-transform: capitalize;
}
.hero-section .hero-title{
    color: #385469;
    font-family: 'Radio Canada', sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 78.4px; /* 130.667% */
    text-transform: capitalize;
}
.hero-section .hero-title span{
    color: var(--yellow);
}
.hero-section p{
    color: #5C707E;
    font-family: 'Poppins', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
}
.hero-section .btn-container{
    display: flex;
    gap: 2rem;
}
.hero-section .primary-btn{
    padding: 0.85rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.play-video-btn{
    color: var(--heading-grey);
    font-weight: 600;
}
.hero-img-half{
    position: relative;
}
.hero-zoom-icon {
      position: absolute;
      cursor: pointer;
      transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: 3;
    }

    .hero-zoom-icon:hover {
      transform: scale(1.35) rotate(5deg);
      z-index: 10;
    }

    /* Floating positions matching the image layout */
        .hero-play {
            top: 12%;
            left: 10%;
        }
    
        .hero-bulb {
            top: 5%;
            left: 35%;
        }
    
        .hero-brain {
            top: 12%;
            left: 55%;
        }
    
        .hero-book {
            top: 22%;
            left: 82%;
        }
    
        .hero-hat {
            top: 24%;
            left: 63%;
        }
    
        .hero-graph {
            top: 26%;
            left: 48%;
        }
    
        .hero-globe {
            top: 38%;
            left: 0%;
        }
    
        .hero-palette {
            top: 58%;
            left: 0%;
        }
    
        .hero-flask {
            top: 48%;
            left: 90%;
        }

/* program section design */
.programm-section {
    background: #EFF5F6;
    position: relative;   
}
.section-title-conatiner .section-super-title{
    color: #F39F5F;
    font-family: 'Radio Canada', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    text-transform: capitalize;
}
.section-title-conatiner .section-title{
    color: var(--heading-grey);
    font-family: 'Radio Canada', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 120%;
    text-transform: capitalize;
}
.program-card{
    position: relative;
}
.program-content{
    position: absolute;
    bottom: 3rem;
    text-align: center;
    width: 60%;
    left: 0;
    margin-left: auto;
    right: 4%;
    margin-right: auto;
}
.program-content h4{
    font-family: 'Pangolin', cursive;;
    font-size: 26px;
    font-weight: 700;
}
.program-card.pink .program-content h4{
    color: #ED77DB;
}
.program-card.blue .program-content h4{
    color: #2B86BB;
}
.program-card.green .program-content.green h4{
    color: #07855D;
}
.program-content h6{
    color: #fff;
}
.program-content p{
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 175%;
}
.program-arrow-container{
    border-radius: 22px;
    background: #2B86BB;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: absolute;
    padding: 1rem 1.5rem;
    left: 0;
    right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    bottom: -1.45rem;
}
.program-card.pink .program-arrow-container{
    background-color: #ED77DB;
}
.program-card.blue .program-arrow-container{
    background-color: #2B86BB;
}
.program-card.green .program-arrow-container{
    background-color: #07855D;
}
.program-color-pencil{
    position: absolute;
    left: 15vw;
    bottom: 15%;
}
.program-orange-cloud{
    position: absolute;
    left: 10vw;
    top: 15%;
}
.program-set-square{
    position: absolute;
    right: 10vw;
    bottom: 15%;
}
.program-abstract-stars{
    position: absolute;
    right: 10vw;
    top: 20%;
}
.program-card-container{
    display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      margin: 0 auto; /* Centers the whole container */
      padding: 16px;
      position: relative;
      z-index: 1;
}



 .program-card-container .cardbox {
      flex: 0 1 calc(33.333% - 16px);
      min-width: 260px; 
      box-sizing: border-box;
      border-radius: 20px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      align-items: center;
      padding: 0;
      border: 1px solid;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      min-height: 130px;
    }
.program-card-container .cardbox.purple{
    border-color: #AC3EFE;
    background: rgba(172, 62, 254, 0.20);
}
.program-card-container .cardbox.blue{
    border-color:#2B86BB;
    background: rgba(43, 134, 187, 0.20);
}
.program-card-container .cardbox.green{
    border-color:  #34B434;
    background: rgba(52, 180, 52, 0.20);    
}
.program-card-container .cardbox.yellow{
    border-color: #FAB123;
    background: rgba(250, 177, 35, 0.20);
}
.program-card-container .cardbox.pink{
    border-color: #F86BB5;
    background: rgba(248, 107, 181, 0.20);
    
}

.program-card-container .cardbox.purple:hover{
}

    .program-card-container .cardbox.purple:hover .lefthalf{
        background: linear-gradient(180deg, #AC3EFE 0%, #672598 100%);
    }
    .program-card-container .cardbox.blue:hover .lefthalf{
        background: linear-gradient(180deg, #2B86BB 0%, #133D55 100%);
    }
    .program-card-container .cardbox.green:hover .lefthalf{
        background: linear-gradient(180deg, #34B434 0%, #174E17 100%);
    }
    .program-card-container .cardbox.yellow:hover .lefthalf{
        background: linear-gradient(180deg, #FAB123 0%, #946915 100%);;
    }
    .program-card-container .cardbox.pink:hover .lefthalf{
        background: linear-gradient(180deg, #F86BB5 0%, #923F6B 100%);;
    }









    .program-card-container .cardbox:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }
    .program-card-container .cardbox .lefthalf{
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px 50% 50% 20px;
        background: rgba(255, 255, 255, 0.50);
        height: 100%;
    }
.program-card-container .cardbox .righthalf{
    text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
    color: black;
    padding: 10px;
}
.program-card-container .cardbox .righthalf .cardtitle{
    color: #000;
    font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.625rem);

    font-weight: 700;
    text-transform: capitalize;
}
.program-card-container .cardbox p.card-tag{
    color: #008CE3;
    font-size: clamp(0.875rem, 0.85rem + 0.25vw, 1rem);

    font-weight: 500;
}














/* feature section design */
.feature-section{
    background-color: #F4EEE5;
}
.feature-container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}
.feature-container .feature-card{
    border-radius: 12px;
    display: grid;
    background: #FFF;
    
}
.feature-container .feature-card:hover{
    box-shadow: 4px 4px 20px 0 rgba(29, 111, 254, 0.40);
}
.feature-container .feature-card .upperhalf{
    border-radius: 12px 12px 0 0;
    background: url(../images/home/3--bg.png);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 1.5rem 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-container .feature-card:hover .upperhalf{
    background: url(../images/home/3-bg.png);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
.feature-container .feature-card .lowerhalf{
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    text-align: center;
    margin: auto;
    align-items: center;
}
.feature-card .title{
    color: #1D6FFE;
    font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.05em);
    font-weight: 700;
    margin-bottom: 0;
    text-transform: capitalize;
}
.feature-card p{
    color: var(--heading-grey);
    font-size: medium;
    font-weight: 400;
    margin-bottom: 0;
    text-transform: capitalize;
}








/* activity section  design */
.activity-section{
    padding: 3rem 0;
    position: relative;
}
.activity-section .container{
    padding: 2rem 0 2rem 0;
    
}
.activity-section .activity-img-half{
    position: relative;
}
.activity-section .activity-pencil{
    position: absolute;
    top: -9rem;
    left: -4rem;
    z-index: -1;
}
/* .activity-section-img{
    width: 100%;
} */
.activity-section p{
    color: #5C707E;
    font-size: 16px;
    font-weight: 400;
    line-height: 175%;
}
.activity-card{
    display: flex;
    gap : 10px;
    margin-top: 15px;
}
.activity-card img{
    width: 40%;
}
.activity-card .activity-card-context{
    width: 60%;
}
.activity-card .activity-card-context h4{
    color: var(--heading-grey);
    font-size: 18px;
    font-weight: 700;
}
.activity-card .activity-card-context p{
    color: #5C707E;
    font-size: 15px;
    font-weight: 400;
    line-height: 115%;
    /* text-align: justify; */
}



.dwnload-img{
    width: 140px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    margin: 5px;
}

/* about us page design */
.about-section{
    padding: 4rem 0;
}
.about-lefthalf, .about-righthalf{
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 1rem;
    align-items: flex-start;
}
.about-lefthalf p, .about-righthalf p{
    font-weight: 400;
    font-size: 15px;
    color: #5C707E;
}

.iconbox-home{
    aspect-ratio: 1/1;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.iconbox-home.pink{
    border: 1px solid #AC3EFE;
    background: rgba(172, 62, 254, 0.20);
}
.iconbox-home.green{
    border: 1px solid #34B434;
    background: rgba(52, 180, 52, 0.20);
}




/* Extra large devices*/
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .hero-section .hero-title {
        font-size: 56px;
        line-height: 130%;
    }
    .section-title-conatiner .section-title {
        font-size: 45px;
    }
    .program-content {
        bottom: 2rem;
        width: 70%;
    }
    .program-color-pencil {
        left: 4vw;
        bottom: 11%;
    }
    .program-set-square {
        right: 4vw;
        bottom: 10%;
    }
    .activity-card .activity-card-context h4{
        font-size: 15px;
    }
    .activity-card .activity-card-context p {
        font-size: 13px;
    }
}
/* Large devices */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .hero-section {
        padding: 6rem 0 0 0;
    }
    .abstract-bulb {
        left: 0vw;
        top: 0vh;
    }
    .hero-section .super-title {
        font-size: 20px;
    }
    .hero-section .hero-title {
        font-size: 48px;
        line-height: 120%;
    }
    .hero-section .btn-container {
        gap: 1rem;
    }
    .section-title-conatiner .section-title {
        font-size: 40px;
    }
    .program-content {
        width: 85%;
        bottom: 2rem;
    }
    .program-content p {
        font-size: 15px;
        line-height: 130%;
    }
    .program-content h4 {
        font-size: 24px;
        margin-bottom: 0;
    }
    .program-color-pencil {
        left: 3vw;
        bottom: 5%;
    }
    .program-set-square {
        right: 2vw;
        bottom: 10%;
    }
    .activity-section .container {
        padding: 6rem 0 2rem 0;
    }
    .activity-section p {
        font-size: 16px;
        line-height: 150%;
    }
    .activity-card img{
        display: none;
    }
    .activity-card .activity-card-context {
        width: 100%;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px){
    .hero-section {
        padding: 6rem 0 0 0;
    }
    .abstract-bulb {
        left: 4vw;
        top: 0vh;
    }
    .section-title-conatiner .section-title {
        font-size: 45px;
        line-height: 140%;
    }
    .program-card-container .cardbox {
        flex: 0 1 calc(50% - 16px);
    }
    .program-card {
        text-align: center;
        margin-bottom: 2rem;
    }
    .program-content {
        bottom: 3rem;
        width: 50%;
    }
    .program-orange-cloud {
        left: 5vw;
        top: 17%;
    }
    .program-abstract-stars {
        right: 4vw;
        top: 40%;
    }
    .program-color-pencil {
        left: 5vw;
        bottom: 20%;
    }
    .program-set-square {
        right: 7vw;
        bottom: 5%;
    }
    .feature-container{
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

}

/* Small devices */
@media only screen and (min-width: 576px) and (max-width: 768px){
    .hero-section {
        padding: 6rem 0 0 0;
    }
    .abstract-bulb {
        left: 4vw;
        top: 0vh;
    }
    .hero-section .hero-title {
        font-size: 45px;
        line-height: 140%;
    }
    .section-title-conatiner .section-title {
        font-size: 38px;
        line-height: 140%;
    }
    .program-card-container .cardbox {
        flex: 0 1 100%;
    }
    .program-card {
        text-align: center;
        margin-bottom: 2rem;
    }
    .program-content {
        bottom: 3rem;
        width: 50%;
    }
    .program-orange-cloud {
        left: 5vw;
        top: 17%;
    }
    .program-abstract-stars {
        right: 4vw;
        top: 40%;
    }
    .program-color-pencil {
        left: 5vw;
        bottom: 20%;
    }
    .program-set-square {
        right: 7vw;
        bottom: 5%;
    }
    .feature-container{
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .activity-section .container {
        padding: 3rem 0 2rem 0;
    }
    .activity-card .activity-card-context h4 {
        font-size: 16px;
    }
    .activity-card .activity-card-context p {
        font-size: 13px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 576px) {
    .hero-section {
        padding: 6rem 0 0 0;
    }
    .abstract-bulb {
        left: 4vw;
        top: 0vh;
    }
    .hero-section .super-title {
        font-size: 20px;
    }
    .hero-section .hero-title {
        font-size: 45px;
        line-height: 140%;
    }
    .feature-container{
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .section-title-conatiner .section-title {
        font-size: 30px;
        line-height: 140%;
    }
    .program-card-container .cardbox {
            flex: 1 1 100%;
    }
    .program-card {
        text-align: center;
        margin-bottom: 2rem;
    }
    .program-content {
        bottom: 2rem;
        width: 80%;
    }
    .program-orange-cloud {
        left: 2vw;
        top: 11%;
        z-index: -1;
    }
    .program-abstract-stars {
        right: 4vw;
        top: 40%;
    }
    .program-color-pencil {
        left: 5vw;
        bottom: 20%;
    }
    .program-set-square {
        right: 7vw;
        bottom: 5%;
    }
    .feature-card img {
        width: 100%;
    }
    .activity-section .container {
        padding: 3rem 10px 2rem 10px;
    }
    .activity-card .activity-card-context {
        margin: auto;
    }
    .program-color-pencil, .hero-left-abstrct{
        display: none;
    }
}

@media only screen and (max-width: 420px) {
    .hero-section .primary-btn {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
    }
    .hero-section .btn-container {
        gap: 1rem;
    }
    .hero-section .super-title {
        font-size: 16px;
    }
    .hero-section .hero-title {
        font-size: 40px;
    }
    .section-title-conatiner .section-title {
        font-size: 25px;
    }
    .program-color-pencil, .hero-left-abstrct{
        display: none;
    }
}