/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


.footer-nav {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  font-size: 1rem;
}
@media (max-width: 549px) {
  .footer-nav {
    font-size: 0.95rem;
    gap: 15px;
    justify-content: center;
  }
}

.col-rad-30 .col-inner {
	
	border-radius: 30px;
}

/* Base state */
.col-rad-30 > .col-inner {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover state */
.col-rad-30:hover > .col-inner {
  box-shadow: 0px 4px 8px 8px rgba(59, 30, 30, 0.15);
  transform: translateY(-4px); /* light push up */
}

/* New Gallery - Column Masonry */
.new_gallery {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 60px 0 0;
}
.new_gallery .gallery-track {
    display: flex;
    gap: 5px;
    will-change: transform;
}
.new_gallery .gallery-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    width: clamp(230px, 20vw, 380px);
    height: clamp(500px, 55vw, 980px);
}
.new_gallery .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
/* Rectangle: slightly taller */
.new_gallery .gallery-item.size-rectangle {
    flex: 1.4;
}
/* Tall square: slightly shorter */
.new_gallery .gallery-item.size-tall-square {
    flex: 1.6;
}
.new_gallery .gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}
.new_gallery .gallery-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(280px, 35vw, 616px);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.42) 40%,
        rgba(0, 0, 0, 0.76) 70%,
        rgba(0, 0, 0, 0.8) 100%
    );
    pointer-events: none;
    z-index: 10;
}

/* Tablet */
@media (max-width: 1024px) {
    .new_gallery .gallery-column {
        gap: 12px;
    }
    .new_gallery .gallery-track {
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .new_gallery {
        padding: 40px 0 0;
    }
    .new_gallery .gallery-track {
        gap: 10px;
    }
    .new_gallery .gallery-column {
        gap: 10px;
    }
    .new_gallery .gallery-item {
        border-radius: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .new_gallery .gallery-column {
        gap: 8px;
    }
    .new_gallery .gallery-track {
        gap: 8px;
    }
    .new_gallery .gallery-item {
        border-radius: 6px;
    }
}


.service-pill {
  display: inline-block;
  padding: 12px 20px;
  background-color: #1D1E1E;
  color: #ffffff;
  font-family: 'avenir-next-lt-demi';
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: 1px solid #fff3;
  white-space: nowrap;
  margin-bottom: 30px;
}

/* Tablet */
@media (max-width: 768px) {
  .service-pill {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .service-pill {
    padding: 8px 18px;
    font-size: 12px;
    letter-spacing: 0.3px;
  }
}

.img-rd *{
	
	border-radius: 10px;
	box-shadow: 0px 16px 28px 1px rgba(0, 0, 0, 0.1);
}


.grecaptcha-badge {
opacity: 0;
}
/* WPML Language Switcher Redesign - Standard Dropdown Version */

/* Main container styling */
.wpml-ls-legacy-dropdown {
  width: auto;
  max-width: 100%;
}
.typing-text {
  display: inline-block;
  position: relative;
  font-weight: bold;
  color: white; /* To match your site's text color */
  vertical-align: bottom; /* Better alignment with other text */
  min-width: 1ch; /* Prevents collapse when empty */
  min-height: 1em; /* Maintains height */
  line-height: 1; /* Consistent line height */
}
.typing-text::after {
  content: '|';
  position: absolute;
  right: -4px;
  top: 0; /* Ensure cursor is at top of line */
  animation: blink 0.7s infinite;
  color: white; /* Cursor color */
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hide the break by default */
.mobile-break {
  display: none;
}

/* Show break only on mobile devices */
@media (max-width: 549px) {
  .mobile-break {
    display: block;
  }
}

.ic-padding img{
	
	margin-left: 15px
}

/* Base styling for all states */
.wpml-ls-legacy-dropdown a {
  border: none !important;
  background: transparent !important;
  color: #FFF !important;
  text-decoration: none !important;
}

/* Top level link styling */
.wpml-ls-legacy-dropdown .wpml-ls-current-language > a {
  display: flex !important;
  align-items: center !important;
  padding: 5px 15px !important; /* Increased padding for more space */
  font-size: 14px !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
}

/* Ensure text is properly ordered in the flex container */
.wpml-ls-legacy-dropdown .wpml-ls-native {
  order: 1 !important;
}

/* Additional overrides to ensure custom arrow displays */
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
  padding-right: 15px !important; /* Consistent padding */
}

/* Extra specificity to override default WPML arrow */
body .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
  background-image: url('http://luxymedia.com/wp-content/uploads/2025/03/wpml_arrow.svg') !important;
  border-style: none !important;
  border-width: 0 !important;
  right: auto !important;
  top: auto !important;
}

/* Completely remove the default arrow */
.wpml-ls-legacy-dropdown .wpml-ls-item-toggle:after {
  content: none !important;
  display: none !important;
}

/* Add custom arrow */
.wpml-ls-legacy-dropdown .wpml-ls-item-toggle {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

/* Using a custom image for the arrow */
.wpml-ls-legacy-dropdown .wpml-ls-item-toggle:after {
  content: '' !important;
  display: inline-block !important;
  width: 12px !important;
  height: 8px !important;
  background-image: url('http://luxymedia.com/wp-content/uploads/2025/03/wpml_arrow.svg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin-left: 12px !important;
  position: static !important;
  order: 2 !important;
  border: none !important; /* Ensure no default border styling */
}

/* Remove arrow transformation - removed this section entirely */

/* Dropdown menu items - align with top item */
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-width: 100% !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  left: 0 !important; /* Ensure left alignment */
  right: auto !important;
  margin-left: 6px !important; /* Add left margin to align FR under EN */
}
/* Show dropdown on hover */
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover .wpml-ls-sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Dropdown menu items */
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
  padding: 5px 10px !important;
  font-size: 14px !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
}

/* Custom container around both button and dropdown */
.wpml-ls-statics-shortcode_actions {
  position: relative !important;
}

/* Force all items to have transparent background */
.wpml-ls-legacy-dropdown .wpml-ls-current-language,
.wpml-ls-legacy-dropdown .wpml-ls-current-language a,
.wpml-ls-legacy-dropdown .wpml-ls-current-language a:hover,
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu,
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a,
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
  background-color: transparent !important;
}

/* Ensure proper alignment in the header */
.html.custom.html_topbar_left .wpml-ls-legacy-dropdown {
  margin: 0 !important;
}

/* Override any theme-specific styling */
.wpml-ls-legacy-dropdown * {
  box-shadow: none !important;
}

.nav>li>a, .nav>li>a:hover,
.nav>li.active>a {
	
	color: #ffffff;
}

.nav-spacing-xlarge>li {
	
	margin: 0 20px;
	
}

.img-rd-10 img {
	
	border-radius: 10px;
}

.img-rd-20 img {
	
	border-radius: 20px;
}

.gm-column {
    background-image: url('https://luxymedia.com/wp-content/uploads/2025/03/col-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	border-radius: 20px;
}

.soft-shadow >* {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px;
}



.call-button {
  background-color: #D93228;
  color: white;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 0 30px rgba(217, 50, 40, 0.7);
  font-family: 'avenir-next-lt-demi';
}
.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25), 0 0 40px rgba(217, 50, 40, 0.8);
}
.call-button-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 8px;
  font-family: 'avenir-next-lt-demi';
}
.call-button-outline:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}
@media (max-width: 549px) {
  .call-button,
  .call-button-outline {
    font-size: 0.85rem;
    padding: 10px 25px;
  }
}

