.aboutBG {
    position: relative;
    width: 100%;
    margin: auto;
}

.aboutBG img {
    width: 100%; 
    height: 100%;
    display: block;
}

.aboutBG h1 {
    position: absolute;
    bottom: 20px; 
    left: 20px;
    color: white; 
    font-size: 80px;
    font-weight: 500;
    padding: 10px 15px;
}

.who-we-are {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    gap: 40px;
}

/* Image container with overlapping effect */
.image-container {
    position: relative;
    width: 50%;
    min-height: 400px;
}

/* Background image (large) */
.image-container .bg-image {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Foreground image (small one on top) */
.image-container .overlay-image {
    position: absolute;
    bottom: -20px;
    left: 20%;
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Text section */
.text-content {
    width: 50%;
}

.text-content h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#about-company {
    width: 90%;
    height: auto;
}

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    .aboutBG h1 {
        font-size: 50px;
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
    }
    
    .who-we-are {
        flex-direction: column;
        padding: 30px 15px;
        gap: 30px;
    }
    
    .image-container {
        width: 100%;
        min-height: 300px;
    }
    
    .image-container .overlay-image {
        bottom: -15px;
        left: 15%;
        width: 70%;
    }
    
    .text-content {
        width: 100%;
    }
    
    .text-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .text-content p {
        font-size: 15px;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    .aboutBG h1 {
        font-size: 36px;
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        line-height: 1.2;
    }
    
    .who-we-are {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .image-container {
        min-height: 250px;
    }
    
    .image-container .overlay-image {
        bottom: -10px;
        left: 10%;
        width: 80%;
    }
    
    .text-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .text-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}