﻿/* ================================
   HERO SECTION
================================ */
.about-hero-section {
    position: relative;
    background-image: url('../images/ashik_c_s/img_01.jpeg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

    .about-hero-section .overlay {
        background: transparent;
    }

    .about-hero-section .hero-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
    }

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    padding: 0;
}

    .breadcrumb a {
        color: #fff;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #f4c542;
        }

/* ================================
   ABOUT CONTENT
================================ */
.about-content {
    padding: 80px 0;
    background: #fff;
}

.about-description {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

/* ================================
   NMSHE SECTION
================================ */
.about-nmshe-full {
    padding: 80px 0;
}

.nmshe-text {
    text-align: center;
    margin-bottom: 50px;
}

    .nmshe-text p {
        text-align: justify;
    }

.nmshe-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

.nmshe-card {
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

    .nmshe-card:hover {
        transform: translateY(-5px);
    }

    .nmshe-card.orange {
        background: #ef7823;
    }

    .nmshe-card.gray {
        background: #a6a6a6;
    }

    .nmshe-card.yellow {
        background: #f5b041;
        color: #222;
    }

    .nmshe-card.green {
        background: #a9dfbf;
        color: #222;
    }

    .nmshe-card.blue-light {
        background: #aed6f1;
        color: #222;
    }

    .nmshe-card.blue-dark {
        background: #8599d6;
    }

/* ================================
   ABOUT WII SECTION
================================ */
.about-wii {
    padding: 80px 0;
}

.about-wii-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.about-wii .text {
    flex: 1 1 55%;
}

.about-wii .image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================================
   IMAGE WRAPPER (BASE)
================================ */
.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    /* ================================
   HOVER SLIDER (IMPORTANT)
================================ */
    .image-wrapper.slider {
        height: 320px; /* REQUIRED */
        background: #000;
    }

        .image-wrapper.slider .slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
           /*   object-fit: cover;*/
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

            .image-wrapper.slider .slide.active {
                opacity: 1;
            }

        /* Prevent zoom conflict */
        .image-wrapper.slider:hover img {
            transform: none !important;
        }

/* ================================
   OVERLAY ICON
================================ */
.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.image-wrapper:hover .overlay-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .about-wii-content {
        flex-direction: column;
        align-items: center;
    }

    .image-wrapper.slider {
        height: 260px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .image-wrapper.slider {
        height: 220px;
    }
}
