/* blue box section one */
.blue-box {
    width: 90%;
    height: 60%;
    padding: 0% 5%;
    background: linear-gradient(90deg, rgba(49, 57, 69, 1) 14%, rgba(64, 198, 214, 1) 95%);
    margin: 4% auto 0% !important;
    border-radius: 40px 0px 40px 0px;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
}

.blue-box-text {
    width: 100%;
    padding: 3%;
    grid-column: 1 / 4;
    position: relative;
    font-family: 'latoregular' !important;
}

.blue-box-text h2 {
    color: white;
    font-size: 28px;
    margin: 0%;
    padding-top: 5%;
    font-family: 'latoblack';
    letter-spacing: normal;
}

.blue-box-text p {
    color: white;
    padding: 5% 10% 0% 0%;
    font-size: 16px;
    font-family: 'latoregular' !important;
    letter-spacing: 1px;
}

.blue-box-form { grid-column: 4; margin: -7% 0% 0%;}

  /* form */
.blue-box-formjd .digital-form  {
    height: 65%;
    margin: 15% 0% 5%;
    background-color: white;
    border-radius: 40px 0px 40px 0px;
}

.digital-head {
    background-color: #40c6d6;
    border-radius: 40px 0% 0%;
    text-align: center;
    padding: 3% 0%;
    margin: 0%;
}

p.digital-form-heading {
    margin: 0%;
    color: white;
    font-size: 1.85rem;
    font-weight: 700;
    font-family: 'latobold' !important;
    letter-spacing: normal;
}

.input-details { padding: 5% 5% 2%;}

.full-name { display: flex; gap: 5%; padding-bottom: 3.5%;}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required { padding: 0.7rem 1.8rem;}

.phone-number { display: flex; padding-bottom: 1.9%; width: 100%;}

.number-input { width: 100%;}

