/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra theme
Author: Emvigo
Author URI: https://emvigo.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* Add your custom styles below this line */

.blog-highlighter{
    color:#a438eb !important;
}

.grecaptcha-badge{
    display: none;
}

.home-testimonials-wrap .e-con-inner {
    gap: 4px;
    padding-bottom: 40px;
}

.posts-filter-container {
    margin-bottom: 30px;
}

#who-we-are-button{
font-family: "Lato", sans-serif;
font-weight: 700;
font-size: 18px;
    padding: 0;
text-transform: capitalize;
}
#who-we-are-button svg {
    width: 44px;
    height: 44px;
}
#who-we-are-button .elementor-button-content-wrapper{
    align-items: center;
    gap: 8px;
}
#who-we-are-button, #who-we-are-button .elementor-button-content-wrapper{
    transition:all 0.5s ease-in-out;
}
#who-we-are-button:hover .elementor-button-content-wrapper{
    gap: 16px;
}
.we-can-help-you .elementor-element.elementor-element-cb20bfd.e-con-full.e-flex.e-con.e-child, .provided-emvigo .elementor-element.elementor-element-a8e235f.e-con-full.e-flex.e-con.e-child, .home-testimonials-wrap .elementor-element.elementor-element-71c4b17.e-con-full.e-flex.e-con.e-child, .end-to-end-technology .elementor-element.elementor-element-42d11eb.e-con-full.e-flex.e-con.e-child{
    padding: 0;
}
 .elementor-element.elementor-element-b3a2a26.e-con-full.e-flex.e-con.e-child {
    gap: 150px;
}
.elementor-393 .elementor-element.elementor-element-1b44a3a .elementor-icon-list-item:hover .elementor-icon-list-text {
    color: #C0FFC1;
}
.we-can-help-you .elementor-element.elementor-element-105b23e.elementor-widget__width-initial.elementor-widget.elementor-widget-text-editor{
    text-align: left;
}

/* Blog Section css */
ul,
li {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
html {
    scroll-behavior: smooth;
}

input:focus, input[type="text"]:focus
, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border-style: solid;
    border-color: none;
    border-width: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
  
.cus-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 33px;
    gap: 24px 0;
}

.cus-col-3 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
}

.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 20px;
    border-radius: 16px;
    background: #fafafc;
}
.blog-card .img-block img {
    width: 100%;
    border-radius: 16px;
    height: 155px;
}
.blog-card .txt-block {
    gap: 10px;
    padding: 6px 25px;
    border-radius: 50px;
}
.blog-card .txt-block label {
    padding: 6px 10px;
    background: #ff9f1c;
    border-radius: 50px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.blog-card .txt-block h4 {
    margin-top: 14px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 18px;
    display: block;
    letter-spacing: -5%;
    min-height: 83px
}
.blog-card .txt-block ul {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}
.blog-card .txt-block ul li {
    display: flex;
    align-items: center;
    gap: 4px;
}
.blog-card .txt-block ul li img {
    width: 15px;
    height: 15px;
}
.blog-card .txt-block ul li span {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -5%;
    color: #00000066;
}

@media (max-width: 1280px) {
    .blog-card, .blog-card .img-block img {
        border-radius: 8px;
    }
}
@media (max-width: 1024px) {
    .blog-card .txt-block h4 {
        font-size: 16px;
    }
    .blog-card .txt-block ul{
        flex-direction: row;
        gap: 10px;
    }

    .cus-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .cus-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
}

@media (max-width: 500px) {
    .cus-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .cus-row{
        margin: 0px;
    }

    .blog-card .txt-block h4 {
        min-height: 60px;
    }
}

/* Show on desktop, hide on mobile */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.filter-dropdown{
    width: 91%;
    border-radius: 50px !important;
    padding: 13px;
}

@media (max-width: 500px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
        text-align: center;
    }
}

.blog-details-tags a{
    border: 1px solid #FF9F1C;
    background: #FF9F1C;
    border-radius: 50px;
    color: white;
    padding: 6px 10px;
    line-height: 48px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

/* --- Filter Bar Responsive Styles --- */

/* Make filter bar scrollable horizontally on small screens */
.filter-blog-list ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    padding: 5px 25px;
    scrollbar-width: none; /* Firefox */
    flex-wrap: nowrap;
    margin: 0;
    list-style: none;
}

