/*
Theme Name: CMES-robotics  theme
Author: davinder Pal singh
Author URI: https://CMES-robotics/blog/author/joelolawanle/
Description: A thoughtfully designed WordPress theme crafted specifically to illustrate the theme creation process. This theme provides a clean, responsive layout suitable for showcasing articles and tutorials, making it an ideal choice for blog posts and educational content related to web development and design.
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/


html {
    box-sizing: border-box;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    color: #000 !important;
}


.menu-container input {
    position: absolute;
    opacity: 0;
}


.burger {
    display: inline-block;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    display: block;
}

#menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 0px;
}

#navcheck:checked~label+#menu {
    display: flex;
}

/* Optional: add some basic styling */
.menu-container a {
    text-decoration: none;
    color: #333;
    padding: 8px 0;
}

.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}

.menu-container label {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    width: 46px;
    height: 33px;
}

.menu-container {
    width: 46px;
    height: 33px;
    position: relative;
    z-index: 999999;
}

.menu-container label::before {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-container label .burger {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999999;
    width: 46px;
    height: 33px;
    margin: 0;
    padding: 0;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-container label .burger::before,
.menu-container label .burger .bar,
.menu-container label .burger::after {
    position: absolute;
    right: 0;
    display: block;
    width: 46px;
    height: 4px;
    background: #000;
    content: "";
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 140px !important;
}

.menu-container label .burger .bar {
    top: 44%;
}

.menu-container label .burger::before {
    top: 0;
    transform-origin: top left;
    width: 35px;
}

.menu-container label .burger::after {
    bottom: 0;
    transform-origin: bottom left;
    width: 26px;
}

.menu-container label .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.menu-container input:focus+label .burger,
.menu-container label:hover .burger {
    opacity: 0.75;
}

.menu-container nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    transform: translate3d(0, 0, 0);
    transform: translateX(-100%);
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-container nav::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 25em;
    background: #fff;
    content: "";
    transform: skewX(15deg) translateX(-100%);
    transform-origin: bottom left;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (min-width: 40em) {
    .menu-container nav::before {
        width: 48em;
    }
}

.menu-container nav a {
    margin: 0.5em 0;
    padding: 0.2em 2em;
    font-size: 32px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transform: translateX(-100%);
    transition: color 0.15s, transform 0.5s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
}

.menu-container nav a:nth-child(1) {
    transition-delay: 0s, 100ms;
}

.menu-container nav a:nth-child(2) {
    transition-delay: 0s, 150ms;
}

.menu-container nav a:nth-child(3) {
    transition-delay: 0s, 200ms;
}

.menu-container nav a:nth-child(4) {
    transition-delay: 0s, 250ms;
}

.menu-container nav a:nth-child(5) {
    transition-delay: 0s, 300ms;
}

.menu-container nav a:nth-child(6) {
    transition-delay: 0s, 350ms;
}

.menu-container nav a:hover,
.menu-container nav a:focus {
    color: #1950ff;
}

.menu-container [id=navcheck]:checked+label::before {
    opacity: 1;
    pointer-events: auto;
}

.menu-container [id=navcheck]:checked+label .burger::before,
.menu-container [id=navcheck]:checked+label .burger::after {
    width: 46px;
}

.menu-container [id=navcheck]:checked+label .burger::before {
    transform: rotate(45deg) translateY(-50%);
    background-color: #fff;
}

.menu-container [id=navcheck]:checked+label .burger::after {
    transform: rotate(-45deg) translateY(50%);
    background-color: #fff;
}

.menu-container [id=navcheck]:checked+label .burger .bar {
    transform: scale(0.1);
    opacity: 0;
}

.menu-container [id=navcheck]:checked~nav {
    transform: translateX(0);
}

.menu-container [id=navcheck]:checked~nav::before {
    transform: skewX(15deg) translateX(0);
}

.menu-container [id=navcheck]:checked~nav a {
    transform: translateX(0);
}

.menu-container [id=navcheck]:checked~main .content {
    transform: translateX(3em);
    transform-origin: left center;
    filter: blur(2px);
}

header.header {
    padding-top: 23px;
}

.brand-logo a {
    display: inline-block;
}

.brand-logo a img {
    width: 100%;
}

/* ============================================================
                    Hero Section 
=========================================================== */

.container {
    padding: 0 !important;
}

.title-with-image h1 {
    font-size: 184px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    line-height: 155px;
    margin-bottom: 21px;
    color: #000;
}

.title-piece-pikong h1:last-child {
    position: absolute;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #00000000, #00000000);
    background-clip: text;
    -webkit-text-stroke-color: #000000;
    -webkit-text-stroke-width: 1px;
    z-index: 9;
    color: transparent;
    height: 151px;
}

.title-piece-pikong {
    position: relative;
}

.sub-text-box h2 {
    font-size: 70px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    line-height: 90px;
    margin-bottom: 23px;
    color: #000;
}

.sub-text-box p {
    font-size: 20px;
    font-weight: 400;
    line-height: 31px;
    margin-bottom: 54px;
    color: #000;
}

.inner-main-hero-section {
    position: relative;
}

.title-with-image img {
    position: absolute;
    right: -1px;
    top: 49px;
    width: 777px;
    height: 834px;
}

.inner-main-hero-section {
    position: relative;
    padding-top: 186px;
    padding-bottom: 203px;
}

.sub-text-box {
    width: 620px;
}

.hero-try-free-btn a {
    width: 284px;
    height: 58px;
    line-height: 58px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #000 !important;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    border-radius: 50px;
}

.hero-try-free-btn {
    position: relative;
}

.hero-try-free-btn img {
    position: absolute;
    bottom: -70px;
    left: 47%;
    animation: arrowPointing 3s ease-in-out infinite;
}

@keyframes arrowPointing {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

.hero-try-free-btn .button_su {
    border-radius: 50px;
}

.hero-try-free-btn .button_su {
    border-radius: 50px;
    margin-top: 0;
}

.hero-try-free-btn a.button_su_inner:hover {
    color: #fff !important;
    transition: .3s;
}

.process-box-item {
    overflow: hidden;
}
.process-box-item::before {
    position: absolute;
    content: "";
    background-image: none; 
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;         
    transition: .3s;
    z-index: 0;
}
.process-box-item:hover::before {
    opacity: 1;
    visibility: visible;
}


.process-box-item:hover::before {
    opacity: 1;
    visibility: visible;
    transition: .3s;
}

.process-box-item:hover .p-box-content h3,
.process-box-item:hover .p-box-content span {
    color: #fff;
    transition: .3s;
}

.process-box-item .p-box-content h3,
.process-box-item .p-box-content span {
    transition: .3s;
}

.section-heading {
    position: relative;
}

/* ===========================================
                Process Section
=========================================== */

.section-heading small {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5.44px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    line-height: 24px;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 54px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Unbounded', sans-serif;
}

.process-section {
    background-color: #FAFAFA;
    padding-block: 90px;
    position: relative;
    overflow: hidden;
}

.process-box-wrapper {
    display: grid;
    grid-template-columns: repeat(5, minmax(248px, 1fr));
    gap: 20px;
    margin-top: 87px;
}

.p-box-content h3 {
    font-size: 20px;
    line-height: 20px;
    margin: 0;
    font-weight: bold;
    font-family: 'Bai Jamjuree', sans-serif;
    position: absolute;
    bottom: 31px;
    left: 0;
    right: 0;
    padding: 0 10px;
}

.process-box-item {
    background-color: #fff;
    padding: 30px 10px;
    min-height: 285px;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

.process-box-item .p-box-content span {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.p-box-image img {
    width: 100%;
}

.p-box-image {
    width: 48%;
    margin: 8px auto 0;
}

.try-free-btn-circle a {
    color: #000;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 128px;
    height: 128px;
    line-height: 128px;
    border-radius: 50%;
    /* margin: 53px auto 0; */
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    transition: .3s;
}

.process-bottom-text p {
    font-size: 16px;
    line-height: 31px;
    font-weight: 400;
}

.process-bottom-text {
    max-width: 59%;
    margin-left: auto;
    margin-top: 60px;
}

.button_su {
    overflow: hidden;
    position: relative;
    display: inline-block;
    border-radius: 3px;
    margin-top: 53px;
    border-radius: 50%;
    border: 1px solid;
}

.button_su a.button_su_inner:hover {
    color: #fff;
}

.button_su_inner {
    text-decoration: none;
}

.su_button_circle {
    background-color: red;
    border-radius: 1000px;
    position: absolute;
    left: 0;
    top: 0;
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    pointer-events: none;
    /* animation-timing-function: ease-in-out; */
}

.button_text_container {
    position: relative;
    z-index: 10000;
}

.desplode-circle {
    animation: desplode 0.5s forwards;
}

.try-free-btn-circle {
    text-align: center;
    line-height: 0;
}

.explode-circle {
    animation: explode 0.5s forwards;

}

.desplode-circle {
    animation: desplode 0.5s forwards;
}

@keyframes explode {
    0% {
        width: 0px;
        height: 0px;
        margin-left: 0px;
        margin-top: 0px;
        background-color: rgba(42, 53, 80, 0.2);
    }

    100% {
        width: 600px;
        height: 600px;
        margin-left: -300px;
        margin-top: -400px;
        background-color: #000;
    }
}

@keyframes desplode {
    0% {
        width: 600px;
        height: 600px;
        margin-left: -400px;
        margin-top: -400px;
        background-color: #000;
    }

    100% {
        width: 0px;
        height: 0px;
        margin-left: 0px;
        margin-top: 0px;
        background-color: #000;
    }
}

.process-section::before {
    position: absolute;
    content: "";
    background-color: #fff;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    bottom: -30%;
    left: -10%;
}

/* ===========================================
                What We Offer Section
=========================================== */

.what-we-offer-sec {
    padding: 100px 0;
}

.offer-box-item {
    background-color: #fafafa;
    padding: 46px 40px 40px;
    border-radius: 10px;
    transition: .3s;
}

.offer-box-item:hover {
    box-shadow: 0 7px 10px 0px #00000017;
    transition: .3s;
    transform: translate(0px, -10px);
}

.what-we-offer-box-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(420px, 1fr));
    gap: 30px;
    margin-top: 90px;
}

.offer-box-image {
    text-align: center;
    margin-bottom: 52px;
}

.offer-box-content h3 {
    font-size: 26px;
    line-height: 28px;
    margin: 0 0 16px;
    font-weight: bold;
    font-family: 'Bai Jamjuree', sans-serif;
}

.offer-box-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 31px;
    margin: 0;
}

.inner-what-we-offer .section-heading {
    text-align: center;
}

.what-we-offer-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.what-we-offer-section::before {
    position: absolute;
    content: "";
    background-color: #fafafa;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    top: -30%;
    left: -10%;
}

.offer-section-singular::before {
    top: -24%;
}

.what-we-offer-section::after {
    position: absolute;
    content: "";
    background-image: url("../../images/Line_circle_bg.png");
    width: 70px;
    height: 197px;
    background-repeat: no-repeat;
    top: -30px;
    right: 27%;
}

/* ===========================================
                Grid Video Section
=========================================== */

.inner-grid-video video {
    width: 100%;
    height: 100%;
}

.grid-video-section .section-heading {
    text-align: center;
}

.inner-grid-video {
    margin-top: 42px;
}

.grid-video-section {
    padding: 100px 0;
    background-color: #fafafa;
}


/* ===========================================
                How it Works Section
=========================================== */

.how-it-works-section {
    padding: 100px 0;
}

.work-box-item h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
}

.work-box-item {
    background-color: #fafafa;
    padding: 34px 30px;
    border-radius: 12px;
}

.large-count {
    display: inline-block;
    font-size: 118px;
    line-height: 90px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}

.large-count {
    display: inline-block;
    font-size: 118px;
    line-height: 94px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    background: linear-gradient(to right, #B3B3B3 -80%, #fafafa 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 74px;
    text-transform: capitalize;
}

.work-box-item {
    background-color: #fafafa;
    padding: 34px 30px;
    border-radius: 12px;
    display: flex;
    gap: 18px;
}

.inner-how-it-works {
    display: grid;
    grid-template-columns: repeat(3, minmax(420px, 1fr));
    gap: 30px;
}

/* ===========================================
                How it Works Section
=========================================== */

.form-lern-more .form-title h2 {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 30px;
    line-height: 38px;
    font-weight: bold;
    text-align: center;
}

.inner--form .fomr-group input,
.inner--form .fomr-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 8px;
    outline: none;
    background-color: transparent;
    font-size: 15px;
    color: #000;
    line-height: 30px;
}

.inner--form .fomr-group input::placeholder,
.inner--form .fomr-group textarea::placeholder {
    color: #000;
}

.inner--form .fomr-group {
    margin-bottom: 34px;
}

.section-heading p {
    font-size: 16px;
    font-weight: 400;
    line-height: 31px;
    margin: 0;
}

.inner-lern-more-form .section-heading p {
    margin-top: 30px;
}

.inner-lern-more-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 93px;
    align-items: center;
}

