/* ================================
   BCNS Common Public Styles
================================ */

/* Page Hero */
.about-hero-section {
    position: relative;
    min-height: 220px;
    background: url("/images/BCNS-Classroom.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.66);
}

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

/* Common Title */
.custom-title-container {
    position: relative;
    text-align: center;
}

.custom-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.custom-theme-color {
    color: #0cb8b6;
}

.border-bottom.center {
    display: block;
    width: 100px;
    height: 1px;
    position: relative;
    background: #cccccc;
    margin: 0 auto;
    border-radius: 5px;
    border-bottom: none;
}

.border-bottom::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 1px;
    background: #0cb8b6;
}

.border-bottom::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: -3px;
    background: #0cb8b6;
    animation: moveDot 3s infinite ease-in-out;
}

@keyframes moveDot {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(52px);
    }
}

/* Common Content Heading */
.about-t {
    margin: 0 0 25px;
}

.about-heading {
    font-size: 32px;
    color: #121c52;
    font-weight: 600;
    line-height: 1.2em;
    padding-left: 25px;
    display: inline-block;
    margin: 0;
    position: relative;
}

.about-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom,
        #0cb8b6 0%,
        #3D9BA2 33%,
        #000000 33%,
        #000000 66%,
        #0cb8b6 66%,
        #7AC5CB 100%);
    background-size: 100% 300%;
    background-position: top;
    animation: nurseFlow 6s infinite ease-in-out;
}

@keyframes nurseFlow {
    0% {
        background-position: top;
    }

    100% {
        background-position: bottom;
    }
}

/* Common Button */
.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0cb8b6;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-btn:hover {
    background: #121c52;
    color: #ffffff;
}

.custom-btn:active {
    transform: scale(0.96);
}

/* Common Pagination */
.bcns-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.bcns-pagination a,
.bcns-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #121c52;
    border: 1px solid #dfe7f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.bcns-pagination .active,
.bcns-pagination a:hover {
    background: #0cb8b6;
    color: #ffffff;
    border-color: #0cb8b6;
}

.bcns-pagination .disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Responsive Common */
@media (max-width: 768px) {
    .about-hero-section {
        min-height: 190px;
    }

    .custom-title {
        font-size: 30px;
    }

    .about-heading {
        font-size: 26px;
    }
}
