/* About Page Layout */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

/* About Content */
.about-content {
    flex: 2;
    min-width: 300px;
    margin-right: 20px;
    padding-right: 20px;
}

.about-content h1,
.about-content h2 {
    margin-bottom: 20px;
    color: #5F07B3;
}

.about-content p,
.about-content ul {
    font-size: 1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
}

.about-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* About Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h2 {
    color: #5F07B3;
    margin-bottom: 1rem;
}

.about-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-content {
        margin-right: 0;
        padding-right: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure proper layout structure for floating button */
body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}