/* Annai Nursing - Pharmacy reference design theme */
:root {
    --pharma-green: #3c023f;
    --pharma-green2: #95099b;
    --pharma-yellow: #f3badb;
    --pharma-dark: #490f4a;
    --pharma-text: #555;
    --pharma-border: #e8e8e8;
    --pharma-shadow: 0 10px 30px rgba(0, 0, 0, .08)
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: #222;
    background: #fff;
    overflow-x: hidden
}

body a {
    text-decoration: none
}

.pharma-header {
    position: relative;
    width: 100%;
    z-index: 9999;
    background: #fff
}

.pharma-header-top {
    background: var(--pharma-green);
    padding: 10px 0
}

.pharma-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.pharma-top-left,
.pharma-top-right {
    display: flex;
    align-items: center;
    gap: 20px
}

.pharma-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 500
}

.pharma-info i {
    color: var(--pharma-yellow)
}

.pharma-info a {
    color: #fff
}

.pharma-admission-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--pharma-yellow);
    color: var(--pharma-green);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700
}

.pharma-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--pharma-green);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700
}

.pharma-admission-btn:hover,
.pharma-contact-btn:hover {
    background: #fff;
    color: var(--pharma-green)
}

.pharma-header-main {
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04)
}

.pharma-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 95px
}

.pharma-logo-area {
    flex-shrink: 0
}

.pharma-logo-area img {
    width: 380px;
    max-width: 100%;
    display: block
}

.pharma-nav-area {
    margin-left: auto
}

.pharma-mainmenu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none
}

.pharma-nav-item {
    position: relative
}

.pharma-nav-item>a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    padding: 36px 0;
    transition: .3s
}

.pharma-nav-item>a:hover,
.pharma-nav-item.active>a {
    color: var(--pharma-green)
}

/* .pharma-nav-item>a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 19px;
    width: 0;
    height: 3px;
    background: var(--pharma-yellow);
    border-radius: 10px;
    transition: .3s
} */

.pharma-nav-item:hover>a:after,
.pharma-nav-item.active>a:after {
    width: 100%
}

.pharma-submenu {
    position: absolute;
    top: 120%;
    left: 0;
    width: 255px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--pharma-shadow);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    padding: 8px 0;
    z-index: 999
}

.pharma-nav-item:hover>.pharma-submenu {
    opacity: 1;
    visibility: visible;
    top: 100%
}

.pharma-submenu li {
    list-style: none
}

.pharma-submenu li a {
    display: block;
    padding: 5px 20px;
    color: #222;
    font-size: 14px;
    font-weight: 500
}

.pharma-submenu li a:hover {
    background: var(--pharma-green);
    color: #fff;
    padding-left: 26px
}

.pharma-menu-toggle,
.pharma-mobile-close {
    display: none
}

.top-marquee {
    display: flex;
    align-items: center;
    height: 42px;
    background: var(--pharma-yellow);
    color: var(--pharma-green);
    overflow: hidden
}

.marquee-wrap {
    flex: 1;
    overflow: hidden
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: annaiScroll 26s linear infinite
}

.marquee-track span {
    white-space: nowrap;
    color: var(--pharma-green);
    font-size: 13px;
    font-weight: 600;
    padding-right: 80px;
    line-height: 42px
}

@keyframes annaiScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.top-social {
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #3c023f;
    height: 100%;
    flex-shrink: 0
}

.top-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .65);
    font-size: 13px
}

.top-social a:hover {
    background: var(--pharma-yellow);
    color: var(--pharma-green)
}

.pharma-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
    animation: annaiSticky .35s ease
}

.pharma-header.sticky .pharma-header-top {
    display: none
}

.pharma-header.sticky .pharma-header-wrapper {
    min-height: 74px
}

.pharma-header.sticky .pharma-nav-item>a {
    padding: 27px 0
}

@keyframes annaiSticky {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}

/* Reference-style inner page hero */
.page-title {
    position: relative;
    min-height: 250px;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0
}

.page-title:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .43)
}

.page-title .auto-container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center
}

