/* =========================================================
   Tega Australia (domain.com/au) — dedicated stylesheet
   Built up section-by-section from screenshots.
   ========================================================= */

:root {
    --au-blue: #0085ca;
    --au-blue-dark: #006ba3;
    --au-orange: #f7941e;
    --au-text: #333;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--au-text);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.au-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.au-header .navbar {
    padding: 0;
}

.au-header .navbar-brand {
    padding: 12px 0;
}

.au-header .navbar-brand img {
    height: 66px;
    width: auto;
}

.au-header .navbar-nav {
    gap: 20px;
}

.au-header .nav-item {
    position: relative;
}

.au-header .nav-link {
    color: var(--au-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.2px;
    padding: 30px 14px;
    border-top: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.au-header .nav-link:hover,
.au-header .nav-link:focus,
.au-header .nav-link.active,
.au-header .nav-item.dropdown:hover > .nav-link {
    color: var(--au-blue-dark);
    border-top-color: var(--au-orange);
}

/* Remove Bootstrap's default dropdown caret spacing tweaks */
.au-header .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}

/* Dropdown menu */
.au-header .dropdown-menu {
    border: 0;
    border-top: 3px solid var(--au-orange);
    border-radius: 0;
    margin-top: 0;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 260px;
}

.au-header .dropdown-item {
    color: var(--au-blue);
    font-weight: 600;
    font-size: 13px;
    padding: 9px 20px;
    white-space: normal;
    transition: background 0.15s ease, color 0.15s ease;
}

.au-header .dropdown-item:hover,
.au-header .dropdown-item:focus {
    background: var(--au-blue);
    color: #fff;
}

/* Nested submenu (depth-2 flyout) */
.au-header .dropdown-submenu {
    position: relative;
}

.au-header .dropdown-submenu > .dropdown-item {
    padding-right: 30px;
}

/* Right-pointing caret for items that open a flyout */
.au-header .dropdown-submenu > .dropdown-item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--au-orange);
}

.au-header .dropdown-submenu > .dropdown-item:hover::after,
.au-header .dropdown-submenu > .dropdown-item:focus::after {
    border-left-color: #fff;
}

.au-header .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: auto;
    right: 100%;
    margin: 0;
}

/* Open dropdowns on hover (desktop) */
@media (min-width: 1200px) {
    .au-header .nav-item.dropdown:hover > .dropdown-menu,
    .au-header .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Mobile */
@media (max-width: 1199.98px) {
    .au-header .navbar-brand img {
        height: 54px;
    }
    .au-header .nav-link {
        padding: 12px 6px;
        border-top: 0;
        border-left: 3px solid transparent;
    }
    .au-header .nav-link:hover,
    .au-header .nav-link.active {
        border-top: 0;
        border-left-color: var(--au-orange);
    }
    .au-header .dropdown-menu {
        border-top: 0;
        box-shadow: none;
        padding-left: 12px;
        display: none;   /* toggled open via JS on mobile */
    }
    /* Nested flyout becomes inline indented list on mobile */
    .au-header .dropdown-submenu > .dropdown-menu {
        position: static;
        right: auto;
    }
    .au-header .dropdown-submenu > .dropdown-item::after {
        border-left-color: var(--au-blue);
    }
}

/* ---------------------------------------------------------
   Inner page banner (reusable)
   --------------------------------------------------------- */
.au-page-banner {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--au-blue);
}

.au-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.au-page-banner .container {
    position: relative;
    z-index: 1;
}

.au-page-banner-title {
        color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.au-page-content {
    padding: 60px 0;
}

@media (max-width: 991.98px) {
    .au-page-banner {
        min-height: 190px;
    }
    .au-page-banner-title {
        font-size: 22px;
    }
    .au-page-content {
        padding: 40px 0;
    }
}

/* ---------------------------------------------------------
   Contact page
   --------------------------------------------------------- */
.au-contact-heading {
    margin-bottom: 0;
}

.au-contact-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--au-orange);
    margin: 14px 0 26px;
}

