
    /* footer section */
#footer{
    width: 100%;
    height: auto;
    background-color: rgb(49, 52, 61);
    color: var(--white);
    padding-top: 30px;
}
#footer .container,#footer .row{
    display: flex;
    justify-content: center;
    align-items: center;
}
#footer .col-xl-4{
    line-height: 180%;
    letter-spacing: 2px;
}
#footer ul{
    list-style-type: none;
}
#footer ul li a{
    color: var(--white);
    transition: all .3s ease-in-out;
    font-weight: 300;
}
#footer ul li a:hover{
    font-weight: 400;
    color: var(--maincolor);
}
#footer .img{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#footer img{
    width: 50%;
}
#footer .active{
    color: var(--maincolor);
    font-weight: 400;
}
#footer .copyright{
    height: auto;
    padding: 10px 0px;
    background-color: var(--maincolor);
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#footer .copyright .right{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
#footer .copyright i{
    font-size: 18px;
    color: var(--white);
    margin-right: 10px;
    transition: all .3;
}
#footer .copyright i:hover{
    scale: 1.1;
}
/* copy section */


.offcanvas-body .itmes{
    color: var(--bg);
    margin: 10px 0px;
}
.offcanvas-body .items i{
    background-color: transparent;
}



@media (max-width:1200px){
    #footer .col-xl-4 span{
        font-size: 13px;
    }
}

@media (max-width:992px) {
    .top{
        justify-content: center;
        margin-bottom: 10px;
    }
    .top .search{
        padding: 5px 0px;
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: var(--ab_bg);
    }
    .top .search input{
        width: 60%;
        margin-right: 5px;
    }
    .nav::before{
        width: 70%;
        position:absolute;
        box-sizing: border-box;
        border-right: 10vh solid transparent;
        border-top: 15vh solid var(--maincolor);
        z-index: -1;
    }
    .nav .col-xl-7{
        justify-content: space-evenly;
    }

    .nav .rightmenu{
        display: inline-block;
    }
    #off{
        display: block;
    }
    .nav #disp, .nav .disp{
        display: none;
    }

    #about, #about .container, #about .row{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #about #ab_left,#about #ab_right{
        margin: 20px 0px;
    }
    #about .ab_img3{
        width: 30%;
    }
    #stu_number .col-xl-4{
        height: auto;
        padding-top: 20px;
    }
    #stu_number .col-md-12{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    #stu_number .col-xl-4 .card{
        padding-top: 15px;
    }
    #footer .col-xl-4 .img{
        justify-content: start;
        align-items: start;
    }
    #footer .col-xl-4 img{
        width: 20%;
    }
}

@media (max-width: 768px){
    .top .search input{
        width: 60%;
        margin-right: 5px;
    }
    .nav h4{
        font-size: 20px;
    }
    .nav::before{
        display: none;
    }
    .nav {
        background-color: var(--maincolor);
    }

    .nav .col-xl-7 .rightmenu{
        color: var(--white);
    }
    #stu_number .col-md-12{
        align-items: start;
    }
    #teacher{
        text-align: center;
    }
    #teacher .col-xl-4{
        margin-top: 10px;
    }
    #teacher img{
        width: 50%;
    }
    #footer .right{
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 576px){
    .top span{
        font-size: 11px;
        margin: 5px 0px;
        font-weight: bold;
    }
    .nav h4{
        font-size: 17px;
    }
    #contact iframe{
        height: 300px;
    }
    #contact .right .text{
        height: 300px;
    }
    #footer .copyright{
        display: flex;
        flex-direction: column;
    }
    #footer .right{
        margin: 5px 0px;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
    }
    #footer .col-xl-4 span{
        font-size: 15px;
    }
}

 .edu-footer {
          background: linear-gradient(120deg, #181c24 60%, #23272f 100%);
          color: #eee;
          /* 14px -> 15px, slightly smaller than body copy */
          font-size: clamp(0.875rem, 0.83rem + 0.15vw, 0.9375rem);
          line-height: 1.65;
          margin-top: 0;
        }
.edu-footer .footer-container {
          position: relative;
        }

        /* Codey column — large character, upper body prominent */
        .footer-codey-col .footer-brand img {
          height: 380px !important;
          width: auto !important;
          max-width: 95% !important;
          display: block !important;
          object-fit: cover !important;
          object-position: center top !important;
        }

        /* YHA logo (right column) — normal size */
        .footer-brand img {
          height: 80px !important;
          width: auto !important;
          max-width: 100% !important;
          display: block !important;
          object-fit: contain !important;
          object-position: center center !important;
        }

        .footer-desc { color: #bbb; font-size: clamp(0.8125rem, 0.78rem + 0.12vw, 0.875rem); margin-bottom: 0.5rem; }
        .footer-title { color: #ff6b01; font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem); font-weight: 700; margin-bottom: 0.85rem; line-height: 1.3; }
        .footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
        .footer-links li, .footer-contact li { margin-bottom: 0.45rem; line-height: 1.6; }
        .footer-links a { color: #eee; text-decoration: none; font-size: clamp(0.875rem, 0.83rem + 0.15vw, 0.9375rem); transition: color 0.2s; }
        .footer-links a:hover { color: #ff6b01; }
        .footer-contact li { font-size: clamp(0.875rem, 0.83rem + 0.15vw, 0.9375rem); }
        .footer-contact i { color: #ff6b01; margin-right: 0.5em; font-size: 0.95em; }
        .footer-social {
          display: flex;
          gap: 0.7em;
          justify-content: center;
          margin-bottom: 0.5em;
        }
        .footer-social a {
          display: flex; align-items: center; justify-content: center;
          color: #fff; background: #23272f; border-radius: 50%;
          width: 32px; height: 32px; font-size: clamp(1rem, 1.9vw, 1.1rem);
          transition: background 0.2s, color 0.2s;
        }
        .footer-social a:hover { background: #ff6b01; color: #23272f; }
        .footer-cta {
          display: inline-block; background: #ff6b01; color: #fff; padding: 0.45em 1.1em;
          border-radius: 20px; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s;
          margin-top: 0.5em;
          font-size: clamp(0.8125rem, 0.78rem + 0.12vw, 0.875rem);
        }
        .footer-cta:hover { background: #fff; color: #ff6b01; }
        .footer-divider { border-color: #333; }
        .footer-links, .footer-contact, .footer-title, .footer-cta { width: 100%; }
        @media (max-width: 991.98px) {
          .edu-footer .row > div { margin-bottom: 1.5rem; }
          .footer-codey-col .footer-brand img { height: 300px !important; }
          .footer-brand img { height: 64px !important; }
          .footer-social { justify-content: center; }
          .footer-title, .footer-links, .footer-contact, .footer-cta { text-align: center !important; }
        }
        @media (max-width: 576px) {
          .edu-footer .row > div { margin-bottom: 1rem; }
          .footer-codey-col .footer-brand img { height: 240px !important; }
          .footer-brand img { height: 56px !important; }
          .footer-title { font-size: 0.875rem; }
          .footer-links a, .footer-contact li { font-size: 0.8125rem; }
          .footer-cta { font-size: 0.75rem; }
        }

