/* ==========================================================================
   Goldy Precision Technologies - Sustainability & ESG Custom Styling
   ========================================================================== */

:root {
  --goldy-red: #8d121d;
  --goldy-red-dark: #6e0c15;
  --goldy-red-light: #ad1826;
  --goldy-dark: #12151a;
  --goldy-card-bg: #ffffff;
  --goldy-border: rgba(141, 18, 29, 0.12);
  --goldy-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  --goldy-shadow-hover: 0 20px 45px rgba(141, 18, 29, 0.15);
  --goldy-green: #0d9488;
  --goldy-gold: #d97706;
}

/* Pillar Quick Navigation Bar */
.sustainability-nav-strip {
  background: #14171c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  position: sticky;
  top: 75px;
  z-index: 99;
  backdrop-filter: blur(10px);
}

.sustainability-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sustainability-nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sustainability-nav-link:hover,
.sustainability-nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--goldy-red) 0%, var(--goldy-red-light) 100%);
  border-color: var(--goldy-red-light);
  box-shadow: 0 6px 18px rgba(141, 18, 29, 0.35);
  transform: translateY(-2px);
}

/* Section Header Badges */
.esg-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141, 18, 29, 0.08);
  color: var(--goldy-red);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(141, 18, 29, 0.18);
}

.esg-pill-badge.badge-green {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.25);
}

.esg-pill-badge.badge-gold {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}

/* Section Lead Cards */
.esg-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--goldy-shadow);
  padding: 34px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.esg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--goldy-shadow-hover);
  border-color: rgba(141, 18, 29, 0.25);
}

.esg-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--goldy-red) 0%, #ff4d5a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.esg-card:hover::before {
  opacity: 1;
}

/* Big Metric Card (EcoVadis / ZED / 1982) */
.esg-stat-box {
  background: linear-gradient(135deg, #181c22 0%, #0e1115 100%);
  border-radius: 18px;
  padding: 36px 30px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.esg-stat-box::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(141, 18, 29, 0.35) 0%, rgba(141, 18, 29, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.esg-stat-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  font-family: 'Rubik', sans-serif;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.esg-stat-num .stat-unit {
  font-size: 24px;
  color: #ff4d5a;
  font-weight: 700;
}

.esg-stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* Image Wrappers with Modern Hover Frame */
.esg-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f1f3f5;
  transition: all 0.4s ease;
}

.esg-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.esg-img-frame:hover img {
  transform: scale(1.03);
}

.esg-img-caption {
  padding: 14px 18px;
  background: rgba(18, 21, 26, 0.92);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Certificate Cards */
.cert-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 18px;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(141, 18, 29, 0.12);
  border-color: rgba(141, 18, 29, 0.3);
}

.cert-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-thumb img {
  transform: scale(1.05);
}

.cert-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(141, 18, 29, 0.08);
  color: var(--goldy-red);
  border: 1px solid rgba(141, 18, 29, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.cert-btn:hover {
  background: var(--goldy-red);
  color: #ffffff;
  border-color: var(--goldy-red);
}

/* Executive Leadership Cards */
.leader-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--goldy-shadow);
  padding: 24px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--goldy-shadow-hover);
  border-color: rgba(141, 18, 29, 0.25);
}

.leader-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  position: relative;
}

.leader-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-avatar-wrap img {
  transform: scale(1.08);
}

.leader-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--goldy-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Feature Checkpoints & Lists */
.esg-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.esg-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #444444;
  margin-bottom: 12px;
  line-height: 1.6;
}

