/* ==========================================================================
   SHREE RAM FORGE - MAIN CUSTOM STYLESHEET
   ========================================================================== */

/* ===== 1. FONT SETUP & VARIABLES ===== */
@import url('css/outfit.css');

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/montserrat-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/montserrat-v31-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/poppins-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/poppins-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/poppins-v24-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-900 - latin */
@font-face {
  font-family: 'Ethnocentric Rg';
  src: url('fonts/EthnocentricRg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --color-primary: #f8a51c;       /* Forge Orange */
  --color-primary-rgb: 248, 165, 28;
  --color-primary-dark: #d88c0c;  /* Deep Gold/Amber */
  --color-secondary: #e74c3c;    /* Heat Red */
  --color-dark: #1e2530;         /* Steel Charcoal */
  --color-dark-deep: #151b24;    /* Deep Furnace Black */
  --color-light: #f8f9fa;        /* Light Gray */
  --color-gray: #8e9ca8;         /* Slag Gray */
  --color-white: #ffffff;
  
  /* Fonts */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Transition */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-premium: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* ===== 2. RESET & BASE STYLES ===== */
body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 85px; /* Mobile/Tablet offset */
}

@media (min-width: 992px) {
  body {
    padding-top: 123px; /* Desktop offset (top-bar + navbar) */
  }
}

@media (min-width: 1200px) {
 .wow {visibility: hidden;}
}

h1, h2, h3, .section-title, .hero-title, .hero-subtitle {
  font-family: var(--font-headings);
  font-weight: bold;
  color: var(--color-dark-deep);
  letter-spacing: 0.5px;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--color-primary-dark);
}

/* ===== 3. GLOBAL LAYOUT SYSTEM ===== */

