﻿:root {
  --blue: #58b7e8;
  --orange: #f28c28;
  --navy: #12304a;
  --ink: #1d2d3d;
  --muted: #61758a;
  --bg: #f5f9fc;
  --white: #ffffff;
  --border: #dfe8ef;
  --shadow: 0 18px 40px rgba(18, 48, 74, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.topbar {
  background: var(--navy);
  color: #fff;
  padding: 10px 5%;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.02rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.navlinks a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(242, 140, 40, 0.25);
}

.btn:hover { transform: translateY(-1px); }

.btn.secondary {
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(88, 183, 232, 0.22);
}

.btn.ghost,
.btn.ghost-dark {
  background: #fff;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  box-shadow: none;
}

.message-stack {
  padding: 18px 0 0;
}

.message {
  margin: 0 auto 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
}

.message.success { background: #edfdf5; border-color: #b9ebcd; }
.message.error { background: #fff2f2; border-color: #f4c8c8; }

.page-hero {
  padding: 84px 7% 68px;
  background: linear-gradient(120deg, #ecf9ff 0%, #fff7ef 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero.compact { padding-top: 64px; padding-bottom: 48px; }

.page-hero h1 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 650px;
  background: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 8%;
}

.hero-copy h1 {
  margin: 12px 0 22px;
  color: var(--navy);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 span { color: var(--orange); }
.hero-copy p {
  max-width: 660px;
  font-size: 20px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-image {
  position: relative;
  min-height: 650px;
  background: linear-gradient(0deg, rgba(18, 48, 74, 0.62), rgba(18, 48, 74, 0.25)),
    url('https://images.unsplash.com/photo-1564981797816-1043664bf78d?auto=format&fit=crop&w=1400&q=85') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 28px;
  background: rgba(255, 254, 243, 0.94);
  border-left: 5px solid var(--orange);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.hero-overlay strong {
  font-size: 24px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.section {
  max-width: 1400px;
  margin: auto;
  padding: 80px 7%;
}

.section.soft {
  max-width: none;
  background: #f2f8fb;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 35px;
}

.eyebrow,
.pill {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
}

.section-head h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.08;
}

.section-head > p {
  max-width: 500px;
  color: var(--muted);
}

.feature-grid,
.programme-grid,
.grid,
.cards,
.gallery-grid,
.footer-grid,
.two-col {
  display: grid;
  gap: 20px;
}

.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.programme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid article,
.programme-card,
.card,
.panel,
.stat,
.gallery-item,
.info-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-grid article b,
.info-card b,
.contact-card b {
  color: var(--orange);
  font-size: 12px;
}

.feature-grid h3,
.card h2,
.card h3,
.programme-card h3,
.info-card strong,
.contact-card h2 {
  color: var(--navy);
}

.programme-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.programme-card p,
.feature-grid p,
.card p,
.contact-card p,
.info-card {
  color: var(--muted);
}

.info-card strong,
.contact-card strong {
  display: block;
  margin: 4px 0 12px;
  color: var(--navy);
}

.programme-card a,
.text-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.muted { color: var(--muted); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  display: inline-block;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.filter.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.form-panel {
  max-width: 760px;
  margin: 0 auto 60px;
}

.form-panel label {
  display: block;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--navy);
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.error,
.field-error {
  display: block;
  color: #b42318;
  font-weight: 500;
  margin-top: 4px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 40px auto 72px;
  padding: 38px 42px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy), #1b4766);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
}

.cta p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background: var(--navy);
  color: #edf5fb;
  padding: 52px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 10px;
  color: rgba(237, 245, 251, 0.8);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 1.5rem;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 950px) {
  .hero-home { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 80px; padding-bottom: 60px; }
  .hero-image { min-height: 420px; }
  .feature-grid, .programme-grid, .gallery-grid, .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: block; }
  .navlinks {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 5% 30px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .menu-open .navlinks { display: flex; }
}

@media (max-width: 600px) {

    .hero-copy {
        padding: 70px 6%;
    }

    .hero-image {
        min-height: 320px;
    }

    .section-head {
        display: block;
    }
}

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        display: block;
        padding: 30px 24px;
    }

    .hero-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .topbar span {
        display: none;
    }

}
/* =========================================================
   BROKENHILL COLLEGE - MOBILE RESPONSIVE DESIGN
   LMS + STUDENT PORTAL
   ========================================================= */

@media (max-width: 768px) {

    /* Prevent horizontal scrolling */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Main containers */
    .container,
    main,
    .main,
    .content {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Header */
    .site-header {
        width: 100%;
    }

    .nav-container,
    nav {
        width: 100%;
        box-sizing: border-box;
    }

    /* Mobile navigation */
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .navlinks {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }

    body.menu-open .navlinks {
        display: flex;
    }

    .navlinks a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        box-sizing: border-box;
    }

    /* Brand */
    .brand {
        max-width: 80%;
    }

    .brand-text {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 11px;
    }

    /* Hero sections */
    .hero {
        padding: 25px 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 25px;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero p {
        font-size: 15px;
    }

    /* Cards */
    .card {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 15px;
        padding: 16px;
    }

    /* Grids become one column */
    .grid,
    .stats,
    .cards,
    .dashboard-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 15px;
        width: 100%;
    }

    /* Buttons */
    .btn {
        display: inline-block;
        max-width: 100%;
        box-sizing: border-box;
        padding: 11px 16px;
        margin: 4px 0;
    }

    /* Tables - make them scrollable */
    .table-container,
    .panel,
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        min-width: 600px;
        border-collapse: collapse;
    }

    th,
    td {
        padding: 9px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Student Portal */
    .page-head {
        padding: 15px 0;
    }

    .page-head h1 {
        font-size: 24px;
    }

    .stat {
        width: 100%;
        box-sizing: border-box;
    }

    /* Forms */
    form {
        width: 100%;
        max-width: 100%;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }

    input,
    select,
    textarea {
        width: 100%;
        font-size: 16px;
    }

    textarea {
        min-height: 120px;
    }

    /* LMS course pages */
    .course,
    .course-card,
    .module,
    .module-card,
    .assignment,
    .quiz,
    .exam {
        width: 100%;
        box-sizing: border-box;
    }

    /* Learning materials */
    .material,
    .materials,
    .learning-materials {
        width: 100%;
        box-sizing: border-box;
    }

    /* Images and documents */
    img,
    iframe,
    video {
        max-width: 100%;
        height: auto;
    }

    iframe {
        width: 100%;
    }

    /* Footer */
    footer {
        width: 100%;
        box-sizing: border-box;
        padding: 20px 15px;
    }

}

/* Extra-small phones */
@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .card {
        padding: 13px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .topbar {
        font-size: 11px;
        padding: 8px 10px;
        text-align: center;
    }

    .brand-text strong {
        font-size: 14px;
    }
}
/* =========================================================
   BROKENHILL COLLEGE - MODERN HEADER
   Visual styling only - does not change Django functionality
   ========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6edf5;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    min-height: 82px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Official Brokenhill logo */
.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: #102a63;
    font-size: 17px;
    font-weight: 800;
}

.brand-text small {
    color: #e4772e;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* Navigation */
.navlinks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.navlinks a {
    color: #162957;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 11px;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.navlinks a:hover {
    background: #eaf4ff;
    color: #1677d2;
}

/* Home button */
.navlinks a[href="/"] {
    color: #ffffff;
    background: #1677d2;
}

.navlinks a[href="/"]:hover {
    background: #0d5fac;
    color: #ffffff;
}

/* Dashboard / Login buttons */
.navlinks .btn,
.navlinks .btn-secondary,
.navlinks .btn.secondary {
    border-radius: 7px;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
}

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

@media (max-width: 900px) {

    .nav-container {
        min-height: 70px;
        padding: 10px 16px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .menu-toggle {
        display: block;
    }

    .navlinks {
        gap: 2px;
    }

    .navlinks a {
        font-size: 13px;
        padding: 7px 8px;
    }
}

@media (max-width: 650px) {

    .nav-container {
        flex-wrap: wrap;
    }

    .brand {
        flex: 1;
    }

    .navlinks {
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .navlinks a {
        font-size: 12px;
        padding: 7px 9px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 10px;
    }
}
/* LOGIN PAGE LOGO FIX */
.bh-logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.bh-logo {
    width: 110px;
    height: 110px;
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* LOGIN PAGE LAYOUT */
.bh-login-card {
    max-width: 500px !important;
    width: 100% !important;
    margin: 40px auto !important;
    padding: 30px !important;
    box-sizing: border-box !important;
}

.bh-login-card .bh-logo-area {
    text-align: center !important;
}

.bh-login-card .bh-logo {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
}
/* FINAL HEADER AND LOGO FIX */
header {
  width: 100%;
  background: #ffffff;
}

header .container.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

header .brand-mark {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .brand-mark img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  display: block !important;
}

header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  header .container.nav {
    flex-wrap: wrap;
  }

  header nav {
    width: 100%;
    justify-content: center;
  }
}
/* FINAL HOMEPAGE HEADER FIX */
.site-header .brand-logo {
    width: 62px !important;
    height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.site-header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.site-header .brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.site-header .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 25px !important;
}

.site-header .navlinks {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}
/* FINAL BROKENHILL HEADER FIX */

.site-header .nav-container {
    width: 100%;
    max-width: 1250px;
    min-height: 82px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 25px;
    box-sizing: border-box;
}

.site-header .brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none;
    flex-shrink: 0 !important;
}

.site-header .brand-logo {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    object-fit: contain !important;
    display: block !important;
}

.site-header .brand-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2;
}

.site-header .brand-text strong {
    font-size: 16px;
}

.site-header .brand-text small {
    font-size: 11px;
}

.site-header .navlinks {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.site-header .navlinks a {
    white-space: nowrap;
}

.site-header .menu-toggle {
    display: none;
}

/* Mobile */
@media (max-width: 900px) {
    .site-header .menu-toggle {
        display: block !important;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .site-header .navlinks {
        display: none !important;
    }

    body.menu-open .site-header .navlinks {
        display: flex !important;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: white;
        z-index: 9999;
    }
}
/* =========================================================
   BROKENHILL COLLEGE MODERN UNIVERSITY HOMEPAGE
   ========================================================= */

.bh-hero {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 560px;
    background: #082b63;
    overflow: hidden;
}

.bh-hero-content {
    padding: 90px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}

.bh-eyebrow {
    color: #ff7a00;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.bh-hero h1 {
    font-size: clamp(48px, 5vw, 76px);
    line-height: .98;
    margin: 0 0 28px;
    font-weight: 800;
    color: white;
}

.bh-hero h1 span {
    display: block;
    color: #ff7a00;
}

.bh-hero p {
    max-width: 600px;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
    margin-bottom: 32px;
}

.bh-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 27px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.bh-btn-orange {
    background: #ff7a00;
    color: white !important;
}

.bh-btn-orange:hover {
    background: #e56800;
    transform: translateY(-2px);
}

.bh-btn-outline {
    border: 2px solid white;
    color: white !important;
    background: transparent;
}

.bh-btn-outline:hover {
    background: white;
    color: #082b63 !important;
}

.bh-btn-light {
    background: white;
    color: #082b63 !important;
}

.bh-hero-image {
    min-height: 560px;
    overflow: hidden;
}

.bh-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* FEATURES */

.bh-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 24px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    position: relative;
    z-index: 5;
}

.bh-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-right: 1px solid #e5e5e5;
}

.bh-feature:last-child {
    border-right: none;
}

.bh-feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0879d1;
    color: white;
    font-size: 23px;
}

.bh-feature:nth-child(even) .bh-feature-icon {
    background: #ff7a00;
}

.bh-feature h3 {
    margin: 0 0 5px;
    color: #082b63;
    font-size: 17px;
}

.bh-feature p {
    margin: 0;
    color: #68758a;
    font-size: 13px;
}


/* PROGRAMMES */

.bh-programmes {
    padding: 80px 5%;
    background: #f2f7fc;
}

.bh-section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.bh-section-heading > span {
    color: #ff7a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bh-section-heading h2 {
    color: #082b63;
    font-size: 42px;
    margin: 10px 0;
}

.bh-section-heading p {
    color: #64748b;
    font-size: 17px;
}

.bh-programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1450px;
    margin: auto;
}

.bh-programme-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(8,43,99,.09);
    transition: .3s ease;
}

.bh-programme-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(8,43,99,.16);
}

.bh-programme-card > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.bh-programme-body {
    padding: 25px;
    position: relative;
}

.bh-card-icon {
    width: 45px;
    height: 45px;
    background: #0879d1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -48px;
    margin-bottom: 18px;
    position: relative;
    border: 4px solid white;
}

.bh-card-icon.orange {
    background: #ff7a00;
}

.bh-programme-body h3 {
    color: #082b63;
    font-size: 21px;
    margin: 0 0 12px;
}

.bh-programme-body p {
    color: #68758a;
    line-height: 1.6;
    font-size: 14px;
    min-height: 70px;
}

.bh-programme-body a {
    color: #0879d1;
    font-weight: 700;
    text-decoration: none;
}


/* CTA */

.bh-cta {
    padding: 80px 8%;
    background:
        linear-gradient(90deg, rgba(8,43,99,.97), rgba(8,43,99,.82)),
        url("../images/campus.jpg") center/cover;
    color: white;
}

.bh-cta > div {
    max-width: 800px;
}

.bh-cta span {
    color: #ff7a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bh-cta h2 {
    font-size: 45px;
    line-height: 1.1;
    margin: 15px 0;
}

.bh-cta h2 strong {
    color: #ff7a00;
}

.bh-cta p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    max-width: 700px;
}


