/* ============================================
   Halls Ltd - Prototype Stylesheet
   Brand: Blue #003087 | Orange #E25200
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --halls-blue:      #003087;
  --halls-blue-dark: #001a4d;
  --halls-blue-light:#1f4fad;
  --halls-orange:    #E25200;
  --halls-orange-lt: #ff6b35;
  --white:         #ffffff;
  --grey-50:       #f8f9fa;
  --grey-100:      #e9ecef;
  --grey-200:      #dee2e6;
  --grey-400:      #adb5bd;
  --grey-600:      #6c757d;
  --grey-800:      #343a40;
  --grey-900:      #212529;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--grey-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--halls-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--halls-orange); }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--grey { background: var(--grey-50); }
.section--blue { background: var(--halls-blue); color: var(--white); }

/* Top utility bar */
.topbar {
  background: var(--halls-blue-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.75); margin-left: 18px; }
.topbar a:hover { color: var(--white); }

/* Header / Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-size: 2rem; font-weight: 900; letter-spacing: -1px;
  color: var(--halls-blue); text-transform: uppercase;
}
.logo span { color: var(--halls-orange); }

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  display: block; padding: 10px 16px; font-weight: 600;
  font-size: .92rem; color: var(--grey-800); border-radius: 4px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--halls-blue); background: rgba(0,48,135,.07); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 3px;
  background: var(--grey-900); margin: 5px 0; border-radius: 2px; transition: .3s;
}

/* Hero */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-image: linear-gradient(rgba(2,17,52,.78), rgba(2,17,52,.5)), url('../images/hero-home.jpg'); background-size: cover; background-position: center;
  color: var(--white); overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 60%, rgba(226,82,0,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.06) 0%, transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800;
  line-height: 1.15; max-width: 720px; margin-bottom: 20px;
}
.hero p { font-size: 1.15rem; max-width: 560px; opacity: .88; margin-bottom: 32px; }

.btn {
  display: inline-block; padding: 14px 32px; font-weight: 700; font-size: .95rem;
  border-radius: 4px; cursor: pointer; transition: background .2s, transform .15s; text-align: center;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--halls-orange); color: var(--white); border: none; }
.btn--primary:hover { background: #c44800; color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); margin-left: 12px; }
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--blue { background: var(--halls-blue); color: var(--white); border: none; }
.btn--blue:hover { background: var(--halls-blue-dark); color: var(--white); }

/* Cards / Grids */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.card__img {
  height: 190px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 16px; position: relative;
}
.card__badge {
  background: var(--halls-orange); color: var(--white); font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 3px;
}
.card__body { padding: 22px; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--grey-900); }
.card__text { font-size: .92rem; color: var(--grey-600); line-height: 1.55; }
.card__link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--halls-blue); }
.card__link::after { content: ' \2192'; }

.card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 45%, rgba(0,0,0,.38) 100%);
}
.card__badge { position: relative; z-index: 1; }

