@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";

/* Root */
:root {
    --blue: rgb(6, 150, 239);
    --ltblue: rgb(6, 114, 223);
    --drkblue: rgb(0, 0, 102);
    --blk: #000;
    --wht: #fff;
    --lwwht: #f1f1f1;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
 /* width: 100% !important; */
 overflow-x: hidden !important;
position: relative !important;
}
body {
    font-size: var(--fs-400);
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;

}

li {
    list-style: none;
}

.flex {
    display: flex;
    align-items: center;
}

.home {
    height: 100vh;
}

.wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.home {
    /* change */
display: flex;
justify-content: center;

    padding-bottom: 2rem;
    min-height: 100vh;
    background-image: url("./img/SUNNYBABA\ &\ KOREX\ WEBSITE_IMG.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(137, 156, 170, 0.4);
    /* z-index: 2000; */
}

.header {
    padding-top: 2rem;
    justify-content: space-between;
    /* position: relative; */
    align-items: center;
/* change */
position: absolute;
width: 100%;
}

.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #f1f1f1;
    padding: 1rem 0;
}

.header-wrapper {
    /* height: 100%; */
    justify-content: space-between;
}

.home_info {
    /* change */
    position: absolute;
    z-index: 5000;
    color: #fff;
}
.logo img {
    width: 1.8rem;
}

.navbar {
    margin-right: 2rem;
}

.header a {
    color: var(--blk);
    font-size: 1.1rem;
    margin-right: 2em;
    padding-right: .4rem;
    padding: .2rem .6rem;
    border-radius: .4rem;
}

/* sub menu */

.service-link {
    position: relative;
    margin-right: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
}
.service-drop {
    list-style: none;
    width: 230px;
    border-top: 1px solid var(--ltblue);
    border-bottom: 1px solid var(--ltblue);
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(240, 240, 240);
    border-radius: 5px;
    overflow: hidden;
    /* display: none; */
    display: block;
    margin-top: 2rem;
    visibility: hidden;
    transform: translatey(-30px);
    transition: all .3s ease-in; 
}
.mobile_menu{
    display:none ;
    transition: all 1s ease-in;
    transform: translatey(-30px);
}
  
.service-drop-list {
    padding: 0.5em 0;
    border-bottom: 1px solid #e0e5e5;
}

.service-drop-list a:hover {
    color: var(--ltblue);
}

.service-drop-list:hover {
    background: #e7e7e7;
}

.service-drop a {
    font-size: .9rem;
}

.cur-page {
    background-color: var(--ltblue);
    color: var(--lwwht) !important
}

.home_info {
    justify-content: center;
    flex-direction: column;
    margin-top: 10rem;
    gap: .2rem;
}

.home_info img {
    width: 7rem;
    margin-bottom: 1rem;
}

.home_info h2 {
    font-size: 2.5rem;
}

.home_info h4 {
    font-size: 2rem;
}

.home_info p {
    font-size: 1.4rem;
}

/* ABOUT  */
.about {
    padding: 4rem 0;
    background: rgb(237, 244, 252);
}

.about_inner {
    gap: 4rem;
    width: 100%;
}

.about_img {
    width: 35%;
}

.about_img img {
    width: 100%;
}

