@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Fallback metrics to reduce shifts */
@font-face {
  font-family: 'Font Awesome 6 Free Fallback';
  src: local('Arial'); /* Common system font */
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 90%; /* Tweak this if needed (80-100%) */
}

/* Font Awesome – solid */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/webfonts/fa-solid-900.woff2") format("woff2");
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Free Fallback"; /* Add fallback chain */
}

/* Font Awesome – regular */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/webfonts/fa-regular-400.woff2") format("woff2");
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Free Fallback"; /* Add fallback chain */
}

/* Slick carousel icons */
@font-face {
  font-family: "slick";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
    src: url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/fonts/slick.woff")
       format("woff");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: rgba(var(--white), 1);
}


:root {
    /* imp: Colors with rgb values only */
    --primary-color: 1, 0, 102;
    --secondary-color: 170, 214, 236;
    --tertiary-color: 203, 235, 199;
    --text-black: 0, 0, 0;
    --text-grey: 55, 55, 55;
    --text-light-grey: 106, 122, 125;
    --text-white: 255, 255, 255;
    --black: 0, 0, 0;
    --grey: 111, 111, 111;
    --grey-dark: 55, 55, 55;
    --grey-light: 226, 226, 226;
    --white: 255, 255, 255;
    --bg-light-grey: 245, 245, 245;
    --bg-grey-bluish: 244, 245, 249;

    /* Fonts */
    --font-family-base: 'Inter', sans-serif;

    /* Sizes */
    --content-small: 12px;
    --content-medium: 16px;
    --content-large: 20px;
    --main-title: 30px;
}

.main-logo {
    height: 60px;
    width: auto;
    object-fit: cover;
}

@media (max-width: 576px) {
    .main-logo {
        height: 50px;
        width: auto;
        object-fit: cover;

    }

    .navbar-collapse {
        margin-top: 24px;
    }



    .footer-logo {
        height: 40px;
    }
}
@media (max-width: 1200px) {
    .dropdown-menu {
        padding-left: 16px;
        border: none;
        border-top: 1px solid rgba(var(--grey-light), 1);
        border-radius: 0;
    }
}
@media (max-width: 1200px) {
    .mail-icon-text {
        transform: translateX(0px) !important;
    }


}

.main-logo.st-jude-logo {
    padding-right: 16px;
    border-right: 1px solid rgba(var(--grey-light), 1);
}

.footer-logo.st-jude-logo {
    padding-right: 16px;
    border-right: 1px solid rgba(var(--grey-light), 1);
}

.main-title {
    font-size: var(--main-title);
    font-weight: 600;
    color: rgba(var(--text-black), 1);
}

.main-title span {
    color: rgba(var(--primary-color), 1);
}

.sub-title span {
    color: rgba(var(--primary-color), 1);
}

.button-primary {
    padding: 8px 36px;
    background-color: rgba(var(--primary-color), 1);
    border: 1px solid rgba(var(--primary-color), 1);
    color: rgba(var(--white), 1);
    border-radius: 24px;
    display: flex;
    gap: 12px;

}

