/**
 * Base Styles - Professional Animated Landing Page
 * 
 * Foundation styles for typography, layout, and core elements.
 * Builds upon the CSS reset with semantic styling.
 */

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

* {
    scroll-behavior: smooth;
}

/* ===== FUTURE READY PATH ANIMATION SECTION ===== */
:root {
    --path-track: #d9e4ff;
    --path-progress: #002B73;
    --path-alt-progress: #39B4E7;
    --path-rail-w: 520px;
    --path-bg-alt: #eaf3ff;
}
#future-ready .btn-enquiry {
    border: 1px solid #ffffff;
}
.container.future-ready-container{
    padding-bottom: var(--space-8);
}
.future-ready {
    overflow: visible;
    min-height: 180vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6vh 16px 8vh;
    background: #fff;
    transition: background-color 0.35s ease;
}

.future-ready-container {
    padding:var(--space-24) 0;
}
.future-ready-heading {
    font-family: Polymath;
    font-weight: 700;
    font-size: 56px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-primary);
    
}
span.featurereadyBlack{
    color: var(--color-black);
}
.future-ready-description {
    font-family: Polymath;
    font-weight: 600;
    font-style: Semibold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;   
}
.future-ready.bg-alt {
    background: var(--color-secondary-background-blue);
}

/* Centered rail - sticky with tall height for reveal effect */
.future-ready__rail {
    position: sticky;
    top: 8vh;
    width: min(100%, var(--path-rail-w));
    max-width: var(--path-rail-w);
    height: 220vh;
    min-height: 960px;
}

.path {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Path styling */
.path__track {
    fill: none;
    stroke: var(--path-track);
    stroke-width: 35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.path__progress {
    fill: none;
    stroke: var(--path-progress);
    stroke-width: 35;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
}

.path__progress.alt {
    stroke: var(--path-alt-progress);
}

/* Rail overlay for icons */
.rail-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Icon styling */
.icon {
    position: absolute;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(10, 46, 99, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
    border: 7px solid transparent; /* will be colored when visible */
}

.icon.is-visible {
    opacity: 1;
    transform: scale(1);
    border-color: var(--path-progress); /* default progress color */
}

.icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.icon.alt {
    box-shadow: 0 6px 18px rgba(30, 125, 71, 0.2);
}

/* When alternate theme is active and icon is visible, use alt progress color */
.icon.is-visible.alt {
    border-color: var(--path-alt-progress);
}

/* Force 3rd and last icons to use base progress border like first two */
.rail-overlay .icon:nth-of-type(3).is-visible,
.rail-overlay .icon:last-of-type.is-visible {
    border-color: var(--path-progress) !important;
}

@media (max-width: 992px) {
    .icon {
        width: 70px;
        height: 70px;
        margin: -35px 0 0 -35px;
        border-width: 7px;
    }
}

@media (max-width: 768px) {
    .icon {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        border-width: 4px;
    }
}

/* Button icon at end of timeline */
.icon-button {
    position: relative !important;
    width: fit-content !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    pointer-events: auto !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    z-index: 1000 !important; /* Above next section */
    border: none !important; /* no ring/border for the last CTA button */
}

.icon-button .btn-enquiry-wrapper {
    display: inline-block;
    pointer-events: auto;
}

.icon-button .btn-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 36px 69px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    transform: rotate(20deg); /* Diagonal orientation - left to top, right to bottom */
    box-shadow: 0 6px 20px rgba(0, 43, 115, 0.3);
}

.icon-button .btn-enquiry span {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xxl);
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
}

.icon-button .btn-enquiry-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.icon-button .btn-enquiry:hover {
    background: #001952;
    transform: rotate(8deg) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 43, 115, 0.4);
}

/* Ensure the last CTA icon never receives a border when visible */
.icon-button.is-visible {
    border: none !important;
}

.icon-button .btn-enquiry:hover .btn-enquiry-arrow {
    transform: translateX(5px);
}

/* Feature cards */
.feature {
    width: 100%;
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
    display: grid;
    position: absolute;
    grid-template-columns: 240px 1fr;
    gap: clamp(18px, 3vw, 28px);
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}
.feature:nth-child(even) {
    grid-template-columns: 1fr 240px;
}

.feature.in {
    opacity: 1;
    transform: translateY(0);
}

.feature:nth-child(1) {
    right: 0;
    left: -20%;
    top: 0%;
}

.feature:nth-child(2) {
    left: 0;
    right: -20%;
    top: 20%;
}

.feature:nth-child(3) {
    right: 0;
    left: -20%;
    top: 40%;
}