/* Contact list on light background */
.au-contact--dark li i {
    color: var(--au-blue);
}

.au-contact--dark a,
.au-contact--dark span {
    color: #555;
}

.au-contact--dark a:hover {
    color: var(--au-orange);
}

/* Contact form (light) */
.au-contact-form .form-control {
    border: 1px solid #d5d5d5;
    border-radius: 0;
    padding: 13px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    box-shadow: none;
}

.au-contact-form .form-control:focus {
    border-color: var(--au-orange);
    box-shadow: none;
}

.au-contact-form .au-btn-primary {
    border: 0;
    cursor: pointer;
}

/* Map */
.au-map iframe {
    display: block;
    width: 100%;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

/* ---------------------------------------------------------
   News archive
   --------------------------------------------------------- */
.au-news-card {
    background: #fff;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.au-news-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.au-news-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.au-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.au-news-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bbb;
    font-size: 40px;
}

.au-news-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.au-news-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--au-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    margin-bottom: 14px;
}

.au-news-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    min-height: 50px;
}

.au-news-title a {
    color: var(--au-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.au-news-title a:hover {
    color: var(--au-blue-dark);
}

.au-news-excerpt {
    color: #7b7b7b;
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 18px;
        min-height: 75px;
}

.au-news-body .au-product-more {
    margin-top: auto;
}

/* ---------------------------------------------------------
   News single
   --------------------------------------------------------- */
.au-news-single-title {
    color: var(--au-blue);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.au-news-single-cover {
    width: 100%;
    height: auto;
    margin-bottom: 28px;
}

.au-news-single-content {
    color: #555;
    font-size: 16px;
    line-height: 30px;
}

.au-news-single-content p {
    margin-bottom: 20px;
}

.au-news-single-content img {
    max-width: 100%;
    height: auto;
}

.au-news-gallery {
    margin-top: 30px;
}

.au-news-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* News sidebar */
.au-sidebar {
    padding-left: 10px;
}

.au-widget {
    margin-bottom: 36px;
}

.au-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--au-blue);
    margin-bottom: 0;
    padding-bottom: 12px;
}

.au-widget-title::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: var(--au-orange);
    margin-top: 10px;
}

.au-recent-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.au-recent-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.au-recent-list li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.au-recent-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    overflow: hidden;
    background: #eee;
    display: block;
}

.au-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.au-recent-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bbb;
    font-size: 22px;
}

.au-recent-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--au-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.au-recent-title:hover {
    color: var(--au-orange);
}

@media (max-width: 991.98px) {
    .au-news-single-title {
        font-size: 24px;
    }
    .au-sidebar {
        padding-left: 0;
    }
}

/* ---------------------------------------------------------
   About page
   --------------------------------------------------------- */
.au-about-text {
    color: #7b7b7b;
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 18px;
}

.au-about-list {
    color: #7b7b7b;
    font-size: 15px;
    line-height: 30px;
    margin: 0 0 10px;
    padding-left: 20px;
}

.au-about-list li {
    margin-bottom: 4px;
}

.au-about-list li::marker {
    color: var(--au-orange);
}

/* ---------------------------------------------------------
   Service pages
   --------------------------------------------------------- */
.au-service-image {
    width: 100%;
    height: auto;
/*    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);*/
}

.au-service-subhead {
    color: var(--au-blue);
    font-size: 20px;
    font-weight: 700;
    margin: 34px 0 16px;
}

.au-service-subhead.mt-0 {
    margin-top: 0;
}

/* Full-width feature bands (blue / orange) with check-list */
.au-feature-band {
    padding: 55px 0;
}

.au-feature-band--blue {
    background: var(--au-blue);
}

.au-feature-band--orange {
    background: var(--au-orange);
}

.au-feature-band .au-feature-title {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 26px;
}

.au-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.au-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.au-check-list li i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.au-feature-media {
    width: 100%;
    height: auto;
    background: #fff;
}