a {
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .button-primary {
    padding: 8px 36px;
    background-color: rgba(var(--white), 1);
    border: 1px solid rgba(var(--primary-color), 1);
    border-radius: 24px;
    display: flex;
    gap: 12px;
    color: rgba(var(--primary-color), 1);
}

.navbar {
    border-top: 15px solid rgba(var(--primary-color), 1);
    box-shadow: 2px 2px 10px rgba(var(--grey), 1);
    background-color: rgba(var(--white), 1);
}

.navbar-nav .nav-item {
    margin: 0 8px;
}

.nav-btn-div a.btn,
.nav-btn-div button.btn {
    color: rgba(var(--primary-color), 1);
}

.nav-link.active {
    color: rgba(var(--primary-color), 1) !important;
    font-weight: 400;
    position: relative;
}

.nav-btn-div {
    overflow: hidden;
}

.mail-icon-text {
    transform: translateX(100%) translateX(-37px);
    transition: all 0.5s ease;
}

.mail-icon-text i {
    font-size: 22px;
}

.nav-btn-div:hover .mail-icon-text {
    transform: translateX(0%);
}



/* .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background:rgba(var(--secondary-color), 1);
  border-radius: 2px;
} */

.job-footer .button-primary {
    background-color: rgba(var(--white), 1);
    padding: 4px 16px;
    color: rgba(var(--primary-color), 1);
    font-size: 14px;
    text-decoration: none;

}

.job-footer .button-primary .fa-solid {
    line-height: normal !important;
    vertical-align: middle;
}

.job-footer .button-primary svg path {
    stroke: rgba(var(--primary-color), 1);
}

/* Overlay */
.side-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* Sidebar Panel */
.side-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: max-content;
    height: 100%;
    background-color: rgba(var(--white), 1);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 32px;
    padding-top: 130px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.side-menu h2,
.side-menu p {
    margin-bottom: 24px;
}

.side-menu i {
    color: rgba(var(--primary-color), 1);
    margin-right: 6px;
}

.side-menu span {
    color: rgba(var(--primary-color), 1);
}

.side-menu img {
    border-radius: 12px;
}

/* Active (visible) state */
.side-menu-container.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-container.active .side-menu {
    transform: translateX(0);
}

/* Banner */
.home-banner {
    width: 100%;
    height: calc(90vh - 100px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.home-banner-inner .button-primary {
    border: 1px solid rgba(var(--white), 1);
}

.bnr-overlay {
    background-color: rgba(var(--primary-color), 0.6);
    padding: 24px;
    border-radius: 12px;
}

@media (max-width: 568px) {
    .home-banner {
        background-position: right -80px center;
    }
}

.home-banner-inner {
    position: relative;
    z-index: 2;
    padding: 90px 0;
    min-height: 420px;
}

.home-banner-inner h1 {
    font-size: 40px;
    font-weight: 600;
    color: rgba(var(--text-white), 1);
    /* CLS FIX */
    line-height: 1.15;
    min-height: 2.3em; /* reserves space for 2 lines */
}

@media (min-width: 768px) and (max-width: 992px) {
    .home-banner-inner h1 {
        font-size: 40px;
         min-height: 3.4em;
    }
}

@media (max-width: 767.98px) {
    .home-banner-inner h1 {
        font-size: 36px;
    }
}

.home-banner-inner p {
    font-size: var(--content-medium);
    font-weight: 600;
    color: rgba(224, 224, 224, 1);
}

.about-img-container {
    width: 100%;
    position: relative;
}

.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.about-img-container .abt-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--white), 1);
    width: 230px;
    height: 120px;
    border-radius: 15px 0 15px 0;
    outline: 8px solid rgba(var(--white), 1);
}

.abt-overlay .abt-ovrly-content {
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--secondary-color), .5);
    text-align: center;
}

.abt-card {
    padding: 16px 0;
    border-bottom: 1px solid rgba(var(--grey-light), 1);
    display: flex;
    gap: 16px;
    align-items: center;
}

.abt-card img {
    height: 36px;
}

.abt-card:last-child {
    border-bottom: none;
}

.abt-card p {
    margin-bottom: 0;
}

.abt-content {
    width: 100%;
}

.abt-icon svg path {
    fill: rgba(var(--primary-color), .75);
}

.brr {
    border: 1px solid red;
}

.section-halfgrey {
    position: relative;
}

.bg-half-grey::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    width: 70%;
    background-color: rgba(var(--secondary-color), .1);
    z-index: -1;
    border-radius: 0 15px 15px 0;
}

@media (max-width: 768px) {
    .bg-half-grey::before {
        width: 100%;
        border-radius: 0;
    }

    .row-reverse.bg-half-grey::before {
        width: 100% !important;
        border-radius: 0 !important;
    }
}

.section-halfgrey img {
    border-radius: 15px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.facility-card {
    display: flex;
    align-items: start;

}

.facility-card img {
    border-radius: 10px;
    margin-right: 16px;
    width: 100px;
    aspect-ratio: 1/1;
}

.facility-card h5 {
    font-size: 20px;
    font-weight: 600;
}

.facility-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(var(--grey-dark), 1);
    margin-bottom: 0;
}



.rating-card {
    padding: 48px;
    background-color: rgba(var(--secondary-color), .25);
    border-radius: 15px;
    width: max-content;
    min-width: 400px;
    max-width: 100%;
}
.our-home-rating-sec .rating-card  {
        min-width: 300px;
        width: 100%;
}
@media (max-width: 768px) {
    .rating-card {
        min-width: 300px;
        padding: 32px;
    }
}

.rating-card>.see-report:hover {
    color: rgb(141 56 118);
}

