:root {
    /* Agile/Green Palette - Reverse Engineered from Agam.ai */
    --primary: 120 46% 33%;
    /* #2d7d2d */
    --primary-foreground: 0 0% 100%;
    --primary-light: 120 36% 51%;
    /* #5ca85c */
    --secondary: 120 40% 96%;
    /* #f0fdf0 */
    --secondary-foreground: 120 46% 33%;
    --accent: 120 40% 96%;
    --accent-foreground: 120 46% 33%;

    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --border: 214.3 31.8% 91.4%;

    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 0.5rem;
    --radius-full: 9999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--secondary));
}

.text-primary {
    color: hsl(var(--primary));
}

.bg-secondary {
    background-color: hsl(var(--secondary));
}

.section-py {
    padding-top: 3rem;
    /* Reduced from 5rem */
    padding-bottom: 3rem;
    /* Reduced from 5rem */
}

/* Header */
.site-header {
    width: 100%;
    /* Critical fix: restore full width */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    /* Reduced to standard height */
}

/* Ensure story item is relative for absolute positioning of popouts */
.story-item {
    position: relative;
}

/* Author Popout Block - sits outside card */
.story-author-popout {
    position: absolute;
    bottom: -15px;
    right: 80px;
    text-align: right;
    z-index: 20;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story-item:hover .story-author-popout {
    transform: translateY(-20px);
    /* Move upper in align with card */
}

/* ... existing styles ... */

/* Ensure content pushes footer elements down */
.story-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-content .story-desc {
    margin-bottom: auto;
    /* Push footer down */
    font-size: 1rem;
    line-height: 1.7;
}

/* New Story Footer for Stars & Author */
.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align bottom */
    margin-top: 2rem;
    padding-right: 40px;
    /* Space for the image overlap if needed, though image is absolute outside padding area effectively? No image is absolute to card. Card padding is 2rem. Image is -20px. */
    /* Let's double check image pos: bottom -40, right -20. Card padding bottom 4rem. */
}

.story-stars {
    color: #FFB800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.story-author {
    text-align: right;
    position: relative;
    z-index: 5;
}

/* Remove CSS Stars */
.story-content::after {
    display: none;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(var(--foreground));
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Removed padding to let content control height, but min-height is needed */
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from clear top to dark bottom for text readability */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Removed the White Vignette ::after pseudo-element */

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    /* Enhanced spacing */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure text is white on the dark overlay */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Soft shadow for lift */
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Hero Stats Floating - Modern Glassmorphism */
.hero-stats-floating {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    gap: 2rem;
    z-index: 15;
    /* True Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-stats-floating {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 2rem;
        background: none;
        border: none;
        backdrop-filter: none;
    }

    .hero-content {
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        display: flex;
    }
}

/* Features/Platform */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border) / 0.6);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsl(var(--primary) / 0.4);
    box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: hsl(var(--secondary));
    color: hsl(var(--primary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
}

/* Integration & Stories - Carousel */
.carousel-container {
    width: 100%;
    margin-bottom: 2rem;
    /* Reduced from 4rem */
    /* Reduced from 2rem to pull carousel closer to header */
    position: relative;
    /* Center the container */
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    /* Constrain width for better centering */
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    /* More breathing room for shadows */
    /* Modern Fade Effect on Edges - Reduced to 5% to allow 4 items to be visible */
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    box-sizing: border-box;
    /* Transition handled in JS for infinite loop control */
}

.carousel-item {
    flex-shrink: 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 270px;
    /* 270+24 = 294 * 4 = 1176 < 1200. Forces 4 items, scroll enabled for 5th. */
    height: 120px;
    /* Balanced height */
    padding: 1.5rem;
    /* Interior breathing room */
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-item:hover {
    transform: translateY(-3px);
    /* Subtle lift */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: hsl(var(--primary) / 0.1);
}

.logo-item img {
    height: 70px;
    /* Comfortable size */
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive adjustments for Logo Carousel */
@media (max-width: 1200px) {
    .logo-item {
        width: 220px;
        /* fit 4 smaller or 3 relaxed */
    }
}

@media (max-width: 900px) {
    .logo-item {
        width: 300px;
        /* fit 2 larger */
    }
}

@media (max-width: 600px) {
    .logo-item {
        width: 100%;
        /* fit 1 */
    }
}

/* Modern Quote-Style Story Cards */
.story-item {
    width: 320px;
    /* Revert to card width */
    max-width: 100%;
}

.story-card {
    background: white;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    /* Unique shape */
    overflow: visible;
    /* Allow avatar to pop out */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    transition: all 0.4s ease;
    height: auto;
    min-height: 300px;
    /* Ensure consistency */
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem 3.5rem 2rem;
    /* Extra bottom padding for avatar */
    position: relative;
    border-right: 6px solid hsl(var(--primary));
    /* The accent line */
    border-bottom: 6px solid hsl(var(--primary));
    margin-bottom: 3rem;
    /* Space for the popping avatar */
    margin-right: 1rem;
    /* Space for shadow */
}

.story-card:hover {
    transform: translateY(-5px);
}

/* Quote Icon */
.story-card::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: hsl(var(--primary));
    font-family: serif;
    background: white;
    padding: 0 10px;
}

/* Moving the image to bottom right */
.story-image {
    width: 80px;
    height: 80px;
    background-color: white;
    position: absolute;
    bottom: -40px;
    right: -20px;
    border-radius: 50%;
    border: 6px solid hsl(var(--primary));
    /* Matches card border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Critical for circles */
    border-radius: 50%;
}

.story-content {
    width: 100%;
    padding: 0;
    text-align: left;
    background: transparent;
}

.story-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    font-weight: 700;
}

.story-content .story-desc {
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Mock Stars */
.story-content::after {
    content: '★★★★★';
    display: block;
    color: #FFB800;
    /* Gold color */
    font-size: 1.2rem;
    margin-top: 1rem;
    letter-spacing: 2px;
}

/* Modern Team Card Styles */
.modern-card {
    background: white;
    border-radius: 2rem;
    /* Even softer */
    overflow: hidden;
    width: 100%;
    /* Unlocked width from 280px */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Clean soft shadow */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    border: none;
    /* Remove outline for cleaner look */
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.leader-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #9ca3af;
}

/* Base Carousel Track */
.carousel-track {
    display: flex;
    width: max-content;
    /* Allow track to grow */
    transition: transform 0.5s ease-in-out;
}

/* 2. Team: Controlled via JS now */
/* #core-employees-carousel .carousel-item,
#board-members-carousel .carousel-item {
    JS sets width 
} */

/* Responsive: Tablet (2 cards) - JS handles this */
@media (max-width: 1024px) {
    /* JS Logic handles breakpoints */
}

/* Responsive: Mobile (1 card) - JS handles this */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 40px;
        /* Smaller button space */
    }
}

