/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f7f9fb; color: #1f2d3d; margin:0; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 80px;
    background-color: #f7fbfd;
    border-bottom: 1px solid #bcdff5;
}

.logo { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #1e88c9; }
nav a { margin-left: 22px; text-decoration: none; font-size: 14px; color: #1e88c9; font-weight:500; white-space: nowrap; }
nav a:hover { color: #0f547c; font-weight: 500; }

@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 12px 20px; gap: 10px; }
    .navbar nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
    nav a { margin: 0; font-size: 13px; }
}

/* ===== PROJECT PAGE ===== */
.project-page { padding: 120px 140px 80px; background: #ffffff; }
.section-title { text-align: center; font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 600; }
.section-underline { width: 80px; height: 4px; background: #1e88c9; margin: 15px auto 40px; border-radius: 2px; }
.page-subtitle { max-width: 800px; margin: 0 auto 30px; text-align: center; color: #5a6c7b; font-size: 16px; margin-bottom: 30px; }
.back-link { color: #1f2d3d; text-decoration: none; transition: color 0.25s ease; }
.back-link:hover { color: #1e88c9; }

/* ===== CATEGORY BUTTONS / TABS ===== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}
.project-filters .btn {
    padding: 10px 22px;
    background-color: #f3f4f8;
    color: #1e88c9;
    border: 1px solid #d6dde5;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.project-filters .btn:hover { background-color: #1e88c9; color: #fff; border-color: #1e88c9; }
.project-filters .btn.active { background-color: #1e88c9; color: #fff; border-color: #1e88c9; }

/* ===== PROJECT CARDS ===== */
.projects-container { display: flex; flex-direction: column; gap: 40px; }
.project-card {
    display: flex;
    gap: 40px;
    padding: 30px;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    background: #f3f4f8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 20px;
}
.project-card:hover { transform: translateY(-5px); }
.project-image { flex: 0 0 20%; background: #eef4f8; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7b8a97; min-height: 260px; }
.project-image i { font-size: 42px; margin-bottom: 0px; color: #1e88c9; }
.project-content { flex: 0 0 60%; }
.project-title { font-size: 24px; margin-bottom: 6px; color: #3a4753; }
.project-location { display: inline-block; margin-bottom: 16px; color: #1e88c9; text-decoration: none; font-weight: 500; }
.project-description { margin-bottom: 28px; line-height: 1.6; color: #4b5d6b; }

@media (max-width: 900px) {
    .project-card { flex-direction: column; }
    .project-content { flex: 1 1 100%; }
}
@media (max-width: 768px) {
    .project-page { padding: 120px 20px 80px; }
    .project-filters { gap: 8px; margin-bottom: 30px; }
    .project-filters .btn { padding: 8px 16px; font-size: 13px; }
}

/* ===== PROJECT CARD ===== */
.project-card {
    display: flex;
    gap: 40px;
    padding: 30px;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    background: #f3f4f8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 20px;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* ===== PROJECT IMAGE ===== */
.project-image {
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ===== PROJECT CONTENT ===== */
.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Project title and location */
.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #3a4753;
    margin-bottom: 6px;
}

.project-location {
    font-size: 14px;
    color: #1e88c9;
    text-decoration: none;
    margin-bottom: 16px;
    font-weight: 500;
}

.project-location:hover {
    color: #0f547c;
}

/* Project description */
.project-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5d6b;
    margin-bottom: 28px;
}

/* ===== PROJECT DETAILS ===== */
.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    margin-bottom: 28px;
}

.detail-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #4b5d6b;
}

.detail-item i {
    color: #1e88c9;
    font-size: 18px;
    margin-top: 4px;
}

.detail-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #3a4753;
    margin-bottom: 4px;
}

/* ===== PROJECT LEARNING ===== */
.project-learning {
    border-top: 1px dashed #d6dde5;
    padding-top: 18px;
    font-size: 14.5px;
    color: #4b5d6b;
    margin-bottom: 18px;
}

.project-learning strong {
    color: #3a4753;
}

/* ===== MORE DETAILS BUTTON ===== */
.btn-more-details {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1e88c9;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-more-details:hover {
    background-color: #0f547c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .project-card {
        flex-direction: column;
        gap: 20px;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .project-image {
        flex: 1;
    }
}