/* 3.1 Section padding utility class .ptb */
.ptb {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 1199px) {
  .ptb {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  .ptb {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* 3.2 Adjoining .ptb sections collapse their gap automatically ONLY when neither is a background section */
.ptb + .ptb {
  padding-top: 0;
}

/* 3.2a Adjoining background sections (or any transition to/from a background section) keep full padding */
.ptb + .ptb.with-bg,
.ptb.with-bg + .ptb,
.ptb.with-bg + .ptb.with-bg {
  padding-top: 100px;
}

@media (max-width: 1199px) {
  .ptb + .ptb.with-bg,
  .ptb.with-bg + .ptb,
  .ptb.with-bg + .ptb.with-bg {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .ptb + .ptb.with-bg,
  .ptb.with-bg + .ptb,
  .ptb.with-bg + .ptb.with-bg {
    padding-top: 50px;
  }
}

/* 3.3 Top-only padding utility - .ptp */
.ptp {
  padding-top: 100px;
}

@media (max-width: 1199px) {
  .ptp {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .ptp {
    padding-top: 50px;
  }
}

/* 3.4 Background sections - .with-bg (marker only) */
.with-bg {
  /* Marker only - no background declared here */
}

/* Specific background classes */
.bg-light-gray {
  background-color: #f1f3f5; /* Visually distinct against white body */
}

.bg-dark-steel {
  background-color: var(--color-dark-deep);
  color: var(--color-white);
}

.bg-industrial-texture {
  background: linear-gradient(rgba(21, 27, 36, 0.94), rgba(21, 27, 36, 0.94)), url('images/bg-stats.jpg') no-repeat center center;
  background-size: cover;
  color: var(--color-white);
}

.bg-cta-furnace {
  background: linear-gradient(rgba(21, 27, 36, 0.92), rgba(21, 27, 36, 0.96)), url('images/bg-cta.jpg') no-repeat center center;
  background-size: cover;
  color: var(--color-white);
}

/* 3.5 Restoring top padding before a background section */
.ptp + .with-bg.ptb {
  padding-top: 100px;
}

@media (max-width: 1199px) {
  .ptp + .with-bg.ptb {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .ptp + .with-bg.ptb {
    padding-top: 50px;
  }
}

/* 3.6 Column gutter - 24px override */
.row {
  --bs-gutter-x: 24px;
}

/* ===== 4. PREMIUM UI ELEMENTS ===== */

/* 4.1 Buttons */
.btn-forge {
  background-color: var(--color-primary);
  color: var(--color-dark-deep) !important;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--color-primary);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(248, 165, 28, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-forge:hover {
  background-color: var(--color-dark-deep);
  border-color: var(--color-dark-deep);
  color: var(--color-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-forge-outline {
  background-color: transparent;
  color: var(--color-dark-deep) !important;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--color-dark-deep);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-forge-outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark-deep) !important;
  transform: translateY(-2px);
}

.btn-forge-dark-outline {
  background-color: transparent;
  color: var(--color-dark-deep) !important;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--color-dark-deep);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-forge-dark-outline:hover {
  background-color: var(--color-dark-deep);
  color: var(--color-primary) !important;
  transform: translateY(-2px);
}

/* 4.2 Section Headings */
.heading-container {
  margin-bottom: 50px;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.bg-dark-steel .section-title,
.bg-cta-furnace .section-title,
.bg-industrial-texture .section-title {
  color: var(--color-white) !important;
}

/* ===== 5. HEADER & NAVBAR ===== */
.top-bar {
  background-color: #f1f3f5;
  color: #4a5568;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 0;
  position: relative;
  z-index: 1040;
}

@media (min-width: 992px) {
  .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
  }
}

.top-bar a {
  color: #4a5568;
}
.top-bar a:hover {
  color: var(--color-primary);
}

.navbar-forge {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

@media (min-width: 992px) {
  .navbar-forge {
    position: absolute;
    top: 38px; /* sits below the absolute top-bar on load */
  }
  .navbar-forge.scrolled {
    position: fixed;
    top: 0; /* sticky to top when scrolled past top-bar */
  }
}

.navbar-forge.scrolled {
  padding: 8px 0;
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand img {
  height: 55px;
  transition: var(--transition-smooth);
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3)); /* Safeguard for light-colored logo segments */
}

.navbar-forge.scrolled .navbar-brand img {
  height: 45px;
}

.nav-link-forge {
  color: rgba(30, 37, 48, 0.85) !important;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 10px 18px !important;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link-forge:hover,
.nav-link-forge.active {
  color: var(--color-primary) !important;
}

.nav-link-forge::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 18px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link-forge:hover::after,
.nav-link-forge.active::after {
  width: calc(100% - 36px);
}

.navbar-toggler {
  border: 1px solid rgba(30, 37, 48, 0.15);
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 37, 48, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== 6. HERO SECTION / CAROUSEL ===== */
.hero-carousel {
  position: relative;
}

.carousel-item-forge {
  height: 80vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(21, 27, 36, 0.72), rgba(21, 27, 36, 0.88));
}

.carousel-caption-forge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  left: 0;
  right: 0;
  text-align: left;
}

.hero-title {
  color: var(--color-white) !important;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(30px);
  animation: SlidefadeInUp 0.8s forwards 0.2s;
  max-width: 700px;
  text-transform:uppercase;
}
.hero-subtitle {
  color: var(--color-white);
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(30px);
  animation: SlidefadeInUp 0.8s forwards 0.2s;
}

.hero-text {
  font-size: 1.2rem;
  color: #cbd5e1 !important;
  margin-bottom: 35px;
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
  animation: SlidefadeInUp 0.8s forwards 0.4s;
}
.hero-lists {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-lists li {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}
.hero-lists li img {
    max-width: 48px;
    min-width: 48px;
}

.hero-btns {
  opacity: 0;
  transform: translateY(30px);
  animation: SlidefadeInUp 0.8s forwards 0.6s;
}

.hero-carousel .btn-forge-outline {
  color: var(--color-white) !important;
  border-color: var(--color-white);
}

.hero-carousel .btn-forge-outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark-deep) !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background-color: rgba(30, 37, 48, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  transition: var(--transition-smooth);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--color-primary);
  color: var(--color-dark-deep);
}

@keyframes SlidefadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .carousel-item-forge {
    height: auto;
    min-height: 560px;
    padding: 70px 0;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-subtitle {
    font-size: 1.8rem;
  }
  .carousel-item-forge {
    height: auto;
    min-height: 520px;
    padding: 60px 0;
    display: flex;
    align-items: center;
  }
  .carousel-caption-forge {
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    right: auto;
    z-index: 10;
    padding: 10px 0;
  }
  .carousel-caption-forge .section-tag {
    margin-bottom: 12px;
  }
  .carousel-caption-forge .hero-title {
    margin-bottom: 18px;
  }
  .carousel-caption-forge .hero-text {
    margin-bottom: 26px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
    height: 48px;
    margin: 0 10px;
  }
}

@media (max-width: 767px) {
  .carousel-item-forge {
    height: auto;
    min-height: 480px;
    padding: 50px 0;
  }
  .carousel-caption-forge {
    padding: 5px 0;
  }
  .carousel-caption-forge .section-tag {
    margin-bottom: 10px;
  }
  .carousel-caption-forge .hero-title {
    margin-bottom: 16px;
  }
  .carousel-caption-forge .hero-text {
    margin-bottom: 24px;
    line-height: 1.55;
  }
  .hero-carousel .hero-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .hero-carousel .hero-btns .btn-forge,
  .hero-carousel .hero-btns .btn-forge-outline {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 11px 22px;
    font-size: 13.5px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 6px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .carousel-item-forge {
    min-height: 450px;
    padding: 45px 0;
  }
  .carousel-caption-forge .hero-title {
    margin-bottom: 14px;
  }
  .carousel-caption-forge .hero-text {
    margin-bottom: 22px;
  }
}

@media (max-width: 430px) {
  .carousel-item-forge {
    min-height: 430px;
    padding: 40px 0;
  }
  .hero-carousel .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }
  .hero-carousel .hero-btns .btn-forge,
  .hero-carousel .hero-btns .btn-forge-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ===== 7. PAGE COMPONENT STYLES ===== */

/* 7.1 About Snapshot / Story */
.about-img-box {
  position: relative;
}

.about-img-box img {
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-primary);
  color: var(--color-dark-deep);
  padding: 25px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(248, 165, 28, 0.3);
  text-align: center;
  font-family: var(--font-body);
}

.about-experience-badge .years {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  display: block;
  line-height: 1;
}

.about-experience-badge .text {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .about-experience-badge {
    position: static;
    margin-top: 30px;
  }
}

/* 7.2 Features Grid */
.feature-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-dark-deep);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    height: 100%;
    border-radius: 16px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(248, 165, 28, 0.3);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--color-dark-deep);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-primary);
    font-size: 28px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--color-primary);
  color: var(--color-dark-deep);
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* 7.3 Products Grid */
.product-card {
  background-color: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(248, 165, 28, 0.4);
}

.product-img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-light);
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-box img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 37, 48, 0.4);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-content-box {
  padding: 24px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 14.5px;
  color: #52606d;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category Filter System */
.filter-btn-group {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-filter {
  background-color: var(--color-light);
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 4px;
  font-size: 14.5px;
  color: var(--color-dark);
  transition: var(--transition-smooth);
}

.btn-filter:hover,
.btn-filter.active {
  background-color: var(--color-primary);
  color: var(--color-dark-deep);
}

/* 7.4 Stats Counters */
.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 35px 20px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  height: 100%;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
  font-weight:bold;
}

.stat-label {
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 1px;
}

/* 7.5 Clients/Partners */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.client-logo-box {
  background-color: var(--color-light);
  aspect-ratio: 16/9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.client-logo-box:hover {
  opacity: 1;
  background-color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.client-logo-box span {
  font-family: var(--font-headings);
    font-size: 13px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

@media (max-width: 991px) {
  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 7.6 Page Banner (Breadcrumb) */
.page-banner {
  background: linear-gradient(rgba(30, 37, 48, 0.85), rgba(21, 27, 36, 0.95)), url('images/banner-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 80px 0;
  color: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
}

.page-banner h1 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.breadcrumb-forge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.breadcrumb-forge a {
  color: #a3b8cc;
}

.breadcrumb-forge a:hover {
  color: var(--color-primary);
}

.breadcrumb-forge .separator {
  color: rgba(255,255,255,0.2);
}

.breadcrumb-forge .active {
  color: var(--color-primary);
}

/* 7.7 FAQs (Accordion Override) */
.accordion-forge .accordion-item {
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 15px;
  border-radius: 4px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-forge .accordion-item:hover {
  border-color: rgba(248, 165, 28, 0.3);
}

.accordion-forge .accordion-button {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-dark);
  background-color: var(--color-white);
  padding: 22px 25px;
  font-size: 16.5px;
}

.accordion-forge .accordion-button:not(.collapsed) {
  background-color: var(--color-light);
  color: var(--color-primary-dark);
  box-shadow: none;
}

.accordion-forge .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e2530'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-forge .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8a51c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-forge .accordion-body {
  padding: 25px;
  font-size: 15px;
  color: #424e5a;
  background-color: var(--color-white);
  line-height: 1.7;
}

/* 7.8 Contact Us components */
.contact-info-card {
  background-color: var(--color-light);
  border-radius: 4px;
  padding: 30px;
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(248, 165, 28, 0.1);
  color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-content h5 {
  margin-bottom: 8px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-content p {
  margin-bottom: 0;
  font-size: 15px;
  color: #424e5a;
}

.contact-info-content a {
  color: var(--color-dark-deep) !important;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-info-content a:hover {
  color: var(--color-primary) !important;
}

.map-container {
  height: 400px;
  background-color: var(--color-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-control-forge {
  background-color: var(--color-light);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 20px;
  border-radius: 4px;
  color: var(--color-dark);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.form-control-forge:focus {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 5px 15px rgba(248, 165, 28, 0.08);
  outline: none;
}

textarea.form-control-forge {
  min-height: 150px;
}

/* 7.9 Brochure Preview */
.brochure-preview-card {
  background-color: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}

.brochure-mockup-box {
  background: linear-gradient(135deg, var(--color-dark-deep), var(--color-dark));
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1.3;
}

.brochure-cover-page {
  background-color: var(--color-white);
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 6px solid var(--color-primary);
  position: relative;
}

.brochure-cover-page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.05), transparent 10%, transparent);
  pointer-events: none;
}

.brochure-cover-logo {
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
}

.brochure-cover-title {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  color: var(--color-dark-deep);
  line-height: 1.3;
}

.brochure-cover-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-top: 10px;
}

.brochure-cover-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 15px;
  font-size: 11px;
  color: #52606d;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 7.10 Product Detail specific elements */
.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-detail-main-img {
  aspect-ratio: 4/3;
  background-color: var(--color-light);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.product-detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-detail-thumb-item {
  aspect-ratio: 4/3;
  background-color: var(--color-light);
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-detail-thumb-item.active,
.product-detail-thumb-item:hover {
  border-color: var(--color-primary);
}

.product-detail-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.product-specs-table th,
.product-specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.product-specs-table th {
  background-color: var(--color-light);
  color: var(--color-dark-deep);
  font-weight: 700;
  width: 35%;
  text-align: left;
}

.product-specs-table td {
  color: #424e5a;
}

/* ===== 8. FOOTER ===== */
.footer-forge {
  background-color: #f8f9fa;
  color: #4a5568;
  border-top: 3px solid var(--color-primary);
  font-size: 15px;
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-logo {
  height: 55px;
  margin-bottom: 25px;
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2)); /* Safeguard logo readability */
}

.footer-widget-title {
  color: var(--color-dark-deep);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #4a5568;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  margin-bottom: 16px;
  display: flex;
  gap: 15px;
}

.footer-contact-list i {
  color: var(--color-primary);
  font-size: 16px;
  margin-top: 4px;
}

.footer-contact-list span {
  line-height: 1.4;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(0,0,0,0.03);
  color: var(--color-dark-deep);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-dark-deep) !important;
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #f1f3f5;
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== 9. EXTRA UTILITIES ===== */
.forge-overlay-box {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.forge-overlay-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.forge-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(21, 27, 36, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.forge-overlay-box:hover img {
  transform: scale(1.05);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-contact-list a {
  color: #4a5568;
  transition: var(--transition-smooth);
}

.footer-contact-list a:hover {
  color: var(--color-primary);
}

/* ===== 10. EXTRA POLISH & CONTRAST UTILITIES ===== */
.text-light-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Ensure strong text contrast in all dark background sections */
.bg-cta-furnace p,
.bg-cta-furnace .text-muted,
.bg-cta-furnace .text-light-50,
.bg-cta-furnace li,
.bg-industrial-texture p,
.bg-industrial-texture .text-muted,
.bg-industrial-texture .text-light-50 {
  color: #cbd5e1 !important; /* Lighter text for perfect readability on dark/colored backdrops */
}

/* Specific button outline override inside dark CTA band */
.bg-cta-furnace .btn-forge-outline {
  color: var(--color-white) !important;
  border-color: var(--color-white);
}

.bg-cta-furnace .btn-forge-outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark-deep) !important;
}

/* Responsive spacing for heading containers on mobile */
@media (max-width: 767px) {
  .heading-container {
    margin-bottom: 30px;
  }
}

/* Stats Counter Layout Polish */
.stat-counter-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 35px 20px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  height: 100%;
}

.stat-counter-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: inline-block;
}


/* ===== INDUSTRIAL EXCELLENCE & CAPACITY SECTION ===== */
.section-industrial-excellence {
  background-color: var(--color-dark-deep);
  color: var(--color-white);
}

.badge-excellence {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(248, 165, 28, 0.12);
  border: 1px solid rgba(248, 165, 28, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.badge-excellence i {
  color: var(--color-primary);
}

.excellence-title {
  color: var(--color-white);
  font-family: var(--font-headings);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.excellence-desc {
  color: #a3b8cc;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.excellence-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 20px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  height: 100%;
}

.excellence-stat-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.excellence-stat-icon {
  font-size: 2rem;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.excellence-stat-info h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.excellence-stat-info p {
  color: #a3b8cc;
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE TYPOGRAPHY & HEADING WRAPPING SYSTEM (TABLET & MOBILE ONLY)
   ========================================================================== */

/* Ensure all headings wrap naturally and prevent horizontal scrolling/overflow */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .hero-subtitle, .excellence-title, .stat-number, .about-experience-badge .years {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Laptop / Tablet Breakpoint (max-width: 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.25;
  }
  .section-title {
    font-size: 1.95rem;
    line-height: 1.3;
  }
  .excellence-title {
    font-size: 1.95rem;
    line-height: 1.3;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.45rem; }
  h4 { font-size: 1.22rem; }
  h5 { font-size: 1.08rem; }
  h6 { font-size: 0.95rem; }
  .stat-number { font-size: 2.6rem; }
}

/* Tablet & Large Mobile Breakpoint (max-width: 991px) */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.35rem;
    line-height: 1.25;
  }
  .section-title {
    font-size: 1.7rem;
    line-height: 1.32;
  }
  .excellence-title {
    font-size: 1.7rem;
    line-height: 1.32;
  }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.32rem; }
  h4 { font-size: 1.15rem; }
  h5 { font-size: 1.02rem; }
  h6 { font-size: 0.92rem; }
  .stat-number { font-size: 2.3rem; }
  .about-experience-badge .years { font-size: 1.9rem; }
}

/* Mobile Breakpoint (max-width: 767px) */
@media (max-width: 767px) {
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.28;
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .excellence-title {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  h1 { font-size: 1.6rem; line-height: 1.35; }
  h2 { font-size: 1.35rem; line-height: 1.35; }
  h3 { font-size: 1.2rem; line-height: 1.38; }
  h4 { font-size: 1.08rem; line-height: 1.4; }
  h5 { font-size: 0.98rem; }
  h6 { font-size: 0.9rem; }
  .stat-number { font-size: 2rem; }
  .about-experience-badge .years { font-size: 1.75rem; }
  
  .hero-lists {flex-wrap: wrap;gap: 20px;}
  .hero-lists li{width: calc(50% - 12px);}
}

/* Small Mobile Breakpoint (max-width: 575px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .hero-subtitle {
	font-size: 1.2rem;
}
  .section-title {
    font-size: 1.25rem;
    line-height: 1.38;
  }
  .excellence-title {
    font-size: 1.25rem;
    line-height: 1.38;
  }
  h1 { font-size: 1.38rem; line-height: 1.38; }
  h2 { font-size: 1.18rem; line-height: 1.38; }
  h3 { font-size: 1.08rem; line-height: 1.4; }
  h4 { font-size: 1rem; line-height: 1.42; }
  h5 { font-size: 0.92rem; }
  h6 { font-size: 0.86rem; }
  .stat-number { font-size: 1.8rem; }
  .about-experience-badge .years { font-size: 1.6rem; }
  
.hero-lists li{width: 100%;}
}

/* Extra Small Mobile / Narrow Device Breakpoint (max-width: 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.32;
  }
  .hero-subtitle {
		font-size: 1rem;
	}
  .section-title {
    font-size: 1.12rem;
    line-height: 1.4;
  }
  .excellence-title {
    font-size: 1.12rem;
    line-height: 1.4;
  }
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: 0.94rem; }
  .stat-number { font-size: 1.6rem; }
}

/* WOW.js helper matching gemjoinery.ie to prevent flash of content */
.wow {
  visibility: hidden;
}

