
/* =========================================================
   BOU REGIONAL CENTER PAGE
   Clean SRC Card Design
   ========================================================= */


/* =========================================================
   COMMON
   ========================================================= */

.rc-about-section,
.rc-src-section,
.rc-contact-section {
    width: 100%;
}

.rc-section-heading span,
.rc-contact-heading span {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #990066;
}

.rc-section-heading h2,
.rc-contact-heading h2 {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    color: #225C9E;
}

.rc-heading-center {
    text-align: center;
    margin-bottom: 32px;
}

.rc-heading-center p {
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   ABOUT REGIONAL CENTER
   ========================================================= */

.rc-about-wrapper {
    display: flex;
    align-items: stretch;
    overflow: hidden;

    background: #fff;

    border: 1px solid #e8edf2;
    border-radius: 8px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}


/* Director */

.rc-director {
    width: 27%;

    padding: 25px 20px;

    text-align: center;

    background: #f5f8fb;

    border-right: 1px solid #e4e9ee;
}


.rc-director-image img {
    width: 145px;
    height: 175px;

    object-fit: cover;

    margin: 0 auto;

    border: 4px solid #fff;
    border-radius: 5px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}


.rc-director-info h3 {
    margin: 17px 0 5px;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}


.rc-director-info p {
    margin: 0 0 4px;

    font-size: 14px;
    font-weight: 600;

    color: #225C9E;
}


.rc-director-info span {
    font-size: 12px;
    color: #777;
}


/* About content */

.rc-about-content {
    width: 73%;
    padding: 35px 40px;
}


.rc-about-content p {
    margin: 0;

    font-size: 15px;
    line-height: 1.85;

    color: #555;

    text-align: justify;
}



/* =========================================================
   SRC SECTION
   ========================================================= */

.rc-src-section {
    background: #f7f9fb;
}


.rc-src-grid {
    display: flex;
    flex-wrap: wrap;
}


.rc-src-grid > div {
    margin-bottom: 25px;
}


/* =========================================================
   SRC CARD
   ========================================================= */

.rc-src-card {
    position: relative;

    height: 100%;
    min-height: 205px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    padding: 0 22px 20px;

    background: #fff;

    border: 1px solid #e3e8ed;
    border-radius: 7px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Subtle top accent */

.rc-src-card:before {
    content: "";

    display: block;

    width: 100%;
    height: 4px;

    margin: 0 -22px 0;

    padding-right: 44px;

    background: #225C9E;
}


/* Hover */

.rc-src-card:hover {
    transform: translateY(-4px);

    border-color: #ccd8e3;

    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.08);
}


/* SRC content */

.rc-src-content {
    flex: 1;

    padding-top: 21px;
}


.rc-src-label {
    display: block;

    margin-bottom: 9px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    color: #990066;
}


.rc-src-content h3 {
    margin: 0;

    font-size: 17px;
    line-height: 1.45;

    font-weight: 600;

    color: #333;
}


.rc-src-description {
    margin: 10px 0 0;

    font-size: 12px !important;
    line-height: 1.6 !important;

    color: #777;

    text-align: left !important;
}


/* =========================================================
   VIEW DETAILS BUTTON
   ========================================================= */

.rc-view-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 20px;

    padding: 9px 13px;

    background: #fff;

    border: 1px solid #225C9E;
    border-radius: 4px;

    color: #225C9E !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.rc-view-btn strong {
    font-size: 17px;
    line-height: 1;

    font-weight: 500;
}


.rc-view-btn:hover {
    background: #225C9E;

    color: #fff !important;
}


.rc-view-btn:hover strong {
    transform: translateX(2px);
}



/* =========================================================
   CONTACT SECTION
   ========================================================= */

.rc-contact-wrapper {
    background: #fff;
}


.rc-contact-heading {
    margin-bottom: 25px;
}


.rc-contact-details {
    padding: 28px 30px;

    background: #f7f9fb;

    border: 1px solid #e5e9ee;
    border-radius: 7px;
}


.rc-contact-details h3 {
    margin: 0 0 18px;

    font-size: 20px;
    font-weight: 600;

    color: #225C9E;
}


.rc-contact-details p {
    margin: 0 0 8px;

    font-size: 14px;
    line-height: 1.7;

    color: #555;
}


.rc-contact-line {
    margin-top: 10px;

    font-size: 14px;
    line-height: 1.6;

    color: #555;
}


.rc-contact-line strong {
    margin-right: 4px;
    color: #333;
}


.rc-contact-line a {
    color: #225C9E !important;
    text-decoration: none;
}


.rc-contact-line a:hover {
    color: #990066 !important;
}



