/*
Theme Name: Cube-Consulting Child
Description: Child theme for Cube-Consulting (Hello Elementor)
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: cube-consulting-child
*/

/* ==========================================================
   Cube Consulting - Dark Header Styling
   Append this to the bottom of your child theme's style.css
   ========================================================== */

#site-header {
    position: sticky;
    top: 0px;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.custom_navigation .header-inner {
    max-width: 1330px !important;
    margin: 0 auto;
	padding: 0px 20px;
}

.custom_navigation  {
    background-color: #000000;
    padding: 0px 0 !important;
}

.custom_navigation r .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Logo / site branding */
.custom_navigation .site-branding {
    display: flex;
    align-items: center;
}

.custom_navigation  .site-title a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 1px;
}

.custom_navigation  .site-description {
    color: #cccccc;
}

/* Navigation menu */
.custom_navigation .nav_with_contact {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.custom_navigation  .site-navigation ul {
	left:0px !important;	
    min-width: 270px !important;
}

.custom_navigation .site-navigation ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.82px;
    transition: color 0.25s ease;
    position: relative;
	line-height:19.5px
}
.site-navigation-dropdown ul.menu li.current-menu-item a{
	background:#000000 !important;
}

/* CTA Button - "Let's Talk" */
.cmo-dark-header .right-btn {
    display: flex;
    align-items: center;
}

.cmo-talk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0061A5;
    color: #ffffff;
    border: 1px solid #444444;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.cmo-talk-btn:hover {
    background-color: #00D2FF;
    color: #ffffff;
}

.cmo-talk-btn svg {
    flex-shrink: 0;
}

/* Mobile menu toggle icon (hamburger) - make visible on dark bg */
.cmo-dark-header .site-navigation-toggle-icon,
.cmo-dark-header .site-navigation-toggle-icon::before,
.cmo-dark-header .site-navigation-toggle-icon::after {
   color: #ffffff;
}

/* Mobile dropdown menu */
.cmo-dark-header .site-navigation-dropdown {
    background-color: #171717;
}

.cmo-dark-header .site-navigation-dropdown ul.menu li a {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.site-navigation ul.menu li.menu-item-has-children:after{
	display:none !important;
}

.custom_navigation .site-navigation ul.menu li ul li a{
    border-radius: 6px;
    padding: 15px 10px;
    border: none;
	display:inline-block;
}

.custom_navigation .site-navigation ul.menu li ul li:hover {
    background: #000000 !important;
    color: #fff !important;
}

.custom_navigation .site-navigation ul.menu li ul li:hover a {
    color: #fff !important;
}
.site-navigation ul.menu li.menu-item-has-children {
    padding-inline-end: 0px !important; 
}

.custom_navigation .site-navigation ul.menu li ul a{
    border-radius: 6px;
}

/* .custom_navigation .site-navigation ul.menu li ul li:last-child {
    border-radius: 0px 0px 6px 6px;
} */

.cmo-dark-header .site-navigation-dropdown .mobile-contact-btn a.contact-btn {
    display: inline-flex
;
    align-items: center;
    gap: 8px;
    background-color: #0061A5;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
	    width: 100%;
}

.sub_heading {
    position: relative;
}

.sub_heading:after {
    top: 50%;
    position: absolute;
    content: '';
    width: 32px;
    right: -50px;
    background: #0061A5;
    height: 2px;
    transform: translateY(-50%);
}

.sub_heading:before {
    top: 50%;
    position: absolute;
    content: '';
    width: 32px;
    left: -50px;
    background: #0061A5;
    height: 2px;
    transform: translateY(-50%);
}

.sub_heading_single_line {
    position: relative;
}

.sub_heading_single_line:before {
    top: 50%;
    position: absolute;
    content: '';
    width: 32px;
    left: 0px;
    background: #0061A5;
    height: 2px;
    transform: translateY(-50%);
}

.advantage_num h2 {
    position: relative;
}

.advantage_num h2:after {
    top: 50%;
    position: absolute;
    content: '';
    width: 36px;
    left: 50px;
    background: #0061A5;
    height: 2px;
    transform: translateY(-50%);
}


/* Banner Css */

.banner_slider span.eael-testimonial-quote {
    display: none;
}

.banner_slider .eael-testimonial-item-inner.clearfix {
    position: relative;
}
.banner_slider p.banner_para {
    max-width: 650px;
}
.banner_slider h1.banner_head {
    text-transform: uppercase;
	margin-top:20px;
    font-size: 48px;
}

.banner_slider .eael-testimonial-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1330px !important;
    transform: translate(-50%, -50%);
}