.stick-col >* {
    background-image: url('https://luxymedia.com/wp-content/uploads/2025/03/sticky-col-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	border-radius: 20px;
}

.col-web >* {
	
	    background-image: url('https://luxymedia.com/wp-content/uploads/2025/03/web-new.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	border-radius: 10px;
	
}


/* Option 3: More specific targeting using bottom property */
.header-nav.nav-line-bottom > li > a:before,
.header-nav.nav-line-bottom > li > a:after {
  bottom: -23px; /* Adjust this negative value to increase spacing */
}

.header-wrapper.stuck .header-nav.nav-line-bottom > li > a:before,
.header-nav.nav-line-bottom > li > a:after {
  bottom: -15px; /* Adjust this negative value to increase spacing */
}



.html.custom.html_topbar_left .wpml-ls-native {
    font-size: 16px; /* Increase the font size to your desired value */}

.html.header-button-1 .header-button .button.secondary {
	
	font-weight: 600 !important;
}



.entry-content ul {
    margin: 0; /* Remove all margins */
    padding: 0; /* Optionally remove padding */
    list-style-position: inside; /* Ensure list items align properly */
}
.article-inner .entry-content ul ul {
    margin: 0;
	  padding-top: 10px;
    padding-left: 20px; /* Add padding for nested lists */
}


.entry-title {
    font-size: 40px; /* Adjust the size to your preference */
    font-weight: bold; /* Optional: Set font weight */
    line-height: 1.2; /* Adjust line height for better spacing */
    color: #212121; /* Optional: Change the color */
    font-family: 'avenir-next-lt-pro', sans-serif; /* Optional: Apply a specific font family */
}



.service-buttons {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: center;
	  margin:14px 0px;
}
.service-buttons .service-item {
    padding: 10px 30px;
    border: 1px solid #ffffff; 
    background-color: #252324; ;
    color: #ffffff; 
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    border-radius: 12px; 
	  margin-right:10px;
    flex: 0 0 auto; 
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
    .service-buttons {
        flex-wrap: wrap; /* Allow buttons to wrap */
        justify-content: space-between; /* Distribute buttons evenly */
        gap: 10px; /* Add spacing between buttons */
    }

    .service-buttons .service-item {
        display: flex;
        justify-content: center;
        align-items: center; /* Center text vertically */
        width: calc(50% - 10px); /* Two buttons per row with spacing */
        height: 60px; /* Adjust height for compact look */
        padding: 5px; /* Slightly reduce padding */
        font-size: 13px; /* Smaller font for mobile */
        border-radius: 8px; /* Reduce radius for a clean look */
        line-height: 1.2; /* Tighten line spacing */
        margin: 0; /* Avoid extra margins causing overflow */
        text-align: center; /* Center-align text inside buttons */
    }
}




/* Homepage Masonry Gallery */
.homepage-masonry-container {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1300px; /* Adjusted for three columns */
    margin: 0 auto;
}

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove gap to prevent spacing between borders */
    border-top: 2px solid #d3d3d3; /* Add top border */
    border-bottom: 2px solid #d3d3d3; /* Add bottom border */
}

/* Base desktop styles remain unchanged */
.service-column {
    display: flex;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid #d3d3d3; /* Add bottom border for each row */
    transition: background-color 0.3s;
    cursor: pointer;
}

.service-column:last-child {
    border-bottom: none; /* Remove bottom border for the last item */
}

.service-column:hover {
    background-color: #fdf9f9; /* Light pink hover effect */
}

.service-icon {
    flex-shrink: 0;
    width: 60px; /* Set a fixed width for icons */
    margin-right: 30px;
}

.service-title {
    font-family: 'avenir-next-lt-pro';
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.service-description {
    flex-grow: 1;
    margin: 5px 0 0 0; /* Reduce top margin to bring it closer to the title */
    font-family: 'Noto Sans', sans-serif; /* Noto Sans font family */
    font-weight: 500;
    padding: 0 20px;
    font-size: 15px;
    width: 1200px;
}

.service-arrow {
    flex-shrink: 0;
    margin-left: auto;
}

.service-arrow img {
    width: 18px;
    height: 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .service-column {
        display: flex;
        flex-direction: row; /* Keep horizontal layout */
        align-items: center; /* Vertically center all items */
        padding: 15px; /* Reduce padding */
        gap: 10px; /* Add consistent spacing between items */
    }

    .service-icon {
        width: 40px; /* Smaller icon */
        margin: 0; /* Remove unnecessary margins */
        flex-shrink: 0; /* Prevent shrinking */
    }

    .service-title {
        font-size: 18px; /* Slightly smaller font */
        margin: 0; /* Remove extra margins */
        line-height: 1.2;
    }

    .service-description {
        font-size: 13px; /* Reduce description size */
        margin: 0; /* Remove any extra margin */
        padding: 0 10px; /* Add some spacing between title and arrow */
        width: 150%; /* Make it dynamically adjust */
        flex-grow: 1; /* Occupy the remaining space */
        text-align: left; /* Ensure text alignment is consistent */
    }

    .service-arrow {
        margin: 0; /* Remove unnecessary margins */
        margin-left: auto; /* Push it to the right end */
        flex-shrink: 0; /* Prevent shrinking */
    }

    .service-arrow img {
        width: 14px; /* Smaller arrow size */
        height: 14px;
    }

    .services-section {
        gap: 0; /* Ensure no gaps between rows */
    }
}




.header-full-width .container {
	
	max-width: 1400px !important
}
/* -- */

.html.header-button-1 .header-button .button.secondary {
    width: 180px;
    height: 54px;
    font-size: 15px; /* Assuming font size matches "height" in Figma */
	    font-family: 'Avenir Next LT Pro', sans-serif; /* Apply the specified font */
	font-weight: 500;
    border-radius: 8px;
    border: 1px solid #313436; /* Border color from Figma */
    background-color: #1D1E1E !important; /* Set the button background to match border color */
    color: #ffffff; /* White text for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove any underline on the link */
}

/* Optional: Add a hover effect */
.html.header-button-1 .header-button .button.secondary:hover {
    background-color: #2b2c2e; /* Slightly darker for hover effect */
}

.top-divider {
	
	color: #ffffff !important;
}

/* -- */

.custom-button {
    /* Reset default button styles */
    all: unset;
    display: inline-block;

    /* Custom styles */
    height: 60px;
    background-color: #D93228; /* Main button color */
    color: #ffffff; /* Text color */
    font-size: 18px;
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-weight: 600;
    text-align: center;
    line-height: 60px; /* Center text vertically */
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 0px rgba(222, 63, 54, 0.4); /* 40% opacity drop shadow */
    cursor: pointer; /* Make it look clickable */
    transition: transform 0.6s ease, box-shadow 0.6s ease; /* Increased duration */
}

.custom-button:hover {
    transform: scale(1.02); /* Slightly increase size */
    box-shadow: 0px 7px 4px rgba(222, 63, 54, 0.5); /* Slightly deepen shadow */
}


.cst-button {
    /* Reset default button styles */
    all: unset;
    display: inline-block;

    /* Custom styles */
    background-color: #D93228; /* Main button color */
    
	color: #ffffff; /* Text color */
    font-size: 15.52px;
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0px 4px 0px rgba(222, 63, 54, 0.4); /* 40% opacity drop shadow */
    cursor: pointer; /* Make it look clickable */
    transition: transform 0.6s ease, box-shadow 0.6s ease; /* Increased duration */
}

.cst-button:hover {
    transform: scale(1.02); /* Slightly increase size */
    box-shadow: 0px 7px 4px rgba(222, 63, 54, 0.5); /* Slightly deepen shadow */
}




/* Logo Carousel */
.logo-carousel {
    position: relative;
    overflow: hidden;
    background: transparent;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 90%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.logo-carousel-wrapper {
    display: flex;
    animation: scroll 50s linear infinite;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}
.logo-item {
    display: flex;
    width: 140px;
    margin: 0px 15px;
    align-items: center;
    justify-content: center;
}
.logo-item img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.logo-item img:hover {
    opacity: 1;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        width: 150px;
        margin: 0px 20px;
    }
    
    .logo-carousel {
        height: 100px;
    }
}
@media (max-width: 480px) {
    .logo-item {
        width: 120px;
        margin: 0px 15px;
    }
    
    .logo-carousel {
        height: 80px;
    }
}

.button.primary.is-link.lowercase i {
    display: none; /* Hide the original icon */
}

.button.primary.is-link.lowercase::after {
    content: ''; /* Necessary to display the pseudo-element */
    display: inline-block;
    width: 12px; /* Adjust as needed */
    height: 12px; /* Adjust as needed */
    margin-left: 5px;
    background-image: url('https://luxymedia.com/wp-content/uploads/2024/10/right-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.button.primary.is-link.lowercase {
    display: inline-flex; /* Makes the button an inline flex container */
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    font-size: 16px;
    color: #D93228; /* Set the normal text color */
    text-decoration: none; /* Ensures no underline */
}

.button.primary.is-link.lowercase::after {
    content: ''; /* Necessary to display the pseudo-element */
    display: inline-block;
    width: 12px; /* Adjust as needed */
    height: 12px; /* Adjust as needed */
    margin-left: 10px; /* Space between text and arrow */
	margin-top: 5px;
    background-image: url('https://luxymedia.com/wp-content/uploads/2024/10/right-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.button.primary.is-link.lowercase:hover {
    color: #D93228 !important; /* Override hover text color */
}

/* -- */

/* Flexbox container with gap for desktop */
.hover-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hover-columns .col {
    background-color: white; /* Default background color */
    color: #212120; /* Default text color */
    border: 1px solid rgb(199, 199, 189); /* Default border color */
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease; /* Smooth transition */
    flex: 1;
}

/* Mobile view: show one column per row with padding and centering */
@media (max-width: 768px) {
	
    .hover-columns {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hover-columns .col {
        flex: none;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
}


.hover-columns .col:first-child {
    background-color: #D93228; /* Initial red background for the first column */
    color: #FFFFFF; /* White text for the first column */
}

.hover-columns .col:hover {
    background-color: #D93228; /* Red background on hover */
    color: #FFFFFF; /* White text on hover */
    border-color: #D93228; /* Change border color to red on hover */
}

.hover-columns .col:hover h3 span, 
.hover-columns .col:hover p span {
    color: #FFFFFF !important;
}

.hover-columns .col h3 span, 
.hover-columns .col p span {
    color: #212120; /* Default text color for headings and paragraphs */
}

.hover-columns .col p span {
    color: #3e3f43;
}

/* -- */

.hover-columns-about {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Adds space between columns */
}
.hover-columns-about .col {
    background-color: white;
    color: #212120;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    max-height: 300px; /* Set a maximum height */
    flex: 0 0 calc(50% - 10px); /* Two columns per row with gap */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); /* Soft, subtle shadow */
}

.hover-columns-about .col-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.hover-columns-about .col:first-child {
    background-color: #D93228;
    color: #FFFFFF;
}

.hover-columns-about .col:hover {
    background-color: #D93228;
    color: #FFFFFF;
    border-color: #D93228;
}

.hover-columns-about .col h3 span, 
.hover-columns-about .col p span {
    color: inherit;
}

.hover-columns-about .col p {
    color: #3e3f43;
}

@media (max-width: 768px) {
    .hover-columns-about {
        flex-direction: column;
        gap: 20px;
        align-items: center; /* Centers the columns */
        padding: 0 15px; /* Adds padding to the entire container */
    }

    .hover-columns-about .col {
        flex: none;
        width: 100%;
        max-width: 90%; /* Limits width to 90% for centered layout */
        margin: 0 auto; /* Centers each column */
        padding: 20px; /* Adds padding inside each column */
        box-sizing: border-box;
    }
}




/* -- */

.cta-column > .is-sticky-column > .is-sticky-column__inner > .col-inner {
border-radius: 10px; /* Adjust the value as needed */
  overflow: hidden; /* Ensures that content respects the border radius */
	border: 1px solid #E2DFD4;
}

/* General Blog Post Grid Styles */
.blog-posts-grid {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 0; /* Removed gap completely */
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Adjust width and margins for blog posts to control spacing */
.blog-post {
    width: 32%; /* Slightly increased from 31% to fill space better */
    margin: 0 0 15px 0; /* Add bottom margin only */
    text-align: left;
    box-sizing: border-box; /* Includes padding in width calculation */
}

/* Removed duplicate .blog-post definition as it was moved up */

.post-image {
    width: 100%; /* Container width */
    position: relative;
    padding-bottom: 81.08%; /* This creates a 370:300 aspect ratio (300/370 = 0.8108 = 81.08%) */
    overflow: hidden;
}

.post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-title a {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #000 !important;
    margin-top: 8px;
    text-align: left;
    padding-left: 20px;
    padding-right: 25px;
    padding-top: 15px;
    line-height: 1.2;
    text-decoration: none;
}

.post-meta {
    display: block;
    font-size: 14px;
    color: #000000 !important;
    padding-left: 20px;
    margin-top: 5px;
}

/* Slider Specific Styles */
.blog-posts-slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 50px; /* Space for navigation bullets */
    overflow: hidden; /* Hide content that slides outside the container */
}

.blog-posts-slider {
    position: relative;
    display: flex; /* Make slides display in a row */
    transition: transform 0.5s ease; /* Smooth sliding transition */
    width: 100%;
}

.blog-posts-slider .slide {
    min-width: 100%; /* Each slide takes full width */
    flex: 0 0 100%; /* Don't allow slides to grow or shrink */
}

/* Navigation bullets styling */
.slider-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-bullet.active {
    background-color: #e63946; /* Red color to match the screenshot */
}

/* Empty blog posts for incomplete slides */
.blog-post.empty {
    height: 0;
    padding: 0;
    margin: 0;
    visibility: hidden;
}

/* Mobile Styles for One Column Layout */
@media (max-width: 768px) {
    .blog-post {
        width: 100%; /* Full width for single-column layout on mobile */
    }
    
    .post-image {
        width: 100%; /* Full width of the container */
        height: auto; /* Maintain aspect ratio */
    }
}
/* Accordion CSS */
#sp-ea-2997 .ea-header {
border: 1px solid #C7C7BD;
}

#sp-ea-2997.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 20px;
  font-weight: 800;
}

#sp-ea-2997.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 16px;
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-2997.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-2997.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}
/* French Accordion CSS */

#sp-ea-5847 .ea-header {
border: 1px solid #C7C7BD;
}

#sp-ea-5847.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 20px;
  font-weight: 800;
}

