@media (min-width: 1536px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1336px !important;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1300px;
    }

    /* .about-menu {
        right: 63% !important;
    } */
}

@media (min-width: 768px) and (max-width: 995px) {
    .fs-md-40 {
        font-size: 40px !important;
    }

    .img-inner {
        position: absolute;
        top: -19px;
        left: 18px;
        width: 216px;
    }

    .blog-card-grid {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tab View */
@media (min-width: 481px) and (max-width: 900px) {
    .hero_buttom {
        padding: 1.3rem 2rem !important;
        border-radius: 50px;
    }

    .element {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .img-inner {
        top: -7px;
        /* right: 0; */
        left: 14px;
        width: 170px;
    }

    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bg-anxiety {
        background-image: none;
    }

    .bg-depression {
        background-image: none;
    }

    .bg-adhd {
        background-image: none;
    }

    .bg-ocd {
        background-image: none;
    }

    .bg-bp {
        background-image: none;
    }

    .py-bg {
        background-image: none;
    }

    .blog-img-size {
        height: 20rem;
        object-fit: cover;
    }
}

/* @media (max-width: 767.98px) {
    .pill-wrapper .row > div {
        flex: 0 0 auto;
        width: 33.3333%;
    }

    .pill-btn {
        font-size: 13px;
        padding: 11px 1px;
        min-width: auto !important;
        width: 100%;
    }
} */

@media (max-width: 1000px) {
    .mobile-top-number {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .fs-46 {
        font-size: 36px !important;
    }

    .fs-24 {
        font-size: 16px;
    }

    .symptoms-grid-cbt {
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }

    .what-cbt-section {
        padding: 4rem 1rem;
    }

    .contact-full-bg {
        background-size: cover;
    }

    .bg-blogs {
        aspect-ratio: 8 / 4;
    }

    .symptoms-grid-cbt {
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }

    .our-team {
        grid-template-columns: repeat(2, 1fr);
    }

    .symptoms-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .agan-approach-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .preventive-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-nav-icon {
        width: 34px;
    }

    .our-team-card {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile View */
@media (min-width: 320px) and (max-width: 480px) {
    .btn.show {
        border-color: transparent !important;
    }

    .hero_buttom {
        padding: 0.75rem 0.8rem !important;
        border-radius: 50px;
        text-wrap: nowrap;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 16px !important;
    }

    .contact-card {
        overflow: hidden;
    }

    .fs-sm-12 {
        font-size: 12px;
    }

    .fs-sm-14 {
        font-size: 14px;
    }

    .lh-26 {
        line-height: 22px;
    }

    .accordian-card {
        padding: 10px 10px !important;
    }

    .element {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.7rem;
    }

    .element-assessment {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.7rem;
    }

    .gradient-overlay {
        background: linear-gradient(to top,
                #fff 60%,
                rgba(255, 255, 255, 0) 100%);
    }

    .fs-sm-12 {
        font-size: 12px !important;
    }

    .fs-sm-20 {
        font-size: 20px !important;
    }

    .fs-20 {
        font-size: 16px;
    }

    .fs-22 {
        font-size: 16px;
    }

    .fs-24 {
        font-size: 20px;
    }

    .fs-28 {
        font-size: 18px;
    }

    .fs-32 {
        font-size: 22px !important;
    }

    .fs_40 {
        font-size: 24px !important;
    }

    .fs-42 {
        font-size: 32px !important;
    }

    .fs-46 {
        font-size: 28px !important;
    }

    .fs-48 {
        font-size: 32px !important;
    }

    .fs-18 {
        font-size: 16px;
    }

    .fs-sm-10 {
        font-size: 10px;
    }

    .fs-sm-12 {
        font-size: 12px;
    }

    .fs-sm-14 {
        font-size: 14px;
    }

    .fs-sm-18 {
        font-size: 18px;
    }

    .fs-sm-18px {
        font-size: 18px !important;
    }

    .lh-26 {
        line-height: 24px;
    }

    .badge-pill {
        padding: 10px 24px;
    }

    .pill {
        gap: 10px;
    }

    .mt-custom {
        margin-top: 0px;
    }

    .h-icon {
        height: 50px;
        width: auto;
    }

    .contact-card {
        padding: 1rem;
    }

    .element-m-view {
        display: flex;
        /* flex-wrap: nowrap; */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .element-card {
        min-height: 100px !important;
        flex: 0 0 auto;
        width: 10rem;
    }

    .svg-icon {
        width: 20px;
        height: auto;
    }

    .img-inner {
        bottom: -24px;
        transform: scaleX(-1);
        position: absolute;
        left: 220px;
        top: -60px;
        width: 170px;
    }

    .img-outter {
        position: relative;
        height: 132px;
    }

    .m-card {
        margin-top: 3rem;
    }

    .card-style-img {
        transition: 0.5s ease, transform 0.5s ease;
        transform-origin: bottom center;
        filter: grayscale(0%);
    }

    .hero-btn {
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .word-carousel {
        height: 1.2em;
        margin-bottom: 8px;
    }

    .card-style-img-assessment {
        transition: 0.5s ease, transform 0.5s ease;
        transform-origin: bottom center;
        filter: grayscale(0%);
    }

    .test-btn {
        padding: 8px 30px;
    }

    .extra-height {
        height: 40px;
    }

    .col-left {
        padding-right: 0.75rem;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .col-left {
        padding: 20px;
        height: 490px;
    }

    .col-right {
        padding: 40px 20px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .contact_bg {
        height: 100%;
    }

    .p-20 {
        padding: 0px 20px;
    }

    .arck_bg {
        background-position-y: 100%;
    }

    .tab_mobile_style {
        justify-items: center;
        grid-template-columns: repeat(1, 1fr);
        display: grid !important;
    }

    .nav-pills-style {
        flex-direction: row !important;
        margin-bottom: 1.6rem;
    }

    .consultation-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .custom-nav {
        width: fit-content;
    }

    .custom-nav::before {
        top: 50%;
        left: 50%;
        height: 1.49px;
        width: 100%;
    }

    .choice-card {
        height: 125px !important;
    }

    .quote-icon {
        width: 20px;
    }

    .choice-box {
        border-right: unset;
    }

    .choice-card {
        padding: 8px 0px 0px 0px;
    }

    .take-a-deep {
        width: 350px;
    }

    .expertise-badge {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    .expertise-section {
        gap: 6px;

        overflow-x: scroll;
        text-wrap-mode: nowrap;
        display: block;
    }

    .card-grid {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr);
        /* Adjust for responsiveness */
        gap: 30px;
        align-items: stretch;
        /* Ensure cards have the same height */
    }

    .body-padding {
        padding: 0px 20px;
    }

    .our_team {
        overflow-x: scroll;
        display: ruby-text;
    }

    .anxiety_hero_padding {
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

    .anxiety_hero_img {
        width: 370px !important;
    }

    .depression_hero_img {
        width: 300px !important;
    }

    .symptoms-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-style {
        min-height: 110px !important;
    }

    .footer-style-2 {
        min-height: 60px;
    }

    .symptoms-icon {
        height: 50px;
        width: auto;
    }

    .symptoms-img-inner {
        position: absolute;
        max-width: 230px;
        position: absolute;
        left: -30px;
    }

    .symptoms-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .py-05 {
        padding: 3rem 0;
        background-image: unset;
        background-color: #fdfdfd !important;
    }

    .approaches-padd {
        padding: 0px 0px;
    }

    .footer_padding {
        padding-top: 40px;
    }

    .icon-v {
        right: 19px;
        top: -46px;
    }

    .icon-m {
        top: -66px;
        left: 34%;
    }

    .ic-vm {
        width: 7rem;
    }

    .fs-sm-30 {
        font-size: 30px !important;
    }

    .hero-section {
        min-height: 60svh !important;
    }

    .i-letter {
        margin-bottom: 5px;
        width: 5px;
    }

    .brand-icon-mobile {
        height: 40px;
        width: auto;
    }

    .gradient-overlay {
        height: 41%;
    }

    .what-cbt-section {
        padding: 40px 20px;
    }

    .ptb-04 {
        padding-block: 50px;
    }

    .ptb-03 {
        padding-block: 50px;
    }

    .ptb-02 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .img-position {
        display: none;
    }

    .symptoms-grid-find {
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(1, 1fr);
    }

    .symptoms-grid-4 {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .agan-approach-card {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .preventive-card {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .arc-style {
        position: absolute;
        bottom: 0px;
        left: 0px;
    }

    .i-circle {
        position: absolute;
        margin-top: 14px;
        left: -0.5px;
        width: 55%;
    }

    .cbt-bg {
        background-image: url(../images/therapy_treatment/cognitive-behaviour-therapy_mobile.png);
        background-position: center;
    }

    .dbt-bg {
        background-image: url(../images/therapy_treatment/dialectical_behaviour_therapy_mobile.png);
        background-position: right;
    }

    .dr-bg {
        background-image: url(../images/therapy_treatment/diagnostic_reviews_mobile.png);
    }

    .emdr-bg {
        background-image: url(../images/therapy_treatment/eye_movement_desensitization_reprocessing_mobile.png);
    }

    .family-bg {
        background-image: url(../images/therapy_treatment/family_couples_therapy_mobile.png);
    }

    .pat-bg {
        background-image: url(../images/therapy_treatment/play_art_therapy_mobile.png);
    }

    .mindfulness-bg {
        background-image: url(../images/therapy_treatment/mindfulness_based_therapy_mobile.png);
    }

    .psychiatry-bg {
        background-image: url(../images/therapy_treatment/psychiatry_medication_management_mobile.png);
    }

    .psychoeducation-bg {
        background-image: url(../images/therapy_treatment/psychoeducation_programs_mobile.png);
    }

    .rebt-bg {
        background-image: url(../images/therapy_treatment/rational_emotive_behaviour_therapy_mobile.png);
    }

    .mood-emotions-bg {
        background-image: url(../images/find_help_by_concern/mood_emotions_mobile.png);
    }

    .addictions-habits-bg {
        background-image: url(../images/find_help_by_concern/addictions_habits_mobile.png);
    }

    .anxiety-and-stress-bg {
        background-image: url(../images/find_help_by_concern/anxiety_stress_mobile.png);
    }

    .body-image-eating {
        background-image: url(../images/find_help_by_concern/body_image_eating_mobile.png);
    }

    .gender-identity {
        background-image: url(../images/find_help_by_concern/gender_identity_mobile.png);
    }

    .relationships-family {
        background-image: url(../images/find_help_by_concern/relationships_family_mobile.png);
    }

    .self-harm-suicide {
        background-image: url(../images/find_help_by_concern/self_harm_suicide_mobile.png);
    }

    .severe-mental-illness-bg {
        background-image: url(../images/find_help_by_concern/severe_mental_illness.png);
    }

    .children-and-adolescents-bg {
        background-image: url(../images/find_help_by_concern/children_and_adolescents_mobile.png);
    }

    .sleep-disorder-bg {
        background-image: url(../images/find_help_by_concern/sleep_disorder_mobile.png);
    }

    .trauma-abuse-bg {
        background-image: url(../images/find_help_by_concern/trauma_abuse_mobile.png);
    }

    .work-burnout-bg {
        background-image: url(../images/find_help_by_concern/work_burnout_mobile.png);
    }

    .about-bg {
        background-image: url(../images/about-bg-mobile.png);
    }

    .our-team {
        background-image: url(../images/our-team-mobile.webp);
    }

    .bg-blogs {
        background-image: url(../images/blog_mobile1.png);
    }

    .center-bg {
        background-image: url(../images/center-bg-mobile.png);
    }

    .center-bengalore-bg {
        background-image: url(../images/bangalore-office-mobile.webp);
    }

    .preventive-mental-health {
        background-image: url(../images/find_help_by_concern/preventive_mobile.png);

    }

    .home-nav-tab {
        width: unset;
    }

    .home-nav-tab:nth-last-child(1) {
        padding-right: .25rem;
    }

    .nav-pills .home-nav-link {
        padding: 1rem 3rem !important;

    }

    .mb-s-5 {
        margin-bottom: .5rem;
    }

    .contact-full-bg {
        background: linear-gradient(to bottom,
                #ece7dc 0%,
                #ece7dc 50%,
                transparent 50%,
                transparent 100%),
            url("../images/contact_bg.png") !important;
        background-size: 100% 100%, 100% 50%;
        background-position: top, bottom;
        background-repeat: no-repeat;
    }

    .ptb-01 {
        padding-block: 100px;
    }

    .pill-item-btn {
        flex: 1 1 auto !important;
        margin: 0px !important;
        display: flex !important;
        justify-content: center;
    }

    .badge-pill-span {
        display: inline-block;
        padding: 5px 10px;
        background-color: #fff !important;
        color: #1e2b4b;
        border: 1px solid #ddd;
        border-radius: 10px;
        text-align: center;
        flex-grow: 1;
        white-space: nowrap;
        flex-basis: 0;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-link-span {
        display: grid;
        border-radius: 20px;
        justify-items: center;
        padding: 0.75rem !important;
        background: none;
        border: 0;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
            border-color 0.15s ease-in-out;
    }

    .form-style {
        padding: 10px;
    }

    .nav-flex-wrap {
        flex-wrap: nowrap;
    }

    .right-side-arrow {
        width: 15px;
    }

    .box-number {
        width: 2.5rem;
        height: 2.5rem;
    }

    .about-card-width {
        max-width: 120px;
    }

    .card-body-about {
        padding: 0rem 10px 0.4rem 10px;
    }

    .card-body-header {
        padding: 0.5rem 10px 0.4rem 10px !important;
    }

    .fs-mob-13 {
        font-size: 13px;
    }

    .flex-flow-wrap {
        flex-flow: wrap !important;
    }

    .hero-section {
        background-image: unset;
    }

    .our-team {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card-grid {
        gap: 14px;
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-read-more {
        padding: 0.5rem 1rem !important;
    }

    .carousel-indicators {
        position: absolute;
        right: 0px;
        bottom: -35px;
    }

    .index-card-header {
        padding-inline: 0px;
    }

    .index-card-footer {
        padding-inline: 0px;
    }

    .index-card-body {
        padding: 0px;
    }

    .card-footer-index {
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .justify-items {
        justify-content: start;
    }

    .text-align-center {
        text-align: start;
    }

    .box-mobile-size {
        font-size: 16px;
    }

    .footer-white-color {
        width: 120px;
        margin-left: 0.4rem;
    }

    .brand-icon-footer {
        width: 35px;
    }

    .pill-btn {
        box-shadow: none !important;
    }

    .pill-btn:hover {
        box-shadow: unset !important;
        transform: unset !important;
    }

    .corporate-mental {
        transform: scaleX(-1);
    }

    .grid-card-3 {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-content {
        display: none;
    }

    .grid-card-4 {

        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .corporate-card-grid {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .preventive-card-page {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .priventive {
        box-shadow: 0px 1px 7.1px 0px #a2a2a240;
        border-radius: 20px;
        padding: 20px 20px;
        border: none;
    }

    .our-benefits {
        font-size: 18px !important;
    }

    .custom-tab-nav {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
    }

    .custom-tab-content {
        margin-left: 0px;

    }

    .custom-tab-link p.description {
        display: none !important;
    }

    .custom-tab-link {

        padding: .5rem;

    }

    .health-text {
        display: none;
    }

    .blog-img-size {
        height: 16rem;
        object-fit: cover;
    }
}

@media (min-width: 374px) and (max-width: 394px) {
    .fs-sm-30 {
        font-size: 28px !important;
    }
}

@media (max-width: 375px) {
    .img-inner {
        top: -62px;
        left: 173px;
        width: 172px;
    }

    .fs-sm-30 {
        font-size: 26px !important;
    }

    .word-carousel {
        margin-bottom: 3px;
    }

    .gradient-overlay {
        height: 50%;
    }

    .d-inline-block {
        display: inline-block;
    }
}

@media (max-width: 423px) {
    .number-styling {
        display: grid !important;
        justify-content: space-between;
    }

    .mobile-top-number {
        justify-content: space-between;
    }
}

@media (max-width: 320px) {
    .img-inner {
        top: -35px;
        left: 146px;
        width: 150px;
    }

    .gradient-overlay {
        height: 57%;
    }
}