.feature:nth-child(4) {
    left: 0;
    right: -20%;
    top: 60%;
}

.feature:nth-child(5) {
    right: 0;
    left: -20%;
    top: 80%;
}

/* Feature image wrapper */
.feature__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
}

.feature__media img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.feature__title {
    font-family: Polymath;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 5%;

}

.feature__text {
font-family: Polymath;
font-weight: 600;
font-style: Semibold;
font-size: 24px;
leading-trim: NONE;
line-height: 150%;
letter-spacing: 0%;

}

/* Responsive adjustments */
@media (max-width: 640px) {
    .feature {
        grid-template-columns: 140px 1fr;
        align-items: center;
        gap: 10px;
    }
    .feature:nth-child(even) {
        grid-template-columns: 1fr 140px;
    }
    .feature__media {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 600px) {
    :root {
        --path-rail-w: 440px;
    }
    .future-ready__rail {
        height: 160vh;
        min-height: 640px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .path__progress,
    .icon,
    .feature {
        transition: none !important;
    }
}

/* ===== TYPOGRAPHY ===== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
}

h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-5);
}

h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
}

h4 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
}

h5 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}

h6 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3);
}

/* Body Text */
p {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

/* Links */
a {
    color: var(--color-primary);
    transition: color var(--duration-normal) var(--ease-out);
}


/* a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
} */

/* Lists */
ul, ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

li {
    margin-bottom: var(--space-2);
    font-family: var(--font-body);
    line-height: var(--line-height-relaxed);
}

/* ===== LAYOUT STRUCTURE ===== */

/* Main Layout Container */
.main-content {
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Add padding to account for fixed header */
}

/* Container System - No max-width, responsive padding only */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
}

/* ===== HEADER STYLES ===== */

.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 43, 115, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    width: 100% !important;
    /* height: 100px !important; */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Navigation */
.navbar {
    padding: 5px 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

/* Logo */
.navbar-brand {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--duration-normal) var(--ease-out);
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    width: auto;
}

/* Navigation Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    transition: all var(--duration-normal) var(--ease-out);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 2px 0;
    transition: all var(--duration-normal) var(--ease-out);
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== FOOTER STYLES ===== */

.main-footer {
    background: #1a1464; /* Dark purple/blue background */
    color: var(--color-white);
    padding: var(--space-4) 0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-16);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
}

.footer-right {
    display: flex;
    gap: var(--space-16);
    align-items: center;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* ===== BANNER SECTION ===== */
section#banner {
    margin-top: -90px !important;
}
.banner-section {
    background-image: url('../images/Banner/banerLight.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 147px 0 0px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Remove margin since main-content has padding */
    width: 100%; /* Ensure full width */
    min-height: 100vh;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1700px) {
    .banner-content {
        gap: var(--space-8);
    }
}

/* Stack banner layout to single column on narrower screens */
@media (max-width: 1200px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* Left Content */
.banner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.banner-text {
    opacity: 1;
    visibility: visible;
}

.banner-headline {
    margin-bottom: var(--space-8);
}

.headline-main {
    font-family: var(--font-body);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: capitalize;
    margin: 0 0 var(--space-6) 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--gradient-banner-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.headline-text-medium {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-banner-heading-medium);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: capitalize;
}

.headline-text-bold {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-banner-heading-bold);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: capitalize;
}

/* Banner Description */
.banner-description {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-banner-desc);
    line-height: 165%;
    letter-spacing: 0%;
    background: var(--gradient-banner-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0 0 var(--space-8) 0;
    max-width: 100%;
}

/* Apply Button Wrapper */
.btn-apply-wrapper {
    display: inline-block;
}

/* Apply Now Button */
.btn-apply-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: var(--btn-padding-apply);
    background: var(--gradient-banner-text);
    color: var(--color-white);
    border: none;
    border-radius: 60px;
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-apply-btn);
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 4px 12px rgba(8, 48, 125, 0.3);
}

.btn-apply-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 48, 125, 0.4);
}

/* Center Slider Card */
.banner-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Card Slider Container */
.card-slider-container {
    position: relative;
    width: 100%;
    /* height: 600px; */
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

/* Gradient fade overlays for top and bottom edges */
.card-slider-container::before,
.card-slider-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 10;
    pointer-events: none;
}

/* .card-slider-container::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
}

.card-slider-container::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
} */

/* Vertical track for bottom-to-top animation */
.card-track-vertical {
    position: absolute;
    left: 50%;
    /* top: 85px; */
    top: 30%;
    width: 100%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    will-change: transform;
}

