/*
 Theme Name:   Hello Child
 Theme URI:    http://example.com/hello-child
 Description:  Child theme for Hello Elementor
 Author:       Your Name
 Author URI:   http://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-child
*/


/* ==========================================
   OUR VALUES CONTAINER - HOVER STATE ONLY
   ========================================== */

/* Turns the hovered container box background to Dark Blue */
.our-values-section .e-con-inner > .e-con:hover,
.our-values-section > .e-con:hover {
    background-color: #00057A !important;
    border-color: #00057A !important;
}

/* Flips the text components to White on hover */
.our-values-section .e-con-inner > .e-con:hover .elementor-icon-box-title span,
.our-values-section .e-con-inner > .e-con:hover .elementor-icon-box-title,
.our-values-section .e-con-inner > .e-con:hover .elementor-icon-box-description,
.our-values-section > .e-con:hover .elementor-icon-box-title span,
.our-values-section > .e-con:hover .elementor-icon-box-title,
.our-values-section > .e-con:hover .elementor-icon-box-description {
    color: #ffffff !important;
}

/* Changes the SVG icon path color to Brand Green on hover */
.our-values-section .e-con-inner > .e-con:hover .elementor-icon svg path,
.our-values-section > .e-con:hover .elementor-icon svg path {
    stroke: #36b04a !important;
}
/* ==========================================
   OUR SERVICES BUTTON - PREMATURE HOVER FIX
   ========================================== */

/* 1. Makes the hover trigger area match the exact pill shape of the button */
.services-btn .elementor-button {
    display: inline-flex !important;
    align-items: center !important;
}

/* 2. Forces the icon SVG to turn green ONLY when hovering directly over the button */
.services-btn .elementor-button:hover .elementor-button-icon svg,
.services-btn .elementor-button:hover .elementor-button-icon svg path {
    fill: #36b04a !important;
    stroke: #36b04a !important;
}


/* Mobile Responsive Styles for Testimonial Slider */
@media only screen and (max-width: 767px) {
    
    .testimonial-slider .e-con-inner {
        padding: 15px !important;
        gap: 0 !important;
    }

    .testimonial-card {
        padding: 20px 15px !important;
        min-height: auto !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Make image/icon smaller on mobile */
    .testimonial-card .elementor-widget-image img {
        width: 70px !important;
        height: auto !important;
        max-width: 70px !important;
    }

    /* Adjust heading size */
    .testimonial-card .elementor-heading-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-top: 5px !important;
    }

    /* Make stars smaller */
    .testimonial-card .e-rating-wrapper .e-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 18px !important;
    }

    /* Adjust description text */
    .testimonial-card .elementor-widget-text-editor p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
    }

    /* Time stamp */
    .testimonial-card .elementor-widget-text-editor:last-of-type p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    /* Author section - make more compact */
    .testimonial-card .elementor-image-box-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    .testimonial-card .elementor-image-box-img img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        border-radius: 50% !important;
    }

    .testimonial-card .elementor-image-box-content {
        flex: 1 !important;
        min-width: 100px !important;
    }

    .testimonial-card .elementor-image-box-title {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }

    .testimonial-card .elementor-image-box-description {
        font-size: 13px !important;
    }

    /* Navigation buttons - reposition for mobile */
    .testimonial-slider .e-con-inner > .e-con:last-child {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 15px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .testimonial-prev .elementor-button,
    .testimonial-next .elementor-button {
        padding: 8px 16px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .testimonial-prev .elementor-button-icon svg,
    .testimonial-next .elementor-button-icon svg {
        width: 16px !important;
        height: 16px !important;
        font-size: 16px !important;
    }

    /* Add touch-friendly spacing */
    .testimonial-prev .elementor-button,
    .testimonial-next .elementor-button {
        padding: 10px 20px !important;
        min-height: 44px !important; /* Apple's recommended minimum touch target */
    }

    /* Smooth transitions for all elements */
    .testimonial-card * {
        transition: all 0.3s ease !important;
    }

    /* Ensure card takes full width */
    .testimonial-card {
        max-width: 100% !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Prevent horizontal scroll */
    .testimonial-slider {
        overflow: hidden !important;
        width: 100% !important;
    }

    .testimonial-slider .e-con-inner {
        overflow: hidden !important;
        width: 100% !important;
    }

    /* Adjust rating text */
    .testimonial-card .e-rating-wrapper[role="img"] {
        font-size: 0 !important; /* Hide "Rated X out of 5" text on mobile */
    }

    /* Make content more readable on small screens */
    .testimonial-card .elementor-widget-wrap {
        padding: 5px !important;
    }

    /* Fix spacing between elements */
    .testimonial-card .elementor-element {
        margin-bottom: 8px !important;
    }

    .testimonial-card .elementor-element:last-child {
        margin-bottom: 0 !important;
    }

    /* Improve card shadow/background on mobile */
    .testimonial-card {
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    }
}

/* Tablet devices (768px - 1024px) - optional fine-tuning */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .testimonial-card {
        padding: 30px 25px !important;
    }

    .testimonial-card .elementor-image-box-img img {
        width: 60px !important;
        height: 60px !important;
    }

    .testimonial-card .elementor-heading-title {
        font-size: 24px !important;
    }
}

/* Small mobile devices (320px - 480px) */
@media only screen and (max-width: 480px) {
    .testimonial-card {
        padding: 15px 12px !important;
    }

    .testimonial-card .elementor-image-box-img img {
        width: 45px !important;
        height: 45px !important;
    }

    .testimonial-card .elementor-image-box-title {
        font-size: 15px !important;
    }

    .testimonial-card .elementor-image-box-description {
        font-size: 12px !important;
    }

    .testimonial-card .elementor-widget-text-editor p {
        font-size: 13px !important;
    }
}

@media only screen and (max-width: 767px) {
    .testimonial-card .elementor-widget-text-editor {
        width: 100% !important;
        max-width: 100% !important;
    }
}
@media only screen and (max-width: 767px) {
    /* Target specific image box by element ID */
    .elementor-element-a6fb083 {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .elementor-element-a6fb083 .elementor-image-box-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
/*         width: 100% !important; */
        justify-content: center !important;
    }

    .elementor-element-a6fb083 .elementor-image-box-img {
        flex: 0 0 auto !important;
        max-width: 60px !important;
    }

    .elementor-element-a6fb083 .elementor-image-box-img img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
}



/* ========================================
   DESKTOP - HORIZONTAL LINES
   ======================================== */

/* Make each step container relative for line positioning */
.number-full-con > .number-con-individual-child {
    position: relative;
}

/* Line between nodes - applies to all steps except first */
.number-full-con > .number-con-individual-child:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #00057a; /* Blue color */
    z-index: 0; /* Put line BEHIND the circle */
    transform: translateY(-50%);
}

