.pharmbio-wrap {
    position: relative;
    padding: 60px 0;
    background: #f4f8ff;
    overflow: hidden;
}

.pharmbio-wrap:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(2, 31, 116, .06);
    border-radius: 50%;
    left: -180px;
    top: -150px;
}

.pharmbio-wrap:after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    background: rgba(0, 170, 255, .05);
    border-radius: 50%;
    right: -120px;
    bottom: -120px;
}

.pharmbio-heading {
    text-align: center;
    max-width: 900px;
    margin: auto auto 70px;
}

.pharmbio-subtitle {
    display: inline-block;
    background: #021f74;
    color: #fff;
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.pharmbio-heading h2 {
    font-size: 42px;
    font-weight: 800;
    color: #021f74;
    margin-bottom: 20px;
}

.pharmbio-heading p {
    color: #666;
    line-height: 1.9;
}

.pharmbio-grid {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 80px;
}

.pharmbio-content h3 {
    font-size: 30px;
    color: #021f74;
    margin-bottom: 20px;
}

.pharmbio-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

.pharmbio-highlight {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pharmbio-info-card {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    transition: .45s;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    border: 1px solid rgba(2, 31, 116, .08);
}

.pharmbio-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(2, 31, 116, .18);
}

.pharmbio-info-card i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    background: #021f74;
    color: #fff;
    transition: .4s;
}

.pharmbio-info-card:hover i {
    transform: rotate(360deg) scale(1.12);
    background: #0d6efd;
}

.pharmbio-info-card h4 {
    color: #021f74;
    margin-bottom: 8px;
}

.pharmbio-info-card p {
    margin: 0;
    color: #666;
}

.pharmbio-core-section {
    margin-top: 30px;
}

.pharmbio-title {
    text-align: center;
    margin-bottom: 45px;
}

.pharmbio-title h3 {
    font-size: 34px;
    color: #021f74;
}

.pharmbio-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pharmbio-card {
    position: relative;
    background: #fff;
    padding: 45px 35px;
    border-radius: 20px;
    overflow: hidden;
    transition: .45s;
    /* border:1px solid rgba(2,31,116,.08); */
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    border: 1px solid var(--pharma-green);
}

.pharmbio-card:hover:before {
    width: 100%;
    opacity: .05;
}

.pharmbio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(2, 31, 116, .18);
}

.pharmbio-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #021f74;
    color: #fff;
    font-size: 30px;
    margin-bottom: 25px;
    transition: .45s;
}

.pharmbio-card:hover .pharmbio-icon {
    transform: rotateY(180deg);
    background: #0d6efd;
}

.pharmbio-card h4 {
    font-size: 22px;
    color: #021f74;
    margin-bottom: 15px;
}

.pharmbio-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Animation */

.pharmbio-card,
.pharmbio-info-card {
    animation: pharmbioFade .9s ease both;
}

@keyframes pharmbioFade {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Responsive */

@media(max-width:991px) {

    .pharmbio-grid {
        grid-template-columns: 1fr;
    }

    .pharmbio-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:767px) {

    .pharmbio-heading h2 {
        font-size: 32px;
    }

    .pharmbio-content h3 {
        font-size: 26px;
    }

    .pharmbio-title h3 {
        font-size: 28px;
    }

    .pharmbio-card-grid {
        grid-template-columns: 1fr;
    }

    .pharmbio-card {
        padding: 35px 25px;
    }

    .pharmbio-wrap {
        padding: 80px 0;
    }

}

/*==================================================
  DEPARTMENT OF PHARMACOGNOSY
==================================================*/

.pharmacognosy-section {
    position: relative;
    padding: 60px 0;
    background: #f5f8ff;
    overflow: hidden;
}

.pharmacognosy-section:before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(2, 31, 116, .05);
    border-radius: 50%;
    top: -180px;
    left: -150px;
}

.pharmacognosy-section:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(13, 110, 253, .05);
    border-radius: 50%;
    bottom: -120px;
    right: -120px;
}

