
/* ===============================
   MINDCONSILIUM ABOUT HERO
================================ */

.mc-about-custom-hero {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: var(--about-desktop-bg);
background-size: cover;
background-position: center 18%;
    background-repeat: no-repeat;
}

/* Purple overlay for text visibility */
.mc-about-custom-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(42, 9, 83, 0.84) 0%,
        rgba(65, 22, 112, 0.68) 25%,
        rgba(103, 52, 154, 0.30) 48%,
        rgba(103, 52, 154, 0.02) 75%
    );
}

/* Content alignment */
.mc-about-custom-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px;
    box-sizing: border-box;
}

/* Small heading */
.mc-about-custom-hero .eye {
    color: #F1C76B !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin: 0 0 16px;
}

/* Main heading */
.mc-about-custom-hero h1 {
    color: #FFFFFF !important;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.12;
    font-weight: 600;
    max-width: 620px;
    margin: 0 0 20px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.16);
}

/* Description */
.mc-about-custom-hero
.mc-about-custom-content > p:last-child {
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 540px;
    margin: 0;
}

/* ===============================
   TABLET
================================ */

@media (max-width: 991px) {
    .mc-about-custom-hero {
        height: 400px;
        min-height: 400px;
  background-size: 100% 100%;
background-position: center center;
    }

    .mc-about-custom-hero h1 {
        font-size: 42px;
        max-width: 500px;
    }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 767px) {
    .mc-about-custom-hero {
          height: 420px;
        min-height: 420px;
        background-image: var(--about-mobile-bg);
        background-size: cover;
        background-position: center 15%;
    }

    /* Dark gradient behind bottom text */
    .mc-about-custom-hero::before {
        background: linear-gradient(
            180deg,
            rgba(45, 12, 85, 0.02) 0%,
            rgba(45, 12, 85, 0.05) 35%,
            rgba(45, 12, 85, 0.55) 67%,
            rgba(36, 8, 73, 0.88) 100%
        );
    }

    .mc-about-custom-content {
        padding: 25px 20px 35px;
        max-width: 100%;
    }

    .mc-about-custom-hero .eye {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .mc-about-custom-hero h1 {
        font-size: clamp(28px, 7vw, 34px);
        line-height: 1.14;
        margin-bottom: 12px;
        max-width: 100%;
    }

    .mc-about-custom-hero
    .mc-about-custom-content > p:last-child {
        font-size: 14px;
        line-height: 1.5;
        max-width: 320px;
    }
}
