/* float button*/
/* Prevent page from becoming wide */
html,
body {
    overflow-x: hidden;
}

/* Container */
.pcu-float-wrap {
    position: fixed;
    top: 45%;
    right: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Buttons */
.pcu-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    /* vertical tab width */
    height: 170px;
    /* vertical tab height */
    padding: 10px;

    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: #fff;

    border-radius: 12px 0 0 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);

    /* vertical text */
    writing-mode: vertical-rl;
    text-orientation: mixed;

    transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover */
.pcu-float-btn:hover {
    transform: translateX(-6px);
    filter: brightness(1.05);
}

/* Apply Now */
.pcu-apply {
    background: #941c34;
    color: #ffffff;
    animation: pcuPulse 2s infinite;
}


/* Pulse */
@keyframes pcuPulse {
    0% {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    50% {
        box-shadow: 0 10px 25px rgba(244, 180, 0, 0.55);
    }

    100% {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pcu-float-btn {
        width: 45px;
        height: 140px;
        font-size: 12px;
    }
}


/*


<!-- HERO SECTION -->
    
        /* RESET */
body {
    margin: 0;
    padding: 0;
}

/* HERO WRAPPER */
.pharmacy-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* BANNER IMAGE */
.pharmacy-banner {
    width: 100%;
    overflow: hidden;
}

.pharmacy-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Remove gap below banner */
.pharmacy-hero+section,
.pharmacy-hero+.container,
.pharmacy-hero+.container-fluid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .pharmacy-banner img {
        max-height: 60vh;
        object-fit: cover;
    }
}

/*info button*/


.info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.info-btn i {
    font-size: 18px;
}

.btn-website {
    background-color: #941c34;
}

.btn-linkedin {
    background-color: #941c34;
}

.btn-website:hover,
.btn-linkedin:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}



.ticker-bar {
    background: rgba(56, 11, 20, 0.95);
    color: #fff;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem 1rem;
    font-weight: 600;
    font-size: .95rem;
}

.ticker-label {
    background: #fff;
    color: #931b32;
    font-weight: 800;
    border-radius: 999px;
    padding: .15rem .6rem;
    font-size: .75rem;
    white-space: nowrap;
}

.ticker-bar marquee {
    width: 100%;
}

.ticker-separator {
    margin: 0 30px;
    color: #ffb3b3;
    font-weight: 700;
}


/* USP unversity*/
/* ===== Colors (matching screenshot vibe) ===== */
:root {
    --pcet-bg: #dcd9d9;
    /* light grey container */
    --pcet-card: #ffffff;
    /* white stat cards */
    --pcet-maroon: #931b32;
    /* PCU/PCET maroon */
    --pcet-text: #1f2937;
    /* dark text */
    --pcet-muted: #6b7280;
    /* label muted */
    --pcet-pill: #cfd6d8;
    /* pill background */
    --pcet-pill-border: #9aa7ad;
    /* pill border */
}

.pcet-highlights-wrap {
    width: 100%;
    padding: 26px 12px;
}

.pcet-highlights {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--pcet-bg);
    background: linear-gradient(rgba(40, 120, 235, 0.05), rgba(40, 120, 235, 0.05)), url(../img/bg-image.jpg);

    border-radius: 22px;
    padding: 22px 22px 26px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    position: relative;
}

/* Top Pill */
.pcet-pill {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--pcet-pill);
    border: 1px solid var(--pcet-pill-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pcet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pcet-maroon);
    box-shadow: 0 0 0 3px rgba(147, 27, 50, .18);
}

.pcet-pill-text {
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 13px;
    color: #0f3a45;
    text-transform: uppercase;
}

/* Grid */
.pcet-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

/* Card */
.pcet-card {
    background: var(--pcet-card);
    border-radius: 16px;
    padding: 18px 18px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    min-height: 92px;
}

.pcet-num {
    font-weight: 900;
    color: var(--pcet-maroon);
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
}

.pcet-num span {
    font-size: 18px;
    font-weight: 900;
    vertical-align: top;
    margin-left: 2px;
}

.pcet-label {
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Divider */
.pcet-divider {
    margin: 18px 0 18px;
    position: relative;
    text-align: center;
}

.pcet-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px dashed rgba(0, 0, 0, .25);
    transform: translateY(-50%);
}

