/* ================= FONT FACE DECLARATIONS ================= */
@font-face {
  font-family: 'General Sans';
  src: url('./font/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('./font/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('./font/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('./font/GeneralSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ================= GLOBAL VARIABLES & FONTS ================= */
:root {
  --brand-green: #71a070;
  --secondary-dark: #375553;
  --border-grey: #d0d3d9;
  --dark-bg: #092b28;
  --text-body: #48505e;
  --white: #ffffff;
  --font-main: "General Sans", sans-serif;
  --green-light: #8FBF9F;
  --green-dark: #2F6B57;
  --primary: #3F5A50;
  --heading: #1F2937;
  --text: #6B7280;
  --border: #E5E7EB;
  --heading-dark: #2b2f38;
  --card-bg: #f3f5f4;
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
}

.site-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.header,
.header * {
    box-sizing: border-box;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 24px 173px 24px 173px;
    display: flex;
    flex-direction: row;
    gap: 52px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: auto;
    position: relative;
}

.fh-logo-print-web-3-in-1 {
    flex-shrink: 0;
    width: 140px;
    height: auto;
    position: relative;
    overflow: visible;
    display: block;
}

.nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    position: relative;
}

.left {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.nav-item {
    background: transparent;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.text {
    color: #48505e;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

.right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: relative;
}

.frame-1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.nav-item2 {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.button {
    background: #ffffff;
    border-radius: 12px;
    border-style: solid;
    border-color: #71a070;
    border-width: 1px;
    padding: 10px 24px 10px 24px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.text2 {
    color: #71a070;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    position: relative;
}

/* ================= HEADER RESPONSIVE ================= */
@media (max-width: 1200px) {
    .header {
        padding: 24px 40px 24px 40px;
    }
}

/* ================= CONTACT MODAL ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              rgba(55, 85, 83, 0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.form-modal {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  font-family: 'General Sans', sans-serif;
}

.modal-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d0d3d9;
}

.modal-header h2 {
  font-size: 18px;
  color: #2b2f38;
  margin: 0;
  font-weight: 400;
}

.close-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  display: flex;
}

.modal-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-text {
  font-size: 14px;
  color: #48505e;
  font-weight: 400;
}

.required-star {
  color: #bc0e41;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d0d3d9;
  background: #ffffff;
  font-family: 'General Sans', sans-serif;
  font-size: 15px;
  color: #2b2f38;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #667085;
}

.form-input:focus, .form-textarea:focus {
  border-color: #71a070;
}

.form-textarea {
  height: 90px;
  resize: none;
}

.submit-btn {
  background: #71a070;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: filter 0.2s;
}

.submit-btn:hover {
  filter: brightness(1.1);
}

/* ================= MOBILE MENU ================= */
.site-header {
    width: 100%;
    display: none;
    flex-direction: column;
    font-family: 'General Sans', sans-serif;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
}

.navbar {
    background: #ffffff;
    padding: 16px 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 101;
    border-bottom: 1px solid #d0d3d9;
}

.logo-container {
    width: 150px;
    display: flex;
    align-items: center;
}

.fh-logo-svg {
    width: 140px;
    height: 23px;
    display: block;
}

.mobile-menu-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
}

.mobile-menu-trigger svg {
    transition: opacity 0.3s ease;
}

.site-header.is-active .mobile-menu-trigger svg {
    opacity: 0;
}

.site-header.is-active .mobile-menu-trigger::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #375553;
    font-weight: 300;
}

.mobile-dropdown {
    background: #ffffff;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.site-header.is-active .mobile-dropdown {
    max-height: 300px;
    padding: 16px 32px 32px 32px;
    border-top: 1px solid #d0d3d9;
}

.mobile-dropdown .nav-item {
    padding: 12px 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #48505e;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-dropdown .nav-item:hover {
    color: #71a070;
}

/* Remove underlines from all navigation links */
.nav-item a,
.nav-item,
.mobile-dropdown .nav-item,
.mobile-dropdown .nav-item a,
.text a,
.text2 a {
    text-decoration: none !important;
}

.nav-item a:hover,
.nav-item:hover,
.mobile-dropdown .nav-item:hover,
.mobile-dropdown .nav-item a:hover,
.text a:hover,
.text2 a:hover {
    text-decoration: none !important;
}

.cta-button {
    background: #ffffff;
    border: 1px solid #71a070;
    border-radius: 12px;
    padding: 14px 24px;
    color: #71a070;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #71a070;
    color: #ffffff;
}

@media (max-width: 768px) {
    /* Add top padding to prevent content cut-off */
    body {
        padding-top: 35px !important;
    }
    
    /* Hide desktop header */
    .header {
        display: none !important;
    }
    
    /* Show mobile menu only on mobile */
    .site-header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: #ffffff !important;
    }
    
    .navbar {
        padding: 2px 16px 2px 16px;
    }
    
    .logo-container {
        width: auto;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .fh-logo-svg {
        width: 112px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .mobile-dropdown {
        padding: 0 16px;
    }
    
    .site-header.is-active .mobile-dropdown {
        padding: 16px 16px 24px 16px;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }
    
    .hero-wrapper {
        padding: 60px 24px !important;
        margin-top: 20px !important;
        border-radius: 0 !important;
        margin: 20px 0 0 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 60vh !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .core-capabilities-section {
        padding: 32px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .cap-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .cap-header h2 {
        font-size: 24px !important;
        line-height: 28px !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }
    
    .cap-header .brand {
        color: #2B2F38 !important;
        font-weight: 500 !important;
    }
    
    .cap-header .dark {
        color: #71A070 !important;
        font-weight: 500 !important;
    }
    
    .cap-header p {
        color: #48505E !important;
        font-size: 14px !important;
        line-height: 18px !important;
        margin: 0 !important;
    }
    
    .cap-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .cap-card {
        background: #F3F5F4 !important;
        border-radius: 12px !important;
        padding: 20px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    .cap-card .text-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .cap-card h3 {
        font-size: 20px !important;
        line-height: 24px !important;
        font-weight: 500 !important;
        color: #2B2F38 !important;
        margin: 0 !important;
    }
    
    .cap-card p {
        font-size: 14px !important;
        line-height: 20px !important;
        color: #48505E !important;
        margin: 0 !important;
    }
    
    .cap-card .img-frame {
        width: 100% !important;
        height: 252px !important;
        border-radius: 12px !important;
        background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F4 100%) !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .cap-card .img-frame img {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 252px !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }
    
    .cap-card:nth-child(even) .img-frame {
        background: #E6EAEA !important;
    }
    
    .case-study-section {
        padding: 48px 16px;
    }
    
    section {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .stories-section {
        padding: 48px 16px 48px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .stories-header {
        padding: 0 !important;
        margin: 0 0 32px 0 !important;
    }
    
    .story-grid {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .story-slide {
        display: none !important;
    }
    
    .story-slide.active {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .story-text-area {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .story-headlines {
        padding: 0 !important;
        margin: 0 0 24px 0 !important;
    }
    
    .impact-section {
        padding: 48px 16px 48px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .impact-title {
        padding: 0 !important;
        margin: 0 0 32px 0 !important;
    }
    
    .impact-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .win-section {
        padding: 48px 16px 48px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .win-header {
        padding: 0 !important;
        margin: 0 0 32px 0 !important;
    }
    
    .win-cards-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .serve-section {
        padding: 48px 16px 48px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .serve-header {
        padding: 0 !important;
        margin: 0 0 32px 0 !important;
    }
    
    .serve-grid {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .cta-section {
        padding: 48px 16px 48px 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    
    .cta-content {
        padding: 0 !important;
        margin: 0 0 32px 0 !important;
    }
    
    .cta-actions {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Contact Modal - Mobile Compact */
    .modal-overlay {
        padding: 16px !important;
        align-items: center !important;
    }
    
    .form-modal {
        width: calc(100% - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        border-radius: 12px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
    
    .modal-header {
        padding: 12px 16px !important;
    }
    
    .modal-header h2 {
        font-size: 16px !important;
    }
    
    .close-btn {
        padding: 4px !important;
    }
    
    .close-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .modal-body {
        padding: 16px !important;
        gap: 14px !important;
    }
    
    .input-group {
        gap: 6px !important;
    }
    
    .label-text {
        font-size: 14px !important;
    }
    
    .form-input, .form-textarea {
        padding: 12px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    
    .form-textarea {
        height: 80px !important;
    }
    
    .submit-btn {
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 8px !important;
    }
    
    /* Mobile hero title override */
    .hero-text-side .the-intelligent-operating-system-for-business-finance {
        color: #ffffff !important;
        text-align: left !important;
        font-family: 'General Sans', sans-serif !important;
        font-size: 28px !important;
        line-height: 32px !important;
        font-weight: 400 !important;
        position: relative !important;
        align-self: stretch !important;
        margin-bottom: 16px !important;
        display: block !important;
        word-wrap: break-word !important;
    }
    
    .hero-text-side .a-unified-platform-that-lets-you-bank-pay-get-paid-manage-trust-and-forecast-cash-powered-by-real-time-intelligence {
        font-size: 16px !important;
        line-height: 22px !important;
        color: #ffffff !important;
        margin-bottom: 20px !important;
        font-weight: 400 !important;
        word-wrap: break-word !important;
    }
    
    .hero-btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: calc(100vw - 32px) !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        background: #71A070 !important;
        color: #ffffff !important;
        font-weight: 500 !important;
        word-wrap: break-word !important;
    }
    
    .hero-content-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
        margin-bottom: 32px !important;
    }
    
    /* Hide desktop line break on mobile */
    .desktop-break {
        display: none;
    }
    
    .hero-action-side {
        display: flex !important;
        align-self: flex-start !important;
        width: 100% !important;
        flex: none !important;
    }
    
    .hero-text-side {
        width: 100% !important;
        max-width: calc(100vw - 32px) !important;
        flex: none !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
    }
    
    .hero-main-screen {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin-bottom: 24px !important;
        box-sizing: border-box !important;
    }
    
    .hero-logos-row {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        justify-items: center !important;
        align-items: center !important;
        margin-top: 24px !important;
    }
    
    .hero-logos-row img {
        width: 100% !important;
        max-width: 120px !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

.mobile-menu .header {
    background: #ffffff;
    padding: 16px 32px 16px 32px;
    display: flex;
    flex-direction: row;
    gap: 52px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.mobile-menu .logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 150px;
    position: relative;
}

.fh-logo-print-web-3-in-2 {
    flex-shrink: 0;
    width: 150px;
    position: relative;
    overflow: visible;
    aspect-ratio: 150/24;
}

.mobile-menu .nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    position: relative;
}

.mobile-menu .right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    position: relative;
}

.menu-01 {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
    aspect-ratio: 1;
}

.mobile-menu .menu {
    background: #ffffff;
    border-style: solid;
    border-color: #d0d3d9;
    border-width: 1px 0px 0px 0px;
    padding: 16px 32px 16px 32px;
    display: flex;
    flex-direction: row;
    gap: 52px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
}

.mobile-menu .nav-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    position: relative;
}

.mobile-menu .nav-item {
    background: transparent;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.mobile-menu .text {
    color: #48505e;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

.mobile-menu .button {
    background: #ffffff;
    border-radius: 12px;
    border-style: solid;
    border-color: #71a070;
    border-width: 1px;
    padding: 14px 24px 14px 24px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.mobile-menu .text2 {
    color: #71a070;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
}

.header.active .nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 80px 24px 20px 24px;
        border-radius: 0;
        box-shadow: none;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        z-index: 999;
    }

.header.active .nav-items,
.header.active .nav-items * {
        box-sizing: border-box;
    }

.header.active .nav-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        justify-content: center;
        flex: 1;
        position: relative;
    }

.header.active .nav-item {
        background: transparent;
        border-radius: 12px;
        padding: 10px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
        flex-shrink: 0;
        position: relative;
    }

.header.active .text {
        color: #48505e;
        text-align: left;
        font-family: 'General Sans', sans-serif;
        font-size: 16px;
        line-height: 22px;
        font-weight: 500;
        position: relative;
    }

.header.active .button {
        background: #ffffff;
        border-radius: 12px;
        border-style: solid;
        border-color: #71a070;
        border-width: 1px;
        padding: 14px 24px 14px 24px;
        display: flex;
        flex-direction: row;
        gap: 6px;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }

.header.active .text2 {
        color: #71a070;
        text-align: left;
        font-family: 'General Sans', sans-serif;
        font-size: 16px;
        line-height: 22px;
        font-weight: 500;
        position: relative;
    }

.logo-container {
  width: 150px;
  height: 32px;
  display: flex;
  align-items: center;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-link {
  padding: 10px;
  color: var(--text-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  line-height: 22px;
}

.header-btn {
  padding: 10px 24px;
  border-radius: 12px;
  outline: 1px var(--brand-green) solid;
  color: var(--brand-green);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-btn:hover {
  background: var(--brand-green);
  color: white;
}

/* ================= HAMBURGER MENU ================= */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--dark-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: relative;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
  top: 6px;
}

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

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
  top: -6px;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ================= HERO STYLES ================= */
.hero-wrapper {
  --brand-green: #71a070;
  --white: #ffffff;
  --font-main: "General Sans", sans-serif !important;
  --font-medium: "General Sans", sans-serif !important;
  
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  
  padding-top: 80px !important;
  padding-bottom: 50px !important;
  padding-left: 173px !important; 
  padding-right: 173px !important;
  
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  display: flex;
  flex-direction: column;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 39, 36, 0.4) 0%, rgba(5, 39, 36, 0.9) 100%);
  z-index: -1;
}

.hero-content-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end; 
  gap: 32px;
  width: 100%;
  margin-bottom: 50px;
}

.hero-text-side {
  flex: 1;
}

.hero-text-side .the-intelligent-operating-system-for-business-finance {
  color: #ffffff !important;
  font-family: 'General Sans', sans-serif !important;
  font-size: 48px !important;
  line-height: 56px !important;
  letter-spacing: -0.64px !important;
  font-weight: 400 !important;
  position: relative !important;
  margin-bottom: 24px !important;
}

/* Responsive font sizes for hero title */
@media (max-width: 1400px) {
  .hero-text-side .the-intelligent-operating-system-for-business-finance {
    font-size: 44px !important;
    line-height: 52px !important;
  }
}

@media (max-width: 1200px) {
  .hero-text-side .the-intelligent-operating-system-for-business-finance {
    font-size: 40px !important;
    line-height: 48px !important;
  }
}

@media (max-width: 992px) {
  .hero-text-side .the-intelligent-operating-system-for-business-finance {
    font-size: 36px !important;
    line-height: 44px !important;
  }
}

@media (max-width: 768px) {
  .hero-text-side .the-intelligent-operating-system-for-business-finance {
    color: #ffffff !important;
    text-align: left !important;
    font-family: 'General Sans', sans-serif !important;
    font-size: 28px !important;
    line-height: 40px !important;
    letter-spacing: -0.64px !important;
    font-weight: 400 !important;
    position: relative !important;
    align-self: stretch !important;
    margin-bottom: 16px !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .hero-text-side .the-intelligent-operating-system-for-business-finance {
    font-size: 24px !important;
    line-height: 32px !important;
  }
}

.hero-description {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin: 0;
  opacity: 0.9;
}

.a-unified-platform-that-lets-you-bank-pay-get-paid-manage-trust-and-forecast-cash-powered-by-real-time-intelligence {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin: 0;
  opacity: 0.9;
}

.hero-btn {
  background-color: var(--brand-green) !important;
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-medium);
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 16px;
  line-height: 22px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
}

.orchestrate-any-payment-pay-in-pay-out-collect-in-any-currency-for-domestic-and-cross-border,
.orchestrate-any-payment-pay-in-pay-out-collect-in-any-currency-for-domestic-and-cross-border * {
    box-sizing: border-box;
}

.orchestrate-any-payment-pay-in-pay-out-collect-in-any-currency-for-domestic-and-cross-border {
    color: #48505e;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    position: relative;
    align-self: stretch;
}

.hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.hero-main-screen {
  width: 100% !important;
  height: auto;
  border-radius: 16px;
  display: block;
  margin-bottom: 50px;
}

.hero-logos-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .hero-logos-row {
    flex-wrap: wrap;
    max-width: 600px;
    gap: 30px;
  }
  
  .hero-logos-row img {
    max-width: 140px;
  }
}

.hero-logos-row img {
  width: auto;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.custom-logo {
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.logo-shape-1 {
  width: 33.29px;
  height: 25.60px;
  background: white;
  border-radius: 6px;
}

.logo-shape-2 {
  width: 114.58px;
  height: 17.10px;
  background: white;
  border-radius: 4px;
}

/* ================= CASE STUDY SECTION ================= */
.case-study-section {
  padding: 96px 173px;
  background: linear-gradient(180deg, #F3F5F4 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  gap: 64px;
  font-family: 'General Sans', sans-serif;
  box-sizing: border-box;
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.case-study-header .title-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 671px;
}

.case-study-header h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0;
}

.case-study-header h2 span { color: #71a070; }
.case-study-header h2 .dark-span { color: #2b2f38; }

.case-study-header p {
  font-size: 17px;
  line-height: 20px;
  color: #48505e;
  margin: 0;
}

.slider-nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6eaea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-btn:hover { background: #d1d9d9; }

.mobile-menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-trigger:focus {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.mobile-menu-trigger:active {
  opacity: 0.7;
}

.case-study-card {
  display: flex;
  gap: 32px;
  align-items: stretch;
  width: 100%;
}

.case-study-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px 0;
}

.text-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-study-content h3 {
  font-size: 24px;
  line-height: 28px;
  color: #2b2f38;
  font-weight: 400;
  margin: 0;
}

.case-study-content .description {
  font-size: 16px;
  line-height: 22px;
  color: #48505e;
  margin: 0;
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results-container label {
  font-size: 20px;
  font-weight: 400;
  color: #2b2f38;
}

/* finhub.ai Customer Stories Section */
.stories-section {
  width: 100%;
  padding: 96px 173px;
  background: linear-gradient(180deg, var(--bg-softer) 0%, var(--white) 100%);
  display: flex;
  flex-direction: column;
  gap: 64px;
  font-family: var(--font-main);
  box-sizing: border-box;
  overflow: hidden;
}

.stories-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.stories-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stories-header h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
  margin: 0;
}

.stories-header .green-text { color: var(--brand-green); }
.stories-header .dark-text { color: var(--heading-dark); }

.stories-header p {
  max-width: 671px;
  color: var(--body-grey);
  font-size: 14px;
  line-height: 18px;
  margin: 0;
}

.slider-nav {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  background: #E6EAEA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-arrow:hover { background: #d1d9d9; }

.story-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.story-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.story-slide.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.story-text-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-headlines h3 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  color: var(--heading-dark);
  margin: 0 0 10px 0;
}

.story-headlines p {
  font-size: 14px;
  line-height: 20px;
  color: var(--body-grey);
  margin: 0;
}

.story-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-results h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--heading-dark);
  margin: 0;
}

.stats-flex {
  display: flex;
  gap: 10px;
}

/* Story results metrics row */
.story-results .stats-flex {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 16px !important;
  font-family: 'General Sans', sans-serif !important;
}

.story-results .stat-card {
  padding: 16px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #D0D3D9 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 10px !important;
  min-width: 164px !important;
  width: fit-content !important;
  box-sizing: border-box !important;
  height: auto !important;
  backdrop-filter: none !important;
}

.story-results .stat-val {
  align-self: stretch !important;
  font-size: 40px !important;
  font-weight: 500 !important;
  line-height: 48px !important;
  word-wrap: break-word !important;
}

.story-results .stat-val.brand { color: #71A070 !important; }
.story-results .stat-val.secondary { color: #375553 !important; }

.story-results .stat-label {
  align-self: stretch !important;
  color: #48505E !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  word-wrap: break-word !important;
}

.stat-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-val {
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
}

.stat-val.brand { color: var(--brand-green); }
.stat-val.secondary { color: var(--secondary-dark); }

.stat-label {
  color: var(--text-white) !important;
  font-size: 28px !important;
  font-family: General Sans !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  word-wrap: break-word !important;
}

.btn-learn {
  padding: 14px 24px;
  background: var(--secondary-dark);
  color: var(--white);
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: opacity 0.3s ease;
}

.btn-learn:hover { opacity: 0.9; }

.story-image-wrap {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 39, 36, 0.60) 0%, rgba(55, 85, 83, 0) 100%), #E6EAEA;
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Stories Section */
@media (max-width: 1200px) {
  .stories-section { 
    padding: 80px 20px; 
  }
  .story-grid { 
    grid-template-columns: 1fr; 
  }
  .story-image-wrap { 
    height: 350px; 
    order: -1; 
  }
}

@media (max-width: 992px) {
  .stories-section {
    padding: 60px 32px;
    gap: 48px;
  }
  .stories-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .story-headlines h3 {
    font-size: 20px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  .stories-section {
    padding: 48px 16px;
  }
  .story-text-area {
    gap: 24px;
  }
  .story-image-wrap {
    height: 280px;
  }
  .stats-flex {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  .stories-section {
    padding: 40px 16px;
  }
  .stories-header h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .stories-header p {
    font-size: 14px;
    line-height: 18px;
  }
  .story-image-wrap {
    height: 240px;
  }
  .stats-flex {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

/* Landscape Orientation Fixes */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-wrapper {
    min-height: auto;
    padding: 32px 40px !important;
  }
  .story-image-wrap {
    height: 300px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .stories-section {
    padding: 40px 24px;
  }
  .story-grid {
    gap: 24px;
  }
}

/* Responsive metric cards */
@media (max-width: 768px) {
  .stat-box {
    padding: 10px;
    min-width: 120px;
  }
  
  .stat-val {
    font-size: 28px;
    line-height: 34px;
  }
  
  .stat-label {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .stat-box {
    padding: 8px;
    min-width: auto;
    width: 100%;
  }
  
  .stat-val {
    font-size: 24px;
    line-height: 30px;
  }
  
  .stat-label {
    font-size: 11px;
    line-height: 14px;
  }
}

.learn-more-btn {
  background: #375553;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.learn-more-btn:hover { opacity: 0.9; }

.frame-10,
.frame-10 * {
    box-sizing: border-box;
}

.frame-10 {
    background-image: url('./images/Case-Study-1_Building-the-Future-of-Commerce_cover-scaled.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.frame-10::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(5, 39, 36, 0.60) 0%, rgba(55, 85, 83, 0.00) 100%);
    border-radius: 12px;
    z-index: 1;
}

.frame-10 img {
    display: none;
}

@media (max-width: 1200px) {
  .case-study-section { padding: 80px 20px; }
  .case-study-card { flex-direction: column; }
  .case-study-img { min-height: 300px; order: -1; }
}

/* ================= CUSTOMER STORIES SECTION ================= */
.site-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.finhub-wrapper {
  width: 100%;
  margin: 0;
  padding: 60px 173px;
  background-color: #F3F5F4;
}

.finhub-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.finhub-top-left h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.finhub-top-left .customer {
  color: #71A070;
  font-weight: 400;
}

.finhub-top-left .stories {
  color: var(--heading);
  font-weight: 400;
}

.finhub-top-left p {
  margin-top: 10px;
  max-width: 520px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

.finhub-nav {
  display: flex;
  gap: 12px;
}

.finhub-nav img {
  width: 30px;
  height: 30px;
  cursor: pointer;
  opacity: 0.85;
}

.finhub-nav img:hover {
  opacity: 1;
}

.finhub-slider {
  overflow: hidden;
  width: 100%;
}

.finhub-slides {
  display: flex;
  transition: transform 0.6s ease;
}

.finhub-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.finhub-heading {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 14px;
}

.finhub-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 26px;
}

.finhub-results {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.finhub-result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  min-width: 180px;
}

.finhub-result h3 {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--green-light);
}

.finhub-result.dark h3 {
  color: var(--green-dark);
}

.finhub-result span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.finhub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  outline: none;
  transition: background 0.2s ease;
}

.finhub-btn:hover {
  background: #2E4B42;
  color: #ffffff;
}

.finhub-image {
  border-radius: 20px;
  overflow: hidden;
}

.finhub-image img {
  width: 100%;
  display: block;
}

/* ================= GLOBAL IMPACT SECTION ================= */
.impact-section {
  width: 100%;
  padding: 96px 173px;
  position: relative;
  display: grid;
  grid-template-columns: 392px 1fr;
  gap: 48px;
  font-family: 'General Sans', sans-serif;
  box-sizing: border-box;
  color: white;
  overflow: hidden;
}

.impact-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.impact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(91deg, rgba(5, 39, 36, 0.90) 0%, rgba(5, 39, 36, 0.4) 100%);
  z-index: -1;
}

/* Side Header */
.impact-title h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
  margin: 0;
}

.impact-title .white { color: #ffffff; }
.impact-title .highlight { color: #B2E8B1; }

/* Impact Cards Grid */
.impact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.impact-glass-card {
  min-height: 200px;
  padding: 24px;
  background: rgba(250, 253, 252, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, background 0.3s ease;
}

.impact-glass-card:hover {
  transform: translateY(-5px);
  background: rgba(250, 253, 252, 0.25);
}

/* Top Row: Value + Unit */
.impact-stat-top .big-num {
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
}

.impact-stat-top .unit {
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
  margin-left: 4px;
}

/* Bottom Row: Description */
.impact-label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  opacity: 0.9;
}

/* --- Responsive Styles --- */
@media (max-width: 1100px) {
  .impact-section {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }
  .impact-title { margin-bottom: 24px; }
}

@media (max-width: 768px) {
  .impact-container {
    grid-template-columns: 1fr;
  }
  .impact-section {
    padding: 48px 20px;
  }
  .impact-stat-top .big-num { font-size: 28px; }
  .impact-stat-top .unit { font-size: 18px; }
  .impact-label {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .impact-section {
    padding: 40px 16px;
  }
  .impact-title h2 {
    font-size: 28px;
    line-height: 32px;
  }
  .impact-glass-card {
    padding: 20px;
    min-height: 180px;
  }
  .impact-stat-top .big-num { font-size: 24px; line-height: 32px; }
  .impact-stat-top .unit { font-size: 16px; line-height: 20px; }
  .impact-label {
    font-size: 12px;
    line-height: 16px;
  }
}

/* ================= HOW FINHUB.AI HELPS YOU WIN SECTION ================= */
.win-section {
  padding: 96px 173px;
  display: grid;
  grid-template-columns: 392px 1fr;
  gap: 32px;
  align-items: flex-start;
  font-family: var(--font-main);
  background: #ffffff;
}

.win-header {
  position: static;
}

.win-header h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0 0 10px 0;
  color: var(--heading-dark);
}

.win-header h2 span { color: var(--brand-green); }

.how-finhub-ai-helps-you-win {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0 0 10px 0;
  color: var(--heading-dark);
}

.how-finhub-ai-helps-you-win-span {
  color: var(--heading-dark);
}

.how-finhub-ai-helps-you-win-span2 {
  color: var(--brand-green);
}

.win-header p {
  font-size: 14px;
  font-family: General Sans;
  font-weight: 400;
  line-height: 18px;
  color: #48505E;
  margin: 0;
  word-wrap: break-word;
}

.win-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.win-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  transition: transform 0.2s ease;
}

.win-card:hover {
  transform: translateX(8px);
}

.win-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.win-icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.win-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.win-card h3 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  margin: 0;
  color: var(--heading-dark);
}

.win-card-description {
  font-size: 14px;
  line-height: 20px;
  color: var(--body-grey);
  margin: 0;
}


@media (max-width: 1200px) {
  .win-section { 
    padding: 80px 20px; 
    grid-template-columns: 1fr; 
  }
  .win-header { 
    position: static; 
    margin-bottom: 40px; 
  }
  .win-cards-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .win-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ================= WHO WE SERVE SECTION ================= */
.serve-section {
  padding: 96px 173px;
  background-color: #F3F5F4;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: var(--font-main);
  box-sizing: border-box;
}

.serve-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.serve-header h2 {
  font-size: 32px;
  font-family: General Sans;
  font-weight: 400;
  line-height: 36px;
  color: #2B2F38;
  margin: 0;
  word-wrap: break-word;
}

.serve-header h2 span {
  color: #71A070;
}

.serve-header p {
  max-width: 700px;
  font-size: 17px;
  font-family: General Sans;
  font-weight: 400;
  line-height: 20px;
  color: #48505E;
  margin: 0;
  word-wrap: break-word;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.serve-card {
  padding: 20px;
  background-color: #E6EAEA;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.3s ease;
}

.serve-card:hover {
  transform: translateY(-8px);
}

.serve-card img {
  width: 100%;
  height: 200px;
  background-color: #8C9D9C;
  border-radius: 8px;
  object-fit: cover;
}

.serve-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.serve-card h3 {
  font-size: 24px;
  font-family: General Sans;
  font-weight: 400;
  line-height: 28px;
  color: #2B2F38;
  margin: 0;
  word-wrap: break-word;
}

.serve-card p {
  font-size: 14px;
  line-height: 20px;
  color: var(--body-grey);
  margin: 0;
}

@media (max-width: 1200px) {
  .serve-section { padding: 80px 20px; }
  .serve-grid { grid-template-columns: 1fr; }
}

/* ================= CTA SECTION ================= */
.cta-section {
  padding: 128px 173px;
  background: 
    radial-gradient(ellipse 115.2% 115.2% at 50% -15.2%, #435F42 45%, rgba(5, 39, 36, 0) 100%), 
    #052724;
  border-bottom: 1px solid #375553;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  font-family: var(--font-main);
  box-sizing: border-box;
  overflow: hidden;
}

.cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-content h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0;
  color: #ffffff;
}

.cta-content h2 span {
  color: #B2E8B1;
}

.cta-content p {
  font-size: 17px;
  line-height: 20px;
  color: #ffffff;
  margin: 0;
  max-width: 580px;
}

.cta-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 20px;
}

.btn {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #71A070;
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: #ffffff;
  color: #71A070;
  outline: 1px solid #71A070;
  border: none;
}

.btn-outline:hover {
  background-color: #f8fcf8;
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .cta-section {
    padding: 80px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .cta-content { max-width: 100%; }
  .cta-actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 40px 16px;
  }
}

/* ================= CUSTOM FOOTER ================= */
.custom-footer {
  --bg-dark: #052724;
  --text-white: #ffffff;
  --font-reg: "General Sans", sans-serif;
  --font-med: "General Sans", sans-serif;
  --side-padding: 173px;

  background-color: var(--bg-dark);
  padding: 0 var(--side-padding) 0 var(--side-padding); 
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.footer-divider-top {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 80px;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
}

.footer-tagline {
  color: var(--text-white);
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 22px;
  max-width: 400px;
  margin: 0;
}

.footer-copyright {
  color: var(--text-white);
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

.footer-right {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 120px;
}

.footer-nav-title {
  color: var(--text-white);
  font-family: var(--font-med);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-family: var(--font-reg);
  font-size: 16px;
  line-height: 22px;
  transition: opacity 0.3s ease;
}

.footer-nav-links a:hover {
  opacity: 0.6;
}

.footer-bottom-graphic {
  width: 100%; 
  position: relative;
  z-index: 1;
  display: block;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.footer-bottom-graphic img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  .custom-footer {
    padding: 0 40px 0 40px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 50px;
  }
  .footer-right {
    justify-content: flex-start;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .custom-footer {
    padding: 0 16px 0 16px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-nav-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    margin-bottom: 8px;
  }

  .footer-nav-links {
    gap: 12px;
  }

  .footer-nav-links a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
  }

  .footer-tagline, 
  .footer-copyright {
    font-size: 14px;
    line-height: 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .custom-footer {
    padding: 0 16px 0 16px;
  }
}

.footer-logo {
  width: 120px;
}

.footer-divider-top {
  margin-bottom: 40px;
}

/* ================= CORE CAPABILITIES SECTION ================= */
.core-capabilities-section {
    padding: 96px 173px;
    display: grid;
    grid-template-columns: 392px 1fr;
    gap: 32px;
    background: #ffffff;
    font-family: 'General Sans', sans-serif;
    box-sizing: border-box;
  }

  /* Left Header Alignment */
  .cap-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cap-header h2 {
    font-size: 32px;
    line-height: 36px;
    font-weight: 400;
    margin: 0;
  }

  .cap-header .brand { color: #71a070; }
  .cap-header .dark { color: #2b2f38; }

  .cap-header p {
    color: #48505e;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
  }

  /* Cards Grid */
  .cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cap-card {
    background: #f3f5f4;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
  }

  .cap-card:hover { transform: translateY(-4px); }

  .cap-card h3 {
    font-size: 24px;
    color: #2b2f38;
    margin: 0 0 12px 0;
    font-weight: 400;
  }

  .cap-card p {
    font-size: 14px;
    line-height: 20px;
    color: #48505e;
    margin: 0 0 24px 0;
  }

  /* Image Frame - Border Removed */
  .img-frame {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F4 100%);
    border-radius: 12px;
    height: 300px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none; /* Removed border */
  }

  .img-frame img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Responsive Fixes */
  @media (max-width: 1200px) {
    .core-capabilities-section { grid-template-columns: 1fr; padding: 60px 40px; }
    .cap-header { margin-bottom: 40px; }
  }

  @media (max-width: 768px) {
    .cap-grid { grid-template-columns: 1fr; }
  }

.cap-left-header {
  position: sticky;
  top: 40px;
}

.cap-left-header h2 {
  font-family: var(--font-main);
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.6px;
  margin: 0 0 16px 0;
  font-weight: 400;
}

.cap-left-header .brand-text { color: var(--brand-green); }
.cap-left-header .heading-text { color: var(--heading-dark); }

.finhub-top-left h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0 0 10px 0;
}

.finhub-top-left h2 span.brand-text {
  color: var(--brand-green);
}

.finhub-top-left h2 span.heading-text {
  color: var(--heading-dark);
}

.building-the-future-of-commerce-global-bank-reinvents-escrow-payouts-with-finhub-ai,
.building-the-future-of-commerce-global-bank-reinvents-escrow-payouts-with-finhub-ai * {
    box-sizing: border-box;
}

.building-the-future-of-commerce-global-bank-reinvents-escrow-payouts-with-finhub-ai {
    color: #2b2f38;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.24px;
    font-weight: 400;
    position: relative;
    align-self: stretch;
}

.customer-stories {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  margin: 0 0 10px 0;
}

.customer-stories-span {
  color: var(--heading-dark);
}

.customer-stories-span2 {
  color: var(--brand-green);
}

.real-stories-of-how-finhub-ai-delivers-efficiency-control-and-measurable-impact-across-financial-operations {
  color: var(--text);
  font-size: 17px;
  line-height: 24px;
  margin: 0;
}

.a-top-50-global-bank-operating-across-17-countries-wanted-to-scale-its-fast-growing-escrow-and-payouts-business-its-liquidity-department-required-a-more-efficient-way-to-manage-rising-transaction-volumes-complex-customer-requirements-and-cross-border-operations-while-maintaining-efficiency-compliance-and-profitability-without-overhauling-existing-infrastructure {
  color: var(--text);
  font-size: 17px;
  line-height: 24px;
  margin: 0;
}

.cap-left-header p {
  color: var(--text);
  font-size: 17px;
  line-height: 24px;
  margin: 0;
}

.stat-box,
.stat-box * {
    box-sizing: border-box;
}

.stat-box {
    background: #ffffff;
    border-radius: 12px;
    border-style: solid;
    border-color: #d0d3d9;
    border-width: 1px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cap-card {
    background: #f3f5f4;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }

  .cap-card:hover { transform: translateY(-4px); }

  .cap-card h3 {
    font-size: 24px;
    color: #2b2f38;
    margin: 0 0 12px 0;
    font-weight: 400;
  }

  .cap-card p {
    font-size: 14px;
    line-height: 20px;
    color: #48505e;
    margin: 0 0 20px 0;
  }

  .text-content {
    flex: 0 0 auto;
  }

  /* Image Frame - Border Removed */
  .img-frame {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F4 100%);
    border-radius: 12px;
    height: 360px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none; /* Removed border */
    position: relative;
    flex: 1;
  }

  .img-frame img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Responsive Fixes */
  @media (max-width: 1200px) {
    .core-capabilities-section { grid-template-columns: 1fr; padding: 60px 40px; }
    .cap-header { margin-bottom: 40px; }
  }

  @media (max-width: 768px) {
    .cap-grid { grid-template-columns: 1fr; }
  }

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .main-header, .finhub-wrapper { 
    padding-left: 40px !important; 
    padding-right: 40px !important; 
  }
  .core-capabilities-section {
    grid-template-columns: 1fr;
    padding: 60px 20px !important;
  }
  .cap-left-header { position: static; margin-bottom: 40px; }
}

@media (max-width: 1024px) {
  .finhub-slide {
    grid-template-columns: 1fr;
  }
  .finhub-image {
    order: -1;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .hero-wrapper {
    padding: 60px 40px !important;
    min-height: 600px !important;
  }

  .hero-content-flex {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
  }

  .hero-text-side {
    max-width: 60% !important;
    flex: 1 !important;
  }

  .hero-action-side {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .hero-btn {
    white-space: nowrap !important;
    padding: 14px 28px !important;
    width: auto !important;
  }

  .the-intelligent-operating-system-for-business-finance {
    font-size: 36px !important;
    line-height: 44px !important;
  }

  .a-unified-platform-that-lets-you-bank-pay-get-paid-manage-trust-and-forecast-cash-powered-by-real-time-intelligence {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .hero-main-screen {
    width: 100% !important;
    margin-bottom: 32px !important;
  }

  .hero-logos-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
  }

  .hero-logos-row img {
    width: auto !important;
    max-width: 140px !important;
    height: auto !important;
  }
}

@media (max-width: 1024px) {
  .hero-wrapper {
    padding: 40px 24px !important;
    border-radius: 0;
    min-height: 500px;
  }

  .hero-text-side {
    max-width: 100%;
  }

  .the-intelligent-operating-system-for-business-finance {
    font-size: 28px !important;
    line-height: 36px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-wrapper {
    padding: 48px 32px !important;
    min-height: 600px;
  }
  
  .core-capabilities-section {
    padding: 60px 20px !important;
  }
  
  .cap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .img-frame {
    height: 200px;
  }
  
  .img-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-wrapper {
    padding: 40px 40px !important;
    min-height: 450px;
  }
  
  .stories-section {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .main-header { 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    position: relative;
  }
  
  .logo {
    width: auto;
    flex-shrink: 0;
  }
  
  .fh-logo-print-web-3-in-1 {
    width: 120px;
    height: auto;
    flex-shrink: 0;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 24px;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 10px;
  }

  .menu,
  .menu * {
    box-sizing: border-box;
  }

  .menu {
    background: #ffffff;
    border-style: solid;
    border-color: #d0d3d9;
    border-width: 1px 0px 0px 0px;
    padding: 16px 32px 16px 32px;
    display: flex;
    flex-direction: row;
    gap: 52px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
  }

  .nav-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    position: relative;
  }

  .nav-item {
    background: transparent;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
  }

  .text {
    color: #48505e;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
  }

  .button {
    background: #ffffff;
    border-radius: 12px;
    border-style: solid;
    border-color: #71a070;
    border-width: 1px;
    padding: 14px 24px 14px 24px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }

  .text2 {
    color: #71a070;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    position: relative;
  }

  .nav-menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-links {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    font-size: 15px;
    color: var(--text-body);
    text-decoration: none;
    transition: background-color 0.2s ease;
    text-align: left;
  }
  
  .nav-link:hover {
    background-color: var(--card-bg);
  }
  
  .header-btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .hero-wrapper {
    padding: 60px 24px !important;
    border-radius: 0;
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-content-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
  }
  
  .the-intelligent-operating-system-for-business-finance,
.the-intelligent-operating-system-for-business-finance * {
    box-sizing: border-box;
}

.hero-text-side .the-intelligent-operating-system-for-business-finance {
    color: #ffffff !important;
    text-align: left;
    font-family: 'General Sans', sans-serif;
    font-size: 40px !important;
    line-height: 48px !important;
    letter-spacing: -0.64px;
    font-weight: 400;
    position: relative;
    align-self: stretch;
    margin-bottom: 16px;
    display: block;
  }
  
  .hero-description {
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    text-align: left;
    max-width: 400px;
  }
  
  .hero-action-side {
    width: 100%;
  }
  
  .hero-btn {
    width: auto;
    max-width: 280px;
    padding: 16px 32px;
    font-size: 16px;
    text-align: center;
    margin: 0;
    display: inline-block;
  }
  
  .hero-main-screen {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 32px;
    padding: 8px;
    background: #FAFDFC;
    object-fit: contain;
  }
  
  .hero-logos-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    justify-items: center;
    align-items: center;
    padding: 0;
  }
  
  .hero-logos-row img {
    width: 140px;
    height: auto;
    object-fit: contain;
  }
  
  .hero-logos-row img:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .hero-wrapper {
    padding: 40px 16px !important;
  }
  
    
  .hero-description {
    font-size: 16px;
    line-height: 22px;
  }
  
  .hero-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .hero-main-screen {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin-bottom: 40px;
    padding: 10px;
    background: #FAFDFC;
    object-fit: contain;
  }
  
  .hero-logos-row {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-logos-row img {
    width: auto;
    max-width: 100px;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .finhub-top {
    flex-direction: column;
  }
  .cap-right-grid {
    grid-template-columns: 1fr;
  }
}
