/* services sec styling */
.services_sec {background-color: #2D4C62;border-radius: 40px;padding-block: 48px 57px;}
.services_sec .wrapper {display: grid;grid-template-columns: repeat(6,1fr);column-gap: 15px;}
.services_sec .wrapper > li {text-align: center;}
.services_sec .wrapper > li > img {width: 120px;height: 120px;object-fit: contain;margin-bottom: 16px;}
.services_sec .wrapper > li > span {display: block;color: #fff;font-weight: 600;text-wrap: nowrap;}

/* category form sec styling */
.category_form {margin-top: 30px;}
.category_form .gen_form > form {display: grid;grid-template-columns: repeat(2,1fr);column-gap: 20px;}
.category_form .gen_form > form > :nth-child(2) {grid-template-columns: repeat(4, 1fr);}
.category_form .gen_form > form > :nth-child(2) > :nth-child(6) {display: flex;max-width: 397px;align-items: center;}
.category_form .personal_info {display: grid; grid-template-columns: repeat(2, 1fr);}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(2) {grid-area: 2/1/3/7;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(3) {grid-area: 2/7/3/13;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(4) {grid-area: 3/1/4/7;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(5) {grid-area: 4/1/5/13;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(6) {grid-area: 5/1/6/9;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(7) {grid-area: 5/9/6/13;}
.category_form .gen_form > form > div:nth-of-type(2) > :nth-child(8) {display: none;visibility: hidden;}

/* print boxes section styling */
.print_boxes {margin-top: 100px;}
.category_print_boxes {padding-block: 0;}
.print_boxes .wrapper > :nth-child(1) {display: flex;justify-content: space-between;align-items: center;margin-bottom: 35px;}
.print_boxes .wrapper > :nth-child(1) > h2 {font-weight: 600;font-size: 36px;color: #282828;}
.print_boxes .wrapper > :nth-child(1) > a {background-color: #282828;border-radius: 3px;height: 55px;width: 100%;max-width: 223px;line-height: 55px;color: #fff;font-weight: 600;font-size: 18px;text-align: center;}
.print_boxes .wrapper > :nth-child(2) {display: grid;grid-template-columns: repeat(4, 1fr);gap: 30px;}
.print_boxes .wrapper > :nth-child(2) > div {display: flex; flex-direction: column; justify-content: space-between; align-items: start; background-color: #fff;padding: 18px 18px 25px 18px;box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.05);border-radius: 16px;}
.print_boxes .wrapper > :nth-child(2) > div > img {border: 1px solid #D9D9D9;border-radius: 18px;margin-bottom: 14px;width: 100%;height: 256px;object-fit: cover;}
.print_boxes .wrapper > :nth-child(2) > div > h3 {color: #000;font-weight: 600;font-size: 24px;line-height: 30px;margin-bottom: 6px;}
.print_boxes .wrapper > :nth-child(2) > div > p {color: #5A5A63;display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2; font-size: 14px;line-height: 22px;margin-bottom: 14px;}
.print_boxes .wrapper > :nth-child(2) > div > a {border: 1px solid #24C66D;border-radius: 3px;height: 55px;line-height: 55px;text-align: center;width: 100%;color: #24C66D;font-weight: 600;font-size: 18px;transition: 1s all;}
.print_boxes .wrapper > :nth-child(2) > div > a:hover {background-color: #24C66D;color: #fff;}

/* home content section styling */
.home_content {margin-block: 90px 70px;}
.home_content .wrapper {max-height: 555px;padding-right: 20px;overflow-y: auto; scrollbar-width: thin; scrollbar-color: transparent transparent}
.home_content .wrapper:hover {scrollbar-color: #24C66D #e9e9e9;}
.home_content .wrapper > h2 {color: #282828;font-weight: 600;font-size: 36px;margin-bottom: 20px;}
.home_content .wrapper > h3 {color: #575757;font-weight: 600;font-size: 18px;line-height: 26px;}
.home_content .wrapper > p {color: #575757;line-height: 26px;margin-bottom: 25px;}
.home_content .wrapper > ul li {color: #575757;margin-bottom: 10px;list-style-type: disc;}
.home_content .wrapper > ul li a {color: #0e7a2f;font-weight: 500;}
.home_content .wrapper > ul {padding-left: 1rem;}


.content-category {margin-bottom: 0;}
.all-content-category {margin-block: 20px 65px;}

@media only screen and (max-width:1200px) {
    /* services sec */
    .services_sec .wrapper > li > img {width: 90px;height: 90px;}
    .services_sec .wrapper > li > span {text-wrap: wrap;}
    /* category form */
    .category_form .gen_form > form > :nth-child(2) > :nth-child(6) {max-width: 100%;}
}
@media only screen and (max-width:991px) {
    /* print boxes */
    .print_boxes {margin-top: 60px;padding-block:45px 300px;}
    .print_boxes .wrapper {max-width: 750px;margin-inline: auto;}
    .print_boxes .wrapper > :nth-child(2) {grid-template-columns: repeat(2, 1fr);}
    .print_boxes .wrapper > :nth-child(1) > h2 {font-size: 30px;}
    .print_boxes .wrapper > :nth-child(1) > a {font-size: 16px;}
    /* home content */
    .home_content .wrapper > h2 {font-size: 30px;}
    /* form */
    .category_form .gen_form > form > div:nth-of-type(2) > :nth-child(6) {grid-area: 5/1/6/13;}
    .category_form .gen_form > form > div:nth-of-type(2) > :nth-child(7) {grid-area: 6/1/7/13;}
    .all-content-category {padding: 0; margin-block: 20px 40px;} 

    
}
@media only screen and (max-width:767px) {
    /* services sec */
    .services_sec .wrapper {grid-template-columns: repeat(3,1fr);row-gap: 15px;}
    /* category form */
    .category_form .gen_form > form {grid-template-columns: repeat(1,1fr);}
}
@media only screen and (max-width:575px) {
    /* services sec */
    .services_sec .wrapper {grid-template-columns: repeat(2,1fr);}
    /* print boxes */
    .print_boxes .wrapper > :nth-child(1) > h2 {font-size: 26px;}
    .print_boxes .wrapper > :nth-child(2) {grid-template-columns: repeat(1,1fr);}
    .print_boxes .wrapper > :nth-child(2) > div > img {height: 390px;object-fit: contain;}
    /* home content */
    .home_content .wrapper > h2 {font-size: 26px;}
}