* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    src: local('FreightDisp Pro Medium Regular '), local('FreightDisp-Pro-Medium-Regular-'),
        url('FreightDispProMedium-Regular.woff2') format('woff2'),
        url('FreightDispProMedium-Regular.woff') format('woff'),
        url('FreightDispProMedium-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}

header {
    background-color: #01582e;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 6.5%;
    height: auto;
}

nav {
    background-color: #01582e;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 20px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: white;
    color: #01582e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-section {
    margin-bottom: 4rem;
    padding-top: 4rem;
    border-bottom: 1px solid #e0e0e0;
}

.project-section:last-child {
    border-bottom: none;
}

.project-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.project-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #01582e;
}

.project-content p {
    margin-bottom: 1.5rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.project-gallery video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.project-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
}

/* Image pop-up styles */
.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.image-popup img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.video-control {
    margin-top: 10px;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #01582e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.video-control:hover {
    background-color: #017a3e;
}

footer {
    background-color: #f5f5f5;
    padding: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 150px;
    margin-left: 3rem;
}

.footer-links h3 {
    margin-bottom: 0.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #333;
    text-decoration: none;
}

.footer-subscribe form {
    display: flex;
}

.footer-subscribe input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-right: none;
}

.footer-subscribe button {
    background-color: #01582e;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
}

.social-icons a {
    margin-left: 1rem;
    color: #333;
    text-decoration: none;
}
