/* 
 * Homepage Specific Styles
 */

/* Why Choose Us */
.timeline-item-row:hover .icon-box {
    transform: scale(1.05);
}

.btn-wm-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(114, 165, 159, 0.2);
}

@media (max-width: 991px) {
    .timeline-number-wrapper {
        width: 90px !important;
    }

    .number-circle {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
        margin-left: 0 !important;
    }

    .icon-box {
        width: 64px !important;
        height: 64px !important;
    }

    .icon-box i {
        font-size: 1.5rem !important;
    }

    .display-4 {
        font-size: 3.4rem !important;
    }

    .timeline-text h4 {
        font-size: 1.4rem !important;
    }

    .timeline-text p {
        font-size: 0.85rem !important;
    }

    .timeline-arc-line {
        display: none !important;
    }

    .connector-line-group {
        display: none !important;
    }

    .why-choose-section {
        padding: 60px 0 !important;
        background-position: center !important;
    }

    .testimonialsSwiper {
        padding-bottom: 10px !important;
    }

    .timeline-item-row {
        margin-bottom: 30px !important;
    }

    .timeline-content-icon-wrap {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        flex-direction: row-reverse;
        justify-content: flex-end !important;
        gap: 15px;
    }

    .timeline-text {
        padding-right: 0 !important;
    }

    .icon-box {
        width: 50px !important;
        height: 50px !important;
        background-color: transparent !important;
    }

    .icon-box i {
        font-size: 1.5rem !important;
    }

    .number-circle {
        box-shadow: 0 5px 20px rgba(114, 165, 159, 0.15) !important;
    }
}

@media (max-width: 575px) {
    .why-choose-section h2 {
        font-size: 2.8rem !important;
    }

    .timeline-text h4 {
        font-size: 1.2rem !important;
    }
}

/* Who We Serve */
.specialty-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* What We Treat */
.treat-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.treat-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

.treat-card[aria-expanded="true"] .accordion-arrow {
    transform: rotate(90deg);
}

.treat-card[aria-expanded="true"] {
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Treat Slider Mobile Tweaks */
.treat-swiper {
    overflow: visible !important;
    /* Allow cards to peek */
    padding-bottom: 50px !important;
}

.treat-swiper .swiper-slide {
    padding: 10px;
}

.treat-pagination .swiper-pagination-bullet {
    background: var(--wm-primary);
    opacity: 0.3;
}

.treat-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

.treat-prev,
.treat-next {
    color: var(--wm-primary);
    background: white;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    top: 50% !important;
}

.treat-prev:after,
.treat-next:after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Grid behavior on desktop */
@media (min-width: 768px) {
    .treat-swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start !important;
        width: calc(100% + 1.5rem);
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        transform: none !important;
    }

    .treat-swiper .swiper-slide {
        width: 33.333% !important;
        padding: 0.75rem;
        flex: 0 0 auto;
    }

    .treat-pagination,
    .treat-prev,
    .treat-next {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #what-we-treat .cta-banner {
        flex-direction: column !important;
        height: auto !important;
        padding: 35px 20px !important;
        gap: 20px !important;
        text-align: center !important;
        margin-top: 40px !important;
    }

    #what-we-treat .cta-banner .row {
        margin: 0 !important;
        flex-direction: column !important;
    }

    #what-we-treat .cta-banner .col-md-2,
    #what-we-treat .cta-banner .col-md-7,
    #what-we-treat .cta-banner .col-md-3 {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }

    #what-we-treat .cta-banner .col-md-7 {
        border-left: none !important;
        border-top: 1px solid #E5C5A5 !important;
        padding-top: 25px !important;
        padding-left: 0 !important;
    }

    #what-we-treat .cta-banner .col-md-3 {
        margin-bottom: 0;
    }

    #what-we-treat .cta-banner svg#Image {
        width: 60px !important;
        height: 60px !important;
    }
}

/* Reflections Note */
@media (max-width: 991px) {
    .reflections-note-section {
        padding: 60px 0 !important;
    }

    .reflections-note-section p {
        font-size: 1.25rem !important;
    }

    .starburst-decoration {
        width: 80px !important;
        opacity: 0.15 !important;
    }
}

/* Marquee Slider */
.marquee-slider-section {
    position: relative;
    user-select: none;
}

