/* ============================================================
   Mahossainbd Elementor Widgets — mahossainbd-widgets.css
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   1. SLIDER WIDGET
──────────────────────────────────────────────────────────── */
.mhw-slider .slide-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 620px;
    overflow: hidden;
}
.mhw-slider .slide-item .bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.mhw-slider .slide-item .bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.mhw-slider .slide-item.bg-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.55);
    z-index: 1;
}
.mhw-slider .slide-item .container {
    position: relative;
    z-index: 2;
}
.mhw-slider .slide__content {
    padding: 20px 0;
}
.mhw-slider .slide__title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 30px;
}

/* Owl nav arrows */
.mhw-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    font-size: 22px !important;
    transition: background 0.3s;
    z-index: 5;
}
.mhw-slider .owl-nav button:hover { background: rgba(255,255,255,0.35) !important; }
.mhw-slider .owl-nav .owl-prev { left: 15px; }
.mhw-slider .owl-nav .owl-next { right: 15px; }

/* Thumb tabs */
.mhw-slider .owl-thumbs {
    display: flex;
    gap: 0;
    position: relative;
    z-index: 10;
}
.mhw-slider .owl-thumb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    background: rgba(0,0,0,0.40);
    border: none;
    border-right: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    transition: background 0.3s;
}
.mhw-slider .owl-thumb-item:last-child { border-right: none; }
.mhw-slider .owl-thumb-item span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mhw-slider .owl-thumb-item.active,
.mhw-slider .owl-thumb-item:hover { background: #e8312a; }

@media (max-width: 991px) {
    .mhw-slider .slide-item { height: 420px; }
    .mhw-slider .slide__title { font-size: 28px; }
}
@media (max-width: 767px) {
    .mhw-slider .slide-item { height: 320px; }
}


/* ────────────────────────────────────────────────────────────
   2. ABOUT WIDGET
──────────────────────────────────────────────────────────── */
.mhw-about {
    padding: 80px 0;
    background-color: #f5f5f5;
}
.mhw-about .heading__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8312a;
    margin-bottom: 10px;
}
.mhw-about .heading__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}
.mhw-about .list-items li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}
.mhw-about .list-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e8312a;
    font-weight: 700;
}
.mhw-about .about-img img {
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    width: 100%;
}


/* ────────────────────────────────────────────────────────────
   3. SERVICES HEADING WIDGET
──────────────────────────────────────────────────────────── */
.mhw-services {
    padding: 80px 0 40px;
}
.mhw-services .heading__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8312a;
    margin-bottom: 10px;
}
.mhw-services .heading__title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}
.mhw-services .heading__desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* ────────────────────────────────────────────────────────────
   4. FANCYBOX CAROUSEL WIDGET
──────────────────────────────────────────────────────────── */
.mhw-fancybox {
    padding: 80px 0;
    background-color: #1b2e59;
    position: relative;
}
.mhw-fancybox .heading__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8312a;
    margin-bottom: 10px;
}
.mhw-fancybox .heading__title { color: #fff; }
.mhw-fancybox .heading__desc  { color: rgba(255,255,255,0.75); }

.mhw-fancybox .fancybox-item {
    padding: 30px 20px;
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
    cursor: default;
}
.mhw-fancybox .fancybox-item:hover {
    background: #e8312a;
    transform: translateY(-4px);
}
.mhw-fancybox .fancybox__icon {
    margin-bottom: 18px;
}
.mhw-fancybox .fancybox__icon i {
    font-size: 36px;
    color: #e8312a;
    transition: color 0.3s;
}
.mhw-fancybox .fancybox-item:hover .fancybox__icon i {
    color: #fff;
}
.mhw-fancybox .fancybox__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.mhw-fancybox .fancybox__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}
.mhw-fancybox .owl-nav button {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    font-size: 18px !important;
    transition: background 0.3s;
}
.mhw-fancybox .owl-nav button:hover { background: #e8312a !important; }
.mhw-fancybox .owl-stage { padding-top: 10px; padding-bottom: 10px; }


/* ────────────────────────────────────────────────────────────
   5. AWARDS WIDGET
──────────────────────────────────────────────────────────── */
.mhw-awards {
    padding: 80px 0;
    background-color: #fff;
}
.mhw-awards .heading__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8312a;
    margin-bottom: 10px;
}
.mhw-awards .heading__title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}
.mhw-awards .feature-item {
    text-align: center;
}
.mhw-awards .feature__img img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.mhw-awards .mhw-cert-shadow img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.mhw-awards .feature__img img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
