/* ============================================
   HERO SECTIONS - Modern Design
   ============================================ */

/* === INNER PAGE HERO === */

.section-hero.inner-page-hero {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.inner-page-hero__bgimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Breadcrumb */
.inner-page-hero__breadcrumb-wrap {
    margin-bottom: 2rem;
}

.inner-page-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0.5rem;
}

.inner-page-hero__breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 14px;
}

.inner-page-hero__breadcrumb li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.inner-page-hero__breadcrumb li a:hover {
    color: #fff;
}

.inner-page-hero__breadcrumb li i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.inner-page-hero__breadcrumb li.active {
    color: #fff;
    font-weight: 500;
}

/* Hero Content */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-icon-wrapper {
    flex-shrink: 0;
}

.hero-icon-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.hero-icon-wrapper .icon-html {
    font-size: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-wrapper h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-text-wrapper .services-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Box */
.stats-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #fff !important;
}

.stats-box h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff !important;
}

.stats-box p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    color: #fff !important;
}

/* Ensure all text in hero is white */
.section-hero.inner-page-hero,
.section-hero.inner-page-hero * {
    color: #fff !important;
}

.section-hero.inner-page-hero a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.section-hero.inner-page-hero a:hover {
    color: #fff !important;
}

/* ========== MOBILE RESPONSIVE ========== */

@media (max-width: 768px) {
    /* Hero Section */
    .section-hero.inner-page-hero {
        padding: 2rem 0;
    }

    /* Breadcrumb */
    .inner-page-hero__breadcrumb-wrap {
        margin-bottom: 1.5rem;
    }

    .inner-page-hero__breadcrumb {
        gap: 0.35rem;
    }

    .inner-page-hero__breadcrumb li {
        font-size: 12px;
    }

    .inner-page-hero__breadcrumb li i {
        font-size: 8px;
    }

    /* Hero Content - Stack vertically */
    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Icon */
    .hero-icon-wrapper img {
        width: 60px;
        height: 60px;
        border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .hero-icon-wrapper .icon-html {
        font-size: 48px;
    }

    /* Text */
    .hero-text-wrapper h1 {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .hero-text-wrapper .services-count {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* Stats Box - Compact */
    .stats-box {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }

    .stats-box i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .stats-box h3 {
        font-size: 32px;
        font-weight: 700;
    }

    .stats-box p {
        font-size: 13px;
    }

    /* Row spacing */
    .row.align-items-center {
        row-gap: 0;
    }

    /* Columns full width on mobile */
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-lg-4.text-lg-end {
        text-align: left;
    }
}

@media (max-width: 576px) {
    /* Even more compact */
    .section-hero.inner-page-hero {
        padding: 1.5rem 0;
    }

    .hero-text-wrapper h1 {
        font-size: 20px;
    }

    .hero-icon-wrapper img {
        width: 50px;
        height: 50px;
    }

    .hero-icon-wrapper .icon-html {
        font-size: 40px;
    }

    .stats-box {
        padding: 1.25rem 1rem;
    }

    .stats-box h3 {
        font-size: 28px;
    }

    .stats-box i {
        font-size: 1.75rem;
    }
}

/* ========== LANDSCAPE ORIENTATION ========== */

@media (max-width: 768px) and (orientation: landscape) {
    .section-hero.inner-page-hero {
        padding: 1.5rem 0;
    }

    .hero-content-wrapper {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-icon-wrapper img {
        width: 50px;
        height: 50px;
    }

    .hero-text-wrapper h1 {
        font-size: 20px;
    }

    .stats-box {
        padding: 1rem;
    }
}