.pharmacognosy-heading {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.pharmacognosy-subtitle {
    display: inline-block;
    padding: 8px 24px;
    background: #021f74;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.pharmacognosy-heading h2 {
    color: #021f74;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 0;
}

.pharmacognosy-title {
    margin: 25px 0;
}

.pharmacognosy-title h3 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    color: #021f74;
    padding-bottom: 12px;
}

.pharmacognosy-title h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: #0d6efd;
    border-radius: 20px;
}

.pharmacognosy-intro,
.pharmacognosy-garden,
.pharmacognosy-extra {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid rgba(2, 31, 116, .08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .06);
    transition: .4s;
}

.pharmacognosy-intro:hover,
.pharmacognosy-garden:hover,
.pharmacognosy-extra:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(2, 31, 116, .15);
}

.pharmacognosy-content p {
    margin-bottom: 18px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

.pharmacognosy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pharmacognosy-card {
    position: relative;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid rgba(2, 31, 116, .08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
    overflow: hidden;
    transition: .45s;
}

/* .pharmacognosy-card:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:6px;
    height:100%;
    background:#021f74;
    transition:.4s;
} */

.pharmacognosy-card:hover:before {
    width: 100%;
    opacity: .05;
}

.pharmacognosy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(2, 31, 116, .18);
}

.pharmacognosy-icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: #021f74;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 22px;
    transition: .45s;
}

.pharmacognosy-card:hover .pharmacognosy-icon {
    transform: rotateY(180deg);
    background: #0d6efd;
}

.pharmacognosy-card h4 {
    color: #021f74;
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.pharmacognosy-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pharmacognosy-card ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.pharmacognosy-card ul li:last-child {
    margin-bottom: 0;
}

.pharmacognosy-card ul li:before {
    content: "\f058";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #0d6efd;
}

.pharmacognosy-card strong {
    color: #021f74;
}

.pharmacognosy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.pharmacognosy-list li {
    position: relative;
    padding: 15px 20px 15px 55px;
    background: #f7faff;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #021f74;
    transition: .35s;
}

.pharmacognosy-list li:hover {
    transform: translateX(8px);
    background: #eef5ff;
}

.pharmacognosy-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 17px;
    color: #0d6efd;
}

.pharmacognosy-extra h4 {
    color: #021f74;
    font-size: 24px;
    margin-bottom: 18px;
}

/*==========================
Animation
==========================*/

.pharmacognosy-intro,
.pharmacognosy-garden,
.pharmacognosy-card,
.pharmacognosy-extra {
    animation: pharmacognosyFade .8s ease both;
}

@keyframes pharmacognosyFade {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/*==========================
Responsive
==========================*/

@media(max-width:991px) {

    .pharmacognosy-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width:767px) {

    .pharmacognosy-section {
        padding: 70px 0;
    }

    .pharmacognosy-heading h2 {
        font-size: 32px;
    }

    .pharmacognosy-title h3 {
        font-size: 24px;
    }

    .pharmacognosy-intro,
    .pharmacognosy-garden,
    .pharmacognosy-extra,
    .pharmacognosy-card {
        padding: 25px;
    }

    .pharmacognosy-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }

}

/*==================================================
  DEPARTMENT OF PHARMACEUTICAL CHEMISTRY
==================================================*/

.phchem-section {
    position: relative;
    padding: 60px 0;
    background: #f5f8ff;
    overflow: hidden;
}

.phchem-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(2, 31, 116, .05);
    border-radius: 50%;
    left: -140px;
    top: -140px;
}

.phchem-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(13, 110, 253, .05);
    border-radius: 50%;
    right: -120px;
    bottom: -120px;
}