#core-employees-carousel .modern-card,
#board-members-carousel .modern-card {
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    /* Fill the wrapper */
}

/* Fix for About Us Carousels (3 items) */
#board-members-carousel .carousel-track,
#core-employees-carousel .carousel-track {
    gap: 0;
    padding-left: 0;
}

#board-members-carousel .carousel-item,
#core-employees-carousel .carousel-item {
    padding: 0 0.5rem;
    /* Reduced from 1rem to increase card width */
}

/* Circular Images for Team */
.card-img-container {
    height: 120px;
    width: 120px;
    /* Reduced to 120px */
    margin: 2rem auto 1rem auto;
    border-radius: 50%;
    /* Gradient Ring Effect */
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-light)));
    padding: 3px;
    /* Thickness of the gradient ring */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* Soft shadow below circle */
    border: none;
}

.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top center;
    /* Revert to top alignment for headshots */
    border-radius: 50%;
    background-color: white;
    /* Ensure transparency doesn't show gradient */
    border: 3px solid white;
    /* The gap between ring and image */
    box-sizing: border-box;
}

.card-content .bio {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;

    /* Clamp text to ~4-5 lines */
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 5; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    /* Removed clamp to show full text (200 words) */
}

/* Internal spacing for shadows/popouts */
.card-content {
    padding: 10px 30px 50px 30px;
    /* More breathing room */
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    letter-spacing: -0.02em;
}

.card-content .role {
    color: hsl(var(--primary));
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Compensate for the wrapper padding in the track alignment if needed */
#stories-carousel .carousel-track {
    /* The padding handles the centering/space now */
    padding-left: 0;
    gap: 0;
    /* Remove gap so JS width calculation (viewport / 2) works perfectly */
}

#stories-carousel .carousel-btn {
    left: 20px !important;
}

#stories-carousel .carousel-next {
    left: auto !important;
    right: 20px !important;
}

/* Increase wrapper padding specifically for stories to prevent clipping of bottom popouts */
#stories-carousel .carousel-wrapper {
    padding-top: 2rem;
    padding-bottom: 5rem;
    /* Ensure enough space for author popout (-15px) and image (-40px) */
}

