.primaryBg {
    background-color: var(--AMDAsecondary-color);
}

.section2Icon {
    color: var(--white);
}

.hospital1Sec3 {}

/* SECTION 4 cARD  */
.wrapper {
    max-width: 1100px;
    padding: 20px 10px;
    margin: 0 60px 35px;
    overflow: hidden;
}

.dakdna-container button {
    transition: .2s ease-in-out;
    opacity: 75%;
}

.dakdna-container button:hover {
    opacity: 100%;
}

.firstHeroSecOfHsptl1 {
    background: radial-gradient(#ffffff, #0391ff);
}

.wrapper .card {
    background: #fff;
    display: flex;
    height: auto;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.wrapper .card:hover {
    transform: translateY(-10px);
}

.card .card-image {
    position: relative;
}

.card .card-image img {
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.card .card-image .card-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: var(--miniFont10);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: red;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card .card-contnt-AmdaHospital {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 25px 25px;

    background-color: royalblue;
}

.card .card-contnt-AmdaHospital .card-titleAmdaHospital {
    color: white;
    font-size: var(--veryFirstPara);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.card .card-contnt-AmdaHospital .card-text {
    color: whitesmoke;
    font-size: var(--smallPara);
    line-height: 1.6;
    margin-bottom: 20px;
}

.dkwjw-hover-bg-slide {
    position: relative;
    overflow: hidden;
}

.dkwjw-hover-bg-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: royalblue;
    /* Tailwind red-600 */
    transition: left 1.1s ease;
    z-index: 0;
}

.dkwjw-hover-bg-slide:hover::before {
    left: 0;
}

.dkwjw-hover-bg-slide .dkwjw-content {
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
}

.dkwjw-hover-bg-slide:hover .dkwjw-content {
    color: white;
}

.card .card-footer {
    display: flex;
    margin-top: auto;
    align-items: center;
    padding-top: 15px;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.card .card-footer .card-profile {
    display: flex;
    align-items: center;
}

.card .card-profile .card-profile-info {
    display: flex;
    flex-direction: column;
}

.card .card-profile .card-profile-name {
    font-size: var(--miniFont11);
    font-weight: 600;
    color: #202020;
}

.card .card-profile .card-profile-role {
    font-size: var(--miniFont12);
    color: #7A7A7A;
}

.card .card-profile img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card .card-button {
    color: royalblue;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: var(--miniFont12);
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #d0bcff 100%);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card .card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(1, 3, 137, 0.3);
}

.wrapper .swiper-pagination-bullet {
    height: 15px;
    width: 15px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    background: #B1B3F8;
}

.wrapper .swiper-pagination-bullet-active {
    background: #a4a7fd;
}

/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #6366f1;
    transform-origin: left center;
    transform: scaleX(0);
    animation: autoplay-loading 5s linear forwards;
}

.amdaHsptl1Sec4Slider {
    background: #e9e9e975;
    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);
    transform: translateY(0.5em);
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.container:hover .wrapper .swiper-pagination-bullet-active::before {
    animation-play-state: paused;
}

@keyframes autoplay-loading {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
    color: #6366f1;
    margin-top: -35px;
    transition: all 0.3s ease;
}

.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
    color: #8b5cf6;
}

/* Responsive media query code for small screens */
@media (max-width: 768px) {
    .wrapper {
        margin: 0 10px 25px;
    }

    .wrapper :where(.swiper-button-prev, .swiper-button-next) {
        display: none;
    }
}

/* SECTION 4 cARD END  */

/* PATIENT STORY WITH TAB SEC  */
.amdaHospital1section {
    padding: 40px 20px;
    max-width: 1300px;
    margin: auto;
}

.amdaHospital1section h2 {
    text-align: center;
    font-size: var(--veryFirstHeading);
    margin-bottom: 40px;
    color: #003D96;
    border-bottom: 3px solid #0391FF;
    display: inline-block;
}

.amdaHospital1slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.amdaHospital1swiper-container {
    flex: 2;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.amdaHospital1swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.amdaHospital1swiper-slide {
    min-width: 100%;
    box-sizing: border-box;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.amdaHospital1swiper-slide img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.amdaHospital1swiper-slide:hover img {
    transform: scale(1.03);
}

.amdaHospital1swiper-slide h3 {
    color: #003D96;
    margin-top: 15px;
    font-size: 1.7rem;
}

.amdaHospital1swiper-slide p {
    color: #333;
    font-size: var(--smallPara);
    margin-top: 8px;
    padding: 0 10px;
}

.amdaHospital1swiper-button-prev,
.amdaHospital1swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #003D96;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 4px;
}

.amdaHospital1swiper-button-prev {
    left: 10px;
}

.amdaHospital1swiper-button-next {
    right: 10px;
}

.amdaHospital1content-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amdaHospital1content-item {
    background: #fff;
    padding: 15px;
    border-left: 5px solid #0391FF;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid darkgrey;
}

.amdaHospital1content-item.active,
.amdaHospital1content-item:hover {
    border-color: #003D96;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.38), rgb(222 218 230 / 77%), rgb(73 72 236 / 38%), #0391ffc7);
}

.amdaHospital1content-item h3 {
    margin: 0 0 8px;
    font-size: var(--veryFirstPara);
    color: #003D96;
}

.amdaHospital1content-item p {
    margin: 0;
    font-size: var(--smallPara);
    color: #333;
}

@media (max-width: 1151px) {
    .amdaHospital1slider-wrapper {
        flex-direction: column;
    }
}

/* other slider of amda hosptial 1  */
.amdaFofoHsptlCOntainrMain {
    background: #0095ff17;
    padding: 50px 0 59px 0;

}

.amdahsptl-fofo-slider-container {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.amdahsptl-fofo-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.amdahsptl-fofo-slide {
    display: flex;
    flex: 0 0 100%;
    justify-content: space-around;
    gap: 1rem;
    padding: 1rem 0;

}

.amdahsptl-fofo-card {
    flex: 1;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 340px;
    max-width: 340px;
}

.amdahsptl-fofo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amdahsptl-fofo-card img {
    max-width: 160px;
    margin: 0 auto;
}

.dakdna-paragraph {
    font-size: var(--veryFirstPara);
}

.amdahsptl-fofo-card h3 {
    font-size: var(--verySecHeading);
    color: royalblue;
    margin-bottom: 0.5rem;
}

.amdahsptl-fofo-card p {
    font-size: var(--veryFirstPara);
    color: #8380ff;
}

.amdahsptl-fofo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0391FF;
}

.amdahsptl-fofo-prev {
    left: 10px;
}

.amdahsptl-fofo-next {
    right: 10px;
}



@media (min-width: 600px) and (max-width: 1150px) {
    .amdahsptl-fofo-card {
        min-width: 85%;
        max-width: 85%;
    }
}

@media (max-width: 1150px) {
    .amdahsptl-fofo-slide {
        flex-direction: column;
        align-items: center;
    }
}

/* other slider of amda hosptial 1 end  */