/* STATISTICS */

.bh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #061f49;
    color: white;
    padding: 35px 8%;
    text-align: center;
}

.bh-stats div {
    border-right: 1px solid rgba(255,255,255,.2);
}

.bh-stats div:last-child {
    border-right: none;
}

.bh-stats strong {
    display: block;
    font-size: 30px;
    color: white;
    margin-bottom: 5px;
}

.bh-stats span {
    color: #b8c7dc;
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 1000px) {

    .bh-hero {
        grid-template-columns: 1fr;
    }

    .bh-hero-content {
        padding: 70px 7%;
    }

    .bh-hero-image {
        min-height: 400px;
    }

    .bh-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .bh-programme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bh-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .bh-stats div {
        border-right: none;
    }
}


@media (max-width: 600px) {

    .bh-hero h1 {
        font-size: 45px;
    }

    .bh-hero p {
        font-size: 16px;
    }

    .bh-features {
        grid-template-columns: 1fr;
    }

    .bh-feature {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 18px 5px;
    }

    .bh-programme-grid {
        grid-template-columns: 1fr;
    }

    .bh-section-heading h2 {
        font-size: 32px;
    }

    .bh-cta h2 {
        font-size: 32px;
    }

    .bh-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   BROKENHILL COLLEGE — PROFESSIONAL HOMEPAGE
   Homepage-only styling
   ========================================================= */

.bh-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    background: #f7f9fc;
}

