/* 
Theme Name:		Acuren Child Theme
Theme URI:		https://www.acuren.com/
Description:	Acuren Child Theme for Elementor Hello Theme
Author:			Acuren Team
Author URI:		https://www.acuren.com/
Template:		hello-elementor
Version:		1.0.0
Text Domain:	acuren-child-theme
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/** hide page titles elementor builder**/

.page-title {
    display: none !important;
}

html, body {
    overflow-x: hidden;

b, strong {
    font-weight: 700;
}

/* ----------------- CUSTOM WIDGETS ----------------- */

@media (min-width: 1270px) {
    .acuren-image-content-widget, .acuren-icon-box-widget, .acuren-vertical-tab-widget {
        padding: 4em 0;
    }

    .acuren-cta-widget {
        padding: 2em 0;
    }

    .cta-content-wrapper {
        padding: 2em 0;
    }
}
@media (min-width: 880px) and (max-width: 1270px) {  
    .acuren-image-content-widget, .acuren-icon-box-widget, .acuren-vertical-tab-widget, .acuren-accordion-widget, .acuren-tab-widget .content-container , .acuren-related-content-widget { 
        padding: 3em 40px !important; /* Add padding for screen widths between 880px and 1270px */
    }

      
    .acuren-cta-widget { 
        padding: 2em 40px !important; /* Add padding for screen widths between 880px and 1270px */
    }

    .hero-content {
        padding: 100px 40px !important;
    }
    .hero-content h1 {
        max-width: 60%;
    }
    .cta-content p {
        font-size: 1.4rem !important;
    }
}

@media (min-width: 880px) {
    .cta-content {
        margin-right: 2em;;
    }
}


@media (max-width: 880px) {
    .acuren-image-content-widget, .acuren-icon-box-widget, .acuren-vertical-tab-widget, .acuren-accordion-widget, .acuren-cta-widget { 
        padding: 40px 20px !important; 
    }

    .cta-content-wrapper {
        padding: 20px 20px !important;
    }

    .acuren-certifications-widget h2 {
        font-size: 1.5rem !important;
    }
    .cta-content p {
        font-size: 1.2rem !important;

    }
    .cta-content h2 {
        font-size: 2.5rem !important;

    }
    .acuren-form-area {
        max-width: 100vw !important;
        margin-top: 30px;
    }
    #form > div.acuren-form-area {
        width: 95vw !important;
    }
    .content-area {
        padding-left: 20px !important;
    }
    .acuren-image-content-widget {
        flex-direction: column; /* Stack vertically */
    }

    .image-area img {
        align-items: flex-start;
    }

    .content-area, .image-area {
        flex: 1 1 100%; /* Full width for both content and image */
    }
    .cta-content {
        width: 95%; 
    }
    .vertical-tab-content-inner {
        padding-left: 10px;
    }
}

