:root {
    --primary: #72ae44;
    --secondary: #5a8a37;
    --accent: #ff914d;
    --light: #f8f9fa;
    --dark: #2d4a1f;
    --success: #4caf50;
    --gradient: linear-gradient(135deg, #72ae44 0%, #5a8a37 100%);
    --accent-gradient: linear-gradient(135deg, #ff914d 0%, #ffab76 100%);
    --light-green: #f0f7e9;
}
/* Custom Card Styles */
.abt-intro-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 5px rgba(114, 174, 68, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(114, 174, 68, 0.1);
    position: relative;
    overflow: hidden;
    /* height:100%; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.abt-intro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.abt-intro-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--light-green);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
}

.abt-intro-card:hover {
    transform: translateY(-15px);
}

.abt-intro-card:hover::before {
    transform: scaleX(1);
}

.abt-intro-card:hover::after {
    opacity: 0.6;
    top: -20%;
    right: -20%;
    z-index: -2;
}

.abt-intro-card-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.abt-intro-card:hover .abt-intro-card-icon {
    transform: rotate(15deg) scale(1.1);
    background: var(--accent-gradient);
}

.abt-intro-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: "Playfair Display", serif;
    position: relative;
    z-index: 1;
}

.abt-intro-card-description {
    color: #6c757d;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    height: 100%;
    /* overflow-y:auto; */
}
.abt-intro-card-description::-webkit-scrollbar {
    width: 2px;
    background-color: var(--primary);
}

/* Swiper Customization */
.abtIntroswiper {
    width: 100%;
    padding: 20px 10px 10px;
}

.abtIntroswiper .swiper-slide {
    height: auto;
}

.abtIntroswiper .swiper-button-next,
.abtIntroswiper .swiper-button-prev {
    color: var(--primary);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.abtIntroswiper .swiper-button-next:after,
.abtIntroswiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Right-side Contact Sidebar */
.contact-sidebar {
    position: fixed;
    right: 0;
    top: 200px;
    z-index:3;
    width: 65px;
    transform: translate(0, 0);
}

.contact-sidebar ul {
    padding: 0;
    transform: translate(0px, 0); /* hide behind right */
    transition: 0.5s ease;
}

.contact-sidebar ul li {
    display: block;
    margin: 6px;
    background: rgba(0, 0, 0, 0.35);
    width: 300px;
    padding: 10px 12px;
    border-radius: 30px 0 0 30px;
    transition: 0.7s ease;
}

/* Slide left on hover */
.contact-sidebar ul li:hover {
    transform: translate(-150px, 0);
    background: rgba(255, 255, 255, 0.5);
}

.contact-sidebar ul li a {
    color: #000 !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px; /* space between icon & text */
}

.contact-sidebar ul li:hover a {
    color: #000;
}

/* Icons */
.contact-sidebar ul li i {
    background: #ffffff;
    color: #000;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.7s ease;
}

/* Hover Colors */
.contact-sidebar ul li:hover i.fa-phone {
    background: var(--primary);
    color: #fff;
    transform: rotate(360deg);
}

.contact-sidebar ul li:hover i.fa-whatsapp {
    background: #25d366;
    color: #fff;
    transform: rotate(360deg);
}

.contact-sidebar ul li:hover i.fa-calendar-alt {
    background: var(--accent);
    color: #fff;
    transform: rotate(360deg);
}

/* Why Choose Us Card Styles */
.why-choose-us-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(114, 174, 68, 0.15); */
    transition: all 0.4s ease;
    border: 1px solid var(--primary);
    border-bottom: 5px solid var(--primary);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-choose-us-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.why-choose-us-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.why-choose-us-card:hover .why-choose-us-image {
    transform: scale(1.1);
}

.why-choose-us-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(114, 174, 68, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-choose-us-card:hover .why-choose-us-image-overlay {
    opacity: 1;
}

.why-choose-us-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-choose-us-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    position: relative;
}

.why-choose-us-card-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.why-choose-us-card-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Swiper Customization for Why Choose Us */
.why-choose-us-swiper {
    width: 100%;
    padding: 20px 10px 10px;
}

.why-choose-us-swiper-slide {
    height: auto;
}

.why-choose-us-swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.why-choose-us-swiper-pagination-bullet-active {
    background: var(--primary);
}

.why-choose-us-swiper-button-next,
.why-choose-us-swiper-button-prev {
    color: var(--primary);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-us-swiper-button-next:after,
.why-choose-us-swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Animation for cards */
@keyframes why-choose-us-fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.appointment-modal .modal-header {
    background: var(--gradient);
    color: white;
    border-bottom: none;
    padding: 15px 20px;
    position: relative;
}

.appointment-modal .modal-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.appointment-modal .modal-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.8rem;
}

.appointment-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.appointment-modal .modal-body {
    padding: 15px 10px;
}

.appointment-modal .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0px;
    font-size: 0.9rem;
}

.appointment-modal .form-control,
.appointment-modal .form-select {
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.appointment-modal .form-control:focus,
.appointment-modal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(114, 174, 68, 0.2);
}

.appointment-modal .input-group-text {
    background: var(--light-green);
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.appointment-modal .form-control.title-field {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.appointment-modal textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.appointment-modal .form-check {
    margin-top: 10px;
}

.appointment-modal .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.appointment-modal .form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.appointment-modal .modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 20px 30px;
}

.appointment-modal .btn-submit {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.appointment-modal .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 174, 68, 0.3);
}

.appointment-modal .btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e0e0e0;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
}

.appointment-modal .btn-cancel:hover {
    background: #e9ecef;
    color: #495057;
}

.appointment-modal.show .modal-dialog {
    animation: modalFadeIn 0.3s ease-out;
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-choose-us-animate-card {
    animation: why-choose-us-fadeIn 0.6s ease forwards;
}

/* service modal cards   */
.service-slider .owl-stage-outer {
    padding: 15px 5px !important;
}

.service-item {
    margin-bottom: 20px;
}
.service-item .service-img {
    height: 15rem;
    width: 100%;
}
.service-item .service-img img {
    height: 100%;
    object-fit: cover;
}
.service-item .service-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.service-item .service-text {
    height: 6rem;
    overflow-y: auto;
}
.service-item .service-text::-webkit-scrollbar {
    width: 6px;
}
.service-item .service-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    box-shadow: inset 0 0 5px lightgrey;
}
.service-item .service-text::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

/* bmi calculation card */
.bmi-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(114, 174, 68, 0.15);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.bmi-content {
    /* padding: 30px; */
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    /* gap: 30px; */
}

.bmi-calculator-section {
    background: var(--light-green);
    padding: 20px;
    border-radius: 10px;
}

.bmi-unit-tabs {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 15px;
}

.bmi-unit-tab {
    flex: 1;
    text-align: center;
    padding: 5px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}

.bmi-unit-tab.active {
    background: var(--gradient);
    color: white;
}

.bmi-input-group {
    margin-bottom: 10px;
}

.bmi-input-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.bmi-input-wrapper {
    position: relative;
}

.bmi-input {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.bmi-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(114, 174, 68, 0.2);
    outline: none;
}

.bmi-calculate-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    margin-top: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bmi-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 145, 77, 0.3);
}