.bh-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 8%;
}

.bh-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #d47a32;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bh-hero h1 {
    margin: 0 0 25px;
    color: #172b5d;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 800;
}

.bh-hero h1 span {
    display: block;
    color: #d47a32;
}

.bh-hero p {
    max-width: 620px;
    margin: 0 0 32px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
}

.bh-hero-image {
    min-height: 620px;
    overflow: hidden;
}

.bh-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bh-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.bh-btn-orange {
    background: #d47a32;
    color: #ffffff;
}

.bh-btn-orange:hover {
    background: #b96325;
    transform: translateY(-2px);
}

.bh-btn-outline {
    border: 2px solid #172b5d;
    color: #172b5d;
    background: #ffffff;
}

.bh-btn-outline:hover {
    background: #172b5d;
    color: #ffffff;
}

.bh-btn-white {
    background: #ffffff;
    color: #172b5d;
}

.bh-intro {
    max-width: 900px;
    margin: auto;
    padding: 100px 24px 80px;
    text-align: center;
}

.bh-intro h2,
.bh-section h2,
.bh-feature h2,
.bh-cta h2 {
    margin: 0 0 20px;
    color: #172b5d;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.bh-intro p {
    max-width: 760px;
    margin: 0 auto 25px;
    color: #667085;
    font-size: 17px;
    line-height: 1.8;
}