.banner_slider .default-style-testimonial-content {
    display: grid;
}
.banner_slider .eael-testimonial-text {
    order: 1;
}
p.banner_desc {
    max-width: 700px;
}
a.banner_btn {
    padding: 15px 28px !important;
    background: #00D2FF !important;
    color: #000 !important;
    margin-top: 10px !important; 
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: max-content !important;
    line-height: 1em !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: 0.3s all;
}

a.banner_btn:hover {
    background: #333;
    color: #ffff;
}

.banner_slider .swiper-container-wrap .swiper-button-prev {
    left: 90% !important;
}

.banner_slider .swiper-button-next, .swiper-button-prev{
    bottom: 60px !important;
	top:unset !important;
}
.banner_slider .swiper-button-next {
    right: 15px !important;
}
.banner_slider .eael-testimonial-image {
    padding: 0px 0px 0px 0px !important;
}

	.banner_slider .swiper-pagination-bullets{
		display: none !important;
	}

.our_service path {
    stroke-width: 1;
}


#our_service_home {
    scroll-margin-top: 100px;
}

/* ========------------ testimonial Section ========------------  */
.ctm_testimonial .swiper-slide {
    height: 100% !important;
    display: flex !important;
	min-height:100% !important;
}

/* =============------------- Contact Section =============------------- */
.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding-left: 50px;
}

/* Name Icon */
.name-field::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url("https://www.cubeconsulting.ae/wp-content/uploads/2026/09/SVG-User-Line-Icon.svg") center / contain no-repeat;
    z-index: 2;
}

/* Phone Icon */
.phone-field::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url("https://www.cubeconsulting.ae/wp-content/uploads/2026/09/SVG-Phone-Line-Icon.svg") center / contain no-repeat;
    z-index: 2;
}

/* Email Icon */
.email-field::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url("https://www.cubeconsulting.ae/wp-content/uploads/2026/09/SVG-Email-Envelope-Icon.svg") center / contain no-repeat;
    z-index: 2;
}

/* Message Icon */
.message-field::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: url("https://www.cubeconsulting.ae/wp-content/uploads/2026/09/Message-Notepad-Icon.svg") center / contain no-repeat;
    z-index: 2;
}


.custom_contact_form .form-field p {
    width: 100%;
}

.custom_contact_form .form-field.phone-field input {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #E2E8F0E5;
    padding: 15px 25px 15px 050px;
    border-radius: 12px 12px 12px 12px;
}

.custom_contact_form .wpcf7-textarea {
    padding: 15px 25px 25px 050px !important;
}

.explore_cube {
    overflow: hidden;
}

.explore_cube img {
    transition: transform 0.8s ease;
}

.explore_cube:hover img {
    transform: scale(1.08);
}

.cube-hero-slide {
    padding: 0px 20px;
}

.cmo-help-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}
.cmo-help-eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2f7cf6;
    display: inline-block;
}

/* =====------------ About Us Css =====------------  */
.our_mission .elementor-icon-box-title{
	margin-block-start: 0rem !important;
}

.Construction_Claims_section .elementor-icon-box-title{
	margin-block-start: 0rem !important;
}

/* Our Team Page Css */
.cmo-team-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,14,23,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cmo-team-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0px !important;
    right: 0px !important;
    height: 4px !important;
    background: #2f7cf6 !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.cmo-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(10,14,23,0.12);
}
.cmo-team-card:hover::before {
    transform: scaleX(1) !important;
}

