/* ======================================== */
/* HERO SECTION */
/* ======================================== */

.projects-hero {

    position: relative;

    height: 420px;

    overflow: hidden;
}

.project-media,
.hero-bg {

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

/* HERO IMAGE */

.hero-bg {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* OVERLAY */

.hero-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.35);

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding-top: 30px;
}

/* TITLE */

.projects-title {

    background: white;

    border: 3px solid #0f3b82;

    border-radius: 12px;

    padding: 10px 35px;

    font-size: 38px;

    font-weight: 800;

    color: #111827;
}

/* ======================================== */
/* PROJECTS SECTION */
/* ======================================== */

.projects-section {

    background: #dff4ff;

    padding: 40px 25px 60px;
}

/* COLUMN */

.project-column {
    height: 100%;
}

/* COLUMN TITLE */

.column-title {

    width: fit-content;

    margin: auto;

    margin-bottom: 30px;

    background: white;

    border: 3px solid #0f3b82;

    border-radius: 12px;

    padding: 10px 28px;

    font-size: 22px;

    font-weight: 800;

    color: #111827;
}

/* ======================================== */
/* PROJECT CARD */
/* ======================================== */

.project-card {

    margin-bottom: 40px;
}

/* PROJECT TITLE */

.project-name {

    font-size: 26px;

    font-weight: 800;

    color: #0f172a;

    min-height: 64px;

    display: flex;

    align-items: flex-start;

    margin-bottom: 10px;

    text-decoration: underline;
}

/* DATE */

.project-date {

    font-size: 13px;

    font-weight: 700;

    color: #2563eb;

    margin-bottom: 12px;
}

/* DESCRIPTION */

.project-description {

    font-size: 14px;

    line-height: 1.8;

    font-weight: 500;

    color: #334155;

    margin-bottom: 15px;
}

/* REMOVE EXTRA GAP */

.project-description p {
    margin-bottom: 10px;
}

/* CLAMP */

.desc-text.clamped {

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* SEE MORE BUTTON */

.see-more-btn {

    display: inline-block;

    margin-top: 6px;

    font-size: 13px;

    font-weight: 700;

    color: #0f3b82;

    cursor: pointer;

    user-select: none;
}

/* VIEW FULL DETAILS BUTTON */

.view-details-btn {

    display: inline-block;

    margin-left: 14px;

    margin-top: 6px;

    font-size: 13px;

    font-weight: 700;

    color: white;

    background: #0f3b82;

    padding: 4px 14px;

    border-radius: 20px;

    text-decoration: none;
}

.view-details-btn:hover {

    background: #1e40af;

    color: white;
}

/* IMAGE */

.project-image img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    border-radius: 10px;

    border: 3px solid #0f3b82;

    transition: 0.3s ease;
}

/* HOVER */

.project-image img:hover {

    transform: scale(1.02);

    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media(max-width: 992px){

    .projects-hero {
        height: 300px;
    }

    .project-name {
        font-size: 22px;
    }

}

@media(max-width: 768px){

    .projects-title {

        font-size: 26px;

        padding: 8px 24px;
    }

    .column-title {

        font-size: 18px;

        padding: 8px 20px;
    }

    .project-name {

        font-size: 20px;
    }

    .project-image img {

        height: 200px;
    }

}