#content {
    opacity: 0;
    transition: all .5s ease-in-out;
}
h1 {
    font-size: 40px;
    margin-bottom: 0.5rem;
    display: inline-block;
}
#projectCount {
    color: #ff3333;
    font-weight: 400;
    font-size: 20px;
    vertical-align: super;
}
hr {
    border: none;
    border-top: 2px solid #333;
    margin: 1rem 0;
}

.description {
    font-size: 18px; /* Adjusted font size */
    width: 100%;      /* Allow description to span width */
    max-width: 550px; /* Set a max-width for readability */
    margin-bottom: 50px; /* Add space below description */
}

#contentUni,
#contentIndustry {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}
.container {
    display: flex;
    flex-direction: column;
    width: 48%;
}

.box {
    width: 100%;
    text-decoration: none;
    color: #000;
    margin-bottom: 50px;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
}

.img-caption {
    padding: 10px 10px 0 10px;
    font-size: 16px; /* Adjusted font size */
    color: #555; /* Softer text color for caption */
}
h2 {
    margin: 0;
    padding: 5px 10px 10px 10px; /* Adjusted padding */
    font-size: 28px;   /* Adjusted font size */
    font-weight: 600;
}


.projects-container > div > .container:nth-child(2) {
    margin-top: 100px; /* This creates the staggered effect */
}

@media only screen and (max-width: 900px) {
    .projects-container {
        flex-direction: column;
        gap: 0;
    }

    .projects-container > div > .container {
        width: 100%;
    }

    .projects-container > div > .container:nth-child(2) {
        margin-top: 0;
    }
}
@media only screen and (max-width: 600px) {
    .description {
        width: 100%;
        margin-bottom: 25px;
    }
    .box {
        width: 100%;
        margin-top: 25px !important;
        margin-bottom: 25px;
    }
}