/*******************************/
/******* about Header CSS *******/
/*******************************/
.about-header {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(https://organiainnovationlab.blob.core.windows.net/organia/auatt.jpeg);
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-size: cover; /* Ensures the image covers the entire area */
    height: 800px; /* Set a fixed height for the header */
    display: flex; /* Use flexbox for centering content */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
 
}

.about-header h2 {
    position: relative;
    color: #00b14a;
    font-size: 60px;
    font-weight: 700;
    margin: 20px 0; /* Adjusted margins for heading */
    padding-bottom: 5px;
    text-align: center; /* Center text */
}

.about-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: -10px; /* Position the line closer to the heading */
    background: #00b14a;
}

.about-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.about-header a:hover {
    color: #00b14a;
}

.about-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.about-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .about-header {
        height: auto; /* Allow height to adjust based on content */
        padding: 40px 0; /* Adjust padding for smaller devices */
        background-size: cover; /* Maintain full image visibility */
    }
    
    .about-header h2 {
        font-size: 45px; /* Smaller font size for headings */
        margin: 10px 0; /* Reduced margin for smaller devices */
    }
    
    .about-header a {
        font-size: 20px; /* Smaller font size for links */
    }
}

@media (max-width: 767.98px) {
    .about-header {
        width: 100vw; /* Full width of the viewport */
        height: 100vw; /* Square height based on viewport width */
        padding: 0; /* Remove extra padding for mobile */
        background-size: cover; /* Maintain full image visibility */
    }
    
    .about-header h2 {
        font-size: 30px; /* Further reduce font size for small devices */
        margin: 5px 0; /* Further reduced margin for small devices */
    }
    
    .about-header a {
        font-size: 18px; /* Further reduce font size for links */
    }
}
