/*
Theme Name: Doob Child
Theme URI: https://rainbowthemes.net/themes/doob/
Template: doob
Author: Rainbow-Themes
Author URI: http://rainbowit.net/
Description: Smart, Powerful, and Unlimited Customizable WordPress Theme.
Version: 1.0
License: Envato Marketplaces Split License
License URI: https://themeforest.net/licenses/standard
Text Domain: doob
Tags:  responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/
/*define primary colour variable*/
:root {
    --primary-color: #38FF81;
    --secondary-color: #089383;
    --background-color: #111204;
    --error-color: #f68f3e;
}
html{
    background-color:black;
    scroll-padding-top: 150px !important;
}
a:hover i{
    color: #FFF !important;
}
.container.header-wrapper, .rainbow-footer .container, .header-top-bar .container{
    max-width: 1670px;
}
.primary-text{
    color: var(--primary-color) !important;
}
.secondary-text{
    color: var(--secondary-color) !important;
}
.text-right{
    text-align: right;
}
.background-color{
    background-color: var(--background-color);
}
a.primary-text:hover{
    color: var(--secondary-color) !important;
}
.rainbow-back-top{
    background-color: var(--secondary-color);
}
.rainbow-back-top:hover{
    background-color: var(--primary-color);
}
.rainbow-back-top .feather-arrow-up{
    color: #FFF;
}
.rainbow-back-top:hover i.feather-arrow-up{
    color: #FFF !important;
}
.wwwm-bottom-border{
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--secondary-color);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
.border-white{
    border-color: #FFF !important;
}
.py-50{
    padding-top: 50px;
    padding-bottom: 50px;
}
/*######################### Services Section #########################*/
/* wrapper for 3 column flex service list */
.service-wrapper, .flex-container .elementor-container{
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
}
/* inner item for service list */
.service-item, .flex-container .elementor-container .elementor-column{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    flex: 1 1 auto;
    min-height:100%;
}
/* service item content */
.single-service{
    flex-grow:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.single-service a .service, .single-service a {
    flex-grow: 1;
}
.single-service a .service, .single-service .service{
    min-height: 100%;
}
/* On hover, change the border color */
.service-item a .service, .service-item .single-service .service {
    border-bottom: 5px solid #FFF !important;
}
.service-item a .service.bg-color-blackest:hover, .service-item .single-service .service.bg-color-blackest:hover {
    background-color: var(--secondary-color) !important; /* Hover color */
}
/*######################### End Services Section #########################*/

/*######################### Prepaid Electricity Section #########################*/
.prepaid-meters-hero:before{
    background-image: url("https://wwwm.srsclientsdev.co.za/wp-content/uploads/2025/03/Ellipse-2-1920x1067-1.png");
    z-index: 0;
    width: 1920px;
    height: 1080px;
    content: " ";
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
}

.single-service .service{
    border-bottom: 5px solid var(--secondary-color);
}
.flex-card-column{
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
}
/* Make the elementor elements stretch to the same height */
.flex-card-column .elementor-element ,.flex-card-column .elementor-widget-container, .flex-card-column .elementor-widget-wrap{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #4D4D4D;
    border-radius: 20px 20px 20px 20px;
    padding: 35px 10px 10px 10px !important;
    border-bottom: 5px solid var(--secondary-color);

}

.card-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-height: 100%;
}
.card-content .inner{

}
.card-content .inner .image{

    margin-bottom: 20px;
}
.card-content .inner .image img{
    max-height: 220px;
}
.card-content .default-content .title{
    color: #089383;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
}
.hover-content {
    display: none;
    overflow-y:auto;
}
.hover-content .inner h5{
    margin-bottom: 10px;
}
.hover-content .inner p{
    margin-bottom: 5px;
    font-size: 16px;
    color: #FFF;
}
.card:hover {
    background-color: var(--secondary-color);
    border-bottom-color: #FFF;
}

.card:hover .default-content {
    display: none;
}

.card:hover .hover-content {
    display: block;
}
/*######################### End Prepaid Electricity Section #########################*/
/*######################### Water Meter Section #########################*/
.water-services .service.service__style--2:hover {
    box-shadow: none !important;
}
/*######################### End Water Meter Section #########################*/
/*######################### About Us Section #########################*/
.about-callout .elementor-widget-container{
    min-height: 100px;
    align-content: center;
    border-radius: 20px 20px 20px 20px;
}
.about-callout{
    border-radius: 20px 20px 20px 20px;
}
.about-callout:hover{
    background-color: var(--secondary-color);
}
/*######################### End About Us Section #########################*/
/*######################### Discover Section #########################*/
.discover-section .contrainer .row{
    gap: 40px;
}
.how-we-embody-section p{
    color: #FFFFFF;
}
.how-we-embody-section .wwwm-bottom-border{
    background-color: var(--color-blackest);
    border-radius: 20px 20px 20px 20px;
    padding: 25px 30px;
}
.discover-content-column:hover h2{
    color: var(--primary-color);
}
.elbow-img .elementor-widget-container{
    position: relative;
}
.elbow-img .elementor-widget-container img{
    position: absolute;
    left: 0;
}