.phchem-heading {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.phchem-subtitle {
    display: inline-block;
    padding: 8px 22px;
    background: #021f74;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.phchem-heading h2 {
    font-size: 42px;
    font-weight: 800;
    color: #021f74;
    margin: 0;
}

.phchem-title {
    margin: 55px 0 25px;
}

.phchem-title h3 {
    position: relative;
    display: inline-block;
    font-size: 30px;
    color: #021f74;
    font-weight: 700;
    padding-bottom: 12px;
}

.phchem-title h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: #0d6efd;
    border-radius: 30px;
}

.phchem-block {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(2, 31, 116, .08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    transition: .4s;
}

.phchem-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(2, 31, 116, .16);
}

.phchem-block p {
    margin: 0;
    color: #555;
    line-height: 1.9;
    text-align: justify;
}

.phchem-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(2, 31, 116, .08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: .45s;
}

/* .phchem-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #021f74;
    transition: .4s;
} */

.phchem-card:hover::before {
    width: 100%;
    opacity: .05;
}

.phchem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(2, 31, 116, .18);
}

.phchem-icon {
    min-width: 80px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #021f74;
    color: #fff;
    font-size: 34px;
    transition: .45s;
}

.phchem-card:hover .phchem-icon {
    background: #0d6efd;
    transform: rotateY(180deg);
}

.phchem-content {
    flex: 1;
}

.phchem-content p {
    color: #555;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 18px;
}

.phchem-content p:last-child {
    margin-bottom: 0;
}

/*=========================================
Animations
=========================================*/

.phchem-block,
.phchem-card,
.phchem-title {
    animation: phchemFadeUp .8s ease both;
}

.phchem-card:nth-child(2) {
    animation-delay: .1s;
}

.phchem-card:nth-child(3) {
    animation-delay: .2s;
}

.phchem-card:nth-child(4) {
    animation-delay: .3s;
}

.phchem-card:nth-child(5) {
    animation-delay: .4s;
}

@keyframes phchemFadeUp {

    0% {
        opacity: 0;
        transform: translateY(45px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

/*=========================================
Text Selection
=========================================*/

.phchem-content strong {
    color: #021f74;
    font-weight: 700;
}

/*=========================================
Scrollbar (Optional)
=========================================*/

.phchem-content::-webkit-scrollbar {
    width: 6px;
}

.phchem-content::-webkit-scrollbar-thumb {
    background: #021f74;
    border-radius: 20px;
}

/*=========================================
Smooth Transition
=========================================*/

.phchem-section *,
.phchem-section *::before,
.phchem-section *::after {
    transition: all .35s ease;
}

/*=========================================
Hover Effects
=========================================*/

.phchem-card:hover .phchem-content p {
    color: #444;
}

.phchem-card:hover .phchem-title {
    color: #021f74;
}

.phchem-card:hover .phchem-icon i {
    transform: scale(1.08);
}

.phchem-icon i {
    transition: .4s ease;
}

/*=========================================
Responsive
=========================================*/

@media (max-width:991px) {

    .phchem-section {
        padding: 80px 0;
    }

    .phchem-heading h2 {
        font-size: 34px;
    }

    .phchem-title h3 {
        font-size: 26px;
    }

    .phchem-card {
        flex-direction: column;
        gap: 20px;
    }

    .phchem-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 30px;
    }

}

@media (max-width:767px) {

    .phchem-section {
        padding: 60px 0;
    }

    .phchem-heading {
        margin-bottom: 40px;
    }

    .phchem-heading h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    .phchem-title {
        margin: 40px 0 20px;
    }

    .phchem-title h3 {
        font-size: 22px;
    }

    .phchem-block,
    .phchem-card {
        padding: 25px;
    }

    .phchem-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .phchem-icon {
        width: 65px;
        height: 65px;
        min-width: 65px;
        font-size: 26px;
    }

}

@media (max-width:480px) {

    .phchem-heading h2 {
        font-size: 24px;
    }

    .phchem-subtitle {
        font-size: 12px;
        padding: 7px 18px;
    }

    .phchem-title h3 {
        font-size: 20px;
    }

    .phchem-block,
    .phchem-card {
        padding: 20px;
    }

    .phchem-content p {
        text-align: left;
    }

}