/* Loud and Clear: Reset and Typography */
:root {
    --primary-color: #3498db; /* Blue for highlights */
    --secondary-color: #2c3e50; /* Dark Blue/Gray for text */
    --text-color: #333;
    --background-color: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* --- Navigation & Sticky Menu --- */
.navbar {
    position: fixed; 
    top: 0;
    width: 100%;
    background: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex; 
    justify-content: center;
    padding: 15px 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

/* Active Class for JS Highlighting */
.navbar a.active {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.navbar a:hover {
    background-color: #4a667f;
}

/* --- Main Content Layout --- */
main {
    padding-top: 80px; /* Space for fixed header */
    max-width: 1000px;
    margin: 0 auto;
}

.resume-section {
    padding: 60px 40px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.resume-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- Profile Photo Section Styling --- */

.profile-header {
    display: flex; 
    align-items: center; 
    gap: 30px; 
    border-left: 5px solid var(--primary-color);
}

.profile-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; 
    border: 5px solid var(--primary-color);
    flex-shrink: 0; 
}

.header-info h1 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.header-info .title {
    font-size: 1.2em;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quick-contact {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
}

/* --- Job/Project Entry Styling (Clarity) --- */

.job-entry, .project-entry, .edu-entry {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 3px solid #ccc;
}

.job-entry h3, .project-entry h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.date, .tech-stack {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.job-entry ul, .project-entry ul {
    margin-top: 10px;
    margin-left: 20px;
}

/* --- Skills Tags Styling --- */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
}

/* --- RESPONSIVENESS (Mobile View Improvements) --- */

@media (max-width: 768px) {
    /* 1. Mobile Navigation (Vertical stacking) */
    .navbar ul {
        flex-direction: column; 
        align-items: stretch;
        padding: 5px 0;
    }

    .navbar li {
        width: 100%; 
        text-align: center;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar a {
        display: block; 
        padding: 10px;
        border-radius: 0;
    }
    
    main {
        padding-top: 50px; /* Reduced header space */
    }

    /* 2. Profile Photo Stacking */
    .profile-header {
        flex-direction: column; /* Stack photo and info vertically */
        text-align: center;
        gap: 15px;
        padding: 40px 20px;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .header-info h1 {
        font-size: 2em;
    }

    .header-info .title {
        font-size: 1em;
    }

    .resume-section {
        padding: 30px 15px; /* Reduce padding on mobile */
    }
}







@media (max-width: 768px) {

  .navbar {
    display: none;
  }

  main {
    padding-top: 0; /* remove extra space */
  }

}