/**
 * Seerave Ventures - Light Theme Styles
 * Custom styling for the Ventures page
 */

/* ========================================
   Variables & Reset
   ======================================== */
:root {
    --ventures-bg-dark: #002B33;
    --ventures-bg-light: #124F54;
    --ventures-bg: #124F54;
    --ventures-primary: #F24E57;
    --ventures-white: #FFFFFF;
    --ventures-text-dark: #FFFFFF;
    --ventures-text-body: #FFFFFF;
    --ventures-text-secondary: #FFFFFF;
    --ventures-light-grey: rgba(222, 222, 222, 0.5); /* rgba(222, 222, 222, 0.5) at 50% opacity */
    --ventures-border-light: rgba(222, 222, 222, 0.25);
}

/* Text Selection */
.ventures-body ::selection {
    background-color: #FFFFFF;
    color: #002B33;
}

.ventures-body ::-moz-selection {
    background-color: #FFFFFF;
    color: #002B33;
}

/* ========================================
   Custom Cursor - White for Dark Theme
   ======================================== */
.ventures-body .cursor {
    background-color: #FFFFFF !important;
}

.ventures-body .cursor::after {
    border-color: #FFFFFF !important;
}

/* Cursor black when modals are open (white background) */
.ventures-body.ventures-modal-open .cursor {
    background-color: #000000 !important;
}

.ventures-body.ventures-modal-open .cursor::after {
    border-color: #000000 !important;
}

/* ========================================
   Light Theme Overrides for Preloader
   ======================================== */

/* Preloader - dark theme */
.ventures-body main::after {
    background-color: var(--ventures-bg-dark) !important;
}

/* Preloader logo/animation - adjust if needed */
.ventures-body .preloader-logo {
    filter: none;
}

/* ========================================
   Body & Main Container
   ======================================== */
.ventures-body {
    background-color: var(--ventures-bg-light);
    color: var(--ventures-text-body);
    font-family: 'TTCommons', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    padding-top: 0 !important; /* Override theme-styles.css padding-top */
    position: relative;
}

.ventures-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(180deg, var(--ventures-bg-dark) 0%, var(--ventures-bg-light) 100%);
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    .ventures-body {
        padding-top: 0 !important; /* Override theme-styles.css padding-top for large screens */
    }
}

.ventures-main {
    background-color: var(--ventures-bg-light);
    min-height: 100vh;
    overflow: visible;
}