/* Banner Card */
.banner-card {
    position: relative;
    flex: 0 0 380px;
    width: 100%;
    height: 380px;
    background: var(--gradient-banner-card);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: scale(0.86); /* smaller when inactive */
    filter: none;
    transition: box-shadow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                filter 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 1;
    will-change: transform, filter, opacity, box-shadow;
}

/* Soft white overlay for inactive cards */
.banner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #FAFDFF, #FAFDFF);
    opacity: 0.8; /* stronger dim */
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.banner-card.active {
    /* box-shadow: 0 16px 56px rgba(0, 43, 115, 0.35), 0 0 0 3px rgba(0, 43, 115, 0.25) inset; */
    transform: translateY(-6px) scale(1);
    filter: none;
    opacity: 1;
    z-index: 2;
}

.banner-card.active::after { opacity: 0; }

/* Card states for vertical layout */
.card-1, .card-2, .card-3 { z-index: 1; }

/* Card Background */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-image {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    mix-blend-mode: luminosity;
    object-fit: cover;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    border-radius: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 60px 140px 60px;
    color: var(--color-white);
    box-shadow: 0px 0px 20.9px 0px #ABCBFFCC inset;
}

/* Card Text Positioning */
.card-text-middle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Card Text Styling */
.card-text-small {
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-card-small);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
}

.card-text-big {
    font-family: var(--font-body);
    font-weight: var(--font-weight-black);
    font-style: normal;
    font-size: var(--font-size-card-big);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
    padding: 33px 0px;
    position: relative;
}



/* Pseudo Elements for WE and FOR YOU */
.card-text-big::before {
    content: "WE";
    position: absolute;
    top: 20px;
    left: 28px;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-card-small);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
}

.card-text-big::after {
    content: "FOR YOU";
    position: absolute;
    bottom: 20px;
    right: -120px;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-card-small);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
}
.card-2 .card-text-big:after {
    display: none;
}
.card-2 .card-text-big:before {
    content: "WE HELP YOU";
    position: absolute;
    bottom: 20px;
    left: 100px;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-card-small);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
}
.card-3 .card-text-big:before {
    content: "WE";
    position: absolute;
    bottom: 20px;
    left: 0px;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-card-small);
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
    text-align: center;
}

/* Right Form Section */
.banner-right-form {
        display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 57px;
    z-index: 3;
}

.banner-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: clamp(24px, 3vw, 40px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--color-primary);
}

.form-header {
    margin-bottom: var(--space-4);
}

.form-header h3 {
    font-family: var(--font-button);
    font-weight: var(--font-weight-black);
    font-size: var(--font-size-2xl);
    line-height: 120%;
    color: var(--color-primary);
    margin: 0 0 var(--space-2) 0;
}

.form-header p {
    font-family: var(--font-button);
    font-weight: var(--font-weight-medium);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 150%;
    color: var(--color-primary);
    margin: 0;
}

.form-group {
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(0px, 1.5vw, 0px) clamp(1px, 5px, 15px);

    font-family: var(--font-button);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 150%;
    color: #002b73;
    background: #ffffff;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    transition: all var(--duration-normal) var(--ease-out);
    box-sizing: border-box;
        min-height: 50px;
    max-height: 20px;

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus  {
    outline: none;
    border-color: #08307D;
    box-shadow: 0 0 0 3px rgba(8, 48, 125, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 7px 17px 7px 7px;
    border-radius: 123px;
    background: var(--gradient-banner-text);
    color: var(--color-white);
    border: none;
    font-family: var(--font-button);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    line-height: 100%;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(8, 48, 125, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    height: 56px;
}

.btn-form-submit:hover:not(.submitting):not(.submitted) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 48, 125, 0.4);
}

.btn-icon-wrapper {
    width: 42px;
    height: 42px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    left: 7px;
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.btn-arrow-icon {
    color: var(--color-primary);
    font-size: 20px;
}

.btn-text {
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    padding: 0 15px;
}

/* Submitting/Submitted state - toggle slide animation */
.btn-form-submit.submitting .btn-icon-wrapper,
.btn-form-submit.submitted .btn-icon-wrapper {
    left: calc(100% - 39px);
}

.btn-form-submit.submitting .btn-text {
    left: 35%;
}

.btn-form-submit.submitted .btn-text {
    left: 40%;
}
@media (max-width: 1700px) {
    .card-text-big {
        font-size: 126px;
    }
    .card-text-big::before,
    .card-text-big::after {
        font-size: 22px;
    }
    .card-text-big::after {
        bottom: 30px;
        right: -70px;
    }
    .card-text-big::before {
        top: 30px;
        left: 25px;
    }
    .card-2 .card-text-big:before{
        font-size: 22px;
        left: 80px;
    }
    .card-3 .card-text-big::before{
        font-size: 22px;
        left: 25px;
        bottom: 30px;
    }

}
/* ===== EASY STEPS SECTION ===== */

.easysteps-section {
    background: var(--color-white);
    padding: var(--spac-4) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-bottom: 0px;
}

.easysteps-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
    align-items: center;
}

.easysteps-heading h2 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-style: normal;
    font-size: var(--font-size-easysteps-heading);
    line-height: 120%;
    letter-spacing: 0%;
    color: var(--color-primary);
    margin: 0;
}

