:root {
    --teal: #0b6b75;
    --brown: #d6a574;
    --peach: #f28c78;
    --green: #8dbf9c;
    --pink: #d999b5;
    --mint: #8fbcbc;
}


.kg-banner {
    min-height: 45vh;
    padding: 80px 0px 40px;
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    justify-content: center;

}

.kg-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 4px 4px 0px #e8a1c2;
}

.kg-info {
    width: 75%;
}

.banner-decor-wrap {
    bottom: -10px;
    z-index: 1;
    left: -10px;
    width: 110%;
}

.banner-decor-wrap img {
    width: 100%;
}

.banner-vector-wrap {
    bottom: -10px;
    z-index: 1;
    right: 0px;
}

.banner-sun-wrap {
    bottom: 20px;
    z-index: 1;
    left: 0px;
}

.pedagogy-sec {
    padding-top: 60px;
    padding-bottom: 60px;
}

.pedagogy-sec h1 {
    font-weight: 700;
    font-size: 48px;
    text-transform: uppercase;
}

.pedagogy-sec p {
    font-weight: 500;
    font-size: 13px;
}

/* HEX FLOW */
.hex-flow {
    display: flex;
    align-items: center;
    gap: 100px;
    justify-content: center;
}

.hex-1 {
    bottom: 36px;

}

.hex-2 {
    bottom: -36px;
}

.activity-row {
    justify-content: center;
}

/* HEXAGON */
.hex {
    width: 160px;
    height: 140px;
    clip-path: polygon(25% 6%,
            75% 6%,
            100% 50%,
            75% 94%,
            25% 94%,
            0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    padding: 16px;
    box-shadow: 2px 2px 0px 0px #0B6980BF;

}

/* COLORS */
.hex.brown {
    background: var(--brown);
}

.hex.peach {
    background: var(--peach);
}

.hex.green {
    background: var(--green);
}

.hex.pink {
    background: var(--pink);
}

.hex.mint {
    background: var(--mint);
}

/* ARROW */
.arrow {
    font-size: 26px;
    position: absolute;
}

.arrow-1 {
    top: 20px;
    left: 22%;
}

.arrow-2 {
    bottom: -31%;
    left: 41%;
}

.arrow-3 {
    top: -50px;
    right: 18%;
}

.arrow-4 {
    bottom: 25px;
    right: -15%;
}

.pedagogy-content p {
    margin: 0%;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .pedagogy-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pedagogy-content p {
        margin: auto;
    }
}

@media (max-width: 767px) {

    .hex-flow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        /* flex-direction: column; */
        width: 80%;
        margin: auto;
    }

    .hex-1 .hex-flow {
        width: 100%;
    }

    .hex-1 {
        bottom: 0px;
    }

    .hex-2 {
        bottom: 0px;
    }

    .mobile-hex-warp {
        margin-bottom: 60px;
    }

    .arrow {
        display: none;
    }

}

@media (max-width: 480px) {
    /* .hex {
        width: 130px;
        height: 115px;
        font-size: 13px;
    } */

    .hex-flow {
        flex-direction: column;
    }

    .pedagogy-content h1 {
        font-size: 32px;
    }

    .arrow {
        display: block;
    }

    .arrow-1 {
        top: 127px;
        left: 19%;
        transform: rotate(239deg);
    }

    .arrow-3 {
        top: -62%;
        right: -20%;
        transform: rotate(68deg);
    }

    .arrow-2 {
        bottom: -4%;
        left: 16%;
        z-index: 11;
        transform: rotate(118deg);
    }

    .arrow-4 {
        bottom: 40%;
        right: -26%;
        transform: rotate(284deg);
    }
}

.activity-card {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.activity-card:hover img {
    transform: scale(1.12);
}

.activity-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 40%,
            rgba(11, 105, 128, 0.85) 100%);
    transition: transform 0.6s ease;
}

.activity-text {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
    color: #fff;
}

