/* ===========================
   HSEQ Page Styles
   Equus Energy
   =========================== */

/* ===========================
   Theme Variables
   =========================== */
:root {
  --brand-gradient: linear-gradient(135deg, var(--brand), var(--brand-2));
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-hover: 0 20px 40px color-mix(in srgb, var(--brand) 20%, transparent);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --hseq-green: #2ecc71;
  --hseq-blue: #3498db;
  --hseq-amber: #f39c12;
  --hseq-red: #e74c3c;
}

html[data-theme="dark"] {
  --glass-bg: rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Container
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ===========================
   Section Header
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-tag {
  display: inline-block;
  padding: 8px 22px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  backdrop-filter: blur(10px);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===========================
   Hero Section
   =========================== */
.hseq-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b0f14 0%, #1a1f26 100%);
  overflow: hidden;
  padding: 120px 20px;
}

.hseq-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
   
    url('../assets/Image-Equus/Equus-Pic-Mocks/immg78k.jpg');
  background-size: cover, cover, cover;
  background-position: center;
  background-blend-mode: overlay;
  opacity: 0.7;
  animation: zoomBg 30s infinite alternate;
}

@keyframes zoomBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hseq-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.hero-badge {
   display: inline-block;
  padding: 10px 28px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent);
  animation: floatBadge 3s ease-in-out infinite;
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hseq-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
 
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-brick {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-brick-number {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.stat-brick-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
 color: white;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
  z-index: 4;
  animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-scroll i {
  font-size: 1.4rem;
}

/* ===========================
   HSEQ Commitment Section
   =========================== */
.hseq-commitment {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.commitment-text {
  padding-right: 30px;
}

.commitment-text h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 25px;
  font-weight: 400;
}

.commitment-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  transform: translateX(10px);
  border-color: var(--brand);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--hseq-green);
}

.highlight-item span {
  font-weight: 600;
  color: var(--text);
}

.commitment-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.commitment-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.commitment-visual:hover img {
  transform: scale(1.05);
}

.cert-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  color: black;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cert-badge i {
  font-size: 2rem;
  color: var(--hseq-green);
}

.cert-badge span {
  font-size: 1rem;
  font-weight: 700;
  color: black;
  letter-spacing: 1px;
}

/* ===========================
   HSEQ Pillars
   =========================== */
.hseq-pillars {
 padding: 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Image-Equus/img24.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  overflow: hidden;
}

.hseq-pillars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  background-size: 150px 150px;
  opacity: 0.2;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 30px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hseq-green), var(--hseq-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--hseq-green), var(--hseq-blue));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.pillar-icon i {
  font-size: 2.5rem;
  color: white;
}

.pillar-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-list li:last-child {
  border-bottom: none;
}

.pillar-list li i {
  color: var(--hseq-green);
  font-size: 0.9rem;
}

/* ===========================
   HSEQ Performance Section
   =========================== */
.hseq-performance {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.performance-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.incident-timeline {
  margin: 40px 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text);
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.6;
}

.safety-metrics {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.performance-stats {
  position: relative;
}

.stats-card {
  background: var(--surface-2);
  padding: 50px 40px;
  border-radius: 40px;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.stats-card h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text);
  text-align: center;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-item.highlight {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: 15px 20px;
  border-radius: 12px;
  margin-top: 10px;
}

.stat-name {
  font-weight: 600;
  color: var(--text);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-item.highlight .stat-number {
  color: var(--brand);
  font-size: 1.8rem;
}

/* ===========================
   HSEQ Leadership Section
   =========================== */
.hseq-leadership {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.leadership-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.leadership-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.leadership-image:hover img {
  transform: scale(1.05);
}

.leadership-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--hseq-green), var(--hseq-blue));
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  box-shadow: 0 15px 30px rgba(46, 204, 113, 0.3);
}

.leadership-badge i {
  font-size: 2rem;
}

.leadership-badge span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.leadership-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.initiative-cards {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.initiative {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.initiative:hover {
  transform: translateX(10px);
  border-color: var(--brand);
  background: var(--surface-2);
}

.initiative i {
  font-size: 2rem;
  color: var(--brand);
  width: 50px;
  text-align: center;
}

.initiative h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text);
}

.initiative p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ===========================
   COVID Response Section
   =========================== */
.covid-response {
   padding: 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Image-Equus/img24.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  position: relative;
  overflow: hidden;
}

.response-header {
  text-align: center;
  margin-bottom: 50px;
}

.response-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-top: 20px;
  color: white;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.response-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  text-align: center;
}

.response-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.response-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--hseq-green), var(--hseq-blue));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.response-icon i {
  font-size: 2rem;
  color: white;
}

.response-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: white;
}

.response-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Hazard Program Section
   =========================== */
