/* Counselling Framework Section Styles */

.counselling-framework-section {
    padding: 0 120px;
}

.framework-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Introduction Section */
.framework-intro-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}

.framework-intro {
    flex: 1 0 700px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.framework-title {
    font-family: 'IvyOra Display', serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #ed6a59;
    margin: 0;
}

.framework-title-italic {
    font-family: 'IvyOra Display', serif;
    font-style: italic;
    font-weight: 500;
}

.framework-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #403936;
}

.framework-description p {
    margin: 0 0 16px 0;
}

.framework-description p:last-child {
    margin-bottom: 0;
}

/* Book Button Styles */
.framework-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background-color: #ffffff;
    border: 1px solid #d4d2e3;
    border-radius: 100px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #005b68;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    height: 56px;
}

.framework-book-btn:hover {
    background-color: #005b68;
    color: #ffffff;
    border-color: #005b68;
}

.framework-book-btn-mobile {
    display: none;
}

/* Steps Section */
.framework-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.framework-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background-color: #005b68;
    border: 1px solid #dec9be;
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
}

/* Step Image */
.framework-step-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.framework-step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Step Content */
.framework-step-content {
    flex: 1 1 675px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 675px;
}

.framework-step-header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.framework-step-number {
    font-family: 'IvyOra Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 32px;
    line-height: 1;
    color: #ed6a59;
    flex-shrink: 0;
}

.framework-step-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.framework-step-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

/* Tablet Responsive - Below 1200px */
@media (max-width: 1199px) {
    .counselling-framework-section {
        padding: 0 60px;
    }

    .framework-intro {
        flex: 1 1 auto;
        min-width: 100%;
    }

    .framework-step-content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .framework-step {
        flex-direction: column;
        gap: 24px;
    }

    .framework-step-image-wrapper {
        width: 100%;
        aspect-ratio: 200 / 100;
        height: auto;
    }
}

/* Mobile Responsive - Below 768px */
@media (max-width: 767px) {
    .counselling-framework-section {
        padding: 0 16px;
    }

    .framework-container {
        gap: 40px;
    }

    .framework-intro-wrapper {
        gap: 16px;
    }

    .framework-intro {
        gap: 16px;
    }

    .framework-title {
        font-size: 24px;
    }

    .framework-book-btn-desktop {
        display: none;
    }

    .framework-book-btn-mobile {
        display: inline-flex;
        align-self: center;
        height: 48px;
        padding: 13.663px 20.495px;
        border-radius: 30px;
    }

    .framework-steps {
        gap: 24px;
    }

    .framework-step {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .framework-step-image-wrapper {
        width: 100%;
        aspect-ratio: 200 / 100;
        height: auto;
    }

    .framework-step-content {
        min-width: 0;
    }

    .framework-step-header {
        align-items: flex-start;
    }

    .framework-step-number {
        font-size: 24px;
    }

    .framework-step-title {
        font-size: 20px;
    }
}
