.beta {
    position: fixed;
    z-index: 9999;
    width: 100px;
    text-align: center;
    padding: 10px;
    margin: auto;
    background: red;
    right: 0px;
    bottom: 20px;
}

.textAlignCenter {
    text-align: center !important;
}

.text-wrap p {
    text-wrap: wrap;
    position: relative;
}

.legal-text {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin: 20px;
}

.skill-level p {
    margin: 0px;
}

.skill-level progress {
    width: 100%;
}

progress::-moz-progress-bar { background: rgb(165 171 120); }
progress::-webkit-progress-value { background: rgb(165 171 120); }
progress { color: rgb(165 171 120); background: rgb(165 171 120); }

.team-member img {
    border-radius: 100%;
    padding: 20px;
}

.team-member h2, .team-member h6, .team-member .card-text {
    font-size: 14px;
}

.align-center {
    text-align: center;
}

.fontSize12 {
    font-size: 12px;
}

.deck img {
    width: calc(100% - 40px);
    margin: 20px;
}

.mc-app {
    height: 250px !important;
    width: 250px !important;
}

.omran {
    position: absolute;
    left: 220px;
    z-index: 99;
    top: 13px;
}

.omran p {
    font-size: 10px;
    margin-bottom: 0px;
    text-align: center;
}

.omran img {
    height: 70px;
    margin: auto;
    position: relative;
    display: block;
}

.omran-footer {
    position: absolute;
    display: inline-block;
    left: 200px;
    top: 0px;
}

.omran-footer img {
    height: 60px;
}

#timeline button i {
    padding-left: 5px;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.list-group {
    height: 100%;
    padding: 20px 0px !important;
    margin-left: 0px;
}

.list-group a {
    text-decoration: none;
}

.list-group p {
    margin-bottom: 0px;
}

.list-group-item:hover {
    background: #f8f9fa;
}

.results {
    margin: 0px auto;
    width: calc(100% - 40px);
    max-width: 350px;
    position: sticky;
    display: block;
    bottom: 14px;
    height: 170px;
    overflow-y: overlay;
    padding: 0px;
}

.islamic {
    background-color: rgb(165 171 120) !important;
}

.african {
    background-color: rgb(78, 25, 18) !important;
}

.buddhist {
    background-color: rgb(132, 95, 35) !important;
}

.hindu {
    background-color: rgb(40, 41, 3) !important;
}

.japanese {
    background-color: rgb(130, 86, 183) !important;
}

.latin-american {
    background-color: rgb(40, 146, 105) !important;
}

.orthodox {
    background-color: rgb(83, 75, 230) !important;
}

.sinic {
    background-color: rgb(121, 24, 100) !important;
}

.western {
    background-color: rgb(28, 49, 159) !important;
}
.arts-and-media {
    background-color: rgba(159, 28, 59, 0.5) !important;
}
.business-and-finance {
    background-color: rgba(28, 49, 159, 0.5) !important;
}
.charity {
    background-color: rgba(137, 159, 28, 0.5) !important;
}
.community-and-housing {
    background-color: rgba(28, 159, 45, 0.5) !important;
}
.education {
    background-color: rgba(74, 28, 159, 0.5) !important;
}
.food-and-environment {
    background-color: rgba(28, 159, 148, 0.5) !important;
}
.healthcare-and-social-care {
    background-color: rgba(28, 139, 159, 0.5) !important;
}
.it-and-telecommunications {
    background-color: rgba(159, 28, 133, 0.5) !important;
}
.legal {
    background-color: rgba(159, 28, 28, 0.5) !important;
}
.science-and-technology {
    background-color: rgba(71, 22, 22, 0.5) !important;
}
.transport-energy-infrastructure {
    background-color: rgba(5, 71, 33, 0.5) !important;
}



.hoverOnTop {
    position: absolute;
    z-index: 9999;
    left: 0px;
}

.hoverOnTop .row {
    width: calc(100% + 10px);
} 