.filter-blog-list ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-blog-list{
    display: flex;
    margin: 30px 0 0 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin;
	scrollbar-color: #ccc #fff;
}

.filter-blog-list ul li a.active{
    background: #DFDFDF;
    padding: 12px 16px;
    display: block;
    border-radius: 30px;
}

.filter-blog-list ul li a:hover{
    background: #ff9f1c;
    color: #FFF;
}

.filter-blog-list ul li a{
    font-family: "Lato", sans-serif;
    font-weight:700;
    font-size: 16px;
    letter-spacing: -5%;
    color: #000;
    text-decoration: none;

}

.filter-blog-list li {
    flex: 0 0 auto;
}

.filter-blog-list a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    white-space: nowrap;
}

.filter-blog-list a.active {
    background-color: #fff;
    color: #000;
}

/* Make filter links more touch-friendly */
.filter-blog-list ul li a {
    font-size: 16px;
    padding: 10px 14px;
    border-radius: 25px;
    transition: background 0.2s;
    display: inline-block;
}

/* Active state */
.filter-blog-list ul li a.active {
    background: #DFDFDF;
}

.posts-pagination {
    text-align: center;
    margin: 30px 0;
    padding-bottom: 10px;
}

.posts-pagination ul,.ajax-pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 18px;
    align-items: center;
}

.posts-pagination ul li {
    margin: 0;
}

