/* Section Styling */
#section_7 {
    background: url('../images/aboutbg/2.jpg') no-repeat center center/cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Adding a backdrop overlay for better readability on images */
/* #section_7::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
} */

#section_7 .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#section_7 h3 {
    font-size: 40px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 80px;
}

#section_7 p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.highlightabout {
    color: #00a3c0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #section_7 {
        min-height: 90vh;
        padding: 35px 15px;
    }

    #section_7 h3 {
        font-size: 32px;
        margin-top: 60px; 
    }

    #section_7 p {
        font-size: 20px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    #section_7 {
        min-height: 80vh;
        padding: 30px 15px;
    }

    #section_7 h3 {
        font-size: 26px;
        margin-top: 70px; 
    }

    #section_7 p {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    #section_7 {
        min-height: 70vh;
        padding: 25px 10px;
    }

    #section_7 h3 {
        font-size: 22px;
        margin-top: 80px; 
    }

    #section_7 p {
        font-size: 16px;
        line-height: 1.5;
    }
}

#section_8 {
    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.values-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 20px;
    align-items: stretch;
    flex-wrap: wrap;
}

.value-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    min-width: 280px;
    margin-bottom: 20px;
}

.value-card {
    background: #A9D0C3;
    border-radius: 15px;
    border: 10px solid #846F9D;
    padding: 30px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 900px;
    box-sizing: border-box;
}

.value-title {
    font-size: 28px;
    font-weight: bold;
    color: #BFEAFF;
    margin-bottom: 15px;
}

.value-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.value-content p {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .values-container {
        flex-direction: column;
        align-items: center;
    }

    .value-wrapper {
        width: 80%;
    }

    .value-card {
        height: auto; /* Auto height on tablets */
        min-height: 500px;
    }

    .value-title {
        font-size: 24px;
    }

    .value-content p {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px) {
    .value-wrapper {
        width: 90%;
    }

    .value-card {
        height: auto;
        min-height: 450px;
    }

    .value-title {
        font-size: 22px;
    }

    .value-content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .value-wrapper {
        width: 100%;
    }

    .value-card {
        height: auto;
        min-height: 400px;
    }

    .value-title {
        font-size: 20px;
    }

    .value-content p {
        font-size: 15px;
    }
}


.lastabout-section {
    background-image: url('../images/aboutbg/5.jpg'); /* Make sure this is the correct path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh; /* Full screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; /* Ensure text is readable */
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

/* Styling for the text */
.lastabout-section p {
    font-size: 24px;
    max-width: 1100px;
    margin-bottom: 15px; 
    position: relative;
    top: -60px; 
}

/* Styling for the button */
.book-call-btn {
    background-color: #a785d8; /* Match button color */
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    top: -50px; /* Moves the button slightly upward */
}

.book-call-btn:hover {
    background-color: #9370db; /* Slightly darker on hover */
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* For tablet and smaller screens */
    .lastabout-section {
        height: auto;
        padding: 15px;
    }

    .lastabout-section p {
        font-size: 18px;
        top: -20px; /* Adjust text positioning */
    }

    .book-call-btn {
        padding: 10px 20px;
        font-size: 14px;
        top: -10px; /* Adjust button position */
    }
}

@media screen and (max-width: 480px) {
    /* For mobile screens */
    .lastabout-section {
        height: auto;
        padding: 10px;
    }

    .lastabout-section p {
        font-size: 16px;
        max-width: 100%;
        top: -10px; /* Move text slightly */
    }

    .book-call-btn {
        padding: 8px 16px;
        font-size: 14px;
        top: 0px; /* Keep button closer on mobile */
    }
}
