.glass-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.g-footer-nav-underline {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.g-footer-nav-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    opacity: 0.3;
}

/* Hero Curve */
.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-curve .shape-fill {
    fill: #ffffff;
}

/* Chart Styling */
.professions-main {
    overflow-x: clip;
}

.professions-chart-card {
    overflow: hidden;
}

.chart-wrapper {
    position: relative;
    width: min(280px, 100%);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.professions-chart-legend-item {
    min-width: 0;
}

.professions-chart-legend-text {
    overflow-wrap: anywhere;
}

/* Profession Card Hover */
.prof-card-img {
    transition: transform 0.5s ease;
}

.prof-card:hover .prof-card-img {
    transform: scale(1.05);
}

/* Reviews */
.review-card {
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

button.reviews-prev:hover,
button.reviews-next:hover {
    opacity: .8;
}

@media (max-width: 1023px) {
    .professions-chart-card {
        position: static;
        padding: 2rem;
    }

    .professions-chart-legend-item {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .professions-chart-card {
        padding: 1.5rem;
        border-radius: 2rem;
    }

    .chart-wrapper {
        width: min(250px, 100%);
    }

    .professions-chart-legend-text {
        font-size: 0.95rem;
        line-height: 1.35;
    }
}