.bmi-result-section {
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: white;
    line-height: normal;
    border-radius: 10px;
    border: 2px solid var(--light-green);
}

.bmi-result-title {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 7px;
}

.bmi-result-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.bmi-ranges-section {
    padding: 15px 10px 0px 10px;
    background: white;
    border-radius: 10px;
}

.bmi-range-item {
    text-align: center;
    padding: 8px 8px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid rgb(209, 209, 209);
    line-height: normal;
    height: 100%;
}

.bmi-range-item.active {
    background: var(--light-green);
    border: 2px solid var(--primary);
    box-shadow: 4px 4px 3px var(--light-green);
}

.bmi-range-value {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.bmi-range-category {
    font-weight: 700;
    font-size: 0.7rem;
}

.underweight {
    color: #ff6b6b;
}

.healthy {
    color: var(--success);
}

.overweight {
    color: #ffa726;
}

.obese {
    color: #ef5350;
}

.bmi-recommendation {
    background: #fff3e0;
    border-left: 4px solid var(--accent);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #5d4037;
    grid-column: 1 / -1;
}

.bmi-phone-number {
    font-weight: 700;
    color: var(--primary);
}


.blog-thumb-img{
    height:25rem;
    width:100%;
}
.blog-thumb-img img{
    width:100%;
    height:100%;
}
/* blog custom css cards */
.blog-item-img {
    height: 15rem;
    width: 100%;
}
.blog-item-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.4;
    max-height: calc(1.4em * 2);
}

.blog-content {
    height: 7.2rem;
    overflow-y: auto;
}
.blog-content::-webkit-scrollbar {
    width: 5px;
}
.blog-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
    box-shadow: inset 0 0 5px lightgrey;
}
.blog-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 8px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

/* bottom CTA section css  */
.bottom-CTA-section {
    /* border-radius: 20px; */
    box-shadow: 0 15px 40px rgba(114, 174, 68, 0.15);
    width: 100%;
}

.bottom-CTA-content-wrapper {
    padding: 100px;
}

.bottom-CTA-phone-section {
    background: var(--light-green);
    padding: 15px 20px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

.bottom-CTA-phone-label {
    font-size: 1rem;
    color: #6c757d;
    /* margin-bottom: 8px; */
    font-weight: 500;
}

.bottom-CTA-phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.bottom-CTA-phone-number:hover {
    color: var(--secondary);
    text-decoration: none;
}

.bottom-CTA-image-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    /* border-radius: 0 20px 20px 0; */
}

.bottom-CTA-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bottom-CTA-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(114, 174, 68, 0.1) 0%,
        rgba(90, 138, 55, 0.05) 100%
    );
}

.bottom-CTA-image-container:hover .bottom-CTA-image {
    transform: scale(1.05);
}

/* transform slider css  */
.transform-carousel {
    position: relative;
}