.service_page_heading{
position:relative;	
}

.service_page_heading:after {
    top: 50%;
    position: absolute;
    content: '';
    width: 42px;
    left: 50px;
    background: #0061a582;
    height: 3px;
    transform: translateY(-50%);
}

/* =====------------ Footer Css =====------------  */
.custom_footer {
    width: 100% !important;
    max-width: 100% !important;
}

.custom_footer .footer-inner {
    max-width: 1330px !important;
    margin: 0 auto;
    padding: 50px 20px 0 20px;
}

.cmo-dark-footer {
    background-color: #000000;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.6fr 2fr;
    gap: 50px;
    padding-bottom: 40px;
}

/* ---- Column 1: Brand ---- */


.footer-brand .footer-logo img {
    max-height: 42px;
    width: auto;
}

.footer-brand .footer-logo-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.footer-accent-line {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #2f7cf6;
    margin: 16px 0 18px;
}

.footer-desc {
    color: #CBD5E1D9;
    font-size: 15px;
    line-height: 23.56px;
    margin: 0 0 20px;
    max-width: 320px;
}

.footer-col.footer-services {
    border-left: 1px solid #0E1F33;
    padding-left: 30px;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.footer-tagline span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-tagline i {
    display: block;
    height: 2px;
    width:55px;
    background-color: #2f7cf6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background-color: #002945;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color .25s ease;
}

.footer-social a:hover {
    background-color: #2f7cf6;
}

/* ---- Column headings (Quick Links / Our Services) ---- */

.footer-heading:after {
    position: absolute;
    content: '';
    width: 30px;
    height: 2px;
    background: #00A3FF;
    bottom: -20px;
}

.footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 22px;
    position: relative;
}



/* ---- Menu lists ---- */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c3c7d1;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #0E1D30;
    transition: color .2s ease;
    font-weight: 400;
    line-height: 22.5px;
}

.footer-menu li:last-child a {
    border-bottom: none;
}

.footer-menu li a::after {
    content: "\203A";
    /* › chevron */
    color: #64748B;
    font-size: 18px;
    margin-left: 10px;
}

.footer-menu li a:hover {
    color: #ffffff;
}

.footer-menu li a:hover::after {
    color: #2f7cf6;
}

/* Our Services - splits into 2 columns */
.footer-menu-columns {
    column-count: 2;
    column-gap: 40px;
}

.footer-menu-columns li {
    break-inside: avoid;
}

/* ---- Bottom bar ---- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0px 0px 0px;
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    color: #8b8f9b;
    font-size: 12.5px;
}

.footer-bottom a {
    color: #2f7cf6;
    text-decoration: none;
}


.copyright-footer a {
    color: #fff  !important;
}

.copyright-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content:center;
}
.copyright-footer,
.copyright-footer>a {
    color: #fff !important;
    margin: 0;
    color: #8b8f9b;
    font-size: 12.5px;
}
.copyright-footer .circle-anim {
    position:relative;
    margin-left: 7px;
    display:block;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.copyright-footer .circle-anim:before, .copyright-footer .circle-anim:after {
    z-index: 2;
    opacity: 1;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    background: rgb(255 255 255 / 0%)!important;
    content: "";
    position: absolute;
    border: 2px #fff solid;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right-color: transparent;
    -webkit-animation: circle-rotation1 3s infinite linear;
}
.copyright-footer .circle-anim:after {
    content: "";
    border: 2px solid #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-right-color: transparent;
    -webkit-animation: circle-rotation 2s infinite linear;
}
@-webkit-keyframes circle-rotation{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-webkit-keyframes circle-rotation1{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}

.copyright-footer img {
    max-height: 40px;
}

a.banner_btn br {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
	  .footer-top {
        grid-template-columns: 1fr 1fr;
    }
	.cmo-dark-header .right-btn{
		display:none;
	}
	.cmo-dark-header .site-navigation-dropdown ul.menu li a{
		color:#333;
	}

    /* Footer top layout */
    .site-footer .footer-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        width: 100%;
    }

    /* Brand column */
    .site-footer .footer-brand {
        width: 100%;
    }

    /* Quick Links */
    .site-footer .footer-quicklinks {
        width: 100%;
    }

    /* Our Services - Full Row */
    .site-footer .footer-services {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    /* Our Services heading */
    .site-footer .footer-services .footer-heading {
        margin-bottom: 12px;
    }

    /* Services - 2 Columns */
    .site-footer .footer-services .footer-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Each service */
    .site-footer .footer-services .footer-menu > li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Service link */
    .site-footer .footer-services .footer-menu > li > a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        box-sizing: border-box;
    }
	.footer-heading:after{
		bottom: -10px;
	}
	.banner_slider h1.banner_head {

    font-size: 28px;
}
}