.rating-card h5 {
    width: 100%;
    font-size: 22px;
    margin-bottom: 0;
}

.rating-grade {
    font-size: 22px;
    color: rgba(var(--white), 1);
    padding: 8px 16px;
    background: #00ed03;
    text-transform: uppercase;
    border-radius: 0;
    width: max-content;
    margin: 1rem 0;
}

.rating-grade.golden {
    background: #f4e807;
}

.see-report {
    text-decoration: none;
    color: rgba(var(--primary-color), 1);
    font-size: 16px;
    font-weight: 600;
}

.see-report:hover {
    color: rgba(141, 53, 125, 1);
}

.see-report svg path {
    stroke: rgba(var(--primary-color), 1);
}

.see-report:hover svg path {
    stroke: rgba(141, 53, 125, 1);
}

.footer {
    background-color: #f5f5f5;
}

.footer .container {
    border-bottom: 1px solid rgba(var(--grey-light), 1);
}

.footer-contact a,
.footer-contact p {
    color: #000;
    text-decoration: none;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 15px;
}

.footer-contact li {
    padding: 0;
}

.footer-contact i {
    margin-top: 4px;
}

.footer-logo {
    height: 60px;
}

.brand-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    padding: 4px 0;
    font-size: 15px;
}

.footer-email {
    width: max-content;
    padding: 4px;
    border-radius: 50px;
    background-color: rgba(var(--secondary-color), .5);
    display: flex;
    align-items: center;
    gap: 4px;
}


.footer-email input {
    border-radius: 30px;
    padding: 8px 16px;
    border: none;
    background-color: transparent;
    color: rgba(var(--primary-color), 1);
    outline: none;
    font-size: 14px;
}


.footer-email input::placeholder {
    color: rgba(var(--primary-color), .75);
    transition: color 0.3s ease;
}


.footer-email input:focus::placeholder {
    color: rgba(var(--primary-color), 1);
}


.footer-email input:focus-visible {
    outline: none;
    background-color: transparent;
}