#sp-ea-5847.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 16px;
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-5847.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-5847.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}


/* Methodology Accordion CSS */

#sp-ea-3276.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 24px;
  font-family: 'avenir-next-lt-demi';
}

#sp-ea-3276.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 16px;
}

#sp-eap-accordion-section-3276 {
  position: relative; /* Ensure it has positioning */
  z-index: 10; /* Higher than the image container */
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-3276.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-3276.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}


#sp-ea-5615.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 24px;
  font-family: 'avenir-next-lt-demi';
}

#sp-ea-5615.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 16px;
}

#sp-eap-accordion-section-5615 {
  position: relative; /* Ensure it has positioning */
  z-index: 10; /* Higher than the image container */
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-5615.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-5615.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}

/* Services Accordion CSS */

#sp-ea-3801 .ea-header {
border: 1px solid #C7C7BD;
}

#sp-ea-3801.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 20px;
  font-weight: 800;
}

#sp-ea-3801.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 15px;
}

#sp-eap-accordion-section-3801 {
  position: relative; /* Ensure it has positioning */
  z-index: 10; /* Higher than the image container */
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-3801.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-3801.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}


/* Services FR Accordion CSS */

#sp-ea-5852 .ea-header {
border: 1px solid #C7C7BD;
}

#sp-ea-5852.sp-easy-accordion>.sp-ea-single>.ea-header a {	
	
	font-size: 20px;
  font-weight: 800;
}

#sp-ea-5852.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 15px;
}

#sp-eap-accordion-section-5852 {
  position: relative; /* Ensure it has positioning */
  z-index: 10; /* Higher than the image container */
}

/* Mobile-specific font size adjustment */
@media (max-width: 768px) { 
#sp-ea-5852.sp-easy-accordion>.sp-ea-single>.ea-header a {
    font-size: 16px; /* Adjust the size as needed */
	line-height: 1.2;
  }
	
	#sp-ea-5852.sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body p {
	
	font-size: 14px;
}
}

.custom-video-player {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.custom-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Hidden until play button is clicked */
    z-index: 1;
}

.custom-play-button {
    background-color: #D93228;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 3;
}

.circle-text-svg {
    width: 140px;
    height: 140px;
    position: absolute;
    top: 50%;
    left: 50%;
    /* Removed static transform — handled by animation */
    animation: rotateText 10s linear infinite;
    z-index: 2;
}