.pcet-divider span {
    position: relative;
    display: inline-block;
    background: var(--pcet-bg);
    padding: 0 14px;
    font-weight: 900;
    letter-spacing: .18em;
    font-size: 12px;
    color: #0f3a45;
    text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .pcet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pcet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pcet-pill-text {
        font-size: 11px;
        letter-spacing: .08em;
    }
}

@media (max-width: 480px) {
    .pcet-grid {
        grid-template-columns: 1fr;
    }

    .pcet-card {
        padding: 16px;
    }
}


/*about section*/
#about-law .about-img {
    position: relative;
}

#about-law .about-img img {
    border-radius: 16px;
}

#about-law .about-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #931b32;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: .9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}


/* compact styles for this section */

#leadership-messages h6 {
    color: #931b32;
    letter-spacing: .08em;
    font-weight: 600;
}

#leadership-messages h2 {
    font-weight: 700;
    letter-spacing: .2px;
}

.leader-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
}

.leader-photo-wrap {
    width: 260px;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-name {
    font-weight: 700;
    margin-top: .4rem;
    font-size: 1.1rem;
}

.leader-title {
    font-size: .95rem;
    color: #6b7280;
}

#leadership-messages h3 {
    color: #931b32;
    font-variant: small-caps;
    letter-spacing: .04em;
}

#leadership-messages p {
    line-height: 1.8;
    color: #333;
}

.leader-btn {
    background: #931b32;
    color: #fff;
    border-radius: 8px;
    padding: .55rem .9rem;
}

.leader-btn:hover {
    background: #7a1629;
    color: #fff;
}

.d-flex.flex-wrap.gap-2 {
    gap: 12px;
    /* Adjust spacing as per need */
}


/* Flip layout for second card (HOD) on large screens */
@media (min-width: 992px) {
    #leadership-messages .leader-card:nth-of-type(2) .row {
        flex-direction: row-reverse;
    }
}

/* Smaller devices */
@media (max-width: 575.98px) {
    .leader-photo-wrap {
        width: 180px;
    }
}


/* Courses Start */

.course-card {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    max-height: 350px;
    /* Reduced card height */
}

.course-card img {
    height: 220px;
    /* Shorter image height */
    object-fit: cover;
}

.course-card .card-body {
    padding: 10px 15px;
}

.course-card .card-title {
    margin-bottom: 8px;
    /* Reduced gap under title */
    font-size: 1.2rem;
}

.course-card .card-footer {
    padding: 10px;
}


/* Team Start */

