/* 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: 1040px;
    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: 12px;
    color: white;
}

h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
    color: #111;
}

h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

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);
    display: flex;
    justify-content: center;
}

.navbar {
    width: 100%;
    max-width: 1040px;
    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: 40px 48px;
    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: 14px;
}

/* Bottom Container */
.bottom-container {
    display: flex;
    gap: 24px;
    margin-bottom: 80px;
}

/* Left & Right Cards */
.left-card, .right-card {
    background-color: #fdfbf8;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.left-card {
    flex: 1.2;
}

.right-card {
    flex: 1;
}

/* Stats List */
.stats-list {
    margin-bottom: 32px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0ede6;
}

.stat-row span {
    font-size: 14px;
    color: #4a4a4a;
}

.stat-row strong {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* Skills & Badges */
.skills-section {
    margin-bottom: 24px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #eaf5f2;
    color: #2b7a78;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 24px;
}

/* Form Styles */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.half {
    flex: 1;
}

label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

input {
    width: 100%;
    padding: 14px 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:focus {
    border-color: #179e83;
}

/* Button */
.btn {
    width: 100%;
    padding: 16px;
    background-color: #1ca386;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #15876f;
}

/* Responsive Media Queries down to 300px */
@media (max-width: 900px) {
    .bottom-container {
        flex-direction: column;
    }
    .left-card, .right-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    .top-card {
        padding: 32px 40px;
    }
    .left-card, .right-card {
        padding: 32px;
    }
    .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, .right-card {
        padding: 24px;
        border-radius: 24px;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@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;
    }
}