.transform-carousel .owl-stage-outer {
    padding: 10px 0;
}

.transform-carousel .owl-item {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.transform-carousel .owl-item:not(.center) {
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(1px);
}

.transform-carousel .owl-item.center {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf5 100%);
    border-radius: 25px;
    padding: 40px 35px;
    box-shadow: 0 15px 40px rgba(114, 174, 68, 0.15),
        0 5px 20px rgba(114, 174, 68, 0.08);
    border: 2px solid rgba(114, 174, 68, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: 2;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(114, 174, 68, 0.05) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.owl-item.center .testimonial-card::before {
    transform: scaleX(1);
}

.owl-item.center .testimonial-card::after {
    opacity: 1;
}

.client-images {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 25px;
    gap: 20px;
    position: relative;
}

.client-before,
.client-after {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.client-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: white;
    padding: 8px;
}

.client-image {
    width: 100%;
    height: 25rem;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.5s ease;
    border: 3px solid transparent;
}

.owl-item.center .client-image {
    transform: scale(1.02);
}

.owl-item.center .client-image-container {
    box-shadow: 0 12px 35px rgba(114, 174, 68, 0.25);
}

.image-label {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--light-green);
    transition: all 0.3s ease;
}

.before-label {
    color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea 0%, #ffd1d1 100%);
    border: 1px solid #ffcccc;
}

.after-label {
    color: var(--success);
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #c3e6cb;
}

.weight-loss-badge {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 100%);
    border-radius: 20px;
    border: 2px solid rgba(114, 174, 68, 0.15);
    box-shadow: 0 5px 20px rgba(114, 174, 68, 0.1);
    position: relative;
    overflow: hidden;
}

.weight-loss-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.client-info {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.client-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: "Playfair Display", serif;
    position: relative;
    display: inline-block;
}

.client-name::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.client-location {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.client-location::before {
    content: "📍";
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding: 0 25px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #f8fdf8 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    font-family: "Playfair Display", serif;
}

.testimonial-text::before {
    top: 5px;
    left: 10px;
}

.testimonial-text::after {
    bottom: -15px;
    right: 10px;
}

.testimonial-disclaimer {
    font-size: 0.8rem;
    color: #95a5a6;
    text-align: center;
    font-style: italic;
    margin-top: 15px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Owl Navigation */
.transform-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.transform-carousel .owl-prev,
.transform-carousel .owl-next {
    background: var(--gradient) !important;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem !important;
    box-shadow: 0 8px 25px rgba(114, 174, 68, 0.4),
        0 4px 15px rgba(114, 174, 68, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
    border: 2px solid white;
}

.transform-carousel .owl-prev:hover,
.transform-carousel .owl-next:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 12px 35px rgba(114, 174, 68, 0.5),
        0 6px 20px rgba(114, 174, 68, 0.4);
}

.transform-carousel .owl-prev {
    margin-left: 5px;
}

.transform-carousel .owl-next {
    margin-right: 5px;
}

.transform-carousel .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.transform-carousel .owl-dot span {
    background: #d1d8e0 !important;
    transition: all 0.4s ease;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.transform-carousel .owl-dot.active span {
    background: var(--gradient) !important;
    transform: scale(1.4);
    box-shadow: 0 3px 10px rgba(114, 174, 68, 0.3);
}

.transform-carousel .owl-dot:hover span {
    background: var(--primary) !important;
}

/* Section 1: Simple Image & Text */
.simple-image-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(114, 174, 68, 0.1);
    overflow: hidden;
    margin-bottom: 50px;
}

.simple-content {
    padding: 25px;
}

.simple-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #191f30;
    margin-bottom: 20px;
    line-height: 1.3;
}

.simple-image-container {
    height: 100%;
    max-height: 20rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------
   Animated Border Box
--------------------------- */
.advantages-section {
    background: linear-gradient(to right, #f0ffe3, rgba(255, 255, 255, 0.95));
    overflow: hidden;
    margin: 40px auto;
}
.advantages-content {
    position: relative;
    border-radius: 12px;
    padding: 40px;
}

/* Border before */
.advantages-content::before,
.advantages-content::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary);
    border-radius: 12px;
    opacity: 0.3;
    animation: borderFloat 6s infinite ease-in-out;
}

/* Top-left floating border */
.advantages-content::before {
    left: -40px;
    top: -40px;
}

/* Bottom-right floating border */
.advantages-content::after {
    right: -40px;
    bottom: -40px;
    animation-delay: 2s;
}

@keyframes borderFloat {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px);
        height: 150px;
        width: 150px;
    }
    100% {
        transform: translate(0, 0);
    }
}

.adv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
}

.adv-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
    transition: 0.3s ease;
}

.adv-list li::before {
    content: "\f00c"; /* check icon in FA6 */
    font-family: "Font Awesome 6 Pro";
    font-weight: 900; /* Solid */
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
    transition: 0.3s;
}

/* Hover effect */
.adv-list li:hover {
    color: var(--primary);
    padding-left: 35px;
}

