/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor theme
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/* Add your custom CSS below this line */

body.elementor-page .e-con-inner {
    padding-left: 1rem;
    padding-right: 1rem;
}

#overflow_container{
    background-size: 100% 100%;
}

#mb-menu-div {
	display: none;	
}

#closeIcon {
    display: none;
}

#pulse {
    background-color: #0caeee;
    width: 13px;
    height: 13px;
    border-radius: 50%
    ;
    position: absolute;
    left: -16px;
    top: 3px;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 #0caeee;
  }

  70% {
    box-shadow: 0 0 0 5px rgba(12, 174, 238, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(12, 174, 238, 0);
  }
}

/* Get a Quote Form Css */
.get-quote-form input {
    padding: 10px 0 12px 4px;
}

.get-quote-form .elementor-field-type-select {
    margin-bottom: 60px !important;
}

.get-quote-form option {
    background: #211f1f;
}

.get-quote-form .elementor-field-type-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    z-index: 10;
    width: calc(100% - 20px);
    height: 100%;
    cursor: pointer;
}

.get-quote-form .elementor-field-type-upload {
    position: relative;
    padding: 12px 0;
    height: 40px;
    font-size: 16px;
    color: #fff;
    background: url('https://www.onlineelectricians.com.au/wp-content/uploads/2025/12/upload-icon-1.svg') no-repeat;
    background-size: 24px;
    background-position: 98% 50%;
}

.get-quote-form .elementor-field-type-upload label {
    display: block;
    width: 100%;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}


.get-quote-form .elementor-field-type-upload::after {
    content: "Upload a file";
    color: #aaa;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.get-quote-form .elementor-field-type-upload::before {
    content: "";
    margin-top: 27px;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #fff;
}

.get-quote-form .elementor-field-type-upload input[type="file"]:valid ~ .elementor-field-label::after,
.get-quote-form .elementor-field-type-upload input[type="file"]:focus ~ .elementor-field-label::after {
    content: attr(data-file-name);
}

.get-quote-form .elementor-field-type-upload:hover {
    border-bottom-color: #fff;
}

/* Home Promotion Section */
.promo-section .promo-slider .e-con-inner {
 padding: 0;    
}

.promo-section .promo-slider .swiper {
 padding-bottom: 70px !important;
 animation-play-state: paused !important;
   pointer-events: none;
}

.promo-section .promo-slider .swiper * {
  animation-play-state: paused !important;
  transition: none !important;
}

.promo-section .promo-slider .swiper-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.promo-section .promo-slider .swiper-pagination-bullet {
    width: 100% !important;
    border-radius: 10px !important;
    opacity: 1;
}

.promo-section .promo-slider .swiper-pagination-bullet-active {
    background: #00AAFF;
}

.promo-section .promo-slider .swiper-pagination {
    display: none;
}

.video-inner .e-con-inner {
    padding: 0;
}

/* Google Reviews Section */
/* Base selector styling */
.google-review-slider:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(270deg, #211f1f 0%, #211f1f00 50%, #211f1f 100%);
    z-index: 1;
}

.wprev-slider {
    margin: 0 !important;
}

.wprevpro_t1_DIV_2:before, .wprev_media_div {
    display: none !important;
}

img.wprevpro_t1_site_logo {
    position: unset !important;
}

.wprs_unslider-nav,
.wprs_unslider-arrow {
    display: none !important;
}

.reviewer-name {
    font-family: "Varela";
    font-size: 20px;
    font-weight: 900;
    font-style: normal;
    line-height: 28px;
    color: #fdfdfd;
}

/* Container setup */
.wprs_unslider {
    overflow: hidden !important;
}

/* Disable default slider animation */
.wprs_unslider-wrap {
    display: flex !important;
    width: max-content !important;
    left: 0 !important;
    animation: none !important;
}

/* Pause on hover */
.wprs_unslider-wrap:hover .wprevpro_t1_outer_div {
    animation-play-state: paused !important;
}

/* Each slide (li) - Display as single row */
.wprs_unslider-wrap > li {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
}

