@font-face {
    font-family: "Marge";
    src: url("/fonts/marge/Marge.eot");
    /* IE9 Compat Modes */
    src: url("/fonts/marge/Marge.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */
        url("/fonts/marge/Marge.woff") format("woff"),
        /* Modern Browsers */
        url("/fonts/marge/Marge.ttf") format("truetype"),
        /* Safari, Android, iOS */
        url("/fonts/marge/Marge.otf") format("opentype");
    /* Optional */
    font-weight: normal;
    font-style: normal;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

.contain,
.row {
    max-width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    background-repeat: repeat;
}

/* woking in public css */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.carousel,
.carousel-inner,
.carousel-item {
    width: 100%;
    height: 100vh;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: "Marge", serif;
    font-size: 50px;
}

.hero-img {
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroCarousel {
    position: relative;
    /* needed for absolute video */
    height: 100vh;
    /* full viewport height */
    overflow: hidden;
    /* hide anything outside bounds */
}

#heroCarousel video {
    position: absolute;
    /* so it sits behind overlay */
    top: 50%;
    /* center vertically */
    left: 50%;
    /* center horizontally */
    width: 100%;
    /* take full width */
    height: 100%;
    /* take full height */
    object-fit: cover;
    /* scale video to cover container */
    transform: translate(-50%, -50%);
    /* center it */
    z-index: -1;
    /* behind the overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 2rem;
    z-index: 2;
}

#outermost {
    display: flex;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    column-gap: 20px;
}

#img1 {
    width: 80%;
    border-radius: 50%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
}

#img2 {
    width: 90%;
    border-radius: 180px;
    height: auto;
    max-width: 100%;
    aspect-ratio: 263/350;
}

#img3div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#img3 {
    border-radius: 180px 180px 0 0;
    height: auto;
    aspect-ratio: 263/350;
    max-width: 100%;
}

.image-anime {
    position: relative;
    overflow: hidden;
}

.image-anime:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}

.image-anime:hover:after {
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}

#overlapped {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 45%;
    height: auto;
    z-index: 8;
}

#cirwrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1/1;
    margin: auto;
}

.outer-circle,
.inner-circle {
    box-sizing: border-box;
}

.outer-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: visible;
}

.outer-circle svg {
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
}

.inner-circle {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: rgb(101, 129, 103);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid black;
}

#innerText {
    font-size: 15px;
    font-family: Poppins, sans-serif;
}

.stat-number {
    font-size: 30px;
}

button {
    border-radius: 8px;
    padding: 10px 20px;
}

#cards4 {
    background-image: url("/images/Home/bg_hypnotherapy.png");
    background-size: cover;
    padding: 40px;
    padding-bottom: 60px;
}

.smaller {
    margin: 40px 80px;
    padding: 20px 0;
    border-radius: 10px;
    font-size: xx-large;
    background-image: url("/images/file_00000000299c7207b499c2b5e8eb68cb.png");
    background-size: cover;
    color: white;
    text-align: center;
}

.smaller2 {
    margin: 40px 40px;
    padding: 20px 0;
    border-radius: 10px;
    font-size: xx-large;
    background-image: url("/images/file_00000000299c7207b499c2b5e8eb68cb.png");
    background-size: cover;
    color: white;
    text-align: center;
}

#small {
    font-size: xx-large;
    color: #8b5e3c;
}

.pad {
    padding: 0 20px;
    text-align: left;
}

.marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.marquee-content img {
    width: 300px;
    height: 200px;
    max-width: 100%;
    border-radius: 20px;
    padding: 10px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

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

#oc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: xx-large;
    font-weight: bolder;
}

.whatsappbtn{
    position: fixed;
    bottom: 60px;
    left: 15px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.whatsappbtn svg{
    fill: #fff;
    width: 50px;
    height: 50px;
    padding: 3px;
    background-color: #4dc247;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgb(0 0 0 / .4);
    margin-right: 10px;
    vertical-align: middle;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: ;
}

#backToTop:hover {
    background-color: #555;
    transform: scale(1.1);
}

.green {
    color: green;
}

.brown {
    color: #8C5737;
}

.bold {
    font-weight: bold;
    font-size: x-large;
}

.purple {
    color: #6A1B6D;
}

.outer {
    display: inline-block;
    background-color: purple;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: relative;
    color: white;
    font-weight: bold;
    text-align: center;
}

.centerbox {
    text-align: left;
    padding: 0 30%;
}

.animate-line,
.section-title {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

#sec2 {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    text-align: center;
    padding: 10px;
    margin: 10px 0;
}

/* 1. Container */
.services {
    display: flex;
    height: 384px;
    max-width: 100%;
    gap: 15px;
    padding: 0 20px;
    box-sizing: border-box;
    justify-content: center;
}

/* 2. Each Service Card */
.service {
    position: relative;
    display: flex;
    /* This makes the card just as wide as the image initially */
    flex: 0 0 200px;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgb(19, 139, 216), 60%, black);
}

.service2 {
    position: relative;
    display: flex;
    /* This makes the card just as wide as the image initially */
    flex: 0 0 200px;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(to bottom, brown, black);
}

/* 3. Image Wrapper - THE LOCK */
.image-wrapper {
    height: 100%;
    /* Set the EXACT width you want the image to ALWAYS be */
    width: 200px;
    flex-shrink: 0;
    /* Prevents shrinking */
    flex-grow: 0;
    /* Prevents expanding */
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Looks full initially */
    display: block;
}

@media(min-width:1025px) {

    .vertical-title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 25px;
        font-family: sans-serif;
        color: #fff;
        background: transparent;
        text-align: center;
        opacity: 1;
        padding: 10px;
    }

    /* When hovering over the whole services section */
    .services:hover .service:not(:hover) .vertical-title,
    .services:hover .service2:not(:hover) .vertical-title {
        position: absolute;
        /* KEEP IT AT BOTTOM */
        left: 0;
        right: 0;
        bottom: 0;
        width: 100px;
        /* match collapsed width */

        writing-mode: vertical-rl;
        transform: rotate(180deg);

        justify-content: flex-end;
        align-items: center;

        background: transparent;
    }


    .services .service:hover .vertical-title,
    .services .service2:hover .vertical-title {
        opacity: 0;
    }
}

/* 4. Details - Starts at zero width */
.details {
    width: 0;
    flex: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    /* Important: keeps text from leaking out while narrow */
    padding: 0;
    /* Padding is added only on hover to prevent width jumps */
    color: rgb(0, 13, 33);
    background: rgb(242, 242, 242);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

/* --- THE HOVER LOGIC --- */

/* A: Shrink other cards and their images */
.services:hover .service:not(:hover),
.services:hover .service2:not(:hover) {
    flex: 0 0 100px;
    /* Cards become very narrow */
}

/* PREVENT CROPPING: Force the image container to shrink 
   on non-hovered cards and fit the image inside */
.services:hover .service:not(:hover) .image-wrapper,
.services:hover .service2:not(:hover) .image-wrapper {
    width: 100%;
}

/* Hide image on non-hovered cards */
.services:hover .service:not(:hover) .image-wrapper img,
.services:hover .service2:not(:hover) .image-wrapper img {
    opacity: 0;
}

/* B: EXPAND THE HOVERED CARD */
.services .service:hover,
.services .service2:hover {
    flex: 1 0 300px;
    /* Card grows to accommodate text */
}

/* Ensure the hovered image STAY FIXED at 250px */
.services .service:hover .image-wrapper,
.services .service2:hover .image-wrapper {
    width: 200px;
}

/* C: Reveal Details and add padding back */
.services .service:hover .details,
.services .service2:hover .details {
    flex: 1;
    opacity: 1;
    visibility: visible;
    padding: 40px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

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

.pause {
    animation-play-state: paused;
}

.video-marquee {
    overflow: hidden;
    width: 100%;
}

.video-track {
    display: flex;
    width: max-content;
    animation: marquee 10s linear infinite;
    touch-action: pan-y;
    pointer-events: auto !important;
}

.video-item {
    position: relative;
    margin-right: 20px;
}

.video-item iframe {
    /* width: 309px;
    height: 412px; */
    width: 300px;
    height: 450px;
    border-radius: 15px;
}

/* Ensure the track allows clicks once stopped */
.video-track.paused {
    pointer-events: auto;
}

/* Optional: Make the active video larger so controls are easy to hit on mobile */
.video-item.active-video {
    z-index: 9999 !important;
    position: relative;
}

.video-item.active-video iframe {
    pointer-events: auto !important;
    visibility: visible !important;
    touch-action: auto !important;
}

.video-item .click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

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

/* 1. Prevent the track from intercepting clicks after one is selected */
.video-track.track-inactive {
    animation: none !important;
    pointer-events: none !important;
    /* This is the key */
}

/* 3. Hide other overlays globally when one is active to prevent 'ghosting' */
.track-inactive .click-overlay {
    display: none !important;
}

/* Pause animation on hover */
.paused {
    animation-play-state: paused !important;
}

/* Keyframes for scrolling */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

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

#spsec {
    text-align: center;
    background-color: white;
}

.greenshade {
    color: rgb(101, 129, 103);
    margin-top: 20px;
}

.top {
    margin-top: 40px;
}

.content-box {
    width: 60%;
}

.svg-box {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.flower-svg path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawEraseLoop 6s linear infinite;
}

.boxouter {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.box {
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #4156491A;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.whatsapp {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    background-color: rgb(77, 194, 71);
    fill: rgb(255, 255, 255);
    padding: 3px;
    margin-right: 20px;
}

.cf {
    font-weight: bold;
    font-size: x-large;
}

.cv a {
    text-decoration: none;
    cursor: pointer;
    color: black;
    word-break: break-all;
}

.instagram-color {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    /* Needed for browser support */
    background-clip: text;
    display: inline-block;
    font-size: 50px;
    margin-right: 20px;
}

.youtube i {
    display: inline-block;
    color: red;
    width: 50px;
    height: 50px;
    font-size: 50px;
    margin-right: 20px;
}

.facebook {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background-color: blue;
    color: white;
    margin-right: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#whatsapp {
    margin-top: 20px;
    width: fit-content;
    background-color: rgb(101, 129, 103);
    color: white;
}

@keyframes drawEraseLoop {
    0% {
        stroke-dashoffset: 2000;
        /* fully hidden */
    }

    50% {
        stroke-dashoffset: 0;
        /* fully drawn */
    }

    100% {
        stroke-dashoffset: 2000;
        /* hidden again */
    }
}

.flower-container {
    position: relative;
    display: inline-block;
    /* Keeps container same size as SVG */
    overflow: hidden;
    /* Optional: clips image if it exceeds SVG bounds */
}

#cphoto {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translateY(-50%);
    /* Start from horizontal middle */
    height: 50%;
    max-width: 100%;
    z-index: -1;
    /* Move behind the SVG */
    pointer-events: none;
    object-fit: contain;
}

.flower-svg {
    display: block;
    /* Removes bottom whitespace */
    width: 80%;
    height: auto;
    z-index: 4;
}

#cont {
    width: 80%;
}

#conttitle{
    font-size: 70px;
    text-align: left;
}