.about_info {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.about_info p {
    text-align: right;
}

.section_inner {
    align-items: center;
    padding: 0 6rem;
}

.section h2 {
    text-align: center;
    font-weight: 300;
    margin-bottom: 1rem;
}

.read {
    text-transform: uppercase;
    margin-top: 2rem;
    text-align: center;
    padding-bottom: 4rem;
}

.read a {
    padding: .3rem .8rem;
    border-radius: .5rem;
    background: var(--drkblue);
    color: #fff;
}

/* SERVICES */

.services {
    padding-top: 3rem;
    margin-bottom: 4rem;
}

.service-container {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr) ; */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-box {
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e5e5;
    padding: 2rem;
    border-radius: .8rem;
    background: linear-gradient(90deg, #f1f1f1, #fff);
    text-align: center;

}

.service-box:hover {
    transform: scale(1.05);
}

.service-box p {
    font-size: .9rem;
}

.service-box a {
    margin-top: 1.5rem;
    color: var(--ltblue);
    padding: .8rem;
    background: #f0f0f0;
    font-size: .9rem;
}

.service-box a:hover {
    color: #fff;
    background: var(--ltblue);
    transform-origin: left 2px;
}

.service-box img {
    width: 11rem;
    margin-bottom: 1rem;
}

.schoolsys h4 {
    color: var(--ltblue);
}

/* 
AIM */
.aim_box {
    justify-content: center;
}

.aim_box_inner {
    width: 90%;
    box-shadow: .3rem .5rem 1rem .5rem rgba(0, 0, 0, .1);
    border-radius: .8rem;
    margin-bottom: 2rem;
    display: flex;
}

.box {
    border-right: 2px solid #000;
    margin-right: 2rem;
    padding: 1rem;
    width: 33.3%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.no-box {
    border-right: none;
    border-bottom: none;
}

.box h2 {
    margin-bottom: .6rem;
    font-size: 1.2rem;
}

/* Conatct */
.contact {
    margin-bottom: 4rem;
}

.contact h3 {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
}

.contact .heading span {
    text-align: center;
    text-transform: uppercase;
    padding: 1rem;
    padding-bottom: 3rem;
}

.contact-box {
    display: flex;
    gap: 1rem;
    border-radius: 2rem;
    border: .2rem solid rgba(0, 0, 0, .1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
}

.contact-box .img {
    width: 60%
}

.contact-box img {
    width: 100%;
    height: 100%;
}

.contact-box .form {
    width: 60%;
    padding: 1.2rem;
}

.contact-box form .inputbox {
    padding: 1rem o;
}

.contact-box form .inputbox h4 {
    padding: .5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.contact-box form .inputbox input,
.contact-box form .inputbox textarea {
    width: 100%;
    padding: 1rem;
    border: .1rem solid rgba(0, 0, 0, .1);
    text-transform: none;
}

.contact-box form .inputbox textarea {
    resize: none;
    max-height: 9rem;
}

.message ::placeholder {
    font-size: 1rem;

}

.btn {
    display: inline-block;
    margin-top: .6rem;
    margin-bottom: 2rem;
    background: var(--blue);
    padding: .4rem 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border: none;
}

/* PARTNERS */
.partners h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
}

.partner-inner {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.partner-inner img {
    width: 10rem;
}

/* TOP FOOTER */
footer {
    background: #e7e7e7;
}

.pre-footer {
    margin-top: 3rem;
    background: #e7e7e7;
    padding: 2rem 0;
}

.logo-name img {
    width: 27rem;
}

.address p {
    font-size: 1rem;
    margin-top: 1rem;
}

.logo-name {
    border-right: 1px solid #a3a3a3;
    margin-right: 2rem;
}

/* BOTTOM FOOTER     */
.footer {
    margin-top: 3rem;
}

.footer-inner {
    flex-direction: column;
}

.social-icons {
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgb(214, 214, 214);
    justify-content: center;
}

.social-icons i {
    font-size: 1.2rem;
}

.copyright {
    margin-bottom: 2rem;
    text-align: center;
}


/* Media Query */
@media(max-width: 800px) {
    .btn {
        margin-bottom: 1.5rem;
    }

    .contact-box {
        flex-wrap: wrap;
    }

    .contact-box .img {
        width: 100%
    }

    .contact-box img {
        width: 100%;
        height: 100%;
    }

    .contact-box .form {
        width: 100%;
    }

    .btn {
        margin-bottom: 2rem;
    }

    .aim_box_inner {
        flex-direction: column;
    }

    .box {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .no-box {
        border-bottom: none;
    }

    .partner-inner {
        flex-wrap: wrap;
        gap: 2.5rem;
    }

    .partner-inner img {
        width: 8rem;
    }
    .header a {
        font-size: 1rem;
         margin-right: 0em;
}
    }

@media(max-width: 760px) {
    .service-box img {
        width: 8rem;
    }
    .about_inner {
        gap: 4rem;
        flex-direction: column;
    }

    .about_img {
        width: 50%;
    }

    .about_img img {
        width: 100%;
    }

    .about_info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .about_info p {
        text-align: left;
    }
    .home_info h2 {
        font-size: 2rem;
    }
    
    .home_info h4 {
        font-size: 1.5rem;
    }
    
    .home_info p {
        font-size: 1.2rem;
    }
}

@media(max-width: 600px) {
    /* html, body {
        width: 100% !important;
       } */
    .header {
        height: 4rem;
    }

    .logo img {
        width: 1.6rem;
    }

    .navbar {
        width: 90%;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        margin-top: 65px;
        background-color: var(--lwwht);
        transition: transform 800ms;
    }

    .nav_ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.3rem;
        padding: 1.5rem
    }
.service-drop{
    /* position: relative; */
    display: none !important;
    transition: 1s ease;
}
.mobile_menu_active{
    /* visibility: visible; */
    display: inline;
     transform: translatey(30px);
    transition: all 1s ease-in;

    /* transition: all .3s ease-in;   */
}
    .cur-page {
        background-color: var(--ltblue);
        color: #424240 !important
    }

    .header a {
        background: none;
    }

    .header__menu {
        width: 25px;
        cursor: pointer;
        /* display: none; */
    }

    .header__line {
        width: 100%;
        margin-bottom: 4px;
        background-color: #1f1f1f;
        display: block;
        height: 3px;
    }

    .open.header__menu {
        position: relative;
    }

    .open.header__navb {
        transform: translateX(0);
    }

    .open .header__line {
        position: absolute;
    }

    .open .header__line:nth-child(1),
    .open .header__line:nth-child(3) {
        transition: transform 0.5s;
    }

    .open .header__line:nth-child(1) {
        transform: rotate(45deg);
    }

    .open .header__line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .open .header__line:nth-child(2) {
        opacity: 0;
        transition: opacity 0.05s;
    }


    .open.navbar {
        transform: translateX(0);
    }

    .about_inner {
        align-items: center;
        padding: 0 1rem;
    }

    .services,
    .about h2 {
        font-size: 1.2rem;
    }

    .section_inner {
        padding: 0 1rem;
    }

    .aim_box_inner {
        flex-direction: column;
    }

    .box {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .no-box {
        border-bottom: none;
    }

    .contact-box {
        flex-wrap: wrap;
    }

    .contact-box .img {
        width: 100%
    }

    .contact-box img {
        width: 100%;
        height: 100%;
    }

    .contact-box .form {
        width: 100%;
        padding: 1.2rem;
    }

    .prefoot {
        flex-direction: column;
    }

    .prefoot img {
        width: 20rem;
    }

    .logo-name {
        border-right: none;
        margin-bottom: 2rem;
    }

    .address h3 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .address p {
        font-size: .9rem;
    }

    .prefoot {
        margin: 2rem 0;
    }

    .about_img {
        width: 80%;
    }
}

@media(min-width:599px) {
    .header-menu {
        display: none;
    }
}

@media(max-width: 400px) {
    .home_info img {
        width: 6rem;
    }

    .home_info {
        margin-top: 12rem;
    }

    .home_info h2 {
        font-size: 1.6rem;
    }

    .home_info p {
        font-size: 1rem;
    }
}

@media(max-width: 400px) {

    .header a {
        font-size: 1rem;
    }

    .home_info img {
        width: 5rem;
    }

    .home_info p {
        font-size: .9rem;
    }

    .about p {
        font-size: .9rem;
    }

    .read a {
        font-size: .9rem;
    }

    .contact h3 {
        font-size: 1.1rem;
    }

    .section_inner h2 {
        font-size: 1.1rem;
    }

    .box h3 {
        font-size: 1rem;
    }

    .box p {
        font-size: .9rem;
    }

    .box {
        margin-bottom: 1rem;
    }

    .home_info img {
        margin-bottom: 2rem;
    }

    .contact-box form .inputbox h4 {
        font-size: .8rem;
    }

    .aim_box {
        margin-bottom: 2rem;
    }

    .btn {
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 0.3rem 1.2rem;
    }

    .social-icons {
        gap: 0.8rem;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }

    .social-icons i {
        font-size: 1rem;
    }

    .copyright {
        font-size: .8rem;
        margin: 0 1rem;
    }

    .service-box a {
        margin-top: 1.2rem;
        padding: 0.7rem;
    }

    .prefoot img {
        width: 14rem;
    }
}