/* CRITICAL: Make both rows display inline */
.wprevpro_t1_outer_div {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual review cards */
.wprevpro_t1_DIV_1 {
    flex: 0 0 350px !important;
    min-width: 350px !important;
    margin: 10px !important;
    padding: 0 !important;
}

/* Review card styling - FIXED HEIGHT 320px */
.indrevdiv {
    background: transparent !important;
    border-radius: 16px !important;
    padding: 30px !important;
    border: 1px solid #fdfdfd !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 0;
}

/* Name and Google logo row at top */
.wprevpro_t1_SPAN_5 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

/* Hide BR between name and date */
.wprevpro_t1_SPAN_5 br {
    display: none !important;
}

/* Google Logo - Inline with name */
.wprevpro_t1_site_logo {
    width: 32px !important;
    height: 32px !important;
    opacity: 0.9 !important;
    float: none !important;
    margin-left: 10px !important;
    flex-shrink: 0 !important;
}

/* Star ratings */
.wprevpro_star_imgs_T1 {
    margin-bottom: 12px !important;
    flex-shrink: 0 !important;
}

.wprevpro_star_imgs_T1 .svgicons {
    color: #fbbf24 !important;
    fill: #fbbf24 !important;
}

/* Review text - LIMITED TO 7 LINES */
.wprevpro_t1_P_3 {
    color: #fdfdfd !important;
    font-family: "Varela";
    font-style: normal;
    font-size: 16px !important;
    line-height: normal !important;
    margin: 0 !important;
    order: 2 !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    text-overflow: ellipsis !important;
}

/* Review date - At bottom */
.wprev_showdate_T1 {
    color: #fdfdfdbf !important;
    font-family: "Varela";
    font-size: 14px !important;
    font-weight: 400 !important;
    order: 3 !important;
    display: block !important;
    margin-top: 12px !important;
    flex-shrink: 0 !important;
}

/* Hide empty link */
.wprevpro_t1_A_8 {
    display: none !important;
}

/* ============================================
   FIRST ROW - BACKWARD DIRECTION (RIGHT TO LEFT)
   ============================================ */
.wprs_unslider-wrap > li .wprevpro_t1_outer_div:nth-child(1) {
    animation: marqueeBackward 50s linear infinite !important;
}

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

/* ============================================
   SECOND ROW - FORWARD DIRECTION (LEFT TO RIGHT)
   ============================================ */
.wprs_unslider-wrap > li .wprevpro_t1_outer_div:nth-child(2) {
    animation: marqueeForward 50s linear infinite !important;
}

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

/* Services Section */
.services-slider .e-con-inner {
    padding: 0 !important;
}

.services-slider .swiper-slide {
    cursor: pointer;
}

.services-slider .elementor-swiper-button-prev:hover {
    margin-left: -6px;
}

.services-slider .elementor-swiper-button-next:hover {
    margin-right: -6px;
}

.services-slider .swiper-slide:hover img {
    transition-duration: 300ms;
    transition-property: all;
    transition-timing-function: 
cubic-bezier(0.4, 0, 0.2, 1);
}

.services-slider .swiper-slide:hover img {
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1.05) scaleY(1.05);
}
.services-slider .swiper-slide:hover h3 {
    color: black;
}
.services-slider .swiper-slide:hover #grey-box {
    background-color: #0CAEEE;
} 

.services-slider .swiper-slide:hover #blue-box{
    background-color: #211F1F;
}

/* About Banner */

.review-ribbon {
    max-width: 530px;
}

/* New Header */
.marquee-text {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text .elementor-icon-list-items {
    display: flex !important;
    flex-direction: row !important;
    width: max-content;
    animation: marquee-logic 40s linear infinite;
}

.marquee-text .elementor-icon-list-item {
    display: inline-flex !important;
    align-items: center;
    padding-right: 20px;
}

.marquee-text .menu-desc {
    margin-left: 10px;
    font-size: 0.7em;
    opacity: 0.6;
}

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

.marquee-text:hover .elementor-icon-list-items {
    animation-play-state: paused;
}

.header-we-are-open-circle {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #52D03E;
    border-radius: 50%;
    animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 #52D03E;
    }

    100% {
        box-shadow: 0 0 0 15px transparent;
    }
}