.marquee-track-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
    color: var(--marquee-text-color, #ffffff);
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-tag {
    display: inline-block;
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 28px;
    color: white;
}

@media (min-width: 1800px) {
    .marquee-tag {
        font-size: 50px;
    }
}

.marquee-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.marquee-sep img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* Insurance & Pay */
.self-pay-card {
    background-color: #007A7C;
    color: white;
    padding: 25px 25px 15px;
    border-radius: 40px;
    width: 300px;
    height: 250px;
    border: 15px solid var(--bg-main);
    z-index: 10;
    top: -120px;
    right: -120px;
}

.self-pay-title {
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 26px;
}

@media (max-width: 1200px) {
    .self-pay-card {
        right: -20px;
    }
}

@media (max-width: 991px) {
    .self-pay-card {
        position: relative !important;
        top: 20px !important;
        right: 0 !important;
        margin: 0 auto;
        width: 100%;
        max-width: 340px;
        height: auto;
        border-width: 10px;
    }

    .insurance-image-wrap {
        margin-right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .insurance-image-wrap img {
        height: 350px !important;
    }
}

.insurance-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--pill-bg);
    color: var(--wm-heading);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.insurance-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.insurance-pill::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--pill-dot);
    margin-right: 12px;
}

@media (max-width: 575px) {
    .insurance-pill {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2.5rem !important;
    }
}

/* How It Works */
.wm-section-divider {
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.wm-divider-top {
    top: 0;
}

.wm-divider-bottom {
    bottom: 0;
}

.wm-section-divider img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.06);
    }

    .how-step-item:last-child {
        border-right: none;
    }
}

.btn-how-action:hover {
    background-color: #619088 !important;
    transform: translateY(-2px);
}

.floating-step-card {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    width: 360px;
    z-index: 3;
}

@media (max-width: 991px) {
    .floating-step-card {
        width: 230px;
        padding: 10px !important;
    }

    .floating-step-card .me-3 {
        margin-right: 10px !important;
    }

    .floating-step-card .flex-shrink-0 {
        width: 35px !important;
        height: 35px !important;
    }

    .floating-step-card .flex-shrink-0 svg {
        width: 16px;
        height: 16px;
    }

    .floating-step-card h5 {
        font-size: 0.9rem !important;
    }

    .floating-step-card p {
        font-size: 0.65rem !important;
    }

    .mobile-svg-line {
        left: -20px !important;
        width: 20px !important;
    }

    .phone-bottom-content {
        padding: 0 8% !important;
    }

    .phone-icon-circle {
        width: 28px !important;
        height: 28px !important;
        margin-right: 8px !important;
    }

    .phone-brand-text {
        font-size: 0.75rem !important;
    }

    .phone-desc-text {
        font-size: 0.65rem !important;
    }

    .btn-phone-action {
        padding: 8px !important;
        font-size: 0.85rem !important;
    }

    .floating-step-card.card-1 {
        left: -15% !important;
    }

    .floating-step-card.card-2 {
        left: -5% !important;
    }

    .floating-step-card.card-3 {
        left: -20% !important;
    }
}

@media (max-width: 575px) {
    .floating-step-card {
        width: 190px;
    }

    .floating-step-card h5 {
        font-size: 0.8rem !important;
    }

    .floating-step-card p {
        display: none;
    }

    .phone-desc-text {
        display: none;
    }

    .btn-phone-action svg {
        display: none;
    }
}

.faq-content .icon-circle {
    width: 78px;
    height: 78px;
}

.custom-icon-box {
    position: relative;
}

.custom-icon-box img {
    z-index: 3;
}

.custom-icon-box-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    right: -5px;
    bottom: 24px;
}

/* option 1 gradient  */
/* #hero .service-hero-divider svg path {
    fill: #e0c267 !important
}

.home .features-bar {
    background: linear-gradient(to bottom, #e0c267 0%, #ad913c 70%, #64531c 100%) !important;
    position: relative;
    z-index: 3;
} */





/* option 2 gradient  */
/* #hero .service-hero-divider svg path {
    fill: #629ed8 !important
}

.home .features-bar {
    background: linear-gradient(to bottom, #629ed8 0%, #467bad 70%, #24517c 100%) !important;
    position: relative;
    z-index: 3;
} */


/* option 3 gradient  */
/* #hero .service-hero-divider svg path {
    fill: #e5838a !important
}

.home .features-bar {
    background: linear-gradient(to bottom, #e5838a 0%, #b14b51 70%, #8a272e 100%) !important;
    position: relative;
    z-index: 3;
} */