@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

body {
    font-family: 'Poppins' ,Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: none;
    margin: 0 auto;
}

header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #D3D3D3;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover {
    color: gray;
}

nav a.active {
    color: #113597;
}

nav a.active:hover {
    color: gray;
}

pre {
    background-color: #f5f5f5;
    border: 1px solid black;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
}

code {
    font-size: 16px;
}

#hero {
    background-color: #EAF3FF;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

#hero img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid black;
    margin-bottom: 25px
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero h2 {
    font-size: 1.3rem;
    font-weight: normal;
}

section {
    min-height: 100vh;
    scroll-margin-top: 80px;
}


/* Timeline Styling */
.journey {
    margin-top: 60px;
}

.journey h2 {
    margin-bottom: 25px;
}

.timeline {
    display: flex;
    gap: 20px;
}

.timeline-item {
    flex: 1;
    padding: 20px;
    background: #eaf3ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins' ,Arial, sans-serif;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}


.timeline-item.active {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}

.timeline-content {
    margin-top: 20px;
    padding: 25px;
    background: #eaf3ff;
    border: 1px solid #93c5fd;
    border-radius: 12px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}


/* Technical Interests Styling */
#technical-interests {
    padding-top: 100px;
}

#technical-interests .introduction {
    margin-bottom: 25px;
}

/* Technical Interests
    Skill List */
.skills-list {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.skill-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.skill-card summary {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-card summary::-webkit-details-marker {
    display: none;
}

.skill-card summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: #64748b;
    transition: transform 0.3s ease;
}

.skill-card[open] summary::after {
    content: "−";
}

.skill-card[open] summary {
    background-color: #eaf3ff;
    border-bottom: 1px solid #e2e8f0;
}

.skill-content {
    padding: 20px 25px;
}

.skill-content h2 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.skill-content h2:not(:first-child) {
    margin-top: 20px;
}

.skill-content ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.skill-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.skill-content li::marker {
    color: #60a5fa;
}


/* Portfolio Styling */
#portfolio {
    padding: 100px 0 60px;
}

#portfolio h1 {
    margin-bottom: 15px;
}

#portfolio .introduction {
    margin-bottom: 35px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.project-content h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.project-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-technologies span {
    background: #eaf3ff;
    color: #1d4ed8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
    width: 100%;
}

.project-button {
    display: inline-block;
    padding: 12px 20px;
    background: #eaf3ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-button:hover {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}

/* Project Details */
#project-details-intro {
    min-height: auto;
    padding: 110px 0 40px;
}

#project-details-intro h1 {
    margin-bottom: 15px;
}

#project-details-intro .introduction {
    margin-bottom: 0;
}

.project-detail-section {
    display: none;
    min-height: 100vh;
    padding: 110px 0 70px;
    scroll-margin-top: 0;
}

.project-detail-section h1 {
    margin-bottom: 15px;
}

.project-detail-section.active {
    display: block;
}



/* Contact Me Styling */
#contact-me {
    padding: 110px 0 60px;
    background-color: #ffffff;
}

.contact-introduction {
    margin-bottom: 35px;
}

.contact-introduction h1 {
    margin-bottom: 15px;
}

.contact-introduction p {
    font-size: 1rem;
    color: #475569;
}

/* Contact Form Container */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 35px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-form-container > p {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    outline: none;
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px #eaf3ff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.contact-button {
    padding: 12px 20px;
    background: #eaf3ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}
