/* Image Wrapper - Portrait Orientation */
.image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    max-width: 450px;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Breakpoints */

/* Tablet and smaller (≤991px) */
@media (max-width: 991px) {
    /* Hero Section */
    #hero-section .display-1 {
        font-size: 3rem;
    }

    #hero-section .lead {
        font-size: 1.1rem;
    }

    /* Section Headings */
    .display-4 {
        font-size: 2.5rem;
    }

    /* Image Wrapper */
    .image-wrapper {
        max-width: 400px;
        height: 530px;
        margin: 0 auto;
    }

    /* Who We Serve Section */
    .w-50 {
        width: 70% !important;
    }

    /* Bookaroo Approach Section */
    #bookaroo-approach-section .approach-number {
        font-size: 2.5rem !important;
        min-width: 80px !important;
    }

    #bookaroo-approach-section .approach-text {
        font-size: 1.5rem !important;
    }
}

/* Mobile devices (≤768px) */
@media (max-width: 768px) {
    /* Hero Section */
    #hero-section {
        min-height: 60vh !important;
    }

    #hero-section .display-1 {
        font-size: 2.5rem;
    }

    #hero-section .lead {
        font-size: 1rem;
    }

    #hero-section .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    #hero-section .gap-3 {
        gap: 1rem !important;
        flex-direction: column;
        width: 100%;
    }

    #hero-section .btn {
        width: 100%;
        /* max-width: 300px; */
    }

    /* Section Headings */
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Section 2 & 3 */
    #section-2 .lead,
    #section-3 .lead {
        font-size: 0.95rem;
    }

    #section-2 .w-75,
    #section-3 .w-75 {
        width: 100% !important;
    }

    /* Image Wrapper */
    .image-wrapper {
        max-width: 100%;
        height: 500px;
        margin: 0 auto;
    }

    /* Who We Serve Section */
    .w-50 {
        width: 90% !important;
    }

    /* Bookaroo Approach Section */
    #bookaroo-approach-section .approach-number {
        font-size: 2rem !important;
        min-width: 70px !important;
        margin-right: 1rem !important;
    }

    #bookaroo-approach-section .approach-text {
        font-size: 1.25rem !important;
    }

    #bookaroo-approach-section .approach-item {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* CTA Section */
    #cta-section .display-4 {
        font-size: 2rem;
    }

    #cta-section .lead {
        font-size: 1rem;
    }

    #cta-section .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    #cta-section .gap-4 {
        gap: 1rem !important;
    }
}

/* Small mobile devices (≤576px) */
@media (max-width: 576px) {
    /* Hero Section */
    #hero-section .display-1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    #hero-section .lead {
        font-size: 0.95rem;
    }

    #hero-section .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Section Headings */
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .lead {
        font-size: 0.9rem;
    }

    /* Image Wrapper */
    .image-wrapper {
        height: 450px;
    }

    /* Who We Serve Section */
    .w-50 {
        width: 100% !important;
    }

    .p-3 {
        padding: 0.75rem !important;
    }

    /* Bookaroo Approach Section */
    #bookaroo-approach-section .approach-number {
        font-size: 1.75rem !important;
        min-width: 60px !important;
        margin-right: 0.75rem !important;
    }

    #bookaroo-approach-section .approach-text {
        font-size: 1.1rem !important;
    }

    #bookaroo-approach-section .approach-item {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* CTA Section */
    #cta-section .display-4 {
        font-size: 1.75rem;
    }

    #cta-section .btn-lg {
        width: 100%;
    }

    #cta-section .flex-wrap {
        flex-direction: column;
        align-items: center;
    }

    #cta-section .btn {
        width: 100%;
        max-width: 350px;
    }
}

/* Extra small devices (≤375px) */
@media (max-width: 375px) {
    /* Hero Section */
    #hero-section .display-1 {
        font-size: 1.75rem;
    }

    #hero-section .lead {
        font-size: 0.875rem;
    }

    /* Section Headings */
    .display-4 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 0.875rem;
    }

    /* Image Wrapper */
    .image-wrapper {
        height: 400px;
    }

    .image-wrapper img {
        max-width: 100%;
    }

    /* CTA Section */
    #cta-section .display-4 {
        font-size: 1.5rem;
    }

    #cta-section .lead {
        font-size: 0.875rem;
    }
}
