/*
Theme Name: MiPro Theme
Template: twentytwentyfour
Text Domain: MiPro Theme
Description: MiPro Theme - Child off of twentytwentyfour
Author: Your Name
Version: 1.0
*/

/* Secondary Button (Berry) */
.is-style-secondary .wp-block-button__link {
    background-color: var(--wp--preset--color--white) !important;
    color: var(--wp--preset--color--midnight) !important;
}

.is-style-secondary .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--white-hover) !important;
}

/*************** Carousel CSS ***************/

.orb-carousel-container {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
    max-width: none !important;
}

.orb-carousel-container.dragging {
    scroll-behavior: auto;
}

.orb-carousel-container::-webkit-scrollbar {
    display: none;
}

.orb-carousel-scrollbar {
    position: relative;
    height: 4px;
    width: 30%;
    margin: 50px auto 0;
    background: linear-gradient(to top,
        black 25%,
        transparent 20%);
    border-radius: 10px;
    overflow: hidden;
}

.orb-carousel-scrollbar-thumb {
    position: absolute;
    height: 100%;
    width: 20%;
    background: #000000;
    top: 0;
    left: 0;
    cursor: pointer;
}

.orb-card-background {
    width: 421px;
    height: 588px;
    border-radius: 80px;
    padding: 40px;
    flex: 0 0 auto;
}

.orb-card-filler {
    width: 30%;
    height: 588px;
    background-color: transparent;
    flex: 0 0 auto;
}

.orb-card-orange {
    background-color: #F5450A;
    color: #000000;
}

.orb-card-white {
    background-color: #FFFFFF;
    color: #000000;
}

.orb-rounded {
    border-radius: 50%;
}

.orb-card-text {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 140%;
    height: 300px;
}

.orb-card-name {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
}

/* Container styling */
.clickcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px 15px 0;
    background-color: #f5f5f5;
    cursor: pointer;
    margin-top: 20px; /* Space between dropdowns */
    margin-bottom: 20px;
    width: 536px;
}

.clickcontainer:first-child {
    margin-top: 0; /* Remove margin from first dropdown */
}

.clickme {
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

/* Dropdown arrow styling and animation */
.dropdownarrow-svg {
    transition: transform 0.3s ease;
}

.clickcontainer.active .dropdownarrow-svg {
    transform: rotate(180deg);
}

/* Hidden content styling and animation */
.hiddencontent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, padding 0.6s ease;
    background-color: transparent;
    border-top: 1px solid #000;
    padding: 10px 0 0 0;
    margin-top: -1px; /* Connects to the container above */
    width: 536px;

}

.hiddencontent.show {
    max-height: 200px; /* Adjust if you have larger content */
}

.slim-letters {
    letter-spacing: -1.2px;
}

.arrow-holder {
    display: flex;
    align-items: center;
}

.arrow-holder:hover {
    cursor: pointer;
}

.arrow-text {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.4px;
    text-decoration: underline;
    text-decoration-color: #FFFFFF;
}

.arrow-text:hover {
    text-decoration-color: #000000;
}

.click-arrow {
    padding-left: 20px;
}

.tabs-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 15.75px 36.75px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 160%; /* 32px */
    letter-spacing: -0.4px;
    width: 172px;
    height: 52px;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #000000;
    color: white;
    border: none;
    outline-width: 0;
}

.content {
    border-radius: 4px;
    padding: 20px;
    min-height: 200px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 0 40%;
    }

    h1 {
        text-align: center;
        max-width: 100%;
    }

    h1.hero-header {
        text-align: left;
        max-width: 100%;
    }

    .entry-content > .wp-block-columns {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .entry-content > .wp-block-group {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .entry-content > .wp-block-cover {
        border-radius: 0 !important;
    }

    .hiddencontent {
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {
    .tab-button {
        flex: 1 0 100%;
    }
}

/*Glide styles*/
.glide__slide {
    position: relative;
    overflow: hidden;
    height: auto; /* Let height be determined by content */
    background-color: #fff; /* Background for the text portion */
}

/* Image container styling */
.slide-image {
    width: 100%;
    /*height: 450px; */
    overflow: hidden;
    border-radius: 12px;
}

/* Image styling */
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Text content below the image */
.slide-content {
    padding: 30px;
    color: #333; /* Dark text color for better readability */
}

/* Content styling */
.slide-content h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.8px;
    margin-top: 0;
    margin-bottom: 5px;
}

.slide-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-top: 0 !important;
}

/* MP Login Form */
.mp_login_form {
    width: 500px;
}

#user_login {
    border-radius: 10px;
    padding: 10px;
}

