.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}

/*** Services Styling ***/

.projects-gallery-wrapper {
    position: relative;
    padding: 30px 3%;
    background-image: url(/imageserver/UserMedia/thunder/2025/white-abstract003.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

}

.projects-container {
    max-width: 1800px;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    margin: 40px auto;
}

/* Service Options */
.projects-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.project-type-option {
    padding: 0px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    font-size: 16px;
    max-width: 300px;
    margin: auto;
border-bottom: 5px solid #111;
}
.project-type-option:hover,
.project-type-option.active {
    border-color: var(--accent-color);
    opacity: 1;
}
.project-type-option p {
	font-weight: 600;
	color: #111;
	font-size: 32px;
    transition: color 0.3s ease;
}
.project-type-option:hover p,
.project-type-option.active p {
    color: var(--accent-color);
    opacity: 1;
}

/* Service Content */
.projects-content {
    padding-top: 20px;
}

.projects-content h2 {
	color: #b0b0b0;
	font-size: 52px;
	margin: 25px auto 45px;
}

.project-details {
    display: none;
    font-size: 16px;
    color: #333;
    text-align: center;
}

.project-details.active {
    display: block;
}

.project-details-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 15px;
    justify-content: space-between;
}


.featured-image-wrapper {
	text-align: center;
	width: 47%;
	max-width: 800px;
}

.project-details figure img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: auto;
}

.featured-image-wrapper figcaption {
	position: relative;
	bottom: 130px;
	background: #f2a03dab;
	padding: 10px 5px;
	color: rgb(255, 255, 255);
	font-weight: 600;
	opacity: 0;
	height: 130px;
	font-size: 38px;
    transition: all 300ms ease-in;
}

.featured-image-wrapper:hover figcaption{
    opacity: 1;
}

@media (max-width: 1024px) {
.featured-image-wrapper figcaption {
	position: relative;
	bottom: 0px;
	background: none;
	color: #464646;
	font-weight: 600;
	opacity: 1;
	height: unset;
	font-size: 32px;
}
}

@media (max-width: 981px) {
.featured-image-wrapper {
	width: 98%;
	margin-inline: auto;
}

}

@media (max-width: 900px) {
.project-type-option p {
	font-weight: 600;
	color: #111;
	font-size: 24px;
	transition: color 0.3s ease;
}

.projects-content h2 {
	color: #b0b0b0;
	font-size: 45px;
}

.featured-image-wrapper figcaption {
	font-size: 30px;
}
}

@media (max-width: 680px) {
.project-type-option p {
	font-size: 20px;
}
.featured-image-wrapper figcaption {
	font-size: 24px;
}
}

@media (max-width: 580px) {
.projects-container {
	margin: 0px auto;
}

.projects-options {
	grid-template-columns: repeat(1, 1fr);
	margin-bottom: 40px;
}

    .project-type-option p{
        font-size: 32px;
    }

.h2-sub {
	font-size: 17px;
}
}

@media (max-width: 400px) {
    .projects-options {
        grid-template-columns: repeat(1, 1fr);
    }

    .projects-container {
        margin: 10px auto;
    }
}