/* Add visual spacing via padding since we removed gap */
#stories-carousel .story-item {
    padding: 0 1rem;
}

/* Adjust Story Item width to fill the space nicely */
.story-item {
    width: 480px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* Remove margins that were pushing layout out, wrapper padding handles it */
    margin-bottom: 0;
}

/* Modern Quote-Style Story Cards */
.story-card {
    background: #F0F9F4;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem 4rem 2rem;
    position: relative;
    /* Anchor for absolute image */
    border-right: 5px solid hsl(var(--primary));
    border-bottom: 5px solid hsl(var(--primary));

    /* Removed margin-right, relying on parent padding-right: 4rem */
    margin-right: 0;
}

/* Note: Track gap is 1.5rem. Story card doesn't need right margin if flex gap is used. */
/* Let's remove margin-right from card and rely on track gap */
#stories-carousel .story-card {
    margin-right: 0;
}

/* Quote Icon override */
.story-card::before {
    /* Slightly transparent to blend with color bg */
    opacity: 0.6;
}

/* Ensure content pushes footer elements down */
.story-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.story-content .story-desc {
    margin-bottom: auto;
    /* Push stars/bottom elements down */
    font-size: 1rem;
    line-height: 1.7;
}

/* Carousel Outer Container */
.carousel-container {
    position: relative;
    padding: 0 30px;
    /* Reduced from 60px to increase card width */
    max-width: 1280px;
    margin: 0 auto 3rem auto;
    overflow: visible;
    /* Buttons are absolute inside */
}

.carousel-wrapper {
    overflow: hidden;
    /* Hide horizontal scroll */
    width: 100%;
    /* Removed mask-image to show cards fully */
    mask-image: none;
    -webkit-mask-image: none;
}

/* Ensure Image matches BG & Fit */
.story-image {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #F0F9F4;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Force cover */
    border-radius: 50%;
    display: block;
}

/* Align Author Name since Image is now absolute */
.story-author-info {
    text-align: right;
    margin-right: 90px;
    /* Make space for the image */
    margin-top: auto;
    padding-bottom: 0.5rem;
}

#integration .carousel-btn {
    top: 60% !important;
    /* Visually aligns with the logos better than 50% */
    margin-top: 0;
    /* Clear previous margin hack */
}

/* Mobile Responsive */
@media (max-width: 1050px) {

    /* Trigger mobile layout sooner for wide cards */
    /* Enforce 2-Card Layout for Success Stories */
    .story-item {
        /* JS handles width */
        box-sizing: border-box;
        padding: 0 1rem;
        padding-right: 2.5rem;
        /* Optimized buffer: 40px padding for 20px overhang */
        position: relative;
        margin: 0;
    }

    #stories-carousel {
        padding: 0;
    }

    #stories-carousel .carousel-wrapper {
        max-width: 100%;
    }

    #stories-carousel .carousel-btn {
        display: none;
    }
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: hsl(var(--primary) / 0.1);
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

/* Call to Action */
.cta-section {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    text-align: center;
    color: hsl(var(--primary-foreground));
    text-align: center;
    padding: 2rem 1.5rem;
    /* Reduced from 3rem */
    border-radius: 2rem;
    margin: 4rem auto;
    max-width: 1200px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: hsl(var(--primary-foreground) / 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background-color: hsl(var(--background));
    color: hsl(var(--primary));
}

.btn-white:hover {
    background-color: hsl(var(--secondary));
}

/* Footer */
.site-footer {
    background-color: hsl(var(--muted) / 0.5);
    padding: 4rem 0 2rem;
    border-top: 1px solid hsl(var(--border));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: hsl(var(--primary));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border) / 0.5);
    color: hsl(var(--muted-foreground));
    font-size: 0.85rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    opacity: 0;
    /* Start hidden */
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: hsl(var(--background));
        padding: 1.5rem;
        border-bottom: 1px solid hsl(var(--border));
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Centering Utilities */
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

/* Feature Grid (Employees) */
.feature-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-clean {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-clean:hover {
    transform: translateY(-5px);
}

.feature-icon-circle {
    width: 56px;
    height: 56px;
    background: hsl(120, 60%, 96%);
    color: hsl(120, 46%, 33%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Horizontal Cards (Banks) */
.feature-card-horizontal {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Leadership Cards (About) */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.leader-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
}

.leader-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid hsl(120, 60%, 96%);
}

.badge-capsule {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, hsl(120, 60%, 96%), hsl(120, 50%, 90%));
    color: hsl(120, 46%, 33%);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Logos Grid (Corporates) */
.logo-grid-grayscale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    opacity: 0.7;
}

.logo-grid-grayscale img {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-grid-grayscale img:hover {
    filter: grayscale(0%);
}

/* Page Hero Overrides */
.page-hero {
    text-align: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(249, 250, 251, 1) 100%);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.page-hero p.lead {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 20;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.9;
}

.carousel-btn:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* End of Styles */

.story-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff, #fdfdfd);
}

.story-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-light)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-desc {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    line-height: 1.6;
}