.easysteps-content p {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    font-size: var(--font-size-easysteps-content);
    line-height: 150%;
    letter-spacing: 0%;
    text-align: right;
    color: var(--color-primary);
    margin: 0;
}

.easysteps-col {
    padding: var(--space-8) 0px;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #E5E7EB;
    align-items: center;
}


.easysteps-col h3 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    flex: 1;
    font-size: var(--font-size-easysteps-col-heading);
    line-height: 150%;
    letter-spacing: 0%;
    color: #6B7FBE;
    padding: 0px 10px;
    margin: 0;
}

.easysteps-col ul {
    font-family: var(--font-body);
    padding: 0px 10px;
    flex: 1;
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-size: var(--font-size-easysteps-col-content);
    line-height: 150%;
    letter-spacing: 0%;
    color: #6B7FBE;
    margin: 0;
    list-style-type: none;
    list-style-position: outside;
}

.easysteps-col li {
    margin: 0;
    padding: 0;
    margin-bottom: 8px;
}

.easysteps-col li:last-child {
    margin-bottom: 0;
}

/* Easy Steps Hover Effects */
.easysteps-col {
    transition: all 0.3s ease;
}

.easysteps-col h3 {
    transition: all 0.3s ease;
}

.easysteps-col ul {
    transition: all 0.3s ease;
}

.easysteps-col:hover h3 {
    color: var(--color-primary);
}

.easysteps-col:hover ul {
    color: var(--color-primary);
}

/* Easy Steps Enquiry Button */
.easysteps-enquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-16) 0;
}

.btn-enquiry-wrapper {
    display: inline-block;
}

.btn-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 36px 69px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-enquiry span {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xxl);
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: var(--color-white);
}

.btn-enquiry-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.btn-enquiry:hover {
    background: #001952;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 43, 115, 0.3);
}

.btn-enquiry:hover .btn-enquiry-arrow {
    transform: translateX(5px);
}

/* Custom Cursor for Easy Steps */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.custom-cursor.show {
    opacity: 1;
    visibility: visible;
}
.easysteps-col:hover {
    border-bottom: 1px solid var(--color-primary);
}
.custom-cursor img {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block;
}

@media (min-width: 1280px) {
    .custom-cursor img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .custom-cursor img {
        width: 120px;
        height: 120px;
    }
}

/* Hide default cursor on easysteps columns */
.easysteps-col {
    cursor: none;
}

/* ===== INVESTMENT SECTION ===== */

.investment-section {
    background: var(--color-ownership-blue);
    padding: var(--space-32) 0;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.investment-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 16.5px 55px;
    display: inline-block;
    margin: 0 auto var(--space-16);
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
}

.investment-section .container {
    text-align: center;
}

.investment-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 var(--space-16) 0;
}

.investment-heading-white {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 126px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0;
}

.investment-heading-gold {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 126px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    background: var(--color-ownership-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.investment-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0 0 var(--space-24) 0;
}

.investment-cards {
    display: flex;
    gap: var(--space-16);
    justify-content: center;
    align-items: center;
    margin-top: var(--space-24);
}

.investment-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(41px) brightness(1.1);
    -webkit-backdrop-filter: blur(41px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 40px 99px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
    min-width: 300px;
    box-shadow:inset 0px 0px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 30%;
}

/* .investment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        -45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(-45deg);
    pointer-events: none;
} */

.investment-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-ownership-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.investment-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.investment-card-title {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0;
}

/* ===== VISIONARIES SECTION ===== */

.visionaries-section {
    background: var(--color-ownership-blue);
    padding: var(--space-32) 0;
    position: relative;
    overflow: hidden;
}

/* Add decorative particles/dots to background */
.visionaries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 215, 0, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.visionaries-heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0 0 var(--space-8) 0;
}

