/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #ffffff;
    color: #111;
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
    width: 100%;
    background-color: #ffffff;
    padding: 18px 0;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.nav-pill {
    background-color: #FCD200;
    padding: 12px 34px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links li {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.nav-links li:hover {
    background-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}



/* PROJECTS SECTION */
#projects {
    padding: 90px 20px;
}

/* FLEX CONTAINER */
.projects-container {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 50px;   /* ⬅️ THIS IS THE KEY */
}

/* PROJECT CARD */
.project-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;

    width: 100%;          /* ensure full row */
    max-width: 780px;     /* ⬅️ THIS CREATES BREATHING SPACE */
    margin: 0 auto;       /* centers each card */

    display: flex;
    flex-direction: column;
    gap: 16px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-container {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 60px;   /* ⬅️ clearer row separation */
}

.project-card {
    margin-bottom: 30px;
} 

.project-card::before {
    content: "";
    width: 50px;
    height: 4px;
    background-color: #f9e26d;
    border-radius: 10px;
    margin-bottom: 8px;
}


.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* TEXT */
.project-card h2 {
    font-size: 20px;
    font-weight: 600;
}

.project-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* BUTTON */
.project-btn {
    width: fit-content;
    padding: 8px 20px;
    background-color: #FCD200;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.project-btn:hover {
    opacity: 0.9;
}

/* FOOTER */

.contact-footer {
    background-color: #ffffff;
    padding: 100px 20px 60px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.footer-subtitle {
    font-size: 15px;
    color: #444;
    max-width: 620px;
    margin: 0 auto 60px;
    line-height: 1.7;
    text-align: justify;
}

.footer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.footer-card {
    background-color: #f9e26d;
    border: 1px solid #e5e5e5;
    padding: 28px 22px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #000;
}

.footer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
    background-color: #ffffff;
}

.footer-card a:hover {
    color: #FCD200;
}

.footer-card p,
.footer-card a {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: center;
}