.play-icon {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

/* Animation for rotating text */
@keyframes rotateText {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .custom-play-button {
        width: 100px;
        height: 100px;
    }

    .circle-text-svg {
        width: 100px;
        height: 100px;
    }

    .play-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .custom-play-button {
        width: 80px;
        height: 80px;
    }

    .circle-text-svg {
        width: 80px;
        height: 80px;
    }

    .play-icon {
        width: 15px;
        height: 15px;
    }
}


/* About Us Masonry Gallery */
.masonry-container {
    display: flex;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.masonry-item-1 img { width: 100%; height: 345px; object-fit: cover; }
.masonry-item-2 img { width: 100%; height: 644px; object-fit: cover; }
.masonry-item-3 img { width: 100%; height: 368px; object-fit: cover; }
.masonry-item-4 img { width: 100%; height: 375px; object-fit: cover; }
.masonry-item-5 img { width: 100%; height: 574px; object-fit: cover; }
.masonry-item-6 img { width: 100%; height: 408px; object-fit: cover; }
.masonry-item-7 img { width: 100%; height: 689px; object-fit: cover; }
.masonry-item-8 img { width: 100%; height: 690px; object-fit: cover; }

.masonry-item img {
    display: block;
}

/* Mobile Layout for Screens 768px Wide or Smaller */
@media (max-width: 768px) {
    .masonry-container {
        flex-direction: column; /* Stack columns vertically on mobile */
        max-width: 100%; /* Full width on mobile */
        padding: 0; /* Remove padding for full-width images */
    }

    .masonry-column {
        flex: none;
        width: 100%;
        gap: 20px;
    }

    .masonry-item img {
        width: 100vw; /* Full viewport width for edge-to-edge display */
        height: auto; /* Maintain aspect ratio */
        aspect-ratio: 1 / 1; /* Make images square */
        object-fit: cover;
    }
}

.abt-z {
	
	z-index: 1;
}

.client-logo-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Default to 5 columns */
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    padding: 40px;
    box-shadow: 0 6px 8px -4px rgba(0, 0, 0, 0.1); /* Restricts shadow to the bottom only */
    background-color: #fff;
}

.client-logo img {
    width: 160px; /* Fixed width */
    height: 50px; /* Fixed height */
    object-fit: contain; /* Maintains aspect ratio within the dimensions */
    display: block;
    margin: 0 auto;
}

/* Apply cursor pointer only when the logo has a URL */
.client-logo.has-url img {
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .client-logo-showcase {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on tablets */
    }
}

@media (max-width: 768px) {
    .client-logo-showcase {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller tablets and mobile */
    }
}

.partner-logos {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping to keep all logos in one row */
    justify-content: space-between;
    align-items: center;
    gap: 10px; /* Adjusts the space between logos */
}

.partner-logo-item {
    flex: 1 1 auto; /* Allows flexibility in width */
    text-align: center;
    box-sizing: border-box;
    margin: 0 20px; /* Adds horizontal space between items */
}

.partner-logo-item img {
    max-width: 100%; /* Ensures the image does not exceed its container */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: none; /* Disables any transition effects */
}

/* Mobile layout: 3 columns and 2 rows */
@media (max-width: 768px) {
    .partner-logos {
        flex-wrap: wrap; /* Allow wrapping for grid layout */
        justify-content: center; /* Center-align the items */
        gap: 10px; /* Space between logos */
    }

    .partner-logo-item {
        flex: 0 0 30%; /* Set each item to approximately 30% width for 3 columns */
        margin: 10px 0; /* Vertical margin between rows */
    }

    .partner-logo-item img {
        max-width: 80%; /* Make logos responsive within the new width */
        height: auto; /* Maintain aspect ratio */
    }
}
	
/* Target the button by its specific class */
/* Base button styles */
.button.white.is-outline.lowercase.btn-class {
    background-color: transparent;
    color: #ffffff !important; /* Ensure text color is white */
    border: 1px solid #ffffff !important; /* Ensure border color is white */
    padding: 8px 45px; /* Adjust padding for button size */
    border-radius: 10px; /* Add rounded corners */
    font-size: 14px; /* Adjust font size */
    transition: all 0.3s ease; /* Add transition for hover effect */
    font-weight: bold;
}

/* Ensure text color remains white on hover */
.button.white.is-outline.lowercase.btn-class:hover {
    color: #ffffff !important;
    background-color: transparent !important; /* Keep background transparent */
    border-color: #ffffff !important; /* Keep border color unchanged */
}

/* Services Dropdown CSS */

.dropdown-menu {
    list-style-type: none;
    padding: 10;
    margin: 0;
    margin-left: -17px;
}

.dropdown-item {
    margin: 8px 0;
}

.dropdown-toggle, 
.no-toggle {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #333;
    font-family: 'avenir-next-lt-pro';
    font-size: 16px;
    transition: color 0.3s;
}

/* Pointer cursor for items that can toggle */
.dropdown-toggle {
    cursor: pointer;
}

/* Remove pointer cursor for no-toggle items */
.no-toggle {
    cursor: default;
}

/* Hover effect for both toggle and no-toggle items */
.dropdown-toggle:hover,
.no-toggle:hover {
    color: #D93228;
}

/* Default state: show larger dash */
.dropdown-toggle::before, 
.no-toggle::before {
    content: "—";
    margin-right: 25px;
    display: inline-block;
    width: 14px; /* Set fixed width */
    font-size: 24px; /* Increased font size for larger dash */
    text-align: center;
    transition: none;
}

/* Change to larger plus sign on hover and active state */
.dropdown-toggle:hover::before, 
.dropdown-item.active .dropdown-toggle::before {
    content: "+";
    font-size: 24px; /* Same larger font size */
    width: 14px; /* Same fixed width as dash */
    text-align: center;
}

/* Add dash before each sub-item with bold text and spacing */
.dropdown-content li::before {
    content: "—";
    margin-right: 12px;
    color: #555;
    display: inline-block;
    font-weight: bold;
}

.dropdown-content li {
    padding: 2px 0;
    color: #212120;
    font-family: 'avenir-next-lt-pro';
    font-weight: 800;
    font-size: 16px;
}

/* Initial state: hidden */
.dropdown-content {
    list-style-type: none;
    padding-left: 5px;
    margin: 0;
    padding-top: 8px;
    display: none; /* Hide content initially */
}

/* Show content when active */
.dropdown-item.active .dropdown-content {
    display: block;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
    .dropdown-toggle, 
    .no-toggle {
        font-size: 16px; /* Adjust font size for mobile */
        padding: 8px 0;
    }

    .dropdown-content li {
        font-size: 14px;
    }

    .dropdown-item.active .dropdown-toggle {
        color: #D93228;
    }
}



/* Social Media Masonry Gallery */
.social-media-masonry-container {
    display: flex;
    gap: 20px; /* Adds space between columns */
    width: 100%;
    max-width: 1300px; /* Restrict to a max width of 1100px */
    margin: 0 auto; /* Centers the container */
}

.social-media-masonry-column {
    flex: 1; /* Each column takes up equal space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adds space between items within each column */
}

.social-media-masonry-item {
    width: 100%; /* Full width within column */
    box-sizing: border-box;
}

.social-media-masonry-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Heights for Individual Items (Desktop) */
.social-media-item-1 img { height: 422px; }
.social-media-item-2 img { height: 642px; }
.social-media-item-3 img { height: 522px; }
.social-media-item-4 img { height: 642px; }
.social-media-item-5 img { height: 522px; }
.social-media-item-6 img { height: 422px; }
.social-media-item-7 img { height: 422px; }
.social-media-item-8 img { height: 642px; }
.social-media-item-9 img { height: 522px; }

/* Mobile Layout for Screens 768px Wide or Smaller */
@media (max-width: 768px) {
    .social-media-masonry-container {
        flex-direction: column; /* Stack columns vertically on mobile */
        max-width: 100%; /* Allow full width on mobile */
        padding: 0; /* Remove padding for full-width images */
    }
    
    .social-media-masonry-item img {
        width: 100vw; /* Full viewport width for edge-to-edge display */
        height: auto; /* Maintain aspect ratio */
        aspect-ratio: 1 / 1; /* Make images square */
    }
}

/* Container styling to add gap between columns */
.hover-columns-services {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adds 20px space between each column */
}

/* For desktop layout, where columns are side-by-side */
@media (min-width: 768px) {
    .hover-columns-services {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px; /* Adds space between columns */
    }
}

/* Initial selected state for the first column */
.hover-columns-services .col.selected .col-inner {
    background-color: #D93228 !important;
    color: #FFFFFF !important;
}

.hover-columns-services .col.selected .col-inner img,
.hover-columns-services .col:hover .col-inner img {
    filter: brightness(0) invert(1) !important; /* Makes the image white */
}

/* Hover effect for the entire column */
.hover-columns-services .col:hover .col-inner {
    background-color: #D93228 !important;
    color: #FFFFFF !important;
}

/* Text color adjustment for white text on hover and selected states */
.hover-columns-services .col.selected .col-inner p,
.hover-columns-services .col.selected .col-inner h3,
.hover-columns-services .col.selected .col-inner span,
.hover-columns-services .col:hover .col-inner p,
.hover-columns-services .col:hover .col-inner h3,
.hover-columns-services .col:hover .col-inner span {
    color: #FFFFFF !important;
}

/* Content Creation Masonry Gallery */
.content-creation-masonry-container {
    display: flex;
    gap: 20px; /* Adds space between columns */
    width: 100%;
    max-width: 1300px; /* Restrict to a max width of 1100px */
    margin: 0 auto; /* Centers the container */
}

.content-creation-masonry-column {
    flex: 1; /* Each column takes up equal space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adds space between items within each column */
}

.content-creation-masonry-item {
    width: 100%; /* Full width within column */
    box-sizing: border-box;
}

.content-creation-masonry-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Heights for Individual Items */
.content-creation-item-1 img { height: 422px; }
.content-creation-item-2 img { height: 642px; }
.content-creation-item-3 img { height: 422px; }
.content-creation-item-4 img { height: 642px; }
.content-creation-item-5 img { height: 522px; }
.content-creation-item-6 img { height: 642px; }
.content-creation-item-7 img { height: 522px; }
.content-creation-item-8 img { height: 522px; }
.content-creation-item-9 img { height: 522px; }
.content-creation-item-10 img { height: 522px; }
.content-creation-item-11 img { height: 422px; }
.content-creation-item-12 img { height: 522px; }

/* Mobile Layout for Screens 768px Wide or Smaller */
@media (max-width: 768px) {
    .content-creation-masonry-container {
        flex-direction: column; /* Stack columns vertically on mobile */
        max-width: 100%; /* Allow full width on mobile */
        padding: 0; /* Remove padding on mobile for full-width images */
    }
    
    .content-creation-masonry-column {
        gap: 20px; /* Space between items on mobile */
    }
    
    .content-creation-masonry-item img {
        width: 100vw; /* Full viewport width for edge-to-edge display */
        height: auto; /* Maintain aspect ratio */
        aspect-ratio: 1 / 1; /* Make images square */
    }
}

/* Digital Marketing Masonry Gallery */
.digital-marketing-masonry-container {
    display: flex;
    gap: 20px; /* Adds space between columns */
    width: 100%;
    max-width: 1300px; /* Restrict to a max width of 1100px */
    margin: 0 auto; /* Centers the container */
}

.digital-marketing-masonry-column {
    flex: 1; /* Each column takes up equal space */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adds space between items within each column */
}

.digital-marketing-masonry-item {
    width: 100%; /* Full width within column */
    box-sizing: border-box;
}

.digital-marketing-masonry-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Heights for Individual Items */
.digital-marketing-item-1 img { height: 400px; }
.digital-marketing-item-2 img { height: 400px; }
.digital-marketing-item-3 img { height: 400px; }
.digital-marketing-item-4 img { height: 400px; }
.digital-marketing-item-5 img { height: 400px; }
.digital-marketing-item-6 img { height: 400px; }
.digital-marketing-item-7 img { height: 400px; }
.digital-marketing-item-8 img { height: 400px; }
.digital-marketing-item-9 img { height: 400px; }

/* Mobile Layout for Screens 768px Wide or Smaller */
@media (max-width: 768px) {
    .digital-marketing-masonry-container {
        flex-direction: column; /* Stack columns vertically on mobile */
        max-width: 100%; /* Allow full width on mobile */
        padding: 0; /* Remove padding on mobile for full-width images */
    }
    
    .digital-marketing-masonry-column {
        gap: 20px; /* Space between items on mobile */
    }
    
    .digital-marketing-masonry-item img {
        width: 100vw; /* Full viewport width for edge-to-edge display */
        height: auto; /* Maintain aspect ratio */
        aspect-ratio: 1 / 1; /* Make images square */
    }
}
/* Web Masonry Gallery */
.web-gallery-masonry {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Gallery Items */
.web-gallery-item {
    width: 100%;
    box-sizing: border-box;
}

.web-gallery-item a {
    display: block;
    cursor: pointer;
}

.web-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    opacity: 0;
    animation: fadeInGallery 0.5s ease forwards;
    transition: transform 0.3s ease;
}

.web-gallery-item a:hover img {
    transform: scale(1.03);
}

@keyframes fadeInGallery {
    to { opacity: 1; }
}

/* Lightbox */
.web-gallery-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.web-gallery-lightbox-overlay.active {
    display: flex;
}

.web-gallery-lightbox:focus,
.web-gallery-lightbox:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}