.search {
    margin: 0px auto;
    width: calc(100% - 40px);
    height: 40px;
    border-radius: 50px;
    max-width: 400px;
}

.alternatives {
    width: 250px;
    position: relative;
    top: -40px;
    left: 17px;
}

.alternatives img {
    width: 100%;
}

#countdown-timer {
    text-align: center;
    font-size: 25px;
    padding: 10px 20px;
    color: #fff;
}

#countdown {
    background: rgb(165 171 120);
    border-radius: 400px 400px 0px 0px;
    background: linear-gradient(22deg, rgba(35, 108, 138, 0.8519782913165266) 0%, rgba(165, 171, 120, 1) 100%);
    width: 500px;
    z-index: 999;
    display: block;
    position: relative;
    top: 77.5px;
}

#countdown .row {
    padding: 10px;
}

#countdown h2 {
    color: #f8f9fa;
    font-size: 22px;
    font-weight: 900;
    font-family: 'Open Sans', sans-serif;
}

#intro, #map {
    margin-top: 40px;
}

.mgTop50 {
    margin-top: 50px;
}

.mgTop20 {
    margin-top: 20px;
}

.mgTop100 {
    margin-top: 100px;
}

.mgBtm20 {
    margin-bottom: 20px !important;
}

.mgBtm10 {
    margin-bottom: 10px !important;
}

.mgBtm0 {
    margin-bottom: 0px !important;
}

.mg20 {
    margin: 20px;
}

.navbar-toggler {
    border: none;
    background: #fff;
    padding: 5px;
    position: relative;
    right: 20px;
}

.top-center-image {
    height: 60vh;
    margin: auto;
    position: relative;
    display: block;
    margin-top: 20px;
}

.gold-txt {
    color: rgb(165 171 120);
}

.row {
    position: relative;
}

.fontSize14 {
    font-size: 14px;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar {
    padding: 10px;
    background: #06213a;
}

h1 {
    color: rgba(0, 0, 0, 1);
    font-family: "Playfair Display", sans-serif;
    font-size: 25px;
    font-weight: 500;
}

h2 {
    color: rgba(0, 0, 0, 1);
    font-size: 20px;
    font-weight: 600;
    font-family: "Playfair Display", sans-serif;
}

h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #000;
}

p {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    text-align: justify;
}

.btn:not(:disabled):not(.disabled) {
    font-family: "Playfair Display", sans-serif;
    font-weight: 500;
}

.nav-item {
    margin-left: 20px;
}

.quote {
    padding: 40px;
    background: #f8f9fa;
    text-align: center;
    font-family: "Playfair Display", sans-serif;
    font-weight: 300;
    font-size: 20px;
}

.quote-ref {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    text-align: justify;
    font-size: 14px;
}

.gold-btn {
    border: none;
    background: rgb(165 171 120);
    color: #fff;
}

.gold-btn a {
    color: #fff;
    padding: 20px;
    text-decoration: none;
}

.pd20 {
    padding: 20px;
}

.leftImg {
    width: 100%;
}

.topBg {
    max-width: 100%;
    padding: 40px;
    background: linear-gradient(162deg, rgb(49, 114, 85) 35%, rgb(19, 100, 116) 100%);
}

.whiteTxt {
    color: #ffffff;
}

.bg-wrap {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    padding: 40px;
}
  
.bg-main {
    opacity: 0.1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 900px;
    object-fit: cover;
}

.bg-overlay {
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 900px;
    background: rgb(2,0,36);
    background: linear-gradient(162deg, rgba(2,0,36,1) 0%, rgba(9,121,69,1) 95%, rgba(0,212,255,1) 100%);
    
}

.white {
    color: #ffffff;
}

.off-white {
    color: #f9f9f9;
}

.center-align {
    text-align: center;
}

.shah-jalal-logo {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 30px;
}

.align-left {
    text-align: left;
}