.activity-text h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.desc-para {
    display: none;
    color: white;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    margin-bottom: 0;
}

.activity-card:hover .desc-para {
    display: block;
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.5s ease;
}

.activity-card:hover .activity-text h5 {
    transform: translateY(-4px);
}

.library-holder {
    background: #ED958640;
    padding: 40px 20px;
    margin: 20px auto;
}

.dual-card {
    padding: 20px;
    height: 100%;
}

.playground-card {
    background: #D492B040;

}

.arts-card {
    background: #EDC56240;
}


.dual-card img,
.library-holder img {
    border-radius: 16px;
}

.info-list {
    left: -73px;
    min-width: 200px;

}

.info-list li {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
}

.info-list li:first-child {
    color: var(--teal);
}

.info-list li:nth-child(2) {
    color: var(--peach);
}

.info-list li:nth-child(3) {
    color: var(--brown);
}

.info-list li:nth-child(4) {
    color: var(--pink);
}

.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 12px 20px;
    border: 1px solid #cfd8df;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-know-more:hover {
    background-color: var(--teal);
    color: #ffffff;
    border-color: var(--teal);
}

.arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background-color: var(--teal);
    color: #ffffff;
    font-size: 26px;
}

.btn-know-more:hover .arrow-btn {
    background-color: #ffffff;
    color: var(--teal);
}

.music-holder {
    background: #EBF1FF;
    padding: 40px 20px;
    margin: 20px auto;
}

.library-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;

    /* RIGHT IMAGE */
    background-image: url('../images/library-10.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;

    position: relative;
}