.lightbox-close:hover {
    color: #D93228;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 100000;
    padding: 10px 15px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #D93228;
}

@media (max-width: 768px) {
    .web-gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    .web-gallery-item img {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .lightbox-prev { left: 10px; font-size: 28px; }
    .lightbox-next { right: 10px; font-size: 28px; }
    .lightbox-close { top: 15px; right: 15px; font-size: 32px; }
}

/* Blog CSS */

.featured-post {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.featured-post .featured-image {
    position: relative;
}

.featured-post img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-post .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.featured-post .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 30px;
    padding-left: 40px;
    text-align: left;
}

.featured-post h2 {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 5px;
    font-family: avenir-next-lt-pro;
    line-height: 1;
    color: #fff !important;
}

.featured-post h2 a {
    color: #fff !important;
    text-decoration: none;
}

.featured-post p {
    font-size: 14px;
    margin: 0;
    color: #fff;
}

.featured-post p a {
    color: #fff !important;
    text-decoration: none;
}

.grid-post {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.grid-post .grid-image {
    width: 50%;
    margin-right: 20px;
}

.grid-post .grid-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.grid-post .grid-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-content h3 {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 10px;
    font-family: avenir-next-lt-pro;
    line-height: 30px;
    color: #212120 !important;
}

.grid-content h3 a {
    color: #212120 !important;
    text-decoration: none;
}

.grid-content p {
    font-size: 14px;
    color: #212120 !important;
}

.grid-content p a {
    color: #212120;
    text-decoration: none;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.blog-layout .custom-button.load-more {
    padding: 10px 20px;
    background-color: #212120;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Mobile Layout for Blog Posts */
@media (max-width: 768px) {
    .featured-post {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }

    .featured-post .featured-image {
        width: 100%;
        margin: 0 auto;
    }

    .featured-post .content {
        position: static;
        padding: 20px 0;
        width: 100%;
        text-align: center;
        color: #212120;
    }

    .featured-post h2 {
        font-size: 24px;
        line-height: 1.2;
        color: #212120 !important;
    }

    .featured-post h2 a {
        color: #212120 !important;
        text-decoration: none;
    }

    .featured-post p {
        font-size: 14px;
        color: #212120 !important;
    }

    .featured-post p a {
        color: #212120 !important;
        text-decoration: none;
    }

    .grid-post {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .grid-post .grid-image {
        width: 100%;
        margin: 0 auto;
    }

    .grid-post .grid-content {
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    .grid-content h3 {
        font-size: 22px;
        line-height: 1.2;
        color: #212120 !important;
    }

    .grid-content p {
        font-size: 14px;
        color: #212120 !important;
    }

    .grid-content p a {
        color: #212120;
        text-decoration: none;
    }
}

/* Category Section Styling */
.custom-category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-category-list .category-item {
    display: block;
    text-align: left;
    padding: 20px;
    background-color: #ffffff;
    color: #212120;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ddd;
    font-family: avenir-next-lt-pro;
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

.custom-category-list .category-item:hover {
    background-color: #D93228;
    color: #ffffff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2); /* Increases shadow on hover */
}

.custom-category-list .category-item div {
    display: inline-block;
    vertical-align: middle;
}

/* Hide "Category Archives:" and only display the category name with capitalization and padding */
.category .page-title {
    font-size: 0; /* Hide all text within .page-title */
}

.category .page-title span {
    font-size: 2.5rem; /* Set font size only for the category name */
    font-weight: bold;
    text-transform: capitalize; /* Capitalize the first letter of each word */
    color: #212120; /* Customize as needed */
    text-align: center;
    display: inline-block;
    padding: 20px 0; /* Add padding to the top and bottom */
}

/* Style for Filter Buttons */
.portfolio-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
  background-color: white;
  padding: 20px 40px;
  position: absolute;
  top: -150px;
  left: 130px;
  box-shadow: 2px 28px 54px rgb(171 171 180 / 18%);

}

#col-1500545328 {
  margin-top: 100px;
}

.filter-btn {
  background: none;
	position:relative;
  border: none;
  text-transform: none;
  font-size: 24px;
  cursor: pointer;
  margin: 0 10px;
  padding: 10px 20px;
  transition: color 0.3s ease;
  font-family: avenir-next-lt-demi;
}
.filter-btn::after{
	content:'';
  position:absolute;
	top:90px;
	left:0px;
	width:100%;
	border-bottom: 2px solid transparent;
}

.filter-btn:hover, .filter-btn[data-active="true"] {
  color: #e62c28;
}
.filter-btn:hover::after,
.filter-btn[data-active="true"]::after {
    border-bottom: 2px solid #e62c28; 

}
.blog-footer-auth .icon-box-img img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* Style for Portfolio Grid */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-item {
  width: 32%;
  max-width: 375px;
  text-align: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.portfolio-item img {
  width: 100%;
  height: auto;
}

.portfolio-item h3 {
  font-size: 16px;
  margin-top: 15px;
  color: #333;
  font-family: avenir-next-lt-demi, Verdana, Arial, sans-serif;
	font-weight: 800;
  text-align: left;
  font-size: 30px;
  line-height: 32px;
}

@media only screen and (max-width: 768px) {
  
  .portfolio-filter {
    display: flex;
    position: static;
    flex-direction: column;
    margin-bottom: 60px;
    background-color: white;
    padding: 20px 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  }
  
  .portfolio-grid {
    gap: 0;
  }
  
  .portfolio-item {
    width: 100%;
    max-width: 100%;
    padding: 0 0 30px 0; /* Add padding to the bottom */
  }
	
	 .portfolio-item h3 {
    text-align: center; /* Center the title on mobile */
		   font-family: avenir-next-lt-demi, Verdana, Arial, sans-serif;
 
  font-size: 20px;
  }
}
}


/* Navigation Menu CSS */
.custom-nav {
  position: relative; /* Ensures proper positioning */
  margin-bottom: 10px; /* Adds spacing below the container */
  width: 100%; /* Ensures it spans full width */
}
/* Center the navigation within the row */
.navigation-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
/* Navigation list styling */
.custom-nav ul {
  display: flex;
  justify-content: center; /* Centers the navigation items */
  align-items: center;
  list-style: none; /* Removes dots */
  padding: 0;
  margin: 0;
  flex-wrap: wrap; /* Allows items to wrap to new lines on desktop */
}
/* Navigation item styling */
.custom-nav .nav-item {
  margin: 0 20px; /* Adjusted spacing for better fit on mobile */
  font-family: 'Avenir Next LT Pro', sans-serif;
  font-weight: 600; /* Demi weight */
}
/* Link styling */
.custom-nav .nav-item a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  padding: 18px 15px; /* Added horizontal padding for longer border */
  display: inline-block;
  border-bottom: 3px solid transparent; /* Keeps space for the border */
  transition: color 0.3s, border-color 0.3s; /* Only transition color & border */
}
/* Active link styling */
.custom-nav .nav-item.active a {
  color: #D93228; /* Active text color */
  border-bottom-color: #D93228; /* Active bottom border color */
}
/* Hover effect */
.custom-nav .nav-item a:hover {
  color: #D93228; /* Red text on hover */
  border-bottom-color: #D93228; /* Red bottom border on hover */
}
.custom-nav[data-current-page="/digital-marketing/"] .nav-item:nth-child(1) a,
.custom-nav[data-current-page="/social-media/"] .nav-item:nth-child(2) a,
.custom-nav[data-current-page="/content-creation/"] .nav-item:nth-child(3) a,
.custom-nav[data-current-page="/web/"] .nav-item:nth-child(4) a {
  color: #D93228;
  border-bottom-color: #D93228;
}
.custom-nav[data-current-page="/fr/marketing-numerique/"] .nav-item:nth-child(1) a,
.custom-nav[data-current-page="/fr/medias-sociaux/"] .nav-item:nth-child(2) a,
.custom-nav[data-current-page="/fr/creation-de-contenu/"] .nav-item:nth-child(3) a,
.custom-nav[data-current-page="/fr/web/"] .nav-item:nth-child(4) a {
  color: #D93228;
  border-bottom-color: #D93228;
}
	
/* Responsive Styling for Mobile */
@media (max-width: 768px) {
  .custom-nav {
    overflow-x: auto; /* Enable horizontal scrolling at container level */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
  
  .custom-nav ul {
    display: inline-flex; /* Changed to inline-flex for better sizing */
    flex-wrap: nowrap; /* Explicitly prevent wrapping */
    justify-content: center; /* Keep centered for visual consistency */
    min-width: 100%; /* Use full width */
    width: 100%; /* Full width for proper centering */
    padding: 0 5px; /* Reduced padding */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
  }
  
  .custom-nav ul::-webkit-scrollbar {
    display: none; /* Hides scrollbar in Webkit-based browsers */
  }
  
  .custom-nav .nav-item {
    margin: 0 5px; /* Reduced side margins */
    flex-shrink: 0; /* Prevent items from shrinking */
  }
  
  .custom-nav .nav-item a {
    font-size: 12px; /* Further reduced font size */
    padding: 8px 1px; /* Reduced horizontal padding */
    border-bottom: 2px solid transparent; /* Thinner border */
  }
  
  .custom-nav .nav-item.active a {
    color: #D93228;
    border-bottom-color: #D93228;
  }
  
  /* Remove hover effect on mobile */
  .custom-nav .nav-item a:hover {
    color: inherit;
    border-bottom-color: transparent;
  }
}


/* Gallery container styling */
.gallery-soft-shadow {
    position: relative;
    overflow: hidden; /* Critical: keeps animated content inside the border */
}

.gallery-soft-shadow >* {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.gallery-soft-shadow .is-border {
    z-index: 2; /* Ensure border stays on top */
    pointer-events: none; /* Allow clicking through border */
}

/* Gallery styling */
.horizontal-gallery {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    z-index: 1; /* Keep gallery below border */
}

.horizontal-gallery-wrapper {
    display: flex;
    animation: gallery-scroll 35s linear infinite;
    animation-fill-mode: forwards;
    animation-delay: 0s;
    gap: 10px;
}

.gallery-item {
    display: flex;
    flex: 0 0 auto;
    width: 200px;
    height: 280px; 
    padding: 0 2px; 
}

.gallery-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the container */
    object-position: center; /* Centers the image within the container */
    border-radius: 10px;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        width: 160px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 120px;
        height: 180px;
    }
}

.zind {
    position: relative;
    z-index: 999;
}

/* Marketing Buttons CSS - Flexible Single Row Layout */

.mkd-service-btn {
  text-transform: none !important;
}

.mkd-mobile-btn {
  text-transform: none !important;
}

/* NOTE: Grid padding can be adjusted as needed */
.mkd-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
	padding-left: 4px;
}

/* Single row approach - no separate row divs needed */
.mkd-service-btn {
  border: 1px dashed #ffffff;
  border-radius: 40px;
  padding: 5px 15px;  /* More horizontal padding for text */
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
  color: white;
  background: transparent;
  cursor: default;
  text-align: center;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex: 0 0 auto;  /* Don't grow or shrink, stay true to content size */
}

.mkd-service-btn:hover {
  background-color: #D93228;
  border-color: #D93228;
}

.mkd-service-btn.mkd-active-btn {
  background-color: #D93228;
  border: 2px solid #D93228;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .mkd-services-grid {
    gap: 8px;
    padding: 15px;  /* NOTE: Smaller padding on mobile */
  }
  
  .mkd-service-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
}
/* Flexible Button Layout CSS */
.mkd-mobile-services-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  gap: 5px 5px; /* 5px horizontal gap, 5px vertical gap (between rows) */
  row-gap: 10px; /* Increased vertical spacing between rows */
  justify-content: center;
}

.mkd-mobile-btn {
  border: 1px dashed #ffffff;
  border-radius: 30px;
  padding: 5px 15px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  transition: all 0.3s ease;
  color: white;
  background: transparent;
  cursor: pointer;
  text-align: center;
  width: auto; /* Let each button determine its own width */
  text-transform: none !important;
  white-space: nowrap; /* Prevent text wrapping */
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0; /* Remove default margins */
}

.mkd-mobile-btn.mkd-active-btn {
  background-color: #D93228;
  border: 1px solid #D93228;
}

.mkd-mobile-btn:hover {
  background-color: #D93228;
  border-color: #D93228;
}

/* Simple responsive adjustment */
@media (max-width: 350px) {
  .mkd-mobile-btn {
    font-size: 9px;
    padding: 4px 12px;
    height: 28px;
  }
}


/* Combined and optimized CSS from both sources */

/* Main form containers */
.audit-custom-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Form field wrappers */
.audit-form-field,
.input-wrapper {
    position: relative;
    margin-bottom: 15px;
    display: block;
}

/* Label styling */
.audit-form-field label,
.input-wrapper label {
    position: absolute;
    top: -6px;
    left: 20px;
    padding: 0 5px;
    font-size: 14px;
    line-height: 1;
    background-color: white;
    color: #212120;
    z-index: 1;
    display: inline;
    width: auto;
    white-space: nowrap;
}

/* Regular label styling from second CSS */
.wpcf7 label {
    font-size: 15px;
    font-weight: normal !important;
    color: black;
    margin: 0px;
    font-family: avenir-next-lt-regu;
}

/* Special wrapper for budget section */
.budget-wrapper {
    margin-bottom: 35px;
}

/* Special case for inline labels */
.input-wrapper label.inline-flex {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    display: block;
    font-weight: 600;
    line-height: 0.8;
}

/* Input and textarea styling - combined from both */
.audit-form-field input,
.audit-form-field textarea,
.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper textarea,
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
    transition: all 0.3s ease;
}

