/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
}

/* Header */
header {
    background-color: #0a74da;
    color: white;
    padding: 60px 20px;
    text-align: center;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
header p {
    font-size: 1.2em;
}
.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid white;
}

/* Navigation Bar */
nav {
    background-color: #084c9e;
}
nav .container {
    display: flex;
    justify-content: center;
}
nav a {
    color: #ffffff;
    padding: 15px 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}
nav a:hover, nav a.active {
    background-color: #063c7d;
}

/* Main Content */
main {
    padding: 40px 20px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
}
h2 {
    margin-bottom: 20px;
    color: #0a74da;
    border-bottom: 2px solid #0a74da;
    display: inline-block;
}

/* About Me Section */
.about-me {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}
.skills-list {
    list-style-type: disc;
    margin-left: 20px;
}
.skills-list li {
    margin-bottom: 10px;
}

/* Projects Preview Section */
.projects-preview {
    margin-bottom: 40px;
}
.project-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.project-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0a74da;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.project-item h3 {
    margin-top: 0;
}
.project-item a {
    color: #0a74da;
    text-decoration: none;
}
.project-item a:hover {
    text-decoration: underline;
}
.btn {
    display: inline-block;
    background-color: #0a74da;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}
.btn:hover {
    background-color: #084c9e;
}

/* Contact Information */
.contact-info {
    list-style-type: none;
    padding: 0;
}
.contact-info li {
    margin-bottom: 15px;
    font-size: 1.1em;
}
.contact-info a {
    color: #0a74da;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #084c9e;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}

/* Resume Section */
.resume-section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.resume-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.resume-section h3 {
    color: #0a74da;
    margin-top: 30px;
    margin-bottom: 15px;
}

.resume-section h4 {
    margin-top: 20px;
    font-size: 1.2em;
}

.resume-section p em {
    color: #666;
}

.resume-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.resume-section ul li {
    margin-bottom: 10px;
}

.resume-section .skills-list {
    list-style-type: disc;
    margin-left: 20px;
}

.resume-section .skills-list li {
    margin-bottom: 10px;
}

/* Styling the download button */
.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007BFF;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn:active {
    background-color: #004080;
}

/* Project Details Section */
.project-details {
    margin-top: 15px;
}

.project-details h4 {
    margin-bottom: 10px;
    color: #0a74da;
}

.project-details ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.project-details ul li {
    margin-bottom: 5px;
}

/* Toggle Button */
.toggle-details {
    background-color: transparent;
    border: none;
    color: #0a74da;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.toggle-details .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.toggle-details.expanded .arrow {
    transform: rotate(90deg); /* Rotate arrow when expanded */
}

/* Collapsible Project Details */
.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.project-details.expanded {
    max-height: 1000px; /* A high value to allow for content expansion */
    margin-top: 15px;
}

.project-details h4 {
    margin-bottom: 10px;
    color: #0a74da;
}

.project-details ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.project-details ul li {
    margin-bottom: 5px;
}