.main-banner img {
    width: 100% !important;
    height: 39em;
}



/* div#site-b04 {
    background-color: grey;
} */


#notfrontwrap {
        background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)), url(/system/files/mines-internal-bg.jpg) !important;
    background-attachment: fixed !important;
}

/* =========================================
   PORTAL LINKS SECTION
========================================= */

.portal-section {
    position: relative;
    z-index: 10;
    padding: 0 48px;
    margin-top: -263px;
}

/* =========================
Bar code - banneer 1 bar
========================== */

/* #site-b01 .slick-dots li button:before{
        top: -133px;
    left: -600px;
} */

#site-b01 ul.slick-dots {
    POSITION: ABSOLUTE;
    TOP: 101%;
    Z-INDEX: 999;
}

.portal-links-wrap {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1320px;
    margin: 0 auto;
}

.portal-item {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px 20px;
    gap: 16px;

    /* Using the project's primary gradient and variables */
    background: var(--grad-primary);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-05);
}

.portal-item:hover,
.portal-item:focus {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.portal-icon {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-icon img {
    max-height: 100%;
    width: auto;
    display: block;
    /* Optional: if your icons are SVG or PNGs that need to be pure dark, 
     you can use CSS filters here, but keeping default for now */
}

.portal-title {
    /* Using the project's font variables */
    font: 18px/24px var(--albertM, "sans-serif");
    text-align: center;
    color: var(--color-secondary);
    /* Dark text for contrast against gold */
    margin: 0;
}

#site-b02 h1.hero-title {
    font-size: 50px;
    margin: 0 auto;
    margin-bottom: 0.7em;
    margin-left: 1em;
    max-width: 1320px;
    margin: 0 auto;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */

@media screen and (max-width: 1200px) {
    .portal-links-wrap {
        gap: 14px;
    }
}

@media screen and (max-width: 992px) {
    .portal-item {
        /* 2 columns on tablet */
        min-width: calc(50% - 14px);
        flex: unset;
        width: calc(50% - 14px);
    }
}

@media screen and (max-width: 767px) {
    .portal-section {
        padding: 0 24px;
        margin-top: -40px;
    }
}

@media screen and (max-width: 576px) {
    .portal-item {
        /* 1 column on mobile */
        min-width: 100%;
        width: 100%;
    }

    .main-banner img {
        height: auto;
    }

}

#block-bannertiles .hero-text-content {
    color: white;
    font: 48px / 64px var(--outfitB);
}

/* ============================================== */

/* =========================================
   NEW ABOUT US (SECTION 2) STYLES
========================================= */

.new-about-us-s2-section {
    padding: 35px 0;
    background-color: var(--color-white, #ffffff);
    overflow: hidden;
    padding-top: 5em;
}

.new-about-us-s2-container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 531px) 1fr;
    /* Locks the image max width */
    gap: 60px;
    align-items: center;
}

/* --- Left Image Column --- */
.new-about-us-s2-image-col {
    position: relative;
    width: 100%;
}

.new-about-us-s2-main-img {
    width: 100%;
    max-width: 531px;
    height: auto;
    /* Aspect ratio roughly matches 531x465 */
    aspect-ratio: 531 / 465;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition-05, all 0.5s ease);
}

.new-about-us-s2-main-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- Right Content Column --- */
.new-about-us-s2-heading-wrap {
    text-align: left;
    margin-bottom: 35px;
}

