
h2.section-title {
    font-weight: 700;
    color: #1e293b;
    margin: 3rem 0 1.5rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

/* Generic Image Utility */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
       TYPE 1: The Modern Vertical (Elevated)
       ========================================= */
.card-type-1 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-type-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-type-1 .img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-type-1 .img-wrapper img {
    transition: transform 0.5s ease;
}

.card-type-1:hover .img-wrapper img {
    transform: scale(1.05);
}

.card-type-1 .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* =========================================
       TYPE 2: The Horizontal List (Clean)
       ========================================= */
.card-type-2 {
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.card-type-2:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-type-2 .img-col {
    padding: 0;
    height: 200px;
    /* Mobile default */
}

@media(min-width: 768px) {
    .card-type-2 .img-col {
        height: auto;
        min-height: 220px;
    }
}

/* =========================================
       TYPE 3: The Immersive Overlay (Gradient)
       ========================================= */
.card-type-3 {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
    color: white;
    cursor: pointer;
}

.card-type-3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 1;
}

.card-type-3 .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.card-type-3 .content {
    position: absolute;
    bottom: 0;
    padding: 2rem;
    z-index: 3;
    transition: transform 0.3s ease;
}

.card-type-3:hover img {
    transform: scale(1.1);
}

.card-type-3:hover .content {
    transform: translateY(-5px);
}

/* =========================================
       TYPE 4: The Glassmorphism (Trendy)
       ========================================= */
.glass-bg-wrapper {
    background-image: radial-gradient(circle at 10% 20%, rgb(69, 83, 228) 0%, rgb(184, 75, 226) 90%);
    padding: 40px;
    border-radius: 20px;
}

.card-type-4 {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: transform 0.3s;
}

.card-type-4:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card-type-4 .card-body h5 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-type-4 .btn-glass {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.card-type-4 .btn-glass:hover {
    background: white;
    color: var(--primary-color);
}

/* =========================================
       TYPE 5: The Dark Tech (Developer)
       ========================================= */
.card-type-5 {
    background-color: var(--dark-bg);
    border: 1px solid #334155;
    border-radius: 8px;
    color: #cbd5e1;
    font-family: 'Fira Code', monospace;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-type-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.card-type-5:hover::before {
    content: '';
    width: 100%;
    opacity: 0.1;
}

.card-type-5:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.card-type-5 .tech-tag {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.card-type-5 h5 {
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.mtb-70 {
    margin-top: 70px;
    margin-bottom: 70px;
}