/* First CSS style for inputs */
.audit-form-field input,
.audit-form-field textarea,
.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper textarea {
    border: 1px solid #D9D9D9 !important;
    border-radius: 4px;
    padding: 15px !important;
}

/* Second CSS style for inputs */
.wpcf7-form input[type=email], 
.wpcf7-form input[type=text] {
    height: 50px !important;
    padding: 30px 0px;
    border-radius: 0px;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid black;
}

/* Textarea specifics */
.audit-form-field textarea,
.input-wrapper textarea {
    min-height: 200px !important; /* Increased from 150px */
    resize: none;
}

.wpcf7-form textarea {
    min-height: 120px !important; /* Increased from 80px */
    padding: 0px;
    border-radius: 0px;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid black;
}

/* Focus states for inputs */
.audit-form-field input:focus,
.audit-form-field textarea:focus,
.input-wrapper input:focus,
.input-wrapper textarea:focus,
.wpcf7-form input:focus, 
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #D93228 !important;
}

/* Placeholder styling - combined */
.audit-form-field input::placeholder,
.audit-form-field textarea::placeholder,
.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder,
.wpcf7-form input::placeholder, 
.wpcf7-form textarea::placeholder {
    color: rgba(33, 33, 32, 0.5);
    opacity: 1;
    font-size: 12px; /* Reduced from 14px */
    font-family: avenir-next-lt-regu;
    font-weight: 500;
}

/* Second CSS has specific placeholder styling */
.wpcf7-form input::placeholder, 
.wpcf7-form textarea::placeholder {
    font-size: 14px; /* Reduced from 17px */
}

.wpcf7-form textarea::placeholder {
    padding: 8px 3px;
}

/* Focus placeholder */
.audit-form-field input:focus::placeholder,
.audit-form-field textarea:focus::placeholder,
.input-wrapper input:focus::placeholder,
.input-wrapper textarea:focus::placeholder {
    color: #212120;
}

/* Budget options section - merged with preference to second CSS */
.budget-options {
    display: flex;
    padding-left: 0px;
    align-items: center;
    border-radius: 4px;
    border: none !important;
    height: 40px !important;
    margin-bottom: 30px;
    font-family: avenir-next-lt-pro;
    font-weight: 500;
    font-size: 16px;
}

/* Hide the actual radio buttons */
.budget-options input[type="radio"],
.wpcf7-form input[type='radio'] {
    display: none;
}

/* Container for radio buttons */
.budget-options .wpcf7-form-control.wpcf7-radio {
    display: flex;
    justify-content: space-between;
    margin-top: -5px;
    border: none !important;
    box-shadow: none !important;
}

/* Style the labels */
.wpcf7-list-item {
    position: relative;
    margin-right: 20px;
}

.budget-options .wpcf7-list-item {
    margin: 0;
    display: inline-block;
    width: 25%;
    border: none !important;
}

