/*
 Theme Name: Hello Elementor Child
 Theme URI: https://bridgingloansuk.com/
 Description: Child theme for Hello Elementor
 Author: bridgingloansuk
 Author URI: https://bridgingloansuk.com/
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/

/* Add your custom CSS below */
@font-face{
font-display:swap !important;
}

/* Make sure Elementor popup stays above header */
.elementor-popup-modal {
    z-index: 99999 !important;
}

.elementor-popup-modal .dialog-widget-content {
    z-index: 99999 !important;
}

/* Review stars horizontal layout */

.customers-say .e-grid .e-con-inner{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:4px !important;
    align-items:center !important;
    justify-content:center !important; /* centers horizontally */
}



.customers-say .e-grid img{
    width:18px !important;
    height:auto !important;
	margin-right: 10px !important;
}



.customers-say-2 .e-grid {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:4px !important;
    align-items:center !important;
    justify-content:center !important; /* centers horizontally */
}



.customers-say-2 .e-grid img{
    width:18px !important;
    height:auto !important;
	margin-right: 10px !important;
}



/* Center rating text and button */
.customers-say-2 .elementor-widget-text-editor,
.customers-say-2 .elementor-widget-button{
    text-align:center;
}

/* Center the button itself */
.customers-say-2 .elementor-widget-button .elementor-button-wrapper{
    display:flex;
    justify-content:center;
}


@media (max-width: 767px) {
    /* Target the main container to center all children */
    .elementor-element.customers-say-2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Ensure the stars container (grid) centers itself */
    .customers-say-2 .e-grid {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    /* Force the paragraph text to center */
    .customers-say-2 .elementor-widget-text-editor p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Force the button widget to center */
    .customers-say-2 .elementor-widget-button {
        text-align: center !important;
    }
}


.calc-btn .elementor-button-icon svg,
.calc-btn .elementor-button-icon svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}


.calc-btn:hover .elementor-button-icon svg,
.calc-btn:hover .elementor-button-icon svg path {
    fill: #04186D !important;   /* change to your color */
    stroke: #04186D !important; /* covers stroke-based icons too */
}