@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


html {
    /* font-size: 62.5%; */
    scroll-behavior: smooth;
}

* {
    font-family: "Lato", sans-serif !important;
}

:root {
    --primary-color: #003D96;
    --secondary-color: #0391FF;
    /* Example secondary color */
    --background-color: #F7F7F7;
}

html,
body {

    width: 100%;
}

.content {
    transition: all ease-in-out 0.3s;

}

/* Custom styles */

.mega-menu {
    transition: all 0.3s ease;
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    max-height: 0;
}

.mega-menu.active {
    transform: scaleY(1);
    opacity: 1;
    max-height: 500px;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* POPUP FIRST POPOPU  */

#popup-0 i {
    position: absolute;
    right: -2px;
    top: -8px;
    font-size: 3rem;
}

.fontWt300 {
    font-weight: 300;
}

#popup-0,
#popup-1 {
    width: 100%;
    position: absolute;
    top: 0;
}

.popupBgSecondParent {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 65%;
    /* top: 28%;
    position: relative;
    overflow: scroll; */
}



.popupWrapper {
    z-index: 99999999999999999 !important;
    overflow: scroll;
}

/* POPUP FIRST POPOPU  end s*/

/* BREADCUMBS  */
.breadCrumbsLi a {
    font-size: 13px;
}

