/* Hero Section Styles */
.hero-sectionabout {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    background: url('img/abot\ us\ banner.jpg') no-repeat center center/cover;
    /* Set background image */
}

.hero-backgroundabout {
    display: none;
    /* Hide the img since the background is handled via CSS */
}

.about-content-box {
    background-color: #45418e;
    border-radius: 25px;
    padding: 40px 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -115px;
    /* Move the content box upwards */
    color: white;
    text-align: center;
}

/* Adjusting for smaller screens */
@media (max-width: 768px) {
    .about-content-box {
        margin-top: -30px;
        /* Smaller overlap for small screens */
        padding: 30px;
    }
}

.about-content-box h2 {
    color: #ffffff;
    font-weight: bolder;
    font-size: 36px;
}

.about-content-box p {
    margin: 10px 0;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-sectionabout {
        min-height: 70vh;
        /* Adjust height for smaller screens */
        padding: 20px;
    }

    .about-content-box {
        padding: 30px;
    }

    .about-content-box h2 {
        font-size: 28px;
    }

    .about-content-box p {
        font-size: 16px;
    }
}


.why-choose-sectionabout {
    padding: 80px 0;
    background-color: #efefef;
}

.feature-iconabout {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.section-titleabout {
    color: #45418e;
    font-weight: bold;
    margin-bottom: 6%;
    font-size: 40px;
    font-family: 'Rushford Clean', sans-serif;
    text-align: center;
    font-weight: 600;
}

.feature-listabout {
    list-style: none;
    padding-left: 0;

}

.feature-itemabout {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.feature-itemabout:before {
    content: "•";
    color: #4a4a8a;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.feature-textabout {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 23px;
}

.teamabout {
    margin-top: 7%;

}

.teamabout h2 {
    font-size: 40px;
    font-family: 'Rushford Clean', sans-serif;
    color: #45418e;
    font-weight: 600;
}

.teamabout p {
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #333;
    line-height: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content-box {
        margin: 21px;
        padding: 22px;
        margin-top: -99px;
    }

    .navbar {
        background: white !important;
    }

    .navbar.scrolled {
        background-color: #ffffff !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
}