/* Landing Page Styles */

/* Global */
.landing-page {
    background: #ffffff;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

/* Header override for landing */
.red.landing-page .header {
    background-color: #E8F1F5;
}

.red.landing-page .header__nav-list {
    background-color: rgba(255, 255, 255, 1);
}

.landing-main {
    overflow-x: hidden;
}

/* Hero Section */
.landing-hero {
    background: #E8F1F5;
    padding: 80px 0 100px;
    position: relative;
    margin-top: -100px;
    padding-top: 180px;
}

.landing-hero .hero__content {
    padding-top: 40px;
}

.landing-hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #000;
    text-transform: none;
    letter-spacing: -1px;
}

.landing-hero .hero__images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.landing-hero .hero__pic {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.landing-hero .hero__pic img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Info Cards Section */
.landing-info {
    padding: 100px 0;
    background: #FFFFFF;
}

.landing-info__main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    padding-right: 40px;
}

.landing-info__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.landing-info__shape-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.landing-info__shape-background svg {
    width: 100%;
    height: 100%;
}

.landing-info__card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.landing-info__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FF6B6B;
    position: relative;
}

.landing-info__text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    position: relative;
}

/* Stats Section */
.landing-stats {
    padding: 80px 0;
    background: #FFFFFF;
}

.landing-stats__main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: left;
    color: #000;
    line-height: 1.2;
}

.landing-stats__card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.landing-stats__card--with-line {
    overflow: visible;
}

.landing-stats__percentage-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: inline-block;
}

.landing-stats__percentage {
    font-size: 96px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.landing-stats__connector {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    margin-left: 12px;
}

@media (min-width: 992px) {
    .landing-stats__connector {
        display: flex;
    }
}

.landing-stats__dot {
    width: 12px;
    height: 12px;
    background: #FF6B6B;
    border-radius: 50%;
    flex-shrink: 0;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.landing-stats__card.animated .landing-stats__dot {
    transform: scale(1);
}

.landing-stats__line {
    width: 300px;
    height: 2px;
    background: #FF6B6B;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.landing-stats__card.animated .landing-stats__line {
    transform: scaleX(1);
}

@media (min-width: 1200px) {
    .landing-stats__line {
        width: 400px;
    }
}

@media (min-width: 1400px) {
    .landing-stats__line {
        width: 450px;
    }
}

.landing-stats__icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.landing-stats__house {
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.landing-stats__card.animated .landing-stats__house {
    opacity: 1;
    transform: translateY(0);
}

.landing-stats__card.animated .landing-stats__house:nth-child(1) { transition-delay: 0.1s; }
.landing-stats__card.animated .landing-stats__house:nth-child(2) { transition-delay: 0.15s; }
.landing-stats__card.animated .landing-stats__house:nth-child(3) { transition-delay: 0.2s; }
.landing-stats__card.animated .landing-stats__house:nth-child(4) { transition-delay: 0.25s; }
.landing-stats__card.animated .landing-stats__house:nth-child(5) { transition-delay: 0.3s; }
.landing-stats__card.animated .landing-stats__house:nth-child(6) { transition-delay: 0.35s; }
.landing-stats__card.animated .landing-stats__house:nth-child(7) { transition-delay: 0.4s; }
.landing-stats__card.animated .landing-stats__house:nth-child(8) { transition-delay: 0.45s; }
.landing-stats__card.animated .landing-stats__house:nth-child(9) { transition-delay: 0.5s; }
.landing-stats__card.animated .landing-stats__house:nth-child(10) { transition-delay: 0.55s; }

.landing-stats__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.landing-stats__chart-box {
    background: white;
    border: 2px solid #FF6B6B;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    z-index: 2;
}

.landing-stats__chart-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
}

.landing-stats__chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Chart Bar Styles */
.chart-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.chart-bar__label {
    font-size: 13px;
    color: #333;
    min-width: 130px;
    flex-shrink: 0;
    font-weight: 500;
}

.chart-bar__track {
    flex: 1;
    height: 4px;
    background: #E8E8E8;
    border-radius: 2px;
    position: relative;
}

.chart-bar__line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 0 !important;
}

.chart-bar__line.animated {
    width: var(--target-width) !important;
}

.chart-bar__line--high {
    background: #FF6B6B;
}

.chart-bar__line--medium {
    background: #FFB8B8;
}

.chart-bar__line--low {
    background: #D0D0D0;
}

.chart-bar__badge {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    min-width: 52px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    padding: 0 8px;
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}

.chart-bar__line.animated .chart-bar__badge {
    opacity: 1;
}

.chart-bar__badge--high {
    background: #FF6B6B;
}

.chart-bar__badge--medium {
    background: #FFB8B8;
}

.chart-bar__badge--low {
    background: #B0B0B0;
    color: #666;
}

/* Directors Section */
.landing-directors {
    padding: 80px 0;
    background: #FFFFFF;
}

.landing-directors__card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    /* height: calc(50% - 8px); */
    display: flex;
    flex-direction: column;
}

