@font-face {
    font-family: nebula;
    src:url("../images/fonts/Nebula-Regular.otf");
}
body {
    font-family: 'Poppins', sans-serif;
}
/* commn-style */
p {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}
.head h1,
.head-title {
    font-family: nebula;
}
.head h1 {
    font-size: 74px;
    font-weight: 400;
}
html { overflow:auto; }
body {
    overflow: hidden;
    overflow-x: hidden;
}
img{
    width: 100%;
}
.ftr-last-inner img {
    width: 200px;
}


header.header .D3-logo img {
    filter: brightness(0) invert(1);
    width: 200px;
}
section.service_mainpage {
    padding: 100px 0 50px 0;
    background: url(../images/service_bg.svg) no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    width: 100%;
    float: left;
}
section.service_mainpage .rows p {
    color: #6f6f6f;
}
.ser_numbers {
    /*background: #f5ed43;
    padding: 125px 0px 125px 0;
    clip-path: polygon(0% 50%, 40% 0%, 80% 50%, 40% 100%);*/
    position: relative;
    width: 100%;
    height: 100%;
}
.ser_numbers span {
    font-size: 170px;
    color: black;
    -webkit-text-fill-color: white;
    -webkit-text-stroke-width: 1.3px;
    -webkit-text-stroke-color: white;
    font-family: 'Kanit', sans-serif;
    line-height: 50px;
    font-weight: 600;
    left: 13%;
    position: absolute;
    top: 42%;
    margin: auto;
    transform: translate(-10%, -10%);
}
.ser_numbers picture img {
    position: absolute;
    left: 45%;
    top: 45%;
    width: 50px;
}
.head-ser-title {
    font-family: nebula;
}
.ser_services a {
    text-decoration: none;
    color: #000;
}
section.service_mainpage .col-xs-12 {
    padding: 0 0 55px 0;
}
section.service_mainpage .rows {
    display: grid;
    grid-template-columns: 1fr 3fr;
    column-gap: 100px;
    margin-bottom: 50px;
}
section.service_mainpage .containers {
    padding: 0 110px 0 110px;
    position: relative;
}
section.service_mainpage .rows:nth-child(1)::after {
    content: "";
    background: url(../images/servicepage2.svg) no-repeat;
    background-size: cover;
    position: absolute;
    right: -6%;
    height: 160px;
    width: 150px;
    z-index: 100;
    top: 10%;
    transform: translate(0%, -50%);
}
section.service_mainpage .rows:nth-child(2)::after {
    content: "";
    background: url(../images/servicepage1.svg) no-repeat;
    position: absolute;
    left: 0%;
    height: 65px;
    width: 200px;
    z-index: 9;
    top: 22%;
    transform: translate(0%, -50%);
    background-size: 200px 65px;
}
section.service_mainpage .rows:nth-child(3)::after {
    content: "";
    background: url(../images/servicepage2.svg) no-repeat;
    position: absolute;
    right: -7%;
    height: 90px;
    width: 240px;
    z-index: 9;
    top: 45%;
    transform: rotate(270deg);
    background-size: 240px 140px;
}
section.service_mainpage .rows:nth-child(4)::before {
    content: "";
    background: url(../images/servicepage3.svg) no-repeat;
    background-size: cover;
    position: absolute;
    left: -5%;
    height: 50px;
    width: 250px;
    z-index: 9;
    top: 57%;
    /* transform: rotate(270deg); */
    background-size: 250px 65px;
}
section.service_mainpage .rows:nth-child(4)::after {
    content: "";
    background: url(../images/servicepage1.svg) no-repeat;
    position: absolute;
    right: 0%;
    height: 70px;
    width: 250px;
    z-index: 9;
    top: 75%;
    /* transform: rotate(270deg); */
    background-size: 285px 70px;
}
section.service_mainpage .rows:nth-child(5)::after {
    content: "";
    background: url(../images/servicepage2.svg) no-repeat;
    background-size: cover;
    position: absolute;
    right: -7%;
    height: 85px;
    width: 360px;
    z-index: 9;
    bottom: -6%;
    background-size: 360px 185px;
}
section.service_mainpage .rows:nth-child(5)::before {
    content: "";
    background: url(../images/servicepage1.svg) no-repeat;
    background-size: cover;
    position: absolute;
    left: -4%;
    height: 75px;
    width: 215px;
    z-index: 9;
    bottom: -3%;
    transform: rotate(90deg);
    background-size: 215px 75px;
}
section.inner_banner {
    position: relative;
}
.head_common {
    position: absolute;
    left: 10%;
    color: #fff;
    top: 50%;
}
section.inner_banner img.w-100 {
    max-height: 400px;
    object-fit: cover;
}
.service_innerpage .rows:nth-child(2) {
    grid-template-columns: 3fr 2fr !important;
}
.service_innerpage .rows:nth-child(2)::after {
/*    top: 40% !important;*/
}
.serinner_right img {
    width: 100%;
}
.service_innerpage .rows:nth-child(1)::after , .service_innerpage .rows:nth-child(2)::after , 
.service_innerpage .rows:nth-child(3)::after , .service_innerpage .rows:nth-child(4)::before , 
.service_innerpage .rows:nth-child(4)::after , .service_innerpage .rows:nth-child(5)::before , 
.service_innerpage .rows:nth-child(5)::after{
    display: none;
}
section.service_mainpage .rows:nth-child(1)::after , section.service_mainpage .rows:nth-child(2)::after , 
section.service_mainpage .rows:nth-child(3)::after , section.service_mainpage .rows:nth-child(4)::before , 
section.service_mainpage .rows:nth-child(4)::after , section.service_mainpage .rows:nth-child(5)::before ,
section.service_mainpage .rows:nth-child(5)::after{
    display: none;
}

