/* ===================== Root & Global ===================== */
:root {
    --bg-color: #fefaf0;
    --brand-yellow: #f4b400;
    --navy-primary: #1e293b; 
    --text-main: #1a1a1a;
    --text-muted: #555555;
}

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

/* Smooth scroll */
html { scroll-behavior: smooth; }

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: var(--bg-color); 
    overflow-x: hidden; 
}

/* ===================== Navigation ===================== */
nav { 
    display: flex; 
    justify-content: space-between; 
    padding: 2rem 10%; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    background: var(--bg-color); 
    z-index: 50; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 800; 
}

.logo span { color: var(--brand-yellow); }

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 3rem; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--navy-primary); 
    font-weight: 700; 
    transition: 0.3s; 
}

.nav-links a:hover { color: var(--brand-yellow); }

/* ===================== Hero Section ===================== */
.hero { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 10% 5% 10%; 
    min-height: 85vh; 
}

h1 { 
    font-size: 4rem; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    letter-spacing: -2px; 
}

.role-tag { 
    color: var(--brand-yellow); 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 0.5rem; 
}

.bio-status { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 1.5rem; 
}

.status-line { 
    height: 30px; 
    width: 4px; 
    background-color: var(--brand-yellow); 
}

.description { 
    color: var(--text-muted); 
    max-width: 500px; 
    margin-bottom: 1rem; 
    line-height: 1.6; 
}

/* Social Icons */
.social-icons-row { 
    display: flex; 
    gap: 1.5rem; 
    margin-top: 1.5rem; 
}

.social-icons-row a { 
    color: var(--navy-primary); 
    font-size: 1.8rem; 
    text-decoration: none; 
    transition: 0.3s ease; 
}

.social-icons-row a:hover { 
    color: var(--brand-yellow); 
    transform: translateY(-3px); 
}

/* Profile Image Blob */
.blob-shape {
    background-color: var(--brand-yellow);
    width: 350px; 
    height: 420px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    position: relative; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center;
    overflow: hidden; 
}

.profile-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* ===================== Sections: Education, Experience, Projects ===================== */
.details-container { 
    padding: 80px 10%; 
    background-color: #ffffff; 
}

.section-block { 
    margin-bottom: 60px; 
}

.section-title { 
    font-size: 2.2rem; 
    font-weight: 800; 
    margin-bottom: 30px; 
    color: var(--navy-primary); 
    position: relative; 
}

.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: -8px; 
    left: 0; 
    width: 50px; 
    height: 4px; 
    background-color: var(--brand-yellow); 
}

.card { 
    background: var(--bg-color); 
    padding: 30px; 
    border-radius: 20px; 
    border-left: 6px solid var(--brand-yellow); 
    transition: 0.3s ease; 
}

.card:hover { 
    transform: translateX(10px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
}

.date { 
    font-weight: 700; 
    color: var(--brand-yellow); 
    font-size: 0.9rem; 
}

.institution { 
    font-weight: 700; 
    font-size: 1.1rem; 
    color: var(--navy-primary); 
    margin-bottom: 15px; 
}

.experience-list { 
    margin-left: 20px; 
    color: var(--text-muted); 
    line-height: 1.8; 
}

/* Skills Grid */
.skills-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
}

.skill-tag { 
    background-color: var(--navy-primary); 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 30px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: 0.3s ease; 
}

.skill-tag:hover { 
    background-color: var(--brand-yellow); 
    color: var(--navy-primary); 
}

/* ===================== Contact Details Section ===================== */
.contact-details-section {
    padding: 80px 10%;
    background-color: #ffffff;
}

.contact-details-section .contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-card {
    flex: 1 1 220px;
    background-color: var(--bg-color);
    border-left: 6px solid var(--brand-yellow);
    padding: 25px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-card i {
    font-size: 2rem;
    color: var(--brand-yellow);
    margin-bottom: 15px;
    display: inline-block;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy-primary);
}

.contact-card p a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-card p a:hover {
    color: var(--brand-yellow);
}

/* ===================== Contact Form Section ===================== */
.contact-section { 
    padding: 100px 10%; 
    background-color: var(--navy-primary); 
    display: flex; 
    justify-content: center; 
}

.login-container { 
    width: 100%; 
    max-width: 500px; 
}

.login-box { 
    background: #fff; 
    padding: 3rem; 
    border-radius: 24px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    text-align: center; 
}

.login-box h2 { 
    font-size: 2rem; 
    color: var(--navy-primary); 
    margin-bottom: 0.5rem; 
}

.input-group { 
    text-align: left; 
    margin-bottom: 1.5rem; 
}

.input-group label { 
    display: block; 
    font-weight: 700; 
    font-size: 0.85rem; 
    margin-bottom: 0.5rem; 
    color: var(--navy-primary); 
}

.input-group input, .input-group textarea { 
    width: 100%; 
    padding: 12px 15px; 
    border: 2px solid #e2e8f0; 
    border-radius: 10px; 
    font-family: inherit; 
    transition: 0.3s; 
}

.input-group input:focus, .input-group textarea:focus { 
    outline: none; 
    border-color: var(--brand-yellow); 
}

.login-btn { 
    width: 100%; 
    padding: 15px; 
    background-color: var(--brand-yellow); 
    border: none; 
    border-radius: 10px; 
    color: var(--navy-primary); 
    font-weight: 800; 
    font-size: 1rem; 
    cursor: pointer; 
    transition: 0.3s; 
    margin-top: 1rem; 
}

.login-btn:hover { 
    background-color: #e2a600; 
    transform: translateY(-2px); 
}

/* ===================== Footer ===================== */
footer { 
    background-color: #ffffff; 
    padding: 3rem 10% 2rem 10%; 
    border-top: 1px solid #eee; 
    text-align: center; 
}

.footer-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1.5rem; 
}

.footer-logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--navy-primary); 
}

.footer-logo span { color: var(--brand-yellow); }

.footer-text { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
}

/* ===================== Modal ===================== */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 100; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    justify-content: center; 
    align-items: center; 
}

.modal-content { 
    background-color: #fff; 
    padding: 2.5rem; 
    border-radius: 15px; 
    width: 90%; 
    max-width: 400px; 
    position: relative; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
}

.modal-content i { 
    margin-right: 10px; 
    color: var(--brand-yellow); 
}

.close-btn { 
    position: absolute; 
    right: 20px; 
    top: 15px; 
    font-size: 2rem; 
    cursor: pointer; 
    color: #888; 
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; }
    .social-icons-row { justify-content: center; }
    .blob-shape { width: 280px; height: 340px; margin-top: 3rem; }
    .description { margin: 0 auto 1rem auto; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 5px; }
    .login-box { padding: 2rem 1.5rem; }
    .contact-cards { flex-direction: column; gap: 20px; }
}