@import '/styles/global.css';
@import '/styles/HeaderManager.css';
@import '/styles/FooterManager.css';
@import '/styles/SignupElement.css';
@import '/styles/CookieConsent/CookieConsent.css';
@import '/styles/CookieConsent/CookiePreferences.css';

/* ------------ */
/*  Solutions Hero Section */
/* ------------ */
.solutions-hero-section {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: var(--color-black); /* Black background for areas beyond 1800px */
}
.solutions-hero-image {
    position: relative; 
    min-height: 500px;
    max-height: 55vh;
    background-image: url('/assets/images-v3/Hero_Solutions.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
}
.solutions-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.0) 50%
    );
    z-index: 1; /* sits above background, below content */
}
.solutions-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: clamp(3rem, 8vh, 6rem);
}
.hero-title {
    font-size: clamp(1rem, 1vw, 1.4rem);
    max-width: 50%;
    color: var(--color-white);
    font-family: "Inter", sans-serif;
    font-weight: 700;
    margin-left: 0; 
}
.solutions-hero-content h1 {
    max-width: 50%;
    color: var(--color-white);
    margin-left: 0; 
    font-weight: 500;
    padding-bottom: 30px;
}
.solutions-hero-content p {
    max-width: 45%;
    color: var(--color-white);
    margin-left: 0;
}
/*------------*/
.solutions-hero-navigation-section {
    background-color: var(--color-blue-nav-carousel);
    height: 55px;
    display: flex; 
    width: 100%;
    margin: 0 auto;
}
.solutions-hero-navigation-section.is-sticky {
    position: fixed;
    /*JS handles height*/
    left: 0;
    width: 100%;
    z-index: 50;
}
/*------------*/
.solutions-sub-nav {
    max-width: 1500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    padding-inline: 120px; 
}
.solutions-sub-nav a {
    margin-left: 0;
    margin-right: 26px;
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
}
.solutions-sub-nav a:last-child {
    margin-right: 0px;
}
.solutions-sub-nav a h5 {
    color: var(--color-white);
    font-weight: 700;
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    margin: 0;
}

/* Underline effect */
.solutions-sub-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-underline-cta);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Hover state for all links EXCEPT active ones */
.solutions-sub-nav a:not(.active):hover::after {
    transform: scaleX(1);
}

/* Active state */
.solutions-sub-nav a.active::after {
    transform: scaleX(1);
}
/*-----------------*/
/*  Mobile leading text  see global.css */
/*-----------------*/



/*-----------------*/
/*  Split Scroll Wrapper */
/*-----------------*/
.split-scroll-wrapper {
    position: relative;
    overflow: visible; /* This allows sticky to work */
}
/*-----------------*/
/*  Split Layout   */
/*-----------------*/

.split-layout {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 0 0; /* Remove horizontal padding */
    display: grid;
    grid-template-columns: 370px 1fr;
    min-height: 100vh;
    gap: 40px;
    position: relative; /* Important for positioning context */
    border: none;
    outline: none;
}

/*-----------------*/
/*  Left Sidebar - Fixed positioning   */
/*-----------------*/
.sol-sidebar {
    position: sticky;
    top: 205px;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    padding: 20px 0 2rem 120px;
    width: 370px;
}

/* Navigation styles */
.sol-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
  
.sol-sidebar-nav li {
    margin-bottom: 0.3rem;
}
  
