/* /assets/css/interactive_section.css */

/* --- Card Stack Section --- */
.card-stack-section {
    padding: 60px 0;
    background-color: #f0f2f5;
}

.card-stack-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.card-stack-wrapper {
    position: relative;
    height: 200vh; /* Provide scroll space */
}

.stack-card {
    position: sticky;
    top: 100px; /* Sticking position from the top */
    height: calc(100vh - 200px);
    max-height: 500px;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    will-change: transform, opacity;
    transform-origin: top center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stack-card .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
}

.stack-card h3 {
    font-size: 2.2rem;
    color: #0A2342;
    margin-bottom: 15px;
}

.stack-card p {
    font-size: 1.2rem;
    color: #555;
    max-width: 90%;
}


/* --- Program Highlights Section --- */
#program-highlights {
    padding: 80px 20px;
    background-color: #ffffff;
}

.highlight-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.highlight-text h2 {
    font-size: 2.5rem;
    color: #0A2342;
    margin-top: 0;
    margin-bottom: 20px;
}

.highlight-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Process Details Section */
#process-details {
    padding: 80px 0;
    background-color: #f8f9fa; /* Slightly different background */
}

#process-details .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0A2342;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.process-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 1.2rem;
    color: #0A2342;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .highlight-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .card-stack-wrapper {
        height: auto; /* On mobile, disable the scroll effect and just stack them */
        position: static;
    }
    .stack-card {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        height: auto;
        min-height: 300px;
    }
    .stack-card:last-child {
        margin-bottom: 0;
    }
}