html, body {width: auto!important; overflow-x: hidden!important} 

/* Featured Image Container */
.portfolio-featured-image-container {
    position: relative;
    overflow: hidden;
    height: 1000px; /* Adjust as needed */
    width: 100%; /* Ensure full width of the parent container */
    place-items: center end; /* Aligns horizontally and to the bottom */
}

/* Featured Image */
.portfolio-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1; /* Ensure the image is behind the title */
}

/* Scroll Down Message */
.scroll-down-message {
    position: absolute; /* Positioning relative to the container */
    bottom: 20px; /* Place above the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the text */
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    z-index: 100;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Image Title */
.image-title {
    position: absolute;
    top: 320px; /* Adjust as needed */
    left: 80px; /* Adjust as needed */
    color: #fff; /* Text color for visibility */
    font-size: 4em; /* Adjust font size as needed */
    z-index: 10; /* Ensure the title is on top of the image */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.taxonomy-list {
    position: absolute;
    top: 400px;
    left: 80px;
    color: #fff;
    font-size: 1em;
    z-index: 10;
    margin: 0;
    padding: 7px;
    list-style: none;
    background-color: white;
    border-radius: 0.25rem;
}


.description-wrapper {
    background-color: #efe9e1;
}

/* Description Container */
.description-container {
    margin-top: 0px; /* Adjust as needed */
    padding-top: 200px;
    padding-right: 400px;
    padding-left: 400px; /* Adjust padding as needed */
    padding-bottom: 20px;
    
    position: relative;
    z-index: 2; /* This makes sure the description container is above the image */
   
    width: 100%;
}

.portfolio-content-container {
    margin-top: 0px; /* Adjust as needed */
    padding-top: 30px;
    padding-right: 400px;
    padding-left: 400px; /* Adjust padding as needed */
    padding-bottom: 70px;
    background-color: #f9f9f9; /* Light background for contrast */
    position: relative;
    z-index: 2; /* This makes sure the description container is above the image */
    background: white; /* Optional */
    background-color: #efe9e1;
    
}

/* portfolio Images */
.single-gallery-heading {
    font-size: 2rem;
    margin-left: 45px;
    margin-top: 5rem;
}

.single-gallery-text {
    margin-left: 45px;
}

/* portfolio Image Container */
.portfolio-image-container {
    margin-bottom: 20px; /* Space between image containers */
}

/* portfolio Images Styling */
.portfolio-images img {
    width: 100%;
    display: block;
    padding: 0.2rem;
}

/* Image Info */
.image-info {
    display: flex; /* Use flexbox to align items inline */
    justify-content: space-between; /* Space out items */
    align-items: center; /* Center align items vertically */
    margin-top: 10px; /* Space above the text */
}

/* portfolio Name */
.image-portfolio-name {
    font-size: 1em; /* Adjust font size for the portfolio name */
    font-weight: bold; /* Make the portfolio name bold */
    margin: 0; /* Remove default margin */
}

/* Alt Text Styling */
.image-alt-text {
    margin-left: 20px; /* Space between portfolio name and alt text */
    margin-right: 10px;
    line-height: normal;
}

.image-alt-des {
    font-size: 0.875em; /* Adjust font size for readability */
    color: #0e0e0e; /* Adjust color as needed */
    margin: 0; /* Remove default margin */
    text-align: left; /* Align text to the left */
    font-style: italic; /* Italicize the text */
}

.image-alt-col {
    font-size: 0.875em; /* Adjust font size for readability */
    color: #0e0e0e; /* Adjust color as needed */
    margin: 0; /* Remove default margin */
    text-align: left; /* Align text to the left */
    font-weight: 600; /* Make the font weight bold */
}

/* portfolio Details Table */
.portfolio-details-table {
    width: 100%; /* Full width of the parent container */
    border-collapse: collapse; /* Collapse borders between cells */
    margin-bottom : 80px; /* Space above the table */
    margin-top: 20px;
    background-color:white;
}

/* Table Cells */
.portfolio-details-table th,
.portfolio-details-table td {
    border: 1px solid #ffffff; /* Light border for cells */
    padding: 10px; /* Padding inside cells */
    text-align: left; /* Align text to the left */
   
}


/* Table Header Cells */
.portfolio-details-table th {
    background-color: #ffffff; /* Light background for header cells */
}

.description-content {
    margin-top: 20px;
}

/* GSAP Slider Container */
.gsap-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px; /* Fixed height for the container */
    aspect-ratio: 1 / 1; /* Ensures a square container */
    padding: 1rem;
    margin-top: 2rem;
}

/* GSAP Slider Wrapper */
.gsap-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%; /* Ensures the slider takes full height of the container */
    padding-top: 30px;
}