.visionaries-heading .visionaries-highlight {
    background: linear-gradient(90deg, #FFD700 0%, #FFC700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.visionaries-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--space-24) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.visionaries-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.visionaries-mobile-section {
    display: none;
}

.visionaries-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #ffffff5c;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    transition: all 0.3s ease;
    position: relative;
    min-height: 280px;
    box-shadow: 0px 0px 17.1px 0px #FFF59F8A inset;
}


.visionaries-card-icon-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-6);
}

.visionaries-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 10px solid #7b95c75c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.visionaries-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.visionaries-card-content {
    margin-top: auto;
    text-align: left;
}

.visionaries-card-content p {
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-align: left;
}

/* ===== WHY CHOOSE SECTION ===== */

.why-choose-section {
    background: var(--color-white);
    padding: var(--space-24) 0 var(--space-32);
    min-height: 160vh;
    position: relative;
}

.why-choose-section-inner {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--color-white);
}

.why-choose-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    margin-bottom: var(--space-16);
}

.why-choose-heading h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 120%;
    letter-spacing: 0%;
    color: #001B4F;
    margin: 0;
}

.why-choose-text p {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 150%;
    letter-spacing: 0%;
    color: #001B4F;
    margin: 0;
}

.why-choose-cards {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-top: var(--space-16);
}

.why-choose-cards-track {
    display: flex;
    gap: var(--space-16);
    will-change: transform;
}

.why-choose-card {
    flex: 0 0 calc(31.25%);
    min-width: calc(31.25%);
    display: flex;
    flex-direction: row;
    border: 1px solid var(--color-black);
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    min-height: 250px;
}

.why-choose-card-image {
    flex: 0 0 45%;
    overflow: hidden;
}

.why-choose-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-choose-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    position: relative;
}

.why-choose-card-icon {
    width: 60px;
    height: 60px;
    background: #001B4F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.why-choose-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.why-choose-card-text {
    margin-top: auto;
}

.why-choose-card-text p {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    color: var(--color-black);
    margin: 0;
}

.why-choose-button {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-24);
}

.why-choose-button .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.why-choose-button .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.why-choose-button .btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===== OWNERSHIP SECTION ===== */

.ownership-section {
    background: var(--color-white);
    min-height: 150vh;
    position: relative;
    padding: var(--space-8) 0 var(--space-32) 0; /* Further reduce top padding */
    padding-bottom: 0px;
}

.ownership-header {
    z-index: 100;
    background: var(--color-white);
    position: relative;
}

.ownership-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.ownership-header-left h2 {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 120%;
    letter-spacing: 0%;
    text-align: left;
    color: var(--color-ownership-blue);
    margin: 0;
}

.ownership-header-right p {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 150%;
    letter-spacing: 0%;
    text-align: left;
    color: var(--color-ownership-blue);
    margin: 0;
}

.ownership-container {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 100vh;
    position: relative;
    margin-top: 0; /* Remove top margin to move content to top */
}

.ownership-left {
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Align to top instead of center */
    padding: var(--space-8) var(--space-16) 0 var(--space-16); /* Further reduce top padding */
    mix-blend-mode: darken;
}
.ownership-card-text-span {
    display: flex;
    justify-content: flex-end;
}

.ownership-left-content {
    width: 100%;
    background: url(../images/ownership/yellowbok.webp);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 10px 50px 42px 50px;
    min-width: 561px;
    max-width: 561px;
    display: flex;
    min-height: 610px;
    border-width: 1px;
    margin-top: 0;
    align-items: center;
}
.ownership-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Individual lines between steps - not through the circles */
.ownership-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 42px;
    top: 84px;
    width: 1px;
    height: 30px;
    background: rgb(0 0 0 / 30%);
}

.ownership-step {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    position: relative;
    transition: all 0.3s ease;
}

.ownership-step.active .step-number {
    font-weight: 700;
    font-size: var(--font-size-step-number-active);
    border-width: 2px;
    color: var(--color-black);
}

.ownership-step.active .step-label {
    font-weight: 700;
    color: var(--color-black);
}

.step-number {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: var(--font-size-step-number);
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: #00000080;;
    width: 64px;
    height: 64px;
    padding: 40px;
    border-radius: 50%;
    border: 1px solid #00000080;;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.step-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--font-size-step-label);
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: #00000080;
    transition: all 0.3s ease;
}

.ownership-right {
    padding: var(--space-16);
    padding-top: 100px;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}


.ownership-card {
    margin-bottom: 25vh;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
}

.ownership-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ownership-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.ownership-card-icon {
    width: 107px;
    height: 107px;
    background: #DCE8FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.ownership-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ownership-card-content h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 48px;
    line-height: 135%;
    letter-spacing: 0%;
    color: #123985;
    margin: 0;
}