.form-lern-more {
    padding: 32px 32px 57px;
    background-color: #FAFAFA;
    border-radius: 12px;
    width: 646px;
}

.inner--form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
}

.inner--form .fomr-group:last-child {
    grid-column-start: 3;
    grid-column-end: 1;
}

.inner-lern-more-form .form-title {
    margin-bottom: 37px;
}

.submit-form-btn .form-submit {
    width: 224px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    border: 1px solid #000;
    text-align: center;
    text-decoration: none;
    color: #000 !important;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 400;
    border-radius: 50px;
    background-color: #0000;
    outline: none;
    box-shadow: none;
    padding: 0;
}

.submit-form-btn {
    text-align: center;
    margin-top: 40px;
}

.learn-more-form {
    padding: 118px 0 138px;
    overflow: hidden;
    position: relative;
}

.circle-bg-effect {
    content: "";
    position: absolute;
    width: 764px;
    height: 764px;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    right: 21.7%;
    z-index: -1;
    top: 0;
    bottom: 0;
    margin: auto 0;
    animation: spin 10s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(1turn);
    }
}

.circle-bg-effect::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #E5E5E5;
    border-radius: 50px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -8px;
}


.submit-form-btn a {
    width: 224px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}


/* ===========================================
            We offer all Section
=========================================== */

