* { box-sizing: border-box; margin: 0; padding: 0;
}
body {
    background: url("https://images.unsplash.com/photo-1665652475985-37e285aeff53?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8ZGFyayUyMGdyYWRpZW50fGVufDB8fDB8fHww");
    font-family: 'Arial', sans-serif; line-height: 1.6; color: #000;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.container {
    max-width: 960px; margin: 0 auto; padding: 2rem;
}
/* Header & Nav */
header {
    background: #000000b3;
    color: #ffffff; padding: 1rem 0 3rem; text-align: center;
    backdrop-filter: blur(10px);
}
nav ul {
    list-style: none; padding: 0;
    margin-bottom: 2rem;
}
nav ul li {
    display: inline; margin: 0 15px;
}
nav a {
    color: #fff; text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.hero-content h1 {
    font-size: 3.5rem; margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px #00000080;
}
/* Sections */
section {
    background: #d7dedce6;
    margin: 20px auto; border-radius: 8px;
    box-shadow: 0 0 10px #0000001a;
    transition: transform 0.3s;
}
h2 {
    color: #333;
    border-bottom: 2px solid #0de472; padding-bottom: 10px;
    margin-bottom: 20px; display: inline-block;
}
/* Skills */
.skills-list {
    list-style-type: square;
    padding-left: 20px;
}
/* Hide additional skills by default; reveal when .expanded is present */
.skills-list .more-skill {
    display: none;
}
.skills-list.expanded .more-skill {
    display: list-item;
}
.toggle-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 12px;
    background: #0de472;
    border: none;
    border-radius: 6px;
    color: #072a1a;
    cursor: pointer;
    font-weight: 600;
}
.toggle-btn:focus {
    outline: 2px solid #fff;
}
/* Position the button on the top-right of the skills section */
#skills {
    position: relative;
}
#skills .toggle-btn {
    position: absolute;
    top: 16px;
    right: 24px;
    margin-top: 0; /* override default */
    z-index: 5;
}
/* On small screens make the button flow below the heading */
@media (max-width: 768px) {
    #skills .toggle-btn {
        position: static;
        display: block;
        margin: 12px 0 0 auto;
    }
}
/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.project-card {
    background: #f9f9f9;
    padding: 15px; border: 1px solid #ddd;
    border-radius: 5px;
    transition: box-shadow 0.3s, transform 0.3s;
}
/* Contact Form */
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
}
input, textarea {
    width: 100%;
    padding: 10px; border: 1px solid #ccc;
    border-radius: 4px;
}
button[type="submit"] {
    background-color: #d55f5f84;
    color: white; padding: 10px 20px;
    border: none; border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
/* Footer */
footer {
    text-align: center;
    padding: 20px; background: #000000b3;
    color: #ffffff; margin-top: 20px;
    backdrop-filter: blur(5px);
}
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}
.about-text {
    flex: 1;
    min-width: 0;
}
.image-container {
    width: 200px; height: 200px;
    border: 2px solid #fefefe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s;
}
.image-container img {
    max-width: 100%;
    max-height: 100%;
}
/* Media Queries for Responsive Design */
/* Tablet view */
@media (max-width: 992px) {
    .container {
        padding: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    nav ul li {
        margin: 0 10px;
    }
}
/* Mobile view */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
}