.adv-list li:hover::before {
    transform: scale(1.3);
    color: var(--dark);
}

/* --------------------------
   Image Effects
--------------------------- */
.advantages-image-wrapper {
    width: 100%;
    height: 25rem;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
}

/* smooth image zoom */
.advantages-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

/* subtle animated overlay */
.advantages-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: 0.4s;
}

.advantages-image-wrapper:hover .advantages-image {
    transform: scale(1.05);
}

.advantages-image-wrapper:hover::after {
    opacity: 1;
}

/* Section wrapper */
.abt-book-section {
    position: relative;
    background-image: url(../img/appointment/apt-bg2.webp); /* replace */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    margin: 40px auto;
}

/* Gradient overlay */
.abt-book-section .abt-book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
    backdrop-filter: blur(1px);
}

/* Content centered */
.abt-book-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Title design */
.abt-book-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-transform: capitalize;
}

/* Subtitle paragraph */
.abt-book-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Button styling */
.abt-book-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.abt-book-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Premium Service Card */
.premium-service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    margin-bottom:15px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-service-card:hover {
    transform: translateY(-5px) scale(1.001);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.premium-service-card-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.premium-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.premium-service-card:hover .premium-service-card-image img {
    transform: scale(1.1);
}

.premium-service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.7)
    );
    display: flex;
    align-items: flex-end;
    padding: 25px;
    z-index: 2;
}

.premium-service-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.premium-service-card-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.premium-service-card-title:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 3px;
    height: 35px;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.premium-service-card-description {
    margin-bottom: 10px;
}

.premium-service-card-list{
    list-style: none;
    margin-top: 10px;
    margin-bottom: 25px;
    padding-left: 0.5rem;
    height: 15rem;
    width:100%;
    /*padding-bottom:5px;*/
    overflow-y: auto; 
    overflow-x:hidden;
}

/* Webkit Browsers (Chrome, Edge, Safari) */
.premium-service-card-list::-webkit-scrollbar{
    width: 5px;
}

.premium-service-card-list::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 10px;
}

.premium-service-card-list::-webkit-scrollbar-thumb{
    background: var(--primary);
    border-radius: 10px;
}

.premium-service-card-list::-webkit-scrollbar-thumb:hover{
    background: color-mix(in srgb, var(--primary) 85%, #000);
}


.premium-service-card-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 35px;
    color: var(--charcoal);
    white-space:normal;
    transition: all 0.3s ease;
}

.premium-service-card-list li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.premium-service-card-list li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    background: rgba(255, 122, 107, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-service-card-list li:last-child {
    border-bottom: none;
}

/* Floating elements */
.premium-service-card:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    top: -30px;
    right: -30px;
    z-index: 0;
}

/* Individual service links styling */
.premium-service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.premium-service-link:hover {
    color: var(--primary);
}

.theme-form .form-group {
    margin-bottom: 10px;
}

.theme-form .form-control {
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid #ddd;
    transition: all 0.5s ease-in-out;
    width: 100%;
}

.theme-form .form-control:focus {
    border-color: #72ae44;
    box-shadow: 0 0 5px rgba(114, 174, 68, 0.3);
}

.theme-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.theme-form input[type="radio"] {
    margin-right: 5px;
}

.theme-form button.btn-primary {
    background-color: #72ae44;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.theme-form button.btn-primary:hover {
    background-color: #5c9437;
}

.floating_btn {
    position: fixed;
    bottom: 90px;
    right: 22px;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 15px #fff0;
    }
}

.contact_icon img {
    border-radius: 50px;
    color: #fff;
    width: 50px;
    height: 50px;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: 1.25s cubic-bezier(0.66, 0, 0, 1) infinite pulsing;
    box-shadow: 0 0 0 0 #42db87;
    -webkit-animation: 1.25s cubic-bezier(0.66, 0, 0, 1) infinite pulsing;
    -moz-animation: 1.25s cubic-bezier(0.66, 0, 0, 1) infinite pulsing;
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: 400;
    font-family: sans-serif;
    text-decoration: none !important;
}

.service-hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
        url(../img/breadcrumb/service-bg.webp) center/cover no-repeat;
    color: white;
    padding: 80px 0 160px 0;
    overflow: visible;
    display: flex;
    align-items: center;
}

/* Center Aligned Content */
.hero-content-center {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 10px;
    position: relative;
    z-index: 2;
}

.service-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    color: #fff;
}

.service-hero-discount-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    transform: perspective(500px) rotateY(-5deg);
}

.service-hero-subtitle {
    font-size: 1.3rem;
    /* font-weight: 500; */
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Bottom Form Styling - ABSOLUTE POSITION */
.bottom-form-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(50%);
    z-index: 10;
}

.consultation-form-box {
    background: white;
    border-radius: 15px;
    padding: 25px 25px 35px 25px;
    box-shadow: 0 20px 20px rgba(169, 169, 169, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border-top: 5px solid var(--primary);
    max-width: 1200px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-green);
}