.bh-text-link {
    color: #172b5d;
    font-weight: 800;
    text-decoration: none;
}

.bh-text-link:hover {
    color: #d47a32;
}

.bh-section {
    padding: 90px 6%;
    background: #f7f9fc;
}

.bh-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.bh-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bh-card {
    overflow: hidden;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(20, 35, 70, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bh-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(20, 35, 70, 0.14);
}

.bh-card > img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.bh-card-body {
    padding: 25px;
}

.bh-card-body > span {
    color: #d47a32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.bh-card-body h3 {
    margin: 10px 0;
    color: #172b5d;
    font-size: 23px;
}

.bh-card-body p {
    min-height: 100px;
    margin: 0 0 20px;
    color: #667085;
    line-height: 1.65;
}

.bh-card-body a {
    color: #172b5d;
    font-weight: 800;
    text-decoration: none;
}

.bh-card-body a:hover {
    color: #d47a32;
}

.bh-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.bh-feature-image {
    min-height: 600px;
}

.bh-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bh-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 9%;
    background: #172b5d;
}

.bh-feature-content h2 {
    color: #ffffff;
}

.bh-feature-content > p {
    margin-bottom: 35px;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    font-size: 17px;
}

.bh-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.bh-points div {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.bh-points strong {
    color: #d47a32;
    font-size: 20px;
}

.bh-points span {
    font-weight: 600;
}

.bh-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 75px 7%;
    background: #d47a32;
}

