.icon-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
    text-align: center;
}

.icon-item {
    flex: 1;
    position: relative;
}

/* Vertical separator line */
.icon-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #eee;
}

.icon-item:last-child::after {
    display: none;
}

.icon-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    padding: 20px 10px;
    transition: all 0.3s;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s;
    color: #999;
    /* Default icon color */
}

.icon-item i {
    font-size: 40px;
    /* Adjust icon size */
}

.icon-item .text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

/* Hover Effects */
.icon-item a:hover .icon-circle {
    background-color: #0e63b3;
    /* Teal color from image */
    color: #fff;
    /* Icon becomes white */
}

.icon-item a:hover .text {
    color: #0e63b3;
    /* Text becomes teal */
}

/* Mobile Layout */
@media (max-width: 991.98px) {
    .icon-button {
        flex-wrap: wrap;
    }

    .icon-item {
        flex: 0 0 25%;
        /* 4 items per row -> 2 rows for 8 items */
        max-width: 25%;
    }

    /* Remove separators for mobile if needed, or adjust */
    .icon-item::after {
        display: none;
        /* Often cleaner to remove separators in grid */
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .icon-item i {
        font-size: 24px;
    }

    .icon-item .text {
        font-size: 14px;
    }
}

/* home */
.home-section .section-main-banner .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767.98px) {
    .home-section .section-main-banner .carousel-item {
        height: 300px;
    }
}

.home-section .section-btngroup {
    position: relative;
    z-index: 10;
    margin-top: -54px;
}

.home-section .section-btngroup .btngroup-wrapper {
    background-color: var(--scs-title);
    border-radius: 20px;
}

.home-section .section-btngroup a {
    color: #ffffff;
    text-decoration: none !important;
    transition: color 0.3s;
}

.home-section .section-btngroup a:hover {
    color: var(--scs-main4);
    transition: color 0.3s;
}

.home-section .section-btngroup a:hover {
    text-decoration: underline;
    transition: color 0.3s;
}

.home-section .section-btngroup a i {
    transition: transform 0.6s ease-in-out;
}

.home-section .section-btngroup a:hover i {
    transform: rotateY(360deg);
}

.home-section .section-btngroup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* home news & opinion section layout */
.section-news {
    margin-top: -60px;
}

.section-news .col-news {
    padding-top: 100px !important
}

.section-news .col-opinion {
    padding-top: 100px !important
}

@media (max-width: 767.98px) {
    .home-section .section-btngroup {
        margin-top: 30px;
    }

    .section-news {
        margin-top: 20px;
    }

    .section-news .col-news {
        padding-top: 50px !important
    }

    .section-news .col-opinion {
        padding-top: 50px !important
    }

}

.section-news .col-news {
    background-color: var(--scs-blue9);
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
    z-index: 1;
}

/* Extend News Background to Left */
.section-news .col-news::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    /* Start from left edge of column */
    width: 200vw;
    background-color: var(--scs-blue9);
    z-index: -1;
}

.section-news .col-opinion {
    background-color: var(--scs-bg-beige1);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    position: relative;
    z-index: 1;
}

/* Extend Opinion Background to Right */
.section-news .col-opinion::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    /* Start from right edge of column */
    width: 200vw;
    background-color: var(--scs-bg-beige1);
    z-index: -1;
}

/* Card Styling inside the sections */
.section-news .card {
    border: none;
    background: transparent;
    box-shadow: none !important;
}

.section-news .card-link {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.section-news .card-img-top {
    position: relative;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transition: all 0.3s ease-in-out;

}

.section-news .card-img-top:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transition: all 0.4s ease-in-out
}

.section-news .card-link i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    color: rgba(255, 255, 255, .7);
    font-size: 80px
}

.section-news .card-link:hover i {
    color: rgba(255, 255, 255, 1)
}

.section-news .card-title {
    margin-top: 10px;
    font-weight: 600;
}