.service-hero-form-title {
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-hero-form-subtitle {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Form Field Styling */
.service-book-form .form-group {
    margin-bottom: 0;
}

.service-book-form .form-control,
.service-book-form .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    height: auto;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.service-book-form .form-control:focus,
.service-book-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(114, 174, 68, 0.25);
    background-color: white;
    transform: translateY(-2px);
}

.service-book-form .form-label {
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Row Layout */
.form-row-custom {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
}

/* Send Button */
.btn-send-large {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* box-shadow: 0 5px 15px rgba(255, 145, 77, 0.4); */
    height: fit-content;
    width: 100%;
}

.btn-send-large:hover {
    transform: translateY(-3px);
}

.btn-send-large::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-send-large:hover::before {
    left: 0;
}

.send-icon {
    margin-left: 8px;
    font-size: 0.9rem;
    animation: planeFloat 3s ease-in-out infinite;
}

@keyframes planeFloat {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

/* Animations */
.animate-pop {
    opacity: 0;
    transform: translateY(20px);
    animation: popIn 0.6s ease forwards;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-abt {
    padding-top: 200px;
}

/* MAIN WRAPPER */
.how-it-works .road-map-main {
    margin: 60px 0;
    position: relative;
}

/* EACH STEP WRAPPER */
.how-it-works .road-map-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 175px;
}

/* CIRCLE OUTER BORDER */
.how-it-works .road-map-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 25px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    position: absolute;
    inset: 0;
    margin: auto;
    transform: rotate(45deg);
}

/* INNER CIRCLE */
.how-it-works .road-map-circle-text {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    inset: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    font-size: 32px;
    color: #fff;
    box-shadow: 0px 0px 10px 5px #00000020;
}

/* CARD */
.how-it-works .road-map-card {
    width: 35%;
    background: var(--primary);
    padding: 20px 20px;
    position: absolute;
    right: 0;
    border-radius: 6px;
    color: #fff;
    top: 30px;
}

.how-it-works .road-map-card::before {
    content: "";
    width: 25%;
    height: 20px;
    background: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -23%;
}

/* EVEN ITEMS – REVERSE */
.how-it-works .road-map-wrapper:nth-of-type(even) .road-map-circle {
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--primary);
    border-left-color: var(--primary);
}

.how-it-works .road-map-wrapper:nth-of-type(even) .road-map-card {
    left: 0;
}

.how-it-works .road-map-wrapper:nth-of-type(even) .road-map-card::before {
    right: -23%;
    left: unset;
}

/* TEXT */
.how-it-works .card-head {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.how-it-works .card-text {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.4;
}

/* service card info start */

.services-info-cards {
    background: #eee;
    width: 100%;
    display: block;
    position: relative;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    transition: all 250ms ease-in;
    min-height: 350px;
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 25px;
}

/* Background Image Container for Dynamic Images */
.services-info-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Best fit without distortion */
    background-position: center;
    background-repeat: no-repeat; /* No repeat */
    transition: transform 0.7s ease;
    z-index: 0;
}
.services-info-cards:hover .services-info-bg-image {
    transform: scale(1.1);
}

.services-info-bg-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: all 200ms linear;
    z-index: 1;
}

/* Border Animation */
.v-border {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.v-border:before,
.v-border:after {
    width: 0%;
    height: 1px;
    left: 50%;
    transition: all 250ms ease-out;
    background: #fff;
}

.v-border:before {
    content: "";
    top: 9%;
    position: absolute;
}

.v-border:after {
    content: "";
    bottom: 9%;
    position: absolute;
}

.h-border {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.h-border:before,
.h-border:after {
    height: 0%;
    top: 50%;
    width: 1px;
    transition: all 250ms ease-out;
    background: #fff;
}

.h-border:before {
    content: "";
    left: 8%;
    height: 0%;
    position: absolute;
}

.h-border:after {
    content: "";
    right: 8%;
    position: absolute;
}

/* Content Styling */
.services-info-content {
    padding: 30px 40px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: row;
    z-index: 4;
    pointer-events: none;
}

.services-info-content .services-info-primary-box {
    text-transform: uppercase;
    width: 100%;
    transition: all 250ms ease-out 200ms;
    opacity: 1;
    transform: translate3d(0px, 0px, 1px);
    pointer-events: auto;
}

.services-info-content .services-info-primary-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Icon/Image Styling */
.service-image-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.service-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.services-info-content .services-info-primary-box .service-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.services-info-content .services-info-secondary-box {
    position: absolute;
    opacity: 0;
    left: 0px;
    transform: translate3d(0px, 30px, 1px);
    transition: all 200ms linear 0ms;
    padding-left: 35px;
    padding-right: 35px;
    width: 100%;
    pointer-events: none;
}

.service-info-btn-container,
.services-info-btn {
    pointer-events: auto; /* Allow button clicks */
}
.services-info-content .services-info-secondary-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.services-info-content .services-info-secondary-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Button Styling */
.services-info-btn {
    border: solid 1px #fff;
    padding: 8px 12px;
    border-radius: 30px;
    margin: 8px 5px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative; /* Ensure proper stacking */
    z-index: 10;
}

.services-info-btn.btn-view {
    background: var(--accent);
    border-color: var(--accent);
}

.services-info-btn.btn-chat {
    background: var(--primary);
    border-color: var(--primary);
}

.services-info-btn i {
    font-size: 1.2rem;
}

.services-info-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.services-info-btn.btn-view:hover {
    background: #ff7a33;
}

.services-info-btn.btn-chat:hover {
    background: var(--secondary);
}

/* Button Container */
.service-info-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 10px;
}

/* Hover States */
.services-info-cards:hover {
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.3);
}

