:root {
    --projects-bg: #121317;
    --projects-panel: #181A1E;
    --projects-accent: rgb(30, 120, 220);
    --projects-text: #e3e3e3;
    --projects-muted: #8f98a3;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    margin-top: 25px;
    background-color: var(--projects-panel);
    border-radius: 18px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.4rem;
    line-height: 1.05;
    color: var(--projects-accent);
    max-width: 900px;
}

.hero-content p {
    margin-top: 20px;
    color: white;
    font-size: 1.1rem;
    max-width: 760px;
    line-height: 1.8;
}

.projects-section {
    background-color: var(--projects-bg);
    padding: 60px 40px 100px;
    color: white;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
    text-align: center;
}

.section-label {
    color: var(--projects-accent);
    letter-spacing: 0.22em;
    font-size: 0.85rem;
}

.section-heading h2 {
    font-size: 2.9rem;
    max-width: 780px;
}

.section-description {
    color: var(--projects-muted);
    max-width: 820px;
    line-height: 1.8;
    font-size: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    background-color: var(--projects-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.project-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.project-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    flex: 1;
}

.project-card-body h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.project-card-body p {
    margin: 0;
    color: var(--projects-text);
    line-height: 1.8;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    padding: 8px 12px;
    border-radius: 999px;
    background-color: rgba(30, 120, 220, 0.15);
    color: var(--projects-accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px 24px;
    margin-top: auto;
}

.project-card-footer .view-project-btn {
    background: transparent;
    border: 1px solid rgba(30, 120, 220, 0.8);
    color: var(--projects-accent);
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.project-card-footer .view-project-btn:hover {
    background-color: rgba(30, 120, 220, 0.14);
}

.projects-action {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.projects-action .see-more-btn {
    padding: 16px 36px;
    border-radius: 999px;
    border: 1px solid rgba(30, 120, 220, 0.9);
    background-color: rgba(30, 120, 220, 0.95);
    color: white;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.projects-action .see-more-btn:hover {
    background-color: rgb(30, 100, 190);
}

@media (max-width: 860px) {
    .hero-content {
        padding: 70px 26px;
    }

    .section-heading h2 {
        font-size: 2.4rem;
    }

    .projects-section {
        padding: 45px 24px 80px;
    }
}