/*######################### End Discover Section #########################*/

/*######################### Contact Form Section #########################*/
/* Absolutely position the error tip so it doesn't disrupt layout */
.wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);         /* Right below the input baseline */
    margin-top: 4px;   /* Some breathing room below the baseline */
    color: red;
    font-size: 0.85rem;
    line-height: 1.2;
    /* If you want to move it inward a bit:
    padding-left: 1rem;
    */
}
.wpcf7-response-output{
    border-radius: 25px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: var(--error-color);

}
.wpcf7-mail-sent-ok{
    border-color: var(--primary-color);
}
.wpcf7-mail-sent-ng{
    border-color: red;
}

.button-container .wpcf7-response-output {
    position: absolute;
    top: 100%;     /* below the button */
    left: 0;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 10;   /* Keep it on top of other elements */
}
.wpcf7 textarea {
    width: 100%; /* Adjust the width as needed */
    height: 100px; /* Adjust the height as needed */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    max-height: 100px; /* Ensure it doesn't exceed the specified height */
    min-height: 60px; /* Set a minimum height */
}
.form-group input, .form-group textarea{
    padding: 0 10px 0 0;
}
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
    padding-left: 0;
}
.elementor-icon-list-item li a:hover{
    color: var(--primary-color) !important;
}
.elementor-icon-list-item a:hover li i{
    color: #FFF !important;
}
/*######################### End Contact Form Section #########################*/
/*######################### Footer Section #########################*/
.footer-style-default .footer-top{
    padding-bottom: 0px;
    padding-top: 50px;
}
.footer-top #block-11{
    margin-top: 65px;
}
.footer-top .inner p{
    font-size: 15px;
}
.footer-top .contact-details, .footer-top .footer-description{
    margin-top:auto;
}
.footer-top .contact-details img{
    max-width: 20px;
    margin-right: 5px;
}
.contact-details p a {
    color: var(--primary-color) !important;
}
.copyright-style-one{
    border-top: none;
    padding: 0px;
}
.copyright-style-one .container::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px; /* Adjust the height as needed */
    background-color: #FFFFFF;
    border-radius: 10px; /* Adjust the value as needed */
    margin: 10px auto;
}

/*######################### End Footer Section #########################*/
/* Ensure form container does not have extra styling */
.custom-contact-form {
    max-width: 600px;
    margin: auto;
    font-family: 'Outfit', sans-serif;
}

/* Two-column layout */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Input field styling */
.form-group {
    flex: 1;
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Outfit', sans-serif;
}
.form-group input:focus{
    border: none;
}
/* Black underline styling */
.form-group::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: black;
    margin-top: -2px;
}

/* Adjusting spacing for the message field */
.form-textarea {
    min-height: 50px; /* Adjusted to match the height of other fields */
    resize: none;
    margin-bottom: 0px; /* Ensure no extra space */
}

/* Checkbox container */
.checkbox-group {
    display: flex;
    gap: 20px; /* Adjust spacing */
    align-items: center;
}

/* Hide default checkboxes */
.custom-checkbox {
    display: none;
}

/* Style the label to act as a checkbox */
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

/* Create an empty circle */
.checkbox-group label::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #089383; /* Green border */
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: 0.2s ease-in-out;
}