.wpcf7-list-item label,
.budget-options .wpcf7-list-item label {
    position: relative;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    color: black;
}

.wpcf7-list-item label {
    padding: 12px 0;
    margin-top: 19px;
}

.budget-options .wpcf7-list-item label {
    padding: 5px 5px;
    display: block;
    text-align: center;
    background: transparent;
    position: relative;
    top: 0;
    left: 0;
    font-size: 14px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Line below radio buttons - light gray by default */
.budget-options .wpcf7-list-item-label::after,
.budget-options .wpcf7-list-item label::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}

/* Hover state for unchecked items only */
.budget-options .wpcf7-list-item:not(:has(input[type="radio"]:checked)) label:hover::after,
.budget-options .wpcf7-list-item:not(:has(input[type="radio"]:checked)) .wpcf7-list-item-label:hover::after {
    background-color: #D93228;
}

/* Alternative hover selector if :has() isn't supported */
.budget-options input[type="radio"]:not(:checked) + label:hover::after,
.budget-options input[type="radio"]:not(:checked) + .wpcf7-list-item-label:hover::after {
    background-color: #D93228;
}

/* Checked state - red line and text */
.budget-options input[type="radio"]:checked + label,
.budget-options input[type='radio']:checked + .wpcf7-list-item-label {
    color: #D93228;
    font-weight: 600;
}

.budget-options input[type="radio"]:checked + label::after,
.budget-options input[type='radio']:checked + .wpcf7-list-item-label::after {
    background-color: #D93228;
    height: 2px;
    bottom: 0;
}

/* Submit button styling - combined */
.audit-submit-container,
.submit-wrapper {
    text-align: center;
}

.audit-custom-form input[type=submit],
.wpcf7-submit {
    width: 100%;
    background-color: #D93228;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.audit-custom-form input[type=submit] {
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

.wpcf7-submit {
    border-radius: 8px !important;
    padding: 6px !important;
    text-transform: none !important;
}

.audit-custom-form input[type=submit]:hover {
    background-color: #be2a21;
}

/* Form headings */
.form-heading {
    font-size: 30px;
    padding: 10px 0px;
}

.wpcf7-form p {
    margin-bottom: 10px !important;
}

/* Dark theme adjustments */
.dark-theme .audit-form-field label,
.dark-theme .input-wrapper label {
    background-color: #1a1a1a;
}

/* Mobile-Only Fix with Light Gray Line and Red Active/Hover States */
@media screen and (max-width: 767px) {
    .audit-custom-form {
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    
    /* Fix for iOS zooming on input fields */
    .audit-form-field input,
    .audit-form-field textarea,
    .input-wrapper input,
    .input-wrapper textarea {
        font-size: 16px !important;
    }
    
    /* Budget container adjustments */
    .budget-options {
        margin-bottom: 20px !important;
        height: auto !important;
        min-height: 45px !important;
    }
    
    /* Keep budget options horizontal with spacing */
    .budget-options .wpcf7-form-control.wpcf7-radio {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    /* Each radio option - with spacing */
    .budget-options .wpcf7-list-item {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        margin: 0 15px !important; /* Added spacing between options */
        transform: scale(0.98) !important;
    }
    
    /* First option - no left margin */
    .budget-options .wpcf7-list-item:first-child {
        margin-left: 0 !important;
    }
    
    /* Last option - no right margin */
    .budget-options .wpcf7-list-item:last-child {
        margin-right: 0 !important;
    }
    
    /* Text adjustments - larger font */
    .budget-options .wpcf7-list-item-label,
    .budget-options .wpcf7-list-item label {
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 5px 0 !important;
    }
    
    /* Ensure the budget label is visible */
    .input-wrapper.budget-wrapper label.inline-flex {
        margin-bottom: 12px !important;
        display: block !important;
    }
    
    /* Ensure submit button renders properly on mobile */
    .audit-custom-form input[type=submit] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 14px; /* Reduced font size for mobile */
    }
}

/* Additional tweaks for very small screens */
@media screen and (max-width: 400px) {
    /* Reduce spacing on very small screens */
    .budget-options .wpcf7-list-item {
        margin: 0 3px !important;
    }
    
    /* Smaller font size but still larger than before */
    .budget-options .wpcf7-list-item-label,
    .budget-options .wpcf7-list-item label {
        font-size: 12px !important;
        letter-spacing: -0.2px !important;
    }
    
    .audit-form-field label,
    .input-wrapper label {
        max-width: 85%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .audit-custom-form input[type=submit] {
        font-size: 13px; /* Further reduced for very small screens */
    }
}


.col-rad-20 .col-inner {
	
	border-radius: 20px;
}

.col-radial-glow > .col-inner {
  position: relative;
  overflow: hidden;
}

.col-radial-glow > .col-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%, /* start at bottom center */
    rgba(95, 109, 183, 0.6) 0%,  /* reduced opacity */
    rgba(0, 0, 0, 0) 50%         /* fade more gently */
  );
  pointer-events: none;
  z-index: 0;
}


/* Keep content above the glow */
.col-radial-glow > .col-inner > * {
  position: relative;
  z-index: 1;
}

.col-blue-gradient > .col-inner {
	
	border-radius: 20px;
  background: linear-gradient(
    45deg,        /* diagonal: bottom-left → top-right */
    #1F243B 0%,   /* lighter blue at start */
    #050813 100%  /* darker navy/black at end */
  );
	
	  border: 1px solid #414A7A;

	box-shadow: 
    0 0 10px rgba(147, 174, 255, 0.35),  /* outer glow halo */
    0 10px 28px rgba(0, 9, 40, 0.35);    /* natural drop shadow */
}

/* === Testimonial Grid (3 Equal-Height Columns) === */
.lm-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lm-gap, 24px);
  align-items: stretch; /* Make all columns equal height */
}

/* Each column wrapper */
.lm-testimonials__column {
  display: flex;
  flex-direction: column;
  gap: var(--lm-gap, 24px);
  min-height: 100%; /* Ensure columns stretch to match tallest */
}

/* Each card - flex-grow makes them stretch equally within their column */
.lm-testimonial {
  flex: 1; /* This makes cards in the same column equal height */
  background: #fff;
  border: 1px solid #E7E7E7;
  border-radius: 10px;
  padding: 32px; /* Increased from 20px */
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
  transition: border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.lm-testimonial:hover { 
  border-color: #D93228;
}

/* Head */
.lm-testimonial__head {
  display: flex;
  align-items: center;
  margin-bottom: 16px; /* Increased spacing */
}

.lm-testimonial__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 14px; /* Increased spacing */
}

.lm-testimonial__name { 
  font-weight: 700; 
  font-size: 16px; 
  margin: 0; 
}

.lm-testimonial__role { 
  font-size: 14px; 
  color: #666; 
  margin-top: 2px; /* Increased spacing */
}

/* Quote - flex-grow pushes it to fill remaining space */
.lm-testimonial__quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  border: none;
  padding-left: 0;
  flex-grow: 1; /* Quote fills remaining space */
}

.lm-testimonial__quote p {
  margin: 0;
  border: none;
  padding-left: 0;
}

/* ----- Mobile stacked list (hidden by default) ----- */
.lm-testimonials__list {
  display: none;
  gap: var(--lm-gap, 24px);
}

/* Responsive: 2 cols tablet, 1 col mobile (via list) */
@media (max-width: 1199px) {
  .lm-testimonials__grid { 
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lm-testimonial {
    padding: 28px; /* Slightly less padding on tablet */
  }
}

@media (max-width: 767px) {
  /* Hide the multi-column grid on mobile */
  .lm-testimonials__grid { 
    display: none !important;
  }

  /* Show a single stacked list on mobile */
  .lm-testimonials__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lm-testimonial {
    padding: 24px; /* Less padding on mobile */
  }
}

/* Base glow section */
.sec-glow {
  --sec-glow-height: 750px;
  position: relative;
  overflow: hidden;
  min-height: var(--sec-glow-height);
}
.sec-glow > .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sec-glow > .section-content {
  position: relative;
  overflow: hidden;
  min-height: var(--sec-glow-height);
  z-index: 1;
}
.sec-glow > .section-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(95, 109, 183, 0.6) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  pointer-events: none;
  z-index: 0;
}
.sec-glow > .section-content > * {
  position: relative;
  z-index: 1;
}

/* Height override — MUST come after .sec-glow */
.sec-glow-tall {
  --sec-glow-height: 0px;
}

/* =========================
   Luxy Comparison Grid — Full Responsive CSS (v3.3)
   Mobile: all columns scroll together
   ========================= */

/* Wrapper + theme variables */
.comparison-grid-wrapper {
  --grid-max: 1550px;
  --gap: 18px;
  --radius: 50px;
  --red: #D93228;

  /* Mobile column sizing (used under 768px) */
  --first-col-w: 160px;
  --col-w: 150px;

  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto;
  font-family: inherit;
}