/* Product logo at top of product pages */
.au-product-logo {
    display: block;
    max-height: 72px;
    width: auto;
    margin-bottom: 24px;
}

/* Sub-product card image (parent product pages) */
.au-subproduct-img {
    display: block;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.au-figcaption {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

.au-brochure {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #f5f7f9;
    border-left: 4px solid var(--au-orange);
    padding: 26px 30px;
    margin-top: 40px;
}

.au-brochure > i {
    font-size: 46px;
    color: var(--au-orange);
    line-height: 1;
}

.au-brochure-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--au-text);
    margin: 0 0 14px;
}

@media (max-width: 575.98px) {
    .au-brochure {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ---------------------------------------------------------
   About page (continued)
   --------------------------------------------------------- */
.au-global {
    padding: 60px 0;
}

.au-global-map {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    .au-global {
        padding: 40px 0;
    }
}

/* ---------------------------------------------------------
   Home — hero slider
   --------------------------------------------------------- */
.au-hero-slide {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.au-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.au-hero-slide .container {
    position: relative;
    z-index: 1;
}

.au-hero-caption {
    max-width: 620px;
}

.au-hero-title {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.au-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.au-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 12px 28px;
    transition: background 0.2s ease, color 0.2s ease;
}

.au-btn-outline:hover {
    background: #fff;
    color: var(--au-blue);
}

.au-hero-slider .swiper-button-next,
.au-hero-slider .swiper-button-prev {
    color: #fff;
}

@media (max-width: 991.98px) {
    .au-hero-slide {
        min-height: 420px;
    }
    .au-hero-title {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .au-hero-slide {
        min-height: 340px;
    }
    .au-hero-title {
        font-size: 24px;
    }
}

.au-hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.au-hero-slider .swiper-pagination-bullet-active {
    background: var(--au-orange);
    opacity: 1;
}

/* ---------------------------------------------------------
   Home — Foundation of Engineering Excellence
   --------------------------------------------------------- */
.au-foundation {
    padding: 70px 0;
}

.au-section-title {
    color: var(--au-blue);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
}

.au-foundation p {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    line-height: 28px;
    letter-spacing: 0px;
    color: #7b7b7b;
}

.au-video {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
    .au-foundation {
        padding: 45px 0;
    }
    .au-section-title {
        font-size: 24px;
    }
}

/* ---------------------------------------------------------
   Home — Products (hover flip cards)
   --------------------------------------------------------- */
.au-products {
    padding: 55px 0 70px;
}

/* Centered heading with orange underline */
.au-products-title {
    text-align: center;
    margin-bottom: 44px;
}

.au-products-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--au-orange);
    margin: 16px auto 0;
}

.au-product {
    height: 100%;
}

.au-hoverbox {
    display: block;
    position: relative;
    min-height: 260px;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.au-hoverbox-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.au-hoverbox:hover .au-hoverbox-back,
.au-hoverbox:focus .au-hoverbox-back {
    opacity: 1;
}

.au-hoverbox-back img {
    max-width: 80%;
    max-height: 60%;
    width: auto;
    height: auto;
}

/* Card title + More Info */
.au-product-title {
    margin: 20px 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.au-product-title a {
    color: var(--au-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.au-product-title a:hover {
    color: var(--au-blue-dark);
}

.au-product-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6f6f6f;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.au-product-more::before {
    content: "";
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--au-orange);
}

.au-product-more:hover {
    color: var(--au-orange);
}

@media (max-width: 991.98px) {
    .au-products {
        padding: 40px 0 45px;
    }
    .au-product-title {
        font-size: 19px;
    }
}

/* ---------------------------------------------------------
   Home — Integrated End-to-End Services
   --------------------------------------------------------- */
.au-services {
    padding: 40px 0 70px;
}

.au-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--au-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 20px;
    transition: background 0.2s ease;
        border-color: #fdad00;
    border-width: 1px;
    border-style: solid;
    border-radius: 0px;
}

.au-btn-download i {
    font-size: 18px;
}

.au-btn-download:hover {
    background: var(--au-blue-dark);
    color: #fff;
}

@media (max-width: 991.98px) {
    .au-services {
        padding: 10px 0 45px;
    }
}

/* ---------------------------------------------------------
   Home — Testimonial
   --------------------------------------------------------- */
.au-testimonial {
    position: relative;
    background-color: var(--au-blue);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.au-testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--au-blue);
    opacity: 0;
}

.au-testimonial .container {
    position: relative;
    z-index: 1;
    padding-top: 50px;
}

.au-testimonial-worker {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: -1px; /* sit flush on the section base */
}

.au-testimonial-quote {
    color: #fff;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 300;
    margin: 0 0 26px;
    padding: 40px 0 0;
}

.au-testimonial-name {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 4px;
}

.au-testimonial-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0 0 40px;
}

@media (max-width: 767.98px) {
    .au-testimonial .container {
        padding-top: 40px;
    }
    .au-testimonial-worker {
        max-width: 240px;
        margin: 0 auto -1px;
    }
    .au-testimonial-quote {
        font-size: 18px;
        padding-top: 24px;
    }
    .au-testimonial-name {
        font-size: 20px;
    }
}

/* ---------------------------------------------------------
   Home — Beneficiation flow
   --------------------------------------------------------- */
.au-flow {
    padding: 70px 0;
}

.au-flow-image img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.29);
}

