@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kantumruy Pro", sans-serif;
}
body{
    width: 100%;
    min-height: auto;
    display: block;
    justify-content: center;
    align-items: center;
}
h1,h2,h3,h4,h5,h6,
p{
    cursor: default;
}
/*header*/

header{
    width: 100%;
    min-height: 50px;
    padding:0% 10%;
    box-shadow: 0 0 10px #adadad;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}
header nav{
    min-height: 50px;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    display: flex;
    align-items: center;
}
.logo h3{
    color: #2563eb;
    font-size: 24px;
    padding-right: 5px;
}
.logo p{
    font-size: 20px;
    font-weight: 600;
    color: #374151;
}

.menu a{
    margin-left: 50px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    color: #374151;
}
.menu a:hover{
    color: #2563eb;
}

/*-------------Setion Programs------------*/

section{
    width: 100%;
    min-height: auto;
    padding: 1% 10%;
}
.programs-body{
    width: 100%;
}
.title{
    text-align: center;
    margin-bottom: 50px;
}


.programs-body h1{
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 20px;
}
.programs-body p {
  max-width: 500px;
  margin: auto;
  padding: 0 10px;
  text-align: center;
}

/*------------Setion Programs card-------------------*/
.container{
    width: 100%;
    display: grid;
    grid-auto-columns: 50%;
    grid-auto-rows: auto;
    gap: 1em;
    grid-template-areas:
    "card-1 card-2"
    "card-3 card-4";
}
.card{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    background-color:#eff6ff;
    border-radius: 12px;
    padding: 20px 30px;
    border-top: 12px solid #2563eb;
    box-shadow: 0px 3px 10px #e8e8e8;
    transition: 0.5s;
}

.text-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
}
.text-card h1{
    font-size: 20px;
}

.card:hover{
    box-shadow: 0px 5px 10px #bcbcbc;
    z-index: 1;
}

.icon{
    margin: 20px 0;
}
.icon i{
    font-size: 20px;
    border-radius: 100%;
    background-color: #dbeafe;
    padding: 12px 13px 7px 13px;
    color: #2563eb;
}
.card p{
    color: #374151;
    font-size: 19px;
    margin-bottom: 20px;
}
.card a{
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}
.card a:hover{
    color: #063db5;
}
.icon-for-link i{
    font-size: 10px;
    font-weight: 900;
}
.image img{
    border-radius: 6px;
    max-width: 150px;
}

.link-more{
    display: none;
}
/*----------------Setion Contact Us------------------*/

.contact{
    width: 100%;
    min-height: auto;
    padding: 5% 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2563eb;
}
.contact-body{
    display: flex;
    width: 100%;
    border-radius: 16px;
    background-color: #fff;
}
.input-form{
    width: 50%;
    background-color: #fff;
    padding: 50px;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 16px;
}
.input-form h1{
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 20px;
}
.input-form p{
    color: #374151;
    font-size: 19px;
    font-weight: 500;
    line-height: 30px;
}
.input-form form{
    display: grid;
    gap: 2em;
    flex-direction: column;
    margin: 20px 0;
}

label{
    font-weight: 500;
    color: #374151;
}
input,
textarea{
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #989898;
    border-radius: 6px;
}

button{
    background-color: #2563eb;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
}
button:hover{
    background-color: #063db5;
}

.info-contact{
    background-color: #eff6ff;
    width: 50%;
    padding: 50px;
    text-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.info-contact .icon{
    margin: 20px 0;
    display: flex;
}
.info-contact div h3{
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 10px;
}
.info-contact div p,
.info-contact div a{
    line-height: 25px;
    text-decoration: none;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
}
.info-contact div a:hover{
    text-decoration: underline;
    color: #2563eb;
}
.info-contact .icon i{
    font-size: 18px;
    background-color: #eff6ff;
}

.madie-icon{
    margin: 20px 0;
}

.madie-icon a{
    background-color: #dbeafe;
    padding: 12px 12px 7px 12px;
    margin-right:10px;
    border-radius: 50% ;
}
.madie-icon a:hover{
    background-color: #9ac3f9;
}
.madie-icon a i{
    color: #2563eb;
}
.madie-icon a i:hover{
    text-decoration:none;
}
html {
  scroll-behavior: smooth;
}



.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

/* Delay classes for staggered animations */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
/* Fade-in animation */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes slide {
    25%   { transform: translateX(0%); }
    50%  { transform: translateX(-100%); }
    75%  { transform: translateX(-200%); }
    100%  { transform: translateX(-300%); }
}

@media screen and (max-width: 768px) {
    header{
        padding: 0% 1%;
    }
    section,
    .contact{
        padding: 1% 1%;
    }
    header .logo{
        display: none;
    }
    header .menu{
        width: 100%;
        text-align: center;
    }
    header .menu a{
        font-size: 12px;
    }

    .programs .title h1{
        font-size: 16px;
    }
    .programs .title p{
        font-size: 12px;
    }

    .container{
        grid-auto-columns: auto;
        padding-bottom: 10px;
    }
    .container .card .text-card{
        display: none;
    }
    .card{
        flex-direction: column;
        text-align: center;
        border: 0;
        padding: 10px;
    }
    .card img{
        width: 100%;
    }
    .card a{
        font-size: 12px;
    }
    .link-more{
        display: block;
    }

    .contact-body{
        flex-direction: column;
        width: 100%;
    }
    .input-form,
    .info-contact{
        width: 100%;
        padding: 20px;
    }
    .input-form h1,
    .info-contact h1{
        font-size: 18px;
    }
    .input-form label,
    .input-form input,
    .input-form textarea,
    .input-form button{
        font-size: 12px;
    }

    .info-contact .icon div h3{
        font-size: 16px;
    }
    .info-contact .icon div a,
    .info-contact .icon div p{
        font-size: 12px;
    }
}

