/* ==========================================================================
   NORSTOK - Modern, Lightweight, Identical HTML/CSS/JS Implementation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary-dark: #2b3036;
  --color-header-bg: #2b3036;
  --color-footer-bg: #1c2024;
  --color-accent-gold: #e59b15;
  --color-accent-gold-hover: #d38c0e;
  --color-accent-brown: #96602e;
  --color-text-dark: #1c2024;
  --color-text-body: #555555;
  --color-text-muted: #888888;
  --color-text-light: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-border: #e2e5e8;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max-width: 1200px;
  --transition-speed: 0.25s;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-loaded {
  opacity: 1;
}

body.page-leaving {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: var(--color-header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, height var(--transition-speed) ease;
  overflow: visible;
  height: 90px;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 21.85%;
  min-width: 170px;
  height: 100%;
  background-image: url('../images/coal-bg.jpg');
  background-position: right top;
  background-repeat: repeat-y;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding-left: 45px;
  padding-right: calc(21.85% + 30px);
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-text-light);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 30px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-gold);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #23272c;
  min-width: 270px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-top: 3px solid var(--color-accent-gold);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  padding: 10px 0;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 12px 22px;
  color: #c5c8cb;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-speed);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover,
.dropdown-link.active {
  background-color: #2b3036;
  color: var(--color-accent-gold);
  padding-left: 26px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ==========================================================================
   INNER PAGE HERO BANNER
   ========================================================================== */

.page-hero {
  background-color: var(--color-header-bg);
  position: relative;
  overflow: hidden;
  height: 250px;
  min-height: 250px;
}

.page-hero-bg {
  display: none;
}

.page-hero-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding-left: clamp(45px, 16.6vw, 240px);
  padding-right: 0;
  margin: 0;
  position: relative;
}

.page-hero-title {
  color: var(--color-text-light);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  margin: 0;
  line-height: 1;
}

.page-hero-image-wrap {
  position: absolute;
  top: 0;
  left: clamp(380px, 30vw, 440px);
  right: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.page-hero-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
}

/* ==========================================================================
   BODY CONTENT & SECTIONS
   ========================================================================== */

.content-section {
  padding: 80px 0;
}

.content-section.bg-light {
  background-color: var(--color-bg-light);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-grid.reversed {
  direction: rtl;
}

.section-grid.reversed > * {
  direction: ltr;
}

.section-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.section-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Category Eyebrow Tag */
.category-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 6px;
}

.category-eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.section-heading {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-text {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.section-text:last-child {
  margin-bottom: 0;
}

/* Bullet Feature Lists */
.feature-list {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #222222;
  line-height: 1.5;
}

.feature-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #f6b21b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.feature-bullet::after {
  content: "›";
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  position: relative;
  top: -1px;
}

.feature-bullet::after {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
}

.feature-bullet.number {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.feature-bullet.number::after {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed) ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-text-light);
}

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  color: var(--color-text-light);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

/* ==========================================================================
   HOME PAGE SPECIFIC STYLES
   ========================================================================== */

.home-hero {
  position: relative;
  background-color: #2b3036;
  background-image: url('../images/home-hero-slider.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 840px;
  display: flex;
  align-items: center;
}

.home-hero-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 130px 20px 80px 20px;
  position: relative;
  z-index: 2;
}

.home-hero-content {
  max-width: 500px;
}

.hero-eyebrow {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.home-hero-title {
  color: #ffffff;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.home-hero-lead {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 38px;
  font-weight: 400;
}

.btn-hero {
  display: inline-block;
  background-color: #cb7b22;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 34px;
  text-decoration: none;
  border-radius: 2px;
  transition: all var(--transition-speed) ease;
}

.btn-hero:hover {
  background-color: #df8b17;
  color: #ffffff;
}

/* Home Products Showcase (Dark section) */
.home-products-section {
  background-color: #24282d;
  background-image: url('../images/wrapbg2.jpg');
  background-position: center;
  background-size: cover;
  padding: 130px 0 240px 0;
  text-align: center;
  color: var(--color-text-light);
  position: relative;
}

.home-products-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;
  min-width: 170px;
  max-width: 380px;
  height: 100%;
  background-image: url('../images/coal-bg.jpg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  opacity: 0.35;
}

.home-products-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.home-products-title {
  color: #e59b15;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.home-products-sub {
  color: #c5cbd3;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.home-products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 50px;
}

.home-product-col {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-speed) ease;
}

.home-product-col:hover .home-product-img-box img {
  transform: scale(1.04);
}