.page-title h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: none;
    text-transform: capitalize;
}

.page-title .page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    font-size: 14px
}

.page-title .page-breadcrumb li,
.page-title .page-breadcrumb a {
    color: #fff;
    font-weight: 600
}

.page-title .page-breadcrumb li+li:before {
    content: '›';
    margin-right: 10px;
    color: rgba(255, 255, 255, .7)
}

/* Common section styling to match reference */
.annai-profile-section,
.acn-contact-section,
.acn-welcome-section,
.acn-facilities-section,
.acn-gallery-section {
    position: relative
}

.annai-profile-content h2,
.acn-contact-heading h2,
.acn-welcome-title {
    font-weight: 800;
    color: #222
}

.annai-profile-label,
.acn-section-label,
.acn-heading-label {
    display: inline-flex !important;
    align-items: center;
    gap: 7px !important;
    background: #f3e8f5 !important;
    color: var(--pharma-green) !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    letter-spacing: .5px
}

.annai-profile-content h2 span,
.acn-welcome-title span,
.acn-contact-heading strong {
    color: var(--pharma-green)
}

.annai-profile-line,
.acn-title-line {
    height: 3px;
    background: linear-gradient(90deg, var(--pharma-green), var(--pharma-yellow));
    width: 90px;
    border-radius: 5px
}

.annai-profile-highlights,
.acn-highlight-grid {
    gap: 16px
}

.annai-profile-highlight,
.acn-highlight-card,
.acn-contact-card {
    border-color: #e02760 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
    border-radius: 15px
}

.annai-profile-highlight:hover,
.acn-highlight-card:hover,
.acn-contact-card:hover {
    transform: translateY(-5px)
}

/* Generic headings/cards */
.section-heading h2,
.acn-section-title,
.facilities-title h2 {
    font-weight: 800;
    color: #222
}

.theme-btn,
.bsc-btn,
.acn-btn,
.admission-btn {
    background: var(--pharma-green) !important;
    border-color: var(--pharma-green) !important;
    border-radius: 40px !important
}

.theme-btn:hover,
.bsc-btn:hover,
.acn-btn:hover,
.admission-btn:hover {
    background: var(--pharma-yellow) !important;
    color: var(--pharma-green) !important
}

.footer-area {
    background-color: #2d022f;
    background-image: url(../images/background/pattern-1.png);
    color: #fff;
    padding: 65px 0 45px;
    background-position: center;
    background-size: cover;
}

.footer-widget {
    height: 100%
}

.footer-logo img {
    width: 250px;
    max-width: 100%;
    margin-bottom: 22px
}

.footer-title {
    position: relative;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 12px
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: var(--pharma-yellow);
    border-radius: 5px
}

.footer-text {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.9;
    text-align: justify
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none
}

.footer-links li {
    margin-bottom: 9px
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.7
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--pharma-yellow)
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px
}

.footer-contact i {
    color: var(--pharma-yellow);
    width: 18px;
    flex-shrink: 0;
    margin-top: 4px
}

.footer-map iframe {
    width: 100%;
    height: 190px;
    border: 0;
    border-radius: 12px
}

.copyright-area {
    background: #3c023f;
    color: #fff;
    padding: 16px 0
}

.copyright-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.copyright-inner p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 13px
}

.copyright-inner a {
    color: var(--pharma-yellow)
}

.premium-back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pharma-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2)
}

.premium-back-top i {
    font-size: 18px
}

.premium-back-top span {
    display: none
}

.premium-back-top.active {
    opacity: 1;
    visibility: visible;
    transform: none
}

.premium-back-top:hover {
    background: var(--pharma-yellow);
    color: var(--pharma-green)
}

/* Home slider */
.main-slider-two {
    margin: 0 !important
}

.main-slider-two .slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

.main-slider-two .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%)
}

.main-slider-two .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid var(--pharma-green) !important
}

.main-slider-two .owl-dot.active span {
    background: var(--pharma-yellow) !important
}

