/* ===== Tech Projects Section ===== */
.tech-projects {
    background: #111111;
    padding: 100px 40px;
    position: relative;
}

.tech-projects-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== Header ===== */
.tech-projects-header {
    text-align: center;
    margin-bottom: 64px;
}

.tech-projects-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #f59e0b;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tech-projects-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.tech-projects-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}

/* ===== Grid ===== */
.tech-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== Card ===== */
.tp-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ===== Card Image ===== */
.tp-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tp-card:hover .tp-card-img img {
    transform: scale(1.05);
}

/* Arrow overlay button */
.tp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tp-card:hover .tp-card-overlay {
    opacity: 1;
}

.tp-card-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f59e0b;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tp-card-link:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ===== Card Body ===== */
.tp-card-body {
    padding: 24px 26px 28px;
}

.tp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tp-card-tags span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 4px 10px;
    border-radius: 50px;
}

.tp-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tp-card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .tech-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tech-projects {
        padding: 80px 20px;
    }

    .tech-projects-header {
        margin-bottom: 44px;
    }
}