.services-info-cards:hover .v-border:before,
.services-info-cards:hover .v-border:after {
    width: 90%;
    left: 5%;
}

.services-info-cards:hover .h-border:before,
.services-info-cards:hover .h-border:after {
    height: 90%;
    top: 5%;
}

.services-info-cards:hover .services-info-content .services-info-primary-box {
    opacity: 0;
    transform: translate3d(0px, 20px, 1px);
    transition: all 200ms linear 0ms;
    pointer-events: none;
}

.services-info-cards:hover .service-image-container .service-image {
    transform: translateY(-70px) scale(1.1);
    opacity: 0;
}

.services-info-cards:hover .services-info-content .services-info-secondary-box {
    opacity: 1;
    transform: translate3d(0px, 0px, 1px);
    transition: all 200ms linear 200ms;
    pointer-events: auto;
}

.services-info-cards:hover .services-info-bg-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Responsive Design */

/* Animation for cards */
@keyframes ServiceinfofadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-info-cards {
    animation: ServiceinfofadeUp 0.7s ease-out;
    animation-fill-mode: both;
}

.services-info-cards:nth-child(1) {
    animation-delay: 0.1s;
}
.services-info-cards:nth-child(2) {
    animation-delay: 0.2s;
}
.services-info-cards:nth-child(3) {
    animation-delay: 0.3s;
}
.services-info-cards:nth-child(4) {
    animation-delay: 0.4s;
}
.services-info-cards:nth-child(5) {
    animation-delay: 0.5s;
}
.services-info-cards:nth-child(6) {
    animation-delay: 0.6s;
}

/* service card info end */

.video-stories-card {
    position: relative;
    padding: 10px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    border: 2px solid #72ae44;
}

/* Gradient border using :before */
.video-stories-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #e9fedaff 0%, #f6ffefff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Hover Effects */
.video-stories-card:hover::after {
    opacity: 1;
}

.video-stories-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Iframe Styling */
.video-stories-frame {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.video-stories-frame iframe {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    border: none;
}

/* ab cards section start */

.ab-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.496);
    transition: transform 0.4s ease;
    margin-bottom: 30px;
    height: 25rem;
    position: relative;
    padding: 5px;
}

.ab-card:hover {
    transform: translateY(-10px);
}

/* Image Container */
.ab-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

/* Image Wrapper for smooth transitions */
.ab-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Single Image with both states */
.ab-transform-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.ab-transform-image.active {
    opacity: 1;
}

/* Image specific styles for vertical images */
.ab-transform-image.vertical {
    background-size: contain;
    background-color: white;
}

/* Badge */
.ab-stage-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-text);
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ab-stage-badge.before {
    color: #fff;
    border-color: var(--primary);
    background-color: var(--primary);
}

.ab-stage-badge.after {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
}

.ab-card:hover .ab-stage-badge {
    transform: translateX(10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Progress Indicator */
.ab-progress-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ab-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ab-progress-dot.active {
    background: var(--primary);
    transform: scale(1.4);
}

.ab-progress-dot:nth-child(2).active {
    background: var(--accent);
}

/* Auto-play Indicator */
.ab-auto-play-indicator {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ab-auto-play-indicator:hover {
    background: white;
    transform: scale(1.1);
}

.ab-auto-play-indicator i {
    font-size: 1.2rem;
    color: var(--primary);
}
.ab-card:hover .ab-transform-image {
    animation-play-state: paused;
}

/* ab cards section end */

.styled-list a {
    display: block;
    padding: 2px 0;
    transition: all 0.5s ease-in-out;
}

.styled-list a:last-child {
    margin-bottom: 0px;
    border-bottom: none;
}

.styled-list a:hover {
    padding-left: 10px;
    color: #72ae44;
}

.styled-list a i {
    margin-right: 5px;
    color: #72ae44;
}

.styled-list a span {
    float: right;
}

.how-treatment-process-card {
    background: white;
    border-radius: 16px;
    width: 100%;
}

/* Stylish List Design */
.stylish-list {
    list-style: none;
}

.how-treatment-process-list-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.2s ease;
    position: relative;
    align-items: center;
}

.how-treatment-process-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #f1f5f9;
}

.how-treatment-process-list-item-marker {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 14px;
}

.how-treatment-process-list-item-content h3 {
    font-size: 17px;
}

.how-treatment-process-list-item-content p {
    font-size: 15px;
    line-height: 1.5;
}

/* service details card css start  */
.area-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light-green);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.area-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-icon img {
    width: 45px;
    height: 45px;
}