.au-flow-title {
    margin-bottom: 0;
}

.au-flow-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--au-orange);
    margin: 14px 0 22px;
}

.au-flow-text {
    color: #7b7b7b;
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 26px;
}

.au-btn-primary {
    display: inline-block;
    background: var(--au-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 14px 30px;
    transition: background 0.2s ease;
}

.au-btn-primary:hover {
    background: var(--au-blue-dark);
    color: #fff;
}

@media (max-width: 991.98px) {
    .au-flow {
        padding: 45px 0;
    }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.au-footer {
    background: #333;
    color: #cfcfcf;
    padding: 55px 0 40px;
    font-size: 15px;
}

.au-footer-logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 22px;
}

.au-footer-intro {
    line-height: 1.7;
    color: #cfcfcf;
    margin-bottom: 26px;
}

.au-footer-heading {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    font-weight: 700;
    color: #8f8f8f;
    margin-bottom: 26px;
}

/* Product link columns */
.au-foot-products a {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px dotted #6a6a6a;
    transition: color 0.2s ease;
}

.au-foot-products a:hover {
    color: var(--au-orange);
}

/* Contact list */
.au-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.au-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.au-contact li i {
    color: #b7b7b7;
    font-size: 18px;
    line-height: 1.4;
    flex-shrink: 0;
}

.au-contact a,
.au-contact span {
    color: #e6e6e6;
    text-decoration: none;
}

.au-contact a:hover {
    color: var(--au-orange);
}

/* Quick query form */
.au-query-form .form-control {
    background: #3d3d3d;
    border: 1px solid #545454;
    border-radius: 0;
    color: #fff;
    padding: 13px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    box-shadow: none;
}

.au-query-form .form-control::placeholder {
    color: #9a9a9a;
}

.au-query-form .form-control:focus {
    background: #3d3d3d;
    border-color: var(--au-orange);
    color: #fff;
    box-shadow: none;
}

.au-submit-btn {
    display: block;
    width: 100%;
    background: var(--au-orange);
    color: #fff;
    border: 0;
    padding: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.au-submit-btn:hover {
    background: #e07d00;
}

/* Bottom row: certifications + Great Place To Work */
.au-foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.au-cert {
    max-width: 300px;
    height: auto;
}

.au-gptw {
    width: 90px;
    height: auto;
}

@media (max-width: 991.98px) {
    .au-footer {
        padding: 40px 0 30px;
    }
    .au-foot-bottom {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
}