.poster-img {
    width: 100%;
    margin-bottom: 20px;
}

.circle-pik {
    border-radius: 100%;
}

.mgTopBtm30 {
    margin: 30px 0px;
}

.pik-text p {
    background: #f8f9fa;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    margin-top: -20px;
}

.cta-btns {
    position: relative;
    margin: auto;
    width: 380px;
}

.mgBtm20 {
    margin-bottom: 20px;
}

.custom-margins {
    margin: 0px 0px 20px 0px;
}

.gold-btn:hover {
    background: rgb(125, 130, 97);
    color: #fff;
}

.progress-bar {
    background-color: rgb(165 171 120);
}

.list-group-item {
    text-align: left;
}

.accordion-body {
    padding: 0px;
    margin-bottom: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
}

.list-group {
    padding: 15px;
}

.marginBtm0p p {
    margin-bottom: 0px;
}

footer a {
    text-decoration: none;
}

.border-none {
    border: none;
}

.pd0 {
    padding: 0px;
}

.w100 {
    width: 100%;
    padding: 20px 0px;
    font-size: 20px;
}

.pd40 {
    padding: 40px;
}

.social-icons {
    margin: 30px 0px;
}

.br200 {
    border-radius: 200px;
}

.pdLeft0 {
    padding-left: 0px;
}

.mgAuto {
    margin: auto;
}

.social-icons img {
    width:40px;
}

.fontSize14 {
    font-size: 14px;
}

.gold-subscriber {
    border: none;
    background: rgb(165 171 120);
    color: #fff;
}

.gold-subscriber:hover {
    background: rgb(125, 130, 97);
    color: #fff;
}

.donateModal .row-cols-4>* {
    padding: 5px;
    margin-top: 0px;
}

.pd2010 {
    padding: 20px 10px;
}

.gold-reflect {
    background: rgb(255, 255, 255);
    background: linear-gradient(321deg, rgba(255, 255, 255, 1) 0%, rgba(165, 175, 120, 0.2) 50%, rgba(255, 255, 255, 1) 100%);
}

.no-underline {
    text-decoration-line: none;
}

.gold-text {
    color: rgb(165 171 120);
}

.breadcrumb-item.active {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.articleH2 {
    text-align: left;
    margin: 20px 0px;
}

.alignRight {
    text-align: right;
}

.linkBox {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 5px;
}

.linkBox a {
    text-align: left;
    color: #000;
}

.banner {
    margin: 0px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
    padding: 0px;
    position: absolute;
    background: #06213a;
    top: 115px;
}

.banner img {
    object-fit: cover;
    height: 350px;
}

.top-internal-banner {
    width: 100%;
    object-fit: cover;
    height: 200px;
}

/* TABS */

nav-tabs a:hover,
nav-tabs a:focus{
    text-decoration: none !important;
    outline: none !important;
}
.vertical-tab{
    font-family: 'Open Sans', sans-serif;
    display: table;
    border-left: 5px solid #000;
    padding-left: 0px;
    width: 100%;
}
.vertical-tab .nav-tabs{
    width: 27%;
    min-width: 27%;
    border: none;
    vertical-align: top;
    display: table-cell;
}
.vertical-tab .nav-tabs li{
    float: none;
    border: 1px solid #dee2e6;
}
.vertical-tab .nav-tabs li a{
    color: rgba(0,0,0,1);
    background: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    padding: 15px 15px 16px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0.3s;
    text-decoration: none;
    text-align: left;
    padding: 20px 40px;
}
.vertical-tab .nav-tabs li a:hover,
.vertical-tab .nav-tabs li.active a{
    color: rgba(0, 0, 0, 1);
    background: #fff;
    border: none;
    text-align: left;
    padding: 20px 40px;
}
.vertical-tab .nav-tabs li.active a:hover,
.vertical-tab .nav-tabs li.active a{ color: rgba(0,0,0,1); }
.vertical-tab .nav-tabs li a:before,
.vertical-tab .nav-tabs li a:after{
    content: "";
    background: #8e8a15;
    height: 100%;
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.vertical-tab .nav-tabs li a:after{ background:#8e8a15; }
.vertical-tab .nav-tabs li.active a:before,
.vertical-tab .nav-tabs li a:hover:before{
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 5% 10%, 0% 100%);
}
.vertical-tab .nav-tabs li.active a:after,
.vertical-tab .nav-tabs li a:hover:after{
    opacity: 1;
    clip-path: polygon(95% 90%, 100% 0, 100% 100%, 0% 100%);
}
.vertical-tab .tab-content{
    color: #444;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;
    border: 1px solid #dee2e6;
    display: table-cell;
}
.vertical-tab .tab-content h3{
    color: #222;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 7px;
}

.nav-tabs li a {
    width: 100%;
    position: relative;
    display: block;
}

.tabImg {
    width: 100%;
    object-fit: cover;
    height: 200px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 479px){
    .vertical-tab .nav-tabs{
        width: 100%;
        display: block;
    }
    .vertical-tab .nav-tabs li a{ padding: 15px 10px 14px; }   
    .vertical-tab .tab-content{
        font-size: 14px;
        display: block; 
        padding-bottom: 90px;
    }
}

/* Horizontal Scroll */

#supporters, #intro {
    padding: 40px 20px;
    background: #fff;
    margin-top: 0px;
}

#search-bar h2 {
    font-size: 40px;
    color: #fff;
}

