.about-section-bg {
    background-color: var(--bg-light);
    /* Changed from background-image to background-color */
    position: relative;
}


/* Removed ::before pseudo-element as background-image is removed */

.about-section-bg>.container {
    position: relative;
    z-index: 1;
}

.about-content-main {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text {
    flex: 1.2;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--brand-blue);
    margin-top: 25px;
    margin-bottom: 12px;
}

.about-image-container {
    flex: 0.8;
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section-title-subsection {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--brand-blue);
}

.why-choose-us-section {
    padding: 40px 0;
}

.why-choose-us-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.why-choose-us-image-container {
    flex: 1;
    min-width: 300px;
}

.why-choose-us-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

.why-choose-us-text {
    flex: 1.5;
    min-width: 300px;
}

.why-choose-us-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.floating-boxes-container-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.floating-boxes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 40px;
}

.flippable-box {
    perspective: 1000px;
    height: 280px;
}

.flippable-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-light);
    border-radius: 10px;
}

.flippable-box.flipped .flippable-box-inner {
    transform: rotateY(180deg);
}

.flippable-box-front,
.flippable-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flippable-box-front {
    background: linear-gradient(145deg, var(--brand-blue), #003e80);
    color: var(--brand-white);
}

.flippable-box-back {
    background-color: var(--brand-white);
    color: var(--text-dark);
    transform: rotateY(180deg);
    border: 1px solid var(--border-color);
}

.flippable-box-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.flippable-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.flippable-box-front p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.flippable-box-back p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    max-height: 120px;
    overflow-y: auto;
}

.learn-more-box-btn {
    margin-top: auto;
    font-size: 0.85rem;
    padding: 6px 12px;
}

@media (max-width: 768px) {
    .about-content-main {
        display: flex;
        flex-direction: column;
    }
    .section-title-subsection {
        order: 1;
    }
    .about-image-container {
        order: 2;
    }
    .about-text {
        order: 3;
    }
}