.home-product-img-box {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.home-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-product-text {
  padding: 24px 14px 10px;
  text-align: center;
}

.home-product-name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.home-product-desc {
  color: #a0a6ad;
  font-size: 13.5px;
  line-height: 1.6;
}

.home-products-btn-wrap {
  text-align: center;
}

.btn-see-all {
  display: inline-block;
  background-color: #ffffff;
  color: #1c2024;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 38px;
  border-radius: 2px;
  border: 1px solid #ffffff;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.btn-see-all:hover {
  background-color: #df8b17;
  border-color: #df8b17;
  color: #ffffff;
}

/* Home Value Builder Section */
.home-builder-section {
  background-color: #ffffff;
  padding: 30px 0 160px 0;
  position: relative;
  z-index: 5;
}

.home-builder-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.home-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.home-builder-image-wrap {
  margin-top: -180px;
  position: relative;
  z-index: 6;
}

.home-builder-image-wrap img {
  width: 100%;
  display: block;
}

.home-builder-text-content {
  padding: 40px 0;
}

.eyebrow-line {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #23272c;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 6px;
}

.eyebrow-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 2px;
  background-color: #df8b17;
}

.home-builder-heading {
  font-size: 52px;
  font-weight: 800;
  color: #15181b;
  line-height: 1.15;
  margin-bottom: 26px;
}

.home-builder-lead {
  font-size: 16.5px;
  font-weight: 600;
  color: #23272c;
  line-height: 1.65;
  margin-bottom: 20px;
}

.home-builder-text {
  font-size: 14.5px;
  color: #5a626a;
  line-height: 1.7;
  margin-bottom: 25px;
}

.home-builder-btn-wrap {
  margin-top: 32px;
}

.btn-gold {
  display: inline-block;
  background-color: #e59b15;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  text-decoration: none;
  border-radius: 2px;
  transition: all var(--transition-speed) ease;
}

.btn-gold:hover {
  background-color: #cb7b22;
  color: #ffffff;
}

/* Home Innovation Split Banner */
.home-innovation-section {
  width: 100%;
  background-color: #986431;
  overflow: hidden;
}

.home-innovation-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 620px;
  width: 100%;
}

.innovation-left {
  background-color: #986431;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 60px 80px 60px 40px;
  color: #ffffff;
}

.innovation-left-content {
  max-width: 480px;
  width: 100%;
}

.innovation-left-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: #ffffff;
}

.innovation-quote-box {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 35px;
}

.innovation-cert-icon {
  width: 65px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.innovation-quote-text {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
}

.innovation-btn-wrap {
  margin-top: 10px;
}

.btn-innovation-more {
  display: inline-block;
  background-color: #ffffff;
  color: #986431;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.btn-innovation-more:hover {
  background-color: #23272c;
  color: #ffffff;
}

.innovation-right {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.innovation-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Home Mission Section */
.home-mission-section {
  background-color: #ffffff;
  padding: 130px 0 220px 0;
  position: relative;
}

.home-mission-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.home-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.home-mission-image-wrap img {
  width: 100%;
  display: block;
}

.home-mission-text-content {
  padding: 20px 0;
}

.home-mission-heading {
  font-size: 52px;
  font-weight: 800;
  color: #15181b;
  line-height: 1.15;
  margin-bottom: 26px;
}

.home-feature-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.home-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #1b1f23;
}

.home-feature-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #df8b17;
  color: #df8b17;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.home-mission-text {
  font-size: 14.5px;
  color: #5a626a;
  line-height: 1.7;
  margin-bottom: 22px;
}

.home-mission-btn-wrap {
  margin-top: 32px;
}

/* Home CTA Section */
.home-cta-section {
  position: relative;
  z-index: 10;
  margin-bottom: -105px;
}

.home-cta-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.home-cta-card {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #2b3036;
  padding: 55px 70px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  border-radius: 0;
}

.cta-stamp-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cta-stamp-img {
  width: 170px;
  height: auto;
  display: block;
}

.cta-center-content {
  flex: 1;
  text-align: center;
  padding-right: 170px;
}

.cta-prompt {
  font-size: 16.5px;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 8px;
}

.cta-phone {
  font-size: 42px;
  font-weight: 800;
  color: #df8b17;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.cta-btn-wrap {
  text-align: center;
}

.btn-cta {
  display: inline-block;
  background-color: #ffffff;
  color: #1b1f23;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-speed) ease;
}

.btn-cta:hover {
  background-color: #df8b17;
  color: #ffffff;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-section {
  padding: 100px 0 130px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 0;
}