@media(max-width:1200px) {
    .pharma-mainmenu {
        gap: 14px
    }

    .pharma-nav-item>a {
        font-size: 14px
    }

    .pharma-logo-area img {
        width: 250px
    }

    .pharma-info {
        font-size: 12px
    }
}

@media(max-width:991px) {
    .pharma-header-top {
        padding: 8px 15px
    }

    .pharma-top-wrapper {
        flex-direction: column;
        gap: 7px
    }

    .pharma-top-left {
        flex-direction: column;
        gap: 5px
    }

    .pharma-top-right {
        display: none
    }

    .pharma-header-main {
        padding: 7px 0
    }

    .pharma-header-wrapper {
        min-height: 68px
    }

    .pharma-logo-area img {
        width: 245px
    }

    .pharma-menu-toggle {
        display: flex;
        width: 44px;
        min-width: 44px;
        height: 44px;
        border: 0;
        border-radius: 8px;
        background: var(--pharma-green);
        color: #fff;
        align-items: center;
        justify-content: center;
        font-size: 20px
    }

    .pharma-nav-area {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 90%;
        height: 100vh;
        background: #fff;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
        transition: .4s;
        z-index: 99999
    }

    .pharma-nav-area.active {
        right: 0
    }

    .pharma-mobile-close {
        display: flex;
        justify-content: flex-end;
        padding: 15px 20px;
        border-bottom: 1px solid #eee
    }

    .pharma-mobile-close i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--pharma-green);
        color: #fff
    }

    .pharma-mainmenu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0
    }

    .pharma-nav-item {
        width: 100%;
        border-bottom: 1px solid #eee
    }

        .pharma-nav-item>a {
        padding: 10px 20px;
        font-size: 14px;
        justify-content: space-between;
    }

    .pharma-nav-item>a:after {
        display: none
    }

    .pharma-submenu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        background: #fdf7fb;
        padding: 0
    }

    .pharma-nav-item.active>.pharma-submenu {
        display: block
    }

    .pharma-submenu li a {
        padding: 13px 35px;
        border-bottom: 1px solid #e5e5e5
    }

    .top-marquee {
        height: 38px
    }

    .top-social {
        width: 125px
    }

    .top-social a {
        width: 25px;
        height: 25px;
        font-size: 11px
    }

    .marquee-track span {
        font-size: 11px;
        line-height: 38px
    }

    .page-title {
        min-height: 220px;
        padding: 60px 20px
    }

    .page-title h2 {
        font-size: 34px
    }
}

@media(max-width:767px) {
    .pharma-top-left .pharma-info:first-child {
        display: none
    }

    .pharma-info {
        font-size: 12px
    }

    .pharma-header-wrapper {
        min-height: 62px
    }

    .pharma-logo-area img {
        width: 260px
    }

    .pharma-menu-toggle {
        width: 40px;
        min-width: 40px;
        height: 40px
    }

    .top-social {
        width: 105px
    }

    .top-social a {
        width: 22px;
        height: 22px
    }

    .page-title {
        min-height: 190px;
        padding: 50px 15px
    }

    .page-title h2 {
        font-size: 27px
    }

    .page-title .page-breadcrumb {
        font-size: 12px;
        gap: 7px
    }

    .copyright-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px
    }

    .footer-area {
        padding: 50px 0 30px
    }
}

@media(max-width:480px) {
    .pharma-logo-area img {
        width: 250px
    }

    .pharma-nav-area {
        width: 280px
    }

    .page-title {
        min-height: 170px;
        padding: 40px 12px
    }

    .page-title h2 {
        font-size: 23px
    }

    .footer-logo img {
        width: 210px
    }
}