.new-about-us-s2-sub-heading {
    font: 20px/30px var(--outfitR, sans-serif);
    color: var(--color-primary, #D4A041);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.new-about-us-s2-heading {
    font: 42px/52px var(--outfitB, sans-serif);
    color: var(--color-secondary, #121212);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.new-about-us-s2-desc {
    font: 16px/26px var(--albertL, sans-serif);
    color: var(--color-grey, #333333);
    margin: 0;
}

/* --- Vision & Mission Boxes --- */
.new-about-us-s2-boxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.new-about-us-s2-box {
    flex: 1;
    min-width: 260px;
    max-width: 333px;
    min-height: 184px;

    /* Soft pale yellow background as per design */
    background: #F2F2F2;
    border: 1px solid #F2F2F2;
    border-radius: 7px;
    padding: 24px;

    transition: var(--transition-05, all 0.5s ease);
    cursor: default;
}

.new-about-us-s2-box:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary, #D4A041);
    box-shadow: 0 12px 24px rgba(212, 160, 65, 0.15);
    background: #ffffff;
}

.new-about-us-s2-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.new-about-us-s2-box-header img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.new-about-us-s2-box-header h3 {
    margin: 0;
    font: 18px/24px var(--albertB, sans-serif);
    color: var(--color-secondary, #121212);
}

.new-about-us-s2-box p {
    margin: 0;
    font: 15px/24px var(--albertR, sans-serif);
    color: var(--color-text, #3C4244);
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */

@media screen and (max-width: 1200px) {
    .new-about-us-s2-container {
        gap: 40px;
    }

    .new-about-us-s2-heading {
        font: 36px/46px var(--outfitB, sans-serif);
    }
}

@media screen and (max-width: 992px) {
    .new-about-us-s2-container {
        grid-template-columns: 1fr;
        width: 95%;
        /* Take slightly more space on tablets */
    }

    .new-about-us-s2-main-img {
        margin: 0 auto;
        display: block;
        max-width: 100%;
        /* Allows image to scale nicer on tablet */
    }

    .new-about-us-s2-heading-wrap {
        text-align: center;
    }

    .new-about-us-s2-boxes {
        justify-content: center;
    }

    .new-about-us-s2-box {
        max-width: 100%;
        /* Removes max-width constraint for stacked items */
    }
}

@media screen and (max-width: 767px) {
    .new-about-us-s2-section {
        padding: 50px 0;
    }

    .new-about-us-s2-heading {
        font: 28px/38px var(--outfitB, sans-serif);
    }

    .new-about-us-s2-box {
        min-height: auto;
        /* Allow natural height on small screens */
    }

    #site-b02 h1.hero-title {
        color: black;
        font-size: 28px;
        margin-top: 3em;
        text-align: center;
        margin-bottom: 1em;
    }


}

/* =========================================
End About Us 
========================================= */



/* =========================================
Start Oppunities IInvestment 
========================================= */

/* =========================================
   INVESTMENT OPPORTUNITIES SECTION
========================================= */

.investment-opportunities-section {
    padding: 8px 0;
    background-color: var(--color-white, #ffffff);
}

.investment-opportunities-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- Header Styles --- */
.investment-opportunities-header {
    text-align: center;
    margin-bottom: 50px;
}

.investment-opportunities-sub {
    font: 20px/30px var(--outfitR, sans-serif);
    color: var(--color-primary, #D4A041);
    margin-bottom: 10px;
}

.investment-opportunities-title {
    font: 48px/56px var(--outfitB, sans-serif);
    color: var(--color-secondary, #121212);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.investment-opportunities-desc {
    font: 16px/26px var(--albertL, sans-serif);
    color: var(--color-grey, #333333);
    margin: 0;
}

/* --- Grid Layout --- */
.investment-opportunities-grid {
    display: grid;
    /* Desktop: 4 columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    /* 1em gap as requested */
    justify-items: center;
}

/* --- Box Common Styles --- */
.investment-opportunities-img-box,
.investment-opportunities-text-box {
    width: 100%;
    max-width: 308px;
    height: 369px;
    /* Fixed height as requested */
    border-radius: 15px;
    overflow: hidden;
}


/* --- Image Box --- */
.investment-opportunities-img-box {
    background-color: #EFEFEF;
    /* Fallback */
}

.investment-opportunities-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-05, all 0.5s ease);
}

.investment-opportunities-img-box:hover img {
    transform: scale(1.05);
}

/* --- Text Box (Normal & Hover States) --- */
.investment-opportunities-text-box {
    display: flex;
    flex-direction: column;
    padding: 35px 30px;
    background: #FAFAFA;
    /* Off-white base */
    border: 1px solid #CFCFCF;
    /* Border matching instruction */
    transition: var(--transition-05, all 0.5s ease);
    cursor: default;
}

.investment-opportunities-text-box:hover {
    /* Uses the gold gradient from your style.css */
    background: var(--gold-gradient, linear-gradient(188.41deg, #D4A041 6.59%, #FBE67B 35.92%, #FFDB62 54.87%, #F7D14E 76.01%, #D4A041 96.75%));
    border-color: transparent;
    box-shadow: 0px 10px 25px rgba(212, 160, 65, 0.3);
    transform: translateY(-5px);
}

.investment-opportunities-text-box.active {
    background: var(--gold-gradient, linear-gradient(188.41deg, #D4A041 6.59%, #FBE67B 35.92%, #FFDB62 54.87%, #F7D14E 76.01%, #D4A041 96.75%));
}

.investment-opportunities-text-box.active:hover {
    background: #FAFAFA;
}

.investment-opportunities-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary, #121212);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: var(--color-primary, #D4A041);
}

.investment-opportunities-text-box h3 {
    font: 28px/34px var(--outfitB, sans-serif);
    color: var(--color-secondary, #121212);
    margin: 0 0 15px 0;
    transition: var(--transition-05, all 0.5s ease);
}

.investment-opportunities-text-box p {
    font: 16px/24px var(--albertL, sans-serif);
    color: var(--color-secondary, #121212);
    /* Kept dark for readability on gold */
    margin: 0;
    flex-grow: 1;
    /* Pushes the link to the bottom */
}

.investment-opportunities-text-box a {
    font: 16px/24px var(--albertR, sans-serif);
    color: var(--color-secondary, #121212);
    text-decoration: underline;
    margin-top: 20px;
    display: inline-block;
    transition: var(--transition-05, all 0.5s ease);
}

.investment-opportunities-text-box a:hover {
    color: #000;
}

#block-keyhighlightsfront #section-wrapper {
    PADDING-TOP: 3EM;
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */

/* Tablet & Smaller Desktop View (2 columns) */
@media screen and (max-width: 1200px) {
    .investment-opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .investment-opportunities-img-box,
    .investment-opportunities-text-box {
        max-width: 100%;
        /* Allows stretching to fill tablet columns */
    }
}

/* Mobile View (1 column, full width) */
@media screen and (max-width: 768px) {
    .investment-opportunities-section {
        padding: 0px 0;
    }

    .investment-opportunities-title {
        font: 36px/46px var(--outfitB, sans-serif);
    }

    .investment-opportunities-desc br {
        display: none;
        /* Prevents awkward breaks on small screens */
    }

    .investment-opportunities-grid {
        grid-template-columns: 1fr;
    }

    .investment-opportunities-img-box,
    .investment-opportunities-text-box {
        height: auto;
        /* Let content dictate height on mobile */
        min-height: 369px;
        /* Maintains general shape */
        width: 100%;
        /* Full width as requested */
    }
}


/* ==============================
Banner Bars
============================== */


#block-views-block-main-banner-block-1 .section-btn,
#block-views-block-main-banner-block-1 .section-btn {
    display: block;
    width: unset;
    font-family: encoder;
    background-color: #5D9C59;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    padding: 1em 2em;
    transition: all 0.6s ease-in-out;

}

#block-views-block-main-banner-block-1 .section-btn {
    width: 153px;
    margin: 0 auto;
    padding: 0 !important;
    border-radius: 5px;
    margin-top: 1em;
}


/* #block-views-block-main-banner-block-1 .slick-dots li.slick-active button:before {
    opacity: .75;
    color: var(--color-primary, #D4A041);
} */

/* #block-views-block-main-banner-block-1 .slick-dots li button:before {
    color: white;
} */

/* .slick-dots li button::before {
    font-size: 1.2rem;
} */

/* .slick-dots li button:before {
    content: '-' !important;
    font-size: 94px !important;
}

.slick-dots li button:before {
    opacity: .9;
} */


/* =========================================
   MAIN BANNER - SLICK BARS
   ========================================= */

#site-b01 .slick-dots {
    position: absolute !important;

    /* Keep bars at the desired location */
        left: 52px !important;
    top: 432px !important;

    bottom: auto !important;

    display: flex !important;
    align-items: center !important;

    gap: 12px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    z-index: 9999 !important;
}

/* Each dot */
#site-b01 .slick-dots li {
    width: 100px !important;
    height: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
}

/* Clickable button */
#site-b01 .slick-dots li button {
    width: 100px !important;
    height: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;

    font-size: 0 !important;
    cursor: pointer !important;

    position: relative !important;
    z-index: 10000 !important;
}

/* The actual bar */
#site-b01 .slick-dots li button::before {
    content: "" !important;

    position: absolute !important;
    top: 2px !important;
    left: 0 !important;

    width: 100px !important;
    height: 8px !important;

    margin: 0 !important;

    background: #FFFFFF !important;

    opacity: 1 !important;

    border-radius: 0 !important;

    transform: none !important;

    pointer-events: none !important;
}

/* Active bar */
#site-b01 .slick-dots li.slick-active button::before {
    background: var(--color-primary, #D4A041) !important;
    opacity: 1 !important;
}


#site-b01 .slick-dots li,
#site-b01 .slick-dots li button {
    width: 53px !important;
    height: 4px !important;
}

#site-b01 .slick-dots li button::before {
    width: 53px !important;
    height: 4px !important;
    top: 0 !important;
    left: 0 !important;
    font-size: 0 !important;
}

#site-b01 .slick-dots {
    gap: 10px !important;
}

/* ===========================
Tayyab Enahncemtn
======================== */

#block-keyhighlightsfront .section-subtitle {
    margin-bottom: 0.3em;
}

/* ============================
Table Responsive
===================== */

.responsive-table {
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
}

.responsive-table td,
.responsive-table th {
    word-break: normal;
}

@media (max-width: 767px) {
    .responsive-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .responsive-table table {
        min-width: 600px;
    }
}

@media (max-width: 767px) {
    table.responsive-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }
}

#notfrontwrap .content {
    overflow: auto;
}

/* =========================================
End Investment opptunities
========================================= */