/* Card look + consistent spacing */
.team-item {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-item .bg-light {
    background: #f8f9fa !important;
}

/* Uniform image sizing (desktop/tablet/mobile) */


.team-item img {
    width: 100%;
    height: 350px;
    /* fixed image height */
    object-fit: cover;
    /* crop image */
    object-position: center;
    /* center the face */
    display: block;
}

.bg-light.text-center.p-4 {
    background-color: #d4d6d7 !important;
}

/* Tighter text spacing */
.team-item h5 {
    margin-bottom: .4rem;
    font-size: 1.05rem;
}

.team-item p {
    margin-bottom: .8rem;
    font-size: .95rem;
    color: #555;
}

/* Buttons: same style, no underline/hover color shift */
.instructor-btn {
    display: inline-block;
    margin: 4px;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #fff !important;
    background-color: #941c34;
    line-height: 1.1;
}

.instructor-btn:hover,
.instructor-btn:focus {
    text-decoration: none !important;
    color: #fff !important;
    background-color: #941c34;
    /* no change on hover */
}

/* Responsive image heights */
@media (max-width: 992px) {
    .team-photo {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .team-photo {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .team-photo {
        height: 160px;
    }
}

/* ===== Footer: mobile-responsive tweaks (scoped to the dark footer block) ===== */
.container-fluid.overlay-top.bg-dark {
    --footer-gap: 1.25rem;
    --footer-h1: clamp(1.1rem, 4.5vw, 2rem);
    --footer-h3: clamp(1rem, 3.8vw, 1.5rem);
    --footer-text: clamp(.95rem, 2.9vw, 1rem);
    --footer-pad-y: clamp(2rem, 5vw, 3.5rem);
}

/* tighten top spacing on the inner container */
.container-fluid.overlay-top.bg-dark .mt-5.pt-5 {
    margin-top: 0 !important;
    padding-top: var(--footer-pad-y) !important;
}

/* headings + body size scale */
.container-fluid.overlay-top.bg-dark h1 {
    font-size: var(--footer-h1);
    line-height: 1.25;
    margin-bottom: .5rem;
}

.container-fluid.overlay-top.bg-dark h3 {
    font-size: var(--footer-h3);
    margin-bottom: 1rem;
}

.container-fluid.overlay-top.bg-dark p,
.container-fluid.overlay-top.bg-dark a {
    font-size: var(--footer-text);
}

/* improve contrast for text-white-50 on dark backgrounds */
.container-fluid.overlay-top.bg-dark .text-white-50 {
    color: rgba(255, 255, 255, .75) !important;
}

/* row spacing between the two footer rows */
.container-fluid.overlay-top.bg-dark .row+.row {
    row-gap: var(--footer-gap);
}

/* brand block spacing on tablets */
@media (max-width: 991.98px) {
    .container-fluid.overlay-top.bg-dark .navbar-brand {
        display: inline-block;
        margin-bottom: .5rem;
    }
}

/* center content on phones and tighten icon spacing */
@media (max-width: 767.98px) {
    .container-fluid.overlay-top.bg-dark .row>[class*="col-"] {
        text-align: center;
    }

    .container-fluid.overlay-top.bg-dark .d-flex.justify-content-start {
        justify-content: center !important;
    }

    .container-fluid.overlay-top.bg-dark .d-flex.justify-content-start a {
        margin-right: .75rem;
    }
}

/* social icon size + back-to-top breathing room on small phones */
@media (max-width: 575.98px) {
    .container-fluid.overlay-top.bg-dark {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container-fluid.overlay-top.bg-dark .fa-2x {
        font-size: 1.5em;
    }
}

/* map: responsive height overrides the iframe's height attribute */
.container-fluid.overlay-top.bg-dark iframe {
    width: 100%;
    height: 300px;
    display: block;
}

@media (max-width: 991.98px) {
    .container-fluid.overlay-top.bg-dark iframe {
        height: 260px;
    }
}

@media (max-width: 575.98px) {
    .container-fluid.overlay-top.bg-dark iframe {
        height: 210px;
    }
}

/* link list spacing in "Our Courses" */
.container-fluid.overlay-top.bg-dark .d-flex.flex-column a {
    padding: .15rem 0;
}

/* ===== POPUP BASE ===== */
.pcu-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 15px;
}

.pcu-popup-box {
    width: 900px;
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    position: relative;
}


@keyframes popupZoom {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON – ALWAYS VISIBLE */
.pcu-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 99;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

/* LEFT IMAGE */
.pcu-popup-left {
    width: 45%;
    background: #931b32;
    position: relative;
}

.pcu-popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcu-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    color: #931b32;
}

/* RIGHT CONTENT */
.pcu-popup-right {
    width: 50%;
    padding: 24px;
    overflow-y: auto;
}

.pcu-popup-right h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.pcu-popup-right ul {
    padding-left: 18px;
    margin: 15px 0;
}

.popup-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 55px;
}

/* BUTTONS */
.btn-primary {
    background: #931b32;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.btn-outline {
    border: 2px solid #931b32;
    color: #931b32;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
}

/* CONFETTI */
#confettiCanvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ================= MOBILE FIX ================= */
/* ================================
/* MOBILE VIEW – AUTO HEIGHT (NO FULL SCREEN) */
@media (max-width: 768px) {

    /* Hide image completely */
    .pcu-popup-left {
        display: none !important;
    }

    /* Popup box adjusts to content */
    .pcu-popup-box {
        height: auto !important;
        max-height: 90vh;
        flex-direction: column;
    }

    /* Content fills naturally */
    .pcu-popup-right {
        width: 100%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }

    /* Keep close button visible */
    .pcu-popup-close {
        top: 10px;
        right: 10px;
        z-index: 9999;
    }
}