/* Slides Container */
.slides {
    display: flex;
    width: 100%; /* Ensures the slides container fits the full width */
    transition: transform 0.5s ease-in-out; /* Smooth sliding effect */
}

/* Individual Slide */
.slide {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* This ensures each slide is square */
}

/* Image Styling */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* This centers the image within the slide */
    padding: 0.5rem;
}

/* Slider Buttons */
.prev, .next {
    position: absolute;
    top: 2%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent background for visibility */
    color: #000000; /* White text color */
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 20; /* Ensure buttons are on top of the slider */
    font-size: 1.5rem; /* Adjust font size as needed */
    margin-top: 2rem;
    padding-bottom: 2rem;
}


.prev:hover, .next:hover {
    color: #000000;
    background-color: transparent;
    font-style: italic;
}


/* Position the Previous button */
.prev {
    left: 10px; /* Adjust distance from the left edge */
}

/* Position the Next button */
.next {
    right: 10px; /* Adjust distance from the right edge */
}

.space {
    margin-bottom: 5rem;
    margin-top: 1rem;
}


.portfolio-navigation-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0; /* Adjust margin as needed */
}

.portfolio-navigation-item {
    flex: 1;
    margin: 0 10px; /* Adjust spacing between items */
    max-width: 48%; /* Adjust the width as needed */
    box-sizing: border-box;
}

.portfolio-image-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
}

.portfolio-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.portfolio-title {
    text-align: center;
    padding: 10px 0;
}

.portfolio-title h3 {
    margin: 0;
    font-size: 1.2em;
}

.portfolio-title p {
    margin: 0;
    color: #555; /* Adjust color as needed */
}


/* Responsive Design */
@media (max-width: 768px) {
    .gsap-slider-container {
        height: 300px; /* Adjust height for smaller screens */
    }
    .slide img {
        height: 100%; /* Ensure images cover the slide container */
    }
    .prev, .next {
        font-size: 1.2rem; /* Smaller font size for mobile */
        padding: 0.8rem; /* Adjust padding */
    }

}

/* Responsive Design */
@media (max-width: 768px) {
    .image-title {
        font-size: 1.5em;
        top: 10px;
        left: 10px;
    }
    .taxonomy-list {
        font-size: 0.9em;
        top: 50px;
    }
    .description-container {
        padding: 22px;
    }
    .image-title {
        top: 146px;
    }
    .taxonomy-list {
        top: 175px;
        left: 13px;
    }
}


@media (max-width: 480px) {
    .portfolio-content-wrapper {
        margin: 0;
    }
    .description-container {
        padding: 1rem;
        margin: 1 rem;
    }

    .portfolio-content-container {
        margin: 0;
        padding: 2rem;
    }

    .single-gallery-heading, .single-gallery-text {
        margin: 1rem;
    }

    .single-gallery-heading {
        font-size: 1.3rem;
    }

    .image-title {
        font-size: 2em;
        top: 400px;
        left: 12px;
        margin-right: 70px;
    }
    
    .portfolio-details-table-container {
        padding:2rem;
    }
}