/* Team Card Enhancements */
.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: hsl(var(--primary));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-bottom: 4px solid hsl(var(--primary));
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 1.5rem;
}

.team-role {
    color: hsl(var(--primary));
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* =========================================
   New Section Styles (Core Benefits & HIW)
   ========================================= */

/* Typography Utils */
.section-subtitle {
    color: hsl(var(--primary));
    font-weight: 700;
    /* Bold */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    /* Larger */
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    font-weight: 800;
    line-height: 1.1;
}

.section-desc {
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
}

/* Core Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid hsl(var(--border) / 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered Icon/Title */
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.benefit-list {
    text-align: left;
    display: inline-block;
    /* Allows the list block to be centered by parent */
    margin-top: auto;
    width: auto;
    /* Shrink to fit content */
    min-width: 260px;
    /* Ensure consistent visual alignment for bullets */
    max-width: 100%;
    /* Prevent overflow */
}

.benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Green Bullet */
.benefit-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: hsl(var(--primary));
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Process Steps Grid (How It Works) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 2rem;
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        /* Adapt on tablet */
    }
}

/* How It Works (HIW) Cards */
.hiw-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Left align content */
    border: 1px solid hsl(var(--border) / 0.5);
    height: 100%;
    transition: transform 0.3s ease;
}

.hiw-card:hover {
    transform: translateY(-5px);
}

.hiw-number {
    font-size: 3rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hiw-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hiw-content p {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hiw-list li {
    position: relative;
    padding-left: 1.75rem;
    /* Space for checkmark */
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
}

/* Green Checkmark */
.hiw-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(var(--primary));
    font-weight: bold;
}

/* Utilities */
.section-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center !important;
}

.text-start {
    text-align: left !important;
}

/* Feature Cards (Banks Page) */
/* Feature Cards (Banks Page) */
/* Feature Cards (Banks Page) */
.feature-card-green ul {
    list-style: none !important;
    padding-left: 0;
}

.feature-card-green ul li {
    list-style: none !important;
    /* padding-left: 0 removed to prevent overlapping with .check-list absolute bullet */
}

.feature-card-green {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid hsl(var(--border) / 0.5);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card-green:hover {
    transform: translateY(-5px);
}

.feature-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-card-vertical {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.green-icon-circle {
    width: 60px;
    height: 60px;
    background: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    list-style: none;
    /* Ensure default is removed */
}

.check-list li::before {
    content: "•";
    /* Bullet Point */
    color: hsl(var(--primary));
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}


/* --- Modern Bank Hero (CSS Graphics) --- */
.bank-hero {
    position: relative;
    padding: 3rem 0;
    /* Reduced Height per request */
    overflow: hidden;
    background-color: #f8fafc;
    /* Light soothing base */
}

/* Abstract Background Graphics */
.bank-hero-bg-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, hsla(var(--primary), 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, hsla(190, 80%, 60%, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, hsla(150, 60%, 90%, 0.5) 0%, transparent 60%);
}

.bank-hero-bg-graphics::before,
.bank-hero-bg-graphics::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: floatShape 10s infinite alternate ease-in-out;
}

/* Shape 1: Green Blob */
.bank-hero-bg-graphics::before {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, hsl(var(--primary)), #34d399);
    /* Green to Teal */
    top: -100px;
    right: -50px;
    opacity: 0.15;
}

/* Shape 2: Blue/Teal Blob */
.bank-hero-bg-graphics::after {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    /* Blue to Cyan */
    bottom: -50px;
    left: -50px;
    opacity: 0.1;
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.1);
    }
}

.bank-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bank-hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: white;
    color: hsl(var(--primary));
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid hsl(var(--primary) / 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bank-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* Rich Gradient Text */
    background: linear-gradient(135deg, #0f172a 0%, hsl(var(--primary)) 50%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bank-hero-desc {
    font-size: 1.35rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.bank-hero-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.bank-hero-icon {
    width: 80px;
    height: 80px;
    color: hsl(var(--primary));
    filter: drop-shadow(0 10px 20px hsla(var(--primary), 0.3));
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Helper Class */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}