#supporters h2, #intro h2, #countdown h2, #search-bar h2 {
    text-align: left;
    margin-bottom: 20px;
}

#supporters img, #intro img {
    margin: auto;
    height: 100px;
    position: relative;
    display: block;
}

.supporters-cont {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.supporters-img-cont {
    height: 100px;
    margin: auto;
    margin-bottom: 40px;
}

/* TIMELINE */

#timeline {
    border-left: 5px solid #000;
    padding-left: 0px;
    width: calc(100% - 10px);
    position: relative;
    margin-left: 10px;
}

.year {
    position: relative;
    display: block;
    background: rgb(165 171 120);
    width: 60%;
    height: 1330px;
    margin: 20px auto;
    border-radius: 10px;
    padding: 20px;
}

.month {
    position: relative;
    display: block;
    width: 100%;
    height: calc(100% - 20px);
    background: #f8f9fa;
    margin: 20px 0px;
    border-radius: 10px;
    padding: 20px;
}

.complete {
    background: #efefef;
}

.complete::before {
    position: absolute;
    right: 20px;
    background: #a6dba7;
    border-radius: 50px;
    background-image: url(./images/check-circle.svg);
    background-size: 20px 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: "";
}

.summary-btn {
    padding: 10px;
    position: relative;
    float: right;
    margin-bottom: 20px;
    text-decoration: none;
    border: none;
    background: rgb(165 171 120);
    color: #fff;
    font-size: 14px;
}

.month p {
    font-weight: 400;
}

.accordion-collapse {
    padding: 0px 20px;
}

.accordion-button, .nav-link a {
    font-family: "Playfair Display", sans-serif;
    color: #000 !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* SMALL MOBILE */

@media all and (max-width: 470px) {
    .bg-main, .bg-overlay {
        height: 1200px;
    }
    .bg-main {
        left: calc(-1200px - 100vw);
        width: 600%;
    }
    .vidMobile {
        height: 250px !important;
    }
}

/* MOBILE */

@media all and (max-width: 768px) {
    .hideOnMobile {
        display: none;
    }
    .gold-btn {
        margin-top: 20px;
    }
    .cta-btns a, .cta-btns button, .cta-btns-top a, .cta-btns-top button {
        width: 100%;
    }
    .cta-btns {
        width: 100%;
    }
    .bg-main {
        left: calc(-1200px - 100vw);
        width: 600%;
    }
    h2 {
        text-align: center;
    }
    .vidMobile {
        height: 300px !important;
    }
    #countdown {
        width: 100%;
        top: 59.5px;
    }
    .banner img {
        height: 380px;
    }
    #supporters, #intro {
        margin-top: 0px;
    }
    .mgTop20Mob {
        margin-top: 20px;
    }
}