/* ===== Header Row ===== */
.comparison-grid-header {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, 1fr);
  gap: var(--gap);
  margin-bottom: 20px;
  padding: 0 20px;
  position: relative;
}
.header-cell {
  color: #ffffff;
  font-weight: 600;
  font-family: 'avenir-next-lt-pro', sans-serif;
  font-size: 18px;
  text-align: center;
}
.header-cell:first-child { opacity: 0; }

/* ===== Grid Rows ===== */
.comparison-grid-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, 1fr);
  gap: var(--gap);
  padding: 28px 20px;
  margin-bottom: 20px;
  align-items: center;
  position: relative;
}
/* Nudge Freelancers content to align better - DESKTOP ONLY */
@media (min-width: 769px) {
  .comparison-grid-row:last-of-type .company-name {
    margin-left: -30px;
  }
}
/* Divider for non-Luxy rows */
.comparison-grid-row:not(.luxy-row) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


/* ===== Luxy Row (solid red full width) ===== */
.luxy-row {
  border-radius: var(--radius);
  color: #ffffff;
}
.luxy-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: var(--radius);
  z-index: 0;
}
.luxy-row > .grid-cell { position: relative; z-index: 1; }

/* ===== Cells ===== */
.grid-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 10px;
  align-self: flex-start;
}

/* Reduce gap between icon and text in columns 2-7 */
.grid-cell:not(:first-child) {
  gap: 2px;

}

.grid-cell:not(:first-child) span {
  margin-top: -15px; /* Pull text closer to icon */
}

.grid-cell:first-child {
  justify-content: center;
  align-self: center;
}

/* Logo + brand sizing */
.logo-cell { font-weight: 700; font-size: 24px; }
.luxy-logo { width: 160px; max-width: 160px; height: auto; }
.company-icon { width: 50px; height: 50px; flex-shrink: 0; }

/* Icons & images - UPDATED CLASS NAME */
.comparison-icon { width: 18px; height: 18px; flex: 0 0 18px; }

.grid-cell img:not(.luxy-logo):not(.company-icon):not(.comparison-icon) {
  max-width: 100%;
  height: auto;
}

/* Text styles */
.company-name {
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  font-family: 'avenir-next-lt-pro', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}
.secondary-text { color: rgba(255, 255, 255, 0.6); }
.secondary-text span { font-size: 16px; }
.luxy-row .grid-cell span { color: #ffffff; font-size: 16px; font-weight: 700; }

/* ===== Optional: Horizontal Mode (icon left of text) ===== */
.grid--horizontal .grid-cell {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
}
.grid--horizontal .grid-cell:first-child { justify-content: center; text-align: center; }

/* ===== Optional: Emphasis pills ===== */
.grid-cell span { display: inline-block; }
.grid-cell span[data-pill] {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}
.grid-cell span[data-pill="low"]        { background: rgba(52,199,89,.15);  color:#34C759; }
.grid-cell span[data-pill="high"]       { background: rgba(255,59,48,.15);  color:#FF3B30; }
.grid-cell span[data-pill="guaranteed"] { background: rgba(10,132,255,.15); color:#0A84FF; }

/* =========================
   Responsive Tweaks
   ========================= */

/* ====== Large Tablet (≤ 1024px) ====== */
@media (max-width: 1024px) {
  .comparison-grid-header { gap: 16px; }
  .comparison-grid-row { gap: 16px; padding: 24px 18px; }

  .header-cell { font-size: 16px; }
  .company-name { font-size: 17px; }
  .secondary-text span,
  .luxy-row .grid-cell span { font-size: 15px; }

  .luxy-logo { width: 150px; max-width: 150px; }
  .company-icon { width: 46px; height: 46px; }
  .comparison-icon { width: 16px; height: 16px; flex: 0 0 16px; }
}

/* ====== Tablet baseline (≤ 900px) ====== */
@media (max-width: 900px) {
  .comparison-grid-row { padding: 22px 16px; }
}

/* ====== Mobile (≤ 768px) — all columns scroll together ====== */
@media (max-width: 768px) {
  .comparison-grid-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin-bottom: 0; /* Remove bottom margin on mobile */
  }
  .comparison-grid-wrapper::-webkit-scrollbar { display: none; }
  .comparison-grid-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

  .comparison-grid-header,
  .comparison-grid-row {
    display: grid;
    grid-template-columns: var(--first-col-w) repeat(6, var(--col-w));
    gap: 15px;
    padding: 10px 7.5px;
    width: max-content;
    box-sizing: content-box;
  }

  .comparison-grid-row {
    margin-bottom: 10px; /* Reduced from 20px */
  }

  .comparison-grid-row:last-of-type {
    margin-bottom: 0; /* No margin on last row */
  }

  .luxy-row { border-radius: 30px; }
  .luxy-row::before {
    border-radius: 30px;
  }

  .header-cell { font-size: 17px; }
  .logo-cell { font-size: 20px; }
  .company-name { font-size: 16px; min-width: 160px; }
  .secondary-text span { font-size: 13px; }
  .luxy-row .grid-cell span { font-size: 14px; }

  .luxy-logo { width: 135px; max-width: 135px; }
  .company-icon { width: 44px; height: 44px; }
  .comparison-icon { width: 16px; height: 16px; flex: 0 0 16px; }
	
	
}

/* ====== Small Mobile (≤ 480px) — tweak column widths ====== */
@media (max-width: 480px) {
  .comparison-grid-wrapper { --first-col-w: 150px; --col-w: 140px; }
  .header-cell { font-size: 16px; }
  .company-name { font-size: 15px; }
  .secondary-text span, .luxy-row .grid-cell span { font-size: 13px; }
  .luxy-logo { width: 120px; max-width: 120px; }
  .company-icon { width: 40px; height: 40px; }
  .comparison-icon { width: 15px; height: 15px; flex: 0 0 15px; }
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .comparison-grid-wrapper { scroll-behavior: auto; }
}

.dep-ds {
  position: relative;
  transform: translateY(-80px); /* pull up visually */
  z-index: 2; /* keep above the image if needed */
	background-color: #ffffff;
	border-radius: 20px;
	border: 1px solid #E7E7E7;
	box-shadow: 0px 4px 18px 8px rgba(0, 0, 0, 0.02);
}

/* =====================================================
   LUXY FAQ — Auto-Numbered Version
   ===================================================== */

/* Base layout */
.faq-wrapper {
  width: 100%;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;
}

/* LEFT — Number Circle (Auto-generated) */
.faq-numb {
  display: inline-flex;
  width: 63px;
  height: 63px;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  background-color: #D93228;
  border-radius: 50%;
  color: #ffffff;
  font-family: 'avenir-next-lt-pro', sans-serif;
  font-weight: 700;
  font-size: 28px;
  flex-shrink: 0;
}

/* CENTER — Question/Answer Pill */
.faq-card {
  border: 1px solid #D6D4D4;
  border-radius: 60px;
  box-shadow: 0 4px 18px 8px rgba(0, 0, 0, 0.02);
  background: #ffffff;
  overflow: visible;
}

/* Question */
.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 18px 28px 0px 38px;
  font-family: 'avenir-next-lt-pro', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #202a1c;
  text-transform: none;
  line-height: 1.4;
}
.faq-question:focus-visible {
  outline: 2px solid rgba(91, 140, 255, 0.8);
  outline-offset: 3px;
}
.faq-row.open .faq-question {
  padding: 18px 28px 0px 38px;
}

/* Answer */
.faq-answer {
  display: none;
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 38px 0 38px;
  border-top: none;
  font-family: 'avenir-next-lt-pro', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #202a1c;
  line-height: 1.75;
}
.faq-row.open .faq-answer {
  padding: 0 38px 14px 38px;
}

/* RIGHT — + Toggle */
.faq-toggle {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #F3F3F3;
  border: 1px solid #D6D4D4;
  cursor: pointer;
  margin-top: -2px;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #000000;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-row.open .faq-toggle::after {
  opacity: 0;
}

/* ==============================
   Tablet adjustments
   ============================== */
@media (max-width: 768px) {
  .faq-numb {
    width: 64px;
    height: 64px;
    margin-top: -1px;
    font-size: 24px;
  }
  .faq-question {
    font-size: 16px;
    padding: 14px 20px 0px 24px;
  }
  .faq-answer {
    font-size: 15px;
    padding: 0 24px 0 24px;
  }
  .faq-row.open .faq-answer {
    padding: 0 24px 12px 24px;
  }
  .faq-toggle {
    width: 60px;
    height: 60px;
    margin-top: -1px;
  }
}

/* ==============================
   Mobile adjustments (30% smaller)
   ============================== */
@media (max-width: 480px) {
  .faq-numb {
    width: 41px;
    height: 41px;
    margin-top: 10px;
    font-size: 20px;
  }
  .faq-question {
    font-size: 14px;
    padding: 12px 16px 0px 18px;
  }
  .faq-answer {
    font-size: 12px;
    padding: 0 18px 0 18px;
  }
  .faq-row.open .faq-answer {
    padding: 0 18px 10px 18px;
  }
  .faq-toggle {
    width: 47px;
    height: 47px;
    margin-top: 0;
  }
  .faq-toggle::before,
  .faq-toggle::after {
    width: 14px;
  }
}