.leaf{
    transform: scale(-1,-1);
}
#betweenimg{
    width: 100%;
    height: auto;
}

.rotating {
    animation: spin 6s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lysr-pg {
    font-family: 'Marge', serif;
    letter-spacing: 4px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 46px
}

.lysr-stg {
    text-transform: capitalize;
    font-size: 18px
}

.lysr-para {
    width: 80%;
    margin: auto;
}

.project-box {
    max-width: 1132px;
    margin: auto;
    background-image: url("/images/Lysr-bg.png");
    background-size: cover;
    /* fills the area */
    background-position: center;
    /* centers the image */
    background-repeat: no-repeat;
    /* no tiling */
    z-index: 3;
    position: relative;
    padding: 2%;
}

.carousel .card {
    border: none;
    background: #EDEACE4D;
}

.navbar .nav-link {
    font-weight: 500;
    margin: 0 8px;
}

.navbar .btn {
    border-radius: 30px;
    font-size: 0.9rem;
    padding: 6px 16px;
}

.footer {
    font-size: 0.9rem;
}

.footer h6 {
    margin-bottom: 1rem;
}

.lysr-section {
    background-image: url("/images/Lysr-bg.png");
    background-size: cover;
    /* fills the area */
    background-position: center;
    /* centers the image */
    background-repeat: no-repeat;
    /* no tiling */
}

.text-marge {
    font-family: "Marge", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 72px;
    line-height: 72px;
    letter-spacing: 3px;
    vertical-align: middle;
    text-transform: capitalize;
}

.text-marge-session {
    font-family: "Marge", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: 3px;
    vertical-align: middle;
    text-transform: capitalize;
}

.anim .char {
    display: inline-block;
}

.divider {
    margin-bottom: -40px;
    z-index: 2;
}

.xl {
    font-size: x-large;
    padding: 20px;
}

.center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
}