/* Button Hover Effect */
.button:hover {
    background: linear-gradient(270deg, #001E3E 0%, #004E64 100%);
    color: white;
}


/**Buttons**/

.cta-btn {
    display: inline-flex;
    align-items: center;
    color: #17273F !important; /* Dark text color */
    font-weight: 600;
    background-color: #32BFE8; /* Turquoise background as default */
    padding: 15px 30px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background-position 0.4s ease, color 0.4s ease; /* Transition for sliding effect */
    background-image: linear-gradient(90deg, orange 50%, #32BFE8 50%); /* Split background with turquoise and orange */
    background-size: 200% 100%; /* Start with turquoise fully visible */
    background-position: right bottom; /* Show turquoise background initially */
}

.cta-btn .d {
    stroke: #000 !important;
}

.cta-btn span,
.cta-btn svg {
    z-index: 1; /* Ensure text and icon are above background */
    position: relative;
}

.cta-btn:hover {
    background-position: left bottom; /* Slide orange in from the left on hover */
    color: #17273F !important; /* Keep text color */
}

.cta-btn:hover svg {
    stroke: #002B5C !important; /* Ensure SVG color remains */
}

.cta-icon {
    width: 22px;
    height: 22px;
    stroke: #fff !important;
    color: #fff;
    fill: #fff;
    margin-left: 8px; /* Space between text and icon */
    vertical-align: middle;
    position: relative;    /* Allow fine-tuning the position */
    top: -0.1em;            /* Slight adjustment to bring it up */
}

/**Mega Menu**/
.acuren-header {
    width: 100%;
}

.top-bar {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.header-main {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.header-logo {
    flex: 0 0 auto;
    max-width: 140px;
}

.header-menu {
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding-left: 0;
    margin-left: 40px; /* Add margin to the left of the menu (right of the logo) */
    margin-right: 40px; /* Add margin to the right of the menu (left of the button) */
}

.menu-item {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    width: 100vw;
    background-color: white;
    padding: 20px 0;
    z-index: 999;
}

.header-cta {
    flex: 0 0 auto;
}

.cta-button {
    background-color: #002B5C;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

/* General Footer Styles */
.site-footer {
    background-color: #17273F; /* Dark Blue Background */
    color: #FFFFFF; /* White Text */
    padding: 40px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 calc(25% - 20px); /* 4 Columns */
    margin-bottom: 20px;
    min-width: 200px;
}

/* Footer Title Styles */
.footer-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #F4B740; /* Orange for Titles */
    border-bottom: 3px solid #F4B740; /* Consistent Orange Divider */
    padding-bottom: 5px;
    margin-bottom: 15px;
}

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

.footer-menu li {
    margin: 5px 0;
}

.footer-menu a {
    color: #FFFFFF; /* White Links */
    text-decoration: none;
}

.footer-menu a:hover {
    color: #F4B740; /* Orange on Hover */
    text-decoration: underline;
}

/* Social Icons Styles */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #FFFFFF; /* White Social Icons */
    font-size: 18px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #F4B740; /* Orange Hover */
}

/* Back to Top Button */
.back-to-top {
    margin-top: 20px;
    text-align: center;
}

.back-to-top a {
    color: #FFFFFF; /* White Back-to-Top Text */
    font-size: 14px;
    text-decoration: none;
}

.back-to-top a:hover {
    color: #F4B740; /* Orange Hover */
    text-decoration: underline;
}

/* Office Info Styles */
.footer-col p {
    margin: 10px 0;
    line-height: 1.6;
}

ul.sub-menu {
    display: none !important;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
    }

    .footer-col {
        flex: 1 1 100%; /* Make each column full-width */
        margin-bottom: 20px;
    }
}

/** Hero Section Widget **/

.hero-section {
    position: relative;
    width: 100vw; /* Full width of the viewport */
    left: 50%; /* To ensure no unwanted padding/margins */
    right: 50%;
    margin-left: -50vw; /* Override any margin and padding */
    margin-right: -50vw;
    background: linear-gradient(to right, #002B5C 0%, #002B5C 50%, rgba(0, 16, 34, 0) 100%);
    color: white;
    overflow: hidden !important;
    align-items: center;
    justify-content: center;
}

.hero-background {
    width: 50%; /* Takes half the width */
    height: 100%; /* Full height of the section */
    background-size: cover; /* Ensures the image covers the designated area */
    background-position: right center; /* Align the image to the right side */
    background-repeat: no-repeat; /* Prevent background repetition */
    position: absolute; /* Position the background image */
    top: 0;
    right: 0; /* Align to the right */
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the section */
    height: 100%; /* Full height */
    background: linear-gradient(to right, #002B5C 0%, rgba(18, 40, 64, 1) 40%, rgba(0, 43, 92, 0) 80%);
    z-index: -1;
}


.hero-content {
    position: relative;
    max-width: 1250px; /* Max width for the text */
    z-index: 2;
    margin: 0 auto; /* Center the text */
    padding: 100px 20px; /* Padding for smaller screens */
}

.hero-content h1 {
    margin-bottom: 20px;
    color: #fff !important;
    max-width: 50%;
}

.hero-content p {
    font-size: 1.5rem !important;
    margin-bottom: 30px;
    max-width: 50%;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #32BFE8;
    color: #000;
    border-radius: 0px;
}

.hero-button:hover {
    background-color: #e67e22;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('https://acurendev.wpenginepowered.com/wp-content/uploads/2024/10/hero-bg-pattern.svg') no-repeat;
    background-size: cover; /* Ensure the background pattern covers the full height */
    opacity: 0.8; /* Adjust opacity for a subtle effect */
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    /* Hero Section */
    .hero-section {
      border-bottom: solid #F78F1E 2px;
      /* Adjust background image and gradient for mobile */
      background-image: url('https://acurendev.wpenginepowered.com/wp-content/uploads/2024/10/hero-bg-pattern.svg'), url('<?php echo esc_url( $settings['hero_background_image']['url'] ); ?>');
      background-position: center bottom;
      background-size: cover;
      background-repeat: no-repeat;
      background-attachment: fixed; /* Keep background fixed on scroll */
    }
  
    .hero-overlay {
      background: linear-gradient(to bottom, #002B5C 0%, rgba(18, 40, 64, 1) 100%);
    }
  
    .hero-section::before {
      display: none; /* Hide pattern on mobile */
    }
  
    /* Hero Content */
    .hero-content {
      padding: 30px; /* Adjust padding for mobile */
      max-width: 100%; /* Make content full width */
    }
  
    .hero-content h1,
    .hero-content p {
      text-align: left; /* Center text on mobile */
    }
  
    .hero-content p {
      max-width: 100%; /* Make paragraph full width */
    }
  }

/* Base Styles for Acuren Tab Widget */
.acuren-tab-widget {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
}

.acuren-tab-widget .content-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.acuren-tab-widget.dark-mode {
    background-image: url('https://acurendev.wpenginepowered.com/wp-content/uploads/2024/10/Water-9.jpg');
}

.acuren-tab-widget.dark-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 43, 92, 0.9); /* Dark overlay */
    z-index: 1;
}

.widget-header {
    text-align: center;
    margin-bottom: 20px;
}

.acuren-tab-widget .tab-right-image img {
    width: 100%; /* Ensure the image fills the column width */
    height: auto;
    box-shadow: 10px 10px 0px #122840 !important; /* Add box shadow with higher specificity */
}

/* Tab Titles (Desktop) */
.tab-titles {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

.tab-title {
    font-weight: 600;
    margin-right: 15px;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.tab-title.active {
    border-bottom: 2px solid #32BFE8;
    color: #0076B3;
}

/* Tab Content Wrapper */
.tab-content-wrapper {
    margin-top: 20px;
}

.tab-content {
    display: none; /* Hide all content by default */
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: center; /* Align items to the center */
    justify-content: space-between; /* Ensure text is left and image is right */
    gap: 20px; /* Add spacing between text and image */
}

.tab-content.active {
    display: flex; /* Show active content */
}

/* Left Column (Text Content) */
.tab-left-content {
    flex: 1; /* Take up remaining space */
    max-width: 50%; /* Ensure it occupies 50% of available space */
    padding-right: 20px; /* Add spacing between text and image */
    box-sizing: border-box; /* Include padding in width calculations */
    order: 1; /* Ensure text is on the left */
}

/* Right Column (Image Content) */
.tab-right-image {
    flex: 0 0 50%; /* Force the image to occupy 50% width */
    max-width: 50%; /* Prevent overflow */
    text-align: center;
    box-sizing: border-box; /* Include padding in width calculations */
    order: 2; /* Ensure the image is on the right */
}

.tab-right-image img {
    max-width: 100%; /* Ensure the image fills the column width */
    max-height: 500px;
    object-fit: cover;
    box-shadow: 10px 10px 0px #122840; /* Add box shadow for the image */
}

/* Mobile Accordion (Smaller Screens) */
@media (max-width: 880px) {
    .tab-titles {
        display: none; /* Hide desktop tabs */
    }

    .accordion-toggle {
        display: block;
        width: 100%;
        font-weight: 600;
        font-size: 16px;
        padding: 15px;
        background: #fff;
        border: 1px solid #ddd;
        cursor: pointer;
        margin-bottom: 0;
        position: relative;
    }

    .accordion-toggle.active {
        background: #fff;
        border-bottom: 2px solid #32BFE8;
    }

    .accordion-toggle:after {
        content: '\25BC'; /* Down arrow */
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s;
    }

    .accordion-toggle.active:after {
        transform: translateY(-50%) rotate(180deg); /* Rotate arrow */
    }

    .tab-content-wrapper {
        margin: 0;
        padding: 0;
    }

    .tab-content {
        display: none; /* Hide all accordion content by default */
        flex-direction: column; /* Stack content vertically */
        padding: 15px;
        border: 1px solid #ddd;
    }

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

    .tab-content-inner {
        flex-direction: column; /* Stack content */
    }

    .tab-left-content,
    .tab-right-image {
        flex: 1 1 100%; /* Full width on mobile */
        max-width: 100%; /* Prevent overflow */
        padding: 0; /* Remove extra padding */
        margin-bottom: 20px; /* Add spacing between stacked content */
    }

    .tab-right-image img {
        width: 100%; /* Ensure image fills the container */
        height: auto;
    }
}

/* Button Styles */
.tab-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #002B5C;
    color: #fff !important; /* White text for buttons */
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
}

.tab-button:hover {
    background-color: #0076B3;
}

/* Hide Accordion on Desktop */
@media (min-width: 768px) {
    .accordion-toggle {
        display: none; /* Hide accordion titles on desktop */
    }
}

/* Dark Mode Styles */

.acuren-tab-widget.dark-mode .tab-title,
.acuren-tab-widget.dark-mode h2,
.acuren-tab-widget.dark-mode p,
.acuren-tab-widget.dark-mode h3, .acuren-tab-widget.dark-mode li {
    color: white;
}

.acuren-tab-widget.dark-mode .tab-button {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
}

.acuren-tab-widget.dark-mode .tab-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.acuren-tab-widget.dark-mode .tab-right-image img {
    box-shadow: 10px 10px 0px white;
}

.acuren-tab-widget.dark-mode .tab-content.active {
    background-color: none;
}

/* Desktop Two-Column */
.tab-content-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.tab-left-content {
    flex: 1 1 50%;
}

.tab-right-image {
    flex: 1 1 50%;
    text-align: center;
}

/* Mobile Stacked */

@media (max-width: 767px) {
    .tab-content-inner {
        flex-direction: column;
    }

    .tab-left-content, .tab-right-image {
        flex: 1 1 100%;
    }
}

/*Certifications*/

@media (max-width: 880px) {
    .acuren-certifications-widget .carousel-arrows {
        gap: 20px; /* Reduce gap between arrows */
    }

    .acuren-certifications-widget .arrow-left, 
    .acuren-certifications-widget .arrow-right {
        font-size: 20px; /* Smaller arrows */
        padding: 5px; /* Optional: reduce padding for more compact design */
    }

    .acuren-certifications-widget {
        flex-direction: column; /* Stack sections vertically */
        gap: 0; /* Add spacing between stacked sections */
    }

    .acuren-certifications-widget .certifications-header,
    .acuren-certifications-widget .certifications-carousel {
        width: 100% !important; /* Full width for each section */
        padding: 5px !important; /* Remove side padding for cleaner look */
    }

    .acuren-certifications-widget {
        border-top: solid #F78F1E 2px !important;
        clip-path: none !important;
    }

}

/** Vertical Tab Widget **/

.vertical-tab-content p {
    color: #fff;
}

.vertical-tab-content li {
    color: white;
}

.vertical-tab-titles {
    overflow-y: scroll !important; /* Ensures scrollbar is always visible */
}

.elementor-widget-acuren_vertical_tab_widget .tab-left-content > ul {
    color: white !important;
}

.vertical-tab-titles:hover::-webkit-scrollbar-thumb {
    background-color: #32BFE8; /* Keeps thumb visible on hover */
}

/* For Webkit-based browsers (like Chrome and Safari) */
.vertical-tab-titles::-webkit-scrollbar {
    width: 4px !important; /* Forcefully reduce scrollbar width */
}

.vertical-tab-titles::-webkit-scrollbar-track {
    background-color: rgb(255 255 255 / 25%) !important; /* Dark background for the scrollbar track */
    width: 4px !important;
    border-radius: 0;
    border: none !important; /* Ensure no borders */
}

.vertical-tab-titles::-webkit-scrollbar-thumb {
    background-color: #32BFE8 !important; /* Set turquoise color for thumb */
    width: 4px !important;
    border-radius: 0 !important; /* Remove rounding */
    border: none !important; /* Ensure no borders */
}

.vertical-tab-titles:hover::-webkit-scrollbar-thumb {
    background-color: #1EA0C6; /* Slightly darker turquoise on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* For Firefox */
.vertical-tab-titles {
    scrollbar-width: thin; /* Force thin scrollbar */
    scrollbar-color: #32BFE8 rgb(255 255 255 / 25%) !important; /* Thumb (turquoise) and track (dark) color */
}

/* To remove any shadow that could interfere */
.vertical-tab-titles {
    box-shadow: none !important;
    border: none !important;
}

/* Default Layout */
.acuren-vertical-tab-widget {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.vertical-tab-left,
.vertical-tab-right {
    flex: 1;
}

.vertical-tab-titles {
    flex: 0 0 40%;
    overflow-y: auto;
}

.vertical-tab-content-wrapper {
    flex: 1;
    padding-left: 20px;
}

/* Responsive Layout: Tabs Above Content on Mobile */
@media (max-width: 880px) {
    .acuren-vertical-tab-widget .widget-inner, .vertical-tab-right {
        flex-direction: column; /* Stack sections vertically */
    }

    .vertical-tab-left {
        width: 90vw !important;
    }

    .vertical-tab-right {
        width: 100%;
    }

    .vertical-tab-left {
        padding: 0;
    }

    .vertical-tab-titles {
        display: flex; /* Use flexbox for horizontal layout */
        flex-wrap: nowrap; /* Prevent wrapping of tabs */
        overflow-x: scroll; /* Enable horizontal scrolling */
        overflow-y: hidden; /* Disable vertical scrolling */
        height: 50px !important;
        max-height: 80px !important;
        width: 100%; /* Full-width container */
        padding: 10px 0; /* Padding around tabs */
        gap: 10px; /* Space between tabs */
        border-bottom: 2px solid rgba(255, 255, 255, 0.2); /* Divider under tabs */
        margin-bottom: 20px; /* Space between tabs and content */
        scrollbar-width: thin; /* Firefox: make scrollbar thin */
        scrollbar-color: #32BFE8 transparent; /* Scrollbar thumb color */
    }

    .vertical-tab-titles::-webkit-scrollbar {
        height: 4px; /* Height of scrollbar */
    }

    .vertical-tab-titles::-webkit-scrollbar-thumb {
        background-color: #32BFE8; /* Color of the scrollbar thumb */
        border-radius: 3px; /* Rounded corners */
    }

    .vertical-tab-titles::-webkit-scrollbar-track {
        background: transparent; /* Transparent scrollbar track */
    }

    /* Apply Flexbox to UL to make list items horizontal */
    .vertical-tab-titles ul {
        display: flex; /* This ensures the list is displayed horizontally */
        padding: 0;
        margin: 0;
        list-style: none; /* Remove default list styling */
    }

    /* Ensure each tab title (LI) is displayed horizontally */
    .vertical-tab-titles li {
        display: inline-flex; /* Make each list item a flex item */
        white-space: nowrap; /* Prevent text wrapping */
        padding: 10px 15px !important; /* Adjust padding for tabs */
        text-align: center;
        font-size: 0.9rem; /* Adjust font size */
        cursor: pointer; /* Show pointer cursor for clickability */
    }

    /* Active tab styles */
    .vertical-tab-titles li.active {
        border-bottom: solid #32BFE8 2px; /* Highlight active tab */
    }

    .vertical-tab-content-wrapper {
        padding: 0 !important;
        width: 90vw !important;
        box-sizing: border-box; /* Include padding in the width calculation */
        overflow: hidden; /* Prevent any overflow */
    }

    /* Prevent overflow in the content inner container */
    .vertical-tab-content-inner {
        flex-direction: column; /* Stack sections vertically */
        max-width: 100%; /* Ensure it doesn't exceed the width of its parent */
        width: 100%; /* Ensure it takes full width */
        min-height: 450px !important;
        overflow: hidden; /* Prevent overflow of content */
        box-sizing: border-box; /* Include padding in width/height */
        padding-left: 0 !important;
    }
}

/*Create Simple Vertical Tab Widget*/

/* Ensure styles apply only to widgets with the custom class */
.elementor-widget-acuren_vertical_tab_widget.simple-vertical-tabs .acuren-vertical-tab-widget .vertical-tab-content-wrapper {
    display: none !important;
}

.elementor-widget-acuren_vertical_tab_widget.simple-vertical-tabs .acuren-vertical-tab-widget .vertical-tab-titles {
    flex: 100% !important;
}

.elementor-widget-acuren_vertical_tab_widget.simple-vertical-tabs .acuren-vertical-tab-widget .vertical-tab-title {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Numbers Widget */

.acuren-numbers-widget {
    text-align: left;
    padding: 40px;
    background-color: #1c2a3e; /* Dark background */
}

.acuren-numbers-widget h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
}

.acuren-numbers-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acuren-number-item {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
}

.acuren-number-item .acuren-counter {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
}

.acuren-number-item p {
    margin-top: 5px;
    font-size: 16px;
    color: #ffffff;
}

/* Accordion Widget */
.acuren-accordion-widget {
    padding: 100px 0;
    border-radius: 5px;
    max-width: 1250px;
    margin: 0 auto;
    background-color: var(--bg-color, #ffffff);
}

.acuren-accordion-header {
    text-align: center;
    margin-bottom: 20px;
}

.acuren-accordion-header h2 {
    margin: 0;
    padding-bottom: 20px;
}

.acuren-accordion-header p {
    padding-bottom: 20px;
}

.acuren-accordion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start; /* Ensures both columns align at the top */
}

.acuren-accordion-item {
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.acuren-accordion-title {
    width: 100%;
    background-color: #f9f9f9;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    white-space: pre-wrap; /* Allow text to wrap */
    border: none;
    color: #17273F;
    position: relative;
    transition: color 0.3s ease;
}

.acuren-accordion-item.active .acuren-accordion-title {
    color: #17273F;
    background-color: #32BFE8 !important; /* Keep background on active accordion tab */
}

.acuren-accordion-title:hover {
    color: #17273F !important;
    background-color: #32BFE8 !important;
}

.acuren-accordion-title::after {
    content: '▾';
    font-size: 14px;
    position: absolute;
    right: 15px;
    color: #17273F;
    transition: transform 0.3s ease;
}

.acuren-accordion-item.active .acuren-accordion-title::after {
    transform: rotate(180deg);
}

.acuren-accordion-content {
    display: none;
    padding: 15px;
    max-height: 0; /* Hide initially with no height */
    overflow: hidden;
    transition: max-height 0.3s ease; /* Smooth expansion */
}

.acuren-accordion-item.active .acuren-accordion-content {
    display: block;
    max-height: 500px; /* Limit expansion height */
}

.acuren-accordion-content p {
    margin: 0 0 10px;
}

.acuren-learn-more {
    color: #002B5C !important;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.acuren-learn-more:hover {
    text-decoration: underline;
}

.acuren-learn-more::after {
    content: ' →';
    font-size: 16px;
    margin-left: 5px;
    color: #002B5C;
    transition: margin-left 0.3s ease;
}

.acuren-learn-more:hover::after {
    margin-left: 8px;
}

.acuren-accordion-content ul {
    margin: 10px 0;
    padding-left: 20px; /* Indent for bullet points */
    list-style-type: disc; /* Standard bullet style */
}

.acuren-accordion-content ul li {
    margin-bottom: 8px; /* Space between bullet points */
    color: #17273F; /* Color for bullet text */
}


/* Responsive styling for mobile */
@media (max-width: 768px) {
    .acuren-accordion-container {
        grid-template-columns: 1fr;
    }
}

/* CTA Widget */

/* Responsive Styles for Smaller Screens */
@media (max-width: 880px) {
    .cta-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-content {
        max-width: 100% !important;
    }

    .cta-button {
        margin-top: 20px;
        width: auto;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content h3 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .cta-content p {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

@media (max-width: 600px) {
    .cta-content-wrapper {
        padding: 15px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        margin-top: 15px;
        width: auto;
    }
}

/* Related Content Widget */

.acuren-related-content-widget p {
    font-size: 1rem;
    line-height: 1.4em;
}

/* Responsive Styling for Stacking */
@media (max-width: 880px) {
    .acuren-related-content-widget {
        flex-direction: column; /* Stack sections vertically */
        gap: 0; /* Add spacing between stacked sections */
    }

    .acuren-related-content-widget .left-section,
    .acuren-related-content-widget .right-section {
        width: 100% !important; /* Full width for each section */
        padding: 20px; /* Remove side padding for cleaner look */
    }

    .acuren-related-content-widget .vertical-divider {
        display: none; /* Hide divider on smaller screens */
    }
}

/* mobile responsiveness on custom field posts*/

@media screen and (min-width: 1100px){   
    .hide-desktop{      
       display:none;
    } 
}

@media screen and (max-width: 1100px){   
    .hide-mobile{      
      display:none;
    } 
}

@media screen and (max-width: 1100px) {
    .tab-tablet{      
        content:url("https://www.acuren.com/wp-content/uploads/2019/01/Acuren-Integrated-Solutions-callout-tag-1.png");
      float: right; 
      width: 75%;
    } 
}

@media screen and (max-width: 767px){   
    .mobile-bar{      
        content:url("https://www.acuren.com/wp-content/uploads/2019/01/Acuren-mobile-bar.png");
      width: 100%;
      display: block;
      margin-left: auto; 
      margin-right: auto;
    } 
}

@media screen and (max-width: 767px){   
    .mobile-spotlight-logo{      
        content:url("https://www.acuren.com/wp-content/uploads/2018/11/Project-Spotlight-logo.png");
      width: 250px;
      display: block;
      margin-left: auto; 
      margin-right: auto;
    } 
}

.icon-box-button {
    font-size: 1rem;
    font-weight: 600;
}

/*Footer styles*/

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Adjust as needed */
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start; /* Left-align content */
    }

    .footer-col {
        flex: 1 1 100%; /* Make each column take full width */
        min-width: auto; /* Remove minimum width constraint */
        margin-bottom: 20px; /* Adjust spacing */
        text-align: left; /* Ensure left alignment */
    }

    .social-icons {
        justify-content: flex-start; /* Left-align social icons */
    }
}