/* =========================================================
   INNER PAGES - HOMEPAGE VISUAL SYSTEM
   Keep every inner page visually consistent with the home page.
========================================================= */
.annai-profile-section,
.anc-academic-hero,
.anc-teaching-section,
.anc-clinical-section,
.anc-simulation-section,
.acn-admission-hero,
.acn-admission-overview,
.acn-programmes-section,
.acn-application-section,
.annai-anm-hero,
.annai-anm-section,
.annai-anm-duration-section,
.annai-approval-section,
.annai-bsc-hero,
.annai-bsc-section,
.annai-bsc-duration-section,
.acn-chairman-section,
.acn-contact-section,
.annai-commit-section,
.acn-facilities-section,
.acn-gallery-section,
.annai-philosophy-section,
.acn-principal-section,
.annai-programme-section,
.acd-growth-section,
.annai-trust-section,
.annai-vm-section {
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.annai-profile-section h1,
.annai-profile-section h2,
.annai-profile-section h3,
.anc-academic-hero h1,
.anc-academic-hero h2,
.anc-academic-hero h3,
.anc-teaching-section h2,
.anc-clinical-section h2,
.anc-simulation-section h2,
.acn-admission-hero h1,
.acn-admission-hero h2,
.acn-admission-overview h2,
.acn-programmes-section h2,
.acn-application-section h2,
.annai-anm-hero h1,
.annai-anm-hero h2,
.annai-anm-section h2,
.annai-anm-duration-section h2,
.annai-approval-section h2,
.annai-bsc-hero h1,
.annai-bsc-hero h2,
.annai-bsc-section h2,
.annai-bsc-duration-section h2,
.acn-chairman-section h2,
.acn-contact-section h2,
.annai-commit-section h2,
.acn-facilities-section h2,
.acn-gallery-section h2,
.annai-philosophy-section h2,
.acn-principal-section h2,
.annai-programme-section h2,
.acd-growth-section h2,
.annai-trust-section h2,
.annai-vm-section h2 {
    font-weight: 700;
}

.annai-profile-section img,
.anc-academic-hero img,
.anc-teaching-section img,
.anc-clinical-section img,
.anc-simulation-section img,
.acn-admission-hero img,
.acn-admission-overview img,
.acn-programmes-section img,
.acn-application-section img,
.annai-anm-hero img,
.annai-anm-section img,
.annai-approval-section img,
.annai-bsc-hero img,
.annai-bsc-section img,
.acn-chairman-section img,
.acn-contact-section img,
.annai-commit-section img,
.acn-facilities-section img,
.acn-gallery-section img,
.annai-philosophy-section img,
.acn-principal-section img,
.annai-programme-section img,
.acd-growth-section img,
.annai-trust-section img,
.annai-vm-section img {
    max-width: 100%;
}

/* Unified green/yellow accent for common cards and panels */
.annai-profile-highlight,
.acn-highlight-card,
.acn-contact-card,
.annai-approval-card,
.annai-programme-card,
.annai-vm-card,
.annai-commit-card,
.acn-facility-card,
.acn-gallery-card,
.acn-admission-card,
.acn-application-card {
    border-radius: 16px;
}

/* Consistent inner-page spacing */
.annai-profile-section,
.annai-approval-section,
.annai-programme-section,
.annai-philosophy-section,
.annai-trust-section,
.annai-vm-section,
.annai-commit-section,
.acd-growth-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Inner page breadcrumb follows the same premium homepage palette */
.pharma-breadcrumb.page-title:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: var(--pharma-yellow);
    border-radius: 10px 10px 0 0;
    z-index: 3;
}

@media(max-width:767px) {

    .annai-profile-section,
    .annai-approval-section,
    .annai-programme-section,
    .annai-philosophy-section,
    .annai-trust-section,
    .annai-vm-section,
    .annai-commit-section,
    .acd-growth-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }
}

/* Brand Colors */

.top-social a.facebook {
    background: #1877F2;
}

.top-social a.instagram {
    background: linear-gradient(45deg, #c0452b, #DD2A7B, #8134AF, #515BD4);
}

.top-social a.youtube {
    background: #FF0000;
}

.top-social a.whatsapp {
    background: #25D366;
}

/* =========================================
   ACCREDITATION & PARTNERSHIPS
========================================= */

.accreditation-showcase {
    position: relative;
    padding: 35px 0;
    overflow: hidden;
    background: #ffffff;
}

.accreditation-showcase .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Heading */

.accreditation-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.accreditation-kicker {
    display: block;
    margin-bottom: 10px;
    color: #e75480;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.accreditation-heading h2 {
    position: relative;
    display: inline-block;
    margin: 0 0 15px;
    color: #490f4a;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
}

.accreditation-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 55px;
    height: 3px;
    border-radius: 50px;
    background: #5b1a60;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.accreditation-heading:hover h2::after {
    width: 90px;
}

