* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, sans-serif;
    background-color: #f7f7f7;
}

.main-container {
    display: flex;
    flex-direction: column;
}

.hero-section {
    align-items: center;
    background-color: #f8f1eb;
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 0px 20px 20px;
}

.hero-title {
    color: #000;
    font: 600 25px/50px Playfair Display, -apple-system, Roboto, Helvetica, sans-serif;
}

.hero-content {
    margin-top: 22px;
    width: 90rem;
    max-width: 90rem;
    box-sizing: border-box;
    overflow: visible;
}

.hero-columns {
    gap: 20px;
    display: flex;
}


.hero-left-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 44%;
    margin-left: 0px;
}

.hero-text-container {
    display: flex;
    margin-top: 6px;
    padding-left: 15px;
    flex-direction: column;
    font-size: 18px;
    color: #4a4a4a;
    font-weight: 700;
    line-height: 26px;
}

.hero-description {
    color: #000;
    margin: 22px 26px 0 0;
    font: 500 20px Inter, sans-serif;
}

.hero-link {
    text-decoration-line: underline;
    margin: 34px 26px 0 0;
    font: 600 13px/20px Inter, sans-serif;
}

.feature-title {
    font-family: Playfair Display, sans-serif;
    line-height: 163%;
    margin-top: 34px;
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 56%;
    margin-left: 20px;
}

.hero-image {
    aspect-ratio: 1.03;
    object-fit: auto;
    object-position: center;
    width: 100%;
    max-width: 671px;
    flex-grow: 1;
}

.therapists-section {
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 100%;
    color: #000;
    padding: 17px 60px;
    font: 600 24px Playfair Display, -apple-system, Roboto, Helvetica, sans-serif;
    text-align: center;
}

.filter-section {
    background-color: #fff;
    display: flex;
    margin-top: 32px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    padding: 4px 60px 27px;
}

.therapists-columns {
    gap: 20px;
    display: flex;
}

.therapists-left-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 72%;
    margin-left: 0px;
}

.therapists-text-container {
    display: flex;
    margin-top: 18px;
    flex-direction: column;
}

.allocation-test {
    display: flex;
    align-items: center;
    gap: 20px;
}

.therapists-right-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 40%;
    margin-left: 20px;
}

.therapists-image {
    aspect-ratio: 0.85;
    object-fit: auto;
    object-position: center;
    width: 80%;
    flex-grow: 1;
}