.breadCrumbsLi i {
    font-size: 20px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-image {
    transition: 500ms ease-in-out;
}

/* NAV BAR  */
.logoforDesktopAndBranchName {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktopLogParent {}

/* From Uiverse.io by cssbuttons-io */
.fancy {
    background-color: transparent;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    display: inline-block;
    float: right;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: var(--miniFont14);
}

.fancy::before {
    content: " ";
    width: 1.5625rem;
    height: 2px;
    background: black;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
}

.tabsecTionSecond-tab-pane {
    margin: 0 !important;
}

.fancy .text {
    line-height: 1px;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    font-weight: bold !important;
}

.fancy .top-key {
    height: 2px;
    width: 1.5625rem;
    top: -2px;
    left: 0.625rem;
    position: absolute;
    transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
    height: 2px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -2px;
    position: absolute;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
    height: 2px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}


.fancy:hover::before {
    width: 0.9375rem;
    background: red;
}

.fancy:hover .text {
    padding-left: 1.5em;
}

.fancy:hover .top-key {
    left: -2px;
    width: 0px;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
    right: 0;
    width: 0;
}

/* NAVE BAR END  */

.addressDivParent {
    background: var(--bgColor23);
}

.engAndNepDate span {
    color: var(--white);
    font-size: 10px;
}

.heronext,
.heroprev {
    position: absolute;
    z-index: 100;
}

.scroll-to-top {
    position: fixed;
    bottom: 112px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #0391FF;
    /* dark slate */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    font-size: 34px;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #1e293b;
    /* darker hover */
}


.Gallery {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.Gallery.fade-out {
    opacity: 0;
}

/* Gallery image transitions */
.gallery-image {
    transition: opacity 0.9s ease;
}

.gallery-image.fade-out {
    opacity: 0;
}

/* Navigation buttons */
.nav-button {
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.nav-button:hover {
    transform: scale(1.1);
}

/* Custom animation classes */
.text-reveal {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Dot indicators */
.dot {
    transition: all 0.3s ease;
}

.dot.active {
    background-color: rgb(0, 113, 165);
    transform: scale(1.2);
}

.gradient-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.text-reveal span {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    animation: reveal 0.8s forwards;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.group:hover .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Preload animation styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2563eb;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.marquee-container {
    --marquee-speed: 30s;
    --marquee-gap: 2rem;
    background-color: var(--white);
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 var(--marquee-gap);
    position: relative;
    font-size: 15px !important;
}

.marquee-item:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.update-badge {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    transition: all 0.3s ease;
    background: var(--AMDAsecondary-color) !important;
    color: white;
}

.marquee:hover .update-badge {
    transform: translateX(0.5rem);
}

#card {
    animation: hranim 1s ease-in-out;
    animation-timeline: view();
    animation-fill-mode: forwards;
    animation-range: entry 0;
}

@keyframes hranim {
    0% {
        opacity: 0.5;
        transform: translateY(20px);


    }

    100% {
        transform: translateY(0px);
        opacity: 1;


    }
}

:where([class^="ri-"])::before {
    content: "\f3c2";
}

.hero-gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.😎 50%, rgba(255, 255, 255, 0) 100%))
}

.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.service-card {
    transition: all 0.3s ease;
    background: white;
    transform: perspective(1000px) rotateX(0deg);
    backface-visibility: hidden;

}

.service-card:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gradient-text {
    background: linear-gradient(45deg, #574FCB, #8E2DE2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar {
    transition: background-color 0.3s ease;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.service-card {
    background: rgb(175, 175, 175);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation-timeline: view();
    animation-fill-mode: forwards;
    animation-range: entry 20%;
    animation-duration: 0.3s;
    animation-name: service;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

@keyframes service {
    0% {
        transform: translateY(120px);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.group:hover .mega-menu {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.hospitalUlLi {
    transition: all 0.3s ease;

}

.hospitalUl:hover .hospitalUlLi {
    transform: translateY(0px);
    opacity: 1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);

}

.whatwedo li:hover {
    color: white;
    background: #2563EB;
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease-in-out;

}

.makeColorBluseh {
    color: #4ab1ff !important;

}



/* Mobile menu animations */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.mobile-menu.open {
    max-height: 1000px;
}

/* Mega menu enhancements */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger menu animation */
.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    will-change: transform;
}



.marquee-item {
    padding: 0 1rem;
    white-space: nowrap;
    color: var(--AMDAprimary-color);
    font-weight: 400 !important;
}

.mainPgTabLink {
    font-weight: 300 !important;
}

.card-image-inner {
    will-change: transform;
}

.card-stack {
    perspective: 500px;
}

.gradient-text {
    background: linear-gradient(90deg, #574FCB 0%, #8B85FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: white;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(87, 79, 203, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.floatingBtn1-toggle:hover {
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
        -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: transform 0.5s;
}

.floatingBtn1-toggle {
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
        inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
        -0.5px -0.5px 0px rgba(255, 255, 255, 1),
        0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
        0px 12px 10px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transform: translateY(0.5em) !important;
    background-color: white;
}

.card-hover-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(87, 79, 203, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-hover-effect {
    opacity: 1;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

.delay-6 {
    animation-delay: 1.2s;
}


.tab-pane {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: 0;
    overflow: hidden;
}

.tab-pane.active {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn:hover {
    transform: translateY(-2px);
}

.tab-btn:active {
    transform: translateY(0);
}

/* HOMEPAGE TAB  */
.mainPg-tab-active {
    background-color: var(--AMDAprimary-color);
    /* Tailwind purple-700 */
    color: white;
}

.mainPgTabContainer {
    background: #f3f3f352;
}

.mainPg-tab-inactive {
    background-color: white;
    color: #4B5563;
    /* Tailwind gray-600 */
}



.mainPg-tab-title {
    font-weight: 600;
}


/* HOMEPAGE TAB END */

.homePageHeading {
    color: var(--AMDAprimary-color);
}

/* SUBSCRIBE BUTTN  and input */
.input-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    gap: 10px;
}

.input-box {
    flex: 1;
    position: relative;
}

.input-box input {
    width: 100%;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 3px;
    border: 1px solid #ffffff;
    outline: none;
    transition: 0.3s ease;
    background: transparent;
}



.input-button {
    padding: 9px 50px;
    background-color: #fdfdfd;
    color: #ff0000;
    border: none;
    /* border-radius: 10px; */
    cursor: pointer;
    transition: background 0.3s ease;
    align-items: center;
    border-radius: 0 0 13px 0;
}

.input-button:hover {
    background-color: red;
    color: white;
}

@media (max-width: 768px) {
    .input-container {
        flex-direction: column;
        width: 90%;
    }

    .input-button {
        width: 100%;
    }
}

/* SUBSCRIBE BUTTN and input END  */


.hrLine {
    background: #acacac;
    height: 1px;
    outline: none;
    border: none;
}


/* FONT SIZE  */


/* FONT SIZE END */

/* gallery or pagination css code here  */
#lightgallery a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lightgallery a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#lightgallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pagination-wrapper nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-wrapper nav .pagination {
    display: flex;
    gap: 6px;
}

.pagination-wrapper nav .page-link {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #333;
    background-color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-wrapper nav .page-link:hover {
    background-color: #3490dc;
    color: white;
}

.pagination-wrapper nav .page-item.active .page-link {
    background-color: #3490dc;
    color: white;
    border-color: #3490dc;
}

u {
    text-decoration: underline !important;
    font-weight: bold !important;
}

b {
    font-weight: bold !important;

}

i {
    text-decoration: italic !important;
}

menu,
ol,
ul {
    list-style: initial !important;
    margin: auto !important;
    margin-left: 20px !important;
    padding: auto !important;
}

ul li {
    list-style-type: inherit !important;
}