/*=========================================================
CLINICAL FACILITIES - PREMIUM CSS
PART 2A-1
(Layout + Heading + Image + Floating Card)
=========================================================*/

:root {

    --mhclinic-primary: #0E6BA8;
    --mhclinic-secondary: #18C47E;
    --mhclinic-dark: #10293C;
    --mhclinic-dark2: #16364D;
    --mhclinic-light: #F5FAFD;
    --mhclinic-text: #697887;
    --mhclinic-border: rgba(255, 255, 255, .08);
    --mhclinic-white: #ffffff;

}

/*====================================
SECTION
====================================*/

.mhclinic-section {

    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background:
        radial-gradient(circle at top left,
            rgba(24, 196, 126, .08),
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(14, 107, 168, .08),
            transparent 35%),

        #ffffff;

}

/* Decorative Circle */

.mhclinic-section::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    border-radius: 50%;

    background: rgba(14, 107, 168, .05);

    left: -250px;

    top: -220px;

}

.mhclinic-section::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background: rgba(24, 196, 126, .05);

    right: -180px;

    bottom: -180px;

}

/*====================================
SECTION TITLE
====================================*/

.mhclinic-heading {

    text-align: center;

    max-width: 900px;

    margin: auto;

    margin-bottom: 80px;

}

.mhclinic-heading span {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 12px 28px;

    background: #EAF8FF;

    color: var(--mhclinic-primary);

    border-radius: 50px;

    font-size: 15px;

    font-weight: 600;

}

.mhclinic-heading span i {

    font-size: 22px;

    color: var(--mhclinic-secondary);

}

.mhclinic-heading h2 {

    margin: 28px 0 22px;

    color: var(--mhclinic-dark);

    font-weight: 700;

}

.mhclinic-heading h2 span {

    color: var(--mhclinic-secondary);

}

.mhclinic-heading p {

    color: var(--mhclinic-text);

    line-height: 1.9;

    font-size: 17px;

}

/*====================================
MAIN GRID
====================================*/

.mhclinic-grid {

    display: grid;

    grid-template-columns: 520px 1fr;

    gap: 70px;

    align-items: center;

    margin-bottom: 90px;

}

/*====================================
IMAGE
====================================*/

.mhclinic-image {

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    box-shadow:

        0 30px 70px rgba(0, 0, 0, .18);

}

.mhclinic-image img {

    width: 100%;

    display: block;

    transition: .8s ease;

}

.mhclinic-image:hover img {

    transform: scale(1.08);

}

/* Image Overlay */

.mhclinic-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(to top,

            rgba(0, 0, 0, .35),

            rgba(0, 0, 0, .02));

}

/*====================================
FLOATING CARD
====================================*/

.mhclinic-floating {

    position: absolute;

    left: 35px;

    bottom: 35px;

    z-index: 5;

    min-width: 210px;

    background: rgba(255, 255, 255, .92);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .30);

    border-radius: 22px;

    padding: 25px 30px;

    box-shadow:

        0 20px 45px rgba(0, 0, 0, .20);

    animation: mhclinicFloat 4s ease-in-out infinite;

}

.mhclinic-floating h2 {

    margin: 0;

    font-size: 46px;

    font-weight: 700;

    color: var(--mhclinic-secondary);

}

.mhclinic-floating span {

    display: block;

    margin-top: 8px;

    color: #4f5f6b;

    font-size: 15px;

    font-weight: 600;

}

/*====================================
RIGHT CONTENT
====================================*/

.mhclinic-content {

    display: grid;

    gap: 28px;

}

/*====================================
FLOAT ANIMATION
====================================*/

@keyframes mhclinicFloat {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-12px);

    }

    100% {

        transform: translateY(0);

    }

}

/*=========================================
PREMIUM FEATURE CARD
=========================================*/

.mhclinic-card {

    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    border-radius: 24px;
    overflow: hidden;

    background: linear-gradient(145deg, #12324b, #0d2235);

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);

    transition: .45s ease;

}

.mhclinic-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 6px;

    height: 100%;

    background: linear-gradient(180deg,
            #18C47E,
            #0E6BA8);

    transition: .45s;

}

.mhclinic-card::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .04);

    right: -120px;

    bottom: -120px;

    transition: .45s;

}

.mhclinic-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 35px 70px rgba(0, 0, 0, .30);

}

.mhclinic-card:hover::before {

    width: 100%;

    opacity: .08;

}

.mhclinic-card:hover::after {

    transform: scale(1.5);

}

/*=================================
ICON
=================================*/

.mhclinic-icon {

    position: relative;

    width: 74px;

    min-width: 74px;

    height: 74px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .08);

    transition: .45s;

    z-index: 2;

}

.mhclinic-icon i {

    font-size: 34px;

    color: #20d991;

    transition: .45s;

}

.mhclinic-card:hover .mhclinic-icon {

    background: #20d991;

    transform: rotate(360deg);

}

.mhclinic-card:hover .mhclinic-icon i {

    color: #fff;

}

/*=================================
CARD CONTENT
=================================*/

.mhclinic-info {

    position: relative;

    z-index: 2;

    flex: 1;

}

