html,
body {
    width: 100%;
    position: relative;
}

.vd-page {
    overflow-x: clip;
    /* Sticky-friendly overflow fix */
    width: 100%;
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
    z-index: 100;
}

:root {
    --vd-dark-bg: #0a0f1d;
    --vd-dark-card: rgba(15, 23, 42, 0.6);
    --vd-light-bg: #f8fafc;
    --vd-light-card: #ffffff;
    --vd-text-light: #f8fafc;
    --vd-text-dark: #1e293b;
    --vd-text-muted: #64748b;

    --vd-primary: #0ea5e9;
    --vd-primary-hover: #0284c7;
    --vd-secondary: #10b981;
    --vd-accent: #6366f1;

    --vd-glow-primary: rgba(14, 165, 233, 0.15);
    --vd-glow-secondary: rgba(16, 185, 129, 0.15);

    --vd-font-display: 'Outfit', sans-serif;
    --vd-font-body: 'Inter', sans-serif;

    --vd-radius-sm: 12px;
    --vd-radius-md: 20px;
    --vd-radius-lg: 30px;

    --vd-shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.05);
    --vd-shadow-glow: 0 0 30px rgba(14, 165, 233, 0.2);
}

/* Base Styles */
body.vd-page {
    font-family: var(--vd-font-body);
    color: var(--vd-text-dark);
    background-color: var(--vd-light-bg);
}

/* Smooth Entrance Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.3;
    }
}

/* Premium Hero Section */
/* Premium Hero Section */
.vd-hero {
    background: linear-gradient(135deg, rgb(15 23 42 / 92%) 0%, rgb(2 6 23 / 90%) 100%), url(../venture_debt_hero.png);
    background-size: cover;
    background-position: center;
    padding: 160px 0 140px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.vd-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #020617 0%, transparent 50%);
    pointer-events: none;
}

.vd-hero-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #21D891 !important;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
    background: rgba(33, 216, 145, 0.15);
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(33, 216, 145, 0.3);
    backdrop-filter: blur(10px);
}

.vd-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 25px !important;
    letter-spacing: -2px !important;
    font-weight: 800 !important;
    color: #ffffff;
}

.vd-hero-title span.gradient-text {
    background: linear-gradient(to right, #21D891, #17BF57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vd-hero-subtitle {
    font-size: 1.25rem !important;
    color: #94a3b8 !important;
    line-height: 1.6 !important;
    margin-bottom: 50px !important;
    max-width: 95%;
    font-weight: 400 !important;
}

.vd-hero-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vd-hero-tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 12px 25px;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vd-hero-tag i {
    color: #21D891;
}

/* Proposal Card */
.vd-proposal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
    color: #475569;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.vd-proposal-title {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0f172a;
    font-family: 'Sora', sans-serif;
}

.vd-proposal-btn {
    background: linear-gradient(135deg, #21D891 0%, #17BF57 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 20px !important;
    width: 100%;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center;
    margin-top: 30px !important;
    box-shadow: 0 10px 25px -5px rgba(33, 216, 145, 0.5) !important;
    letter-spacing: 1px;
}

.vd-proposal-btn:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 20px 40px -10px rgba(33, 216, 145, 0.6) !important;
}

.vd-confidential-text {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    font-weight: 600;
}

.vd-knowledge-hub .vd-hero-subtitle {
    color: var(--vd-text-muted);
    margin-left: auto;
    margin-right: auto;
}


.vd-hero-img {
    border-radius: var(--vd-radius-md);
    box-shadow: var(--vd-shadow-glow);
    animation: floatImage 6s ease-in-out infinite, fadeUp 1s ease forwards;
    max-height: 450px;
    object-fit: cover;
}

/* Core Offering Cards */
.vd-offerings {
    padding: 100px 0;
    background: var(--vd-light-bg);
    position: relative;
    margin-top: -50px;
    z-index: 2;
}

.vd-card {
    background: var(--vd-light-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--vd-radius-md);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--vd-shadow-premium);
    position: relative;
    overflow: hidden;
}

.vd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vd-secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.vd-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.15);
    border-color: transparent;
}

