@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #87CEEB; /* Sky Blue */
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-right: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #333;
}

.portfolio-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
}

.nav-menu ul li {
    margin-right: 20px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #333;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
}

#home {
    text-align: center;
    padding: 50px 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#home h1 {
    font-size: 3rem;
    margin: 20px 0 10px;
}

.profession {
    font-size: 1.2rem;
    color: #555;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

section {
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 960px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#projects h2, #about h2, #contact h2, #certificate h2, #documentation h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

#projects .project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#projects .project {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: calc(50% - 40px);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

#projects .project h3 {
    color: #87CEEB; /* Sky Blue */
    margin-top: 0;
}

#contact .contact-list {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
}

#contact .contact-list li {
    margin-bottom: 10px;
}

#contact a {
    color: #87CEEB; /* Sky Blue */
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #333;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info, .contact-form {
    width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .contact-form {
        width: 48%;
    }
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #87CEEB; /* Sky Blue */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #333;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-media a {
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.1);
}

.social-media img {
    width: 30px;
    height: 30px;
}

.items-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.item-container {
    border: 2px solid #87CEEB; /* Sky Blue */
    padding: 20px;
    margin: 10px;
    text-align: center;
    border-radius: 8px;
    width: calc(33.33% - 40px);
    box-sizing: border-box;
}

.item-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.item-container h3 {
    color: #333;
    margin-top: 0;
}

.item-container p {
    color: #555;
}

.documentation-single {
    text-align: center;
    margin-bottom: 30px;
}

.documentation-single img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#documentation h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.documentation-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.documentation-item {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.documentation-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        width: 100%;
        background-color: #87CEEB;
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .portfolio-brand {
        display: block;
    }

    .item-container {
        width: calc(50% - 40px);
    }

    .documentation-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .item-container {
        width: 100%;
    }

    .documentation-item {
        width: 100%;
    }
}
