/* About Detail Page Styles */
:root {
    --primary-gold: #d4af37;
    --charcoal: #1a1a1a;
    --gold-glow: rgba(212, 175, 55, 0.3);
}

#about-detail-page {
    background-color: #0c0c0c;
    color: #fff;
    min-height: 100vh;
    padding-top: 150px;
}

/* About Hero */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 480px 5% 150px;
    /* Clear the hanging logo */
    background:
        radial-gradient(circle at 50% 250px, rgba(0, 0, 0, 0.5) 0%, transparent 400px),
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('/images/mining_carousel_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.about-hero h1 span {
    color: var(--primary-gold);
}

.about-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.mt-4 {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 220px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Improved Illustrative Layouts */
.illustration-section {
    padding: 100px 5%;
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.illustration-section.active {
    opacity: 1;
    transform: translateY(0);
}

.illustration-section.reverse {
    flex-direction: row-reverse;
}

.illustration-image {
    flex: 1;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.illustration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.illustration-section:hover .illustration-image img {
    transform: scale(1.05);
}

/* Specific fix for Leadership Group Photo to ensure everyone is visible */
.leadership-illustration .illustration-image {
    height: auto;
    /* Dynamic height */
    background: transparent;
}

.leadership-illustration .illustration-image img {
    height: auto;
    object-fit: cover;
    /* Back to cover but with auto container height */
}

.illustration-text {
    flex: 1;
}

.illustration-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.illustration-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

/* Values Grid with Background */
.values-wrap {
    padding: 100px 5%;
    background: linear-gradient(rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.9)), url('/images/about_values.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-container h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 60px;
}

.values-container h2 span {
    color: var(--primary-gold);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 992px) {

    .illustration-section,
    .illustration-section.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .illustration-image {
        width: 100%;
        height: 350px;
    }
}