@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


a:focus,
div:focus,
p:focus,
h1:focus,
button:focus,
h1:focus,
p:focus {
    outline: 2px solid #007bff !important;
    /* Customize the color and thickness */
    outline-offset: 2px !important;
    /* Adds spacing between the outline and element */
}


.team_card_img {
    width: 100%;
    /* Full width of the container */
    position: relative;
    padding-top: 100%;
    /* Makes the container square */
    overflow: hidden;
}

.team_card_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the container */
    transform: translate(-50%, -50%);
    /* Center the image */
}

.doctor_card_img {
    width: 100%;
    /* Full width of the container */
    position: relative;
    padding-top: 100%;
    /* Makes the container square */
    overflow: hidden;
}

.doctor_card_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the container */
    transform: translate(-50%, -50%);
    /* Center the image */
}

.events_box {
    width: 100%;
    /* Full width of the container */
    position: relative;
    padding-top: 100%;
    /* Makes the container square */
    overflow: hidden;
}

.events_box img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the container */
    transform: translate(-50%, -50%);
    /* Center the image */
}


h3.event-title {

    font-size: 24px;
}

.notification-popup {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 250px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999999 !important;
    display: none;
}

.notification-popup h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.popup-buttons {
    display: flex;
    gap: 10px;
}


.profile_modal_description p {
    margin-bottom: 20px;
}

.career-content {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

small.job-meta {
    font-size: 70%;
    text-transform: uppercase;
}

.content_box ul li {
    list-style-type: disc;
    font-size: 16px;
    margin-bottom: 10px;
}

ul.disc li {
    list-style-type: disc;
    font-size: 16px;
    margin-bottom: 10px;
    margin-left: 3%;
}

.btn-download {
    background-color: #2b3044;
    color: #fff;
    border-radius: 100px;
    padding: 12px 40px;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
}


.regular-text h6 {
    font-size: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.regular-text h5 {
    font-size: 22px;
    padding-bottom: 10px;
}

.regular-text p {
    font-size: 16px;
}

.regular-text ul li {
    list-style-type: disc;
    font-size: 16px;
    margin-bottom: 10px;
    margin-left: 30px;
}

/* pill nav */

.pill-start .nav-link {
    display: block;
    padding: .5rem 1rem;
    background: none;
    border: 0;
    background-color: transparent !important;
    color: #000;
    font: normal normal normal 18px/25px Arial;
    text-align: left;
    position: relative;
    padding-left: 55px;
}

.pill-start .nav-link:focus {
    outline: 0;
}

.pill-start .nav-link.active,
.pill-start .nav-pills .show>.nav-link {
    color: #873EEB;
    background-color: transparent !important;
}

.pill-start .nav-link.active:after {
    background: #873EEB;
}

.pill-start {
    flex-direction: column;
}

.pill-start a.nav-link:after {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #000;
    content: "";
    border-radius: 100%;
    left: 0;
    top: 11px;
}

.pill-start a.nav-link:before {
    position: absolute;
    width: 1px;
    height: 100%;
    background: #000;
    content: "";
    left: 8px;
    top: 12px;
}

.pill-start li:last-child a.nav-link:before {
    content: none;
}

.pill-cnts h3 {
    font: normal normal bold 28px/41px Arial;
    letter-spacing: 0px;
    color: #8212ED;
    margin-bottom: 10px;
}

.pill-cnts p {
    font: normal normal normal 16px/28px Arial;
    letter-spacing: 0px;
    color: #474747;
}

.tab-content.pill-cnts {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#modal-services .tab-content>.active {
    display: block;
    padding-left: 100px;
}

.physio-tabs .nav-tabs {
    padding: 0 1.8rem 0 .8rem;
}

.cp-services h6.title_xs {
    font-weight: normal !important;
    border-bottom: 1px solid #cccccc3d;
    padding-bottom: 20px;
    font-size: 20px;

}

.sound_btn {
    display: none;
}


.card-header h2 button {
    font-size: 18px;
}

.card {
    margin-bottom: 30px;
}

.card-header {
    background-color: transparent;
}

.justify p {
    text-align: justify;
}

.button.button_tomato:hover {
    text-decoration: none !important;
    color: #fff !important;
}

/* Accordion Styling */
#accordionExample {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#accordionExample .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(45, 49, 146, 0.05) 0%, rgba(58, 25, 101, 0.05) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#accordionExample .card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

#accordionExample .card-header {
    background: linear-gradient(135deg, #2D3192 0%, #3A1965 100%);
    border: none;
    padding: 0;
}

#accordionExample .card-header h2 {
    margin: 0;
}

#accordionExample .card-header button {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 60px;
}

#accordionExample .card-header button:hover {
    background: rgba(242, 94, 39, 0.1);
    text-decoration: none;
}

#accordionExample .card-header button:focus {
    outline: 2px solid #F2A127;
    outline-offset: -2px;
    box-shadow: none;
}

#accordionExample .card-header button::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    color: #F2A127;
    transition: transform 0.3s ease;
}

#accordionExample .card-header button:not(.collapsed)::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

#accordionExample .card-body {
    padding: 25px;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.7;
}

#accordionExample .card-body p {
    margin-bottom: 15px;
}

#accordionExample .card-body p:last-child {
    margin-bottom: 0;
}

#accordionExample .card-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

#accordionExample .card-body ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: #474747;
}

#accordionExample .card-body h5,
#accordionExample .card-body h6 {
    color: #2D3192;
    margin-top: 20px;
    margin-bottom: 10px;
}

#accordionExample .card-body h5:first-child,
#accordionExample .card-body h6:first-child {
    margin-top: 0;
}

#accordionExample .collapse {
    transition: height 0.35s ease;
}

/* Enhanced Programme Details Box Styling */
.programme_details_box {
    max-width: 96rem;
    border-radius: 20px;
    background: #FFF;
    margin: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.programme_details_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2D3192 0%, #3A1965 50%, #F2A127 100%);
}

.programme_details_box:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.programme_details_box p {
    color: #474747;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0;
}



.programme_details_box p+p {
    margin-top: 25px;
}

/* Responsive adjustments for programme_details_box */
@media (max-width: 768px) {
    .programme_details_box {
        border-radius: 15px;
    }

    .programme_details_box p {
        font-size: 16px;
        line-height: 1.7;
    }

    .programme_details_box p:first-of-type::first-letter {
        font-size: 2.8em;
    }
}