/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #333;
    transition: background 0.3s ease-in-out;
}

/* Button */
button {
    background-color: #1E3A8A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

button:hover {
    background-color: #3B82F6;
    transform: scale(1.05);
}

button:active {
    background-color: #1E40AF;
    transform: scale(0.95);
}

button, .resume-download {
    background-color: #1E3A8A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

button:hover, .resume-download:hover {
    background-color: #3B82F6;
    transform: scale(1.05);
}

button:active, .resume-download:active {
    background-color: #1E40AF;
    transform: scale(0.95);
}

/* Header */
header {
    background: #1E3A8A;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #FACC15;
    text-decoration: none;
    font-weight: bold;
}

/* Sections */
section {
    padding: 40px;
    max-width: 900px;
    margin: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Project Cards */
.project {
    background: #eef2ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.project img {
    width: 100%;
    height: 200px; /* Set a fixed height to make the images more square-like */
    object-fit: cover; /* Ensure the image covers the area without distortion */
    border-radius: 5px;
}    

/* Project Details */
#project-details img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}
/* Dark Mode */
.dark-mode {
    background: #1A1A2E;
    color: #f8f8f8;
}

.dark-mode header, .dark-mode footer {
    background: #16213E;
}

.dark-mode section {
    background: #222;
    color: #f8f8f8;
}

.dark-mode .project {
    background: #14161f;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}