/* =========================================================
   GOOGLE MAP BOX
   ========================================================= */

.rc-map-box {
    height: 100%;
    min-height: 255px;

    padding: 28px;

    background: #225C9E;

    border-radius: 7px;

    color: #fff;
}


.rc-map-icon {
    display: inline-block;

    margin-bottom: 18px;

    padding: 5px 9px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 3px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}


.rc-map-box h3 {
    margin: 0 0 10px;

    font-size: 19px;
    font-weight: 600;

    color: #fff;
}


.rc-map-box p {
    margin: 0 0 22px;

    font-size: 13px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.85);
}


.rc-map-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-width: 190px;

    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;

    color: #fff !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.rc-map-btn strong {
    margin-left: 12px;

    font-size: 17px;
    font-weight: 500;
}


.rc-map-btn:hover {
    background: #fff;

    color: #225C9E !important;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .rc-director {
        width: 32%;
    }

    .rc-about-content {
        width: 68%;
        padding: 30px;
    }

    .rc-src-card {
        min-height: 205px;
    }

}


@media (max-width: 767px) {

    /* About */

    .rc-about-wrapper {
        display: block;
    }

    .rc-director,
    .rc-about-content {
        width: 100%;
    }

    .rc-director {

        border-right: 0;

        border-bottom: 1px solid #e4e9ee;

        padding: 25px 20px;
    }

    .rc-about-content {
        padding: 28px 22px;
    }


    /* Headings */

    .rc-section-heading h2,
    .rc-contact-heading h2 {
        font-size: 24px;
    }


    .rc-about-content p {
        font-size: 14px;
        line-height: 1.75;
    }


    /* SRC */

    .rc-src-grid {
        display: block;
    }

    .rc-src-grid > div {
        width: 100%;
    }

    .rc-src-card {
        min-height: 0;
    }


    /* Contact */

    .rc-contact-details {
        margin-bottom: 20px;

        padding: 24px 20px;
    }


    .rc-map-box {
        min-height: 0;
    }

}


@media (max-width: 480px) {

    .rc-director-image img {
        width: 130px;
        height: 160px;
    }


    .rc-about-content {
        padding: 25px 18px;
    }


    .rc-src-card {
        padding: 0 20px 20px;
    }


    .rc-src-card:before {
        margin-left: -20px;
        padding-right: 40px;
    }


    .rc-src-content h3 {
        font-size: 16px;
    }


    .rc-contact-details {
        padding: 22px 18px;
    }


    .rc-map-box {
        padding: 24px 20px;
    }

}




/* ==========================================================
   BOU SUB-REGIONAL CENTER
   Clean / Minimal Design
   ========================================================== */

.bou-src-page {
    background: #f6f8fb;
    padding-top: 30px;
    padding-bottom: 20px;
}


/* ==========================================================
   MAIN CARD
   ========================================================== */

.bou-src-wrapper {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.045);
}


/* ==========================================================
   HEADER
   ========================================================== */

.bou-src-header {
    background: #225c9e;
    position: relative;
}

.bou-src-header-content {
    padding: 24px 30px 23px;
}

.bou-src-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.3px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.bou-src-header h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.bou-src-line {
    display: block;
    width: 55px;
    height: 3px;
    background: #990066;
    margin-top: 13px;
}


/* ==========================================================
   CONTENT AREA
   ========================================================== */

.bou-src-content {
    padding: 28px 30px 35px;
}

.bou-src-richtext {
    color: #444444;
    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================
   RICH TEXT HEADINGS
   ========================================================== */

.bou-src-richtext h1,
.bou-src-richtext h2,
.bou-src-richtext h3,
.bou-src-richtext h4,
.bou-src-richtext h5,
.bou-src-richtext h6 {
    color: #225c9e;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 28px;
    margin-bottom: 15px;
}

.bou-src-richtext h1 {
    font-size: 25px;
}

.bou-src-richtext h2 {
    font-size: 22px;
}

.bou-src-richtext h3 {
    font-size: 19px;
}

.bou-src-richtext h4 {
    font-size: 17px;
}

.bou-src-richtext h5 {
    font-size: 16px;
}

.bou-src-richtext h6 {
    font-size: 15px;
}


/* ==========================================================
   SECTION HEADINGS
   Works particularly well with:
   Officer's List
   List of the Study Center
   Contact Information
   ========================================================== */

.bou-src-richtext h3,
.bou-src-richtext h4 {
    position: relative;
}


/* ==========================================================
   PARAGRAPHS
   ========================================================== */

.bou-src-richtext p {
    margin: 0 0 12px;
    line-height: 1.75;
}


/* ==========================================================
   TABLES
   ========================================================== */

.bou-src-richtext table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 10px 0 28px;
    background: #ffffff;
    border: 1px solid #dfe5eb;
}


