@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;
}

/* Base styles for mobile-first approach */

/* Section 1 - Hero */
.section-home {
    background-color: #96a9e439;
    text-align: center;
    padding: 60px 20px;
}

.section-home .title h1 {
    font-size: 2.2rem;
    color: #292929;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-home .title p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #292929bf;
    margin-bottom: 30px;
    line-height: 1.6;
}

.section-home .title button {
    border: 0;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #5238e1;
    padding: 14px 28px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-home .title button:hover {
    background-color: #3916b8;
}

/* Section 2 - Programs */
.programs {
    width: 100%;
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.programs h2 {
    font-size: 1.8rem;
    color: #292929;
    margin-bottom: 40px;
}

.subject {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.card {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.card .about-program {
    text-align: left;
    padding: 20px;
}

.card .about-program h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #292929;
}

.card .about-program p {
    font-weight: 400;
    color: #636363;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.card .about-program a {
    font-size: 1rem;
    font-weight: 500;
    color: #5238e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card .about-program a:hover {
    color: #221181;
}

/* Section 3 - About */
.about {
    width: 100%;
    background-color: #96a9e439;
    text-align: center;
    padding: 60px 20px;
}

.about .border {
    max-width: 1200px;
    margin: 0 auto;
}

.about .title h2 {
    font-size: 1.8rem;
    color: #292929;
    margin-bottom: 20px;
}

.about .title p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #636363;
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-madie {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.about-madie .content {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.about-madie .content i {
    font-size: 24px;
    color: #5238e1;
    margin-right: 15px;
    font-weight: 900;
}

.about-madie .content p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #292929;
    margin: 0;
}

/* Section 4 - Contact */
.contactt{
    width: 100%;
    background-color: #ffffff;
}

.register{
    background-color:#f1f1f183;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    display: none;
}

form {
    width: 100%;
    box-shadow: 0 4px 12px #00000069;
    border-radius: 8px;
    padding: 30px 20px;
}

form .input-gr {
    margin-bottom: 20px;
}

form .input-gr label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #292929;
}

form .input-gr input,
form .input-gr textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form .input-gr input:focus,
form .input-gr textarea:focus {
    outline: none;
    border-color: #5238e1;
}

form .input-gr textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-button {
    width: 100%;
    text-align: center;
}

.btn-button button {
    border: 0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #5238e1;
    padding: 14px 28px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-button button:hover {
    background-color: #3916b8;
}

/* Mobile-first styles for my-address section */
.my-address {
    width: 100%;
    background-color: #1C2636;
    padding: 40px 20px;
    color: #fff;
}

.my-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.4);
}

.my-contact h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.my-contact .ct {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.my-contact .ct p {
    color: #838b9f;
    font-weight: 400;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.my-contact .ct a {
    color: #838b9f;
    font-weight: 400;
    margin-bottom: 12px;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.my-contact .ct a:hover {
    color: #ffffff;
}

/* Social media links container */
.my-contact .ct .social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.my-contact .ct .social-links a {
    margin-bottom: 0;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.my-contact .ct .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ct-footer {
    text-align: center;
    color: #838b9f;
    font-weight: 400;
    font-size: 14px;
    margin: 20px 0;
    line-height: 1.5;
}















/* Tablet styles */
@media (min-width: 768px) {
    .section-home {
        padding: 80px 40px;
    }
    
    .section-home .title h1 {
        font-size: 2.8rem;
    }
    
    .section-home .title p {
        font-size: 1.3rem;
    }
    
    .programs {
        padding: 80px 40px;
    }
    
    .programs h2 {
        font-size: 2.2rem;
    }
    
    .subject {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .card {
        max-width: 320px;
    }
    
    .about {
        padding: 80px 40px;
    }
    
    .about .title h2 {
        font-size: 2.2rem;
    }
    
    .about-madie {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .about-madie .content {
        max-width: 250px;
    }
    
    .contactt {
        padding: 80px 40px;
    }
    
    .message {
        max-width: 600px;
    }
    
    form {
        padding: 40px 30px;
    }
    .my-contact{
        flex-direction: row;
    }

}

/* Desktop styles */
@media (min-width: 1024px) {
    .section-home {
        padding: 100px 60px;
    }
    
    .section-home .title h1 {
        font-size: 3.5rem;
    }
    
    .section-home .title p {
        font-size: 1.4rem;
    }
    
    .programs {
        padding: 100px 60px;
    }
    
    .programs h2 {
        font-size: 2.5rem;
    }
    
    .subject {
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .card {
        max-width: 360px;
    }
    
    .about {
        padding: 100px 60px;
    }
    
    .about .title h2 {
        font-size: 2.5rem;
    }
    
    .about .title p {
        font-size: 1.2rem;
    }
    
    .about-madie .content {
        max-width: 280px;
    }
    
    .contactt {
        padding: 100px 60px;
    }
    
    .message {
        max-width: 700px;
    }
}


@media (min-width: 768px) {
    .my-address {
        padding: 50px 40px;
    }
    
    .my-contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: space-between;
    }
    
    .my-contact .ct {
        width: calc(50% - 20px);
        min-width: 200px;
    }
    
    .my-contact h3 {
        font-size: 19px;
    }
    
    .my-contact .ct p,
    .my-contact .ct a {
        font-size: 16px;
    }
    
    .ct-footer {
        font-size: 15px;
        margin: 30px 0;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .my-address {
        padding: 60px 60px;
    }
    
    .my-contact {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: space-between;
    }
    
    .my-contact .ct {
        width: 25%;
        min-width: auto;
    }
    
    .my-contact h3 {
        font-size: 20px;
        font-weight: 900;
        margin-bottom: 20px;
    }
    
    .my-contact .ct p,
    .my-contact .ct a {
        font-size: 17px;
        font-weight: 500;
        margin-bottom: 15px;
    }
    
    .ct-footer {
        font-size: 17px;
        font-weight: 500;
        margin: 30px 0;
    }
}



.input-radio{
    margin: 30px 0; 
    display: flex;
    justify-content: space-between;
}

.input-radio .redio-gr{
    font-size: 16px;
    font-weight: 500;
    color:#292929;
}

.input-radio label{
    font-weight: 500;
    color: #292929;
}

.input-gr select{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-gr select:focus{
    outline: none;
    border-color: #5238e1;
}


.title{
    text-align: center;
    margin-bottom: 30px;
}

.title u{
    font-size: 18px;
    font-weight: 500;
    color: #2557a8;
}


.title .btn-register {
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #5238e1;
    cursor: pointer;
    padding: 14px 28px;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.title .btn-register:hover{
    background-color: #3916b8;
}


