/* Image Utilities */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   SECTION 1: HERO SECTION
   ========================================== */
.hero-section {
    background: url('/assets/images/konectar/generic/new-images/kol-management-banner.png') no-repeat center center;
    background-size: cover;
    padding: 85px 0 50px 0;
    position: relative;
}

.hero-container {
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.hero-content {
    color: #ffffff;
    padding-bottom: 30px;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 700px;
}

.hero-image-wrapper {
    flex: 1.4;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    margin-right: -60px;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 640px;
    height: auto;
    margin-bottom: -110px;
    position: relative;
    z-index: 15;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}


/* ==========================================
   SECTION 2 & 3: SECOND BANNER WRAPPER
   ========================================== */
.second-banner-section {
    background: url('/assets/images/konectar/generic/new-images/second-banner.png') no-repeat center top;
    background-size: 100% 100%;
    padding: 150px 0 85px 0;
    position: relative;
    z-index: 5;
}

.software-block {
    text-align: center;
    margin-bottom: 85px;
}

.section-title-dark {
    font-size: 38px;
    font-weight: 700;
    color: #0b1a30;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.laptop-card-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.laptop-card-image {
    max-width: 650px;
    width: 100%;

}

.software-description {
    max-width: 550px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 400;
    text-align: center;
}

.therapeutic-block {
    text-align: center;
    padding-top: 20px;
}

.therapeutic-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: #0b1a30;
    font-weight: 400;
    text-align: center;
}


/* ==========================================
   SECTION 4: CHALLENGES & SOLUTIONS
   ========================================== */
.challenges-section {
    background-color: #eaf0fb;
    padding: 90px 0 0 0;
}

.challenges-diagram-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
}

.challenges-diagram-wrapper img {
    max-width: 1140px;
    width: 100%;
    height: auto;
}


/* ==========================================
   SECTION 4 PART B: EVENTS & SOCIAL CARDS
   ========================================== */
.events-social-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}







.card-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-description {
    font-size: 17px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 520px;
}



/* ==========================================
   SECTION 5: CAPABILITIES TIMELINE
   ========================================== */
.capabilities-section {
    background-color: #e6f4fb;
    padding: 90px 0;
}

.section-subtitle {
    font-size: 18px;
    color: #334155;
    text-align: center;
    max-width: 860px;
    margin: -15px auto 55px auto;
    line-height: 1.6;
    font-weight: 400;
}

.capabilities-diagram-wrapper {
    display: flex;
    justify-content: center;
}

.capabilities-diagram-wrapper img {
    max-width: 1050px;
    width: 100%;
    height: auto;
}


/* ==========================================
   SECTION 6 & 7: LIFECYCLE WHEEL
   ========================================== */
.lifecycle-section {
    background-color: #ffffff;
    padding: 90px 0;
}

.lifecycle-diagram-wrapper {
    display: flex;
    justify-content: center;
}

.lifecycle-diagram-wrapper img {
    max-width: 1100px;
    width: 100%;
    height: auto;
}


/* ==========================================
   SECTION 8: CTA BANNER
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, #1684fa 0%, #0c75e8 100%);
    padding: 85px 24px;
    text-align: center;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    max-width: 880px;
    margin: 0 auto 35px auto;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
    color: #1684fa;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}


/* ==========================================
   MEDIA QUERIES FOR RESPONSIVENESS
   ========================================== */

/* Laptop & Large Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-image-wrapper {
        margin-right: 0;
    }

    .hero-image-wrapper img {
        margin-bottom: -80px;
        max-width: 580px;
    }

    .second-banner-section {
        padding-top: 90px;
        padding-bottom: 5% !important;
    }

    .section-title-dark {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .card-title {
        font-size: 28px;
    }




}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 30px 0;
        overflow: visible;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image-wrapper {
        justify-content: center;
        width: 100%;
        margin-right: 0;
    }

    .hero-image-wrapper img {
        max-width: 480px;
        margin-bottom: -50px;
    }

    .second-banner-section {
        background-size: cover;
        padding: 70px 0 19px 0;
    }

    .section-title-dark {
        font-size: 24px;
        margin-bottom: 24px;
    }



    .challenges-section,
    .capabilities-section,
    .lifecycle-section {
        padding: 5% 0;
    }






    .white-preview-box {
        height: 220px;
        max-width: 100%;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .cta-button {
        font-size: 16px;
        padding: 14px 28px;
        width: 100%;
        max-width: 300px;
    }



}

.mobile-video-block {
    display: none !important;
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 600px) {
    .hero-title {
        font-size: 24px;
    }





    .software-block {
        margin-bottom: 3% !important;
    }

    .hero-image-wrapper img {
        max-width: 100%;
        margin-bottom: -35px;
    }

    .second-banner-section {
        padding-top: 55px;
    }

    .section-title-dark {
        font-size: 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .cta-title {
        font-size: 20px;
    }

    .container {
        padding: 0 16px;
    }
}



.yt-iframe-home {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}


.slanted-wrapper {
    background: url('/assets/images/konectar/generic/new-images/videos-bg.png') no-repeat center center;
    aspect-ratio: 1440 / 453;
    padding: 3% 5%;
    align-content: center;
}

#yt-thumb {
    position: relative;
    z-index: 100;
}



#yt-thumblarge {
    position: relative;
    z-index: 100;
}

.yt-iframe-home iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 100%;
    border-radius: 12px;
}


.white-box {
    width: 85%;
}

@media (max-width: 992px) {
    .mobile-video-block {
        display: block !important;
    }


    .web-video-block {
        display: none !important;
    }

    .card-events-two {
        background-color: #FF7B48;
        padding: 5%;
        text-align: center;

    }

    .card-social-two {
        background-color: #2293FC;
        padding: 5%;
        text-align: center;
    }



}

@media (max-width: 600px) {
    .therapeutic-block {
        padding-top: 10% !important;
    }
}

@media (min-width: 767px) and (max-width: 992px) {

    .card-events-two,
    .card-social-two {
        height: 26rem;
    }
}

@media (min-width: 993px) and (max-width: 1100px) {

    .card-events-two,
    .card-social-two {
        height: 30rem;
    }
}


@media (min-width: 1024px) and (max-width: 1200px) and (orientation: landscape) {

    .card-events-two,
    .card-social-two {
        height: 30rem;
    }
}





@media (min-width: 768px) and (max-width: 1100px) {

    .software-description,
    .therapeutic-description,
    .section-subtitle {
        font-size: 16px;
        padding: 0 20%;
    }

    .card-description {
        font-size: 16px !important;
        height: 5rem;
    }

    .tab-video-block {
        display: block !important;
    }

    .mobile-video-block,
    .web-video-block {
        display: none !important;
    }


    .hero-container {
        flex-direction: column;
    }

    .hero-section {
        padding: 5% !important;
    }

    .software-description {
        max-width: none !important;
        padding-bottom: 7% !important;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1200px) and (orientation: landscape) {
    .hero-image-wrapper {
        flex: auto !important;
    }
}



.tab-video-block {
    display: none;
}

@media (min-width: 993px) and (max-width: 1300px) {
    .tab-video-block {
        display: none !important;
    }

    .mobile-video-block,
    .web-video-block {
        display: none !important;
    }

    .card-events-two {
        background-color: #FF7B48;
        padding: 5%;
        text-align: center;
    }

    .card-social-two {
        background-color: #2293FC;
        padding: 5%;
        text-align: center;
    }

    .mediumdevice-video-block {
        display: block !important;
    }
}

.mediumdevice-video-block {
    display: none;
}