.ownership-card-image {
    flex-shrink: 0;
    max-width: 270px;
    max-height: 314px;
    overflow: hidden;
    border-radius: 16px;
}

.ownership-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ownership-cta {
    padding: var(--space-32) 0;
    background: var(--color-white);
    margin-top: var(--space-32);
    position: relative;
    z-index: 5;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border: 3px solid red;
    min-height: 200px;
}

.ownership-cta.visible {
    opacity: 1;
    transform: translateX(0);
}

.ownership-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.ownership-cta-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 96px;
    line-height: 120%;
    letter-spacing: 0%;
    color: transparent;
    -webkit-text-fill-color: #B0CEFF;
    -webkit-text-stroke: 1px #9BB4DE;
    text-shadow: 0 -20px 0 rgb(155 180 222 / 10%), 0 20px 0 rgb(155 180 222 / 10%);
    margin: 0;
    filter: drop-shadow(0 -8px 4px rgba(155, 180, 222, 0.2)) drop-shadow(0 8px 4px rgba(155, 180, 222, 0.2));
}

.ownership-cta-arrows {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.cta-chevron {
    font-size: 40px;
}

.chevron-light {
    color: #EBEEF5;
}

.chevron-blue {
    color: #9BB4DE;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

/* ===== WE DO EVERYTHING SECTION ===== */

.we-do-everything-section {
    padding: var(--space-16) 0;
    background: var(--color-white);
    position: relative;
    z-index: 5;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-top: 0px;
}

.we-do-everything-section.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== LEGACY PARTNERS SECTION ===== */
h2.legacy-partners-heading:before {
    content: url("../images/Icons/star.svg");
    position: absolute;
    left: -25px;
    top: -27px;
    mix-blend-mode: color-dodge;
}
.legacy-partners-cards {
    position: relative;
}
.legacy-partners-cards:before {
    content: url("../images/Icons/star.svg");
    position: absolute;
    left: -25px;
    top: -27px;
    mix-blend-mode: color-dodge;
}
.legacy-partners-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.legacy-partners-section {
    padding: var(--space-32) 0;
    background: var(--color-ownership-blue);
    position: relative;
    overflow: hidden;
}

.legacy-partners-content {
    text-align: center;

}

.legacy-partners-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    font-style: normal;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0 0 var(--space-16) 0;
}

.legacy-partners-description {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-white);
    margin: 0 0 var(--space-24) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.legacy-partners-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


.legacy-partner-card {
    position: relative;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
    padding: var(--space-6);
    padding-bottom: 0px;
    /* background: rgba(255, 255, 255, 0.06); */
}

.legacy-partner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: 0;
}



.legacy-partner-card.active {
    transform: translateY(-6px);
}

.legacy-partner-card.active::after {
    background: #d9d9d9;
    border-color: rgba(255, 255, 255, 0.85);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 50% 88%, 0 88%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}


.legacy-partner-image {
    margin-bottom: var(--space-5);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.legacy-partner-card.active img {
    mix-blend-mode: unset;
}
.legacy-partner-image img {
    width: 100%;
    display: block;
    mix-blend-mode: luminosity;
}

.legacy-partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF33;
    backdrop-filter: blur(20px);
    padding: 17px 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1;
}

.legacy-partner-card.active .legacy-partner-overlay {
    opacity: 1;
    transform: translateY(0);
    /* background: rgba(255, 255, 255, 0.92); */
    color: #001B4F;
    margin: 10px 0px;
    border-radius: 8px;
}

/* .legacy-partner-card.active .legacy-partner-name {
    color: var(--color-primary);
} */

/* .legacy-partner-card.active .legacy-partner-details {
    color: rgba(0, 27, 79, 0.75);
} */
.legacy-partner-card.active .legacy-partner-info {
    position: absolute;
    bottom: -45px;
}
.legacy-partner-info {
    text-align: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.legacy-partner-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 0%;
    color: var(--color-white);
    margin-bottom: 0;
}

.legacy-partner-details {
    font-family: var(--font-body);
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.we-do-everything-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
}

.we-do-everything-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 96px;
    line-height: 120%;
    letter-spacing: 0%;
    color: transparent;
    -webkit-text-fill-color: var(--color-ownership-gold-dark);
    -webkit-text-stroke: 1px var(--color-ownership-gold-dark);
    text-shadow: 0 -20px 0 #dcae261a, 0 20px 0 #dcae261a;
    margin: 0;
    filter: drop-shadow(0 -8px 4px #dcae261a) drop-shadow(0 8px 4px #dcae261a);
}

