:root {
    --primary-blue: #015BBB;
    --text-dark: #323232;
    --bg-blue: #EFF7FF;
    --footer-bg: #015BBB;
    --bg-white: #ffffff;
    --breadcrumbs-bg: #EFF6FF;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header (exact pixels) */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Custom Text Colors */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-text-dark {
    color: var(--text-dark) !important;
}

.bg-bg-blue {
    background-color: var(--bg-blue) !important;
}

.bg-footer-bg {
    background-color: var(--footer-bg) !important;
}

/* Custom Font Sizes */
.fs-xs {
    font-size: 14px;
    line-height: 20px;
}

.fs-sm {
    font-size: 18px;
    line-height: 24px;
}

.fs-base {
    font-size: 18px;
    line-height: 28px;
}

.fs-lg {
    font-size: 24px;
    line-height: 30px;
}

.fs-xl {
    font-size: 24px;
    line-height: 32px;
}

.fs-2xl {
    font-size: 30px;
    line-height: 38px;
}

.fs-3xl {
    font-size: 40px;
    line-height: 48px;
}

.fs-4xl {
    font-size: 56px;
    line-height: 64px;
}

/* Responsive Font Sizes */
@media (min-width: 768px) {
    .md-fs-3xl {
        font-size: 40px;
        line-height: 48px;
    }

    .md-fs-4xl {
        font-size: 56px;
        line-height: 64px;
    }
}

@media (min-width: 992px) {
    .lg-fs-3xl {
        font-size: 40px;
        line-height: 48px;
    }

    .lg-fs-4xl {
        font-size: 56px;
        line-height: 64px;
    }
}

/* Section Padding */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Custom Badges */
.badge-custom-blue {
    background-color: #EFF6FF;
    /* blue-50 */
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 500;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
}

.badge-custom-gray {
    background-color: rgb(219 234 254 / 0.5);
    /* blue-100/50 */
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Navbar Hover */
.navbar-nav .nav-link {
    transition: color 0.15s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Mobile Menu Overlay (< 992px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 5rem;
        /* Match header height h-20 */
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-white);
        padding: 2rem;
        overflow-y: auto;
        z-index: 1000;
        /* Optional: Add a localized shadow or border if needed */
        border-top: 1px solid #e5e7eb;
    }

    /* Ensure links are large and clickable on mobile */
    .navbar-nav .nav-link {
        font-size: 1.25rem;
        /* 20px */
        font-weight: 600;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Images */
.hero-img {
    border-radius: 0.75rem;
    /* rounded-xl */
    object-fit: cover;
}

.about-img-container {
    width: 100%;
    max-width: 24rem;
    aspect-ratio: 1 / 1;
}


/* Process Section Icons */
.icon-box {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    /* rounded-xl */
}

.icon-box-blue {
    background-color: #EFF6FF;
    color: #2563EB;
}

.icon-box-purple {
    background-color: #FAF5FF;
    color: #9333EA;
}

.icon-box-green {
    background-color: #F0FDF4;
    color: #16A34A;
}

.icon-box-orange {
    background-color: #FFF7ED;
    color: #EA580C;
}

/* Leadership Cards */
.leadership-card {
    border-radius: 1rem;
    /* rounded-2xl */
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.leadership-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card-yellow {
    background-color: rgb(254 252 232 / 0.5);
    /* yellow-50/50 */
    border: 1px solid #FEF08A;
    /* yellow-200 */
}

.card-purple {
    background-color: rgb(250 245 255 / 0.5);
    /* purple-50/50 */
    border: 1px solid #E9D5FF;
    /* purple-200 */
}

.card-green {
    background-color: rgb(240 253 244 / 0.5);
    /* green-50/50 */
    border: 1px solid #BBF7D0;
    /* green-200 */
}

.card-icon-container {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.card-icon-container.yellow {
    border: 1px solid #FEF08A;
}

.card-icon-container.purple {
    border: 1px solid #E9D5FF;
}

.card-icon-container.green {
    border: 1px solid #BBF7D0;
}



a {
    text-decoration: none;
}

/* Header Height */
.h-20 {
    height: 5rem;
}

/* Infinite Scroll */
.animate-scroll {
    animation: scroll 30s linear infinite;
}

.pause-on-hover:hover .animate-scroll {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-img {
    height: 4rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.logo-img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Medical Diagnostics Cards */
.diagnostics-card {
    position: relative;
    background-color: white;
    height: 100%;
    min-height: 500px;
    padding: 2rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #f3f4f6;
    /* gray-100 */
}

.diagnostics-card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.diagnostics-icon-container {
    width: 5rem;
    height: 5rem;
    background-color: #f3f4f6;
    /* gray-100 */
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hover-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (min-width: 992px) {
    .diagnostics-card:hover .default-content {
        opacity: 0;
    }

    .diagnostics-card:hover .hover-content {
        display: flex;
        opacity: 1;
    }
}

.hover-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-text-content {
    position: relative;
    z-index: 10;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background-color: white;
    color: var(--primary-blue);
    padding: 0.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border: 1px solid #f3f4f6;
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .carousel-btn {
        display: flex;
    }
}

.carousel-btn:hover {
    background-color: rgb(1 91 187 / 0.5);
    /* primary-blue/50 */
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background-color: white;
    color: var(--primary-blue);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem 0;
    border-top: 1px solid #eee;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
}