.image-bg-fluid-height,
.image-bg-fixed-height {
    text-align: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.image-bg-fluid-height {
    background: url('../images/index/1.jpg') no-repeat center center scroll;
    padding: 120px 0;
}

.image-bg-fixed-height {
    background: url('../images/index/1.jpg') no-repeat center center scroll;
    height: 450px;
}

.img-center {
    margin: 0 auto;
}

.homepage-hero {
    position: relative;
    overflow: hidden;
}

.homepage-hero.navbar-gap-fix {
    margin-top: -20px;
}

.navbar.navbar-fixed-top {
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(31, 37, 50, 0.84), rgba(59, 50, 70, 0.72));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #E0E0E0;
}

.home-logo {
    max-width: 340px;
}

.hero-title {
    margin: 25px 0 10px;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 18px;
    font-size: 21px;
    line-height: 1.6;
}

.hero-subtitle-secondary {
    margin-bottom: 30px;
    color: #E0E0E0;
    font-size: 18px;
}

.hero-actions .btn {
    margin: 5px;
    min-width: 170px;
}

.homepage-stats {
    padding: 50px 0;
    background: #202733;
    color: #E0E0E0;
    border-top: 1px solid rgba(145, 168, 202, 0.16);
    border-bottom: 1px solid rgba(145, 168, 202, 0.16);
}

.stat-card {
    margin-bottom: 20px;
}

.stat-card i {
    display: block;
    margin-bottom: 12px;
    color: #8dc9ff;
    font-size: 30px;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    color: #E0E0E0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.homepage-featured,
.homepage-about,
.homepage-insights {
    color: #E0E0E0;
}

.homepage-featured {
    padding: 70px 0;
    background: #2a303c;
}

.featured-link {
    margin-top: 35px;
}

.featured-card {
    height: 100%;
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #616979;
    border-radius: 10px;
    background: linear-gradient(180deg, #3a404b 0%, #323741 100%);
    box-shadow: 0 10px 22px rgba(10, 18, 34, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(9, 16, 30, 0.34);
}

.featured-thumb {
    display: block;
    height: 205px;
    margin: -25px -25px 18px;
    padding: 8px;
    background: #232a35;
    text-align: center;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.featured-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 22px;
    color: #E0E0E0;
}

.featured-meta {
    margin-bottom: 8px;
    color: #E0E0E0;
}

.featured-meta i {
    margin-right: 6px;
}

.featured-stats {
    display: flex;
    justify-content: space-between;
    margin: 16px 0 10px;
    color: #E0E0E0;
}

.featured-date {
    margin-bottom: 0;
    color: #E0E0E0;
    font-size: 13px;
}

.homepage-about {
    padding: 70px 0;
    background: #394354;
}

.section-heading {
    margin: 30px 0;
    font-size: 42px;
    color: #f3f7ff;
}

.section-lead {
    margin: 15px 0 30px;
    color: #E0E0E0;
}

.section-paragraph {
    margin: 20px 0;
    color: #E0E0E0;
    font-size: 18px;
    line-height: 1.8;
}

footer {
    margin: 50px 0;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 38px;
    }

    .section-heading {
        font-size: 34px;
    }

    .featured-stats {
        display: block;
    }

    .featured-stats span {
        display: block;
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {
    .image-bg-fluid-height {
        padding: 80px 0;
    }

    .home-logo {
        max-width: 260px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-heading {
        font-size: 30px;
    }

    .section-paragraph {
        font-size: 16px;
    }
}

.homepage-insights {
    padding: 60px 0;
    background: #252c38;
}

.mode-panel {
    margin-top: 12px;
}

.insight-panel {
    height: 100%;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #4b586f;
    border-radius: 10px;
    background: #394354;
    box-shadow: 0 10px 22px rgba(9, 16, 30, 0.3);
}

.insight-panel h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #E0E0E0;
    font-size: 24px;
}

.insight-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.insight-item {
    width: 50%;
    padding: 8px;
}

.insight-item-wide {
    width: 100%;
}

.insight-item-label {
    display: block;
    margin-bottom: 4px;
    color: #9eb5d5;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.insight-item-value {
    display: block;
    color: #E0E0E0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}


.insight-item-value a {
    color: #8fbcff;
}

.insight-item-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-item-with-image img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mode-row {
    margin-bottom: 18px;
}

.mode-label {
    display: inline-block;
    font-weight: 700;
    color: #E0E0E0;
}

.mode-value {
    float: right;
    font-weight: 700;
    color: #E0E0E0;
}

.mode-row .progress {
    height: 10px;
    margin-top: 8px;
    margin-bottom: 0;
    border-radius: 10px;
    background: #3a4457;
}

.mode-row .progress-bar {
    border-radius: 10px;
}


.hero-chart-title {
    margin-top: 24px;
    margin-bottom: 14px;
    color: #deebff;
    font-size: 20px;
}

.hero-row {
    margin-bottom: 12px;
}

.hero-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.hero-row-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E0E0E0;
    font-weight: 700;
}

.hero-row-label img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hero-row-value {
    color: #E0E0E0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .insight-item {
        width: 100%;
    }

    .insight-panel h3 {
        font-size: 21px;
    }
}