.filter-container {
    display: flex;
    width: 100%;
    max-width: 1150px;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.filter-left {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    flex-grow: 1;
    flex-basis: 0;
    width: fit-content;
}

.filter-top {
    display: flex;
    align-items: start;
    gap: 20px;
    color: #000;
}

.filter-dropdown {
    border-radius: 5px;
    background-color: #d3d3d3;
    display: flex;
    gap: 0px;
    flex: 1;
    padding: 8px 10px;
}

.filter-label {
    font-family: Inter, sans-serif;
}

.filter-icon {
    aspect-ratio: 1.14;
    object-fit: auto;
    object-position: center;
    width: 16px;
    fill: #000;
    stroke-width: 1px;
    stroke: #000;
    border-color: rgba(0, 0, 0, 1);
    border-style: solid;
    border-width: 1px;
}

.filter-tags {
    display: flex;
    margin-top: 22px;
    gap: 11px;
    color: #5c5b5b;
}

.filter-tag {
    font-family: Inter, sans-serif;
    align-items: start;
    border-radius: 10px;
    background-color: #e5e5e5;
    justify-content: center;
    padding: 8px 10px;
}

.filter-all {
    justify-content: center;
    border-radius: 5px;
    background-color: #2f2f2f;
    display: flex;
    gap: 0px;
    color: #fff;
    text-align: center;
    flex: 1;
    padding: 8px 10px;
}

.filter-clear {
    text-align: center;
    font-family: Inter, sans-serif;
    font-weight: 500;
    align-self: end;
    margin: 24px 41px 0 0;
}

.therapist-list {
    align-self: center;
    margin-top: 32px;
    width: 100%;
    max-width: 1500px;
    padding: 0 20px;
}

.therapist-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.therapist-card {
    flex: 1 0 30%;
    display: flex;
    flex-direction: column;
    line-height: normal;
    max-width: 30%;
    width: 33%;
    margin: 1rem 1rem 1rem 0px;
    cursor: pointer;
}

.card-content {
    border-radius: 12px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: column;
    margin: 0 auto;
    padding: 4px 5px 4px 13px;
}

.card-header {
    display: flex;
    align-items: start;
    gap: 7px;
}

.therapist-image {
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    width: 99px;
    height: 120px;
    margin-top: 7px;
}

.info-top {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.name-credentials {
    display: flex;
    flex-direction: column;
}

.therapist-name {
    color: #000;
    font: 500 16px Inter, sans-serif;
}

.therapist-credentials {
    color: #4a4a4a;
    margin-top: 5px;
    font: 400 10px Inter, sans-serif;
}

.rating {
    align-self: start;
    display: flex;
    margin-top: 5px;
    gap: 6px;
    font-size: 11px;
    color: #000;
    font-weight: 400;
}

.rating-number {
    align-self: start;
    display: flex;
    gap: 0px;
    padding: 0 1px;
}

.rating-value {
    font-family: Inter, sans-serif;
    margin: auto 0;
}

.rating-star {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 14px;
}

.verified-icon {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 28px;
}

.specialties {
    display: flex;
    margin-top: 13px;
    gap: 7px;
    font-size: 10px;
    color: #4a4a4a;
    font-weight: 300;
    white-space: nowrap;
    text-align: center;
    flex-wrap: wrap;
}

.specialty-tag {
    font-family: Inter, sans-serif;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0px 1.4px 3.5px 0px rgba(0, 0, 0, 0.2);
    background-color: #f7f7f7;
    padding: 3px 7px;
}

.session-price {
    color: #4a4a4a;
    margin-top: 16px;
    font: 500 13px Inter, sans-serif;
}

.card-footer {
    display: flex;
    margin-top: 12px;
    align-items: start;
    gap: 20px;
    justify-content: space-between;
}

.therapist-description {
    color: #4a4a4a;
    font: 500 12px Inter, sans-serif;
}

.availability {
    display: flex;
    margin-top: 10px;
    flex-direction: column;
}

.availability-status {
    display: flex;
    gap: 1px;
    font-size: 8px;
    color: rgba(0, 0, 0, 0.46);
    font-weight: 700;
    padding: 0 2px;
}

.status-indicator.available {
    background-color: green;
}

.status-indicator.not-available {
    background-color: lightgrey;
}

.status-indicator {
    stroke-width: 1px;
    border-color: rgba(0, 0, 0, 0.54);
    border-style: solid;
    border-width: 1px;
    background-color: #efdfb7;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin: auto 0;
}

.allocation-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #050505;
    color: #fff;
    padding: 10px 16px;
    font: 700 16px Inter, sans-serif;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.book-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    background-color: #4a4a4a;
    margin-top: 7px;
    color: #fff;
    cursor: pointer;
    padding: 5px 13px;
    font: 500 16px Inter, sans-serif;
    white-space: nowrap;
}

.pagination {
    align-self: center;
    display: flex;
    margin-top: 43px;
    gap: 8px;
    font-size: 14px;
    color: var(--Dark-Grey-400, #212b36);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    line-height: 143%;
    padding: 0 20px;
}

.pagination-arrow {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 32px;
}

.pagination-number {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #696868;
}

.pagination-active,
.pagination-link {
    font-family: Inter, sans-serif;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: grey;
    padding: 0 12px;
    display: flex;
}

.pagination-active {
    border: 1px solid #696868;
}

.pagination-link {
    border: 1px solid #dfe3e8;
}

.no-therapist-message {
    color: #000;
    align-self: start;
    flex-grow: 1;
    flex-basis: auto;
    white-space: normal;
    font: 500 24px Playfair Display, -apple-system, Roboto, Helvetica, sans-serif;
}

.hero-content-wrapper {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    align-self: stretch;
    display: flex;
    min-width: 240px;
    flex-direction: column;
    font-family: Inter, sans-serif;
    justify-content: start;
    width: 536px;
    margin: auto 0;
}

.welcome-heading {
    color: #252525;
    display: block;
    width: 100%;
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.welcome-description {
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(37, 37, 37, 0.8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.image-gallery {
    border-radius: 0;
    align-self: stretch;
    min-width: 240px;
    width: 525px;
    margin: auto 0;
}

.gallery-grid {
    gap: 20px;
    display: flex;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 50%;
}

.gallery-item {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.gallery-image {
    width: 100%;
    border-radius: 0;
}

.gallery-image-tall {
    aspect-ratio: 0.78;
    margin-bottom: 10px;
}

.gallery-image-wide {
    aspect-ratio: 1.26;
}

.gallery-image-portrait {
    aspect-ratio: 0.83;
    margin-bottom: 8px;
}

.gallery-image-landscape {
    aspect-ratio: 1.33;
    width: 242px;
}

.steps-section {
    border-radius: 17px;
    display: flex;
    margin-top: 39px;
    min-height: 451px;
    flex-direction: column;
    font-family: Inter, sans-serif;
    background: #f8f1eb;
    padding: 40px 15px;
}

.steps-container {
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    display: flex;
    min-width: 240px;
    flex-direction: column;
    justify-content: start;
    width: 314px;
    min-height: 300px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(74, 74, 74, 0.7);
    margin-bottom: 15px;
}

.step-title {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #252525;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.step-description {
    font-weight: 400;
    margin-top: 20px;
    color: #665;
    font-size: 1rem;
    line-height: 1.6;
}

.bookmark-icon {
    visibility: hidden;
}

.hero-container {
    background-color: #f8f1eb;
    padding: 5px 5px;
    text-align: center;
}

.questionnaire-cta {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.cta-header {
    text-align: center;
    margin-bottom: 25px;
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: #4a4a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cta-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.cta-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.cta-subtitle {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-1px);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
}

.benefit-icon.time {
    background: #e3f2fd;
    color: #1976d2;
}

.benefit-icon.match {
    background: #f3e5f5;
    color: #7b1fa2;
}

.benefit-icon.personalized {
    background: #e8f5e8;
    color: #388e3c;
}

.benefit-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #4a4a4a;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 74, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4a4a4a;
    padding: 14px 28px;
    border: 2px solid #4a4a4a;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #4a4a4a;
    color: white;
    transform: translateY(-1px);
}

.time-estimate {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: rgba(74, 74, 74, 0.05);
    border-radius: 8px;
    border-left: 3px solid #4a4a4a;
}

.time-estimate-text {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.step-item:hover {
    transform: translateY(-5px);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

.island-container {
    display: flex;
    justify-content: center;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .island-container {
        margin-top: 1rem;
    }

    .steps-container {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .step-item {
        min-width: 280px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        margin-right: 10px;
        padding: 20px 15px;
        width: 100%;
    }

    .steps-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar on iOS/Android */
    }

    .hero-container {
        padding: 5px 5px;
    }

    .welcome-heading {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .welcome-description {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .questionnaire-cta {
        margin: 20px 10px;
        padding: 20px 15px;
    }

    .cta-title {
        font-size: 1.3rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .benefit-item {
        padding: 10px;
    }

    .benefit-text {
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .time-estimate {
        margin-top: 12px;
        padding: 10px;
    }

    .time-estimate-text {
        font-size: 0.8rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .hero-content-wrapper {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .text-content {
        max-width: 100%;
    }

    .welcome-heading {
        max-width: 100%;
        font-size: 25px;
        font-weight: bold;
    }

    .welcome-description {
        max-width: 100%;
        font-size: 15px;
    }

    .image-gallery {
        width: 85%;
        display: flex;
        align-content: center;
    }

    .gallery-grid {
        gap: 0;
        width: 50%;
    }

    .gallery-column {
        width: 100%;
    }

    .gallery-item {
        margin-top: 18px;
    }

    .steps-section {
        max-width: 100%;
        padding: 10px 10px;
        margin-top: 20px;
    }

    .hero-content {
        max-width: 100vw;
        width: 100vw;
    }

    .therapist-list {
        padding: 0 2px;
    }

    .card-content {
        width: 90vw;
    }

    .name-credentials {
        width: 70%;
    }

    .therapist-card {
        margin: 0;
    }
}