.hero-area .hero-content {
    z-index: 5;
}
/* General Hero Area Styling */
.hero-area {
    width: 100vw;
    height: 70vh; /* Half screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Image Background */
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/staticfiles/website/img/bg-img/slide5.jpg') no-repeat center center;

    background-size: cover;
    z-index: 1; /* Below content */
}

/* Dark overlay to dim the background image */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    z-index: 2; /* Above the image but below the content */
}

/* Content wrapper */
.hero-content {
    height: 100%;
    z-index: 3; /* Above the background and the overlay */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Flexbox adjustments */
.hero-area {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Line styling */
.line {
    width: 60px;
    height: 4px;
    background-color: #ff0076;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

/* Button styling */
.btn {
    animation: fadeInUp 1s ease-in-out;
}

h2, p {
    animation: fadeInUp 1s ease-in-out;
}



/* Container for the portfolio grid */
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 columns */
gap: 20px; /* Space between the grid items */
}

/* Each grid item */
.grid-item {
position: relative;
}

/* Single portfolio item */
.single-portfolio-item {
position: relative;
overflow: hidden; /* Ensure content doesn't overflow */
}

/* Backend content, if needed for styling */
.backend-content {
position: absolute;
top: 10px;
left: 10px;
z-index: 2;
color: white;
font-size: 16px;
}

/* Container for the portfolio grid */
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 columns */
gap: 0px; /* Space between the grid items */
}

/* Each grid item */
.grid-item {
position: relative;
}

/* Single portfolio item */
.single-portfolio-item {
position: relative;
overflow: hidden; /* Ensure content doesn't overflow */
}

/* Backend content, if needed for styling */
.backend-content {
position: absolute;
top: 10px;
left: 10px;
z-index: 2;
color: white;
font-size: 16px;
}

/* Portfolio image styling */
.portfolio-thumb img {
width: 100%;
height: 350px; /* Set a height */
object-fit: cover; /* Ensures image covers the space, avoiding distortion */
}

/* Portfolio meta */
.portfolio-meta {
position: absolute;
bottom: 0;
left: 0;
padding: 10px;
z-index: 2;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text visibility */
width: 100%;
color: white;
}

.portfolio-date,
.white {
color: #fff;
}

/* Medium screens (tablets) - 2 columns */
@media (max-width: 1024px) {
.grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
}
}

/* Small screens (phones) - 1 column */
@media (max-width: 768px) {
.grid-container {
    grid-template-columns: repeat(1, 1fr); /* 1 column on small screens */
}

.portfolio-thumb img {
    height: auto; /* Allow image height to adjust dynamically on small screens */
}
}