/* Section headings */
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--grey-900); margin-bottom: 10px; }
.section--blue .section-head h2 { color: var(--white); }
.section-head p { font-size: 1.05rem; color: var(--grey-600); max-width: 640px; }
.section--blue .section-head p { color: rgba(255,255,255,.78); }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--grey-200); border-radius: 8px; overflow: hidden;
}
.stat { background: var(--white); text-align: center; padding: 32px 16px; }
.stat__num { font-size: 2.4rem; font-weight: 900; color: var(--halls-blue); line-height: 1; margin-bottom: 6px; }
.stat__label { font-size: .85rem; color: var(--grey-600); text-transform: uppercase; letter-spacing: .5px; }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.news-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.11); }
.news-card__img { height: 180px; background-size: cover; background-position: center; position: relative; }
.news-card__date {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,.65); color: var(--white); font-size: .75rem;
  padding: 4px 10px; border-radius: 3px;
}
.news-card__body { padding: 20px; }
.news-card__tag {
  display: inline-block; background: rgba(0,48,135,.08); color: var(--halls-blue);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 10px;
}
.news-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--grey-900); margin-bottom: 8px; }
.news-card__excerpt { font-size: .9rem; color: var(--grey-600); line-height: 1.5; }

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col--text-img .col-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.two-col--text-img .col-text p { color: var(--grey-600); margin-bottom: 14px; }
.col-img-placeholder {
  border-radius: 8px; min-height: 320px;
  background: linear-gradient(135deg, var(--halls-blue) 0%, #0a4db8 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .9rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--halls-blue-dark), var(--halls-blue));
  color: var(--white); padding: 72px 0 56px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { opacity: .82; max-width: 600px; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; opacity: .7; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }

/* Values / pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pillar {
  background: var(--white); border-left: 4px solid var(--halls-orange);
  border-radius: 6px; padding: 28px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.pillar h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--halls-blue); }
.pillar p { font-size: .9rem; color: var(--grey-600); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--halls-blue-dark), var(--halls-blue));
  color: var(--white); text-align: center; padding: 64px 24px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .8; max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--grey-900); color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px; padding: 56px 0 40px; }
.footer-col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: .8rem;
}
.footer-social a { color: rgba(255,255,255,.5); margin-left: 16px; font-size: .85rem; }
.footer-social a:hover { color: var(--white); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--grey-800); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--grey-200);
  border-radius: 6px; font-size: .95rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--halls-blue); box-shadow: 0 0 0 3px rgba(0,48,135,.12); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--grey-200); margin-bottom: 36px; overflow-x: auto; }
.tab-btn {
  padding: 12px 22px; font-weight: 700; font-size: .92rem; background: none; border: none;
  cursor: pointer; color: var(--grey-600); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: color .2s, border-color .2s; white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--halls-blue); border-bottom-color: var(--halls-orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Job listing */
.job-list li {
  padding: 18px 0; border-bottom: 1px solid var(--grey-200);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.job-list li:last-child { border-bottom: none; }
.job-title { font-weight: 700; color: var(--grey-900); }
.job-meta { font-size: .85rem; color: var(--grey-600); margin-top: 3px; }
.job-loc {
  background: rgba(0,48,135,.07); color: var(--halls-blue);
  padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; white-space: nowrap;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--grey-200); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--halls-orange); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--halls-orange);
}
.timeline-item .year { font-size: .8rem; font-weight: 700; color: var(--halls-orange); text-transform: uppercase; letter-spacing: .5px; }
.timeline-item h3 { font-size: 1.05rem; font-weight: 700; margin: 4px 0; }
.timeline-item p { font-size: .92rem; color: var(--grey-600); }

/* Responsive */
@media (max-width: 992px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 440px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-200);
    box-shadow: 0 8px 24px rgba(0,0,0,.1); display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 16px 24px; gap: 0; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--grey-100); }
  .topbar .container { flex-direction: column; gap: 4px; text-align: center; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .btn--outline { margin-left: 0; margin-top: 12px; display: inline-block; }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

.ph-img-1 { background: linear-gradient(135deg, #003087 0%, #1f4fad 60%, #4a91ff 100%); }
.ph-img-2 { background: linear-gradient(135deg, #4a2c0a 0%, #8b5e34 60%, #d4a76a 100%); }
.ph-img-3 { background: linear-gradient(135deg, #1a1a2e 0%, #3d3d5c 60%, #8d99ae 100%); }
.ph-img-4 { background: linear-gradient(135deg, #1b4332 0%, #40916c 60%, #74c69d 100%); }
.ph-img-5 { background: linear-gradient(135deg, #2b2d42 0%, #8d99ae 60%, #edf2fb 100%); }
.ph-img-6 { background: linear-gradient(135deg, #e25200 0%, #ff6b35 60%, #ffb798 100%); }

/* Data tables (Investor Hub) */
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.data-table th, .data-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--grey-200); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { background: var(--halls-blue); color: var(--white); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--grey-50); }
.data-table tbody tr:hover { background: rgba(0,48,135,.05); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-note { font-size: .78rem; color: var(--grey-600); margin-top: 10px; }