.bh-cta .bh-eyebrow {
    color: #ffffff;
}

.bh-cta h2 {
    color: #ffffff;
    max-width: 700px;
}

.bh-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.7;
}


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

@media (max-width: 1000px) {

    .bh-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .bh-hero,
    .bh-feature {
        grid-template-columns: 1fr;
    }

    .bh-hero-content {
        padding: 70px 7%;
        order: 1;
    }

    .bh-hero-image {
        min-height: 420px;
        order: 2;
    }

    .bh-feature-image {
        min-height: 400px;
    }

    .bh-feature-content {
        padding: 70px 7%;
    }

    .bh-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .bh-hero-content {
        padding: 55px 24px;
    }

    .bh-hero h1 {
        font-size: 45px;
    }

    .bh-hero p {
        font-size: 16px;
    }

    .bh-hero-image {
        min-height: 300px;
    }

    .bh-intro {
        padding: 70px 24px;
    }

    .bh-section {
        padding: 65px 20px;
    }

    .bh-section-heading {
        display: block;
    }

    .bh-section-heading .bh-text-link {
        display: inline-block;
        margin-top: 10px;
    }

    .bh-cards {
        grid-template-columns: 1fr;
    }

    .bh-card > img {
        height: 240px;
    }

    .bh-feature-image {
        min-height: 300px;
    }

    .bh-feature-content {
        padding: 60px 24px;
    }

    .bh-points {
        grid-template-columns: 1fr;
    }

    .bh-cta {
        padding: 60px 24px;
    }

    .bh-buttons {
        width: 100%;
    }

    .bh-btn {
        width: 100%;
    }
}
/* =========================================================
   BROKENHILL COLLEGE - MODERN UNIVERSITY HOMEPAGE
   Front-end styling only
   ========================================================= */