.accreditation-heading p {
    max-width: 720px;
    margin: 20px auto 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   CARD GRID
========================================= */

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


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

.accreditation-card {
    position: relative;
    padding: 20px 20px 15px;
    overflow: hidden;
    border-radius: 22px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
    isolation: isolate;
}

/* Individual card backgrounds */

.approval-card {
    background: linear-gradient(135deg, #294f9d, #22376e);
}

.nursing-card {
    background: linear-gradient(135deg, #22b8b0, #18836d);
}

.state-card {
    background: linear-gradient(135deg, #ffab1d, #ff6b00);
}

.university-card {
    background: linear-gradient(135deg, #8f44ad, #cc4aa2);
}


/* Decorative circle */

.card-shape {
    position: absolute;
    width: 180px;
    height: 180px;
    top: -75px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    z-index: -1;
    transition:
        width 0.5s ease,
        height 0.5s ease,
        transform 0.5s ease;
}

.accreditation-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -60px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    z-index: -1;
}


/* =========================================
   CARD HOVER
========================================= */

.accreditation-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(22, 40, 70, 0.20);
}

.accreditation-card:hover .card-shape {
    width: 230px;
    height: 230px;
    transform: rotate(15deg);
}


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

.accreditation-image {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    margin-bottom: 22px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
    margin: auto;
}

.accreditation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.accreditation-card:hover .accreditation-image {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}


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

.accreditation-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.accreditation-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.accreditation-content h3 {
    margin: 10px 0 0px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.accreditation-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   CARD ANIMATION
========================================= */

.accreditation-card {
    animation: accreditationFadeUp 0.8s ease both;
}

.accreditation-card:nth-child(1) {
    animation-delay: 0.10s;
}

.accreditation-card:nth-child(2) {
    animation-delay: 0.20s;
}

.accreditation-card:nth-child(3) {
    animation-delay: 0.30s;
}

.accreditation-card:nth-child(4) {
    animation-delay: 0.40s;
}

@keyframes accreditationFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

.accreditation-image {
    animation: accreditationFloat 3s ease-in-out infinite;
}

@keyframes accreditationFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.accreditation-card:hover .accreditation-image {
    animation-play-state: paused;
}

.pharma-nav-area .pharma-mainmenu>li.current>a {
    color: #bc1a4b !important;
    position: relative;
}

.pharma-nav-area .pharma-mainmenu>li.current>a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 100%;
    height: 2px;
    background: #bc1a4b;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199.98px) {

    .accreditation-showcase {
        padding: 70px 0;
    }

    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .accreditation-card {
        min-height: 290px;
    }

    .accreditation-heading h2 {
        font-size: 34px;
    }
}


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

@media (max-width: 767.98px) {

    .accreditation-showcase {
        padding: 55px 0;
    }

    .accreditation-showcase .container {
        padding: 0 15px;
    }

    .accreditation-heading {
        margin-bottom: 35px;
    }

    .accreditation-kicker {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .accreditation-heading h2 {
        font-size: 28px;
    }

    .accreditation-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .accreditation-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .accreditation-card {
        min-height: auto;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .accreditation-image {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        margin-bottom: 18px;
    }

    .accreditation-content h3 {
        font-size: 19px;
    }

    .accreditation-content p {
        font-size: 14px;
    }

    .accreditation-card:hover {
        transform: translateY(-6px);
    }
}


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

@media (max-width: 575.98px) {

    .accreditation-showcase {
        padding: 45px 0;
    }

    .accreditation-heading h2 {
        font-size: 25px;
    }

    .accreditation-card {
        padding: 25px 20px;
    }

    .accreditation-image {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .accreditation-content h3 {
        font-size: 18px;
    }
    .pharma-nav-area .pharma-mainmenu>li.current>a::before {
   display: none;
}
}