/*
Theme Name: Goodsfellas - by inkperial
Theme URI: https://inkperial.com/inkperial_goodsfellas
Author: Chris Brock
Author URI: https://inkperial.com
Description: A real estate-focused WordPress theme with Elementor support.
Version: 1.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revt-theme
*/

@font-face {
    font-family: 'Made Tommy Regular';
    src: url('assets/fonts/MADE-TOMMY-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Made Tommy Light';
    src: url('assets/fonts/MADE-TOMMY-Light.woff') format('woff');
}
@font-face {
    font-family: 'Made Tommy Bold';
    src: url('assets/fonts/MADE-TOMMY-Bold.woff') format('woff');
}
@font-face {
    font-family: 'Made Tommy ExtraBold';
    src: url('assets/fonts/MADE-TOMMY-ExtraBold.woff') format('woff');
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--page-bg-color);
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    font-family: 'Made Tommy Regular', sans-serif;
    overflow-x: hidden;
}

/* Ensure all containers don't exceed viewport */
.container,
.container-fluid {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Fix for full-width elements */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}



.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.zoom-effect:hover img {
    transform: scale(1.05);
}

@media (min-width: 1200px) {
    .break-out .image-container {
        max-width: calc(100vw - ((100vw - 1400px) / 2));
    }
    
    .break-out.order-2 .image-container {
        margin-right: calc(-50vw + ((100vw - 1400px) / 2));
    }
    
    .break-out.order-1 .image-container {
        margin-left: calc(-50vw + ((100vw - 1400px) / 2));
    }
}

/* Main Menu */
@media (max-width:1400px){
.container{
    max-width:100% !important;
}
}
.container-fluid{
    overflow: hidden;
}
@media (min-width: 1200px) {
.container{
    max-width:1400px !important;
}
}

.anchor-offset {
    display: block;
    position: relative;
    top: -100px; /* Negative value for upward offset */
    height: 0;
    visibility: hidden;
  }

/* Full width, full height for header background */
.header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Centers horizontally */
    justify-content: center; /* Centers vertically */
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    z-index: 1;
}

.header-title {
    position: relative;
    z-index: 2; /* Ensures it appears above the video/image */
    color: white; /* Adjust text color for visibility */
    font-size: 2.5rem; /* Adjust as needed */
    padding: 20px;
    font-weight: 100;
    font-family: 'Avenir Next', sans-serif;
    margin: 0;
}

.header-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    width: 100%;
}

.header-logo img {
    /*max-width: 200px;*/
    height: auto;
    filter: brightness(0) invert(1);
    margin: 0 auto;
    display: block;
    width: 100%;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.header-background video,
.header-background .header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-background .header-image {
    background-size: cover;
    background-position: center;
}
/* Extra large section headline with responsive sizing */
.section-headline-xl {
    font-size: clamp(3rem, 15vw, 12rem);
    font-family: 'Made Tommy Bold', sans-serif;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    padding: 40px 0;
    text-align: left;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-headline-xl.text-scramble {
    display: inline-block;
    width: 100%;
}

.section-headline-xl .char {
    display: inline-block;
    transition: none;
}

.introduction-title{
    font-size: 3.5rem;
    font-family: 'Made Tommy Bold', sans-serif;
    font-weight: normal;
    margin-bottom: 75px;
}
.section-title{
    color:var(--primary-headline-color);
    font-size: 3rem;
    font-family: 'Made Tommy Regular', sans-serif;
    font-weight: normal;
    margin-bottom: 50px;
    text-align: center;
}
.text-content p{
    font-size: 1.1rem;
    font-weight: 100;
}
@media (max-width: 992px){
    .text-content p{
        font-size: 1rem;
    }
    .introduction-title{
        font-size: 2rem;
    }
    .section-title{
    margin-bottom: 25px;
    margin-top: 35px;
    text-align: center;
    }

}
#services{
    background-color:var(--primary-bg-color);
    z-index: 300;
    position: relative;
    margin-bottom:100px;
    
}
.service-post-container{
    padding:50px 0px;
    background-color: var(--third-text-color);
}
@media (max-width:992px){
    .service-post-container{
        
    }   
}

.service-text-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.service-text{
    margin-top:-75px;
}
@media (max-width:992px){
    .service-text{
        margin-bottom:50px;
    }
}


.service-text-wrapper-right{
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media (max-width:768px){
    .service-text-wrapper{
    padding: 0px 25px !important;
    }
    .service-text-wrapper-right{
        padding: 0px 25px !important;
    }
}

.service-title-wrapper{
    width:100%;
}
.service-title-wrapper .text-content p{
    margin-bottom: 3px;
}

@media (max-width:992px){
    .service-title-wrapper{
        text-align: center;
        margin: 0 auto;
        width: 430px;
    }
    .service-text{
        margin-top:0px;
    }
}
@media (max-width:576px){
    .service-title-wrapper{
        max-width:100%;
        margin-left: 0px;
    }   
}

.content-title{
    font-family: 'EB+Garamond';
    margin: 30px 0px 0px 0px;
    padding: 0px 0px 10px 0px;
    color: var(--primary-headline-color);
    font-weight: 800;
    font-size: 2.2rem;
}


.section-transition {
    height:200px;
    background-color: var(--primary-bg-color);
    z-index: 500;
    position: relative;
    
}

/* Adjust for mobile when menu is visible */
@media (max-width: 768px) {
    .section-transition {
        
    }
    
    /* When menu is open, adjust the padding */
    #mobile-menu.active ~ .section-transition {
        
    }
}
.image-container {
    overflow: hidden;
    width: 100%;
    height: auto;
    display: inline-block; /* Ensures the container shrinks to the size of the image */
  }
.image-padding-left{
    
}
/* ANIMATIONS */

  
  .zoom-effect img {
    transition: transform 1.3s ease;
    object-fit: cover; /* Ensures the image scales proportionally */
    width: 100%;
    height: auto;
  }
  
  .zoom-effect:hover img {
    transform: scale(1.03); /* Zooms the image by 20% */
  }
.scroll-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background-color: black;
    transform-origin: top center;
    transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: height;
}

