* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Rubik", sans-serif;
}





.parent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.child-1 {
    display: flex;
    width: 95%;
    gap: 20px;
}

.child-1 p {
    margin-bottom: 0;
}

.left-child-1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
    gap: 15px;
}

.course-name {
    font-size: 45px;
    width: 70%;
    font-weight: 700;
}
.content {
    width: 70%;
}
.search-service {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgba(0,0, 0, 0.5);
    padding: 4px;
    border-radius: 4px;
    width: 60%;
    margin-top: 20px;
}
.search-service input {
    border: none;
    outline: none;
    font-size: 14px;
    
}
.search-service button {
    outline: none;
    border: none;
    background-color: #007ab3;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 6px;
    border-radius: 4px;
}



.join-now {
    text-decoration: none;
    text-align: center;
    padding: 8px;
    width: 140px;
    border: none;
    background-color: #007ab3;
    color: white;
    font-weight: 700;
    border-radius: 6px;
}

.mobile-join-now {
    display: none;
}

.see-syllabus {
    text-decoration: none;
    text-align: center;
    padding: 8px;
    width: 140px;
    background-color: transparent;
    color: #007ab3;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid #007ab3;
}



.right-child-1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    position: relative;
}

.right-child-1 .image {
    width: 90%;
    align-items: center;
}

.right-child-1 .image img {
    width: 90%;
    border-radius: 10px;
}
.inquiry {
    border: 1px solid rgba(150, 150, 150, 0.5);
    padding: 4px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 14px;
    color: #007ab3;
    background-color: white;

    position: absolute;
    top: 20px;
    left: 100px;
}
.inquiry i {
    border: 1px solid rgba(150, 150, 150, 0.5);
    padding: 3px;
    color: white;
    border-radius: 4px;
    background-color: #007ab3;
}
.cv {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    padding: 4px;
    border-radius: 6px;
    font-size: 14px;
    color: #f39c12;
    background-color: white;

    position: absolute;
    top: 120px;
    right: 40px;
}
.cv i {
    border: 1px solid rgba(150, 150, 150, 0.5);
    padding: 3px;
    text-align: center;
    width: 22px;
    color: white;
    border-radius: 4px;
    background-color: #f39c12;
}
.cv span {
    display: flex;
    flex-direction: column;
}
.first-span {
    font-weight: 600;
}
.second-span {
    font-size: 12px;
    color: #f39c12;
}
.creative {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(150, 150, 150, 0.5);
    padding: 4px;
    border-radius: 6px;
    font-size: 14px;
    color: #007ab3;
    background-color: white;

    position: absolute;
    bottom: 120px;
    left: 80px;
}
.creative img {
    width: 60px;
}
.creative-1 {
    font-weight: 600;
}
.creative-2 {
    font-size: 14px;
}


/* child 2 start */
.child-2 {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    padding: 20px;
    border-top: 1px solid rgba(225, 225, 225, 1);
    border-bottom: 1px solid rgba(225, 225, 225, 1);
    background-color: #f39c12;
    color: white;
}

.mobile-heading {
    display: none;
}

.trusted {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
.trusted p {
    margin-bottom: 0;
}
.trusted-by {
    font-size: 14px;
}
.sub-trusted-by {
    font-size: 18px;
    font-weight: 700;
}
/* child 2 end */



/* child 3 start */
.child-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    padding-top: 30px;
}
.child-3 p {
    margin-bottom: 0;
}

