.container {
    max-width: 1200px;
    padding: 0px;
}
section.hero{
    max-height: 200px;
    min-height: 200px;
}
.container{
    max-width: 1400px; margin: 4rem auto;
}
.visionandmission {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    text-align: center;
}

.row.hero-container {
    margin: 0;
    min-height: 200px;
    height: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0rem;
}
.left-image-with-content {
    background-image: none;
    background-color: var(--wc-lightest-shade);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 20vh;
    max-height: 100%;
    padding: 0 !important;
}
.left-image-with-content .content-for-image {
    position: absolute;
    /* color: var(--wc-highlight-text); */
    /* font-size: var(--fs-h1); */
    font-weight: 700;
    width: 100%;
    height: 100%;
    /* left: 60px; */
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0px;
    top: 0px;
}
.left-image-with-content .content-for-image h1{
    font-size: var(--fs-h1);
    color: var(--wc-black);
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Adds space between grid items */
}

.img-container {
    position: relative;
    width: calc(33.33% - 1rem);
    height: 350px;
    overflow: hidden;
}

/* Image Scaling on Hover */
.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    transform: scale(1.3);
}

.img-container:hover img {
    transform: scale(1);
}
.img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Initially Transparent */
    transition: background 0.3s ease-in-out;
}
.img-container:hover::after {
    background: rgba(0, 0, 0, 0.527); /* Black Overlay */
}

/* Border Hover Animation */
.line1, .line2, .line3, .line4 {
    position: absolute;
    background: var(--wc-red);
    opacity: 0;
    z-index: 99;
}

/* Top & Bottom */
.line1, .line4 {
    height: 2px;
    width: 0%;
    left: 10px;
    opacity: 0;
    z-index: 99;
}

.line1 { top: 10px; }
.line4 { bottom: 10px; }

/* Left & Right */
.line2, .line3 {
    width: 2px;
    z-index: 99;
    height: 0%;
    top: 10px;
    opacity: 0;
}

.line2 { left: 10px; }
.line3 { right: 10px; }

/* Hover Effect */
.img-container:hover .line1 {
    animation: line1-expand 0.5s forwards;
}
.img-container:hover .line4 {
    animation: line4-expand 0.5s forwards;
}
.img-container:hover .line2 {
    animation: line2-expand 0.5s forwards;
}
.img-container:hover .line3 {
    animation: line3-expand 0.5s forwards;
}
/* Keyframes */
@keyframes line1-expand {
    0% { width: 0%; opacity: 0; }
    100% { width: 95%; opacity: 1; }
}

@keyframes line4-expand {
    0% { width: 0%; opacity: 0; }
    100% { width: 95%; opacity: 1; }
}

@keyframes line2-expand {
    0% { height: 0%; opacity: 0; }
    100% { height: 94%; opacity: 1; }
}

@keyframes line3-expand {
    0% { height: 0%; opacity: 0; }
    100% { height: 94%; opacity: 1; }
}
@media (max-width:1368px) {
    .left-image-with-content h1 {
        width: 100% important;
        font-size: var(--fs-h3);
        text-align: center;
    }
}
@media (max-width: 1000px) {
    .img-container {
        width: calc(50% - 1rem) !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 700px) {
    .img-container {
        width: 90% !important;
        margin: 0 auto !important;
    }
}