/* DESKTOP */

@media all and (min-width: 767px) {
    .mg10Sides {
        margin: 0px 10px;
    }
    .showOnMobile {
        display: block;
    }
    .hideOnDesktop {
        display: none;
    }
}

/* CUSTOM */

@media all and (max-width: 895px) and (min-width: 769px) {
    .gold-btn-top {
        margin-top: 20px;
    }
}

@media all and (max-width: 319px) {
    #countdown {
        top: 84px;
    }
    #supporters, #intro {
        margin-top: 70px;
    }
    #search-bar h2 {
        font-size: 30px;
    }
}

/* Consultant Profiles Styles */
.consultant-profiles {
    margin: 0px 0;
}

.consultant-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
}

.consultant-item:hover {
    transform: translateY(-5px);
}

.consultant-card {
    text-align: center;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.consultant-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.consultant-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid rgb(165, 171, 120);
}

.consultant-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.consultant-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
    text-align: center;
}

.consultant-item.active .consultant-card {
    background: rgb(165, 171, 120);
    color: white;
}

.consultant-item.active .consultant-name,
.consultant-item.active .consultant-title {
    color: white;
    text-align: center;
}

/* Radar Charts Styles */
.radar-charts {
    padding: 30px;
    border-radius: 15px;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 400px;
}

.chart-container-combined {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 500px;
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px !important;
    color: rgb(165, 171, 120);
}

.selected-consultant-info h4 {
    color: rgb(165, 171, 120);
    font-weight: 600;
}

#selectedConsultantName {
    margin-bottom: 5px;
    text-align: left;
}

#selectedConsultantTitle {
    font-style: italic;
    text-align: left;
}

/* Legend Styles */
.chart-legend {
    display: block;
    position: relative;
    justify-content: center;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .consultant-image {
        width: 60px;
        height: 60px;
    }
    
    .consultant-name {
        font-size: 12px;
    }
    
    .consultant-title {
        font-size: 10px;
    }
    
    .chart-container {
        height: 300px;
        padding: 15px;
    }
    
    .chart-container-combined {
        height: 500px;
        padding: 20px;
    }
    
    .radar-charts {
        padding: 20px;
    }
    
    .legend-item {
        font-size: 12px;
    }
    
    .legend-color {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .consultant-card {
        padding: 10px;
    }
    
    .chart-container {
        height: 250px;
        padding: 10px;
    }
    
    .chart-container-combined {
        height: 400px;
        padding: 15px;
    }
    
    .legend-item {
        font-size: 11px;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
}

/* View Toggle Styles */
.view-toggle-container {
    margin-bottom: 30px;
}

.btn-group .btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    margin: 0 5px;
}

.btn-primary {
    background-color: rgb(165, 171, 120);
    border-color: rgb(165, 171, 120);
}

.btn-outline-primary {
    color: #06213a;
    border-color: #06213a;
}

.btn-outline-primary:hover {
    background-color: #06213a;
    border-color: #06213a;
}

/* Recommendation System Styles */
.recommendation-container {
    margin: 30px 0;
}

.recommendation-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.sliders-container {
    margin: 0px 0;
}

.slider-group {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid rgb(165, 171, 120);
}

.slider-group-title {
    color: rgb(165, 171, 120);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.slider-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-range {
    margin-bottom: 5px;
}

.form-range::-webkit-slider-thumb {
    background-color: rgb(165, 171, 120);
}

.form-range::-moz-range-thumb {
    background-color: rgb(165, 171, 120);
    border: none;
}

.slider-value {
    display: inline-block;
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    color: rgb(165, 171, 120);
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 12px;
}

/* Recommendation Result Styles */
.recommendation-result {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 2px solid rgb(165, 171, 120);
}

.recommended-consultant {
    padding: 20px 0;
}

.recommended-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgb(165, 171, 120);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.match-score {
    margin-top: 15px;
    padding: 10px 20px;
    background: rgb(165, 171, 120);
    color: white;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
}

.match-label {
    margin-right: 10px;
}

.match-percentage {
    font-size: 18px;
    font-weight: 700;
}

.chart-container-recommended {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    height: 600px;
    margin-top: 30px;
}

/* View Switching */
.consultant-view {
    transition: all 0.3s ease;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .recommendation-card {
        padding: 25px;
    }
    
    .slider-group {
        padding: 20px;
    }
    
    .slider-group-title {
        font-size: 16px;
    }
    
    .slider-label {
        font-size: 13px;
    }
    
    .result-card {
        padding: 25px;
    }
    
    .recommended-image {
        width: 100px;
        height: 100px;
    }
    
    .chart-container-recommended {
        height: 500px;
        padding: 20px;
    }
    
    .btn-group .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .recommendation-card {
        padding: 20px;
    }
    
    .slider-group {
        padding: 15px;
    }
    
    .chart-container-recommended {
        height: 400px;
        padding: 15px;
    }
    
    .btn-group .btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .recommended-image {
        width: 80px;
        height: 80px;
    }
}

/* Two Panel Layout for Recommendation System */
.two-panel-layout {
    display: flex;
    height: 75vh;
    min-height: 750px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Left Panel - All Categories and Sliders */
.two-panel-layout .left-panel {
    width: 35%;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    padding: 20px;
}

/* Accordion styling for categories */
#categoriesAccordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px !important;
    margin-bottom: 8px;
}

#categoriesAccordion .accordion-button {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px !important;
}

#categoriesAccordion .accordion-button:not(.collapsed) {
    color: #fff;
    box-shadow: none;
}

#categoriesAccordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.category-count-badge {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

#categoriesAccordion .accordion-button:not(.collapsed) .category-count-badge {
    background: rgba(255, 255, 255, 0.2);
}

#categoriesAccordion .accordion-body {
    padding: 16px;
    background: #fff;
}

#categoriesAccordion .accordion-collapse {
    border: none;
}

/* Right Panel - Results and Chart */
.two-panel-layout .right-panel {
    width: 65%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Category Sections */
.category-section {
    margin-bottom: 25px;
}

.category-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #06213a;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
    margin: 15px;
    color: #333;
}

/* Results and Chart Container */
.results-and-chart {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px;
}

/* Best Matches Section */
.best-matches-section {
    margin-bottom: 20px;
}

.consultant-slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 0 10px;
}

.consultant-slider-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 80px;
}

.consultant-list-horizontal {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    flex-wrap: nowrap;
}

.slider-nav-btn {
    background: #06213a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-nav-btn:hover:not(:disabled) {
    background: #083650;
    transform: scale(1.1);
}

.slider-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.slider-nav-btn i {
    font-size: 14px;
}

.consultant-item-live {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 190px;
    max-width: 190px;
    flex-shrink: 0;
    margin-right: 10px;
}

.consultant-item-live:hover {
    border-color: #06213a;
    background: #f0f8ff;
}

.consultant-item-live.selected {
    border-color: #06213a;
    background: #e3f2fd;
}

.consultant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.consultant-info {
    flex: 1;
}