.hide {
    display: none;
}

.testonomial-bg {
    margin-top: 50px;
    width: 100%;
    padding-top: 50px;
    background-image: url("/images/testono.png");
    background-size: cover;
    /* fills the area */
    background-position: center;
    /* centers the image */
    background-repeat: no-repeat;
    /* no tiling */
    color: white;
    padding-bottom: 50px;
}

.testonomial-client {
    margin: auto;
    width: 80%;
    font-family: "Marge", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: 3px;
    vertical-align: middle;
    text-transform: capitalize;
    color: white;
}

.testonomial-p {
    width: 80%;
    margin: auto;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hypnotherapy {
    background-image: url("/images/Home/bg_hypnotherapy.png");
    background-size: cover;
    /* fills the area */
    background-position: center;
    /* centers the image */
    background-repeat: no-repeat;
    /* no tiling */
}

.rounded-custom {
    border-top-left-radius: 100px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.hypnotherapy-text {
    font-family: "Marge", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: 3px;
    vertical-align: middle;
    text-transform: capitalize;
}

.hypnotherapy-p {
    font-family: "Inter", serif;
    color: #8C5737;
}

.bg-gm {
    background-color: #647E65;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* Hover effect */
.bg-gm:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(100, 126, 101, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(100, 126, 101, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(100, 126, 101, 0.7);
    }
}

.mission-lysr {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-top: 50px;
    padding-bottom: 20px;
}

.hypnotherapy-pad {
    padding: 70px;
}

/* Sessions Section */
.sessions-section .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3b2d;
}

.text-brown {
    color: #5c3a2e;
    /* earthy tone for Mahesh */
}

.sessions-section .card {
    transition: transform 0.3s ease;
    /* background: #D3E3D3; */
    padding: 15px;
}

.bg-card-anesha {
    transition: transform 0.3s ease;
    background: #D3E3D3;
    border-color: #9CBD9C;
    border-width: 1;
    padding: 10px;
}

.an-text {
    color: #304636;
    font-family: 'Inter';
}

.mh-text {
    color: #4D2711;
    font-family: 'Inter';
}

.bg-card-mahesh {
    transition: transform 0.3s ease;
    background: #E6C7B2CC;
    border-color: #C5A18A;
    border-width: 1;
    padding: 10px;
}

.sessions-section .card:hover {
    transform: translateY(-5px);
}

.sessions-section img {
    border-radius: 1rem;
    object-fit: cover;
    height: 280px;
    width: 100%;
}

.bg-green {
    background-color: #496b5f;
}

.accordion-button::after {
    filter: invert(1) brightness(2);
    /* makes arrow white */
}

.read-more {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* show 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more.expanded {
    -webkit-line-clamp: unset;
}

/* course and yoga index */
/* Background colors */
.bg-light-custom {
    background-color: #f9f8ed !important;
    /* light beige */
}

.bg-dark-custom {
    background-color: #e9d1c2 !important;
    /* peachy beige */
}

/* Custom heading font */
.custom-course-heading {
    font-family: 'Marge', serif;
    color: #2c3e34;
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.f-w {
    color: white;
}

/* Brown button */
.btn-brown {
    background-color: #8b5e3c;
    color: #fff;
    border-radius: 20px;
}

.btn-green {
    background-color: #647E65;
    color: #fff;
    border-radius: 20px;
}

.btn-brown:hover {
    background-color: #6f4630;
    color: #fff;
}

.btn-outline-success {
    color: #2e7d32;
    /* text color */
    border: 1px solid #647E65;
    /* thicker border */
    border-radius: 50px;
    /* pill shape */
    font-weight: 300;
    /* bold text */
    padding: 0.5rem 1.5rem;
    /* better spacing */
    transition: all 0.3s ease-in-out;
}

/* Hover effect */
.btn-outline-success:hover {
    background-color: #647E65;
    /* filled green */
    color: #fff;
    /* white text */
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Active / focus */
.btn-outline-success:active,
.btn-outline-success:focus {
    background-color: #647E65;
    border-color: #1b5e20;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.btn-success {
    color: #ffffff;
    /* text color */
    border: 1px solid #647E65;
    background-color: #647E65;
    /* thicker border */
    border-radius: 50px;
    /* pill shape */
    font-weight: 300;
    /* bold text */
    padding: 0.5rem 1.5rem;
    /* better spacing */
    transition: all 0.3s ease-in-out;
}

/* Hover effect */
.btn-success:hover {
    background-color: #407140;
    /* filled green */
    color: #fff;
    /* white text */
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Active / focus */
.btn-success:active,
.btn-success:focus {
    background-color: #9CBD9C;
    border-color: #1b5e20;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.btn-outline-dark {
    color: #8C5737;
    /* text color */
    border: 1px solid #8C5737;
    font-weight: 300;
}

.btn-outline-dark:hover {
    color: #d2ccc9;
    /* text color */
    background-color: #8C5737;

}

.btn-dark {
    color: #fff;
    /* text color */
    border: 1px solid #8C5737;
    background-color: #8C5737;
    font-weight: 300;
}

.btn-dark:hover {
    color: #d2ccc9;
    /* text color */
    background-color: #382316;

}

/* Uniform image wrapper */
.trainer-img-wrapper {
    width: 100%;
    max-width: 350px;
    /* keeps image size consistent */
    height: 350px;
    /* fixed height for uniformity */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
}

.trainer-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* keeps aspect ratio while filling box */
}

.about-c {
    padding: 20px;
}

/* Mobile */
@media (max-width: 576px) {
    .text-marge {
        font-family: "Marge", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 2px;
        vertical-align: middle;
        text-transform: capitalize;
    }

    .divider {
        margin-bottom: -35px;
        z-index: 2;
    }

    .project-box {
        max-width: 100%;
        text-align: center;
        padding: 5%;
    }

    .mission-lysr {

        margin-top: 30px;
        margin-bottom: 10px;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .lysr-para {
        width: 100%;
        margin: auto;
    }

    .hypnotherapy-text {
        font-family: "Marge", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 2px;
        vertical-align: middle;
        text-transform: capitalize;
    }

    .hypnotherapy-pad {
        padding: 20px;
    }

    .text-marge-session {
        font-family: "Marge", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 3px;
        vertical-align: middle;
        text-transform: capitalize;
        color: #8C5737;
    }

    .lysr-pg {
        font-family: 'Marge', serif;
        letter-spacing: 3px;
        padding-top: 3px;
        padding-bottom: 3px;
        font-size: 32px
    }

    .lysr-stg {
        text-transform: capitalize;
        font-size: 14px
    }

    .testonomial-client {
        width: 100%;
        font-size: 28px;
        line-height: 28px;

    }

    .testonomial-p {
        width: 80%;
        margin: auto;
        color: white;
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .btn-success {
        font-weight: 300;
        padding: 0.1rem 0.5rem;
    }

    .btn-outline-success {
        font-weight: 300;
        padding: 0.1rem 0.5rem;
    }

    .btn-dark {
        font-weight: 300;
        padding: 0.1rem 0.5rem;
    }

    .btn-outline-dark {
        font-weight: 300;
        padding: 0.1rem 0.5rem;
    }

    .bg-card-mahesh {
        padding: 1px;
    }

    .bg-card-anesha {
        padding: 1px;
    }


    .about-c {
        padding: 5px;
        margin-top: -60px;
        ;
    }
}

@media (max-width: 1024px) {

    /* Disable hover completely on touch devices */
    @media (hover: none) and (pointer: coarse) {

        .services:hover .service,
        .services:hover .service2,
        .services .service:hover,
        .services .service2:hover {
            all: unset;
        }

    }

    #heroCarousel video{
        display: none;
    }

    h1.green{
        font-size: 35px;
    }

    h2.if{
        font-size: 20px;
        margin: 0 10px;
    }

    .services:hover .service:not(:hover) .image-wrapper img,
    .services:hover .service2:not(:hover) .image-wrapper img {
        opacity: 1 !important;
    }

    .services .service.active .vertical-title,
    .services .service2.active .vertical-title {
        opacity: 0 !important;
        pointer-events: none;
    }


    .services {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        gap: 15px;
        /* reduced gap */
        padding: 0 15px;
    }

    .service,
    .service2 {
        display: block;
        width: 100%;
        flex: 0 0 auto;
        background: none;
        cursor: pointer;
    }

    /* IMAGE FULL WIDTH */
    .image-wrapper {
        width: 100% !important;
        height: 100px;
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        transition: height 0.3s ease;
        padding: 0 10px;
    }

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 20px;
        opacity: 1 !important;
        /* prevent disappearing */
    }

    /* TITLE SHOULD APPEAR BY DEFAULT */
    .vertical-title {
        position: absolute;
        inset: 0;
        writing-mode: horizontal-tb;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background-color: transparent;
        font-size: 20px;
        border-radius: 20px;
        opacity: 1 !important;
        transition: opacity 0.3s ease;
        text-align: center;
    }

    /* DETAILS FULLY RESET */
    .details {
        width: 100% !important;
        flex: unset !important;
        display: none;
        padding: 40px;
        color: rgb(0, 13, 33);
        background: transparent;
    }

    /* ACTIVE CARD */
    .service.active .image-wrapper,
    .service2.active .image-wrapper {
        height: 150px;
    }

    .service.active .vertical-title,
    .service2.active .vertical-title {
        opacity: 0 !important;
    }

    .services .details {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .service.active .details,
    .service2.active .details {
        display: block;
    }

    #outermost {
        gap: 15px;
    }

    /* IMPORTANT: adjust animation distance */
    @keyframes scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-50% - 10px));
        }
    }

    #cards4 {
        max-width: 100vw;
        padding: 10px;
        padding-bottom: 27px;
        background-size: contain;
    }

    .smaller {
        margin: 5%;
        font-size: small;
    }

    .center {
        flex-direction: column;
        row-gap: 10px;
        column-gap: 0;
    }

    .inner-circle {
        font-size: 10px;
    }

    #innerText {
        font-size: 8px;
    }

    .stat-number {
        font-size: 12px;
    }

    .content-box {
        width: 100%;
        /* Take full width of the column */
    }

    .fsvgdiv {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Space between flower and text when stacked */
    }

    .flower-svg {
        width: 80%;
        /* Scale down the decorative flower */
        height: auto;
    }

    .svg-box {
        display: none;
        /* Hide the small rotating SVG on tablet to save horizontal space */
    }
}