.course-info {
    font-size: 25px;
    font-weight: 600;
}
.sub-course-info {
    font-size: 14px;
    color: gray;
}
.sub-child-3 {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px;
    margin-top: 10px;
    /* padding-bottom: 20px; */
}
.services {
    display: flex;
    flex-direction: column;
}
.services img {
    width: 280px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.sub-services {
    width: 280px;
    padding: 9px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.service-1 {
    font-size: 15px;
    font-weight: 600;
}
.service-2 {
    font-size: 14px;
}
.service-btn {
    padding: 4px 16px 4px;
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #007ab3;
    color: white;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    margin-top: 4px;
}
/* child 3 end */



/* testimonial / child 4 start  */
.child-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    padding-top: 40px;
}
.child-4 p {
    margin-bottom: 0px;
}
.sub-child-4 {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}
.testimonial{
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 40px 20px;
    border-radius: 10px;
    color: black;
    border: 1px solid #007ab3;
}

.testimonial p {
    margin-bottom: 0;
}

.testimonial img {
    width: 100px;
    height: 100px;
}

.sub-testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stu-name {
    font-weight: 600;
    font-size: 16px;
}
.stu-city {
    font-size: 14px;
    padding-bottom: 10px;
}
.stu-fb {
    font-size: 16px;
}
.stu-rate {
    color: rgb(255, 153, 0);
}
/* testimonial / child 4 end */



/* child 5 start */
.child-5 {
    display: flex;
    width: 95%;
    padding-top: 30px;
}
.child-5 p {
    margin-bottom: 0;
}
.right-child-5 {
    width: 50%;
}
.left-child-5 {
    width: 50%;
    text-align: center;
}
.left-child-5 img {
    width: 70%;
}
.overview-heading {
    font-size: 28px;
    font-weight: 600;
}
.sub-overview-heading {
    font-size: 16px;
    font-weight: 500;
}
.overview-content {
    font-size: 14px;
}
.two-buttons {
    display: flex;
    gap: 8px;
}
.learn-btn {
    border: none;
    outline: none;
    padding: 6px;
    background-color: #007ab3;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}
.contact-btn {
    border: none;
    outline: none;
    padding: 6px;
    background-color: #f39c12;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}


/* child 6 start */
.child-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    padding-top: 30px;
}
.child-6 p {
    margin-bottom: 0;
}

.sub-child-6 {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    margin-top: 30px;
}
.works {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    gap: 20px;
}
.sub-works-1 {
    background-color: #e2f6ff;
    border-radius: 10px;
    padding: 20px;
}
.sub-works-1 img {
    width: 250px;
    border-radius: 10px;
}
.sub-works-2 {
    text-align: center;
}
/* child 6 end */



/* child 7 start */
.child-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    padding-top: 60px;
}
.child-7 p {
    margin-bottom: 0;
}

.sub-child-7 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.category {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    
}
.cate-image {
    width: 80px;
    border: 1px solid rgba(150, 150, 150, 0.5);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: white;
}
.category-1 {
    font-weight: 600;
}
.category-2 {
    font-size: 14px;
}
/* child 7 end */



/* child 8 start */
.child-8 {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
    margin-top: 50px;
    position: relative;
}
.child-8 p {
    margin-bottom: 0;
}

.apply {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 150px;
    left: 100px;
}
.apply-heading {
    font-size: 50px;
    font-weight: 600;
    color: white;
}
.sub-apply-heading {
    font-size: 20px;
    color: white;
}
.apply-btn {
    width: fit-content;
    border: none;
    outline: none;
    font-weight: 600;
    font-size: 20px;
    padding: 4px 14px 4px;
    background-color: white;
    color: #007ab3;
    border-radius: 4px;
    margin-top: 25px;
}


/* form start */
.form-1 {
    display: none;
    border: 1px solid white;
    padding: 20px;
    background-color: white;
    color: #252525;
    border-radius: 5px;
    position: fixed;
    top: 123px;
    width: 400px;
    box-shadow: 4px 4px 20px 4px ;
    z-index: 999;
}

#submit-1 {
    background-color: #007ab3;
    border-style: none;
    color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

#cancel-1 {
    position: absolute;
    top: 18px;
    right: 0px;
    cursor: pointer;
    border: 1px solid white;
    width: 10%;
    background-color: white;
    font-size: 20px;
}
/* form end */