.we-offer-tabs-sec .section-heading {
    text-align: start;
}

.inner-serv-offer-tabs {
    margin-bottom: 20px;
}

.we-offer-tabs-sec {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.inner-serv-offer-tabs .tab button {
    background-color: transparent;
    outline: none;
    border: none;
    color: #000;
    font-size: 17px;
    line-height: normal;
    padding: 6px 10px;
    min-width: 120px;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-family: 'Bai Jamjuree', sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.inner-serv-offer-tabs .tab button.active {
    background-color: #000;
    color: #fff;
}

.what-we-offer-box-wrapper-tabs {
    margin-top: 60px;
}


.what-we-offer-box-wrapper-tabs .tabcontent .tabcontent-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}

.tabcontent-inner .service-image img {
    width: 100%;
}

.tabcontent-inner .offer-box-item {
    background-color: transparent;
    margin: 0px 0 30px 40px;
    position: relative;
    padding: 40px 0 0;
}

.tabcontent-inner .offer-box-item:hover {
    box-shadow: none;
    transition: .3s;
    transform: translate(0px, 0px);
}

.tabcontent-inner .offer-box-image {
    text-align: center;
    margin-bottom: 52px;
    display: inline-block;
    background-color: #fafafa;
    border-radius: 10px;
    width: 150px;
    padding: 20px;
}

.tabcontent-inner .offer-box-item::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #000;
    top: 0;
}