.mhclinic-info h4 {

    color: #fff;

    font-size: 24px;

    margin-bottom: 18px;

}

.mhclinic-info ul {

    margin: 0;

    padding: 0;

    list-style: none;

}

.mhclinic-info ul li {

    display: flex;

    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, .82);

    padding: 8px 0;

    transition: .35s;

}

.mhclinic-info ul li i {

    color: #20d991;

    font-size: 20px;

    transition: .35s;

}

.mhclinic-card:hover ul li {

    transform: translateX(6px);

}

.mhclinic-card:hover ul li i {

    color: #FFD54F;

}

/*=========================================
FACILITY GRID
=========================================*/

.mhclinic-wrapper {

    display: grid;

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

    gap: 30px;

}

/*=========================================
PREMIUM DARK FACILITY BOX
=========================================*/

.mhclinic-box {

    position: relative;

    overflow: hidden;

    padding: 38px;

    border-radius: 26px;

    background: linear-gradient(145deg, #12324b, #0d2235);

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);

    transition: .45s ease;

}

.mhclinic-box::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 6px;

    height: 100%;

    background: linear-gradient(180deg,
            #20d991,
            #0E6BA8);

    transition: .45s;

}

.mhclinic-box::after {

    content: "";

    position: absolute;

    width: 240px;

    height: 240px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .04);

    right: -130px;

    bottom: -130px;

    transition: .45s;

}

.mhclinic-box:hover {

    transform: translateY(-12px);

    box-shadow: 0 35px 70px rgba(0, 0, 0, .30);

}

.mhclinic-box:hover::before {

    width: 100%;

    opacity: .08;

}

.mhclinic-box:hover::after {

    transform: scale(1.5);

}

/*=================================
BOX ICON
=================================*/

.mhclinic-box>i {

    position: relative;

    z-index: 2;

    width: 74px;

    height: 74px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .08);

    color: #20d991;

    font-size: 34px;

    margin-bottom: 25px;

    transition: .45s;

}

.mhclinic-box:hover>i {

    background: #20d991;

    color: #fff;

    transform: rotateY(180deg);

}

/*=================================
TITLE
=================================*/

.mhclinic-box h4 {

    position: relative;

    z-index: 2;

    color: #fff;

    font-size: 24px;

    margin-bottom: 18px;

}

/*=================================
LIST
=================================*/

.mhclinic-box ul {

    position: relative;

    z-index: 2;

    list-style: none;

    padding: 0;

    margin: 0;

}

.mhclinic-box ul li {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 9px 0;

    color: rgba(255, 255, 255, .82);

    transition: .35s;

}

.mhclinic-box ul li::before {

    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #20d991;

    flex-shrink: 0;

    transition: .35s;

}

.mhclinic-box:hover ul li {

    transform: translateX(6px);

}

.mhclinic-box:hover ul li::before {

    background: #FFD54F;

}

.guest-faculty-section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b6b4b;
    margin-bottom: 20px;
    text-align: center;
}

.tablepress {
    width: 100%;
    border-collapse: collapse;
}

.tablepress th {
    background: #0b6b4b;
    color: #fff;
    padding: 14px;
    text-align: left;
}

.tablepress td {
    padding: 12px 14px;
    border: 1px solid #ddd;
}

.tablepress tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.tablepress tbody tr:hover {
    background: #eef8f3;
}

/* ============================================
   STUDENTS ACHIEVEMENT TABLE
============================================ */

.students-achievement {
    padding: 60px 0;
    background: #f4f8fb;
}

.students-achievement .container {
    width: min(95%, 1400px);
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0b5d3f;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    background: #fff;
}

.achievement-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 950px;
}

.achievement-table thead th {
    background: #0b5d3f;
    color: #fff;
    padding: 18px 15px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .15);
    position: sticky;
    top: 0;
    z-index: 5;
}

.achievement-table tbody td {
    padding: 16px 14px;
    border: 1px solid #e8e8e8;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    vertical-align: top;
}

.achievement-table tbody tr:nth-child(even) {
    background: #f8fcfa;
}

.achievement-table tbody tr:hover {
    background: #eef9f4;
    transition: .3s;
}

.achievement-table td:nth-child(1) {
    width: 70px;
    text-align: center;
    font-weight: 700;
    color: #0b5d3f;
}

.achievement-table td:nth-child(2) {
    width: 130px;
    font-weight: 600;
    color: #444;
}

.achievement-table td:nth-child(3) {
    width: 260px;
    font-weight: 600;
}

.achievement-table td:nth-child(4) {
    min-width: 450px;
}

.achievement-table strong {
    color: #0b5d3f;
}

.table-responsive::-webkit-scrollbar {
    height: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #0b5d3f;
    border-radius: 30px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #e6e6e6;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:991px) {

    .section-title h2 {
        font-size: 34px;
    }

    .section-title p {
        font-size: 16px;
    }

    .achievement-table thead th {
        font-size: 15px;
        padding: 14px 10px;
    }

    .achievement-table tbody td {
        font-size: 14px;
        padding: 12px 10px;
    }

}

@media(max-width:767px) {

    .students-achievement {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 15px;
    }

    .achievement-table {
        min-width: 900px;
    }

}