.email { padding-bottom: 2%;}

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.service-select {
    padding: 7px 18px 7px 13px;
    width: 100%;
    color: #333;
    font-size: 16px;
    background: url(https://techsevin.com/wp-content/uploads/2025/01/down-arrow-64.png) no-repeat right 10px center;
    background-color: white;
    background-size: 20px 20px;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 1px solid #dbdbdb;
}

select#country-code {
    background: url(https://techsevin.com/wp-content/uploads/2025/01/down-arrow-64.png) no-repeat right center;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding: 10%;
    width: 100%;
    background-color: white;
    background-size: 20px 20px;
    border-radius: 0 !important;
}

.select-option { width: 15%;}

#country-code:focus { outline: none;}

#country-code { border: 1px solid #dbdbdb;}

.wpcf7-form-control:focus { outline: none; border: 1px solid #dbdbdb;}

select[name="your-service"] option:first-child { color: #aaa; pointer-events: none;}

select[name="your-service"] option { color: #333;}

select[name="your-service"] option:hover { background-color: #f0f0f0;}

.connect-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.connect-button p { width: 86%;}

.input.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-family: 'latobold';
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
}

.connect-button input[type="submit"] {
    width: 100%;
    background-color: #40c6d6;
    border-radius: 50px;
    text-decoration: none !important;
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

.shopify-servicesjd { padding: 30px; text-align: center;}



.title-wrapper-jd {
    display: inline-block;
    text-align: center;
    position: relative;
  }
  
  h2.page-title-jd {
    position: relative;
    font-size: 36px;
    font-weight: bold;
    margin: 0 !important;
    margin-top: 3% !important;
    line-height: 1;
    font-family: 'latobold' !important;
  }
  
  .underlinejd{
    height: 2px;
    background-color: #40C6D6; 
    width: 85%; 
    margin: 11px auto;
  }

.sub-textjd {
    font-size: 22px;
    color: #555;
    width: 90%;
    margin: 0px auto 30px;
    font-family: 'latoregular' !important;
}

/* Wrapper that holds both columns */
.services-wrapperjd {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 40px;
    width: 90%;
    margin: auto;
    align-items: start; /* Ensures alignment remains consistent */
}

/* Ensures each column arranges its items properly */
.services-gridjd {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Style for each service box */
.service-boxjd {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    text-align: left;
    overflow: hidden;
}

.service-boxjd h3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px !important;
    margin-top: 4% !important;
    font-family: 'latobold' !important;
    letter-spacing: normal !important;
}

/* Adjustments for Read More */
.service-boxjd p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    line-height: 1.5 !important;
}

/* Expanded state */
.service-boxjd.expanded p {
    -webkit-line-clamp: unset;
    overflow: visible;
    max-height: 1000px;
}

/* Button Styling */
.read-more-labeljd {
    display: inline-block;
    color: black;
    text-decoration: underline;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.bannerjd-1 {
    position: relative;
    width: 90%;
    margin: auto;
    margin-top: 4%;
    margin-bottom: 4% !important;
    height: 280px;
    background: url('../images/banner\ e-commerce.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}

.banner-contentjd-1 {
    color: white;
    max-width: 50%;
    text-align: left;
    padding: 10px;
}
.bannerjd-1 h1 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 15px;
}
.bannerjd-1 p { font-size: 18px; margin: 10px 0;}

.btnjd-1 {
    background: white;
    color: #40C6D6;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    font-family: 'latobold';
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}
/* Hover Effect */
.btnjd-1:hover {
    background: #414a56;
    color: white;
    border-color: #40C6D6;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */
.btnjd-1::before,
.btnjd-1::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.btnjd-1::before { right: 0; top: 0;}

.btnjd-1::after { left: 0; bottom: 0;}

/* Horizontal Lines */
.btnjd-1 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btnjd-1 span::before,
.btnjd-1 span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.btnjd-1 span::before { left: 0; top: 0;}

.btnjd-1 span::after { right: 0; bottom: 0;}

.btnjd-1:hover span::before,
.btnjd-1:hover span::after { width: 100%;}

/* Remove focus outline */
.btnjd-1:focus-visible { outline: none;}

/* Responsive */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {

    .blue-box-text h2 { font-size: 36px !important; padding-top: 0%;}

    .blue-box-text p { font-size: 22px !important; padding: 2% 19% 0% 0%;}

    p.digital-form-heading { font-size: 2.6rem;}

    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required { padding: 1.4rem 2.5rem; font-size: 16px;}

    select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.service-select { font-size: 16px; padding: 1.4rem 2.5rem;}

    select#country-code {
        background: url(https://techsevin.com/wp-content/uploads/2025/01/down-arrow-64.png) no-repeat right 6px center;
        padding: 16% !important;
        font-size: 21px;
        width: 100%;
        background-color: white;
        background-size: 28px 28px;
    }
}

@media (min-width: 1367px) and (max-width: 1440px) {

    select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.service-select {
        padding: 8px 19px 8px 14px;
    }

    select#country-code { padding: 10.5%;}
}

@media (min-width: 1281px) and (max-width: 1366px) {

    .blue-box-text h2 { font-size: 36px !important;}
    .blue-box-text p { font-size: 22px !important;}
}

@media (min-width: 821px) and (max-width: 1024px) {

    .blue-box { display: grid; padding: 5%;  width: 93%; gap: 20px;}

    .blue-box-text h2 { font-size: 32px !important; }

    .blue-box-text p { font-size: 16px !important; padding: 5% 0% 0% 0%; text-align: justify;}
    
    .blue-box-text { text-align: left !important;}

    .bannerjd-1 { height: 240px !important;}
}

@media (max-width: 820px) {

    .services-wrapperjd { grid-template-columns: 1fr; }

    .bannerjd-1 {
        flex-direction: column;
        text-align: center;
        height: auto;
        margin-bottom: 6% !important;
    }

    .read-more-labeljd { font-size: 14px; text-align: center; display: block;}

    .banner-contentjd-1 { max-width: 100%;}

    .bannerjd-1 h1 { font-size: 20px; text-align: center; line-height: 1.3; margin-top: 2%;  font-family: 'latoblack';}

    .btnjd-1 { font-size: 14px; padding: 8px 16px; text-align: center; display: block; width: 60%; margin: auto;}  

    .service-boxjd h3 { text-align: center; font-size: 20px;}

    .service-boxjd p { text-align: center; font-size: 16px;}
}

@media only screen and (max-width: 767px) {

    .blue-box-text h2 { font-size: 22px !important;}

    .blue-box { display: block; padding: 5%;  width: 93%;}

    .blue-box-text p { font-size: 14px !important; padding: 5% 0% 0% 0%;}

    .blue-box-text { text-align: center;}

    p.digital-form-heading { font-size: 20px;}

    .digital-form { margin: 23% 0% 5%;}

    .shopify-servicesjd h2 { font-size: 22px;}

    .sub-textjd { font-size: 16px;}

    select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.service-select {
        background: url(https://techsevin.com/wp-content/uploads/2025/01/down-arrow-64.png) no-repeat right 10px center;
        background-color: white;
        background-size: 20px 20px;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 820px){
    .bannerjd-1{
        background-color: #40C6D6 !important;
        background-image: none !important;
    }
    .btnjd-1{
        width: 28%;
        padding: 12px 16px;
        font-size: 16px;
    }
    .bannerjd-1 h1{
        font-size: 22px;
        width: 80%;
    }
}
@media (min-width: 768px) and (max-width: 820px) {
        .shopify-servicesjd {
           margin-bottom: 2% !important;
        }
    }

@media only screen and (min-width: 500px) and (max-width: 540px){
    .bannerjd-1 {
        background-color: #40C6D6 !important;
        background-image: none !important;
        width:80% !important;
    }
    .btnjd-1{
        width: 40% !important;
        padding: 8px 16px !important;
        font-size: 16px;
    }
}
    