.esg-feature-list li i {
  color: var(--goldy-red);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Modal Lightbox for Full-Size Certificate & Document Viewing */
.cert-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cert-modal.active {
  display: flex;
}

.cert-modal-content {
  position: relative;
  max-width: min(1150px, 94vw);
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.cert-modal-header {
  padding: 18px 24px;
  background: #14171c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cert-modal-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.cert-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cert-modal-close:hover {
  color: #ff4d5a;
}

.cert-modal-body {
  padding: 20px;
  text-align: center;
  max-height: 80vh;
  overflow-y: auto;
}

.cert-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .sustainability-nav-strip {
    top: 60px;
  }
  .sustainability-nav-list {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .sustainability-nav-link {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 14px;
  }
  .esg-card {
    padding: 24px;
  }
  .esg-stat-box {
    padding: 26px 20px;
  }
  .esg-stat-num {
    font-size: 44px;
  }
}

/* Page Title Breadcrumb Styling */
.page-title .breadcrumb {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 18px 0 0 0 !important;
}

.page-title .breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.page-title .breadcrumb-item::marker {
  content: none !important;
  display: none !important;
}

.page-title .breadcrumb-item + .breadcrumb-item {
  padding-left: 10px !important;
}

.page-title .breadcrumb-item + .breadcrumb-item::before {
  display: inline-block !important;
  padding-right: 10px !important;
  font-family: "FontAwesome" !important;
  content: "\f105" !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 12px !important;
}

.page-title .breadcrumb-item a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.page-title .breadcrumb-item a:hover {
  color: #e53935 !important;
}

.page-title .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ==========================================================================
   Advanced UI/UX Redesign Components
   ========================================================================== */

/* Animated Pulse Dot */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Floating Hero KPI Strip */
.hero-kpi-wrapper {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.hero-kpi-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-kpi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(141, 18, 29, 0.12);
  border-color: rgba(141, 18, 29, 0.25);
}

.hero-kpi-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(141, 18, 29, 0.08);
  color: var(--goldy-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hero-kpi-card:hover .hero-kpi-icon {
  background: var(--goldy-red);
  color: #ffffff;
  transform: scale(1.05);
}

.hero-kpi-val {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: #12151a;
  font-family: 'Rubik', sans-serif;
  margin-bottom: 2px;
}

.hero-kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Feature Spotlight & Executive Statement */
.esg-lead-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.text-gradient-goldy {
  background: linear-gradient(135deg, #8d121d 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.esg-lead-quote {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  border-left: 4px solid var(--goldy-red);
  padding-left: 20px;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 500;
}

.feature-mini-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.3s ease;
}

.feature-mini-pill:hover {
  background: #ffffff;
  border-color: var(--goldy-red);
  box-shadow: 0 10px 25px rgba(141, 18, 29, 0.08);
  transform: translateY(-2px);
}

/* Modern Showcase Image Container with Overlay Controls */
.esg-showcase-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.esg-showcase-box:hover {
  box-shadow: 0 22px 50px rgba(141, 18, 29, 0.12);
  transform: translateY(-3px);
}

.esg-showcase-body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  min-height: 220px;
  max-height: 300px;
  overflow: hidden;
}

.esg-showcase-img {
  max-height: 260px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border-radius: 10px;
  display: block;
  transition: transform 0.4s ease;
}

.esg-showcase-box:hover .esg-showcase-img {
  transform: scale(1.03);
}

.esg-showcase-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* The 4 Thematic Pillars of ESG */
.pillar-card-modern {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1);
}

.pillar-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #cbd5e1;
  transition: all 0.3s ease;
}