.ventures-page {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* ========================================
   Footer - Same as Foundation theme
   ======================================== */
/* Ensure footer uses dark theme styles */
.ventures-body .main-footer {
    color: rgba(222, 222, 222, 0.75) !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: inherit !important;
    border-top: 1px solid rgba(222, 222, 222, 0.1) !important;
    padding: 2.45rem 0 1.45rem !important;
}

.ventures-body .main-footer a {
    color: rgba(222, 222, 222, 0.75) !important;
    font-weight: normal !important;
}

.ventures-body .main-footer a i,
.ventures-body .main-footer a .fab,
.ventures-body .main-footer a .fas,
.ventures-body .main-footer a .fa-brands,
.ventures-body .main-footer a i::before,
.ventures-body .main-footer a .fab::before,
.ventures-body .main-footer a .fas::before,
.ventures-body .main-footer a .fa-brands::before {
    color: rgba(222, 222, 222, 0.75) !important;
}

.ventures-body .main-footer a .fa-x-twitter,
.ventures-body .main-footer a .fa-x-twitter::before,
.ventures-body .main-footer a i.fa-x-twitter,
.ventures-body .main-footer a i.fa-x-twitter::before {
    color: rgba(222, 222, 222, 0.75) !important;
}

.ventures-body .main-footer a.social-link .fa-x-twitter,
.ventures-body .main-footer a.social-link i.fa-x-twitter,
.ventures-body .main-footer a.social-link i.fa-x-twitter::before {
    color: rgba(222, 222, 222, 0.75) !important;
}

/* Force color on SVG if Font Awesome uses SVG */
.ventures-body .main-footer a svg,
.ventures-body .main-footer a.social-link svg {
    fill: rgba(222, 222, 222, 0.75) !important;
    color: rgba(222, 222, 222, 0.75) !important;
}

.ventures-body .main-footer a svg path,
.ventures-body .main-footer a.social-link svg path {
    fill: rgba(222, 222, 222, 0.75) !important;
}

.ventures-body .main-footer a:hover svg {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

.ventures-body .main-footer a:hover svg path {
    fill: #FFFFFF !important;
}

.ventures-body .main-footer .footer-link {
    color: rgba(222, 222, 222, 0.75) !important;
    font-weight: normal !important;
    border-bottom: 1px solid rgba(222, 222, 222, 0.25) !important;
}

.ventures-body .main-footer .footer-link-spaced {
    margin-left: 15px;
}

.ventures-body .main-footer a:hover {
    color: #FFFFFF !important;
    cursor: pointer;
}

.ventures-body .main-footer a:hover i,
.ventures-body .main-footer a:hover .fab,
.ventures-body .main-footer a:hover .fas,
.ventures-body .main-footer a:hover .fa-brands {
    color: inherit !important;
}

/* ========================================
   Navigation - Using main-navbar with Ventures styling
   ======================================== */
/* Override main-navbar background for Ventures light theme */
.ventures-body .main-navbar {
    background-color: transparent !important;
}

.ventures-body .main-navbar.nav-down {
    -webkit-box-shadow: 0 10px 40px 0 rgba(0,0,0,0.1) !important;
    box-shadow: 0 10px 40px 0 rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(8px);
}

/* Logo styling for Ventures */
.ventures-body .main-navbar .navbar-brand .logotype {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.ventures-body .main-navbar .navbar-brand:hover .logotype {
    opacity: 0.8;
    transform: none !important;
}

/* Foundation button styling */
.ventures-body .main-navbar .btn-ventures {
    border: 1px solid var(--ventures-primary) !important;
    color: var(--ventures-primary) !important;
    padding: 4px 12px !important;
    border-radius: 100px !important;
    font-size: 16px !important;
    font-weight: 400;
    transition: all 0.3s ease;
}

.ventures-body .main-navbar .btn-ventures:hover {
    background-color: var(--ventures-primary) !important;
    color: var(--ventures-white) !important;
    border-color: var(--ventures-primary) !important;
}

.ventures-body .main-navbar .btn-ventures:focus,
.ventures-body .main-navbar .btn-ventures:active,
.ventures-body .main-navbar .btn-ventures.active,
.ventures-body .main-navbar .btn-ventures:focus:active,
.ventures-body .main-navbar .navbar-nav .btn-ventures:focus,
.ventures-body .main-navbar .navbar-nav .btn-ventures:active,
.ventures-body .main-navbar .navbar-nav .btn-ventures.active,
.ventures-body .main-navbar .navbar-nav .btn-ventures:focus:active,
.ventures-body .main-navbar .navbar-nav .btn-ventures:hover {
    background-color: var(--ventures-primary) !important;
    color: var(--ventures-white) !important;
    border-color: var(--ventures-primary) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================
   Hero Section
   ======================================== */
.ventures-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-start;
    padding-top: 180px;
    padding-bottom: 0;
    overflow: visible;
    background: transparent;
    z-index: 1;
}

@media (min-width: 992px) {
    .ventures-hero {
        padding-top: 180px;
    }
}

/* Match navbar container alignment - use standard container width */
.ventures-hero .container {
    padding-top: 0;
}

.ventures-hero .row {
    align-items: flex-start;
    padding-top: 0;
    justify-content: flex-start;
}

.ventures-hero .hero-title {
    text-align: left;
}

.header-glow {
    display: none;
}

.header-glow .glow-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ventures-hero .hero-title {
    font-size: 64px;
    line-height: 80px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.ventures-hero .hero-title .bold {
    font-weight: 600;
}

.ventures-hero .scroll-arrow {
    display: inline-block;
    width: 17px;
    height: 60px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ventures-hero .scroll-arrow:hover {
    transform: translateY(5px);
}

.ventures-hero .scroll-arrow img {
    width: 100%;
    height: auto;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    max-height: 1000px;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
}

.hero-image-wrapper::before {
    display: none;
}

.hero-image-wrapper .hero-image {
    width: auto;
    height: auto;
    max-height: 1000px;
    object-fit: contain;
    mix-blend-mode: normal;
    opacity: 1;
}

/* Canvas for image sequence */
#ventures-sequence-canvas {
    display: block;
    width: auto;
    height: auto;
    max-height: 920px;
    object-fit: contain;
}

/* Hide image sequence on mobile to save bandwidth */
@media (max-width: 1023px) {
    .hero-image-wrapper {
        display: none;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ========================================
   Intro Section
   ======================================== */
.ventures-intro {
    padding: 80px 0 50px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* Use standard container width to match Portfolio Spotlights - no override needed */

.ventures-intro .intro-text {
    font-size: 42px;
    line-height: 48px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    margin: 0;
    text-align: left;
    max-width: 768px;
}

/* ========================================
   Portfolio Spotlights Section
   ======================================== */
.ventures-portfolio-spotlights {
    padding: 100px 0 60px 0;
    position: relative;
    z-index: 1;
}

.ventures-portfolio-spotlights .section-title {
    font-size: 32px;
    line-height: 48px;
    font-weight: 400;
    color: var(--ventures-text-secondary);
    margin-bottom: 40px;
}

.project-spotlight {
    margin-bottom: 150px;
}

.project-spotlight .project-title {
    font-size: 42px;
    line-height: 48px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    margin-bottom: 10px;
}

.project-spotlight .project-title a {
    color: var(--ventures-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-spotlight .project-title a:hover {
    color: var(--ventures-primary);
}

.project-spotlight .project-title button {
    color: var(--ventures-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.project-spotlight .project-title button:hover {
    color: var(--ventures-primary);
}

.project-image-button {
    display: block;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.project-image-button img {
    transition: opacity 0.3s ease;
}

.project-image-button:hover img {
    opacity: 0.85;
}

.project-spotlight .project-tagline {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--ventures-text-secondary);
    margin-bottom: 30px;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 353px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.project-image-wrapper a:hover {
    opacity: 0.9;
}

.project-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(18, 79, 84, 0.3) 0%, transparent 100%);
    z-index: 1;
}

.project-image-wrapper .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image-wrapper .project-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: auto;
    z-index: 2;
    opacity: 0.6;
}

.project-image-wrapper .project-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.project-founders {
    margin-top: 20px;
}

.project-founders .founders-label {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--ventures-text-secondary);
    margin-bottom: 10px;
}

.founders-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.founder-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 120px;
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 0;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: var(--ventures-text-dark);
    margin: 0;
}

.founder-name a,
.founder-name button {
    color: var(--ventures-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.founder-name a:hover,
.founder-name button:hover {
    color: var(--ventures-primary);
}

.founder-photo a,
.founder-photo button {
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.founder-photo a:hover,
.founder-photo button:hover {
    opacity: 0.8;
}

.founder-photo button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Venture Philanthropy Section
   ======================================== */
.ventures-philanthropy {
    padding: 0 0 60px;
    position: relative;
    z-index: 1;
}

.ventures-philanthropy .section-title {
    font-size: 32px;
    line-height: 48px;
    font-weight: 400;
    color: var(--ventures-text-secondary);
    margin-bottom: 48px;
}

.ventures-philanthropy .container {
    max-width: 1110px;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 1200px) {
    .ventures-philanthropy .container {
        max-width: 1110px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo-item {
    width: 160px;
    height: 160px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.logo-item a,
.logo-item button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.logo-item a:focus,
.logo-item button:focus {
    outline: none;
}

.logo-item img {
    max-width: 160px;
    max-height: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   Limited Partner Section
   ======================================== */
.ventures-limited-partner {
    padding: 120px 0 50px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.ventures-limited-partner .section-title {
    text-align: left;
    margin-bottom: 48px;
}

.ventures-limited-partner .lp-text {
    font-size: 42px;
    line-height: 48px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    margin: 0;
    text-align: left;
}

/* ========================================
   Contact Form Section
   ======================================== */
.ventures-contact-form {
    padding: 0 0 100px;
    position: relative;
    z-index: 1;
}

.ventures-contact-form .form-title {
    font-size: 42px;
    line-height: 48px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    margin-bottom: 32px;
}

.contact-form-wrapper {
    max-width: 1110px;
}

.ventures-simple-form .form-group {
    margin-bottom: 45px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.ventures-simple-form .form-group-message {
    margin-top: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
}

.ventures-simple-form input[type="email"],
.ventures-simple-form textarea {
    width: 400px;
    font-family: 'TTCommons', sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 48px;
    color: #FFFFFF;
    border: none;
    border-bottom: 1px solid rgba(222, 222, 222, 0.25);
    background: transparent;
    padding: 0 0 1px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.ventures-simple-form input[type="email"]:focus,
.ventures-simple-form textarea:focus {
    outline: none;
    border-bottom-color: #F24E57;
    box-shadow: none;
}

.ventures-simple-form input[type="email"]::placeholder,
.ventures-simple-form textarea::placeholder {
    color: rgba(222, 222, 222, 0.5);
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
    opacity: 1;
    visibility: visible;
}

.ventures-simple-form input[type="email"]::-webkit-input-placeholder,
.ventures-simple-form textarea::-webkit-input-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
    visibility: visible;
}

.ventures-simple-form input[type="email"]::-moz-placeholder,
.ventures-simple-form textarea::-moz-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
}

.ventures-simple-form input[type="email"]:-ms-input-placeholder,
.ventures-simple-form textarea:-ms-input-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
}

.ventures-simple-form textarea {
    resize: none;
    min-height: 48px;
    height: 48px;
    padding: 0;
    padding-bottom: 1px;
    line-height: 48px;
    vertical-align: bottom;
    margin-bottom: 0;
    overflow: hidden;
    transition: height 0.1s ease, border-color 0.3s ease;
}

.ventures-submit-btn {
    background-color: var(--ventures-primary);
    color: var(--ventures-white);
    border: 1px solid var(--ventures-primary);
    border-radius: 25px;
    padding: 12px 35px;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
}

.ventures-submit-btn:hover {
    background-color: #FFFFFF;
    border-color: var(--ventures-primary);
    color: var(--ventures-primary);
    cursor: pointer;
}

/* Loading state for simple form button */
.ventures-simple-form button[type="submit"]:disabled,
.ventures-simple-form button[type="submit"].submitting {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.ventures-simple-form button[type="submit"]:disabled::after,
.ventures-simple-form button[type="submit"].submitting::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--ventures-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 1;
}

/* Contact Form 7 Styling - Using same styles as contact-content-section */
.ventures-contact-form .wpcf7-form {
    width: 100%;
}

/* Hide label text but keep the wrapper visible */
.ventures-contact-form .wpcf7-form label {
    display: block;
    font-size: 0;
    line-height: 0;
}

.ventures-contact-form .wpcf7-form-control-wrap {
    display: block;
    position: relative;
    margin-bottom: 45px;
    width: 400px;
}

.ventures-contact-form .wpcf7-form input[type="email"],
.ventures-contact-form .wpcf7-form input[type="text"],
.ventures-contact-form .wpcf7-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(222, 222, 222, 0.25);
    color: #FFFFFF;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
    padding: 0 0 1px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
    display: block;
    min-height: 48px;
    height: auto;
    font-family: 'TTCommons', sans-serif;
}

.ventures-contact-form .wpcf7-form textarea {
    resize: none;
    min-height: 48px;
    height: 48px;
    padding: 0;
    padding-bottom: 1px;
    line-height: 48px;
    vertical-align: bottom;
    margin-bottom: 0;
    overflow: hidden;
    transition: height 0.1s ease, border-color 0.3s ease;
}

.ventures-contact-form .wpcf7-form input[type="email"]:focus,
.ventures-contact-form .wpcf7-form input[type="text"]:focus,
.ventures-contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-bottom-color: #F24E57;
    box-shadow: none;
}

.ventures-contact-form .wpcf7-form input[type="email"]::placeholder,
.ventures-contact-form .wpcf7-form input[type="text"]::placeholder,
.ventures-contact-form .wpcf7-form textarea::placeholder {
    color: rgba(222, 222, 222, 0.5);
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
    opacity: 1;
    visibility: visible;
}

/* Vendor prefixes for better browser support */
.ventures-contact-form .wpcf7-form input[type="email"]::-webkit-input-placeholder,
.ventures-contact-form .wpcf7-form input[type="text"]::-webkit-input-placeholder,
.ventures-contact-form .wpcf7-form textarea::-webkit-input-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
    visibility: visible;
}

.ventures-contact-form .wpcf7-form input[type="email"]::-moz-placeholder,
.ventures-contact-form .wpcf7-form input[type="text"]::-moz-placeholder,
.ventures-contact-form .wpcf7-form textarea::-moz-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
}

.ventures-contact-form .wpcf7-form input[type="email"]:-ms-input-placeholder,
.ventures-contact-form .wpcf7-form input[type="text"]:-ms-input-placeholder,
.ventures-contact-form .wpcf7-form textarea:-ms-input-placeholder {
    color: rgba(222, 222, 222, 0.5);
    opacity: 1;
    font-size: 42px;
    line-height: 48px;
    font-weight: 400;
}

.ventures-contact-form .wpcf7-form input[type="submit"] {
    background-color: var(--ventures-primary);
    color: var(--ventures-white);
    border: 1px solid var(--ventures-primary);
    border-radius: 25px;
    padding: 12px 35px;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
    position: relative;
    cursor: pointer;
}

.ventures-contact-form .wpcf7-form input[type="submit"]:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--ventures-primary);
    cursor: pointer;
}

/* Validation messages */
.ventures-contact-form .wpcf7-not-valid-tip {
    color: var(--ventures-primary);
    font-size: 16px;
    font-weight: 400;
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    white-space: nowrap;
}

/* Hide the general error/response messages by default */
.ventures-contact-form .wpcf7-response-output {
    display: none !important;
}

/* Success message - show below the form */
.ventures-contact-form .wpcf7-mail-sent-ok {
    display: block !important;
    border: none;
    padding: 0;
    margin: 20px 0 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    background: transparent;
}

/* General validation error message - show in red if needed */
.ventures-contact-form .wpcf7-validation-errors {
    display: block !important;
    border: none;
    padding: 0;
    margin: 20px 0 0;
    color: var(--ventures-primary);
    font-size: 16px;
    font-weight: 400;
    background: transparent;
}

/* Remove default Contact Form 7 error outline */
.ventures-contact-form .wpcf7-form-control.wpcf7-not-valid {
    border-bottom-color: var(--ventures-primary) !important;
}

/* Loading state - button becomes a spinner */
.ventures-contact-form .wpcf7-form[data-status="submitting"] input[type="submit"],
.ventures-contact-form .wpcf7-form.submitting input[type="submit"] {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.ventures-contact-form .wpcf7-form[data-status="submitting"] input[type="submit"]::after,
.ventures-contact-form .wpcf7-form.submitting input[type="submit"]::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--ventures-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* ========================================
   Latest Posts Section
   ======================================== */
.ventures-latest-posts {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.ventures-latest-posts .section-header {
    margin-bottom: 50px;
}

.ventures-latest-posts .section-label {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--ventures-text-secondary);
    margin-bottom: 10px;
}

.ventures-latest-posts .section-title {
    font-size: 42px;
    line-height: 48px;
    font-weight: 300;
    color: var(--ventures-text-dark);
    margin: 0;
}

/* Ventures blog posts - dark theme style */
.ventures-body .news-card {
    margin-bottom: 40px;
}

.ventures-body .news-card img {
    width: 100%;
}

.ventures-body .news-card .h5 {
    font-weight: bold;
}

.ventures-body .news-card .h5 a {
    color: #FFFFFF !important;
    transition-duration: .3s;
    cursor: pointer;
}

.ventures-body .news-card .h5:hover a {
    color: #FFFFFF !important;
    cursor: pointer;
}

.ventures-body .news-card a p {
    font-weight: 500;
    margin: 10px 0 5px;
    color: var(--ventures-primary) !important;
}

.ventures-body .news-card > p {
    color: rgba(222, 222, 222, 0.5);
}

/* Footer uses exact same styles as main site - no overrides */

/* Make logo items more obviously clickable */
.ventures-philanthropy .logo-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ventures-philanthropy .logo-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
    cursor: pointer;
}

.ventures-philanthropy .logo-item a,
.ventures-philanthropy .logo-item button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.ventures-philanthropy .logo-item a:hover,
.ventures-philanthropy .logo-item button:hover {
    opacity: 0.9;
}

.ventures-philanthropy .logo-item a:focus,
.ventures-philanthropy .logo-item button:focus {
    outline: none;
}

/* ========================================
   Network Modal - Light Theme Override
   Copy ALL layout styles from network page, only change colors
   ======================================== */

/* Modal background - white */
.ventures-body .network-modal-item {
    background-color: #FFFFFF !important;
}

.ventures-body .network-modal-item .modal-content {
    background-color: #FFFFFF !important;
    border: none;
}

/* Modal body - light theme */
.ventures-body .network-modal-item .modal-body {
    background-color: #FFFFFF !important;
    color: #191919 !important;
    padding: 0rem;
    position: relative;
    flex: 1 1 auto;
}

/* Back button - EXACT same layout, different color */
.ventures-body .network-modal-item .modal-member-back {
    border: none;
    background: none;
    color: var(--ventures-primary) !important;
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 35px;
    position: relative;
    padding: 0 0 0 1.5rem;
    outline: none;
}

.ventures-body .network-modal-item .modal-member-back::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    content: '';
    display: inline-block;
    width: 1.111rem;
    height: 0.388rem;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/arrow-pink.svg);
}

/* Image container - EXACT same layout as network page */
.ventures-body .network-modal-item .modal-member-image {
    max-width: 315px;
    position: relative;
    margin: 0 30px 21% 15%;
}

.ventures-body .network-modal-item .modal-member-image div {
    padding-top: 133%;
    position: relative;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.03);
    background-color: #FFFFFF !important;
}

.ventures-body .network-modal-item .modal-member-image div img {
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    background-color: #FFFFFF !important;
}

.ventures-body .network-modal-item .modal-member-image div.institution {
    padding-top: 100%;
}

.ventures-body .network-modal-item .modal-member-image div.institution img {
    padding: 15px;
    object-fit: contain;
}

/* Philanthropy modals: Force EXACT same styles as network page */
.ventures-body .philanthropy-modal-ventures .modal-member-image div.institution {
    padding-top: 100% !important;
}

.ventures-body .philanthropy-modal-ventures .modal-member-image div.institution img {
    padding: 15px !important;
    object-fit: contain !important;
}

.ventures-body .network-modal-item .modal-member-image::before {
    content: '';
    left: 0;
    bottom: 0;
    opacity: 0.5;
    display: block;
    position: absolute;
    width: 60%;
    padding-top: 60%;
    transform: translate(-33%, 33%);
    background-color: rgba(242, 78, 87, 0.1);
}

.ventures-body .network-modal-item .modal-member-image .modal-member-logo {
    width: calc(36% + 30px);
    padding: 15px;
    right: -28px;
    bottom: -40px;
    position: absolute;
    background-color: #FFFFFF !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Remove any stray list bullets in modal */
.ventures-body .network-modal-item .modal-body,
.ventures-body .network-modal-item .modal-body > .row,
.ventures-body .network-modal-item .modal-body > .row > div,
.ventures-body .network-modal-item .modal-content {
    list-style: none !important;
}

.ventures-body .network-modal-item .modal-body::before,
.ventures-body .network-modal-item .modal-body > .row::before,
.ventures-body .network-modal-item .modal-body > .row > div::before,
.ventures-body .network-modal-item .modal-content::before,
.ventures-body .network-modal-item .modal-body::marker,
.ventures-body .network-modal-item .modal-content::marker {
    display: none !important;
    content: none !important;
}

/* Text styles - dark for light theme */
.ventures-body .network-modal-item .h2,
.ventures-body .network-modal-item h2 {
    color: #191919;
    font-size: 36px;
    font-weight: bold;
}

.ventures-body .network-modal-item .h3,
.ventures-body .network-modal-item h3 {
    color: #191919;
    font-size: 36px;
    font-weight: bold;
}

.ventures-body .network-modal-item .h6,
.ventures-body .network-modal-item h6,
.ventures-body .network-modal-item .modal-member-position {
    font-size: 20px;
    font-weight: bold;
    color: #737373 !important;
}

.ventures-body .network-modal-item .modal-member-position a {
    color: var(--ventures-primary) !important;
}

.ventures-body .network-modal-item .modal-member-position a:hover {
    color: #191919 !important;
}

.ventures-body .network-modal-item .lead {
    color: #191919 !important;
    font-size: 1.25rem;
    font-weight: 300;
}

.ventures-body .network-modal-item .lead p {
    color: #191919 !important;
}

.ventures-body .network-modal-item .lead ul {
    padding: 0;
    list-style: none;
    color: #191919 !important;
}

.ventures-body .network-modal-item .lead ul li {
    position: relative;
    padding-left: 20px;
    color: #191919 !important;
}

.ventures-body .network-modal-item .lead ul li::after {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 12px;
    display: block;
    border-top: 1px solid #737373;
}

/* Social links */
.ventures-body .network-modal-item .team-social a {
    font-size: 1.15rem;
    color: #737373 !important;
    transition: color 0.3s ease;
}

.ventures-body .network-modal-item .team-social a:hover {
    color: var(--ventures-primary) !important;
}

/* Modal backdrop - light */
.ventures-body .modal-backdrop {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.ventures-body .modal-backdrop.show {
    opacity: 1 !important;
}

/* ========================================
   Fullscreen Project Modal
   ======================================== */
.project-fullscreen-modal {
    padding: 0 !important;
}

.project-fullscreen-modal .modal-dialog {
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
}

.project-fullscreen-modal .modal-content {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background-color: #FFFFFF;
}

.project-fullscreen-modal .modal-body {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-fullscreen-modal .modal-body > .underlined-link {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10;
}

.project-fullscreen-modal .modal-body > .underlined-link .modal-member-back {
    margin-bottom: 0;
}

.project-fullscreen-modal #projectIframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Back button font weight for all modals */
.ventures-body .modal-member-back {
    font-weight: 600;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1199px) {
    .ventures-hero {
        padding-top: 150px;
    }

    .ventures-hero .hero-title {
        font-size: 56px;
        line-height: 68px;
        text-align: left;
    }

    .hero-image-wrapper {
        right: -200px;
        width: 700px;
    }

    .ventures-intro .intro-text,
    .ventures-limited-partner .lp-text,
    .ventures-contact-form .form-title,
    .ventures-latest-posts .section-title {
        font-size: 36px;
        line-height: 42px;
    }

    .project-spotlight .project-title {
        font-size: 36px;
        line-height: 42px;
    }
}

@media (max-width: 991px) {
    .ventures-hero {
        padding: 150px 0 60px;
    }

    .ventures-hero .hero-title {
        font-size: 48px;
        line-height: 56px;
        text-align: left;
        max-width: 100%;
    }

    .hero-image-wrapper {
        display: none;
    }

    .ventures-intro,
    .ventures-limited-partner {
        padding: 60px 0 40px;
    }

    .ventures-intro .intro-text,
    .ventures-limited-partner .lp-text {
        font-size: 32px;
        line-height: 38px;
        max-width: 100%;
    }

    .ventures-philanthropy .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .logos-grid {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        height: auto;
        min-height: 200px;
    }

    .logo-item {
        width: 160px;
        height: 160px;
        margin-bottom: 20px;
    }

    .project-spotlight {
        margin-bottom: 80px;
    }
}

@media (max-width: 767px) {
    /* Unified logo size - same as Foundation mobile */
    .ventures-body .main-navbar .navbar-brand .logotype {
        height: 35px !important;
    }

    /* Foundation button - force navbar-collapse visible without background */
    .ventures-body .main-navbar .navbar-collapse {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .ventures-body .main-navbar .navbar-collapse .navbar-nav {
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
    }

    .ventures-body .main-navbar .navbar-collapse .nav-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ventures-body .main-navbar .btn-ventures {
        font-size: 16px !important;
        padding: 6px 14px !important;
    }

    .ventures-body .main-navbar .btn-ventures::after {
        display: none !important;
    }

    .ventures-body .main-navbar .btn-ventures:focus,
    .ventures-body .main-navbar .btn-ventures:active {
        outline: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .ventures-hero {
        padding-top: 150px;
        padding-bottom: 0;
        min-height: auto;
    }

    .ventures-hero .hero-title {
        font-size: 36px;
        line-height: 44px;
        text-align: left;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .ventures-hero .scroll-arrow {
        margin-top: 15px;
        margin-bottom: 0;
    }

    .hero-image-wrapper {
        display: none;
    }

    /* Reduce gap between scroll arrow and intro text */
    .ventures-intro {
        padding: 15px 0 30px;
    }

    .ventures-intro .intro-text,
    .ventures-limited-partner .lp-text {
        font-size: 24px;
        line-height: 32px;
        max-width: 100%;
    }

    /* Philanthropy section title margin */
    .ventures-philanthropy .section-title {
        margin-bottom: 20px;
    }

    /* Logos horizontal scroll */
    .ventures-philanthropy .logos-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ventures-philanthropy .logos-grid::-webkit-scrollbar {
        display: none;
    }

    .ventures-philanthropy .logo-item {
        flex: 0 0 120px;
        min-width: 120px;
        width: 120px;
        height: 120px;
        margin-bottom: 0;
    }

    .ventures-philanthropy .logo-item img {
        max-width: 120px;
        max-height: 120px;
    }

    .ventures-contact-form {
        padding-bottom: 50px;
    }

    .ventures-latest-posts {
        padding: 50px 0 40px;
    }

    .ventures-contact-form .form-title,
    .ventures-latest-posts .section-title {
        font-size: 28px;
        line-height: 36px;
    }

    .ventures-contact-form .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ventures-simple-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .ventures-simple-form input[type="email"],
    .ventures-simple-form textarea {
        width: 100%;
        font-size: 24px;
        line-height: 30px;
    }

    .ventures-simple-form textarea {
        min-height: 48px;
        height: 48px;
    }

    .ventures-simple-form input[type="email"]::placeholder,
    .ventures-simple-form textarea::placeholder {
        font-size: 24px;
        line-height: 30px;
    }

    .ventures-contact-form .wpcf7-form-control-wrap {
        width: 100%;
        max-width: 100%;
    }

    .ventures-contact-form .wpcf7-form input[type="email"],
    .ventures-contact-form .wpcf7-form input[type="text"],
    .ventures-contact-form .wpcf7-form textarea {
        font-size: 24px;
        line-height: 30px;
    }

    .ventures-contact-form .wpcf7-form textarea {
        min-height: 48px;
        height: 48px;
    }

    .ventures-contact-form .wpcf7-form input[type="email"]::placeholder,
    .ventures-contact-form .wpcf7-form input[type="text"]::placeholder,
    .ventures-contact-form .wpcf7-form textarea::placeholder {
        font-size: 24px;
        line-height: 30px;
    }

    .footer-social-legal {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Footer legal links margin (Cookies & Privacy Policy only) */
    .ventures-body .main-footer .footer-legal-link {
        margin-right: 10px !important;
    }

    /* Modals - same margin as content */
    .ventures-body .network-modal-item .modal-body {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ventures-body .network-modal-item .modal-body::-webkit-scrollbar {
        display: none;
    }

    .ventures-body .network-modal-item .modal-content {
        overflow-x: hidden;
    }
}


/* ========================================
   Text Slider with Image Component
   ======================================== */
.section-text-slider-image .img-container .bg-square {
    top: 100%;
    right: 0;
    transform: translate(37.25%, -62.75%);
    padding-top: 72.85%;
    width: 72.85%;
}

.section-text-slider-image .img-container-v2 .bg-square {
    top: 100%;
    right: 100%;
    transform: translate(62.75%, -62.75%);
    padding-top: 72.85%;
    width: 72.85%;
}

.section-text-slider-image .text-slider-container {
    max-width: 400px;
}

.section-text-slider-image .text-slider {
    margin-bottom: 0;
}

.section-text-slider-image .slide-item {
    min-height: 100px;
    padding-right: 20px;
}

.section-text-slider-image .slider-arrows {
    display: flex;
    gap: 20px;
    align-items: center;
}

.section-text-slider-image .slider-arrows .slick-arrow {
    position: static;
    transform: none;
    margin: 0;
}

.section-text-slider-image .slider-arrows .slick-prev {
    left: auto;
}

.section-text-slider-image .slider-arrows .slick-next {
    right: auto;
}
