/* ========================================================================= */
/* --- THE ASCENT V6: ABOUT US REDESIGN --- */
/* ========================================================================= */

.about-us-ascent-page {
    background-color: #ffffff;
    color: #333;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Shared Section Styles */
.ascent-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ascent-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.ascent-title {
    font-size: 2rem;
    /* Reduced font size */
    font-weight: 800;
    margin-bottom: 2rem;
    color: #28a745;
    /* Vibrant Green */
}

.ascent-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

/* Scene 1: The Summit View (Hero) */
.hero-ascent {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/banner_about.png') no-repeat center center/cover;
    animation: kenBurns 20s infinite;
    z-index: 1;
}

.hero-ascent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    /* Minimalist bright overlay */
    z-index: 2;
}

.hero-ascent .container {
    z-index: 3;
    position: relative;
}

.hero-ascent h1 {
    font-size: 5rem;
    color: #f4f4f4;
    /* Off-white color */
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    /* Slightly stronger shadow for contrast */
}

.lead-ascent {
    font-size: 1.8rem;
    font-weight: 300;
    color: #f4f4f4;
    /* Off-white color */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-2%, 2%);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* Scene 2: The Foothills (Waving Flag Design) */
.foothills-section {
    background-color: #f8f9fa;
}

.foothills-container {
    width: 100%;
    padding: 20px 0; /* Add some padding */
}

.waving-flag-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    height: 300px; /* Give it a fixed height or aspect ratio */
    margin-bottom: 20px; /* Space below image on smaller screens */
    transition: transform 1s ease; /* Re-added transition */
}

.foothills-container:hover .waving-flag-container {
    transform: rotateZ(-10deg); /* Re-added rotation effect */
}

.flag-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.foothills-content-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: auto;
    transition: transform 1s ease; /* Re-added transition */
}

.foothills-container:hover .foothills-content-box {
    transform: rotateZ(10deg); /* Re-added rotation effect */
}

/* Scene 3: The Focus (Vision & Mission) */
.focus-section {
    background-color: #ffffff;
}

.focus-container {
    display: flex;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.focus-item {
    padding: 3rem;
    text-align: center;
    flex: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.focus-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.focus-icon {
    font-size: 3rem;
    color: #ff8800;
    /* Orange */
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.focus-icon:hover {
    transform: scale(1.2);
}

.focus-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 1rem;
}

.focus-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
}

/* Scene 4: The Ascent (Upgraded Timeline) */
.ascent-timeline-section {
    background-color: #f8f9fa;
    padding: 120px 0;
}

.ascent-timeline-container {
    position: relative;
    width: 100%;
    height: 600px;
    /* Increased height */
    margin-top: 50px;
}

.ascent-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ascent-milestones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.ascent-milestone {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    background-color: #ff8800;
    /* Orange */
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.8);
    transition: all 0.3s ease;
}

.ascent-milestone:hover .milestone-dot,
.ascent-milestone.is-active .milestone-dot {
    transform: scale(1.5);
    background-color: #28a745;
    /* Green */
}

.milestone-content {
    position: absolute;
    bottom: 30px;
    /* Position above the dot */
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    /* Wider dialog box */
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    text-align: center;
}

.milestone-content.is-active {
    opacity: 1;
    visibility: visible;
}

.milestone-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff8800;
    margin-bottom: 0.5rem;
}

.milestone-desc {
    font-.ascent-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}size: 0.9rem;
    color: #555;
}

/* Scene 5: The Bedrock (Core Values) */
.bedrock-section {
    background-color: #ffffff;
    padding: 120px 0;
}

.bedrock-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.bedrock-item {
    position: relative;
    width: 300px;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.bedrock-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.bedrock-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.bedrock-item:hover .bedrock-icon {
    color: #ff8800;
    transform: scale(1.1);
}

.bedrock-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.bedrock-text {
    color: #555;
}

/* Scene 6: Call to Action (Recruitment) */
.cta-section-new {
    padding: 200px 0;
    /* Increased height */
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.cta-section-new .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.cta-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    /* Added margin */
}

.cta-btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    margin-top: auto;
    margin-bottom: 50px;
}

.cta-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Background Animation */
.cta-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -1000px 500px;
    }
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .ascent-title {
        font-size: 1.5rem;
    }

    /* Further reduced font size */
    .foothills-image-container {
        margin-bottom: 30px;
    }

    .focus-container {
        flex-direction: column;
    }

    .focus-divider {
        width: 100px;
        height: 2px;
        margin: 20px auto;
        background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    }

    .ascent-timeline-container {
        height: auto;
    }

    .ascent-milestones {
        position: static;
        flex-direction: column;
    }

    .ascent-milestone {
        position: static;
        width: 100%;
        margin-bottom: 40px;
        transform: none !important;
    }

    .ascent-svg {
        display: none;
    }

    .milestone-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .bedrock-item {
        width: 100%;
        max-width: 400px;
    }
}