.landing-directors__card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.landing-directors__card-subtitle {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    color: #000;
}

.landing-directors__bottom-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.landing-directors__text-section {
    flex: 0 0 40%;
    max-width: 40%;
}

.landing-directors__circles-section {
    flex: 0 0 60%;
    max-width: 60%;
}

.landing-directors__donut-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex: 1;
}

.landing-directors__donut {
    width: 280px;
    height: 280px;
    position: relative;
    flex-shrink: 0;
}

.landing-directors__donut svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-directors__donut.animated svg path {
    stroke-dashoffset: 0;
}

.landing-directors__donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.landing-directors__donut-number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-bottom: 8px;
}

.landing-directors__donut-label {
    font-size: 14px;
    line-height: 1.3;
    color: #666;
}

.landing-directors__donut-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.landing-directors__stat-wrapper {
    position: relative;
    display: inline-block;
}

.landing-directors__donut-stat {
    text-align: center;
    position: relative;
    z-index: 2;
}

.landing-directors__connector {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    z-index: 1;
    pointer-events: none;
    margin-left: 12px;
}

@media (min-width: 992px) {
    .landing-directors__connector {
        display: flex;
    }
}

.landing-directors__dot {
    width: 12px;
    height: 12px;
    background: #FF6B6B;
    border-radius: 50%;
    flex-shrink: 0;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.landing-directors__card.animated .landing-directors__dot {
    transform: scale(1);
}

.landing-directors__line {
    width: 150px;
    height: 2px;
    background: #FF6B6B;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.landing-directors__card.animated .landing-directors__line {
    transform: scaleX(1);
}

@media (min-width: 1200px) {
    .landing-directors__line {
        width: 200px;
    }
}

@media (min-width: 1400px) {
    .landing-directors__line {
        width: 250px;
    }
}

.landing-directors__stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-bottom: 8px;
}

.landing-directors__stat-label {
    font-size: 14px;
    line-height: 1.3;
    color: #666;
}

.landing-directors__circles {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.landing-directors__circle-item {
    text-align: center;
}

.landing-directors__circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #B9CBDF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.landing-directors__circle.animated {
    transform: scale(1);
}

.landing-directors__circle--large {
    width: 152px;
    height: 152px;
    font-size: 32px;
}

.landing-directors__circle-year {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.landing-directors__chart-box {
    background: white;
    border: 2px solid #FF6B6B;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-directors__chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.landing-directors__chart {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}

/* Regional Bar Styles */
.regional-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.regional-bar__label {
    font-size: 12px;
    color: #333;
    min-width: 140px;
    flex-shrink: 0;
    font-weight: 500;
    text-align: right;
}

.regional-bar__fill {
    background: #FF685D;
    border-radius: 3px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 6px;
    min-width: 45px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0 !important;
}

.regional-bar__fill.animated {
    width: var(--target-width) !important;
}

.regional-bar__fill--empty {
    background: transparent;
    padding: 0;
    min-width: auto;
}

.regional-bar__value {
    font-size: 11px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}

.regional-bar__fill.animated .regional-bar__value {
    opacity: 1;
}

.regional-bar__fill--empty .regional-bar__value {
    color: #333;
}

/* Chart Section */
.landing-chart-section {
    padding: 120px 0;
    background: #FFFFFF;
}

.landing-chart-section__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #000;
}

.landing-chart-section__chart {
    height: 800px;
    background: #F9F9F9;
    border-radius: 16px;
    padding: 40px;
}

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

/* Doughnut Section */
.landing-doughnut-section {
    padding: 120px 0;
    background: #FFF9F4;
}

.landing-doughnut__info {
    padding-right: 60px;
}

.landing-doughnut__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 48px;
    color: #000;
}

.landing-doughnut__title .highlight {
    color: #FF6B6B;
}

.landing-doughnut__stats {
    display: flex;
    gap: 60px;
}

.landing-doughnut__stat-item {
    text-align: center;
}

.landing-doughnut__number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.landing-doughnut__label {
    font-size: 16px;
    color: #666;
}

