/* ==================================
   COMMON INNER PAGE BANNER
================================== */

.inner-page-banner {
    width: 100%;
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background-image:
        linear-gradient(180deg,
            color-mix(in srgb, var(--secondary-color) 78%, transparent),
            color-mix(in srgb, var(--primary-dark) 90%, transparent)),
        var(--banner-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: 'Poppins', sans-serif;
    color: var(--light-text);
}

/* ==================================
   BACKGROUND OVERLAY
================================== */

.banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
            color-mix(in srgb, var(--primary-dark) 45%, transparent),
            transparent,
            color-mix(in srgb, var(--secondary-color) 25%, transparent));

    z-index: 1;
}

/* ==================================
   BANNER CONTENT
================================== */

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 50px 20px;
}

.banner-content h1 {
    color: var(--light-text);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
}

.banner-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.banner-breadcrumb a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.banner-breadcrumb a:hover {
    color: var(--accent-color);
}

.banner-breadcrumb span {
    color: var(--light-text);
}

.banner-breadcrumb .current-page {
    color: var(--light-text);
}

/* ==================================
   SOCIAL SIDEBAR
================================== */

.banner-social-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 52px;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    border-right: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 4;
}

.banner-social-sidebar a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);

    color: var(--light-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: var(--transition);
}

.banner-social-sidebar a:hover {
    color: var(--accent-color);
}

/* ==================================
   SMALL CIRCULAR IMAGE
================================== */

.banner-small-image {
    position: absolute;
    top: 80px;
    right: 10%;

    width: 85px;
    height: 85px;
    padding: 5px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    z-index: 4;
}

.banner-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ==================================
   RESPONSIVE DESIGN
================================== */

@media (max-width: 767px) {

    .inner-page-banner {
        min-height: 330px;
        background-position: center;
    }

    .banner-content {
        padding: 40px 15px;
    }

    .banner-content h1 {
        font-size: 34px;
    }

    .banner-breadcrumb {
        font-size: 12px;
        gap: 8px;
    }

    .banner-social-sidebar {
        display: none;
    }

    .banner-small-image {
        width: 55px;
        height: 55px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {

    .inner-page-banner {
        min-height: 280px;
    }

    .banner-content h1 {
        font-size: 29px;
    }

    .banner-small-image {
        display: none;
    }

}