.we-do-everything-arrows {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.we-do-arrow {
    width: 75%;
    display: inline-block;
}

.we-do-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.we-do-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.we-do-button:hover i {
    transform: translateX(5px);
}

/* ===== DUMMY SECTION ===== */

.dummy-section {
    padding: var(--space-32) 0;
    background: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dummy-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.dummy-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.dummy-description {
    font-family: var(--font-body);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.dummy-spacer {
    height: 50vh;
    background: linear-gradient(180deg, transparent 0%, var(--color-light-blue) 100%);
    border-radius: var(--radius-lg);
    opacity: 0.3;
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: clamp(14px, 16px, 18px);
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-60);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Primary Button - Blue */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--btn-padding-primary);
    box-shadow: var(--shadow-md);
}



/* Secondary Button - White with Black Border */
.btn-secondary {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: var(--btn-padding-secondary);
}

.btn-secondary:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

/* Button Icon */
.btn-icon {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
}

.btn:hover .btn-icon {
    transform: translateX(2px);
}

/* Button Large Variant */
.btn-large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

/* ===== CARDS ===== */

.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    padding: var(--space-6);
    transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== IMAGES ===== */

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.img-rounded {
    border-radius: var(--radius-full);
}

/* ===== ACCESSIBILITY ===== */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
.focus-visible:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===== ANIMATION READY CLASSES ===== */

/* Classes for GSAP animations */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation trigger classes */
.animate-on-scroll.animate-trigger {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
}

.animate-slide-up {
    transform: translateY(50px);
    opacity: 0;
}

.animate-slide-left {
    transform: translateX(-50px);
    opacity: 0;
}

.animate-slide-right {
    transform: translateX(50px);
    opacity: 0;
}

.animate-scale {
    transform: scale(0.8);
    opacity: 0;
}

/* Animation trigger classes */
.animate-trigger {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Take First Step Section */
.take-first-step-section {
    background: var(--color-secondary-background-blue);
    padding: 0;
    min-height: auto;
    position: relative;
    overflow: visible !important;
    z-index: 50;
    display: block !important;
    margin-bottom: 0;
}

.take-first-step-inner {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    background: var(--color-secondary-background-blue);
    padding: var(--space-16) 0;
    padding-bottom: 0px;
}

.take-first-step-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8); /* Reduced gap */
}

.take-first-step-heading {
    width: 60%;
}

.take-first-step-heading h2 {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 135%;
    letter-spacing: 0%;
    color: #123985;
    margin: 0;
    text-align: left;
}

.school-text {
    position: relative;
    display: inline-block;
}

.school-text::before {
    content: '';
    position: absolute;
    top: 0px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-image: url('../images/school/schoolicon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.team-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--space-16) 0; /* Reduced margin */
    padding-bottom: 2rem;
    overflow: hidden;
}
.team-text-container.team-text-slide {
    flex: 0 0 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    position: relative;
    transform: translateY(0); /* Ensure no vertical movement */
}

.team-text-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    will-change: transform, opacity;
    transition: none; /* No transition - direct updates for smooth scrolling */
    position: relative;
}

.team-text-start,
.team-text-end {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 112px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #123985;
    white-space: nowrap;
}

.team-text-word {
    position: relative;
    display: inline-block;
}

.team-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 112px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #123985;
    display: inline-block;
    white-space: nowrap;
}

.team-image-zoom {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    will-change: transform, opacity;
    z-index: 10;
    transition: none; /* No transition - direct updates for smooth scrolling */
}

.team-image-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Action Cards Wrapper - creates scroll space */
.action-cards-wrapper {
    min-height: 1200vh; /* Reduced; centering now handled in JS */
    position: relative;
    background: var(--color-secondary-background-blue);
    padding: var(--space-16) 0 var(--space-32);
    padding-bottom: 0px;
}

.action-cards-slider {
    margin: 0;
    min-height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    padding: var(--space-16) 0;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0px;
}

.action-cards-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.action-cards-track {
    display: flex;
    gap: 30px;
    height: auto;
    width: max-content;
    align-items: stretch;
    justify-content: flex-start;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    will-change: transform;
    transition: none; /* No transition - direct updates for smooth scrolling */
}