/* Add tick when checked */
.custom-checkbox:checked + label::before {
    background-color: #089383;
    border: 2px solid #089383;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Create checkmark inside selected checkbox */
.custom-checkbox:checked + label::after {
    content: "✔";
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 6px;
    top: 2px;
}

/* Submit button */
.button-container {
    text-align: right;
    margin-top: 15px;
}

.submit-button {
    background-color: #089383;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.submit-button:hover {
    background-color: #067c6a;
}



/* Style the green text to be bold */
.green-text {
    color: #38FF81; /* Green color */
    font-weight: 700; /* Bold */
}

/* Hover state text */
.meters {
    margin-top:-400px;
    padding-bottom:400px;
    transition-duration:0.25s;
}
.meters:hover {
    margin-top:0px;
    padding-bottom:0px;
}
.cmetersdrop{
    overflow:hidden;
}

.service.service__style--2:hover {
    color:#089383
}
.header-top-bar{
    border-bottom:none;
}
.doob-header.header-default{
    border-bottom:none;
}
@media screen and (max-width: 1440px) {
    h1 {
        font-size: 95px;
    }


}
@media screen and (min-width: 1367px) {
    .header-left .logo, .rainbow-footer-widget figure img{
        max-width: 345px;
    }

}
/*Responsive adjustments*/
@media screen and (min-width:1201px) and (max-width:1366px) {
    .banner{
        background-position:center right;
    }
    .container.header-wrapper, .header-top-bar .container{
        max-width: 1302px;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    /*.container.header-wrapper{*/
    /*    max-width: 1140px;*/
    /*}*/
    .residential-solutions-column{
        padding-right: 30px;
    }
}
@media screen and (min-width: 881px) and (max-width: 1024px) {
    /*.container.header-wrapper{*/
    /*    max-width: 960px;*/
    /*}*/
    .col-hidden-md{
        display: none;
    }
    .residential-solutions-column{
        padding-right: 10px;
    }
}
@media screen and (min-width: 768px) and (max-width: 880px) {
    /*.container.header-wrapper{*/
    /*    max-width: 720px;*/
    /*}*/
    .col-hidden-md, .col-hidden-sm{
        display: none;
    }
    .text-sm-center, .text-right.text-sm-center{
        text-align: center !important;
    }
    .card-content .default-content .title{
        font-size: 30px;
        line-height: 35px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
    /*.container.header-wrapper{*/
    /*    max-width: 540px;*/
    /*}*/
    .banner{
        min-height: 85vh;
    }
    .col-hidden-md, .col-hidden-sm{
        display: none;
    }
    .text-xs-center, .text-right.text-xs-center{
        text-align: center !important;
    }
    .card-content .default-content .title{
        font-size: 30px;
        line-height: 35px;
    }
    .header-top-bar .header-right .address-content p{
        font-size: 12px;
    }
    .header-top-bar .header-right .address-content p i{
        font-size: 12px;
    }
}
@media (max-width: 768px)
{
    .address-content p {
        margin-bottom: 10px; /* space between each row */
    }
    .elementor-344 .elementor-element.elementor-element-8b06d7d > .elementor-element-populated{
        margin-top: -350px !important;
    }
    .elementor-widget-wrap.elementor-element-populated{
        text-align: center;
    }
    .service.service__style--1.text-left .icon, .service.service__style--1.text-start .icon{
        justify-content: center;
    }
    /* When they stack, the .contact-green-side is on top */
    .contact-green-side {
        border-radius: 25px 25px 0 0;

        /* Make sure no bottom margin/padding if you want them flush. */
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .py-50.py-mobile-none{
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }
    .py-50.contact-green-side, .py-50.contact-white-side{
        padding-top: 0;
        padding-bottom: 0;
    }

    /* The .contact-white-side is on the bottom */
    .contact-white-side {
        border-radius: 0 0 25px 25px;
        /* No top margin/padding so it touches the green panel. */
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    #discover-last{
        padding-top: 0 !important;
    }
    .discover-content-column .elementor-icon-wrapper {
        text-align: center !important;
    }
}
@media screen and (max-width: 575px) and (min-width: 450px){

    .header-top-bar .header-right .address-content p{
        font-size: 9px;
    }
    .header-top-bar .header-right .address-content p i{
        font-size: 8px;
    }
    .address-content{
        flex-direction: row;
    }
}
@media screen and (max-width: 575px){
    #header-wrapper{
        background-color: #000;
        padding-bottom: 5px;
        padding-top: 10px;
    }
    .banner{
        min-height: 75vh;
    }
    .text-xs-center, .text-right.text-xs-center{
        text-align: center !important;
    }
    .col-xs-12{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .align-xs-center, .header-right.align-xs-center{
        align-items: center;
        justify-content: center;
    }
    /* Force hamburger to appear before the button */
    .humberger-menu {
        order: 1;
        margin-right: 20px;
    }

    /* Button will appear after hamburger */
    .header-btn {
        order: 2;
    }
    .card-content .default-content .title{
        font-size: 30px;
        line-height: 35px;
    }
}
@media screen and (max-width: 449px) {
    .header-top-bar .header-right .address-content p{
        font-size: 7px;
    }
    .header-top-bar .header-right .address-content p i{
        font-size: 8px;
    }
    .address-content{
        flex-direction: row;
    }
}