@media (min-width:768px) and (max-width:849px){
.number-full-con > .number-con-individual-child:not(:first-child)::before {
    top: 55% !important;
}
}

@media (min-width:850px) and (max-width:1024px){
.number-full-con > .number-con-individual-child:not(:first-child)::before {
    top: 60% !important;
}
}

@media(min-width:1025px){
.number-full-con > .number-con-individual-child:not(:first-child)::before {
    top: 50%;
}
}

/* Hide line before first step */
.number-full-con > .number-con-individual-child:first-child::before {
    display: none;
}

/* Make sure circles are ABOVE the line */
.number-full-con .round-div-par {
    position: relative;
    z-index: 2 !important;
}

/* ========================================
   MOBILE - VERTICAL LINES (480px AND BELOW)
   ======================================== */

@media (max-width: 480px) {
    
    /* Change to vertical line between circles */
    .number-full-con > .number-con-individual-child:not(:first-child)::before {
        top: -141px;
        left: 14%;
        width: 2px;
        height: 112%;
        background: #00057a; /* Blue color */
        z-index: 0;
        transform: translateX(-50%);
    }
    
    /* Keep circles above the vertical line */
    .number-full-con .round-div-par {
        position: relative;
        z-index: 2 !important;
    }
    
    /* Keep row-reverse for odd steps */
    .number-con-individual-child-rev {
        flex-direction: row-reverse !important;
    }
}


/* body .cur-img-custom-mar .e-con-inner{
margin-left:0 !important;
} */

body .cur-img-custom-mar > :first-child {
    margin-left: 0 !important;
}
/* Corrected syntax - each condition needs its own parentheses */
@media(min-width:2001px) and (max-width:3500px){
    .mar-add-higher-scrn > :first-child {
        margin-left: 15vw !important;
    }
}

@media(min-width:3501px){
    .mar-add-higher-scrn > :first-child {
        margin-left: 25vw !important;
    }
}



/* When hovering over the card container, change heading color to white */
.card-hover-service-con:hover .card-hover-service-heading .elementor-heading-title,
.card-hover-service-con:hover .card-hover-service-heading .elementor-heading-title a {
    color: #ffffff !important;
}

/* When hovering over the card container, change button text and icon to white */
.card-hover-service-con:hover .elementor-button .elementor-button-text,
.card-hover-service-con:hover .elementor-button .elementor-button-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Optional: If you want the button background to change on hover as well */
.card-hover-service-con:hover .elementor-button {
    /* Add your background color change here if needed */
    /* Example: background-color: transparent; */
}

/* If you want the SVG icon to be white, this ensures it fills white */
.card-hover-service-con:hover .elementor-button-icon svg {
    fill: #ffffff !important;
}