.posts-pagination ul li a,.ajax-page-link,
.posts-pagination ul li span {
    display: block;
    padding: 0 4px;
    font-size: 18px;
    color: #222;
    background: none;
    border: none;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.ajax-pagination .active{
    background: #072C46;
    color: white;
    border-radius: 4px;
}

.posts-pagination ul li span.current {
    color: #7949FF; /* purple like your screenshot */
    font-weight: 600;
    background: none;
}

.posts-pagination ul li a:hover {
    color: #7949FF;
    background: none;
}

.posts-pagination ul li .prev,
.posts-pagination ul li .next {
    color: #bbb;
    font-size: 1.6rem;
    padding: 0 8px;
}

.posts-pagination ul li .prev:hover,
.posts-pagination ul li .next:hover {
    color: #7949FF;
}

.ajax-post-results{
    margin-top: 30px;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .filter-blog-list ul {
        gap: 14px;
    }
    .filter-blog-list ul li a {
        font-size: 15px;
        padding: 8px 12px;
    }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .filter-blog-list ul {
        flex-direction: row;
        justify-content: flex-start !important;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 0 5px 11px 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scrollbar-color: #ccc #fff;
    }
    .filter-blog-list ul::-webkit-scrollbar {
        height: 6px;
        background: #fff;
    }
    .filter-blog-list ul::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    .filter-blog-list ul li {
        margin-bottom: 0;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .filter-blog-list {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 9;
    }

    .posts-pagination{
        overflow-x: auto;
    }
} 

/* --- Search bar wrapper --- */
.posts-filter-search-container{
    position: relative;
    display: block;                 /* stack nicely on mobile */
    padding: 0;                     /* let the input define height */
    margin: 10px 0 14px;
    overflow: hidden;
}
  
  /* --- The input --- */
.posts-filter-search{
    width: 91%;
    height: 46px;
    border-radius: 50px !important;          /* pill */
    border: 1px solid #e6e6e6;
    padding: 0 48px 0 42px;         /* room for icon + clear btn */
    font-size: 16px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.posts-filter-search::placeholder{
    color:#b9b9b9;
}

/* focus style */
.posts-filter-search:focus{
    outline: none;
    border-color:#8ab4ff;
    box-shadow: 0 0 0 3px rgba(138,180,255,.25);
}

/* --- The clear (×) button --- */
.posts-filter-search-container .close-search{
    position: absolute;
    top: 29%;
    right: 28px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, opacity .15s ease;
    opacity: 0;                     /* hidden until there’s text */
    pointer-events: none;
}

/* show clear button only when input has value (JS adds .has-value) */
.posts-filter-search-container.has-value .close-search{
    opacity: 1;
    pointer-events: auto;
}

/* No horizontal scroll */
.posts-filter-search, .posts-filter-search-container{
    max-width: 100%;
    box-sizing: border-box;
}

/* Standalone Reading Time Shortcode Styles */
.reading-time-with-icon {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.reading-time-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.reading-time-prefix {
    font-weight: 500;
    margin-right: 2px;
}

.reading-time-text {
    color: #666;
}

/* When used in post content */
.entry-content .reading-time-with-icon {
    margin: 15px 0;
    font-size: 15px;
}

@media (max-width:455px) {
   .elementor-element.elementor-element-b3a2a26.e-con-full.industries-list.e-flex.e-con.e-child {
        gap: 17px;
    }
}

/* Services page styles Starts Here */
.it-services-content p{
	margin-bottom : 0 !important;
}

@media (max-width: 1056px) {
    .home-service-heading {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .home-service-heading {
        height: 80px;
    }
}

.single-case_studies .ast-container{
    padding-right: 0px !important;
    padding-left: 0px !important;
}

@media (min-width: 922px) {
    .ast-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* Services page styles Ends Here */

/* Form Style Starts Here*/
.cf7-grid .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cf7-grid .col {
    flex: 1;
    min-width: 200px;
}

.cf7-grid input,
.cf7-grid select,
.cf7-grid textarea,
.wpcf7 input[type=file] {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    background: transparent;
}

.cf7-grid textarea {
    height: 175px;
}

.cf7-grid .upload-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cf7-grid .upload-label {
    font-size: 14px;
    color: #333;
}

.cf7-grid .wpcf7-submit.btn-dark {
    background-color: #072C46;
    color: #fff;
    padding: 28px 19px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 4px;
}

.cf7-grid .btn-dark::after {
    font-family: 'Dashicons';
    content: '\f344'; /* Right arrow */
    margin-left: 8px;
    vertical-align: middle;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cf7-grid .btn-dark:hover::after {
    transform: translateX(4px);
}

.cf7-grid .wpcf7-submit.btn-dark:hover {
    background-color: #004060;
}

.wpcf7-acceptance .wpcf7-list-item-label a{
    color:#02A3FD;
}

.wpcf7 form .wpcf7-response-output{
    margin:0;
}
.submit-button,.careers-form-button,.submit-button p,.careers-form-button p{
    margin-bottom: 0px !important;
}
   
.submit-button p,.careers-form-button p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-button .wpcf7-spinner,.careers-form-button .wpcf7-spinner {
    position: relative;
    margin-left: 10px;
    transform: scale(0.8);
    width: 35px !important;
}

/* Form Style Ends Here */

/* Calendly Popup Style Starts Here */
.popup-calendly-container .dialog-lightbox-message{
    overflow: hidden !important;
}

.popup-calendly{
    height: 570px;
    background: transparent;
    margin:0;
    padding:0
}

#elementor-popup-modal-4905 .dialog-widget-content,#elementor-popup-modal-4905 .dialog-message{
    width: 1200px !important;
}

/* Calendly Mobile Popup Form Style Starts Here */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
  
.popup-content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border-radius: 10px;
}
  
.close-btn {
    position: absolute;
    top: 5px;
    right: 7px;
    cursor: pointer;
}

.close-btn img{
    width: 30px;
}

.calendly-inline-widget{
    width: 100%;
    height:100%;
}
/* Calendly Mobile Popup Style Ends Here */
/* Calendly Popup Style Ends Here */

/* Tech Scroll Style Starts Here */
.tech-expertise {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    flex-wrap: wrap;
}

.icons {
    flex: 1;
    display: flex;
    justify-content: center;
    max-height: 400px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.icon-scroll {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 50px;
    justify-content: center;
}

.icon-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollUp 20s linear infinite;
}

.icon-grid2 {
	animation: scrolldown 25s linear infinite;
}

.icon-grid3 {
	animation: scrollUp 30s linear infinite;
}

.icon-grid img {
    width: 90px;
    height: 90px;
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.icon-grid img:hover {
	transform: scale(1.1);
}

.icon-grid:hover,
.icon-grid2:hover {
	animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

@keyframes scrolldown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

@keyframes scrollLeft {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollright{
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0%); } 
}


/* Popup Form Style Starts Here */
.neural-intelligence-popup .elementor-element {padding:0;}
.neural-intelligence-popup{display:flex;}
.neural-intelligence-popup .e-child .elementor-widget-image{height:100%;}
.neural-intelligence-popup .e-child .elementor-widget-image img{height:100%;display:block;}
.neural-intelligence-popup h2{font-size:26px;line-height:30px;margin-bottom:20px;font-weight:800;}
.neural-intelligence-popup p{font-size:18px;line-height:26px;margin:0;}
.neural-intelligence-popup .elementor-form-fields-wrapper input{border:0;border-bottom:1px solid #c3c3c3;height:40px;font-size:14px;background-color:transparent;padding:10px 0 !important;border-radius:0;}
.neural-intelligence-popup .elementor-form-fields-wrapper textarea{border:0;border-bottom:1px solid #c3c3c3;background-color:transparent;height:70px;font-size:14px;padding:10px 0;border-radius:0;}
.elementor-popup-modal .dialog-message{width:900px !important;}
.elementor-popup-modal .dialog-widget-content{width:900px !important;border-radius:20px !important;overflow:hidden !important;}
.neural-intelligence-popup .elementor-form-fields-wrapper{display:flex;flex-direction:column;gap:5px;margin:0;}
.neural-intelligence-popup .elementor-form-fields-wrapper button{background-color:#072C46;color: #fff;display: flex;align-items: center;justify-content: center;width: 150px;margin-top:20px;}
.neural-intelligence-popup .elementor-form-fields-wrapper label{display:none;}
.neural-intelligence-popup .e-con-full.e-flex.e-con.e-child{padding:0;}
.dialog-widget-overlay { pointer-events: none !important;}
/* Popup From Style Ends Here */

      
/* Responsive (tablet & mobile) */
@media screen and (max-width: 768px) {
    .icon-scroll {
        flex-direction: column;
        gap: 30px;
    }

    .icon-grid,
    .icon-grid3 {
        flex-direction: row;
        animation: scrollLeft 20s linear infinite;
    }

    .icon-grid2 {
        flex-direction: row;
        animation: scrollright 25s linear infinite;
    }

    .icon-grid:hover,
    .icon-grid2:hover {
    	animation-play-state: paused;
    }
    .elementor-popup-modal .dialog-message{width:300px !important;}
    .elementor-popup-modal .dialog-widget-content{width:300px !important;}
    .neural-intelligence-popup p, .neural-intelligence-popup h2{padding:0 30px;}
    .neural-intelligence-popup h2 {font-size: 22px;line-height: 30px;}
    .neural-intelligence-popup p { font-size: 14px; line-height: 20px;}
    .neural-intelligence-popup .elementor-form-fields-wrapper input,.neural-intelligence-popup .elementor-form-fields-wrapper textarea{font-size:12px;line-height:20px;}
    .neural-intelligence-popup .e-child .elementor-widget-image img{display:none;}
    .formx{width:80%;margin:0 auto;}
}

/* Tech Scroll Style Ends Here */

/* Other Style Starts Here */
#mega-menu-wrap-primary #mega-menu-primary li.industries-main-menu>ul.mega-sub-menu>li.industries-2-row{
    border-top: 1px solid #072C46;
    margin-top: 30px;
}

#mega-menu-wrap-primary #mega-menu-primary li.service-mega-menu>ul.mega-sub-menu>li.services-col-3{
  border-left: 1px solid #072C46;
}

.elementor-3318 .filter-blog-list {
    display: none;
}

.elementor-3318 .e-con-inner{
    margin-top: 60px;
}

@media (max-width: 1024px) {
    #mega-menu-wrap-primary #mega-menu-primary li.service-mega-menu>ul.mega-sub-menu>li.services-col-3{
    border-left: none;
    }
}       
/* Other Style Ends Here */