.scroll-line.visible {
    height: 150px;
    transition: height 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-line-vertical {
    z-index: 500;
    margin-top: 15px;
    width: 0;
    height: 1px;
    background-color: #fff;
    transform-origin: left center;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    will-change: width;
}

.scroll-line-vertical.visible {
    width: 250px;
    transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
@media (max-width: 1200px) {
    .scroll-line {
        transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .scroll-line.visible {
        transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@media (max-width: 768px) {
    .scroll-line.visible {
    
    }
    
    .scroll-line-vertical.visible {
        width: 180px;
    }
}

.main-image img{
    max-width: 100%;
    height: auto;
    display: block; /* Optional: removes bottom space below the image */
    
}

.portfolio-link,
.portfolio-link * {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--link-color);
    transition: color 0.2s ease-in-out;
}
.portfolio-link:hover,
.portfolio-link:hover * {
    color: var(--link-hover-color) !important;
}

.portfolio-link-container{
    display: flex;
    align-items: center;
    margin-top: 25px;
    margin-left: 0px !important;
    padding-left: 0px !important;
}
@media (max-width: 992px) {
    .portfolio-link-container{
    justify-content: center;
    margin-left: 50px !important;
    }
}
.portfolio-link-icon {
    width: 38px;
    transition: color 0.2s ease-in-out;
}
.portfolio-link-icon svg {
    width: 100%;
    height: auto;
    max-width: 50px; /* Set a reasonable max width */
}
.portfolio-link-icon-wrapper{
    float:left;
    display: flex;
    align-items: center;
    height:100%;
}
@media (max-width:768px){
    .portfolio-link-icon {
        width:35px;
        height: 35px;
    }
}
.portfolio-text-wrapper{
    margin-left:10px;
    float:left;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
}
.portfolio-link-text{
    line-height: 1.5rem;
    font-size: 1.5rem;
    font-family: 'EB+Garamond';
    margin-bottom: -3px;
  }
.portfolio-link-subtext{
    font-size: 0.9rem;
}
@media (max-width:576px){
    .portfolio-link-text{
        font-size: 1.2rem;
        margin-bottom: -5px;
    }
    .portfolio-link-subtext{
        font-size: 0.8rem;;
    }
}

.portfolio-link-arrow.hover-lottie {
    color: var(--link-color);
    transition: color 0.2s ease-in-out;
}

.portfolio-link:hover .portfolio-link-arrow.hover-lottie {
    color: var(--link-hover-color);
}

@media (max-width:576px){
    .portfolio-link-arrow.hover-lottie{
        display:none;
    }
}
.primary-colors{
    background-color: var(--primary-bg-color);
    color: var(--primary-text-color);
}
.secondary-colors{
    background-color: var(--secondary-bg-color);
    color: var(--secondary-text-color);
}
.primary-link-colors, .primary-link-colors *{
    color:var(--primary-link-color) !important;
}
.secondary-link-colors, .secondary-link-colors *{
    color:var(--secondary-link-color) !important;
}
.primary-link-colors:hover, .primary-link-colors:hover *{
    color:var(--primary-link-hover-color)  !important;
}
.secondary-link-colors:hover, .secondary-link-colors:hover * {
    color:var(--secondary-link-hover-color) !important;
}
.hover-lottie {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.hover-lottie div.lottie-arrow {
    margin-left: 10px;  /* Adjust distance from the link */
    pointer-events: none;  /* Ensures the animation doesn't block clicking the link */
}
@media (min-width: 1200px) {
.left-margin-25{
    margin:0px 0px 0px 15px;
}
.right-margin-25{
    margin:0px 15px 0px 0px;
}
}

@media (min-width: 1200px) {
    .left-spacing{
        padding-left:25px !important;
    }
    .right-spacing{
        padding-right:25px !important;
    }
    }

.my-custom-lottie {
    height: 63px;
}
.service-lottie svg{
    width:auto !important;
    max-width:100%;
}
@media (max-width:992px){
    .service-lottie svg{
        width:100% !important;
    }
} 
.fade-in-top, .fade-in-bottom {
    opacity: 0;
    transform: translateY(-16px) scale(0.985);
    transition: opacity 0.85s cubic-bezier(0.22, 0.7, 0.3, 1),
                transform 0.95s cubic-bezier(0.22, 0.7, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.fade-in-bottom {
    transform: translateY(16px) scale(0.985);
}
/* Visible state for top/bottom */
.fade-in-top.visible,
.fade-in-bottom.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.fade-in-left, .fade-in-right {
    opacity: 0;
    transform: translateX(-16px) scale(0.985);
    transition: opacity 0.85s cubic-bezier(0.22, 0.7, 0.3, 1),
                transform 0.95s cubic-bezier(0.22, 0.7, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.fade-in-left {
    transform: translateX(16px) scale(0.985);
}

.fade-in-left.visible, .fade-in-right.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}
/* Parent container must have this class to enable child delays */
.fade-in-parent .fade-in-item:nth-child(1) { transition-delay: 0.18s; }
.fade-in-parent .fade-in-item:nth-child(2) { transition-delay: 0.36s; }
.fade-in-parent .fade-in-item:nth-child(3) { transition-delay: 0.54s; }
.fade-in-parent .fade-in-item:nth-child(4) { transition-delay: 0.72s; }
.fade-in-parent .fade-in-item:nth-child(5) { transition-delay: 0.90s; }
.fade-in-parent .fade-in-item:nth-child(6) { transition-delay: 1.08s; }

/* Prefers reduced motion: minimize animation while retaining visibility */
@media (prefers-reduced-motion: reduce) {
    .fade-in-top, .fade-in-bottom, .fade-in-left, .fade-in-right {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Add fade-in-item class to all fade-in elements */
.fade-in-left.fade-in-item,
.fade-in-right.fade-in-item,
.fade-in-top.fade-in-item,
.fade-in-bottom.fade-in-item {
    will-change: opacity, transform;
}


.hidden-for-observer {
    opacity: 0;
}
/*PAGE PRE LOADER */
/* Fullscreen Loader */
#preloader {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-out;
    pointer-events: auto;
}

/* Loader Animation */
.loader {
    width: 60px;
    height: 60px;
    /* border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite; */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide Preloader After Page Load */
/* Statistics Section Styles */
.statistics-section {
    margin-top: 100px;
}

.statistics-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.statistic-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}
@media (max-width: 992px) {
    .statistic-item {
        padding: 25px 0px;
    }
}

.statistic-image {
    max-width: 50px !important;
    height: auto;
    margin-bottom: 1rem;
}
@media (max-width: 992px) {
    .statistic-image {
        margin-bottom: 0;
    }
}

.lottie-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.statistic-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--third-headline-color);
    margin: 1rem 0 0.5rem;
}

.statistic-text {
    font-size: 1.3rem;
    font-family: 'Made Tommy Light', sans-serif;
    font-weight: 100;
    margin: 0.5rem 0;
    color: var(--primary-text-color) !important;
}

.statistic-source {
    font-size: 0.8rem;
    color: #666666;
}
/* Animated Words */
.animated-word {
    display: inline-block;
    will-change: transform, opacity;
}
/* Animated Line */
.animated-text-wrapper{
    font-family: 'EB Garamond', serif;
}
.animated-line-container {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.animated-line {
    width: 100%;
    height: 2px;
    background-color: #000;
    text-align: center;
    transform: scaleX(0);
    transition: transform 0.1s ease-in-out;
}
.info-headline{
    line-height: 1.05;
    font-size: clamp(2.5rem, 8vw, 9rem);
    color: var(--primary-headline-color);
}
/* Info Text Styles */
.info-text-section{
    background-color: var(--main-bg-color);
    padding: 50px;   
}

.info-text-section-title {
    margin-bottom: 40px;
}

.info-text-item {
    /* background: #fff; */
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .info-text-item {
        padding: 25px 0px;
    }
}

.info-text-title {
    font-family: 'EB+Garamond';
    font-weight: bolder;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--third-headline-color);
}
@media (max-width: 992px) {
    .info-text-title {
        font-size: 1.5rem;
    }
}

.info-text-content {
    color: var(--primary-text-color);
    line-height: 1.6;
    font-size: 1.3rem;
    line-height: 1.6;
    font-family: 'Made Tommy Light', sans-serif;
}
@media (max-width: 992px) {
    .info-text-content {
        font-size: 1rem;
    }
}



.info-text-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* Media Text Section */
.media-text-section {
  position: relative;
}
.media-text-section .media-text-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  max-height: 85vh;
  height: clamp(55vh, 72vh, 85vh);
  overflow: hidden;
}
.media-text-section .media-text-hero .media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-text-section .media-text-hero::after {
  content: none; /* remove graded overlay */
}
.media-text-section .media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center; /* vertically centered */
  height:400px;
  justify-content: center;
  padding: 4rem 1.25rem; /* balanced padding */
  color: #fff;
  text-align: center;
}
.media-text-section .media-overlay img {
  width: 300px;
  max-width: 100%;
  height: auto;
}
.media-text-section .media-text-section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  line-height: 1.15;
  color: #fff;
}
.media-text-section .animated-text-wrapper {
  max-width: 1000px;
}
.media-text-section .animated-text-line {
  margin: 0.15rem 0;
  font-size: 2.3rem;
}
.animated-text-line .animated-word{
    margin:0px 5px;
}
.media-text-section .animated-word .word-text {
  color: #000 !important;
}
.media-text-section .media-overlay-logo-word {
  opacity: 0.1;
}
.media-text-section .media-overlay-logo-line {
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-text-section .media-overlay-logo-word img {
  display: block;
  opacity: 1;
}
@media (max-width: 768px) {
  .media-text-section .media-overlay {
    align-items: start;
    padding: 3rem 1rem;
  }
}
#media-text{
    margin: 100px 0px;
}
.media-text-section {
    margin: 100px 0px !important;
}

.media-text-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.media-text-media {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    position: relative;
}

.media-text-media img,
.media-text-media video {
    width: 100%;
    height: auto;
    display: block;
}

.media-text-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.animated-text-line {
    margin: 0;
    line-height: 1.1;
    font-size: 3rem;
    font-weight: bold;
    color: #000;

}
.animated-text-media-wrapper img{
    max-width:100%;
}
@media (max-width: 1400px) {
    .animated-text-line {
        font-size: 3rem;
    }
}
@media (max-width:992px){
    
.animated-text-wrapper{
    padding-top:25px !important;
    text-align: center !important;
}
}
@media (min-width:992px){
    
.animated-text-wrapper{
    padding-left:25px !important;
}
}

.animated-word {
    display: inline-block;
    opacity: 0.1;
    will-change: opacity;
    transition: opacity 0.2s ease-out;
}



.animated-line.animate {
    transition: transform 2s ease-in-out;
    transform: scaleX(1);
;}

.statistic-source {
    margin: 0.25rem 0 0;
    font-style: italic;
}

@media (max-width: 1400px) {
    .statistics-title {
        font-size: 2rem;
    }
}



/* Footer Styles */
.custom-footer {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}
.custom-footer-contact-padding{
    padding-top:100px;
}

@media (min-width: 768px) {
    .custom-footer {
        min-height: 400px;
    }
}
.footer-sitemap-title{
    text-align: left;
}
@media (max-width: 768px) {
    .footer-sitemap-title{
        text-align: center;
}
}
.footer-center-content,
.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.footer-center-content {
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-center {
    text-align: center;
}
.footer-content {
    padding: 60px 0;
    width: 100%;
}
.footer-content .row .sitemap-link-row{
    align-items: flex-start;
}
@media (max-width:768px){
.footer-content .row .sitemap-link-row{
    align-items: flex-start;
    text-align: center;
}
}
.footer-content .row {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.footer-content a {
    color: #fff !important;
    text-decoration: none;
    position: relative;
}

.footer-content a:hover {
    color: #fff !important;
    opacity: 1 !important;
}

.footer-content a:hover::before {
    transform: scaleX(1);
}

.footer-content a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.3s ease;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0px;
    padding: 0px;
    line-height: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link-item a{
    font-size: 1rem;
}

/* Footer Contact Info Styles */
@media (max-width:768px){
.footer-contact-info{
    text-align: center;
}
}
.footer-contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-contact-info address {
    font-style: normal;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact-info p {
    margin-bottom: 0.5rem;
}

.footer-contact-info a {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.footer-contact-info .footer-phone,
.footer-contact-info .footer-email {
    align-items: center;
    gap: 0.5rem;
}
.footer-contact-data{
    margin-top: 25px;
}
.footer-logo {
    height: auto;
    margin:0 auto;
}

.footer-contact-info h3 {
    margin-bottom: 20px;
}

.footer-contact-info p {
    margin-bottom: 0px;
}


@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 20px;
    }
    .statistic-text {
    max-width: 75%;
    margin: 0 auto;
    }

}
    
    .statistic-text {
        font-size: 1.1rem;
    }
    
    .statistic-title {
        font-size: 1rem;
    }


.hidden-preloader {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}
/*PAGE PRE LOADER END */
/* Footer */

.custom-footer {
    position: relative;
    z-index:100;
    width: 100%;
    background-size: cover;   /* Ensure the image fully covers the footer */
    background-position: center;  /* Center the background image */
    position: relative;
    min-height: 200px; /* Set a minimum height for the footer */
    padding: 20px 0; /* Some padding to ensure the footer has height */
    max-height:800px;
    min-height:400px;
}
@media (max-width:768px){
.custom-footer, .footer-contact-form-padding{
    padding-top:100px;
}
}
.footer-content {
    position: relative;
    z-index: 1; /* Ensure footer content is above the background */
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-content h1,
.footer-content h2,
.footer-content h3,
.footer-content h4,
.footer-content p,
.footer-content a,
.footer-content span,
.footer-content address,
.footer-links a,
.footer-contact-info,
.footer-sitemap-title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

a[href^="tel:"] {
    color: var(--link-color); /* Set the color to your global link color */
    text-decoration: none; /* Optional: Remove the underline */
}

a[href^="tel:"]:hover {
    color: var(--link-hover-color); /* Change on hover */
}

/* Introduction Section Styles */
#introduction {
    background-color:var(--primary-bg-color);
    position: relative;
    z-index: 200;
}

.introduction-content {
    text-align: left;
    margin: 0 auto;
}

.introduction-content .text-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.introduction-content .text-content p {
    text-align: justify;
    margin: 0;
}

@media (max-width: 992px) {
    .introduction-content .text-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .introduction-content .text-content {
        grid-template-columns: 1fr;
    }
}

/* Introduction Expandable Content */
.intro-expandable {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Hide paragraphs after the first 3 - use max-height for smooth animation */
.intro-expandable p:nth-child(n+4) {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}

/* Show all paragraphs when expanded */
.intro-expandable.expanded p:nth-child(n+4) {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 1em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-read-more,
.intro-read-less {
    display: inline-block;
    margin-top: 30px;
    font-family: 'Made Tommy Bold', sans-serif;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.intro-read-more:hover,
.intro-read-less:hover {
    opacity: 0.7;
}

/* Hide weniger by default - use opacity for smooth transition */
.intro-read-less {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.3s ease;
}

/* When expanded: hide mehr, show weniger */
.intro-expandable.expanded + .intro-read-more {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.intro-expandable.expanded + .intro-read-more + .intro-read-less {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

@media (max-width: 992px) {
    .intro-expandable {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .intro-expandable {
        grid-template-columns: 1fr;
    }
}

.introduction-image-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 50px;
}

.introduction-image {
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.introduction-image.scroll-zoom img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Team Crossfade Effect */
.team-crossfade {
    position: relative;
}

.team-crossfade .team-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.team-crossfade .team-image-1 {
    position: relative;
    z-index: 1;
}

.team-crossfade .team-image-2 {
    z-index: 2;
    animation: teamCrossfade 10s ease-in-out infinite;
}

@keyframes teamCrossfade {
    0%, 40% {
        opacity: 0;
    }
    50%, 90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    #introduction {
    }
    
    .introduction-image {
        margin-top: 30px;
    }
}

/* Reference Logos Carousel */
.reference-logos-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.reference-logos-header {
    text-align: center;
    margin-bottom: 40px;
}

.reference-logos-headline {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.reference-logos-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.carousel-pacman-wrapper {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.carousel-arrow-left {
    border: none;
}

.carousel-arrow-left:hover {
    background: transparent;
}

.carousel-arrow-right {
    border: 1px solid var(--color-text);
}

.carousel-arrow-right:hover {
    background: var(--color-text);
    color: var(--color-background);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Pac-Man Styling */
.pacman {
    transition: transform 0.2s ease;
}

.pacman-jaw-top,
.pacman-jaw-bottom {
    transform-origin: 50px 50px;
}

.carousel-arrow-left.eating .pacman-jaw-top,
.carousel-arrow-left.spitting .pacman-jaw-top {
    animation: jawTopChomp 0.15s ease-in-out 3;
}

.carousel-arrow-left.eating .pacman-jaw-bottom,
.carousel-arrow-left.spitting .pacman-jaw-bottom {
    animation: jawBottomChomp 0.15s ease-in-out 3;
}

@keyframes jawTopChomp {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

@keyframes jawBottomChomp {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-background, #fff) 80%);
    pointer-events: none;
    z-index: 5;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-link {
    text-decoration: none;
}

.logo-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: var(--color-background);
    padding: 5px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.logo-item:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    .carousel-slide {
        width: 130px;
    }
    
    .carousel-track {
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        width: 120px;
    }
    
    .carousel-track {
        gap: 30px;
    }
    
    .reference-logos-headline {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .reference-logos-section {
        padding: 40px 0;
    }
    
    .reference-logos-header {
        margin-bottom: 30px;
    }
    
    .reference-logos-headline {
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        width: 100px;
    }
    
    .carousel-track {
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .reference-logos-section {
        padding: 30px 0;
    }
    
    .reference-logos-carousel {
        gap: 10px;
    }
    
    .reference-logos-headline {
        font-size: 1.25rem;
    }
    
    .carousel-arrow-left .pacman {
        width: 45px;
        height: 45px;
    }
    
    .carousel-arrow-right {
        width: 45px;
        height: 45px;
    }
    
    .carousel-slide {
        width: 80px;
    }
    
    .carousel-track {
        gap: 15px;
    }
    
    .logo-item {
        padding: 10px;
    }
    
    .logo-item img {
        max-height: 60px;
    }
    
    .carousel-track-container::after {
        width: 60px;
    }
}

#about-section{
    margin-top:0px;
}
.about-headline{
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .about-headline{
        margin-top:25px;
    }
}
.about-text{
    color:var(--primary-text-color);
    font-family: 'Made Tommy Light', sans-serif;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .about-content{
     text-align: center;   
    }
}
.about-photo .img-fluid {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Ensure About section image matches text height */
.about-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6rem;
}

@media (max-width: 768px) {
  .about-row {
    gap: 1rem;
  }
}
@media (max-width: 992px) {
    .about-row {
      gap: 4rem;
    }
  }
@media (max-width: 1200px) {
    .about-row {
      gap: 3rem;
    }
  }
  

.about-photo {
    height: 100%;
  display: flex;
  align-items: stretch;
}

.about-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================================
   SERVICES SECTION
   ================================ */
.services-section {
    background-color: var(--primary-bg-color);
    padding: 80px 0;
    position: relative;
    z-index: 200;
}

.services-list {
    border-top: 1px solid #000;
}

.service-block {
    position: relative;
    border-bottom: 1px solid #000;
    overflow: hidden;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-block:hover::before {
    transform: translateX(0);
}

/* Service hover image - slides in from right (inside .services-section) */
.service-hover-image {
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999; /* Wide screens: image on top, text has enough space */
    pointer-events: none;
}

.service-hover-image.active {
    transform: translateX(0);
}

/* Narrower screens: hovered block overlays the image for readability */
@media (max-width: 1200px) {
    .service-block {
        z-index: 0;
    }
    .service-block:hover {
        z-index: 2;
    }
    .service-hover-image {
        z-index: 1;
    }
}

/* Hide the old service-image elements */
.service-image {
    display: none;
}


/* Strong vibrant colors for each service block */
.service-block:nth-child(1)::before {
    background-color: #0008e9;
}
.service-block:nth-child(2)::before {
    background-color: #0008e9;
}
.service-block:nth-child(3)::before {
    background-color: #0008e9;
}
.service-block:nth-child(4)::before {
    background-color: #0008e9;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 25px 0;
    position: relative;
    z-index: 1;
}

.service-category {
    display: flex;
    align-items: flex-start;
}

.category-name {
    font-family: 'Made Tommy Bold', sans-serif;
    font-size: 1.2rem;
    color: #000;
    transition: color 0.3s ease;
}

.service-block:hover .category-name {
    color: #fff;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-item {
    font-family: 'Made Tommy Regular', sans-serif;
    font-size: 1rem;
    color: #000;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-block:hover .service-item {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-section {
        padding: 50px 0;
    }
}

/* ================================
   WORLD MAP SECTION
   ================================ */
.world-map-section {
    padding: 80px 0 40px;
    background-color: #fff;
}

.world-map-headline {
    font-family: 'Made Tommy Bold', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 40px 0;
    text-align: left;
}

@media (max-width: 768px) {
    .world-map-headline {
        font-size: 2rem;
        text-align: center;
    }
    
    .world-map-section {
        padding: 50px 0 30px;
    }
}

/* ================================
   SHOWROOM SECTION
   ================================ */
.showroom-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Massive overlay headline */
.showroom-headline-overlay {
    position: absolute;
    top: 20%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 100;
    font-family: 'Made Tommy Bold', sans-serif;
    font-size: clamp(3rem, 12vw, 14rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #000;
    pointer-events: none;
    white-space: nowrap;
    mix-blend-mode: difference;
    filter: invert(1);
}

.showroom-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(7, 1fr);
    width: 100%;
    min-height: 100vh;
    gap: 5px;
    padding: 60px 0;
}

.collage-item {
    overflow: hidden;
    position: relative;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    will-change: transform;
}

.collage-item:hover img {
    filter: brightness(1.05);
}

/* Grid positioning for 7 images + text card - organic uneven collage */
.collage-item-1 {
    grid-column: 1 / 5;
    grid-row: 1 / 6;
    margin-top: -40px;
}

.collage-item-2 {
    grid-column: 5 / 8;
    grid-row: 1 / 4;
    margin-top: 20px;
}

.collage-item-3 {
    grid-column: 8 / 13;
    grid-row: 1 / 5;
    margin-top: -25px;
}

.collage-item-4 {
    grid-column: 5 / 8;
    grid-row: 4 / 8;
}

.collage-item-5 {
    grid-column: 1 / 4;
    grid-row: 6 / 10;
    margin-bottom: 30px;
}

.collage-item-6 {
    grid-column: 4 / 8;
    grid-row: 8 / 13;
    margin-bottom: -35px;
}

.collage-item-7 {
    grid-column: 1 / 4;
    grid-row: 10 / 13;
    margin-bottom: -20px;
}

/* Text Card - Below Grid, Centered */
.showroom-card {
    width: 50%;
    max-width: 700px;
    margin: 40px auto 60px;
    background: transparent;
    padding: 0 20px;
    text-align: center;
}

.showroom-text {
    font-family: 'Made Tommy Light', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

.showroom-text p {
    margin: 0 0 16px 0;
}

/* Reveal effect for visible showroom text */
.showroom-text-visible {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.showroom-animate-trigger.triggered .showroom-text-visible {
    opacity: 1;
    transform: translateY(0);
}

.showroom-text p:last-child {
    margin-bottom: 0;
}

.showroom-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.6s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.showroom-expandable.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 16px;
}

.showroom-expandable p {
    animation: fadeInUp 0.5s ease forwards;
    animation-play-state: paused;
}

.showroom-expandable.expanded p {
    animation-play-state: running;
}

.showroom-expandable.expanded p:nth-child(1) { animation-delay: 0.1s; }
.showroom-expandable.expanded p:nth-child(2) { animation-delay: 0.2s; }
.showroom-expandable.expanded p:nth-child(3) { animation-delay: 0.3s; }

.showroom-text {
    position: relative;
}

.showroom-read-more,
.showroom-read-less {
    display: inline-block;
    margin-top: 30px;
    padding: 0;
    background: transparent;
    border: none;
    font-family: 'Made Tommy Bold', sans-serif;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* Reveal effect for read more button */
.showroom-read-more {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.showroom-animate-trigger.triggered .showroom-read-more {
    opacity: 1;
    transform: translateY(0);
}

.showroom-read-more:hover,
.showroom-read-less:hover {
    opacity: 0.7;
}

/* Hide weniger by default - use opacity for smooth transition */
.showroom-read-less {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

/* When expanded: hide mehr, show weniger */
.showroom-expandable.expanded + .showroom-read-more {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.showroom-expandable.expanded + .showroom-read-more + .showroom-read-less {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}


/* Showroom slide-in animations - all trigger together */
.showroom-animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22, 0.7, 0.3, 1),
                transform 0.8s cubic-bezier(0.22, 0.7, 0.3, 1);
    will-change: opacity, transform;
}

.showroom-animate-top {
    transform: translateY(-30px);
}

.showroom-animate-bottom {
    transform: translateY(30px);
}

.showroom-animate-left {
    transform: translateX(-30px);
}

.showroom-animate-right {
    transform: translateX(30px);
}

/* When section is triggered, all animate in */
.showroom-animate-trigger.triggered .showroom-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger the animations slightly */
.showroom-animate-trigger.triggered .collage-item-1 { transition-delay: 0s; }
.showroom-animate-trigger.triggered .collage-item-2 { transition-delay: 0.05s; }
.showroom-animate-trigger.triggered .collage-item-3 { transition-delay: 0.1s; }
.showroom-animate-trigger.triggered .collage-item-4 { transition-delay: 0.15s; }
.showroom-animate-trigger.triggered .collage-item-5 { transition-delay: 0.2s; }
.showroom-animate-trigger.triggered .collage-item-6 { transition-delay: 0.25s; }
.showroom-animate-trigger.triggered .collage-item-7 { transition-delay: 0.3s; }
.showroom-animate-trigger.triggered .showroom-card { transition-delay: 0.35s; }
.showroom-animate-trigger.triggered .showroom-headline-overlay { transition-delay: 0.1s; }

/* Tablet */
@media (max-width: 1200px) {
    .showroom-section {
        min-height: auto;
    }

    .showroom-headline-overlay {
        top: 15%;
        left: 25px;
        font-size: clamp(2.5rem, 10vw, 8rem);
    }
    
    .showroom-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: minmax(180px, auto);
        min-height: auto;
        gap: 12px;
        padding: 40px 0;
    }
    
    .collage-item-1 {
        grid-column: 1 / 2;
        grid-row: 1;
        min-height: 180px;
        margin-top: 0;
    }
    
    .collage-item-2 {
        grid-column: 2 / 3;
        grid-row: 1;
        min-height: 140px;
        margin-top: 0;
    }
    
    .collage-item-3 {
        grid-column: 1 / 2;
        grid-row: 2;
        min-height: 140px;
        margin-top: 0;
    }
    
    .collage-item-4 {
        grid-column: 2 / 3;
        grid-row: 2;
        min-height: 140px;
        margin-top: 0;
    }
    
    .showroom-card {
        width: 70%;
        margin: 30px auto 50px;
        padding: 0 15px;
    }
    
    .showroom-text {
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .showroom-section {
        min-height: auto;
    }

    .showroom-headline-overlay {
        top: 10%;
        left: 20px;
        font-size: clamp(2rem, 12vw, 4rem);
    }
    
    .showroom-collage {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 10px;
        min-height: auto;
        padding: 30px 0;
    }
    
    .collage-item-1 {
        grid-column: 1;
        grid-row: auto;
        min-height: 180px;
        margin-top: 0;
    }
    
    .collage-item-2 {
        grid-column: 1;
        grid-row: auto;
        min-height: 160px;
        margin-top: 0;
    }
    
    .collage-item-3,
    .collage-item-4 {
        display: none;
    }
    
    .showroom-card {
        width: 90%;
        margin: 25px auto 40px;
        padding: 0 10px;
    }
    
    .showroom-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .showroom-text p {
        margin-bottom: 12px;
    }
}