.benefit-item {
    background: var(--light-green);
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Process Steps */
.expect-steps {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.expect-step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

.expect-content-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary);
}

/* service details card css end  */

.healt-sub-card-img{
    height: 25rem;
    width:100%;
}
.healt-sub-card-img img{
    height:100%;
    width: 100%;
    object-fit: cover;
}

.submenu-arrow {
    float: right;
    width: 18px;
    height: 18px;
    display: inline-block;
}

.submenu-arrow::after {
    font-family: "Font Awesome 6 Pro";
    content: "\f107";
    font-size: 14px;
    padding-left: 5px;
}

.facebook-widget {
    width: 100%;
    overflow: hidden;
    height:20rem;
}

.facebook-widget iframe {
    width: 100% !important;
    min-width: 100% !important;
}

[x-cloak] { display: none !important; }

/* ---------- BASE ALERT ---------- */
.custom-alert {
    position: fixed;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    width: fit-content;
    max-width:90%;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    z-index: 99999999;
    background: #fff;
    border-left: 6px solid;
    animation: alertIn .45s ease-out forwards;
}

/* ---------- EXIT ---------- */
.custom-alert.alert-exit {
    animation: alertOut .35s ease-in forwards;
}

/* ---------- ICON ---------- */
.custom-alert i {
    font-size: 18px;
    font-weight: bold;
}

/* ---------- STATES ---------- */
.alert-success-custom {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #065f46;
}
.alert-danger-custom {
    border-color: #dc2626;
    background: #fef2f2;
    color: #7f1d1d;
}
.alert-warning-custom {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #78350f;
}

/* ---------- ANIMATIONS ---------- */
@keyframes alertIn {
    from {
        opacity: 0;
        transform: translate(-50%, -15px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes alertOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -15px);
    }
}