/* =========---------- Media Query code =========----------  */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

/*     .footer-brand {
        grid-column: 1 / -1;
    } */
	    .cube-hero-slider {
        height: 600px;
    }

    .cube-hero-content {
        width: 100%;
    }

    .cube-hero-content h1 {
        font-size: 48px;
    }
	.footer-col.footer-services {
    border-left: none;
    padding-left: 0px;
}
	.custom_footer .footer-inner {
    max-width: 1330px !important;
    margin: 0 auto;
    padding: 50px 20px 0 20px;
}
		  .footer-top {
        grid-template-columns: 1fr 1fr;
		  width:100%;
    }
}


@media (max-width: 568px) {

    .cmo-dark-header .nav_with_contact,
    .cmo-dark-header .right-btn {
        display: none;
    }

    .cmo-dark-header .site-navigation-toggle-holder {
        display: block;
    }

    .cmo-dark-header .header-inner {
        padding: 0 20px;
		align-items:center;
    }
	  .footer-top {
        grid-template-columns: 1fr;
		  width:100%;
    }

    .footer-menu-columns {
        column-count: 1;
    }

    .cmo-dark-footer .footer-inner {
        padding: 0 24px;
    }
	    .cube-hero-slider {
        height: 450px;
	}
	.cube-hero-slide{
			padding:0px 20px
    }

    .cube-hero-content {
        width: 100%;
        justify-content: center;
    }

    .cube-hero-eyebrow {
        font-size: 7px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .cube-hero-eyebrow span {
        margin: 0 3px;
    }

    .cube-hero-content h1 {
        max-width: 100%;
        font-size: 34px;
        line-height: .98;
        letter-spacing: -1px;
        margin-bottom: 18px;
    }

    .cube-hero-content p {
        max-width: 95%;
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .cube-hero-btn {
        padding: 13px 17px;
        font-size: 8px;
    }

    .cube-hero-arrows {
        right: 18px;
        bottom: 18px;
    }

    .cube-arrow {
        width: 34px;
        height: 34px;
    }

    .cube-shape-4 {
        left: 45%;
        width: 100px;
        height: 130px;
    }
	.cmo-dark-header .site-navigation-dropdown ul.menu li a {
       color: #333;
}
	.banner_slider .swiper-button-next {
    display: none !important;
}
	.banner_slider .swiper-button-prev{
    display: none !important;
}
	.banner_slider .eael-testimonial-image img {
		height: 380px;
		object-fit:cover;
	}
	.banner_slider h1.banner_head {
		font-size:24px;
	}
	.banner_slider .swiper-pagination-bullets{
		position: absolute !important;
		display: block !important;
	}
	#site-header {
    top: 0px;
}
	.sub_heading:after{
		display:none;
	}
		.sub_heading:before{
		display:none;
	}
p.banner_head br {
    display: none;
}
	p.banner_para br {
    display: none;
}
	h1.banner_head br {
    display: none;
}
	.elementor-4121 .elementor-element.elementor-element-59e1f67 .eael-testimonial-content .eael-testimonial-text {
    font-size: 13px !important;
}
a.banner_btn {
    padding: 10px 10px !important;
	font-size:13px;
}
	.cube-service h5.elementor-heading-title br {
    display: none;
}
}