.bh-hero {
    display: flex;
    width: 100%;
    min-height: 560px;
    margin: 0;
    padding: 0;
    background: #f7faff;
    overflow: hidden;
}

.bh-hero-content {
    width: 50%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.bh-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #1677c8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bh-hero h1 {
    margin: 0 0 24px;
    color: #172554;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 800;
}

.bh-hero h1 span {
    color: #f28c28;
    display: block;
}

.bh-hero p {
    max-width: 600px;
    margin: 0 0 32px;
    color: #526173;
    font-size: 18px;
    line-height: 1.7;
}

.bh-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.bh-btn-orange {
    background: #f28c28;
    color: #ffffff !important;
    border: 2px solid #f28c28;
}

.bh-btn-orange:hover {
    background: #d97412;
    border-color: #d97412;
}

.bh-btn-outline {
    background: #ffffff;
    color: #1677c8 !important;
    border: 2px solid #1677c8;
}

.bh-btn-outline:hover {
    background: #1677c8;
    color: #ffffff !important;
}

.bh-hero-image {
    width: 50%;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.bh-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* About section */
.bh-intro {
    padding: 90px 8%;
    background: #ffffff;
}

.bh-intro h2 {
    margin: 15px 0 20px;
    color: #172554;
    font-size: 38px;
    line-height: 1.2;
}

.bh-intro p {
    max-width: 900px;
    color: #5b6778;
    font-size: 17px;
    line-height: 1.8;
}

/* Mobile */
@media (max-width: 900px) {
    .bh-hero {
        flex-direction: column;
    }

    .bh-hero-content {
        width: 100%;
        padding: 55px 25px;
        order: 1;
    }

    .bh-hero-image {
        width: 100%;
        min-height: 360px;
        order: 2;
    }

    .bh-hero-image img {
        min-height: 360px;
    }

    .bh-hero h1 {
        font-size: 40px;
    }

    .bh-hero p {
        font-size: 16px;
    }

    .bh-intro {
        padding: 60px 25px;
    }

    .bh-intro h2 {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .bh-hero h1 {
        font-size: 34px;
    }

    .bh-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .bh-btn {
        width: 100%;
    }

    .bh-hero-image {
        min-height: 280px;
    }

    .bh-hero-image img {
        min-height: 280px;
    }
}
/* =====================================================
   BROKENHILL COLLEGE - FINAL HERO DESIGN
   ===================================================== */

.bh-hero {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    min-height: 560px !important;
    background: #1677c8 !important;
    color: #ffffff !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bh-hero-content {
    width: 50% !important;
    padding: 80px 55px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
}

.bh-hero-content h1 {
    margin: 0 0 20px 0 !important;
    font-size: 52px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.bh-hero-content h1 span {
    display: block !important;
    color: #ff8a00 !important;
}

.bh-hero-content p {
    max-width: 600px !important;
    margin: 0 0 30px 0 !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
}

.bh-eyebrow {
    display: inline-block !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #ffb347 !important;
}

.bh-buttons {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

.bh-btn {
    display: inline-block !important;
    padding: 14px 25px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: 0.3s ease !important;
}

.bh-btn-orange {
    background: #ff8a00 !important;
    color: #ffffff !important;
    border: 2px solid #ff8a00 !important;
}

.bh-btn-orange:hover {
    background: #e87800 !important;
}

.bh-btn-outline {
    background: #ffffff !important;
    color: #1677c8 !important;
    border: 2px solid #ffffff !important;
}

.bh-btn-outline:hover {
    background: #ff8a00 !important;
    color: #ffffff !important;
    border-color: #ff8a00 !important;
}

.bh-hero-image {
    width: 50% !important;
    min-height: 560px !important;
    overflow: hidden !important;
    position: relative !important;
}

.bh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 560px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}

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

@media (max-width: 900px) {

    .bh-hero {
        flex-direction: column !important;
    }

    .bh-hero-content {
        width: 100% !important;
        padding: 55px 25px !important;
    }

    .bh-hero-content h1 {
        font-size: 40px !important;
    }

    .bh-hero-content p {
        font-size: 16px !important;
    }

    .bh-hero-image {
        width: 100% !important;
        min-height: 360px !important;
    }

    .bh-hero-image img {
        min-height: 360px !important;
    }
}

@media (max-width: 500px) {

    .bh-hero-content {
        padding: 45px 20px !important;
    }

    .bh-hero-content h1 {
        font-size: 34px !important;
    }

    .bh-buttons {
        width: 100% !important;
        flex-direction: column !important;
    }

    .bh-btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .bh-hero-image {
        min-height: 280px !important;
    }

    .bh-hero-image img {
        min-height: 280px !important;
    }
}

/* FINAL BROKENHILL HERO FIX */

.bh-hero {
    display: flex !important;
    width: 100% !important;
    min-height: 560px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #1677c8 !important;
}

.bh-hero-content {
    width: 50% !important;
    padding: 70px 55px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.bh-hero-content h1 {
    font-size: 52px !important;
    line-height: 1.1 !important;
    color: white !important;
    margin-bottom: 20px !important;
}

.bh-hero-content h1 span {
    color: #ff8a00 !important;
}

.bh-hero-content p {
    color: white !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
}

.bh-hero-image {
    width: 50% !important;
    min-height: 560px !important;
    overflow: hidden !important;
}

.bh-hero-image img {
    width: 100% !important;
    height: 560px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

@media (max-width: 900px) {
    .bh-hero {
        flex-direction: column !important;
    }

    .bh-hero-content {
        width: 100% !important;
        padding: 50px 25px !important;
    }

    .bh-hero-image {
        width: 100% !important;
        min-height: 350px !important;
    }

    .bh-hero-image img {
        height: 350px !important;
    }
}

/* FINAL BROKENHILL HOMEPAGE POLISH */

.bh-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
    min-height: 520px;
    overflow: hidden;
}

.bh-hero-content {
    padding: 70px 55px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bh-hero-content h1 {
    font-size: 52px !important;
    line-height: 1.08 !important;
    margin: 15px 0 20px !important;
}

.bh-hero-content p {
    font-size: 18px !important;
    line-height: 1.7 !important;
    max-width: 650px;
}

.bh-buttons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 25px !important;
}

.bh-hero-image {
    width: 100% !important;
    min-height: 520px !important;
    overflow: hidden;
}

.bh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    display: block !important;
}

/* MOBILE */
@media (max-width: 900px) {
    .bh-hero {
        grid-template-columns: 1fr !important;
    }

    .bh-hero-content {
        padding: 45px 25px !important;
    }

    .bh-hero-content h1 {
        font-size: 38px !important;
    }

    .bh-hero-image {
        min-height: 360px !important;
    }

    .bh-hero-image img {
        min-height: 360px !important;
    }

    .bh-buttons {
        flex-direction: column !important;
    }

    .bh-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* FORCE PROFESSIONAL HERO LAYOUT */

.bh-hero {
    display: grid !important;
    grid-template-columns: 45% 55% !important;
    min-height: 520px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.bh-hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 60px 45px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.bh-hero-content h1 {
    font-size: 48px !important;
    line-height: 1.1 !important;
    margin: 15px 0 20px !important;
}

.bh-hero-content p {
    font-size: 17px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

.bh-buttons {
    display: flex !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.bh-hero-image {
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    overflow: hidden !important;
}

.bh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* MOBILE */
@media (max-width: 900px) {

    .bh-hero {
        display: flex !important;
        flex-direction: column !important;
    }

    .bh-hero-content {
        padding: 45px 25px !important;
    }

    .bh-hero-content h1 {
        font-size: 38px !important;
    }

    .bh-hero-image {
        height: 360px !important;
        min-height: 360px !important;
    }

    .bh-hero-image img {
        height: 360px !important;
        min-height: 360px !important;
    }

    .bh-buttons {
        flex-direction: column !important;
    }

    .bh-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* BROKENHILL HERO - FINAL DESKTOP FIX */

.bh-hero {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    min-height: 520px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.bh-hero-content {
    width: 45% !important;
    flex: 0 0 45% !important;
    padding: 60px 45px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.bh-hero-image {
    width: 55% !important;
    flex: 0 0 55% !important;
    height: 520px !important;
    min-height: 520px !important;
    overflow: hidden !important;
}

.bh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* MOBILE ONLY */
@media (max-width: 600px) {
    .bh-hero {
        flex-direction: column !important;
    }

    .bh-hero-content {
        width: 100% !important;
        flex: none !important;
        padding: 45px 25px !important;
    }

    .bh-hero-image {
        width: 100% !important;
        flex: none !important;
        height: 360px !important;
        min-height: 360px !important;
    }

    .bh-hero-image img {
        height: 360px !important;
        min-height: 360px !important;
    }
}




/* =====================================================
   BROKENHILL COLLEGE - FINAL HOMEPAGE HERO
   Front-end styling only
   ===================================================== */

.bh-hero {
    display: grid !important;
    grid-template-columns: 48% 52% !important;
    width: 100% !important;
    min-height: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.bh-hero-content {
    width: 100% !important;
    padding: 80px 55px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.bh-hero-image {
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    overflow: hidden !important;
}

.bh-hero-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 560px !important;
    display: block !important;
    object-fit: cover !important;
}

.bh-buttons {
    display: flex !important;
    gap: 14px !important;
    width: auto !important;
}

.bh-btn {
    width: auto !important;
}

@media (max-width: 900px) {
    .bh-hero {
        grid-template-columns: 1fr !important;
    }

    .bh-hero-content {
        padding: 55px 30px !important;
    }

    .bh-hero-image {
        height: 380px !important;
        min-height: 380px !important;
    }

    .bh-hero-image img {
        min-height: 380px !important;
    }
}

@media (max-width: 600px) {
    .bh-hero-content {
        padding: 45px 20px !important;
    }

    .bh-hero-image {
        height: 300px !important;
        min-height: 300px !important;
    }

    .bh-hero-image img {
        min-height: 300px !important;
    }

    .bh-buttons {
        flex-direction: column !important;
    }

    .bh-btn {
        width: 100% !important;
    }
}

/* ===== CONTACT BAR ===== */
.bh-contact-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.bh-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

.bh-contact-inner span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.bh-contact-inner a {
    color: #1f3c88;
    text-decoration: none;
    font-weight: 500;
}

.bh-contact-inner a:hover {
    text-decoration: underline;
}

/* Mobile phones */
@media (max-width: 768px) {
    .bh-contact-inner {
        justify-content: flex-start;
        gap: 10px 14px;
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* =========================================
   PROFESSIONAL BHCASE FOOTER
   ========================================= */

.site-footer {
    background: #071a3d;
    color: #ffffff;
    padding: 45px 0 25px;
    margin-top: 0;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.5fr;
    gap: 45px;
    align-items: start;
}

.footer-grid > div {
    min-width: 0;
}

.site-footer strong {
    display: block;
    color: #f4a623;
    font-size: 18px;
    margin-bottom: 15px;
}

.site-footer p {
    margin: 7px 0;
    line-height: 1.6;
    color: #e6edf7;
}

.site-footer a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #f4a623;
}

.site-footer .footer-contact p {
    margin: 8px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer {
        padding: 35px 0 20px;
    }
}