.hazard-program {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.program-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.program-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.feature i {
  font-size: 1.2rem;
  color: var(--brand);
}

.feature span {
  font-weight: 600;
  color: var(--text);
}

.program-stat {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), transparent);
  border-radius: 20px;
  border-left: 4px solid var(--brand);
}

.program-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.program-label {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 5px;
}

.program-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.program-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.program-image:hover img {
  transform: scale(1.05);
}

.program-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  box-shadow: 0 15px 30px rgba(237, 46, 46, 0.3);
}

.program-badge i {
  font-size: 2rem;
}

.program-badge span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===========================
   SCE Section (Safety Critical Elements)
   =========================== */
.sce-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.sce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sce-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sce-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.sce-image:hover img {
  transform: scale(1.05);
}

.sce-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--hseq-blue), var(--hseq-green));
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.sce-badge i {
  font-size: 2rem;
}

.sce-badge span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.sce-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.sce-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.sce-type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.sce-type i {
  font-size: 1.2rem;
  color: var(--hseq-blue);
}

.sce-type span {
  font-weight: 600;
  color: var(--text);
}

/* ===========================
   Ethical Section
   =========================== */
.ethical-section {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
}

.ethical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ethical-card {
  padding: 50px 40px;
  border-radius: 40px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.ethical-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

.ethical-card:nth-child(1) {
  border-bottom: 4px solid var(--hseq-amber);
}

.ethical-card:nth-child(2) {
  border-bottom: 4px solid var(--hseq-blue);
}

.ethical-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.ethical-icon i {
  font-size: 2.5rem;
  color: white;
}

.ethical-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.ethical-quote {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--brand);
  margin-bottom: 20px;
  font-weight: 600;
  font-style: italic;
}

.ethical-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.ethical-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 10%, transparent);
}

.ethical-list li:last-child {
  border-bottom: none;
}

.ethical-list li i {
  color: var(--brand);
  font-size: 1.2rem;
}

/* ===========================
   Relationships & Risk Management
   =========================== */
.relationships-section {
  padding: 100px 0;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 10%, var(--surface)),
    var(--surface));
}

.relationships-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.relationships-card {
  padding: 40px 35px;
  border-radius: 30px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.relationships-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

.relationships-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.relationships-icon i {
  font-size: 2rem;
  color: white;
}

.relationships-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text);
}

.relationships-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.relationships-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.relationships-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
}

.relationships-card li i {
  color: var(--brand);
  font-size: 0.9rem;
}

/* ===========================
   Dynamic HSEQ Section (Axios)
   =========================== */
.dynamic-hseq-section {
  padding: 120px 0;
  background: var(--surface);
}

.dynamic-loading,
.dynamic-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  background: var(--surface-2);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.dynamic-loading i,
.dynamic-error i {
  font-size: 3rem;
  margin-bottom: 20px;
}

.dynamic-loading i {
  color: var(--brand);
}

.dynamic-error i {
  color: #dc3545;
}

.dynamic-loading span,
.dynamic-error span {
  font-size: 1.1rem;
  color: var(--muted);
}

.dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.dynamic-card {
  background: var(--surface-2);
  border-radius: 30px;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.dynamic-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}

.dynamic-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.dynamic-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dynamic-icon i {
  font-size: 1.8rem;
  color: white;
}

.dynamic-title h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--text);
}

.dynamic-location {
  display: inline-block;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.dynamic-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.dynamic-metric {
  display: flex;
  flex-direction: column;
}

.dynamic-metric .metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
}