.sol-sidebar-nav a {
    text-decoration: none;
    color: var(--color-black);
    display: block;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.sol-sidebar-nav a:hover,
.sol-sidebar-nav a.active {
    background: var(--color-gradient-website);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; /* Slightly bolder for emphasis */
    font-size: 1.4rem;
}
  
/* CTA Box */
.sol-sidebar-cta {
    background-color: var(--color-blue-nav-carousel); 
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: auto;
    border: none;
    outline: none;
}
  
.sol-sidebar-cta h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.sol-sidebar-cta p {
    color: white;
}
  

/*-----------------*/
/* Right Content - Natural scroll */
/*-----------------*/  
.main-content {
    width: 100%;
    padding: 20px 120px 2rem 0;
    grid-column: 2; /* Ensure it's in the second column */
}
  /* Sections in main content */
.main-content section {
    margin-bottom: 2rem;
    scroll-margin-top: 2rem; /* Offset for better scroll positioning */
}
.feature-image {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    width: 100%;
    border-radius: 20px;
}
.feature-text {
    margin-left: 30px;
}
.feature-text h5 {
    color: var(--color-white);
    margin-left: 0;
    margin-bottom: 10px;
}
.feature-text h2 {
    color: var(--color-white);
    margin-left: 0;
    margin-bottom: 30px;
    padding-bottom: 0;
}
.image-text {
    margin-left: 30px;
}

.feature-button {
    display: inline-flex;
    background-color: var(--color-framed-cta);
    padding: 4px 15px;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all ease-in-out 0.4s;
    margin-right: 30px;
    margin-bottom: 30px;
}

.feature-image-1 {background-image: url("/assets/images-v3/Solutions_Public_Transit.webp");}
.feature-image-2 {background-image: url("/assets/images-v3/Solutions_Reception.webp");}
.feature-image-3 {background-image: url("/assets/images-v3/Solutions_Airports.webp");}
.feature-image-4 {background-image: url("/assets/images-v3/Solutions_Advertisement.webp");}
.feature-image-5 {background-image: url("/assets/images-v3/Solutions_Retail.webp");}
.feature-image-6 {background-image: url("/assets/images-v3/Solutions_Stadium.webp");}
.feature-image-7 {background-image: url("/assets/images-v3/Solutions_Ride_Hailing.webp");}
.feature-image-8 {background-image: url("/assets/images-v3/Solutions_Offices.webp");}

.content-area {
    width: 100%;
    padding: 30px 30px 0;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    
    width: 1rem;
    height: 1rem;
    
    background: url("/assets/icons-v3/Blue_Check_Mark.svg") no-repeat center;
    background-size: contain;
}


  
  
  
  /* Dropdown content - visible but truncated by default */
.dropdown-content {
    max-height: 3.6em; /* Shows approximately 2 lines of text */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    margin-top: 1rem;
    line-height: 1.8;
  }
  
  /* Fade effect at bottom when collapsed */
  .dropdown-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  
  /* Expanded state */
  .dropdown-content.active {
    max-height: 1000px; /* Adjust based on your longest content */
  }
  
  /* Remove fade when expanded */
  .dropdown-content.active::after {
    opacity: 0;
  }
  
  /* Button styling */
.dropdown-button {
    background: none;
    border: none;
    color: var(--color-framed-cta);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
    position: relative;
  }
  
  .dropdown-button:hover {
    text-decoration: underline;
  }
  
  /* Add caret with ::after */
  .dropdown-button::after {
    content: ' ▼';
    font-size: 0.7em; /* Control caret size here */
    margin-left: 0.3em;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  /* Rotate caret when active */
  .dropdown-button.active::after {
    transform: rotate(180deg);
  }


/* ------------ */
/*  Bring Your Ideas to Life Section */
/* ------------ */

.ideas-to-life-section {
    position: relative;
    overflow: hidden; /* keeps the background clipped to the section */
}

/* Background wave as a pseudo-element — no extra div needed */
.ideas-to-life-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 355px; /* controls how far down the dark background extends */
    background-image: url('/assets/images-v3/Dark_blue_white_waves.webp');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.ideas-to-life-content {
    position: relative; /* sits above the ::before background */
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    text-align: center;
}
.ideas-to-life-content h2 {
    color: var(--color-white);
}
.ideas-to-life-content img {
    margin: 0 auto;
}
.ideas-to-life-content img.laptop {
    max-width: 450px;
    margin: 0 auto;
}

.ideas-to-life-content img.languages {
    max-width: 350px;
    margin: 0 auto;
    padding-block: 30px;
}

.ideas-to-life-content p {
    font-family: "Inter";
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 30px;
}


@media (max-width: 1440px) {
    /* ------------ */
    /*  Solutions Hero Section */
    /* ------------ */
    .solutions-hero-image {
        max-height: 60vh;
        min-height: 650px;
    }
}



@media (max-width: 1024px) {
    /* ------------ */
    /*  Solutions Hero Section */
    /* ------------ */
    .solutions-hero-content {
        padding-inline: 20px;
    }
    .solutions-sub-nav {
        padding-inline: 20px;
    }
    .feature-button {
        font-size: .7rem;
        padding: 6px 13px;
    }
    
    /*-----------------*/
    /*  Split Layout   */
    /*-----------------*/
    .split-layout {
        grid-template-columns: 300px 1fr;
        gap: 20px;
    }

    /*-----------------*/
    /*  Left Sidebar - Fixed positioning   */
    /*-----------------*/
    .sol-sidebar {
        width: 300px;
        padding: 2rem 0 2rem 20px; /* Move left padding here */
    }

    /*-----------------*/
    /* Right Content - Natural scroll */
    /*-----------------*/  
    .main-content {
        padding: 2rem 20px 0 0;
    }
    /* ------------ */
    /*  Bring Your Ideas to Life Section */
    /* ------------ */
    .ideas-to-life-section::before {
        height: 352px; /* controls how far down the dark background extends */
    }
}









 /* SMALLER TABLETS LARGE PHONES  */
@media (max-width: 768px) {
    /* ------------ */
    /*  Solutions Hero Section */
    /* ------------ */
    .solutions-hero-section {
        min-height: 45svh; /* or 45vh fallback */
        display: flex;
        flex-direction: column;
        background-color: transparent; /* Remove black background on mobile */
    }
    .solutions-hero-image {
        flex: 1;
        min-height: 45vh;
        max-height: 1000px;  
    }
    .solutions-hero-image::before {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.0) 40%
        );
        z-index: 1; /* sits above background, below content */
    }
    .hero-title {
        font-weight: 700;
        text-align: center;
        margin-inline: auto;
        font-size: 2rem;
        line-height: 1.5;
        max-width: 450px;
        padding-bottom: 0%;
    }
    .solutions-hero-content h1 {
        display: none;
    }
    .solutions-hero-content p {
        display: none;
    }
    .solutions-hero-content a {
        display: none;
    }

    /* for mobile-leading-text see global.css */

    .solutions-hero-navigation-section {
        height: 30px;
    }
    .solutions-sub-nav {
        display: none;
    }

    /*-----------------*/
    /*  Split Layout   */
    /*-----------------*/
    
    .split-layout {
        grid-template-columns: 1fr; /* Single column */
        padding: 20px 20px 0 0px; /* Adjust padding for mobile */
    }
    .sol-sidebar {
        display: none; /* Hide sidebar completely */
    }
    .main-content {
        padding: 2rem 0; /* Reset padding */
    }
    
    /* ------------ */
    /*  Bring Your Ideas to Life Section */
    /* ------------ */
    .ideas-to-life-section::before {
        height: 273px; /* controls how far down the dark background extends */
    }
    .ideas-to-life-content img.laptop {
        max-width: 300px;
    }
    .ideas-to-life-content img.languages {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .content-area {
        width: 100%;
        padding: 30px 20px;
    }
    .feature-text {
        margin-left: 20px;
    }
    .feature-text h2 {
        margin-left: 0px;
        margin-bottom: 20px;
    }
    .feature-button {
        /* font-size: .6rem; */
        padding: 5px 10px;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .feature-image-4 {
        background-image: url("/assets/images-v3/Solutions_Advertisement.webp");
        background-position: 25% 50%;
    }
    /* ------------ */
    /*  Bring Your Ideas to Life Section */
    /* ------------ */
    .ideas-to-life-section::before {
    height: 270px; /* controls how far down the dark background extends */
    }
    .ideas-to-life-content img.laptop {
    max-width: 280px;
    }
}

