/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #2c3e50;
    --accent-color: #16a085;
    --white: #ffffff;
    --text-muted: #666;
    --border-color: #e1e4e8;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
    background-color: #f0f2f5;
    min-height: 100vh;
    padding-top: 80px;

    /* SAME PROFESSIONAL BACKGROUND */
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.75);
    backdrop-filter: blur(3px);
    z-index: -1;
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* =========================================
   3. CONTAINER & CARD
   ========================================= */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-card {
    background: var(--white);
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   4. PROFILE SECTION
   ========================================= */
.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.dev-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f2f5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dev-info {
    flex: 1;
}

.dev-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dev-info .role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.dev-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.social-btn.linkedin:hover {
    background-color: #0077b5;
}

.social-btn.github:hover {
    background-color: #333;
}

.social-btn.email:hover {
    background-color: var(--accent-color);
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* =========================================
   5. FORM SECTION
   ========================================= */
.form-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.form-section p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.professional-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.professional-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.professional-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.professional-form input,
.professional-form select,
.professional-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #f9f9f9;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.2s;
}

.professional-form input:focus,
.professional-form select:focus,
.professional-form textarea:focus {
    background-color: white;
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #1a252f;
}

/* Footer */
footer {
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 600px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .professional-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}