.dynamic-metric .metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.dynamic-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.safe {
  background: color-mix(in srgb, #2ecc71 15%, transparent);
  color: #2ecc71;
}

.status-badge.warning {
  background: color-mix(in srgb, #f39c12 15%, transparent);
  color: #f39c12;
}
/* ===========================
   Mobile Fixes for HSEQ Page
   =========================== */

@media (max-width: 768px) {
    /* Fix for pillars section background */
    .hseq-pillars {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .hseq-pillars::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
     
        z-index: 1;
        pointer-events: none;
    }
    
    .hseq-pillars .container {
        position: relative;
        z-index: 2;
    }
    
    /* Fix for COVID response section */
    .covid-response {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .covid-response::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        
        z-index: 1;
        pointer-events: none;
    }
    
    .covid-response .container {
        position: relative;
        z-index: 2;
    }
    
    /* Fix for HSEQ CTA section */
    .hseq-cta {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
    }
    
    /* Ensure all text is white on dark overlays */
    .hseq-pillars .section-header h2,
    .hseq-pillars .section-header p,
    .hseq-pillars .section-tag,
    .covid-response .section-header h2,
    .covid-response .section-header p,
    .covid-response .section-tag {
        color: white !important;
    }
    
    /* Fix cards on dark backgrounds */
    .pillar-card,
    .response-card {
       
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Fix dynamic grid on mobile */
    .dynamic-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .dynamic-card {
        padding: 25px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .dynamic-header {
        width: 100%;
    }
    
    .dynamic-metrics {
        grid-template-columns: 1fr 1fr !important;
        width: 100%;
    }
    
    .dynamic-icon {
        margin-bottom: 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hseq-pillars,
    .covid-response {
        background-position: 70% center !important;
    }
    
    .dynamic-metrics {
        grid-template-columns: 1fr !important;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hseq-pillars,
    .covid-response {
        background-attachment: scroll !important;
    }
}
/* ===========================
   HSEQ CTA Section
   =========================== */
.hseq-cta {
  padding: 120px 0;
  background: 
    url('../assets/Image-Equus/img84e.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hseq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  color: white;
}

.cta-badge {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 25px;
  line-height: 1.2;
  color: white;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-buttons .btn {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  min-width: 250px;
}

.cta-buttons .btn-large {
  background: white;
  color: var(--brand);
  border: 2px solid white;
}

.cta-buttons .btn-large:hover {
  background: transparent;
  color: white;
}

.cta-buttons .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background: white;
  color: var(--brand);
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-trust i {
  font-size: 1.2rem;
}

/* ===========================
   Contact Section (HSEQ Specific)
   =========================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  align-items: start;
  padding: 0 20px;
}

.contact-info {
  display: grid;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: var(--brand);
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 1.2rem;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  background: var(--surface);
  padding: 45px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: var(--surface-2);
  border: 2px solid color-mix(in srgb, var(--muted) 20%, transparent);
  border-radius: 15px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent);
  background: var(--surface-2);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}

/* ===========================
   Back to Top
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(237, 46, 46, 0.4);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 40px rgba(237, 46, 46, 0.6);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  animation: backToTopBounce 2s infinite;
}

@keyframes backToTopBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 1024px) {
  .commitment-grid,
  .performance-grid,
  .leadership-grid,
  .program-grid,
  .sce-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .ethical-grid,
  .relationships-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .commitment-text {
    padding-right: 0;
  }
  
  .cert-badge,
  .leadership-badge,
  .program-badge,
  .sce-badge {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
    display: inline-flex;
  }
  
  .dynamic-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hseq-hero {
    min-height: 80vh;
    padding: 100px 20px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-brick-number {
    font-size: 2rem;
  }
  
  .hseq-commitment,
  .hseq-performance,
  .hseq-leadership,
  .hazard-program,
  .sce-section,
  .ethical-section,
  .dynamic-hseq-section {
    padding: 80px 0;
  }
  
  .pillars-grid,
  .response-grid,
  .dynamic-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .program-features {
    grid-template-columns: 1fr;
  }
  
  .sce-types {
    grid-template-columns: 1fr;
  }
  
  .safety-metrics {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 350px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hseq-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-brick {
    width: 100%;
  }
  
  .section-tag {
    padding: 6px 18px;
    font-size: 0.8rem;
  }
  
  .commitment-highlights {
    grid-template-columns: 1fr;
  }
  
  .ethical-card {
    padding: 35px 25px;
  }
  
  .ethical-icon {
    width: 60px;
    height: 60px;
  }
  
  .ethical-icon i {
    font-size: 1.8rem;
  }
  
  .ethical-card h2 {
    font-size: 1.6rem;
  }
  
  .ethical-quote {
    font-size: 1rem;
  }
  
  .relationships-card {
    padding: 30px 25px;
  }
  
  .relationships-icon {
    width: 60px;
    height: 60px;
  }
  
  .relationships-icon i {
    font-size: 1.6rem;
  }
  
  .relationships-card h3 {
    font-size: 1.5rem;
  }
  
  .stats-card {
    padding: 30px 20px;
  }
  
  .stats-card h3 {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* ===========================
   Dark Theme Adjustments
   =========================== */
html[data-theme="dark"] .hseq-commitment {
  background: var(--surface);
}

html[data-theme="dark"] .ethical-card,
html[data-theme="dark"] .relationships-card {
  background: var(--surface);
}

html[data-theme="dark"] .stats-card {
  background: var(--surface);
}

html[data-theme="dark"] .initiative {
  background: var(--surface-2);
}

html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .contact-form {
  background: var(--surface);
}

/* ===========================
   Reduced Motion
   =========================== */
@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;
  }
  
  .hseq-hero-bg {
    animation: none;
  }
  
  .hseq-pillars::before {
    animation: none;
  }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
  .hseq-hero,
  .hseq-pillars,
  .covid-response,
  .hseq-cta,
  .back-to-top {
    display: none;
  }
  
  .hseq-commitment,
  .hseq-performance,
  .hseq-leadership,
  .hazard-program,
  .sce-section,
  .ethical-section,
  .relationships-section {
    page-break-inside: avoid;
  }
}