@media (max-width: 1200px) {
    .bottom-CTA-content-wrapper {
        padding: 80px;
    }
    .client-image {
        height: 22rem;
    }

    .testimonial-card {
        padding: 35px 30px;
    }

    .consultation-form-box {
        max-width: 95%;
        padding: 22px 18px;
    }

    .service-hero-title {
        font-size: 2.5rem;
    }

    .form-row-custom {
        gap: 12px;
    }
}
@media (max-width: 992px) {
    .bottom-CTA-image-container {
        border-radius: 0 0 20px 20px;
        height: 400px;
    }
    .client-images {
        flex-direction: column;
        gap: 20px;
    }
    .client-image {
        height: 20rem;
    }
    .weight-loss-badge {
        order: 0;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 15px 20px;
    }
    .simple-content {
        padding: 25px;
    }

    .simple-title {
        font-size: 2rem;
    }
    .adv-list {
        column-count: 1;
    }
    .advantages-image-wrapper {
        height: 20rem;
    }

    .service-hero-section {
        padding-bottom: 185px;
        margin-top: 2rem;
    }

    .service-hero-title {
        font-size: 2.2rem;
    }

    .service-hero-subtitle {
        font-size: 1.2rem;
    }

    .service-hero-discount-badge {
        font-size: 1.1rem;
        padding: 9px 25px;
    }

    .consultation-form-box {
        padding: 20px;
    }

    .service-hero-form-title {
        font-size: 1.3rem;
    }

    .form-row-custom {
        gap: 10px;
    }

    .service-book-form .form-control,
    .service-book-form .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-send-large {
        padding: 11px 18px;
    }
    .service-abt {
        padding-top: 15rem;
    }

    .how-it-works .road-map-wrapper {
        height: auto;
    }

    .how-it-works .road-map-wrapper:nth-of-type(even) .road-map-circle {
        border-top-color: var(--primary);
        border-right-color: var(--primary);
    }

    .how-it-works .road-map-circle {
        position: relative;
        transform: none;
        margin-bottom: 20px;
        border: 25px solid var(--primary);
    }

    .how-it-works .road-map-circle-text {
        transform: none;
    }

    .how-it-works .road-map-card {
        width: 100%;
        position: relative;
        margin-top: 20px;
    }

    .how-it-works .road-map-card::before {
        /* display: none; */
        width: 20%;
        top: -25%;
        z-index: -1;
        transform: translateY(-50%) rotate(90deg);
        left: 40%;
    }

    .how-it-works .road-map-wrapper:nth-of-type(even) .road-map-card::before {
        left: 40%;
    }

    .how-it-works .road-map-wrapper {
        margin-bottom: 60px;
    }
    .widget{
        margin-top:2rem;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .abt-intro-card {
        padding: 25px 20px;
    }

    .abt-intro-card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .abt-intro-card-title {
        font-size: 1.2rem;
    }

    .abtIntroswiper .swiper-button-next,
    .abtIntroswiper .swiper-button-prev {
        display: none;
    }

    .why-choose-us-card-title {
        font-size: 1.2rem;
    }

    .why-choose-us-image-container {
        height: 180px;
    }

    .why-choose-us-swiper-button-next,
    .why-choose-us-swiper-button-prev {
        display: none;
    }
    .bmi-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bottom-CTA-phone-number {
        font-size: 1.5rem;
    }
    .bottom-CTA-content-wrapper {
        padding: 30px;
    }

    .transform-carousel .owl-stage-outer {
        padding: 20px 0;
    }

    .testimonial-card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .client-image {
        height: 18rem;
    }

    .testimonial-text {
        padding: 20px 15px;
        font-size: 1rem;
    }

    .transform-carousel .owl-prev,
    .transform-carousel .owl-next {
        width: 50px;
        height: 50px;
        font-size: 1.4rem !important;
    }
    .simple-content {
        padding: 15px;
    }

    .simple-image-container {
        min-height: 300px;
    }
    .abt-book-title {
        font-size: 30px;
    }
    .abt-book-text {
        font-size: 16px;
    }
    .abt-book-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
    .premium-service-card-image {
        height: 220px;
    }
    .video-frame iframe {
        height: 200px;
    }
    .service-hero-section {
        padding: 65px 0 160px 0;
    }

    .hero-content-center {
        margin-bottom: 50px;
        padding-top: 30px;
    }

    .service-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .service-hero-form-title {
        font-size: 1.2rem;
    }

    .service-hero-form-subtitle {
        font-size: 0.95rem;
    }

    /* Keep absolute position on tablet */
    .bottom-form-container {
        transform: translateY(50%);
    }

    .consultation-form-box {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    }

    /* Adjust form layout for tablet */
    .form-row-custom {
        flex-wrap: wrap;
        gap: 12px;
    }

    .service-book-form .col-xl,
    .service-book-form .col-lg-3 {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .btn-send-large {
        margin-top: 0;
    }

    .services-info-cards {
        min-height: 23rem;
    }

    .services-info-content {
        padding: 20px 30px;
    }

    .services-info-content .services-info-primary-box h2 {
        font-size: 1.5rem;
    }

    .service-image {
        width: 60px;
        height: 60px;
    }

    .services-info-content .services-info-secondary-box h3 {
        font-size: 1.3rem;
    }

    .service-info-btn-container {
        flex-direction: row;
    }

    .services-info-btn {
        width: 100%;
        margin: 5px 0;
    }

    .ab-card {
        height: 400px;
    }

    .ab-stage-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .ab-progress-indicator {
        padding: 8px 16px;
    }

    .area-item {
        flex-direction: column;
        text-align: center;
    }

    .area-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }

       .facebook-widget {
        margin-top: 20px;
    }
}
@media (max-width: 640px) {
    .how-treatment-process-list-item {
        padding: 10px;
    }
}
@media (max-width: 576px) {
    .abt-intro-card {
        padding: 20px 15px;
    }

    .abt-intro-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .abt-intro-card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .why-choose-us-card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .why-choose-us-image-container {
        height: 160px;
    }
    .why-choose-us-card-description {
        font-size: 0.9rem;
    }
    .appointment-modal .modal-header {
        padding: 20px;
    }

    .appointment-modal .modal-body {
        padding: 20px;
    }

    .appointment-modal .modal-footer {
        padding: 15px 20px;
    }

    .appointment-modal .modal-title {
        font-size: 1.5rem;
    }

    .bottom-CTA-content-wrapper {
        padding: 25px 20px;
    }

    .bottom-CTA-phone-section {
        padding: 20px;
    }

    .bottom-CTA-phone-number {
        font-size: 1.3rem;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .client-image {
        height: 15rem;
    }

    .client-name {
        font-size: 1.3rem;
    }

    .testimonial-text {
        padding: 15px 12px;
        font-size: 0.95rem;
    }

    .image-label {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    .simple-title {
        font-size: 1.8rem;
    }

    .simple-text {
        font-size: 1rem;
    }

    .service-hero-section {
        padding: 70px 0 80px 0;
        /* min-height: 80vh; */
    }

    .service-hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .service-hero-discount-badge {
        font-size: 1rem;
        padding: 8px 22px;
        margin-bottom: 0.8rem;
    }

    .consultation-form-box {
        padding: 18px 15px;
        border-radius: 12px;
        max-width: 98%;
    }

    .service-hero-form-title {
        font-size: 1.1rem;
    }

    .service-hero-form-subtitle {
        font-size: 0.9rem;
    }

    /* Keep absolute position on mobile */
    .bottom-form-container {
        transform: translateY(75%);
    }

    .service-book-form .form-label {
        font-size: 0.85rem;
    }

    .btn-send-large {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .service-abt {
        padding-top: 22rem;
    }
    .ab-card {
        height: 350px;
    }
}

@media (max-width: 400px) {
    .service-hero-section {
        padding: 60px 0 80px 0;
    }

    .service-hero-title {
        font-size: 1.6rem;
    }

    .service-hero-subtitle {
        font-size: 0.95rem;
    }

    .consultation-form-box {
        padding: 15px 12px;
    }

    .service-hero-form-title {
        font-size: 1rem;
    }

    .service-hero-form-subtitle {
        font-size: 0.85rem;
    }
}