.secondary-menu ul.elementor-nav-menu {
    border: 1px solid #d1d5db;
    border-radius: 16px;
    width: 100%;
    justify-content: space-between;
}

.secondary-menu ul.elementor-nav-menu li.menu-item {
    flex: 1;
}

.secondary-menu ul.elementor-nav-menu li.menu-item a {
    justify-content: center;
	background-color: #fff;
}

.secondary-menu ul.elementor-nav-menu li.menu-item a:hover {
    background-color: #f3f4f6;
}

.secondary-menu ul.elementor-nav-menu li.menu-item:last-child a {
    background-color: #133963;
    color: #ffffff !important;
    border-radius: 0 16px 16px 0;
}

.secondary-menu ul.elementor-nav-menu li.menu-item:last-child a:hover {
	background-color: #f3f4f6;
	color: #133963 !important;
}

.secondary-menu ul.elementor-nav-menu li.menu-item:first-child a {
    border-radius: 16px 0 0 16px;
}

.secondary-menu ul.elementor-nav-menu li.menu-item:last-child a {
    border-radius: 0 16px 16px 0;
}

.heading-col h2 span {
    color: #FFCB05;
}

.why-choose .elementor-icon-list-items {
    gap: 8px;
}

.why-choose .elementor-icon-list-items .elementor-icon-list-item {
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    flex-grow: 1;
    width: 19%;
}

.why-choose .elementor-icon {
    border: 1px solid #ffca02;
    border-radius: 12px;
    padding: 10px !important;
}

.reviews-banner .elementor-icon svg {
    height: 15px;
}

.region-search input {
    min-height: 51px !important;
    padding: 8px 32px !important;
}

.region-search .elementor-field-type-submit {
    width: unset;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 32px;
    top: 9px;
}

.region-icon-list .elementor-icon-list-items {
    flex-wrap: nowrap !important;
}

.red-btn .elementor-button .elementor-button-icon svg {
    width: auto;
}

.red-btn .elementor-button .elementor-button-content-wrapper {
    align-items: center;
}

.youtube-video .elementor-custom-embed-play {
    background-color: #FF0000;
    border: 1px solid #FF0000;
    color: white;
    animation: pulsered 2s infinite;
    border-radius: 50rem;
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

@keyframes pulsered {
    0% {
        box-shadow: 0 0 0 0 #e91b23;
    }

    70% {
        box-shadow: 0 0 0 10px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.faqs-tabs .e-n-tabs .e-n-tabs-heading {
    background: linear-gradient(180deg, #FFCB05 0%, #EAB900 100%);
    padding: 48px 16px;
}

.faqs-tabs .e-n-tabs .e-n-tab-title {
    max-width: 158px;
    width: 100%;
    flex: 1;
}

.faqs-tabs .e-n-tabs [aria-selected="false"]:hover .e-n-tab-icon svg {
    filter: unset;
}

.faqs-tabs .e-n-tabs [aria-selected="false"] .e-n-tab-icon svg {
    filter: grayscale(1) contrast(0) brightness(2);
}

.faqs-tabs .e-n-accordion .e-n-accordion-item [aria-expanded="true"] {
    color: #fff !important;
    background-color: #1f2024 !important;
}

.faqs-tabs .e-n-accordion .e-n-accordion-item .accordion-content {
    background-color: #28292d;
}

.faqs-tabs .e-n-accordion .text-danger {
    color: #FFCB05;
    font-weight: 600;
    margin-right: 8px;
}

@media (min-width: 1740px) {
    body.elementor-page .elementor-location-header .e-con-inner {
        max-width: 1740px;
    }
}
/*
@media (min-width: 576px) {
    body.elementor-page .e-con-inner {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    body.elementor-page .e-con-inner {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    body.elementor-page .e-con-inner {
        max-width: 990px;
    }
}

@media (min-width: 1200px) {
    body.elementor-page .e-con-inner {
        max-width: 1200px;
    }
}*/

@media screen and (max-width: 1200px) {
    .header-top {
        overflow: hidden !important;
        display: flex;
    }

    .header-top > .e-con-inner.marquee-active {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        animation: marquee-scroll 10s linear infinite;
        gap: 20px;
    }

    /* Ensure children don't shrink */
    .marquee-content, .marquee-clone {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 20px;
        flex-shrink: 0;
    }

    /* The Animation */
    @keyframes marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 50px));
        }
    }

    .marquee-text-container {
        display: none;
    }
}