.vd-card:hover * {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

.vd-card:hover::before {
    opacity: 1;
}

.text-primary {
    color: #21D891 !important;
}

.vd-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--vd-secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.vd-card:hover .vd-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.vd-card-title {
    font-family: var(--vd-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.vd-card-text {
    color: var(--vd-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Strategic Capital Stack Comparison */
.vd-comp-card {
    background: var(--vd-light-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--vd-radius-lg);
    overflow: hidden;
    box-shadow: var(--vd-shadow-premium);
    margin-top: 60px;
}

.vd-comp-header {
    padding: 30px 40px;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vd-comp-header .vd-card-title {
    color: #ffffff;
    font-size: 1.5rem;
}

.vd-comp-body {
    padding: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comp-pill {
    padding: 30px;
    border-radius: var(--vd-radius-md);
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.comp-pill:hover {
    transform: scale(1.02);
    box-shadow: var(--vd-shadow-premium);
}

.comp-pill.vd-accent {
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.02);
}

.comp-pill h4 {
    font-family: var(--vd-font-display);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.comp-pill.vd-accent h4 {
    color: var(--vd-secondary);
}

.comp-pill h4.equity-title {
    color: #334155;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comp-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--vd-text-dark);
}

.comp-list li:last-child {
    border-bottom: none;
}

.comp-list li i {
    font-size: 16px;
}

.comp-pill.vd-accent li i {
    color: var(--vd-secondary);
}

.comp-pill li i.fa-circle {
    color: #cbd5e1;
}

/* The CapitalTab Advantage */
.vd-advantage {
    padding: 120px 0;
    background: #ffffff;
}

.vd-advantage-title {
    font-family: var(--vd-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--vd-text-dark);
    margin-bottom: 40px;
}

.vd-adv-item {
    padding: 25px;
    background: #f8fafc;
    border-radius: var(--vd-radius-sm);
    border-left: 4px solid var(--vd-primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.vd-adv-item:hover {
    transform: translateX(10px);
    background: rgba(14, 165, 233, 0.05);
}

.vd-adv-item h4 {
    font-family: var(--vd-font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--vd-text-dark);
    margin-bottom: 10px;
}

.vd-adv-item p {
    color: var(--vd-text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.vd-adv-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--vd-radius-lg);
    box-shadow: var(--vd-shadow-premium);
    color: #ffffff;
    border: none;
}

.vd-adv-cta-card * {
    color: #ffffff !important;
}

.vd-adv-cta-card p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.vd-adv-cta-card .btn-primary {
    background: linear-gradient(135deg, var(--vd-primary) 0%, var(--vd-primary-hover) 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.vd-adv-cta-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
}

/* Process Timeline */
.vd-process-timeline {
    padding: 120px 0;
    background: var(--vd-light-bg);
    position: relative;
}

.vd-process-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--vd-radius-md);
    padding: 35px 20px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--vd-shadow-premium);
    text-align: center;
}

.vd-process-card:hover {
    border-color: var(--vd-primary);
    transform: translateY(-5px);
    box-shadow: var(--vd-shadow-glow);
}

.vd-proc-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--vd-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.vd-process-card:hover .vd-proc-icon {
    background: var(--vd-primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.vd-process-card h6 {
    font-family: var(--vd-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--vd-text-dark);
    margin-bottom: 0;
}

/* Knowledge Hub / FAQ Section */
.vd-knowledge-hub {
    padding: 80px 0;
    background: #ffffff;
}

.vd-hero-title.knowledge-hub {
    color: #020617 !important;
}

/* Search Bar */
.vd-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.vd-search-input {
    width: 100%;
    padding: 15px 25px 15px 50px;
    border-radius: 100px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    background: #f8fafc;
    font-family: var(--vd-font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--vd-shadow-premium);
}

.vd-search-input:focus {
    outline: none;
    border-color: var(--vd-primary);
    background: #ffffff;
    box-shadow: var(--vd-shadow-glow);
}

.vd-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vd-text-muted);
    font-size: 18px;
}

/* Sliding Tab Navigation */
.vd-tab-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 12px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 15px 0px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    position: sticky;
    top: 75px;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    cursor: grab;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.vd-tab-nav.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    /* Disable smooth scrolling during drag */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.vd-tab-nav::-webkit-scrollbar {
    display: none;
}

.vd-tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--vd-text-muted);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--vd-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.vd-tab-btn:hover {
    color: var(--vd-primary);
}

.vd-tab-btn.active {
    background: var(--vd-primary);
    color: #ffffff;
    border-color: var(--vd-primary);
}

.vd-tab-content {
    display: none;
    animation: fadeUp 0.5s ease forwards;
}

.vd-tab-content.active {
    display: block;
}

/* Premium FAQ Feed Layout */
.vd-qa-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.vd-qa-row {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 35px 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;

}

.vd-qa-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: transparent;
    transition: all 0.3s ease;
}

.vd-qa-row:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.1);
}

.vd-qa-row:hover::before {
    background: linear-gradient(to bottom, var(--vd-primary), var(--vd-secondary));
}

@media (max-width: 768px) {
    .vd-qa-row {
        padding: 25px;
    }

    .vd-qa-row:hover {
        transform: none;
    }
}


/* Override Bootstrap grid classes inside the card */
.vd-qa-row .col-lg-4,
.vd-qa-row .col-lg-8 {
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.vd-qa-question {
    font-family: var(--vd-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--vd-text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-bottom: 10px;
}


.vd-qa-answer {
    color: var(--vd-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}


/* Premium CTA Section */
.vd-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.vd-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--vd-accent);
    filter: blur(150px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vd-cta-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--vd-radius-lg);
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--vd-shadow-premium);
    position: relative;
    z-index: 1;
}

.vd-cta-title {
    font-family: var(--vd-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--vd-text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.vd-cta .vd-hero-subtitle {
    color: var(--vd-text-muted);
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.vd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--vd-primary) 0%, var(--vd-secondary) 100%);
    color: #ffffff !important;
    font-family: var(--vd-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.vd-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.vd-cta-btn i {
    transition: transform 0.3s ease;
}

.vd-cta-btn:hover i {
    transform: translateX(5px);
}

/* Two-Column Knowledge Hub & Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 110px;
    z-index: 999;
}

.vd-sticky-cta-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vd-sticky-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.vd-sticky-cta-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.vd-sticky-cta-content {
    padding: 30px;
}

.vd-sticky-cta-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.vd-sticky-cta-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px;
}

.vd-sticky-cta-logo-wrap h5 {
    font-family: var(--vd-font-display);
    color: var(--vd-text-dark);
    font-size: 1.1rem;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.vd-sticky-cta-btn {
    display: block;
    text-align: center;
    background: #10b981;
    color: #ffffff !important;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--vd-font-display);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vd-sticky-cta-btn:hover {
    background: #059669;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
    }

    /* Force visibility for scroll animations on mobile if observer fails */
    .slide-up-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}