.section-news .col-opinion img {
    border: 5px solid var(--scs-bg-beige1);
    transition: all 0.4s ease-in-out
}

.section-news .col-opinion img:hover {
    border: 5px solid var(--scs-title);
    transition: all 0.4s ease-in-out
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .section-news .col-news {
        border-radius: 0;
        margin-bottom: 0;
    }

    /* Extend News Background to Right as well on mobile */
    .section-news .col-news::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 200vw;
        background-color: var(--scs-blue9);
        z-index: -1;
    }

    .section-news .col-opinion {
        border-radius: 0;
    }

    /* Extend Opinion Background to Left as well on mobile */
    .section-news .col-opinion::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 100%;
        width: 200vw;
        background-color: var(--scs-bg-beige1);
        z-index: -1;
    }

    .section-news .card-link i {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -20px 0 0 -20px;
        color: rgba(255, 255, 255, .7);
        font-size: 40px
    }
}

.home-section .section-photo {
    position: relative;
    z-index: 10;
}

.home-section .section-photo .card {
    min-height: 290px;
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15), 0 3px 3px rgba(0, 0, 0, .15);
    overflow: hidden
}

.home-section .section-photo .card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .3), 0 3px 3px rgba(0, 0, 0, .3)
}

.home-section .section-photo .card-img-top {
    border-radius: 0
}

.home-section .section-photo .card-link {
    position: relative;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transition: all 0.3s ease-in-out;
    border-radius: 0
}

.home-section .section-photo .card-link:hover {
    transform: scale(1.04);
    -webkit-transform: scale(1.04);
    -moz-transform: scale(1.04);
    -o-transform: scale(1.04);
    transition: all 0.4s ease-in-out
}



/* info vision */
.info-vision .circle-box {
    display: inline-block;
    margin: 0 15px;
    padding: 0;
    width: 280px;
    height: 280px;
    border: 1px #ccc solid;
    border-radius: 140px;
    overflow: hidden
}

.info-vision .circle-box img {
    margin-top: -10px
}