@media screen and (min-width : 320px) and (max-width : 768px) 
{

    
    /* child 1 start */
    .child-1 {
        display: flex;
        flex-direction: column;
        padding-top: 95px;
    }



    .left-child-1 {
        width: 100%;
        gap: 10px;
    }
    .course-name {
        text-align: center;
        font-size: 20px;
        width: 100%;
    }
    .content {
        text-align: center;
        font-size: 14px;
        width: 100%;
    }
    .search-service {
        width: 100%;
        margin-top: 10px;
    }
    .search-service button {
        padding: 3px;
        font-size: 13px;
    }
    .heading {
        display: grid;
        grid-template-columns: auto auto auto;
    }


    
    .right-child-1 {
        width: 100%;
        display :flex;
        justify-content: center;    
    }
    .right-child-1 .image {
        width: 100%;
    }
     .right-child-1 .image img {
        width: 100%;
    }
     .inquiry {
        top: 0;
        left: 0;
    }
    .cv {
        top: 200px;
        right: 0;
    }
    .creative {
        bottom: 50px;
        left: 0;
    }
    /* child 1 end */



    /* child 2 start */
    .child-2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .trusted {
        display: grid;
        grid-template-columns: auto auto auto;
        justify-content: space-evenly;
    }
    .sub-trusted-by {
        font-size: 14px;
    }
    /* child 2 end  */



    /* child 3 start */
    .sub-child-3 {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        padding: 0;
    }
    .course-info {
        font-size: 20px;
        text-align: center;
    }
    .sub-course-info {
        font-size: 14px;
        text-align: center;
    }
    .services {
        width: 100%;
    }
    .services img {
        width: 100%;
    }
    .sub-services {
        width: 100%;
    }
    /* child 3 end */



    /* testimonial / child 4 start */
    .child-4 {
        padding-top: 20px;
    }
    .sub-child-4 {
        width: 100%;
    }
    .testimonial {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .testimonial img {
        width: 60px;
        height: 60px;
    }
    .right-testimonial {
        width: 100%;
        height: unset;
    }
    .stu-name {
        text-align: center;
    }
    .stu-city {
        text-align: center;
    }
    .stu-fb {
        font-size: 13px;
    }
    .stu-rate {
        text-align: center;
        padding-top: 4px;
    }
    /* testimonial / child 4 end */
    


    /* child 5 start */
    .child-5 {
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }
    .left-child-5 {
        width: 100%;
    }
    .left-child-5 img {
        width: 100%;
        padding-left: 10px;
    }
    .right-child-5 {
        width: 100%;
    }
    .overview-heading {
        font-size: 18px;
        margin-top: 10px;
    }
    .overview-content{
        font-size: 13px;
    }
    .two-buttons {
        font-size: 14px;
    }
    /* child 5 end */



    /* child 6 start */
    .sub-child-6 {
        flex-direction: column;
        gap: 20px;
    }
    .works {
        width: 100%;
        gap: 8px;
    }
    .sub-works-1 {
        width: 100%;
        text-align: center;
    }
    .sub-works-1 img {
        width: 100%;
    }
    .sub-works-2 {
        padding: 4px;
    }
    /* child 6 end */



    /* child 7 start */
    .child-7 {
        padding-top: 30px;
    }
    .sub-child-7 {
        display: flex;
        flex-direction: column;
        margin-top: 15px;
    }
    .category {
        width: fit-content;
        text-align: center;
    }
    .cate-image {
        width: 50px;
    }
    /* child 7 end */



    /* child 8 start */
    .child-8 {
        margin-top: 20px;
    }
    .apply {
        top: 10px;
        left: 20px;
    }
    .apply-heading{
        font-size: 14px;
    }
    .sub-apply-heading {
        font-size: 10px;
        width: 70%;
    }
    .apply-btn {
        margin-top: 8px;
        font-size: 12px;
    }
    /* child 8 end */



    /* form start */
    .form-1 {
        width: 90%;
        font-size: 12px;
        top: 20px;
    }
    /* form end */

}