.consultant-name-live {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.consultant-title-live {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.match-score-live {
    font-size: 12px;
    font-weight: 600;
    color: #06213a;
    margin-left: 8px;
}

/* Chart Section */
.chart-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-header {
    margin-bottom: 15px;
}

.chart-container-main {
    flex: 1;
    position: relative;
    min-height: 350px;
}

.chart-legend {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.legend-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.btn-check:checked+.btn, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #fff;
    background-color: rgb(125, 130, 97);
    border-color: rgb(125, 130, 97);
}

.bookConsultationModalBtn:hover {
    color: #fff;
    background-color: rgb(125, 130, 97);
    border-color: rgb(125, 130, 97);   
}

.btn.active {
    background-color: rgb(165 171 120);
    border-color: rgb(165 171 120);
    color: #fff;
}

/* Mobile responsiveness for two-panel layout */
@media (max-width: 768px) {
    .two-panel-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .two-panel-layout .left-panel {
        width: 100%;
        max-height: 50vh;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .two-panel-layout .right-panel {
        width: 100%;
        min-height: 50vh;
    }
    
    .consultant-list-horizontal {
        flex-direction: row;
        gap: 8px;
    }
    
    .consultant-slider-container {
        gap: 5px;
        margin: 15px 0;
    }
    
    .slider-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav-btn i {
        font-size: 12px;
    }
    
    .consultant-item-live {
        min-width: 150px;
        max-width: 160px;
        padding: 6px 10px;
    }
    
    .chart-container-main {
        min-height: 250px;
    }
    
    .legend-row {
        gap: 10px;
    }
    
    .category-section {
        margin-bottom: 20px;
    }
    
    .slider-item {
        margin-bottom: 8px;
    }
}

/* Book Consultation Modal Styling */
#bookConsultationModal .modal-body {
    padding: 0;
    background: #f8f9fa;
}

#bookConsultationModal .modal-header {
    background: #06213a;
    color: white;
    border-bottom: none;
}

#bookConsultationModal .modal-title {
    font-weight: 600;
}

#bookConsultationModal .btn-close {
    filter: invert(1);
}

/* TidyCal embed container */
.tidycal-embed {
    min-height: 600px;
    width: 100%;
    background: white;
    border-radius: 0px;
    margin: 0px;
}

.book-consultation-view-profile {
    margin: 0px 20px 20px 20px;
}

/* Ensure modal is above other elements */
#bookConsultationModal {
    z-index: 1060;
}

/* View Profile Modal Styling */
#viewProfileModal .modal-body {
    padding: 2rem;
    background: #f8f9fa;
    max-height: 80vh;
    overflow-y: auto;
}

#viewProfileModal .modal-header {
    background: #06213a;
    color: white;
    border-bottom: none;
}

#viewProfileModal .modal-title {
    font-weight: 600;
}

#viewProfileModal .btn-close {
    filter: invert(1);
}

#viewProfileModal .text-primary {
    color: #06213a !important;
}

#viewProfileModal .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

#viewProfileModal .badge {
    font-size: 0.85em;
    padding: 0.5em 0.75em;
}

#viewProfileModal .bg-secondary {
    background-color: #6c757d !important;
    width: 100%;
    text-wrap: wrap;
}

#viewProfileModal .bg-primary {
    background-color: #06213a !important;
    width: 100%;
    text-wrap: wrap;
}

#viewProfileModal .bg-success {
    background-color: #28a745 !important;
    width: 100%;
    text-wrap: wrap;
}

#viewProfileModal .bg-warning {
    background-color: #ffc107 !important;
    width: 100%;
    text-wrap: wrap;
}

#viewProfileModal .bg-info {
    background-color: #17a2b8 !important;
    width: 100%;
    text-wrap: wrap;
}

#viewProfileModal .blockquote {
    font-size: 1.1rem;
    color: #495057;
}

#viewProfileModal .consultant-image {
    border: 4px solid #06213a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#viewProfileModal .fas {
    color: #06213a;
}

/* Responsive adjustments for profile modal */
@media (max-width: 768px) {
    #viewProfileModal .modal-body {
        padding: 1rem;
    }
    
    #viewProfileModal .consultant-image {
        width: 150px !important;
        height: 150px !important;
    }
    
    #viewProfileModal h3 {
        font-size: 1.5rem;
    }
    
    #viewProfileModal h5 {
        font-size: 1.25rem;
    }
}