.info-vision .logo-box {
    padding: 60px 40px;
    background: -webkit-linear-gradient(top, #f0f0f0 1px, rgba(0, 0, 0, 0) 1px), -webkit-linear-gradient(left, #f0f0f0 1px, #fff 1px);
    background-size: 10px 10px;
    border: 1px #ccc solid
}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {
    .info-vision .circle-box {
        display: inline-block;
        margin: 0 0 20px 0;
        padding: 0 0 20px 0;
        width: 100%;
        height: auto;
        border: 1px #ccc solid;
        border-radius: 0;
        overflow: hidden
    }
}

@media (max-width: 575.98px) {}

/* info people */
.info-people .people-item {
    padding-bottom: 40px !important;
    border-bottom: 1px #ccc solid !important;
    border-radius: 0 !important;
}

.info-people .row .col-lg-10:last-child .people-item {
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.info-people .people-item ul {
    margin: 0 0 0 16px !important;
    padding: 0 !important;
    list-style: square;
}

.info-people .people-item ul li {
    font-size: 16px !important;
}

.info-people .people-item ul li::marker {
    color: var(--scs-main2);
}

@media (max-width: 991.98px) {
    .info-people .people-item {
        padding-bottom: 20px !important;
    }

    .info-people .people-item img {
        width: 120px;
        height: auto;
    }
}


/* info contactus */
.info-contactus .contact-item {
    position: relative;
    padding-left: 80px;
}

.info-contactus .contact-item i {
    position: absolute;
    top: 8px;
    left: 0
}

.info-contactus .contactus-map iframe {
    width: 100%;
    height: 600px
}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {
    .contactus-map iframe {
        height: 450px !important;
    }
}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {
    .contactus-map iframe {
        height: 300px !important;
    }
}

@media (max-width: 575.98px) {}

/* education */
.edu-promise .promise-item {
    position: relative;
    padding: 10px 0 0 90px;
    min-height: 120px
}

.edu-promise .promise-item .circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    padding-top: 12px;
    border-radius: 40px;
    text-align: center;
    background: #5fae9e;
    color: #fff
}

@media (max-width: 575.98px) {}

@media (max-width: 767.98px) {
    .edu-promise .promise-item {
        min-height: 80px
    }
}

@media (max-width: 991.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 1399.98px) {}


/* community home */
.community-home .document-list .card-header {
    border-bottom: none;
    background: none;
}

.community-home .document-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.community-home .document-list ul li {
    position: relative;
    padding: 3px 90px 3px 0;
}

.community-home .document-list ul li .docu-category {
    text-decoration: none;
    letter-spacing: -1px;
    margin-right: 3px;
}

.community-home .document-list ul li .docu-category kbd {
    background: var(--scs-title);
    color: #fff;
}

.community-home .document-list ul li .docu-title {
    text-decoration: none;
    color: #333;
}

.community-home .document-list ul li .docu-title:hover {
    color: var(--scs-title);
    text-decoration: underline;
}

.community-home .document-list ul li .docu-date {
    position: absolute;
    right: 0;
    top: 2px;
    color: #333;
}

.community-home .menu-list .card-header {
    border-bottom: none;
    background: none;
}

.community-home .menu-list p kbd {
    background: var(--scs-title);
    color: #fff;
}

.community-home .menu-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.community-home .menu-list ul li {
    padding: 3px 0;
}

.community-home .menu-list ul li a {
    color: #333;
    text-decoration: none;
}

.community-home .menu-list ul li a:hover {
    color: var(--scs-title);
    text-decoration: underline;
}




.community-home .section-photo {
    position: relative;
    z-index: 10;
}

.community-home .section-photo .card {
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15), 0 3px 3px rgba(0, 0, 0, .15);
    overflow: hidden
}

.community-home .section-photo .card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .3), 0 3px 3px rgba(0, 0, 0, .3)
}

.community-home .section-photo .card-img-top {
    border-radius: 0
}

.community-home .section-photo .card-link {
    position: relative;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transition: all 0.3s ease-in-out;
    border-radius: 0
}

.community-home .section-photo .card-link:hover {
    transform: scale(1.04);
    -webkit-transform: scale(1.04);
    -moz-transform: scale(1.04);
    -o-transform: scale(1.04);
    transition: all 0.4s ease-in-out
}

.community-home .section-photo .card-link i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    color: rgba(255, 255, 255, .7);
    font-size: 80px
}

.community-home .section-photo .card-link:hover i {
    color: rgba(255, 255, 255, 1)
}

@media (max-width: 575.98px) {}

@media (max-width: 767.98px) {
    .community-home .section-photo .card-link i {
        margin: -20px 0 0 -20px;
        font-size: 40px
    }
}

@media (max-width: 991.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 1399.98px) {}

.community-home .section-classlist .card {
    transition: all 0.3s;
}

.community-home .section-classlist .card a {
    text-decoration: none !important;
}

.community-home .section-classlist .card:hover {
    background: var(--scs-title);
    color: #ffffff !important;
}

.community-home .section-subjectlist .card {
    transition: all 0.3s;
}

.community-home .section-subjectlist .card a {
    text-decoration: none !important;
}

.community-home .section-subjectlist .card:hover {
    background: var(--scs-title);
    color: #ffffff !important;
}




.community-main .class-list a {
    color: #333;
    text-decoration: none
}

.community-main .class-list .card:hover {
    background: #5fae9e
}

.community-main .class-list .card:hover a,
.community-main .class-list .card:hover a p,
.community-main .class-list .card:hover a .text-gray {
    color: #fff !important
}

.community-main .subject-list a {
    color: #333;
    text-decoration: none
}

.community-main .subject-list .card:hover {
    background: #5fae9e
}