/* Table header */

.bou-src-richtext table thead th,
.bou-src-richtext table th {
    background: #225c9e;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 13px;
    border: 1px solid #d7dee6;
    text-align: left;
    vertical-align: middle;
}


/* Table cells */

.bou-src-richtext table td {
    color: #444444;
    font-size: 14px;
    line-height: 1.6;
    padding: 11px 13px;
    border: 1px solid #dfe5eb;
    vertical-align: top;
}


/* Alternating rows */

.bou-src-richtext table tbody tr:nth-child(even) td {
    background: #f7f9fc;
}


/* Hover */

.bou-src-richtext table tbody tr:hover td {
    background: #f0f5fa;
}


/* ==========================================================
   OFFICER TABLE
   ========================================================== */

.bou-src-richtext table:first-of-type {
    margin-top: 5px;
}


/* Keep email readable */

.bou-src-richtext table td a {
    word-break: break-word;
}


/* ==========================================================
   LINKS
   ========================================================== */

.bou-src-richtext a {
    color: #225c9e;
    text-decoration: none;
    font-weight: 500;
}

.bou-src-richtext a:hover {
    color: #990066;
    text-decoration: underline;
}


/* ==========================================================
   BOLD TEXT
   ========================================================== */

.bou-src-richtext strong,
.bou-src-richtext b {
    color: #333333;
    font-weight: 600;
}


/* ==========================================================
   LISTS
   ========================================================== */

.bou-src-richtext ul,
.bou-src-richtext ol {
    margin: 10px 0 18px;
    padding-left: 25px;
}

.bou-src-richtext li {
    margin-bottom: 6px;
}


/* ==========================================================
   IMAGES
   ========================================================== */

.bou-src-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


/* ==========================================================
   BLOCKQUOTE
   ========================================================== */

.bou-src-richtext blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    background: #f5f8fb;
    border-left: 4px solid #225c9e;
    color: #555555;
}


/* ==========================================================
   HORIZONTAL RULE
   ========================================================== */

.bou-src-richtext hr {
    border: 0;
    border-top: 1px solid #e2e6eb;
    margin: 25px 0;
}


/* ==========================================================
   CONTACT INFORMATION
   ========================================================== */

.bou-src-richtext p strong:first-child {
    color: #225c9e;
}


/* ==========================================================
   RESPONSIVE TABLE
   ========================================================== */

@media (max-width: 767px) {

    .bou-src-page {
        padding-top: 15px;
    }

    .bou-src-header-content {
        padding: 20px 18px 19px;
    }

    .bou-src-header h2 {
        font-size: 21px;
    }

    .bou-src-kicker {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .bou-src-line {
        width: 45px;
        height: 3px;
        margin-top: 10px;
    }

    .bou-src-content {
        padding: 20px 15px 25px;
    }

    .bou-src-richtext {
        font-size: 14px;
        line-height: 1.7;
    }

    .bou-src-richtext h1 {
        font-size: 21px;
    }

    .bou-src-richtext h2 {
        font-size: 19px;
    }

    .bou-src-richtext h3 {
        font-size: 17px;
    }

    .bou-src-richtext h4 {
        font-size: 16px;
    }

    /*
       Allow wide tables to scroll horizontally
       instead of breaking the mobile layout.
    */

    .bou-src-richtext table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: normal;
    }

    .bou-src-richtext table th,
    .bou-src-richtext table td {
        font-size: 13px;
        padding: 9px 9px;
        min-width: 100px;
    }

    .bou-src-richtext table th:first-child,
    .bou-src-richtext table td:first-child {
        min-width: 120px;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .bou-src-header h2 {
        font-size: 19px;
    }

    .bou-src-content {
        padding: 18px 12px 22px;
    }

    .bou-src-richtext {
        font-size: 13.5px;
    }

    .bou-src-richtext table th,
    .bou-src-richtext table td {
        font-size: 12.5px;
        padding: 8px;
    }
}





/* =========================================================
   BARISHAL RC - 3 + 2 SRC CARD LAYOUT
   ========================================================= */

.rc-src-second-row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.rc-src-card-col {
    width: calc(33.333% - 15px);
}


/* Tablet */
@media (max-width: 991px) {

    .rc-src-second-row {
        gap: 20px;
    }

    .rc-src-card-col {
        width: calc(50% - 10px);
    }
}


/* Mobile */
@media (max-width: 767px) {

    .rc-src-second-row {
        display: block;
        margin-top: 0;
    }

    .rc-src-card-col {
        width: 100%;
        margin-top: 20px;
    }
}