/* Hero Section Full Viewport Height */
#hero_header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Ensure companies section starts below viewport */
#companies_sponsores {
    margin-top: 0;
}

/* Desktop adjustments - larger images to fill space */
@media (min-width: 1024px) {
    #hero_header .section-outer {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #hero_header .hero-scene {
        overflow: visible !important;
    }

    #hero_header .hero-scene img {
        max-width: 100%;
        margin: 0 auto;
    }

    #hero_header .position-absolute img {
        width: 270px !important;
    }

    #hero_header .section-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    #hero_header .vstack.gap-2 {
        gap: 0.3rem !important;
    }

    #hero_header h1.h1,
    #hero_header h1.lg\:h1,
    #hero_header h1 {
        margin-bottom: 0.3rem !important;
        margin-top: 0.5rem !important;
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
    }

    #hero_header .hero-scene {
        margin-top: 0.5rem !important;
        margin-bottom: 0;
    }

    #hero_header .mt-1 {
        margin-top: 0.3rem !important;
    }

    #hero_header .mb-1 {
        margin-bottom: 0.3rem !important;
    }

    #hero_header p.fs-6 {
        margin-bottom: 0.5rem !important;
    }

    /* Reduce Bootstrap gutter spacing */
    #hero_header .row {
        --bs-gutter-y: 0.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero_header .section-outer {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #hero_header .position-absolute img {
        width: 220px !important;
    }

    #hero_header .hero-scene img {
        max-width: 90%;
    }
}

/* Desktop only - Make sections fill viewport and hide mobile version */
@media (min-width: 1024px) {
    #how_it_works,
    #solutions,
    #main_features,
    #clients_feedbacks,
    #blog_posts {
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    /* Force hide mobile version on desktop */
    #how_it_works_mobile {
        display: none !important;
    }
}

/* Mobile only - hide desktop version */
@media (max-width: 1023px) {
    #how_it_works {
        display: none !important;
    }
}

/* Video carousel - increase image height by 50% total */
.testimonial-card-image {
    height: auto !important;
    min-height: 480px !important;
    overflow: hidden !important;
}

.testimonial-card-image img {
    height: 150% !important;
    object-fit: cover !important;
}

.testimonial-info-panel {
    border-bottom-left-radius: inherit !important;
    border-bottom-right-radius: inherit !important;
}

.testimonial-card {
    overflow: hidden !important;
}

/* Mobile - reduce top padding significantly */
@media (max-width: 767px) {
    #hero_header .section-outer {
        padding-top: 0.5rem !important;
        padding-bottom: 2rem !important;
    }

    #hero_header p.fs-6 {
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
    }

    #hero_header .hero-scene > .panel img[src*="screen.png"] {
        max-width: 130% !important;
        width: 130% !important;
    }

    #hero_header .hero-scene > .panel.overflow-hidden {
        overflow: visible !important;
    }

    .testimonial-card-image {
        min-height: 420px !important;
    }

    .testimonial-card-image img {
        height: 150% !important;
    }
}
