
/* ================= CONTENT SECTIONS ================= */
/* section {
    display: none;
  width: 100%;
}

section.active {
    display: block;
    animation: fadeIn 0.5s ease;
} */

/* Fix for sections overlapping footer */
section {
    position: relative; /* Change from fixed to relative */
    min-height: calc(100vh - 80px); /* Full height minus header */
    overflow-y: auto; /* Allow scrolling within section */
   
    background: inherit;
    width: 100%;
}

/* Remove fixed positioning from all sections */
section.active {
    position: relative;
    display: block;
}

/* Remove all transform animations that cause overlap */
section:not(.active) {
    display: none;
}

/* Keep your sliding animations but adjust */
section.active {
    animation: slideInFromRight 0.6s ease;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer styling */
.footer {
    position: relative;
    width: 100%;  
    
    z-index: 10; /* Ensure footer is above sections */
    margin-top: auto; /* Push to bottom */
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}
