
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: #1F252E;
    color: #fff;
}


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.back-btn {
    padding: 1.5rem 2rem;
}

.back-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00E8F8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.back-btn a:hover {
    gap: 0.8rem;
}
/* ── PROJECTS SECTION ── */
.projects {
    max-width: 1100px;
    margin: auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #00E8F8;
    margin: 0.75rem auto 3rem;
}
.divider {
    margin-top: 20px;
    width: 100%;
    height: 3px;
    background: rgba(0, 232, 248, 0.2);
    margin: 2rem 0;
}
/* ── PROJECTS GRID ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── PROJECT CARD ── */
.project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 232, 248, 0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 232, 248, 0.5);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.project-card img {
    width: 100%;

    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    padding: 1rem 1rem 0.3rem;
}

.project-card p {
    font-size: 0.78rem;
    color: #7a9abe;
    padding: 0 1rem 1.2rem;
    line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta {
    text-align: center;
    padding: 5rem 2rem;
    border-top: 1px solid rgba(0, 232, 248, 0.1);
    max-width: 1100px;
    margin: auto;
}

.cta h2 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 0.95rem;
    color: #7a9abe;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    background: #00E8F8;
    color: #1F252E;


    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;


    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 232, 248, 0.4);
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── MOBILE — 1 column ── */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects {
        padding: 3rem 1.2rem;
    }
    .cta {
        padding: 3rem 1.2rem;
    }
}
