/* Main content */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 2rem;
    padding-top: 120px; /* Increased to give more space from navbar */
}

/* Hero section */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.page-subtitle {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: -0.016em;
    line-height: 1.38;
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Project card - liquid frosted */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-title {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    letter-spacing: -0.021em;
    line-height: 1.14;
}

.project-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-size: 17px;
    letter-spacing: -0.022em;
    flex: 1;
}

/* Button group */
.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-button {
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.button-icon {
    width: 16px;
    height: 16px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .page-subtitle {
        font-size: 19px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .project-button {
        width: 100%;
        justify-content: center;
    }
}