/* Base styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #e3f2ec 0%, #f6f0e3 50%, #fbe0c9 100%);
    min-height: 100vh;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    max-width: 1060px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: white;
}

h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
    color: #111;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    line-height: 1.3;
}

p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #179e83;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Navbar Wrapper */
.navbar-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
}

.navbar {
    width: 100%;
    max-width: 1060px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 32px;
    height: 32px;
    background-color: #179e83;
    color: white;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    font-size: 15px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-links a.active {
    background-color: #d8ede6;
    color: #179e83;
}

.nav-links a:hover:not(.active) {
    color: #111;
}

/* Top Card */
.top-card {
    background-color: #2a3236;
    border-radius: 24px;
    padding: 56px 64px;
    margin-top: 40px;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.top-card .section-label.text-light {
    color: #8b9a9d;
}

.top-card p {
    color: #9aa6a8;
    font-size: 15px;
}

/* Bottom Container */
.bottom-container {
    display: flex;
    gap: 24px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* Left Card: Filters */
.left-card {
    background-color: #fdfaf6;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    flex: 0 0 350px;
    position: sticky;
    top: 24px;
}

/* Right Column: Feed List */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form Styles */
.filters-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
}

input, select {
    width: 100%;
    padding: 16px;
    border: 1px solid #e8e6df;
    border-radius: 12px;
    font-size: 14px;
    color: #111;
    outline: none;
    background-color: #ffffff;
    font-family: inherit;
    transition: border-color 0.2s;
}

input::placeholder {
    color: #888;
}

input:focus, select:focus {
    border-color: #179e83;
}

/* Custom Select Arrow */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    color: #666;
}

/* Feed Cards */
.feed-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.top-tags {
    margin-bottom: 12px;
}

.skill-tags {
    margin-top: 16px;
    margin-bottom: 0px;
}

.tag {
    background-color: #eaf5f2;
    color: #2b7a78;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
}

.tag-red {
    background-color: #fce8e8;
    color: #d14d4d;
}

.feed-desc {
    margin-bottom: 0px;
}

.feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0ede6;
}

.feed-profile h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.feed-profile span {
    font-size: 13px;
    color: #666;
}

.btn-outline {
    padding: 10px 20px;
    background-color: #ffffff;
    color: #111;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}

/* Responsive Media Queries down to 300px */
@media (max-width: 900px) {
    .bottom-container {
        flex-direction: column;
    }
    .left-card {
        flex: auto;
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    .top-card {
        padding: 40px;
    }
    .left-card {
        padding: 32px;
    }
    .feed-card {
        padding: 24px;
    }
    .navbar {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 0 16px;
    }
    h1 {
        font-size: 32px;
    }
    .top-card {
        padding: 24px;
        border-radius: 20px;
    }
    .left-card {
        padding: 24px;
        border-radius: 24px;
    }
    .feed-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .wrapper {
        padding: 0 10px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    .top-card {
        padding: 20px;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-links a {
        padding: 8px 12px;
        font-size: 13px;
    }
    .feed-card {
        padding: 16px;
    }
}
