/* ===================================
   ABOUT SECTION - Cinvico Theme
   Based on WordPress original design
   =================================== */

.about-section {
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

/* Background - Scoped to about-section */
.about-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-section .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Content */
.about-section .section-content {
    position: relative;
    z-index: 1;
}

/* Header */
.about-section .about-header {
    margin-bottom: 2rem;
}

.about-section .index-item {
    text-align: center;
}

.about-section .item-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.about-section .item-title::before,
.about-section .item-title::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 2px;
    background: #0000ff;
}

.about-section .item-title span {
    color: #0000ff;
    white-space: nowrap;
}

.about-section .item-subt {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin: 0;
}

/* About Box Wrapper - Full Width */
.about-section .about-box-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Main About Box */
.about-section .about-box {
    display: flex;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.about-section .about-box:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Left: Image (56%) */
.about-section .box-image {
    width: 56%;
    position: relative;
}

.about-section .image-cover {
    position: relative;
    padding-top: 58%; /* Aspect ratio */
    overflow: hidden;
}

.about-section .image-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Text Content (44%) - Scoped to about-section */
.about-section .box-text {
    width: 44%;
    background-color: rgb(248, 248, 248);
    display: flex;
    align-items: center;
}

.about-section .box-text-inner {
    padding: 3rem 2.5rem;
    width: 100%;
}

.about-section .box-text-inner h2,
.about-section .box-text-inner h3 {
    font-size: 1.25rem;
    text-align: center;
    color: #000000;
    margin: 0 0 1.5rem;
    line-height: 1.4;
}

.about-section .box-text-inner p {
    font-size: 1rem;
    line-height: 1.45;
    color: #214098;
    text-align: left;
    margin-bottom: 1rem;
}

.about-section .box-text-inner p.text-center {
    text-align: center;
    font-weight: 600;
    margin-top: 1.5rem;
}

.about-section .box-text-inner .btn-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}

.about-section .box-text-inner ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 2rem;
}

.about-section .box-text-inner ul li {
    font-size: 1rem;
    line-height: 1.45;
    color: #214098;
    text-align: left;
    margin-bottom: 0.75rem;
}

.about-section .box-text-inner strong,
.about-section .box-text-inner b {
    color: #214098;
    font-weight: 600;
}

/* Button */
.about-section .btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.about-section .btn-readmore:hover {
    background: #1e4fa0;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 79, 160, 0.3);
}

.about-section .btn-readmore i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.about-section .btn-readmore:hover i {
    transform: translateX(3px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 991.98px) {
    .about-section .about-box {
        flex-direction: column;
    }

    .about-section .box-image,
    .about-section .box-text {
        width: 100%;
    }

    .about-section .image-cover {
        padding-top: 60%;
    }

    .about-section .box-text-inner {
        padding: 2rem 1.5rem;
    }

    .about-section .item-title {
        font-size: 1.5rem;
    }

    .about-section .box-text-inner h2,
    .about-section .box-text-inner h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 15px 0;
    }

    .about-section .item-title {
        font-size: 1.25rem;
        gap: 1rem;
    }

    .about-section .item-title::before,
    .about-section .item-title::after {
        width: 60px;
    }

    .about-section .item-subt {
        font-size: 1rem;
    }

    .about-section .box-text-inner {
        padding: 1.5rem 1rem;
    }

    .about-section .box-text-inner h2,
    .about-section .box-text-inner h3 {
        font-size: 1rem;
    }

    .about-section .box-text-inner p,
    .about-section .box-text-inner ul li {
        font-size: 0.9375rem;
    }
}