.landing-doughnut__chart {
    max-width: 400px;
    margin: 0 auto;
}

/* Percentage Cards */
.landing-percentage-cards {
    margin-top: 100px;
}

.landing-percentage-cards__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #000;
}

.landing-percentage-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.landing-percentage-card__year {
    font-size: 18px;
    color: #666;
    margin-bottom: 16px;
}

.landing-percentage-card__value {
    font-size: 72px;
    font-weight: 700;
    color: #FF6B6B;
}

/* Concerns Section */
.landing-concerns {
    padding: 80px 0;
    background: #FFFFFF;
}

.landing-concerns__oval {
    background: #DCEBF9;
    border-radius: 50%;
    width: 100%;
    max-width: 600px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px;
    margin: 0 auto;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.landing-concerns__oval.animated {
    transform: rotate(-45deg) scale(1);
}

.landing-concerns__question {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    text-align: left;
    transform: rotate(45deg);
}

.landing-concerns__chart-box {
    background: white;
    border: 1px solid #FF685D;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-concerns__chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.landing-concerns__chart {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
}

/* Concern Bar Styles */
.concern-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.concern-bar__label {
    font-size: 12px;
    color: #333;
    min-width: 140px;
    flex-shrink: 0;
    font-weight: 500;
    text-align: right;
}

.concern-bar__fill {
    background: #FF685D;
    border-radius: 3px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 6px;
    min-width: 45px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0 !important;
}

.concern-bar__fill.animated {
    width: var(--target-width) !important;
}

.concern-bar__fill--medium {
    background: #E89A9A;
}

.concern-bar__fill--na {
    background: transparent;
    padding: 0;
    min-width: auto;
}

.concern-bar__value {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease 1s;
}

.concern-bar__fill.animated .concern-bar__value {
    opacity: 1;
}

.concern-bar__fill--na .concern-bar__value {
    color: #999;
}

/* Responsive */
@media (max-width: 1199px) {
    .landing-hero__title {
        font-size: 48px;
    }

    .landing-stats__percentage {
        font-size: 96px;
    }

    .landing-chart-section__chart {
        height: 600px;
    }
}

@media (max-width: 991px) {
    .landing-hero {
        padding: 60px 0;
    }

    .landing-hero__title {
        font-size: 40px;
    }

    .landing-hero__image {
        height: 400px;
        margin: 40px auto 0;
    }

    .landing-info {
        padding: 60px 0;
    }

    .landing-info__main-title {
        font-size: 32px;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .landing-info__card {
        margin-bottom: 20px;
    }

    .landing-stats {
        padding: 80px 0;
    }

    .landing-stats__main-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .landing-doughnut__info {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .landing-concerns__chart {
        height: 500px;
    }

    /* Directors section mobile */
    .landing-directors__card {
        height: auto;
        margin-bottom: 20px;
    }

    .landing-directors__donut-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .landing-directors__donut {
        width: 240px;
        height: 240px;
    }

    .landing-directors__bottom-content {
        flex-direction: column;
        gap: 32px;
    }

    .landing-directors__text-section {
        flex: 1;
        max-width: 100%;
        text-align: center;
    }

    .landing-directors__circles-section {
        flex: 1;
        max-width: 100%;
    }

    .landing-directors__circles {
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .landing-hero__title {
        font-size: 32px;
    }

    .landing-stats__percentage {
        font-size: 72px;
    }

    .landing-stats__icon-row {
        gap: 8px;
    }

    .landing-stats__house {
        width: 32px;
        height: 32px;
    }

    .landing-chart-section__chart {
        height: 500px;
        padding: 20px;
    }

    .landing-doughnut__title {
        font-size: 28px;
    }

    .landing-doughnut__stats {
        flex-direction: column;
        gap: 30px;
    }

    .landing-percentage-card__value {
        font-size: 56px;
    }

    .landing-concerns__title {
        font-size: 28px;
    }

    .landing-concerns__chart {
        height: 400px;
        padding: 20px;
    }

    .landing-concerns__regions-chart {
        height: 500px;
        padding: 20px;
    }


    .landing-hero .hero-course__pic {
        height: 375px;
    }

    .landing-hero .hero-course__pic img{
        max-height: 20.77778rem;
        object-fit: contain;
    }

    .landing-directors .landing-directors__donut svg {
        width: 130%;
        top: -25px;
        position: relative;
    }

    .landing-directors .landing-directors__card{
        overflow: hidden;
    }

    .landing-directors .landing-directors__line {
        display: none;
    }
}