.action-card {
    flex: 0 0 70%; /* Each card takes full width of container */
    min-height: 900px;
    height: 900px;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Cards are now visible by default in the main .action-card rule above */

.action-card-image {
    flex: 0 0 50%; /* Image takes 50% of width */
    width: 50%;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    min-height: 900px;
    position: relative;
}

.action-card-image img {
    width: 100%;
    height: 100%;
    min-height: 900px;
    object-fit: cover;
    display: block;
}

.action-card-content {
    flex: 1; /* Content takes remaining 50% of width */
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-12);
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.action-card-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: var(--space-6);
    padding: 0;
}

.action-card-icon img {
    width: 60px;
    height: 60px;
    filter: none;
    object-fit: contain;
}

.action-card-content h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(28px, 4.2vw, 64px);
    line-height: 140%;
    letter-spacing: 0%;
    color: #123985;
    margin: 0 0 var(--space-6) 0;
}

.btn-action {
    background: #123985;
    color: var(--color-white);
    border: none;
    border-radius: 60px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 18px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-action:hover {
    background: #0d2a6b;
    transform: translateY(-2px);
}

.btn-action i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-action:hover i {
    transform: translateX(5px);
}

/* Responsive: Action Cards on Mobile/Tablet */
@media (max-width: 1280px) {
    .action-card {
        flex: 0 0 100vw;
        width: 100vw;
        max-width: 100vw;
    }
    
    .action-cards-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .action-card {
        flex: 0 0 33%;
        min-width: 33%;
        width: 33%;
        max-width: 33%;
        min-height: auto;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-card-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 250px;
        height: auto;
        max-height: 400px;
        order: 1;
    }
    
    .action-card-image img {
        min-height: 250px;
        max-height: 400px;
        height: auto;
        width: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .action-card-content {
        flex: 0 0 auto;
        width: 100%;
        padding: var(--space-2) 0 0 var(--space-4);
        align-items: flex-start;
        text-align: left;
        gap: var(--space-0);
        order: 2;
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .action-card-icon {
        justify-content: flex-start;
        margin-bottom: var(--space-4);
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    .action-card-content h3 {
        font-size: 24px;
        opacity: 1 !important;
        visibility: visible !important;
        color: #123985 !important;
        display: block !important;
        margin-bottom: 15px;
    }
    
    .action-card-content .btn-action {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .ownership-right {
        width: 100%;
    }
    .ownership-container {
        grid-template-columns: 100%;
    }
    .ownership-card{
        margin-bottom: 30px;
    }
    .ownership-section{
        padding-bottom: 0px;
        min-height: 100vh;
    }
    .ownership-card-image img {
        max-width: 144px;
        max-height: 97px;
        min-height: 97px;
        min-width: 144px;
    }
    .ownership-card,.ownership-card-content{
        gap:var(--space-4);
    }

}

@media (max-width: 640px) {
    
    .action-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: var(--space-4);
    }
    
    .action-card-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Bottom CTA Section - Clean Separate Section */
.bottom-cta-section {
    background: var(--color-secondary-background-blue);
    padding: var(--space-32) 0;
    padding-top: 0px;
    text-align: center;
    position: relative;
    z-index: 1; /* Lower z-index so action cards stay on top */
}

/* Make bottom CTA behave like a slide when placed inside the action cards track */
.action-cards-track .bottom-cta-section {
    flex: 0 0 70%;
    min-width: 70%;
    /* min-height: 100vh; ensure CTA centers within sticky viewport */
    margin: 0;
    padding: 0; /* the internal container will handle spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* inherit wrapper bg */
}

.action-cards-track .bottom-cta-section .container {
    width: 100%;
}

.action-cards-track .bottom-cta-section .bottom-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

/* End spacer after CTA to allow extra horizontal scroll so CTA fully centers */
/* removed end spacer */

.bottom-cta-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 94px;
    line-height: 135%;
    letter-spacing: 0%;
    color: #123985;
    margin: 0 0 var(--space-16) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.bottom-cta-icon {
    display: inline-block;
    vertical-align: middle;
}

.bottom-cta-content p {
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #123985;
    margin: 0 0 var(--space-16) 0;
}

.btn-cta-main {
    background: #123985;
    color: var(--color-white);
    border: none;
    border-radius: 60px;
    padding: 20px 40px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-main:hover {
    background: #0d2a6b;
    transform: translateY(-2px);
}

.btn-cta-main i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-cta-main:hover i {
    transform: translateX(5px);
}

.visionaries-section {
    background: var(--color-ownership-blue);
    padding: var(--space-32) 0;
    position: relative;
    overflow: hidden;
    z-index: -1;
}
.sparkle-interactive-container-visionaries {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.sparkle-dot-visionaries {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Add decorative particles/dots to background */
.visionaries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 215, 0, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.error{
    color: red;
}