.contact-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  text-align: center;
  background-color: var(--color-bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

a.contact-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

a.contact-card-link:hover {
  border-color: var(--color-accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

a.contact-card-link .email-link {
  color: var(--color-accent-gold);
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a.contact-card-link:hover .email-link {
  color: #d18d22;
  text-decoration: underline;
}

a.contact-card-link:hover .contact-card-top img {
  transform: scale(1.08);
}

.contact-card-top {
  background-color: #2b3036;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-card-top img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-bottom {
  background-color: var(--color-bg-white);
  padding: 24px 16px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contact-card-val {
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.5;
}

.contact-form-section {
  background-color: #f7f8f9;
  border-radius: 4px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: #ffffff;
  border: 1px solid #e2e5e8;
  border-radius: 3px;
  color: #333333;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-gold);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.form-submit-wrap {
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: #171a1d;
  background-image: linear-gradient(rgba(23, 26, 29, 0.75), rgba(23, 26, 29, 0.75)), url('../images/mining2-footerbg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #8c939d;
  padding-top: 190px;
  padding-bottom: 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-col-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 440px;
}

.footer-brand {
  font-size: 26px;
  font-weight: 800;
  color: #f6b21b;
  letter-spacing: 0.5px;
  margin-top: 25px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: #e5e9ee;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: #8b929a;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  position: relative;
  text-align: center;
}

.scroll-top-btn {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background-color: #2b3036;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.scroll-top-btn:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.copyright-text {
  font-size: 13px;
  color: #71777f;
}

/* ==========================================================================
   HOME PAGE HEADER OVER HERO
   ========================================================================== */
body.home-page .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  z-index: 1000;
  overflow: visible;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.3s ease;
}

body.home-page .site-header.scrolled {
  position: fixed;
  background-color: rgba(35, 39, 44, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  height: 80px;
}

body.home-page .site-header.scrolled .nav-link {
  padding: 25px 0;
}

body.home-page .site-header::after {
  display: none;
}


/* ==========================================================================
   SMOOTH EFFECTS & SCROLL REVEALS
   ========================================================================== */

/* Top Scroll & Page Loading Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #d38c0e, #e59b15, #ffcd6c);
  box-shadow: 0 0 12px rgba(229, 155, 21, 0.7);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.12s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.35s ease;
}

/* Hero Cinematic Entrance */
.home-hero-title,
.page-hero-title {
  opacity: 0;
  transform: translateY(22px);
  animation: heroTextSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-subtitle {
  opacity: 0;
  transform: translateY(18px);
  animation: heroTextSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.home-hero-btn {
  opacity: 0;
  transform: translateY(16px);
  animation: heroTextSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

.page-hero-image-wrap img {
  opacity: 0;
  transform: scale(1.04);
  animation: heroImgEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

@keyframes heroTextSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImgEntrance {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Universal Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Directional entrance variations */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal for badges, cards, icons */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for sibling items */
.reveal-on-scroll.delay-1, .reveal-from-left.delay-1, .reveal-from-right.delay-1 { transition-delay: 0.08s; }
.reveal-on-scroll.delay-2, .reveal-from-left.delay-2, .reveal-from-right.delay-2 { transition-delay: 0.16s; }
.reveal-on-scroll.delay-3, .reveal-from-left.delay-3, .reveal-from-right.delay-3 { transition-delay: 0.24s; }
.reveal-on-scroll.delay-4, .reveal-from-left.delay-4, .reveal-from-right.delay-4 { transition-delay: 0.32s; }
.reveal-on-scroll.delay-5, .reveal-from-left.delay-5, .reveal-from-right.delay-5 { transition-delay: 0.40s; }

/* Smooth hover animations for cards */
.home-product-card,
.product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.home-product-card:hover,
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image zoom on card/wrap hover */
.home-product-thumb {
  overflow: hidden;
}

.home-product-thumb img,
.section-image-wrap img,
.product-card-thumb img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.home-product-card:hover .home-product-thumb img,
.section-image-wrap:hover img,
.product-card:hover .product-card-thumb img {
  transform: scale(1.06);
}

/* Contact cards hover */
.contact-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  border-color: var(--color-accent-gold);
}

/* Buttons micro-interaction */
.btn,
.read-more-btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
}

.btn:hover,
.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229, 161, 51, 0.35);
}

.btn:active,
.read-more-btn:active {
  transform: translateY(0);
}

/* CTA Card micro-interaction */
.home-cta-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* Checklist smooth interaction */
.mission-checklist li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.mission-checklist li:hover {
  transform: translateX(6px);
}

.feature-item {
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

/* Section image wrap subtle lift */
.section-image-wrap {
  overflow: hidden;
  border-radius: 4px;
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-image-wrap:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

/* Mobile dropdown chevron */
.mobile-dropdown-arrow {
  display: none;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.dropdown-open .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

/* Accessibility: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body {
    opacity: 1 !important;
  }
  .reveal-on-scroll,
  .reveal-from-left,
  .reveal-from-right,
  .reveal-scale,
  .home-hero-title,
  .page-hero-title,
  .home-hero-subtitle,
  .home-hero-btn,
  .page-hero-image-wrap img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
