body,
html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto !important;
    min-height: 100vh;
    background-color: var(--bg-primary, #041418);
    color: var(--text-secondary, #e0e0e0);
}

/* Inherit active link style for navbar */
.nav-links a.active {
    position: relative;
    color: #d4af37;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #d4af37;
}

/* Background Wrapper for top section */
.youth-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background: url('../media/aboutbg.png') no-repeat center top;
    background-size: cover;
    z-index: 1;
}

.youth-bg-wrapper .bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 20, 24, 0.4) 0%, rgba(4, 20, 24, 0.8) 60%, rgba(4, 20, 24, 1) 100%);
}

.youth-main {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
}

/* Top Center Logo */
.top-center-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.top-center-logo img {
    width: 300px;
    mix-blend-mode: screen;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 9px;
}

.hero-left {
    flex: 1;
    min-width: 350px;
}

.youth-title {
    font-family: 'Cinzel', serif;
    font-size: 60px;
    color: #d4af37;
    margin: 0 0 30px 0;
    letter-spacing: 4px;
    position: relative;
    padding-bottom: 15px;
}

.youth-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, #d4af37, transparent);
}

.youth-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.youth-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

/* PYRAMID SECTION */
.hero-right {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 135px;
}

.pyramid-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
}

.line {
    flex: 1;
    height: 1px;
}

.line-left {
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5));
}

.line-right {
    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.5));
}

.pyramid-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #d4af37;
    margin: 0;
    letter-spacing: 2px;
}

.pyramid-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
}

.pyramid-svg-bg {
    width: 100%;
    height: auto;
    display: block;
}

.tier-overlay {
    position: absolute;
    font-family: 'Cinzel', serif;
    color: #041418;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.tier-overlay.row-layout {
    flex-direction: row;
    gap: 10px;
    text-align: left;
}

.tier-overlay.light-text {
    color: #d4af37;
}

.tier-overlay small {
    font-size: 12px;
    font-family: sans-serif;
    font-weight: normal;
}

.tier-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.jr-icon {
    font-size: 26px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    flex-shrink: 0;
}

.tier-1-overlay {
    top: 7%;
    height: 20%;
}

.tier-2-overlay {
    top: 31%;
    height: 20%;
}

.tier-3-overlay {
    top: 55%;
    height: 20%;
}

.tier-4-overlay {
    top: 78%;
    height: 20%;
}

/* VALUES SECTION */
.values-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.values-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #d4af37;
    margin: 0;
    letter-spacing: 3px;
}

.values-grid-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 80px;
}

.value-row {
    display: flex;
    width: 100%;
}

.value-card {
    flex: 1;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
}

.vertical-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.4) 20%, rgba(212, 175, 55, 0.4) 80%, transparent);
}

.horizontal-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4) 20%, rgba(212, 175, 55, 0.4) 80%, transparent);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 35px;
    height: 35px;
}

.value-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #d4af37;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.value-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #cccccc;
}

/* QUOTE SECTION */
.bottom-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quote-box {
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 30px 40px;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: #d4af37;
    text-align: center;
    background: rgba(4, 20, 24, 0.4);
    backdrop-filter: blur(5px);
    width: 100%;
}

.quote-mark {
    font-size: 40px;
    line-height: 0;
    vertical-align: text-bottom;
    margin: 0 5px;
    opacity: 0.8;
}

.footer-text {
    font-size: 12px;
    color: #888;
    text-align: center;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        text-align: center;
    }

    .youth-title::after {
        left: 50%;
        transform: translateX(-50%);
        background: #d4af37;
    }

    .pyramid-container {
        margin: 0 auto;
    }

    .hero-right {
        margin-top: 40px;
    }

    .value-row {
        flex-direction: column;
    }

    .vertical-divider {
        display: none;
    }

    .value-card {
        padding: 20px 0;
    }
}
