/* Book Meeting Section Styles */
.section-book-meeting {
    position: relative;
    min-height: 140vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    background: #131F35;
    padding: 3rem 0 8rem 0;
    margin-top: -280px;
    margin-bottom: 0;
    z-index: 2;
}

.section-book-meeting-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-book-meeting-bg-main {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: calc(100% + 400px);
    z-index: 1;
    background-image: url('<?php echo get_template_directory_uri(); ?>/assets/images/cta-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.2);
}

.section-book-meeting-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.section-book-meeting-title {
    color: #FFF;
    text-align: center;
    font-family: Sora;
    font-size: clamp(2rem, 5vw + 1rem, 3.75rem);
    font-style: normal;
    font-weight: 600;
    line-height: clamp(2.5rem, 6vw + 1rem, 5rem);
    letter-spacing: clamp(-0.08rem, -0.03em, -0.1125rem);
    text-transform: capitalize;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-book-meeting-container {
    width: 100%;
    max-width: 1144px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hubspot-meetings-wrapper {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.hubspot-meetings-wrapper .meetings-iframe-container {
    width: 100%;
    min-height: 900px;
    height: auto;
    background: transparent;
    border: none;
}

.hubspot-meetings-wrapper iframe {
    width: 100%;
    height: 900px;
    border: none;
}

/* Large Desktop Screens (1920x1080 and above) */
@media (min-width: 1920px) {
    .section-book-meeting {
        min-height: 150vh;
        padding: 4rem 0 10rem 0;
    }

    .section-book-meeting-content {
        padding: 14rem 2rem 8rem 2rem;
        max-width: 1400px;
        gap: 4rem;
    }

    .hubspot-meetings-wrapper .meetings-iframe-container {
        min-height: 1000px;
    }

    .hubspot-meetings-wrapper iframe {
        height: 1000px;
    }
}

/* Desktop Screens (1440px to 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .section-book-meeting {
        min-height: 145vh;
        padding: 3.5rem 0 9rem 0;
    }

    .section-book-meeting-content {
        padding: 13rem 2rem 7rem 2rem;
        max-width: 1300px;
        gap: 3.5rem;
    }

    .hubspot-meetings-wrapper .meetings-iframe-container {
        min-height: 950px;
    }

    .hubspot-meetings-wrapper iframe {
        height: 950px;
    }
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .section-book-meeting {
        min-height: 100vh;
        padding: 1rem 1rem 4rem 1rem;
        margin-bottom: 1rem;
    }

    .section-book-meeting-bg-main {
        height: calc(100% + 200px);
        top: -100px;
    }

    .section-book-meeting-content {
        padding: 10rem 1rem 1rem 1rem;
        max-width: 95%;
        gap: 1.5rem;
    }

    .section-book-meeting-title {
        /* Fluid typography handles sizing */
    }

    .section-book-meeting-container {
        max-width: 90%;
        padding: 0 0.75rem;
    }

    .hubspot-meetings-wrapper .meetings-iframe-container {
        min-height: 700px;
    }

    .hubspot-meetings-wrapper iframe {
        height: 700px;
    }
}

@media (max-width: 768px) {
    .section-book-meeting {
        min-height: 100vh;
        padding: 1rem 1rem 2rem 1rem;
        margin-bottom: 1rem;
        transform: translateZ(0);
        will-change: transform;
        backface-visibility: hidden;
    }

    .section-book-meeting-bg-main {
        height: calc(100% + 150px);
        top: -75px;
    }

    .section-book-meeting-content {
        max-width: 98%;
        padding: 12rem 0.5rem 1rem 0.5rem;
        gap: 1rem;
    }

    .section-book-meeting-title {
        /* Fluid typography handles sizing */
        margin-bottom: 1.5rem;
    }

    .section-book-meeting-container {
        max-width: 95%;
        padding: 0 0.5rem;
    }

    .hubspot-meetings-wrapper .meetings-iframe-container {
        min-height: 600px;
    }

    .hubspot-meetings-wrapper iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .section-book-meeting {
        min-height: 100vh;
        padding: 0.75rem 0.75rem 2rem 0.75rem;
        margin-bottom: 0.5rem;
    }

    .section-book-meeting-bg-main {
        height: calc(100% + 100px);
        top: -50px;
    }

    .section-book-meeting-content {
        max-width: 100%;
        padding: 14rem 0.25rem 0.75rem 0.25rem;
        gap: 0.75rem;
    }

    .section-book-meeting-title {
        /* Fluid typography handles sizing */
        margin-bottom: 1.25rem;
    }

    .section-book-meeting-container {
        max-width: 98%;
        padding: 0 0.25rem;
    }

    .hubspot-meetings-wrapper .meetings-iframe-container {
        min-height: 550px;
    }

    .hubspot-meetings-wrapper iframe {
        height: 550px;
    }
}
