/* Reset some default styles */
body, figure, h1, h2, h3, p {
    margin: 0;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #000F5B;
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section h1 {
    margin: 0;
}

.right-section {
    display: flex;
}

.right-section a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

/* Add any additional styles related to the navigation bar here */

/* Media Query for Responsive Header */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .right-section {
        margin-top: 20px;
        display: flex;
        flex-direction: column; /* Display right section items in column */
        align-items: flex-start; /* Align items to the left */
    }

    .right-section a {
        display: inline-block; /* Display links inline */
        margin: 0 10px 10px 0; /* Add space between links */
    }
}

/* Portfolio section styles */
#portfolio {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.portfolio {
    overflow: hidden;
}

.container {
    width: 80%; /* Keep the same width on PC */
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Portfolio section styles continued */
.portfolio-filters {
    margin-bottom: 30px;
}

.portfolio-filters ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background 0.3s;
}

.portfolio-filters li:hover, .portfolio-filters li.filter-active {
    background: #f39c12;
    color: #fff;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    height: 160px;
    width: 340px;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.portfolio-wrap h4 {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 16px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.portfolio-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.portfolio-links {
    display: flex;
    align-items: center;
}

.portfolio-links a {
    display: inline-block;
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.portfolio-links a:hover {
    color: #f39c12;
}