.tabcontent-inner .offer-box-image {
    text-align: center;
    margin-bottom: 30px;
    display: inline-block;
    background-color: #fafafa;
    border-radius: 10px;
    width: 150px;
    padding: 20px;
}

.tabcontent-inner .offer-box-image img {
    width: 100%;
}

.tabcontent-inner .offer-box-content h3 {
    font-size: 36px;
    line-height: 40px;
}

.tabcontent-inner .offer-box-content p {
    font-size: 20px;
}

.what-we-offer-box-wrapper-all .tabcontent-inner .offer-box-item {
    margin: 0;
}

.what-we-offer-box-wrapper-all .tabcontent-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
}

.what-we-offer-box-wrapper-all {
    margin-top: 60px;
}

/* ===========================================
            REsponsive
=========================================== */

@media Only screen and (max-width:1679px) {

    .process-section::before,
    .what-we-offer-section::before {
        left: -18%;
    }
}

@media Only screen and (max-width:1439px) {
    .title-with-image h1 {
        font-size: 159px;
    }

    .process-box-wrapper {
        grid-template-columns: repeat(5, minmax(210px, 1fr));
    }

    .what-we-offer-box-wrapper {
        grid-template-columns: repeat(3, minmax(360px, 1fr));
    }

    .inner-how-it-works {
        grid-template-columns: repeat(3, minmax(360px, 1fr));
    }

    .title-with-image img {
        right: 3px;
        top: 66px;
        width: 665px;
        height: 734px;
    }

    .sub-text-box h2 {
        font-size: 61px;
        line-height: 76px;
    }

    .title-with-image h1 {
        margin-bottom: 14px;
    }

    .sub-text-box p {
        font-size: 18px;
    }

    .sub-text-box {
        width: 570px;
    }

    .inner-main-hero-section {
        padding-top: 176px;
        padding-bottom: 173px;
    }

    .what-we-offer-section::after {
        width: 70px;
        height: 197px;
        top: -10px;
        right: 21%;
        background-size: cover;
    }

    .section-heading h2 {
        font-size: 33px;
    }

    .section-heading small {
        margin-bottom: 20px;
    }

    .large-count {
        font-size: 88px;
        line-height: 74px;
        width: 54px;
    }

    .work-box-item h3 br {
        display: none;
    }

    .work-box-item h3 {
        line-height: 27px;
    }

    .form-lern-more {
        width: 596px;
    }

    .inner-lern-more-form {
        gap: 63px;
    }

    .circle-bg-effect {
        width: 744px;
        height: 744px;
        right: 14.7%;
    }

    .work-box-item {
        padding: 30px 26px;
    }

    .how-it-works-section {
        padding: 100px 0 60px;
    }
}

@media only screen and (max-width:1279px) {
    .brand-logo a {
        display: inline-block;
        width: 170px;
    }

    .menu-container label .burger::before,
    .menu-container label .burger .bar,
    .menu-container label .burger::after {
        width: 36px;
        height: 3px;
    }

    .menu-container label .burger::before {
        width: 28px;
    }

    .menu-container label .burger::after {
        width: 21px;
    }

    .menu-container label .burger {
        height: 25px;
    }

    .hero-try-free-btn a {
        width: 254px;
        height: 48px;
        line-height: 48px;
    }

    .hero-try-free-btn img {
        bottom: -40px;
        left: 47%;
        width: 70px;
    }
}

@media only screen and (max-width:1199px) {
    .title-with-image h1 {
        font-size: 134px;
    }

    .inner-main-hero-section {
        overflow: hidden;
    }

    .title-with-image img {
        right: -62px;
        top: 66px;
        width: 625px;
        height: 684px;
    }
}