.footer-email button {
    border-radius: 30px;
    background-color: rgba(var(--primary-color), 1);
    color: rgba(var(--text-white), 1);
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-email button:hover,
.footer-email button:focus-visible {
    background-color: rgba(var(--primary-color), 0.85);
    transform: scale(1.03);
    outline: none;
}

.copyright {
    width: 100%;
    border-top: 1px solid #dadada;
    padding-top: 16px;
    text-align: center;
}

.copyright a {
    color: rgba(var(--primary-color), 1) !important;
    font-weight: 600;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-top: 1rem;
    justify-content: center;

}

.social-div {
    background-color: rgba(var(--grey-light), 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border-radius: 50%;
    font-weight: 600;
    transition: .3s all;
}

.social-div.social-div-long {
    border-radius: 50px
}

.social-div path {
    fill: rgba(var(--primary-color), 1);
    transition: fill 0.3s ease;
}

.social-div:hover {
    background-color: rgba(var(--secondary-color), 1);
}

.map-div {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

/* Style the iframe itself */
.map-div iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(10%) contrast(110%) brightness(95%);
    transition: filter 0.3s ease;
    border-radius: 10px;
}

/* Optional hover effect */
.map-div iframe:hover {
    filter: grayscale(0%) contrast(100%) brightness(100%);
}

.serv-container {
    transform: translateY(-100px);
    background-color: rgba(var(--white), 1);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 1px 1px 10px rgba(var(--grey), .25);
}

.serv-container .col-lg-3 {
    border-right: 1px solid rgba(var(--primary-color), .2);
}

.serv-container .col-lg-3:last-child {
    border-right: none;
}

.bnr-serv-icon-div {
    background-color: rgba(var(--secondary-color), .25);
    padding: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: auto;
    margin-left: auto;
    transition: .3s all;
}

.bnr-serv-icon-div svg path {
    stroke: rgba(var(--primary-color), 1);
    fill: none;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.bnr-serv-div {
    margin: 8px;
    padding: 8px;
    height: calc(100% - 16px);
    text-align: center;

}

.bnr-serv-div a {
    text-decoration: none;
}

.bnr-serv-div span {
    color: rgba(var(--black), 1);
}

.bnr-serv-div h5 {
    font-weight: 600;
    margin-top: 12px;
    color: rgba(var(--black), 1);
}

.bnr-serv-div h6 {
    font-weight: 600;
    margin-top: 12px;
    color: rgba(var(--primary-color), .75);
}

.bnr-serv-div p {
    margin-bottom: 0;
    color: rgba(var(--text-black), .5);
}

.bnr-serv-div:hover .bnr-serv-icon-div {
    background-color: rgba(var(--secondary-color), .5);
    outline: 6px solid rgba(var(--secondary-color), .25);
}

.bnr-serv-div:hover h6 {
    color: rgba(var(--primary-color), 1);
}


@media only screen and (max-width: 992px) {
    .serv-container .col-lg-3 {
        border-right: none;
        border-bottom: 1px solid rgba(var(--primary-color), .2);
    }

    .serv-container .col-lg-3:last-child {
        border-bottom: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .serv-container .col-lg-3 {
        border-right: none;
        border-bottom: 1px solid rgba(var(--primary-color), .2);
    }

    .serv-container .col-lg-3:nth-last-child(-n+2) {
        border-bottom: none;
    }
}


.inner-bnr {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(var(--secondary-color), .5);
}

.inner-bnr span {
    color: rgba(var(--primary-color), 1);
}

.inner-bnr h5 {
    font-size: 36px;

}



.job-card {
    background-color: rgba(var(--white), 1);
    border: 1px solid rgba(var(--grey-light), 1);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    height: calc(100% - 24px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-title {
    font-size: 1.2rem;
    color: rgba(var(--primary-color), 1);
    margin: 0;
    font-weight: 600;
}

.job-type {
    background-color: rgba(var(--secondary-color), .5);
    color: rgba(var(--primary-color), 1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-location {
    font-size: 0.95rem;
    color: #555;
    margin: 8px 0;
}

.job-location i {
    color: rgba(var(--primary-color), 1);
    margin-right: 6px;
}

.job-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.posted-date {
    font-size: 0.85rem;
    color: #999;
}

.apply-btn {
    background-color: rgba(var(--primary-color), 1);
    color: rgba(var(--white), 1);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background-color: rgba(var(--primary-color), .75);
    color: rgba(var(--white), 1);
}

.application-info {
    padding: 24px;
    /* border: 1px solid rgba(var(--grey), 1); */
    border-radius: 12px;
    background-color: rgba(var(--secondary-color), .5);
}

.application-info h4 {
    color: rgba(var(--primary-color), 1);
    font-weight: 600;
    margin-bottom: 16px;
}

.application-info p {
    color: rgba(var(--black), 1);
    font-weight: 400;
    margin-bottom: 16px;
}

.application-info a {
    color: rgba(var(--primary-color), 1);
    font-weight: 600;
}

.application-info .appli-alert {
    background-color: rgba(var(--secondary-color), 1);
    color: rgba(var(--primary-color), 1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 0;
}

.application-info .appli-alert span {
    font-weight: 600;
}

.news-card {
    /* background: rgb(var(--white)); */
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(var(--black), 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    margin-bottom: 24px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--black), 0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    color: rgb(var(--primary-color));
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.95rem;
    color: rgb(var(--text-grey));
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: rgb(var(--primary-color));
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: rgba(var(--primary-color), 0.7);
}





.section-title {
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 2.2rem;
}

.section-subtitle {
    color: rgb(var(--text-light-grey));
    font-size: 1rem;
    margin-bottom: 50px;
}

.contact-sec .col-lg-5 .contact-form-div {
    background: rgb(var(--secondary-color), .25);
    border: none;
}

.contact-form-div {
    background: rgb(var(--white));
    border-radius: 12px;
    border: 1px solid rgba(var(--grey-light), 1);
    /* box-shadow: 0 4px 15px rgba(var(--text-black), 0.1); */
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item h6 {
    font-weight: 600;
}

.info-item i {
    font-size: 1.5rem;
    color: rgb(var(--primary-color));
    width: 40px;
    height: 40px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(var(--secondary-color), 0.3);
    border-radius: 50%;
}

.form-control:focus {
    border-color: rgba(var(--primary-color), 0.6);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color), 0.15);
}

.btn-primary {
    background-color: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}

.btn-primary:hover {
    background-color: rgba(var(--primary-color), 0.85);
    border-color: rgba(var(--primary-color), 0.85);
}


/* Gallery css start ===================================================================================== */
/* ---------- Filter Buttons ---------- */
.filter-buttons {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-buttons .btn-filter {
    background: transparent;
    border: 1px solid rgba(var(--primary-color), 1);
    color: rgba(var(--primary-color), 1);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-buttons .btn-filter:hover {
    background: rgba(var(--primary-color), 1);
    color: #fff;
}

.filter-buttons .btn-filter.active {
    background: rgba(var(--primary-color), 1);
    color: #fff;
}

/* ---------- Filter Button Styles ---------- */
.filter-buttons .btn-outline-primary {
    border: 1px solid rgba(var(--primary-color), 1);
    color: rgba(var(--primary-color), 1);
    background-color: transparent;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.3rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Hover */
.filter-buttons .btn-outline-primary:hover {
    background-color: rgba(var(--primary-color), 1);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-color), 0.3);
    transform: translateY(-2px);
}

/* Active (when clicked or selected) */
.filter-buttons .btn-outline-primary.active,
.filter-buttons .btn-outline-primary:active {
    background-color: rgba(var(--primary-color), 1);
    color: #fff;
    border-color: rgba(var(--primary-color), 1);
    box-shadow: inset 0 0 0 2px rgba(var(--primary-color), 0.2);
    transform: translateY(0);
}

/* Focus (keyboard or mouse focus) */
.filter-buttons .btn-outline-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.25);
}

/* Disabled (optional) */
.filter-buttons .btn-outline-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------- Gallery thumbnails ---------- */

.gallery-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .2s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ---------- Lightbox overlay ---------- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 85vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.25s ease;
}
@media (max-width:992px) {
    .lightbox img {
    max-width: 98%;
    max-height: 90vh;
}
}
.lightbox .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 1000;
}

/* .lightbox .close-btn:hover {
    color: #ff5a5a;
} */


/* test slider css start =========================================================================== */


.quote-icon svg path {
    fill: rgba(var(--secondary-color), 1);
}

.testi-sec {
    background-color: rgba(var(--secondary-color), .60);
}

.testi-sec .testi-sec-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.testi-slider-container p {
    font-size: 18px;
    font-weight: 500;
}

.testi-slider-container span {
    font-size: 18px;
    font-weight: 700;
}

.testi-slide {
    text-align: start;
    outline: none;
    /* remove focus ring */
}

/* .quote-icon {
    margin-bottom: 1.5rem;
} */

.quote-icon svg {
    width: 80px;
    height: 80px;
    fill: #555;
}


/* Slick arrows custom style */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    z-index: 10;
    display: none !important;
}

.slick-prev:before,
.slick-next:before {
    font-size: 20px;
    color: #fff;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-dots {
    width: max-content;
}

.slick-dots li.slick-active {
    width: max-content !important;
}

.slick-dots li button:before {
    font-size: 12px;
    color: rgba(var(--primary-color), .75);
}

.slick-dots li.slick-active button {
    color: transparent;
    width: 50px;
    height: 10px !important;
    background-color: rgba(var(--primary-color), .75);
    border-radius: 8px;

}

.slick-dots li.slick-active button:before {
    color: transparent;
    line-height: 20px;
}




/* Our Care Page Css Start ====================================================================== */
#dementiaCare,
#respiteCare,
#residentialCare,
#endoflifeCare {
    scroll-margin-top: 100px;
}

.our-care-sec-1 img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.section-halfgrey.row-reverse .row {
    display: flex;
    flex-direction: row-reverse;
}

.row-reverse.bg-half-grey::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 70%;
    background-color: rgba(var(--secondary-color), .1);
    z-index: -1;
    border-radius: 15px 0 0 15px;
}

.custom-ordered-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
    margin-left: 0;

}

.custom-ordered-list li {
    counter-increment: item;
    margin: 0 0 20px 0;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-ordered-list li::before {
    content: counter(item);
    display: inline-block;
    padding: 8px 4px;
    border-radius: 50%;
    background: rgba(var(--secondary-color), .5);
    color: rgba(var(--primary-color), 1);
    font-weight: 600;
    min-width: 1.6em;
    text-align: center;
    line-height: 1;
    box-sizing: content-box;
    font-size: 12px;
}

@media (max-width: 420px) {
    .custom-ordered-list li {
        gap: 8px;
    }

    .custom-ordered-list li::before {
        padding: 6px;
    }
}

/* .custom-ordered-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem; 
  width: 100%; 
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .custom-ordered-list {
    grid-template-columns: 1fr; 
  }
} */

.custom-ordered-list.custom-2column-list {
    width: 100%;
    column-count: 2;
    column-gap: 2rem;
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .custom-ordered-list.custom-2column-list {
        column-count: 1;
    }
}

.custom-card {
    padding: 32px;
    border-radius: 12px;
}


.custom-unordered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 12px 30px;
}

.custom-unordered-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.custom-unordered-list li::before {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 0;
    color: rgba(var(--primary-color), 1);
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .custom-unordered-list {
        grid-template-columns: 1fr;
    }
}

.img-common-style {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.custom-ordered-list.custom-3column-list {
    width: 100%;
    column-count: 3;
    column-gap: 2rem;
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.bg-grey-light {
    background-color: rgba(var(--grey-light), .25);
}

.bg-prmry-clr-25 {
    background-color: rgba(var(--primary-color), .25);
}

.bg-prmry-clr-50 {
    background-color: rgba(var(--primary-color), .5);
}

.bg-prmry-clr-75 {
    background-color: rgba(var(--primary-color), .75);
}

.bg-prmry-clr-100 {
    background-color: rgba(var(--primary-color), 1);
}


.bg-sec-clr-25 {
    background-color: rgba(var(--secondary-color), .25);
}

.bg-sec-clr-50 {
    background-color: rgba(var(--secondary-color), .5);
}

.bg-sec-clr-75 {
    background-color: rgba(var(--secondary-color), .75);
}

.bg-sec-clr-100 {
    background-color: rgba(var(--secondary-color), 1);
}


.brdr-prmy-clr-25 {
    border: 1px solid rgba(var(--primary-color), .25);
}

.brdr-prmy-clr-50 {
    border: 1px solid rgba(var(--primary-color), .5);
}

.brdr-prmy-clr-75 {
    border: 1px solid rgba(var(--primary-color), .75);
}

.brdr-prmy-clr-100 {
    border: 1px solid rgba(var(--primary-color), 1);
}

.b-radius-12 {
    border-radius: 12px;
}


.menu-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}


.custom-card i {
    color: rgba(var(--primary-color), .75);
    font-size: 24px;
    margin-bottom: 16px;
}

.footer a {
    color: rgba(var(--black), .75);
    text-decoration: none;
}

.footer a:hover {
    color: rgba(var(--primary-color), 1);
}

/* Cookies css =============================================== */
.cookie-banner {
    font-size: 14px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.cookie-banner button {
    font-size: 13px;
    padding: 4px 12px;
}

.facilities-content {
    width: 40%;
}

@media (max-width: 992px) {
    .facilities-content {
        width: 100%;
    }
}

.border-only-card {
    border: 2px solid rgba(var(--primary-color), .25);
    padding: 16px;
    border-radius: 12px;
    height: 100%;
}

.rating-sec.our-home-rating-sec .rating-card {
    padding: 24px;
    background-color: rgba(var(--grey-light), .5);
}

.rating-sec.our-home-rating-sec .rating-card img {
    height: 36px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .rating-card {
        min-width: 300px;
        padding: 32px;
    }
}

.rating-card>.see-report:hover {
    color: rgb(141 56 118);
}

.rating-card h5 {
    font-size: 22px;
    margin-bottom: 0;
}

.brr {
    border: 1px solid red;
}


.custom-modal .modal-dialog {
    /* height: 100vh;
    display: flex;
    align-items: center; */
    margin: 0 auto;
    margin-top: 12vh;
    /* 15% from viewport top */
    max-height: 85vh;
    /* remaining viewport space */
    display: flex;
    flex-direction: column;
}

/* .custom-modal .modal-content {
    width: 600px;
    margin: auto;

} */

.custom-modal .modal-body {
    overflow-y: auto;
    flex: 1;
}

.custom-modal .modal-content {
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .custom-modal .modal-content {
        width: 450px;
    }
}

@media (max-width: 568px) {
    .custom-modal .modal-content {
        width: 100%;
    }
}

.no-img-div {
    border: 1px dashed rgba(var(--black), .25) !important;
    border-radius: 12px;
    padding: 56px 24px;
    width: 100%;
    background-color: rgba(var(--grey-light), .25);
}


/* Privacy policy css start */

.privacy-policy-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}


@media (max-width: 768px) {
    .privacy-policy-page .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* .policy-content a {
    color: rgba(var(--secondary-color), 1) !important;
} */


#formMessages {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}




#submitBtn {
    position: relative;
    min-width: 140px;
    transition: all 0.3s ease;
}

.btn-loader {
    display: inline-block;
}

.btn-loader::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff50;
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Optional: Disable button while loading */
#submitBtn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}


/* .button-primary {
    background: #004080; color: white; border: none; padding: 12px 32px;
    border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s;
  }
  .button-primary:hover { background: #003060; }
  .button-primary.disabled { opacity: 0.7; cursor: not-allowed; } */


/* .cmpbox {
    border-radius: 0;
    border-top: none !important;
}
.cmpbox:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100vw;
    height: 100vh;
    background-color: #00000045;
z-index: -100 !important;
} */



/* *.cmpbox {
    border-radius: 0;
    border-top: none !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: #00000060 !important;
}

.cmpbox .cmpboxinner {
    width: 600px;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
}





@media (max-height: 926px) and (max-width: 576px) and (orientation: portrait) {
    .cmpbox {
        max-height: 100%;
        min-height: 300px;
        height: 100%;
        overflow: auto !important;
        -webkit-overflow-scrolling: auto !important;
        padding: 24px !important;
    }

    *.cmpbox {
        border-radius: 0;
        border-top: none !important;
        width: 100% !important;
        height: 100% !important;
        background-color: #ffffff !important;
    }

    .cmpbox .cmpboxinner {
        width: 600px;
        background-color: #ffffff;
        padding: 0px;
        border-radius: 12px;
    }

}


@media (max-height: 926px) and (max-width: 480px) and (orientation: portrait) {
    .cmpbox .cmpboxinner {
        width: 360px;
        background-color: #ffffff;
        padding: 0px;
        border-radius: 12px;
    }
} */




.consent-manager-container {
        width: 100%;
    height: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    background-color: #00000080;
    display: none;
}

*.cmpbox {
    border-radius: 12px;
    border-top: none !important;
}
.cmpboxbtn {
    background-color: rgb(var(--primary-color)) !important;
    border-color: rgb(var(--primary-color)) !important;
    padding: 8px 24px !important;
    border-radius: 30px !important;
    box-shadow: none !important;
}





/* .contact-mail-phone {
    display: flex;
    align-items: center;
    justify-content: end;
        gap: 20px;
    width: 350px;
}

.contact-mail-phone a {
    text-decoration: none;
    color: inherit;
}
.nav-phone,
.nav-mail {
    position: relative;
    overflow: hidden;
    width: 24px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-phone i {
    font-size: 16px;
    position: relative;
    z-index: 2;
}
.nav-mail i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.phone-text,
.mail-text {
    position: absolute;
    right: -200px; 
    top: 0;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.5s ease;
}

#navPhone:hover {
    width: 180px;
}
.phone-text,
.mail-text {
    line-height: 1;
}
#navPhone:hover .phone-text {
    right: 30px;
    opacity: 1;
}

#navMail:hover {
    width: 320px;
}

#navMail:hover .mail-text {
    right: 30px;
    opacity: 1;
} */


.contact-mail-phone {
    display: flex;
    align-items: center;
    gap: 16px;
}


.nav-phone i {
    font-size: 16px;
    position: relative;
    z-index: 2;
}
.nav-mail i {
    font-size: 18px;
    position: relative;
    z-index: 2;
}
.tooltip-parent {
    position: relative;
    cursor: pointer;
}

.tooltip-box {
    position: absolute;
    top: 24px;
    right: 0;
    background: #ffffff;
    width: max-content;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #bababa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
    display: none;
    z-index: 50;
}

.tooltip-box a {
    color: rgba(var(--primary-color), 1) !important;
    text-decoration: none;
    font-weight: 500;
}

.tooltip-box a:hover {
    text-decoration: underline;
}
.hidden-text {
    display: none !important;
}

.tooltip-parent {
    position: relative;
    cursor: pointer;
}


.tooltip-box a {
    text-decoration: none;
    color: #000;
}

@media (max-width: 1200px) {
    .contact-mail-phone {
        padding: 12px 10px;
        flex-direction: column;
        align-items: start;
    }

    /* Show text on mobile/tablet */
    .hidden-text {
        display: block !important;
    }

    /* Force-hide tooltip on small screens */
    .tooltip-box {
        display: none !important;
    }
    
}


.tooltip-parent {
    display: flex;
    align-items: center;
    gap: 8px;
}