@media (max-width:1024px) {
    .get-quote-form .elementor-element.elementor-element-ea34bcb .elementor-field-type-select {
        margin-bottom: 20px !important;
    }

    .wprevpro_t1_SPAN_5 {
        font-size: 16px !important;
    }
    
    .wprevpro_t1_P_3 {
        -webkit-line-clamp: 6 !important;
    }
    
    .wprevpro_t1_site_logo {
        width: 28px !important;
        height: 28px !important;
    }

    .review-ribbon {
        max-width: 340px;
    }

    .why-choose .elementor-icon-list-items .elementor-icon-list-item {
        width: 24%;
    }
}

@media (max-width: 992px) {
    .faqs-tabs .e-n-tabs .e-n-tabs-heading {
        flex-direction: column;
        gap: 10px;
    }

    .faqs-tabs .e-n-tabs .e-n-tab-title {
        max-width: 100%;
        padding: 10px;
    }
}

@media (max-width: 768px){
	.banner-icon-list .elementor-icon-list-items {
		flex-direction: column;
		gap: 20px;
	}
	
	.promo-section .promo-slider .swiper-pagination {
    	display: flex;
	}
	.promo-section .promo-slider .swiper {
		padding-bottom: 25px !important;
		animation-play-state: running !important;
		pointer-events: initial;
	}

	.promo-section .promo-slider .swiper * {
		animation-play-state: running !important;
		transition: all 0.3s ease !important;
	}
	
	.video-inner .elementor-widget-video > div{
    	--video-aspect-ratio: 0.61 !important;
    }

    .services-slider .elementor-swiper-button {
        display: none;   
    }

    .why-choose .elementor-icon-list-items .elementor-icon-list-item {
        width: 32%;
    }

    .red-btn .elementor-button .elementor-button-icon svg {
        width: 18px;
    }
}

@media (max-width: 767px) {
    .wprevpro_t1_DIV_1 {
        margin: 10px !important;
    }
    
    .wprevpro_t1_SPAN_5 {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }
    
    .wprevpro_t1_P_3 {
        -webkit-line-clamp: 5 !important;
    }
    
    .wprevpro_star_imgs_T1 {
        margin-bottom: 10px !important;
    }
    
    /* Faster animations on mobile */
    .wprs_unslider-wrap > li .wprevpro_t1_outer_div:nth-child(1) {
        animation: marqueeBackward 35s linear infinite !important;
    }
    
    .wprs_unslider-wrap > li .wprevpro_t1_outer_div:nth-child(2) {
        animation: marqueeForward 35s linear infinite !important;
    }
}

@media (max-width:540px) {
    .promo-section .promo-slider .swiper {
        padding: 25px 10vw !important;
    }

    .services-slider .swiper {
        padding-right: 10vw !important;
    }

    .why-choose .elementor-icon-list-items .elementor-icon-list-item {
        width: 48%;
    }
}

@media (max-width: 420px) {
    .promo-section .promo-slider .swiper {
        padding: 25px 4vw !important;
    }

    .services-slider .swiper {
        padding-right: 2vw !important;
    }
}



/* TABS */
.simple-tabs {
  max-width: 100%;
  margin: 20px 0;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: #111;
  color: #fff;
}

.tab-content {
  display: none;
  padding: 15px;
  border-top: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 600px) {
  .tab-buttons {
    flex-direction: column;
  }
}