/* Pillar 1: Environment */
.pillar-env:hover {
  border-color: rgba(13, 148, 136, 0.3);
}
.pillar-env::before {
  background: linear-gradient(90deg, #0d9488 0%, #10b981 100%);
}
.pillar-env .pillar-icon-box {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

/* Pillar 2: Labor & Human Rights */
.pillar-labor:hover {
  border-color: rgba(37, 99, 235, 0.3);
}
.pillar-labor::before {
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
}
.pillar-labor .pillar-icon-box {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* Pillar 3: Ethics & Integrity */
.pillar-ethics:hover {
  border-color: rgba(217, 119, 6, 0.3);
}
.pillar-ethics::before {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}
.pillar-ethics .pillar-icon-box {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

/* Pillar 4: Sustainable Procurement */
.pillar-proc:hover {
  border-color: rgba(141, 18, 29, 0.3);
}
.pillar-proc::before {
  background: linear-gradient(90deg, #8d121d 0%, #dc2626 100%);
}
.pillar-proc .pillar-icon-box {
  background: rgba(141, 18, 29, 0.1);
  color: #8d121d;
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
}

.pillar-card-modern:hover .pillar-icon-box {
  transform: scale(1.1);
}

.pillar-number {
  font-size: 14px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}

.pillar-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
}

/* EcoVadis Flagship Showcase Banner */
.ecovadis-flagship-box {
  background: linear-gradient(135deg, #11151c 0%, #1a202c 100%);
  border-radius: 24px;
  padding: 42px 40px;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.ecovadis-flagship-box::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(141, 18, 29, 0.45) 0%, rgba(141, 18, 29, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.score-display-ring {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.score-big-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  font-family: 'Rubik', sans-serif;
}

.score-big-number span {
  font-size: 26px;
  color: #94a3b8;
  font-weight: 600;
}

/* ZED Comparative Cards */
.zed-compare-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: all 0.35s ease;
}

.zed-compare-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.zed-defect:hover {
  border-color: rgba(141, 18, 29, 0.3);
}

.zed-effect:hover {
  border-color: rgba(13, 148, 136, 0.3);
}

/* Decarbonization Matrix (Scopes 1, 2, 3) */
.scope-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
}

.scope-card:hover {
  border-color: var(--goldy-red);
  box-shadow: 0 12px 30px rgba(141, 18, 29, 0.08);
  transform: translateY(-3px);
}

.scope-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Enhanced Certificate Vault Cards */
.cert-card-enhanced {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

.cert-card-enhanced:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(141, 18, 29, 0.12);
  border-color: rgba(141, 18, 29, 0.3);
}

.cert-preview-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf2f7;
  cursor: pointer;
}

.cert-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.cert-card-enhanced:hover .cert-preview-wrapper img {
  transform: scale(1.05);
}

.cert-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.cert-card-enhanced:hover .cert-hover-overlay {
  opacity: 1;
}

.cert-hover-btn {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cert-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cert-title-text {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.cert-desc-text {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.cert-action-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(141, 18, 29, 0.08);
  color: var(--goldy-red);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(141, 18, 29, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cert-action-btn:hover {
  background: var(--goldy-red);
  color: #ffffff;
  border-color: var(--goldy-red);
  box-shadow: 0 6px 18px rgba(141, 18, 29, 0.25);
}

/* Pillar Cross Navigation Cards */
.pillar-nav-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 22px;
  text-decoration: none;
  display: block;
  transition: all 0.35s ease;
  height: 100%;
}

.pillar-nav-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--goldy-red);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.pillar-nav-box .pillar-nav-arrow {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.pillar-nav-box:hover .pillar-nav-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive Enhancements for Redesigned Sections
   ========================================================================== */
@media (max-width: 991px) {
  .hero-kpi-wrapper {
    margin-top: -30px;
  }
  .esg-lead-title {
    font-size: 30px;
  }
  .score-big-number {
    font-size: 52px;
  }
  .ecovadis-flagship-box {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .hero-kpi-wrapper {
    margin-top: -20px;
  }
  .hero-kpi-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .hero-kpi-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 10px;
  }
  .hero-kpi-val {
    font-size: 20px;
  }
  .hero-kpi-label {
    font-size: 11px;
  }
  .esg-lead-title {
    font-size: 26px;
  }
  .esg-lead-quote {
    font-size: 15px;
    padding-left: 14px;
  }
  .pillar-card-modern {
    padding: 24px 20px;
  }
  .score-big-number {
    font-size: 44px;
  }
}

/* ==========================================================================
   Premium Button Styles & Universal Fixes
   ========================================================================== */

/* Universal Button Dimensions Reset (Overrides rigid .btn 170px width) */
.esg-showcase-box button,
.esg-showcase-box .btn,
.esg-showcase-footer button,
.esg-showcase-footer .btn,
.ecovadis-flagship-box button,
.ecovadis-flagship-box .btn,
.scope-card button,
.scope-card .btn,
.cert-card-enhanced button,
.cert-card-enhanced .btn,
.btn-esg-red,
.btn-esg-outline,
.btn-esg-sm {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  line-height: normal !important;
}

/* Red Button - Primary ESG Call to Action */
.btn-esg-red,
.ecovadis-flagship-box .btn,
.ecovadis-flagship-box button.btn__primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 220px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 48px !important;
  padding: 14px 28px !important;
  background: linear-gradient(135deg, #8d121d 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(141, 18, 29, 0.45) !important;
  transition: all 0.3s ease !important;
}

.btn-esg-red:hover,
.ecovadis-flagship-box .btn:hover,
.ecovadis-flagship-box button.btn__primary:hover {
  background: linear-gradient(135deg, #a81524 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(141, 18, 29, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-esg-red:active,
.ecovadis-flagship-box .btn:active,
.ecovadis-flagship-box button.btn__primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 14px rgba(141, 18, 29, 0.35) !important;
}

@media (max-width: 576px) {
  .btn-esg-red,
  .ecovadis-flagship-box .btn,
  .ecovadis-flagship-box button.btn__primary {
    white-space: normal !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    min-width: 100% !important;
    width: 100% !important;
  }
}/* ==========================================================================
   Corporate Governance & People Styles
   ========================================================================== */

/* Enhanced Leadership & Board Card */
.gov-leader-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.gov-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(141, 18, 29, 0.12);
  border-color: rgba(141, 18, 29, 0.25);
}

.gov-leader-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8d121d 0%, #dc2626 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gov-leader-card:hover::before {
  opacity: 1;
}

.gov-avatar-wrapper {
  width: 145px;
  height: 145px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(141, 18, 29, 0.2) 0%, rgba(220, 38, 38, 0.4) 100%);
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gov-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.4s ease;
}

.gov-leader-card:hover .gov-avatar-wrapper img {
  transform: scale(1.05);
}

.gov-leader-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.gov-leader-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--goldy-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.gov-leader-bio {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Executive Founder Feature Box */
.founder-feature-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.founder-feature-box::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(141, 18, 29, 0.08) 0%, rgba(141, 18, 29, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Safety Photo Gallery Card */
.safety-gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.35s ease;
  background: #ffffff;
}

.safety-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(141, 18, 29, 0.15);
}

.safety-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.safety-gallery-card:hover .safety-gallery-img {
  transform: scale(1.06);
}

.safety-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.92) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.safety-gallery-caption {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.safety-gallery-zoom {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.safety-gallery-card:hover .safety-gallery-zoom {
  background: var(--goldy-red);
  transform: scale(1.1);
}

/* Procedural Stepper Cards */
.procedural-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.procedural-step-card:hover {
  background: #ffffff;
  border-color: rgba(141, 18, 29, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--goldy-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