.community-main .subject-list .card:hover a {
    color: #fff !important
}

.community-class-list .card .card-body {
    position: relative
}

.community-class-list .card .teacher-photo {
    position: absolute;
    top: 24px;
    right: 20px
}

.community-class-list .card .teacher-photo img {
    width: 70px;
    height: 70px;
    border-radius: 35px
}

.community-class-list .card .card-link {
    text-decoration: none
}

.community-class-list .card .card-link:hover {
    text-decoration: underline
}

/* etc sitemap */
.etc-sitemap a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.etc-sitemap a:hover {
    color: var(--scs-title);
    transition: color 0.3s;
}

.etc-sitemap a:hover {
    text-decoration: underline;
    transition: color 0.3s;
}

.etc-sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.etc-sitemap ul li {
    position: relative;
    padding: 3px 0 3px 20px;
}

.etc-sitemap ul li::after {
    content: "";
    display: block;
    position: absolute;
    top: 14px;
    left: 10px;
    width: 3px;
    height: 3px;
    background: #333;
}

.etc-sitemap ul li ul li {
    padding-left: 22px;
}

.etc-sitemap ul li ul li::after {
    content: "\f148";
    font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro";
    font-weight: 900;
    font-size: 12px;
    background: none;
    display: inline-block;
    position: absolute;
    left: 16px;
    top: 12px;
    transition: .3s;
    transform: rotate(90deg);
    color: #ccc;
}

.menu-depth1-wrap section {
    border-bottom: 1px #ededed solid;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

.menu-depth1-wrap section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-depth1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

.menu-depth2 a {
    position: relative;
    display: block;
    background: #F1F3F5;
    border-radius: 5px;
    padding: 12px 40px 12px 20px;
    font-size: 18px;
    font-weight: 500;
}

.menu-depth2 a:hover {
    background: var(--scs-title);
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.menu-depth2 a::after {
    content: "\f178";
    font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro";
    font-weight: 900;
    width: 24px;
    height: 24px;
    font-size: 16px;
    background: none;
    border-radius: none;
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
}

/* etc-policy */
.etc-policy {
    line-height: 1.8em
}

.etc-policy ol {
    margin: 0;
    padding: 0 0 0 25px;
    list-style: none;
}

.etc-policy ol li {
    text-indent: -25px;
}

.etc-policy ol li ol {
    list-style-type: lower-alpha;
}

.etc-policy ol li ol li {
    text-indent: 0;
}

/* etc-agreement */
.etc-agreement {
    line-height: 1.8em
}

.etc-agreement ol {
    margin: 0;
    padding: 0 0 0 25px;
    list-style: none;
}

.etc-agreement ol li {
    text-indent: -25px;
}

.etc-agreement ol li ol {
    list-style-type: lower-alpha;
}

.etc-agreement ol li ol li {
    text-indent: 0;
}

/* etc-board-rules */
.etc-board-rules {
    line-height: 1.8em
}

.etc-board-rules ol {
    margin: 0;
    padding: 0 0 0 25px;
    list-style: none;
}

.etc-board-rules ol li {
    text-indent: -25px;
}

.etc-board-rules ol li ol {
    list-style-type: lower-alpha;
}

.etc-board-rules ol li ol li {
    text-indent: 0;
}

/* curriculum */
.club-list>div {
    border-right: 1px var(--bs-border-color) solid;
}

.club-list>div:last-child {
    border-right: none;
}

@media (max-width: 767.98px) {
    .club-list>div {
        border-right: none;
    }

    .club-list>.col-md-4,
    .club-list>.col-md-4>.row {
        display: contents;
    }
}

/* blue-half-bg */
.blue-half-bg:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: var(--mh-blue9);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .blue-half-bg:after {
        display: none;
    }
}

/* responsive table col */
@media (min-width: 768px) {
    .col-md-fixed-150 {
        width: 150px;
    }
}