#user_pass {
    border-radius: 10px;
    padding: 10px;
}

#wp-submit {
    background-color: #F5450A;
    color: #000;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--suisse-intl);
    font-size: 16px;
}

#wp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

label:has(#rememberme) {
    font-size: 12px;
}

.pricing-container {
    position: relative;
    width: 450px;
    padding-top: 15px; /* Space for the floating tag */
}

.pricing-box {
    position: relative;
    width: 100%;
    height: 520px;
    border: 1px solid black;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.price-section {
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: initial;
    background-color: white;
    padding: 32px;
}

.price {
    font-size: 80px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    margin: 20px 0;
}

.price-period {
    font-size: 18px;
    color: #666;
}

.details-section {
    height: 33%;
    background-color: #353535;
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 20px;
}

.buy-button {
    background-color: white;
    color: black;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.4px;
    line-height: 1.6;
    padding-top: 15px;
    padding-right: 21px;
    padding-bottom: 15px;
    padding-left: 21px;
    font-family: var(--wp--preset--font-family--suisse-intl);
}

.buy-button:hover {
    background-color: #ebebeb;
}

.price-btn-cont {
    align-self: center;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 30px;
    background-color: #F5450A;
    color: #000;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 500;
    z-index: 2;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.price-icon {
    height: 60px;
}

/* Contact Form */
.contact-form {
    font-family: var(--wp--preset--font-family--suisse-intl);
}

.contact-form input {
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #F6F6F6;
    border-radius: 10px;
    font-family: var(--wp--preset--font-family--suisse-intl);
    border: none;
    margin-bottom: 20px;
}

.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    background-color: #F6F6F6;
    border-radius: 10px;
    font-family: var(--wp--preset--font-family--suisse-intl);
    border: none;
    margin-bottom: 20px;
}

.contact-form select {
    width: 100%;
    padding: 10px;
    background-color: #F6F6F6;
    border-radius: 10px;
    font-family: var(--wp--preset--font-family--suisse-intl);
    border: none;
    margin-bottom: 20px;
}

/* Hero cards */

.hero-cards-box {
    position: relative;
    transform: translateX(-15px);
    height: 700px;
}

.hero-cards-box .card {
    width: calc(18rem + 19vh);
    max-width: 80vw;
    background: #f7fffd;
    border-radius: 14px;
    cursor: pointer;
}

.hero-cards-box .card.hide {
    visibility: hidden;
}

.hero-cards-box .card:not(.hide) {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.8s cubic-bezier(0.18, 0.98, 0.45, 1);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
}

.hero-cards-box .card:not(.hide)[data-slide='0'] {
    transform: translate(0px, 0px) scale(1);
    z-index: 6;
    opacity: 1;
}

.hero-cards-box .card:not(.hide)[data-slide='1'] {
    transform: translate(15px, 15px) scale(0.975);
    z-index: 5;
    opacity: 0.9;
}

.hero-cards-box .card:not(.hide)[data-slide='2'] {
    transform: translate(30px, 30px) scale(0.95);
    z-index: 4;
    opacity: 0.8;
}

.hero-cards-box .card:not(.hide)[data-slide='3'] {
    transform: translate(45px, 45px) scale(0.925);
    z-index: 3;
    opacity: 0.7;
}

.hero-cards-box .card:not(.hide)[data-slide='4'] {
    transform: translate(60px, 60px) scale(0.9);
    z-index: 2;
    opacity: 0.6;
}

.hero-cards-box .card:not(.hide)[data-slide='5'] {
    transform: translate(75px, 75px) scale(0.875);
    z-index: 1;
    opacity: 0.5;
}

.hero-cards-box .card:not(.hide)[data-slide='0'] {
    transition: all 0.32s cubic-bezier(0.18, 0.98, 0.45, 1);
}

.content-placeholder {
    min-height: 657px;
}

.slide1 {
    border-radius: 12px;
    background-image: url("https://orbforhealth.co.uk/wp-content/uploads/2025/05/main-picture-1.png");
}

.slide2 {
    border-radius: 12px;
    background-image: url("https://orbforhealth.co.uk/wp-content/uploads/2025/05/main-picture-2.png");
}

.slide3 {
    border-radius: 12px;
    background-image: url("https://orbforhealth.co.uk/wp-content/uploads/2025/05/main-picture-3.png");
}

.slide4 {
    border-radius: 12px;
    background-image: url("https://orbforhealth.co.uk/wp-content/uploads/2025/05/main-picture-4.png");
}

.slide5 {
    border-radius: 12px;
    background-image: url("https://orbforhealth.co.uk/wp-content/uploads/2025/05/main-picture-5.png");
}