.practical-hover-card-child:hover * {
    color: #ffffff !important;
}


.header-cont-btn .elementor-button-icon svg {
    transform: rotate(315deg) !important;
}


.custom-sub-btn-svg input[type="submit"] {
    font-family: 'Inter';
    background: #54C728;
    color: #F6F9FB;
    border: none;
    border-radius: 50px;
    padding: 12px 40px 12px 23px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 2.52px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
/*     background-image: url(https://dev-enviro-ss.pantheonsite.io/wp-content/uploads/2026/09/white-arrow.svg); */
	background-image: url('../../uploads/2026/09/white-arrow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 17px) center;
    background-size: 14px 14px;
    	width:140px !important;
}



/* =========================================
   TIMELINE BASE
========================================= */

.process-timeline {
    position: relative;
}

.timeline-item {
    position: relative;
}

.timeline-number {
    position: relative;
    z-index: 2;
}


/* =========================================
   DESKTOP TIMELINE LINE ONLY
========================================= */

@media (min-width: 1025px) {

    .process-timeline {
        position: relative;
        overflow: visible !important;
    }

    .process-timeline::before {
        content: "";
        position: absolute;

        top: 33px; /* Adjust only if line is vertically incorrect */

        /* Equal space on LEFT and RIGHT */
        /*left: 0%;
        right: 1%; */

        height: 2px;
        background: #47616A;

        z-index: 0;
    }

    .timeline-item {
        position: relative;
        z-index: 1;
    }

    .timeline-number {
        position: relative;
        z-index: 2;
    }

}

/* =========================================
   TABLET
   NO LINE
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .process-timeline::before {
        display: none !important;
    }

}


/* =========================================
   MOBILE TIMELINE
========================================= */

@media (max-width: 767px) {

    @media (max-width: 767px) {

    .process-timeline {
        position: relative !important;
    }

    /* Vertical line - stops at image 04 */
    .process-timeline::before {
        content: "";
        position: absolute !important;
        left: 25px !important;
        top: 25px !important;

        /* adjust this if needed */
        bottom: 50px !important;

        width: 1px !important;
	    height: 75%;
        background: #47616A !important;
        z-index: 0 !important;
    }

    /* Timeline item */
    .timeline-item {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Number image */
    .timeline-number {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;

        width: 50px !important;
        min-width: 50px !important;
        height: 30px !important;

        margin: 0 !important;
        padding: 0 !important;
        z-index: 2 !important;
    }

    .timeline-number img {
        display: block !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
    }

    /* Text starts exactly beside the number */
    .timeline-content {
        position: relative !important;
        display: block !important;

        width: auto !important;
        max-width: none !important;

        margin: 10px 20px 0 50px !important;
        padding: 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Heading */
    .timeline-content h1,
    .timeline-content h2,
    .timeline-content h3,
    .timeline-content h4,
    .timeline-content h5,
    .timeline-content h6,
    .timeline-content .elementor-heading-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
        text-align: left !important;
    }

    /* Description */
    .timeline-content .elementor-widget-text-editor,
    .timeline-content .elementor-widget-text-editor p,
    .timeline-content .elementor-widget-text-editor * {
        text-align: left !important;
    }

}

	
	/* Make header sticky */
body .header-sticky-class {
    position: fixed !important;
    top: 20px !important;
    z-index: 9999 !important;
    width: 100% !important;
}



/* Optional: Add box shadow on scroll for better visual separation */
.header-sticky-class.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* For smooth sticky behavior */
.header-sticky-class {
    transition: box-shadow 0.3s ease-in-out;
}
	
	
body .footer-link-change-color a{
color: #fff !important;
}
	
	
/* 	
	body h1, body h2,body h3,body h4,body h5,body h6{
font-family: "New Science", Sans-serif; !important;
} */
	

/* The wrapper container that enables horizontal scrolling on mobile */
.custom-table-blog {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile devices */
    margin-bottom: 1.5rem;
}

/* Styles for the table inside the wrapper */
.custom-table-blog table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Prevents the table from squishing on small screens */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Padding and text styles for table cells */
.custom-table-blog td {
    padding: 12px 15px;
    vertical-align: top;
    border-bottom: 1px solid #eeeeee;
}

/* Optional: Make the label columns (1st and 3rd) bold for better readability */
.custom-table-blog td:nth-child(1),
.custom-table-blog td:nth-child(3) {
    font-weight: 600;
    color: #333333;
    width: 15%; /* Gives labels a consistent width */
}

/* Optional: Distribute remaining space to value columns (2nd and 4th) */
.custom-table-blog td:nth-child(2),
.custom-table-blog td:nth-child(4) {
    width: 35%;
}

	