/*-- ------------------------------------------media query ------------------------------------------- --*/


@media(min-width:577px){
.header-nav-toggle {
    color: #fff;
}
.se_inn_block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
}
}


@media (min-width: 769px){

}

@media(min-width:992px){
.ser_services {
    border-right: 40px solid transparent;
    transition: .3s;
}
.ser_services:hover {
    border-right: 40px solid #f6ed43;
    transition: .3s;
}
.ser_inner_bt img {
    width: 80%;
    padding-right: 3rem!important;
    margin-right: 3rem!important;
}
.service_innerpage .ser_services {
    border-right: 40px solid #f6ed43;
    transition: .3s;
}
}


@media(min-width:1601px){
section.service_mainpage .rows {
    max-width: 1320px;
    margin: 0 auto 50px auto;
}
.containers.ser_inner_bt {
    max-width: 1320px;
    margin: auto;
}
.se_inn_block {
    max-width: 1320px;
    margin: 0 auto 50px auto;
}
}



@media(min-width:1920px) and (max-width:2560px){
.ser_numbers img {
    width: 75%;
}
}



@media(max-width:991px){
section.service_mainpage{
    background: none;
    padding: 50px 0 30px 0;
}
/*#header-main-nav .header-nav-toggle.show {
    color: rgb(0 0 0);
}*/
}



@media (min-width: 992px) and (max-width: 1024px){
.ser_numbers {
/*    clip-path: polygon(0% 50%, 50% 15%, 100% 50%, 50% 85%);*/
}
}


@media (min-width: 768px) and (max-width: 991px){
.head_common {
    bottom: 2rem;
    left: 5rem;
    width: 500px;
    padding: 0rem 2rem 0rem 2rem;
}
.ser_numbers {
/*    clip-path: polygon(0% 50%, 50% 15%, 100% 50%, 50% 85%);*/
    display: flex;
}
section.service_mainpage .rows {
    column-gap: 50px;
    margin-bottom: 30px;
}
.serinner_right {
    display: flex;
    align-items: center;
}
.serinner_right img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}
}


@media(max-width:768px){
.ftr-right {
    border-bottom: 2px solid #fff;
    flex-direction: row;
}
section.service_mainpage .containers {
    padding: 0 25px 0 25px;
}
section.service_mainpage .rows {
    margin-bottom: 10px;
    column-gap: 30px;
}
}


@media(min-width:576px) and (max-width:767px){
.ser_numbers {
    background: #fff; 
    padding: 40px 0px 40px 0;
    clip-path: none; 
    position: relative;
}
.ser_numbers span {
    -webkit-text-fill-color: #f5ed43;
    -webkit-text-stroke-color: black;
}
.serinner_right {
    display: flex;
    align-items: center;
}
.serinner_right img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}
} 

@media(max-width:575px){
.ps-xs-1 {
    padding-left: 1rem;
}
.pe-xs-1 {
    padding-right: 1rem;
}
.ms-xs-1 {
    margin-left: 1rem;
}
.me-xs-1 {
    margin-right: 1rem;
}
.pb-xs-3 {
    padding-bottom: 1rem !important;
}
section.service_mainpage .rows {
    grid-template-columns: 1fr;
    column-gap: 0px;
}
.head_common {
    bottom: 1rem;
    left: 1rem;
    color: #fff;
    padding-right: 1rem;
}
section.inner_banner img.w-100 {
    min-height: 400px;
    object-fit: cover;
}
.service_innerpage .rows:nth-child(2) {
    grid-template-columns: 1fr !important;
}
.serinner_right{
    order: -1;
    text-align: center;
}
.serinner_right img {
    width: 70%;
}
}


@media(max-width:576px){
header.header .D3-logo img {
/*    filter: none;*/
}
}



@media(min-width:481px) and (max-width:575px){
.ser_numbers {
/*    clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 25% 100%);*/
}
.ser_numbers img {
    width: 200px;
}
.ser_numbers picture img {
    left: 30%;
}
}



@media(max-width:480px){
.ser_numbers img {
    width: 200px;
}
}