/* LEFT COLOR PANEL */
.library-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(80deg, rgb(12 107 120) 44%, rgba(11, 107, 120, 0.95) 60%, rgba(11, 107, 120, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Keep content above overlay */
.library-hero .container {
    position: relative;
    z-index: 2;
}

/* Text styles */
.library-tag {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.library-title {
    font-size: clamp(28px, 3vw, 42px);
    color: #fff;
    font-weight: 800;
    margin: 10px 0 15px;
}

.library-text {
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
}

/* Image cards */
.library-images {
    margin-top: 28px;
    display: flex;
    gap: 18px;
}

.library-box img,
.laboratory img {
    border-radius: 16px;
}

.library-images img {
    width: 250px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
}

.subject-wrapper {
    background-color: #EDC562;
    padding-top: 60px;
}

.subject-wrapper .btn-know-more {
    background-color: white;
    justify-content: space-between;
    width: 100%;
}

.subject-wrapper .btn-know-more:hover {
    background-color: var(--teal);
    color: white;

}

.subject-wrapper .btn-know-more:hover svg path {
    fill: white !important;
}

.subject-wrapper img {
    width: 100%;
}

.underline-svg {
    top: 18%;
}

.social-icons img {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.form-card {
    background: linear-gradient(135deg,
            #3d7f8f 0%,
            #a78c6b 100%);
    border-radius: 12px;
    padding: 35px;
    color: #fff;
    height: 100%;
}

.form-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    font-size: 48px;
}

.form-control {
    border-radius: 6px;
    border: none;
    font-size: 14px;
    padding: 14px 20px;
}

.form-control::placeholder {
    color: #999;
}

.btn-submit {
    background: #0b6980;
    color: #fff;
    border-radius: 6px;
    padding: 8px 26px;
    font-size: 14px;
    border: none;
}

.btn-submit:hover {
    background: var(--pink);
    color: #0b6980;
    font-weight: bold;
}

.contact-info {
    margin-bottom: 20px;
}

h5 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: #d37a6b;
    margin: 10px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .library-hero {
        text-align: center;
        background-position: center;
    }

    .library-hero::before {
        background: rgba(11, 107, 120, 0.9);
    }

    .library-images {
        justify-content: center;
    }
}


@media (max-width: 576px) {
    h3 {
        font-size: 24px;
        margin: 10px 0px;
    }

    .kg-info {
        width: 100%;
        margin-top: 10px;
    }

    .life_activity-title {
        font-size: 16px !important;
    }
}

.contact-text {
    color: var(--teal);
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}


.life_activity-title {
    font-size: 28px;
}

.life_activity-card {
    background: linear-gradient(180deg, rgba(212, 146, 176, 0.24) 0%, rgba(237, 197, 98, 0.24) 100%);
    border-radius: 14px;
    position: relative;
    box-shadow: 0px 0px 7px 0px #00000040;

}

/* Header badge */
.card-badge {
    background: #0b6b78;
    color: #fff;
    padding: 0.75rem 1.8rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    min-width: 80%;
    box-shadow: 0 15px 0 rgba(0, 0, 0, 0.45);
    clip-path: polygon(50% 100%, 100% 78%, 100% 0%, 0% 0%, 0% 78%);

}

/* List icons */
.activity-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.activity-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url(../images/tick.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/* Optional text */
.optional {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0b6b78;
}

.optional::before {
    content: "";
}

.activity-list li.optional::before {
    content: none;
}

.activity-list li.optional {
    padding-left: 0px;
}


/* why-us-sec */

.why-us-sec h5 {
    font-weight: 500;
    font-size: 22px;
    color: #92765D;

}

.why-us-sec h4 {
    color: var(--brown);
    font-size: 24px;
}

.why-us-sec h2 {
    font-size: 54px;
    font-weight: 800;
    color: var(--teal);
}

.why-us-sec .numeric-count {
    font-weight: bold;
    color: var(--pink);
    line-height: 60px;
    width: 90px;
    font-size: 64px;
    text-shadow: 4px 4px 0px #00000040;
    font-weight: 600;
}



/* about Us */


.kg-title.about {
    text-transform: none;
}

.btn-card-holder button {
    background-color: var(--teal);
    color: #fff;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    box-shadow: -6px 6px 0.6px 0px #00000040;
    padding: 16px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 20px;
}

.btn-card-holder button:hover {
    background: linear-gradient(to right, var(--pink), var(--teal));
}

.about-right-sec h2 {
    font-weight: Bold;
    font-size: 46px;
    color: var(--teal);
    margin-bottom: 0px;
}

.about-right-sec h1 {
    font-weight: Bold;
    font-size: 46px;
    color: var(--brown);
}

.about-heading-subtitle {
    font-size: 38px;
    font-weight: 900;
    color: #086A80;
    text-shadow: 0 3px 0 #D390B0;
}


.about-right-sec .kg-description {
    font-size: 16px;
    font-weight: 500;
    color: var(--brown);
}

.about-img-wrapper img {
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 4px 0px #00000040;

}

.about-img-wrapper .img-1 {
    border-radius: 62px;
}

.about-img-wrapper .img-2 {
    border-radius: 1000px;
    clip-path: circle(46% at 50% 50%);
}

.about-img-wrapper .img-3,
.about-img-wrapper .img-5 {
    border-top-left-radius: 10px;
    border-top-right-radius: 127px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.about-img-wrapper .img-4 {
    border-top-left-radius: 105px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.about-img-wrapper .img-6 {
    box-shadow: none !important;

}


.img-holder img {
    box-shadow: 3px 4px 4px 0px #00000040;

}

.img-holder {
    position: relative;
}

.img-holder img {
    width: 100%;
    display: block;
    border-radius: 16px;

}

.img-holder::after {
    content: "";
    position: absolute;
    inset: 0;
    /* same as top:0; left:0; right:0; bottom:0 */
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.61) 100%);
    border-radius: 16px;

}


.subject-holder {
    width: 100%;
}


.about-us-img-wrapper {
    background-size: cover !important;
}

.about-us-container .about {
    font-size: 96px;
}

@media (max-width: 1200px) {
    .life_activity-title {
        font-size: 20px;
    }

    .about-us-container .about {
        font-size: 48px;
    }


}


@media (max-width: 1024px) {
    .about-right-sec h2 {
        width: 100%;
        font-size: 28px;
    }

    .btn-card-holder p {
        font-size: 18px;
    }

    .numeric-count {
        font-size: 64px;
    }

    .why-us-sec h2 {
        font-size: 46px;
    }

    .btn-card-holder button {
        font-size: 16px;
        min-width: 100%;
    }

}


@media (max-width: 991px) {
    .subject-holder {
        width: 75%;
    }

    .about-us-img-wrapper {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }
}

.sdg-img {
    width: 50%;
    float: left;
    margin-right: 30px !important;
}

.sdg-img-right {
    width: 50%;
    float: right;
    margin-left: 30px !important;

}

@media (max-width: 768px) {
    .btn-card-holder button {
        min-width: 100%;
    }

    .sdg-img,
    .sdg-img-right {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .life_activity-title {
        width: 78%;
    }

}


@media (max-width: 577px) {

    /* about us page */
    .kg-title {
        text-shadow: 2px 1px 0px #e8a1c2;
    }

    /* grade1&2 */
    .pedagogy-content-img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .info-list {
        top: 108px;
    }

    .library-hero {
        background-size: cover;
    }

    .laboratory .laboratory-img-holder {
        width: 90%;
        margin: auto;
    }

    .code-ai {
        width: 90%;
        margin: auto;
    }
}

@media (max-width: 575px) {

    .about-right-sec h1 {
        font-size: 32px;
    }

    .about-heading-subtitle {
        font-size: 28px;
    }

    .about-right-sec .kg-description {
        font-size: 14px;
    }

    .btn-card-holder p {
        font-size: 14px;
    }

    .life-activity-holder {
        width: 85%;
        margin: auto;
    }

    .why-us-sec h2 {
        font-size: 28px;
    }

    .why-us-sec p,
    .why-us-sec h4,
    .why-us-sec h5,
    .why-us-sec h2 {
        text-align: center;
    }

    .numeric-count {
        width: 100% !important;
        text-align: center;
    }

    .why-us-sec img {
        margin-top: 30px;
    }

}

@media (max-width: 345px) {
    .searchbar-part {
        height: 45px;
    }

    .react-logins .applicant {
        padding: 4px 10px;
    }

    .why-us-sec .numeric-count {
        margin-bottom: 6px;
    }
}

/* section p,
.pedagogy-content p {
    text-align: justify !important;
} */

@media (max-width: 768px) {
    .pedagogy-content-img img {
        width: 100%;
        margin: auto;
    }

    .subject-holder {
        width: 75%;
    }
}


@media (max-width: 577px) {

    /* about us page */
    .kg-title {
        text-shadow: 2px 1px 0px #e8a1c2;
    }

    /* grade1&2 */
    .pedagogy-content-img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .info-list {
        top: 108px;
    }

    .library-hero {
        background-size: cover;
    }

    .laboratory .laboratory-img-holder {
        width: 90%;
        margin: 20px auto;

    }

    .code-ai {
        width: 90%;
        margin: auto;
    }
}


@media (max-width: 475px) {

    .pedagogy-content-img svg {
        position: relative;
        right: -25%;

    }

    .info-list {
        left: -3%;
    }

    .form-card h4 {
        font-size: 35px;
    }

    .form-card {
        padding: 20px;
    }

    .pedagogy-content-img svg {
        width: 200px;
    }

    .info-list {
        top: 84px;
    }

    .info-list li {
        margin-bottom: 7px;
        font-size: 12px;
    }

    .pedagogy-content-img {
        height: 315px;
    }
}

@media (max-width: 375px) {

    .pedagogy-content-img {
        height: 260px;
    }

    .social-icons svg {
        width: 54px !important;
        height: 40px !important;
    }
}

@media (max-width: 345px) {
    .kg-title {
        font-size: clamp(28px, 5vw, 64px);
    }
}

.custom_underline-kpr::after{
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--teal);
    margin: 4px 0 0;
    border-radius: 2px;
}